You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6ce53c7
Browse filesBrowse the repository at this point in the historyBrowse files
test(cli): classify the newly registered api type in the metadata gate ledger (#5000)
`api` landed in DEFAULT_METADATA_TYPE_REGISTRY / BUILTIN_METADATA_TYPE_SCHEMAS
on main (#5271 -> #5312) after this branch was cut, and the reconciliation
case did its job: an unclassified registered type fails until someone decides
how the CLI reaches it.
Measured rather than assumed. The stack DOES carry it (`apis:`, ADR-0121, still
declared on main), and the CLI and the write path reach the same schema — but
`ApiEndpointSchema` is a plain `z.object`, so an undeclared key on an endpoint
is dropped on BOTH paths. That is not a CLI divergence, it is a #4001 shape the
campaign has not reached; the strictness ledger still files all of `api/` as
"wire, tolerant by design", which stopped being true when the type was
registered. Filed as #5384, a sub-issue of #4001.
So `api` gets its own ledger row with the honest claim: the CLI is no looser
than the write path, and the #3786 pre-parse layer still names the key so the
author is not left with silence. When #5384 closes the shape, the agreement
assertion goes red and the row moves into GATED_AT — the ratchet working.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VkPSGsX9o17MsGv3Lbxu2w
0 commit comments