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 bde5ef5
Browse filesBrowse the repository at this point in the historyBrowse files
docs(command-registry): state what the descriptor root actually guarantees
`commandDescriptors` claimed to be "proven byte-equal to the live hand tables by
`__tests__/parity.test.ts`". Neither operand survives the ADR 0008 migration. The
test is now `src/__tests__/command-descriptor-parity.test.ts` (moved by 2ec4e91#2348); the tables it compared were deleted by the PRs that inverted them
(47abc8c#907 daemon routes, 96bc7b1#908 capability matrix, retired by
ea1d6b8#2089, 607883d#909 batch allowlist, 8ef4e73#1137 MCP
exposure); and TIMEOUT_POLICY_BY_COMMAND, DEVICE_CLAIM_POLICY_BY_COMMAND and
COMMAND_DESCRIPTOR_BY_NAME are folds over this array, so byte-equality has no
second operand.
Record the invariant that does hold and name the check that carries each part, so
a future split of this file preserves them. Established by mutation, not by
reading: duplicating a descriptor fails owner-files.test.ts,
command-descriptor-parity.test.ts and device-claim-policy.test.ts, while renaming
one lands on the literal pins (targetIdentityVerification, the timeout and
device-claim deviating sets). No new completeness test was owed here, and the
compile-time totality guard already covers required traits.
Same repair for the `frameworkTier` and `targetIdentityVerification` "the parity
test" pointers, the two `@internal Introspection helper used by parity tests`
docblocks (whose real consumers are command-descriptor-parity.test.ts and
command-surface-metadata.test.ts), the "additive single source" banner that still
listed the retired capability facet, and the CommandDescriptor intro, which
described the deleted tables as "today" and cited `app-switcher` as unrouted
after ADR 0014 gave it a daemon facet.
0 commit comments