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
Refuse a Commented or Multi-Line python-directories Value in the Audit #2013
workflow_input_text() in spec/audit.py reads a caller's python-directories value by indentation, and its non-raw path, the one that produces the declared directories, misreads two shapes. The local strict review of #2010 found both, and neither is new with that change.
A comment between the key and a value on the next line. With python-directories: # the gated projects followed by an indented Tools line, the non-raw path takes # the gated projects as the value, since its comment strip needs whitespace before the #. The audit then reports a mismatch naming a directory that does not exist. The same comment on a line of its own at the key's column ends the block read, so the value reads as none.
A multi-line plain or quoted value.python-directories: "Tools followed by an indented Other" line is one scalar that YAML folds to Tools Other. The audit reads only the first line, Tools, which matches a registry declaring Tools, so no finding is raised. The validator refuses Tools Other at merge, because no tracked pyproject.toml exists at that path, so the gap is in the audit's report rather than in the gate.
No fleet caller writes either shape. Both of this repository's callers pass a plain single value.
Fix
Refuse both shapes, as #2010 does for a folded or escaped value, rather than modeling YAML: a value line that starts with #, and a plain or quoted value whose nested lines continue it. Add selftest cases for each.
Declined per #2517, approved by the maintainer, under GOVERNANCE.md "Trust Boundaries and Hardening Effort": The issue records that no fleet caller writes either shape.
Activity
ptr727 commentedon Oct 8, 2026
Declined per #2517, approved by the maintainer, under GOVERNANCE.md "Trust Boundaries and Hardening Effort": The issue records that no fleet caller writes either shape.