AGENTS.md@tests/e2e/fixtures/codebuff-project · git:20260901.1a5254f · 2026-09-01 · sha256 e0ba20dbb7d80e2e

AGENTS.md@tests/e2e/fixtures/codebuff-project git:20260901.1a5254fA

Immutable. This exact content never changes and is served at /api/v1/blob/e0ba20dbb7d80e2e.

# Orders API

Node service that exposes the order lifecycle over HTTP and persists to Postgres.

## Working agreements

- Write the failing test first, then the implementation.
- Keep route handlers thin: validation in `src/routes`, business logic in `src/db`.
- Never widen a type to `any`; narrow from `unknown` instead.
- Run `pnpm test` before proposing a change.

## Layout

- `src/routes` — HTTP handlers and request validation
- `src/db` — query builders and migrations