Skip to content

docs: reviewer-facing README, ASSUMPTIONS, and DB migration guide - #14

Merged
kernvex merged 1 commit into
mainfrom
feat/7-documentation
Jul 21, 2026
Merged

docs: reviewer-facing README, ASSUMPTIONS, and DB migration guide#14
kernvex merged 1 commit into
mainfrom
feat/7-documentation

Conversation

@kernvex

@kernvex kernvex commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Closes #7.

Delivers the reviewer-facing documentation the brief mandates.

What's here

  • README — "Why this stack" rationale, layered architecture (routes → domain → repository + pure functions), full quickstart/scripts, endpoint reference with params + Swagger /docs link, testing strategy, and a dedicated Use of AI section (with a "where judgment stayed human" subsection).
  • ASSUMPTIONS.md (new) — every deliberate decision + why: nights-vs-days availability, dataset-as-source-of-truth (past-dated windows), price_from = cheapest room, price filtering independent of availability, exact star match, no pagination, {data}/{error} envelopes, snake_case wire, no auth, USD assumption, the "free Wi-Fi" data quirk, the Pact "know when not to" note, and Docker rationale.
  • docs/migration-postgres-sqlite.md (new) — the repository-swap guide, now referenced by ADR-0001.

Verification

  • npm run verify (typecheck → lint → test): clean, 54/54 pass.
  • Internal doc links validated; README examples match the real seed (hotel-01, 2026 dates).
  • Two-axis code review (Standards + Spec) run; both pass. The one concrete nit ("two call sites" → three) was fixed.

🤖 Generated with Claude Code

Close #7. Deliver the documentation the brief mandates:

- README: stack rationale, layered architecture (routes → domain →
  repository + pure functions), full quickstart/scripts, endpoint
  reference with params + Swagger /docs link, testing strategy, and a
  dedicated Use-of-AI section (incl. where judgment stayed human).
- ASSUMPTIONS.md: every deliberate decision + why — nights-vs-days
  availability, dataset-as-source-of-truth (past-dated windows),
  price_from = cheapest room, price filtering independent of
  availability, exact star match, no pagination, {data}/{error}
  envelopes, snake_case wire, no auth, USD assumption, "free Wi-Fi"
  data quirk, the Pact "know when not to" note, and Docker rationale.
- docs/migration-postgres-sqlite.md: the repository-swap guide, now
  referenced by ADR-0001.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kernvex
kernvex merged commit 2f1bd66 into main Jul 21, 2026
2 checks passed
@kernvex
kernvex deleted the feat/7-documentation branch July 21, 2026 18:50
@kernvex kernvex mentioned this pull request Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation — README, ASSUMPTIONS, migration guide

1 participant