Skip to content

docs(api): reconcile the completed JSON-wire schema backlog (#862) - #1070

Merged
athvin merged 2 commits into
mainfrom
issue/862-schema-backlog
Nov 9, 2026
Merged

athvin merged 2 commits into
mainfrom
issue/862-schema-backlog

Conversation

@athvin

@athvin athvin commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Closes #862

🚧 Claimed by an agent session — 2026-11-09T22:35:49Z, session Codex:01a1be1b-0c92-7703-a4c2-25cb2c999baa on Mac-46.
The claim is this open draft PR: closing it releases the ticket.

Post-merge is part of this pull request. The ledger below records whether
the follow-up work actually happened. /land-pr closes it.

What

Reconcile the completed JSON-wire schema registrations with the API-contract documentation and record the public-contract evidence for #862.

Why

#900 already registered the founding backlog, but the skill still describes it as an open gap. Component registration also needs a clear distinction from typed per-operation responses, which remain separate work.

Proof

make skills-check passed. Both documents contain all 15 named components; all three generated artifacts are byte-identical to base. make check passed in full, including both OpenAPI snapshots and bidirectional catalog guards. No frontend code or artifacts changed; no frontend gate rerun was needed.

Risk & rollback

Documentation only; no runtime or generated contract change. Revert the merge commit to undo it.

Post-merge ledger

Closed by: Codex · session Codex:01a1be1b-0c92-7703-a4c2-25cb2c999baa on Mac-46 · 2026-11-09T23:32:51.128963+00:00

Context — plan, discoveries, measurements, files

Plan

  1. Verify each entity named by Triage the 15-entity JSON_WIRE_WITHOUT_SCHEMA backlog: register or justify each #862 against current ApiDoc, the empty backlog, both committed documents and the existing bidirectional guards; trace the original decisions in feat(api): OpenAPI component schemas for the 15 wire:[json] entities (#762) #900 and current read paths.
  2. Correct stale API-contract coverage claims and add a concise registration-decision reference, including projection/redaction caveats for future response typing. No entity, route or generated artifact changes are expected.
  3. Run make check as required by the issue, make skills-check, and read-only artifact/reference checks. Record that operation payload typing remains Envelope classifier learns typed response structs (blocker for the typed-response conversion) #863/Typed response structs across er-server handlers, by resource family (10 batches) #864 rather than claiming component presence proves it.
  4. Review the prose against current source and artifact evidence.
  5. Land via exact-head checks and complete the post-merge ledger while the prior feat(api): split internal and tenant-public OpenAPI contracts (#861) #1064 watch continues independently.

Discoveries

#900 (6844d95) already registered every named entity and emptied the backlog. Both documents currently have zero $refs, so reference resolution is vacuous and is not evidence of typed responses; #863/#864 own that work. The decision record identifies existing read surfaces and projection/redaction caveats.

Measurements

Files

  • .claude/skills/api-contract/SKILL.md
  • .claude/skills/api-contract/references/schema-registration-decisions.md

@athvin
athvin marked this pull request as ready for review November 9, 2026 22:54
@athvin
athvin merged commit d1b4023 into main Nov 9, 2026
40 checks passed
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.

Triage the 15-entity JSON_WIRE_WITHOUT_SCHEMA backlog: register or justify each

2 participants