Skip to content

docs: record detail-envelope override and future-work follow-ups - #16

Merged
kernvex merged 1 commit into
mainfrom
docs/envelope-override-and-future-work
Jul 21, 2026
Merged

docs: record detail-envelope override and future-work follow-ups#16
kernvex merged 1 commit into
mainfrom
docs/envelope-override-and-future-work

Conversation

@kernvex

@kernvex kernvex commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Closes out the final whole-spec confidence pass. Docs only — no code change.

Changes

  • ASSUMPTIONS.md — record that GET /hotels/:id is wrapped as { data } as a deliberate override of the spec's "single-resource detail is returned directly." Uniform envelope over a stale spec line, with rationale, so the divergence is a documented decision rather than silent.
  • README → "Future work" — note the deferred follow-ups the review surfaced: extracting the triplicated makeRoom/makeProperty test factories (and the repeated 404 guard), and pushing filters into the store if the catalogue grows.

Also left a note on (now-closed) issue #1 flagging the superseded spec line.

Verification

  • npm run verify: clean, 54/54 pass.

🤖 Generated with Claude Code

Close out the final whole-spec review with two doc-only notes (no code
change):

- ASSUMPTIONS.md: document that GET /hotels/:id is wrapped as { data }
  as a *deliberate* override of the spec's "single-resource detail is
  returned directly" — uniform envelope over a stale spec line, with
  rationale, so the divergence is a recorded decision rather than silent.
- README "Future work": note the deferred follow-ups the review surfaced
  — extracting the triplicated test factories (and the repeated 404
  guard), and pushing filters into the store if the catalogue grows.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kernvex
kernvex merged commit 13ac949 into main Jul 21, 2026
2 checks passed
@kernvex
kernvex deleted the docs/envelope-override-and-future-work branch July 21, 2026 19:16
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.

1 participant