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
Fail Closed on a Malformed inheritingAgentTypes in the Tier Guard #4291
The tier guard's mapping reader (host-setup/agent-safety/claude/model-tier-guard.py, load_tiers) lower-cases every entry of inheritingAgentTypes in a set comprehension. A non-string entry, or a value that is not a list, raises AttributeError or TypeError outside the try that returns the fail-closed None. The hook then exits non-zero, which lets the dispatch through.
No current input reaches it: spec/validate.py checks the key's shape, and the deployed mapping is a copy of the validated file. It takes a hand-edited or partially deployed mapping.
Fix: validate that the optional field is a list of strings inside the existing try, and return the fail-closed None where it is not. Raised by the review of #4290 as a P1 latent edge.
Activity
Fail Closed on a Malformed inheritingAgentTypes in the Tier Guard (#4293