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
Share One Porcelain Status Parser Between carry.py and the CLI Usage Gate #2947
gateA rule with no mechanical check, or a check that misses a shapeintroducedReview finding classed introduced per local-strict-review Disposing of Findings
tests/test_cli_usage.py's tree_state() (added by #2944) parses git status --porcelain=v1 -z records itself, taking the second field of a rename or copy, while scripts/carry.py's git_status_paths() already parses the same records and also refuses a malformed or incomplete one. A fix to either parser reaches only one copy.
The gate needs two things the existing helper does not give: --ignored in the status call, and the two-character status code beside each path. The consolidation is to extend git_status_paths() (or a shared helper beside it) to take an ignored option and return (status, path) pairs, then have tree_state() call it.
#2944 did not do this because its lane could edit only tests/test_cli_usage.py, spec/resolve_description.py and repo-config/configure.sh, so scripts/carry.py was out of reach.
gateA rule with no mechanical check, or a check that misses a shapeintroducedReview finding classed introduced per local-strict-review Disposing of Findings
Activity
Tighten the CLI Usage Gate, Share Its Status Parser, and Fix the Wind…