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
fix(metadata-protocol): assert every context collection is routed by CLOSURE_CONTEXT_KEY_BY_TYPE (#13976)
`CLOSURE_CONTEXT_KEY_BY_TYPE`'s `satisfies` clause pins validity — every key it
names is a real `RuntimeStackContext` key — but never completeness: a context
collection with no row routed nothing and nothing went red. That was the last of
the five hand-kept spellings of this set still able to be forgotten.
Adds a compile-time completeness assertion at the declaration site. The type
crossing the package wall (`RuntimeStackContext`) is already imported here, so
the guard needs no cross-package data movement and no widening of the
deliberately narrow `@objectstack/lint/runtime` entry.
Type-only: no runtime code changes.
Claude-Session: https://claude.ai/code/session_01F3jdziLbAPGeceVNmSox5L
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments