AGENTS.md
+4 −3
https://raw.githubusercontent.com/kirill-markin/expense-budget-tracker/HEAD/AGENTS.md
− | Postgres, prod | No direct connection by design: RDS is private, with no bastion. Read through `POST https://api.expense-budget-tracker.com/v1/sql/query` with `Authorization: ApiKey <key>` — a fixed relation list, scoped to the selected workspace. Anything wider needs a temporary path opened deliberately; never add standing database access while debugging. | workspace data, counts, data shape |− | Langfuse Cloud | `LANGFUSE_*` keys in the repository-root `.env` (gitignored, main checkout only); read `GET $LANGFUSE_BASE_URL/api/public/v2/observations` with HTTP Basic auth `public:secret`, always bounded by `fromStartTime` and `toStartTime` and paged by `meta.cursor`; request the `fields` groups you need (`io`, `metadata`, `usage`, `trace_context`), since omitted groups are absent; filter by `traceName = chat_turn`, `isRootObservation = true` for turn input and output, `sessionId`, `userI− - [docs/langfuse-operations.md](docs/langfuse-operations.md) - Langfuse trace shape, filters, and telemetry troubleshooting+ - A pull request that changes anything visible opens its description with screenshots, before any text: before and after side by side for each affected screen, with the same viewport, theme, and data, at phone and desktop widths when the layout is responsive. Attach the images to the description or host them outside the PR branch; never commit them to it.+ | Postgres, prod | No direct connection by design: RDS is private, with no bastion. Read through `POST https://api.expense-budget-tracker.com/v1/sql/query` with `Authorization: ApiKey <key>` — a fixed relation list, scoped to the selected workspace. Anything wider needs a temporary path opened deliberately; never add standing database access while debugging. The admin-reader Lambda below is the one deliberate read-only exception. | workspace data, counts, data shape |+ | LLM telemetry and chats, prod | `scripts/admin-read.sh` (private admin-reader Lambda, read-only, IAM); see [docs/admin-reader.md](docs/admin-reader.md) and [docs/llm-telemetry.md](docs/llm-telemetry.md) | chat spans, model and tool behavior, token usage, transcripts across users |+ - [docs/llm-telemetry.md](docs/llm-telemetry.md) - chat span tree, `llm_telemetry_spans` columns and attributes, optional OTLP export