Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(dx): add blob storage docs review checks to AGENTS.md (#13056)

Valery Meleshkin51554eb066d1
diff --git a/packages/shared/AGENTS.md b/packages/shared/AGENTS.md
index e1aad3bd99..d6b62b611d 100644
--- a/packages/shared/AGENTS.md
+++ b/packages/shared/AGENTS.md
@@ -97,6 +97,15 @@ the same PR.
2. Update ClickHouse query/mapping logic in `src/server/clickhouse/*` and
related repositories.
3. Validate ingestion/read path impact in both `web` and `worker`.
+4. If the change affects columns, types, or nullability of tables read by blob
+ storage export queries (`getTracesForBlobStorageExport`,
+ `getObservationsForBlobStorageExport`, `getScoresForBlobStorageExport`,
+ `getEventsForBlobStorageExport`, or the EventsQueryBuilder `export` field
+ set), fetch the latest published docs and check for discrepancies:
+ - https://langfuse.com/docs/api-and-data-platform/features/export-to-blob-storage
+ - https://langfuse.com/docs/api-and-data-platform/features/blob-storage-export-fields
+ Surface any mismatches in field names, types, nullability, or filter
+ descriptions so they can be addressed in the docs repo.
### Queue payload contract change
@@ -130,3 +139,8 @@ the same PR.
- Do not hand-edit generated artifacts under `prisma/generated/*` or `dist/*`.
- Avoid exposing server-only modules through `src/index.ts` if they must remain
frontend-safe.
+- Changes to domain constants consumed by blob storage exports (e.g.
+ `LISTABLE_SCORE_TYPES` in `src/domain/scores.ts`, score data type enums)
+ should be reviewed against the blob storage export field reference docs for
+ consistency — fetch the latest page and surface any discrepancies:
+ https://langfuse.com/docs/api-and-data-platform/features/blob-storage-export-fields
diff --git a/worker/AGENTS.md b/worker/AGENTS.md
index 6fc8178b60..ae544da1e1 100644
--- a/worker/AGENTS.md
+++ b/worker/AGENTS.md
@@ -93,3 +93,9 @@ Use root [AGENTS.md](../AGENTS.md) for monorepo-level rules.
- Keep tests independent; no ordering assumptions.
- Avoid editing `dist/*` directly.
- Coordinate shared changes with `../packages/shared`.
+- Changes to `src/features/blobstorage/` (export pipeline, enrichment logic,
+ field additions, latency unit handling) should be reviewed against the
+ published blob storage docs for consistency — fetch the latest pages and
+ surface any discrepancies:
+ - https://langfuse.com/docs/api-and-data-platform/features/export-to-blob-storage
+ - https://langfuse.com/docs/api-and-data-platform/features/blob-storage-export-fields