Repository navigation
Closed
Labels
handoffA link in the session handoff chain, one open issue per track
Description
Next steps, in priority order
- The guard's remaining allow gaps, one lane at a time, all in
host-setup/agent-safety/claude/gh-write-guard.py. Done means a merged PR into develop, a develop-versus-branch differential with every deny-to-allow flip explained and zero flips on develop's own self-test corpus, and a revert proof.- Exports, xargs, env and launcher residuals: Read Words xargs Appends to a gh Write in the Write Guard #3336, Read Every Export Form for Git Config and Wrapper Environment in the Write Guard #3339, Read Reassigned Exports, Rerun Exports, and Clustered xargs Options in the Write Guard #3340, Fail Closed on a Run-Time GIT_DIR Value in the Write Guard #3343, Close Env, Launcher, and Xargs Cluster Gaps in the Write Guard #3347, Read the Config-Change Scan's Remaining Run-Time, Eval, and Xargs Forms in the Write Guard #3307's two remaining items, and Read Commands an Outer Variable Adds to a Double-Quoted Wrapper Body in the Write Guard #3337 under the maintainer's ruling recorded on it.
- Shells, case and encoding: Decode a PowerShell -EncodedCommand Body in the Write Guard #3056, Match push.default Case-Sensitively in the Write Guard or Say It Is Folded #3061, Read Git's Environment Variable Names Without Case on Windows in the Write Guard #3086, Read cmd and PowerShell Run-Time Words as Run-Time Words in the Write Guard #3091, Close Four Hidden-Command Allow Gaps the Promotion's Third Review Found in the Write Guard #3088, Close the Write Guard's Remaining Push Detection Gaps Found Reviewing the #2936 Fix #2943's non-POSIX shell and stdin-script items, Read a Subshell's Trailing Comment and a Tab-Stripped Heredoc as Bash Does in the Write Guard #3353, Read Text Piped Into a Shell as Its Script in the Write Guard #3356.
- Commit option clusters and bypass routes: Read a Commit Cluster With an Attached Value as Taking No Next Word in the Write Guard #3068, Read Short-Option Clusters Through One Primitive in the Write Guard #3071, Deny the Remaining core.hooksPath and no-verify Bypass Routes in the Guard #2177's alias item, Read a Hook-Bypass Flag an Alias Expansion Carries in the Write Guard #3305, Read Persisted Config a Command Writes Before an Alias or Commit in the Write Guard #3303, Close the Write Guard's Remaining Push Detection Gaps Found Reviewing the #2936 Fix #2943's remaining items, Read a trap Action String as a Command in the Write Guard #3352.
- Push-target and rule 6 residuals: Read a Matching Push Without Relying on Remote-Tracking Refs in the Write Guard #3315, Read a Drive-Letter Push Target as Local Only on Windows in the Write Guard #3317, Fail Closed on a Source-Only Push After an Upstream Change in the Same Command in the Write Guard #3322, Read Every Branch a Persisted Mirror Push Writes in the Write Guard #3326, Read a cd After an Earlier Command for Rule 6 in the Write Guard #3351, Read a Comment-Ending Backslash-Newline and an eval Body for Rule 6 in the Write Guard #3355.
- The guard's over-denials, after step 1: the list in Session Handoff [engineering]: Write Guard Launcher and Tokenizer Reads Released as 2.0.1130, Introduced Over-Denials Next #3349's step 4 (Narrow Three Write-Guard Reads That Deny More Broadly Than Git Pushes #2953 through Match the Subcommand Position in the Write Guard's Overflow Fail-Closed #3348), plus the rest of Narrow the Write Guard's Launcher Assignment and Nesting-Cap Over-Denials #3341 and Read Quoting Around a Backslash-Newline and Bare xargs Runs in the Write Guard #3344. Then Consolidate the Write Guard's Flag-Value Argv Walks #3285, Share One Command-Position Walker Across the Write Guard's Readers #3308, Move the Write Guard's Option-Prefix, Eval-Reading, and Cluster Sites Onto One Helper Each #3008, and Consolidate the Write Guard's Shell Context Scanners Into One Walker #3354 (one shell-context walker, which now also carries Tighten the Backslash-Newline Narrowing's Wording and Over-Denials in the Write Guard #3358's Markdown-body finding, per its latest comment), all helper consolidation, last.
- Settle the Subprocess-Failure Rule for a Status Printed in Message Text #3365 and Resolve Open Review Findings on the Subprocess-Failure Rule #3367, follow-ups to the new
CODESTYLE.mdrule from Classify a Subprocess Failure by Its Command, Not Its Message Text #3366. Settle the Subprocess-Failure Rule for a Status Printed in Message Text #3365 is a stderr-wording match inscripts/pr_review.pythat the rule now forbids. Resolve Open Review Findings on the Subprocess-Failure Rule #3367 holds the rule's findings still open after the review cap. Neither touches a guard file, so they can run beside a guard lane. Run Resolve Open Review Findings on the Subprocess-Failure Rule #3367 first, since its wording settles what Settle the Subprocess-Failure Rule for a Status Printed in Message Text #3365 must comply with.
External blockers
- None. The GitHub incident that stalled PR head syncs last round no longer blocks anything: Promote the Write Guard Line-Continuation and Escaped-Pair Reads, Windows Self-Test Skip, and Subprocess Failure Rule to Main #3359's head re-synced on the next push to develop.
Internal dependencies
- Steps 1 and 2 each edit
gh-write-guard.pyand claim all ofhost-setup/agent-safety/, so they run one lane at a time. - Step 2 waits for step 1. Narrowing a deny while allow gaps are open has repeatedly opened a new allow in the same reader.
- In step 3, Settle the Subprocess-Failure Rule for a Status Printed in Message Text #3365 waits for Resolve Open Review Findings on the Subprocess-Failure Rule #3367, since a change to the rule's wording changes what
pr_review.pymust do.
State
- Promotion Promote the Write Guard Line-Continuation and Escaped-Pair Reads, Windows Self-Test Skip, and Subprocess Failure Rule to Main #3359 merged into main as
39afd751, and the release published as 2.0.1135. Develop and main hold the same content. - Merged into develop this round: Classify a Subprocess Failure by Its Command, Not Its Message Text #3366, Keep Escaped Backslash Pairs Before a Line Break in the Write Guard #3368. No PR is open.
- Both lane worktrees and branches were removed with
pr_review.py cleanup. The primary checkout is on develop, clean, and level with origin/develop. - This machine's skills snapshot is current at
39afd751. The agent-safety kit install on this machine reads STALE against 2.0.1135. pr_review.py cleanup --sweepreported 11 prunable worktree entries from other sessions' removed scratch directories. Nothing was applied.- Other tracks' open handoffs are untouched: Session Handoff [windows]: #2578 Landed for #694, Closing Through Promotion #2580, #1171 Next #2581 (windows), Session Handoff [host-instructions]: Hardening Rule and Merge Guard Released as 2.0.867 and 2.0.868, #2499 Docstring Next #2514 (host-instructions), Session Handoff [default]: Decision Queue Cleared (9 Answered), Platform Weighting Filed as #4448; Away Burndown Next #2361 (default), Session Handoff [python-contract]: Escaped and Folded python-directories Values Refused, Released as 2.0.738 #2014 (python-contract).
The parked decision queue
There is 1 open decision issue at this close: #3373, how the prose gate admits a developer-typed emoji callout. It was filed during this round by another session, and it is put to the maintainer at this close.
What the last round did
- Keep Escaped Backslash Pairs Before a Line Break in the Write Guard #3368 (Opus lane, refs Tighten the Backslash-Newline Narrowing's Wording and Over-Denials in the Write Guard #3358). The guard keeps each escaped backslash pair before a kept line break, as the shell does. The README and the
_literal_span_keptdocstring now state the word and names tests in full.- Differential: 0 flips over develop's 1618 self-test commands, and 30 deny-to-allow flips over 280 constructed probes. Each flip is a refspec or command name that ends in a backslash, which git or the shell then rejects. Revert proof: the four new allow cases fail without the fix.
- 2 local passes. Copilot recommended approval with no findings.
- Classify a Subprocess Failure by Its Command, Not Its Message Text #3366 (Opus lane, closes Classify a Subprocess Failure by Its Command, Not Its Message Text #3363). New
CODESTYLE.mdGeneral rule: classify a subprocess failure by which command failed and the status code it reports, never by its message wording. The maintainer approved widening it from the issue's "exit status" to cover a status code printed in the message, whichgh apifailures need. - Promotion Promote the Write Guard Line-Continuation and Escaped-Pair Reads, Windows Self-Test Skip, and Subprocess Failure Rule to Main #3359 then carried Skip the Invalid-Byte Selftest Probe When Windows Git Cannot Add the Name #3350, Read a Backslash-Newline by Its Quoting in the Write Guard #3357, Skip the Windows Self-Test Probe Only on Git's Invalid-Path Error #3360, Classify a Subprocess Failure by Its Command, Not Its Message Text #3366 and Keep Escaped Backslash Pairs Before a Line Break in the Write Guard #3368, and closed Audit Self-Test Aborts on Windows at the Invalid-Byte Filename Probe #3338, Tighten the Backslash-Newline Narrowing's Wording and Over-Denials in the Write Guard #3358 and Classify a Subprocess Failure by Its Command, Not Its Message Text #3363. Its Copilot round at Lite effort stated no coverage, and its headline counted two findings the body did not hold. That was answered on the PR, and coverage was shown through the Merge Gate's promotion case.
- Filed by the lanes: Settle the Subprocess-Failure Rule for a Status Printed in Message Text #3365 and Resolve Open Review Findings on the Subprocess-Failure Rule #3367. A comment on Consolidate the Write Guard's Shell Context Scanners Into One Walker #3354 records Tighten the Backslash-Newline Narrowing's Wording and Over-Denials in the Write Guard #3358's deferred Markdown finding.
What not to repeat
- Waiting out a PR head sync lost during a GitHub incident. Promote the Write Guard Line-Continuation and Escaped-Pair Reads, Windows Self-Test Skip, and Subprocess Failure Rule to Main #3359's head sat about three hours behind develop after the incident had eased, and it moved within seconds of the next squash merge into develop. When the head stays stale after githubstatus shows recovery, land the next queued PR into develop rather than closing and reopening the promotion.
- Reading a Copilot "Needs a closer look" headline count as open findings. On Promote the Write Guard Line-Continuation and Escaped-Pair Reads, Windows Self-Test Skip, and Subprocess Failure Rule to Main #3359 the headline said two moderate findings, while the body said "No open issues" and listed only an already-resolved thread. Read the body, then answer the headline on the PR with that evidence.
New learnings
- The lost-head-sync recovery is recorded in the maintainer's machine memory, since it is GitHub platform behavior rather than a fleet rule.
Metadata
Metadata
Assignees
Labels
handoffA link in the session handoff chain, one open issue per track
Activity
ptr727 commentedon Oct 23, 2026
Parked decision queue answered at this close. #3373 was decided by the maintainer: the prose gate gets a fixed callout tier, a small set of emoji callout markers plus the VARIATION SELECTOR-16 that follows one. The answer is recorded on #3373, which stays open as implementation work without the
decisionlabel. The queue now holds 0 opendecisionissues. #3373's implementation touches the prose gate rather than a guard file, so it can run beside a guard lane.ptr727 commentedon Oct 23, 2026
Continued in #3398, round 37 on track
engineering.