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 00ca77b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(channels): keep newly-optional auth state fields backward-compatible
Autoreview flagged that two optional fields on the public `ChannelIngressState`
were treated as mandatory by authorization, so a caller constructing state
directly without them would hit silent ingress denials.
- allowlist.ts: only downgrade a wildcard to `mutable` when the subject's
carried identifier kinds are actually known. An absent `subjectIdentifierKinds`
no longer weakens the entry, consistent with the "an absent claim does not
weaken" rule directly below it. The resolver always supplies the kinds, so the
missing-identity downgrade still holds on the real ingress path.
- decision.ts: a matched origin subject that omits its strength defaults to the
baseline `asserted` (now a shared export) instead of being dropped, so the
minimum is applied uniformly rather than failing a matched legacy state.
Compat regression tests for both in identifier-authentication.test.ts.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WxM7Yy33nFJM71NCaBqhyz
0 commit comments