# Documenter — F-002 Database foundation with module-owned schemas done -> work/artifacts/F-002/documenter.md ## Why documentation applies F-002 adds developer-facing contracts: database commands, migration workflow, and the table naming convention. ## Documents reviewed/produced - `project/README.md` (updated at build stage, verified accurate): - Database section lists every new script: docker:up, docker:down, db:up, db:down, db:status, test:integration — all present in package.json (cross-checked programmatically) - `.env.example` copy step documented - Table naming convention section: `_` rule, no cross-prefix queries, migrations immutable - `spec/tech.md`: dependency justification table extended with pg, node-pg-migrate, @types/pg (security policy requirement) - `specs/F-002-database-foundation/` SPEC/DESIGN/TASKS/TESTS consistent with implementation (migration filename corrected to .js at design stage) ## Verification - package.json script keys vs README commands cross-checked: all db:/docker: commands documented; remaining scripts (build, start, test, typecheck, lint, lint:boundaries) already documented in F-001 section. ## Pending docs (not this ticket) - Per-module data access contracts documented as each module lands (F-005+).