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
gh-write-guard.py. Done for each lane means a merged PR into develop, a develop-versus-branch differential showing zero deny-to-allow flips, and a revert proof for its new tests. The config and alias lane is done (Read Config and Alias Rewrites the Write Guard Missed #3306).- Push targets: Judge a Push to Another Remote Against That Remote's Repository in the Write Guard #3048, Read a Bare Push Under push.default=matching as Updating Every Matching Branch in the Write Guard #3053, and Close the Write Guard's Remaining Push Detection Gaps Found Reviewing the #2936 Fix #2943's remaining items.
- Directory values, tokenizer, launchers and wrapper bodies: Read Carriage Returns, Folded Lines, Eval, and Globs in a Directory Value in the Write Guard #2995, Read Commands a Quote Pair Spanning Two Comments Hides in the Write Guard #2991, Read Every Launcher in Front of a Push in the Write Guard #3050, Read a Foreign Shell Behind a Launcher the Write Guard Does Not Know #3083, Carry Environment Through an Unknown Launcher to the Git It Runs in the Write Guard #3085, Read a Command String env -S Runs in the Write Guard #3090, Fail Closed on Words xargs Appends to a Merge, Commit, or Push in the Write Guard #3074, Read a Double-Quoted Wrapper Body's Run-Time Words as Splittable in the Write Guard #3075, Read a Direct Git Command's GIT_DIR as a Wrapper's Is Read in the Write Guard #3304, and Read the Config-Change Scan's Remaining Run-Time, Eval, and Xargs Forms in the Write Guard #3307 (the config scan's residual forms behind a launcher,
while,eval, or a bodilessxargs ... bash -c). - 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.
- 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 (an alias carrying
--no-verify), and Read Persisted Config a Command Writes Before an Alias or Commit in the Write Guard #3303 (persisted config an earliergit configwrites before an alias read or a commit).
- The guard's over-denials, after step 1: Narrow Three Write-Guard Reads That Deny More Broadly Than Git Pushes #2953, Scope a Branch Pattern's Push Operations to the Branches It Can Match in the Write Guard #2964, Read Only an Eval That Runs in the Write Guard's Include Reading #2975, Keep the Write Guard's Terminal-Option Exception When a Redirection Precedes the Option #2981, Write Guard Denies Heredoc Data Inside an Unquoted Backtick Substitution #3000, Read a Commit's Exact -n as a Value Where It Follows a Value Option in the Write Guard #3070, Read a Process Substitution as One Word in the Write Guard's Commit and Merge Walks #3073, End a Merge's Words at a Comment in the Write Guard's Run-Time Check #3076, Read Quoting the Write Guard's Quote-Keeping Lex Cannot Align #3084, Leave a Literal gh Target Inside Heredoc Data Unread in the Write Guard #3134, Read Only Real GH_REPO Setters as Unread in the Write Guard #3286, Read a GH_REPO Only in the Wrapper Body It Reaches in the Write Guard #3144's and Close Three Small GH_REPO and Merge-Message Gaps in the Write Guard #3145's over-deny halves, Let a Top-Level Command-Text GH_REPO Export Override an Inherited One in the Write Guard #3163, Scope a Wrapper's GIT_DIR to Its Own Body in the Write Guard #3309 (a wrapper's
GIT_DIRapplied to every wrapper body), and Measure the Write Guard's HOME and XDG_CONFIG_HOME Override Over-Denial #3311 (measure the newHOME/XDG_CONFIG_HOMEdeny before narrowing it). Then Consolidate the Write Guard's Flag-Value Argv Walks #3285, Share One Command-Position Walker Across the Write Guard's Readers #3308 (one shared command-position walker), and Move the Write Guard's Option-Prefix, Eval-Reading, and Cluster Sites Onto One Helper Each #3008, helper consolidation, last. - Small non-guard lane, beside the guard lanes: Bump the Smoke Stub Pin to a Release With enable_release_asset #3302 (bump the smoke stub's pin to a release whose
build-release-task.ymlcarriesenable_release_asset).
External blockers
- None.
Internal dependencies
- Steps 1 and 2 run one lane at a time, since each edits
gh-write-guard.py. Each lane claims all ofhost-setup/agent-safety/, READMEs included, because a commit outside the claim is refused as "Modify Shared Resources". - Step 2 runs after step 1, because narrowing a deny while allow gaps are open has repeatedly opened a new allow in the same reader. That held again this round inside one lane (see below).
- Consolidate the Write Guard's Flag-Value Argv Walks #3285, Share One Command-Position Walker Across the Write Guard's Readers #3308, and Move the Write Guard's Option-Prefix, Eval-Reading, and Cluster Sites Onto One Helper Each #3008 go last, since moving shared sites onto one walker or helper rewrites lines every other guard lane edits.
State
- Promotion Promote the Write Guard Config and Alias Reads and Smoke Stub Comment Fix to Main #3310 merged with
--merge(mainfb7f02b2). Release run 39643522999 succeeded, tagging 2.0.1122. - The installed Skills snapshot is current at
fb7f02b2. Claude Code loads the primary checkout on develop. The host-safety kit reported STALE againstfb7f02b2and was handed to the maintainer as one install line rather than run. - No open pull requests from this lane. Correct the enable_* Default Claim in the Smoke Stub Comment #3301 and Read Config and Alias Rewrites the Write Guard Missed #3306 merged into develop and were promoted. Their remote branches, worktrees, and local branches are removed.
- Read Push Config a Command Rewrites Before the Push in the Write Guard #3046, Tell a Timed-Out Persisted Alias Read From No Alias in the Write Guard #3047, Deny a Hooks-Path Override on Git Commands Other Than Commit or Push in the Write Guard #3055, Read a HOME or XDG_CONFIG_HOME Override on a Git Command as an Unread Config File in the Write Guard #3057, Read Environment Config Per Git Command, Not by Index Across a Reading, in the Write Guard #3072, Read a Git Alias From the Repository Git Runs In for Rule 6 and a Wrapper's GIT_DIR in the Write Guard #3078, Read a Git Alias Expansion Past Its Leading Global Options in the Write Guard #3081, and Smoke Stub Comment Says Every enable_* Input Defaults True #3294 closed through the promotion's
Closeslines. - The primary checkout is on develop, clean, at
origin/develop. pr_review.py cleanup --sweeplists five detached hub worktrees from other sessions as removable and keeps six as too recent. They are not this lane's, so they were reported and not 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 are 0 open decision issues at this close. The maintainer approved both develop merges and merging and releasing #3310 through prompts this round.
What the last round did
- Two lanes and a promotion:
- Read Config and Alias Rewrites the Write Guard Missed #3306 (Opus) closes all seven config and alias read gaps. Differential over 4,681 commands in 10 modes, 46,810 verdicts: 0 deny-to-allow, 14,950 allow-to-deny, each bucket mapped to a fix. Revert proof: 56 new deny rows and 3 timed-out-read checks fail on develop's code. Copilot's 8 threads on its first head were all answered.
- Correct the enable_* Default Claim in the Smoke Stub Comment #3301 (Sonnet) closes Smoke Stub Comment Says Every enable_* Input Defaults True #3294: the smoke stub comment and its doc copy now name
enable_release_assetas the one input defaulting false. - Promotion Promote the Write Guard Config and Alias Reads and Smoke Stub Comment Fix to Main #3310 drew one Copilot finding, an over-denial Read Config and Alias Rewrites the Write Guard Missed #3306 introduced, deferred to the existing Scope a Wrapper's GIT_DIR to Its Own Body in the Write Guard #3309 since its fix narrows a deny. No fix PR was needed.
- Filed: Bump the Smoke Stub Pin to a Release With enable_release_asset #3302, Read Persisted Config a Command Writes Before an Alias or Commit in the Write Guard #3303, Read a Direct Git Command's GIT_DIR as a Wrapper's Is Read in the Write Guard #3304, Read a Hook-Bypass Flag an Alias Expansion Carries in the Write Guard #3305, Read the Config-Change Scan's Remaining Run-Time, Eval, and Xargs Forms in the Write Guard #3307, Share One Command-Position Walker Across the Write Guard's Readers #3308, Scope a Wrapper's GIT_DIR to Its Own Body in the Write Guard #3309 (by the lanes), Measure the Write Guard's HOME and XDG_CONFIG_HOME Override Over-Denial #3311 (at close).
What not to repeat
- Narrowing a lane's own unpushed denials between local passes. The guard lane spent four extra local-review rounds narrowing Read Push Config a Command Rewrites Before the Push in the Write Guard #3046's config-change scan, and each narrowing opened a gap the next pass found. Brief the next guard lane that the no-narrowing rule also binds its own new denials: file the residual and stop.
- Guard-shaped text in a heredoc. A heredoc whose body held a git command shape tripped the live guard on an issue body this round, and on test text in the lane. Write such text with the Write tool or a script file.
- Reading
pr_review.py wait's return as checks settled. It ends when review coverage lands, which normally leaves checks mid-flight. Follow it withtimeout <n> gh pr checks <pr> --watch --requiredbefore calling a PR ready. - One command holding a read with discarded output beside a write. The guard refuses the whole command, so run the gate read and the merge as separate calls.
New learnings
- None beyond the entries above. The lane brief and promotion brief shapes held unchanged.
Metadata
Metadata
Assignees
Labels
handoffA link in the session handoff chain, one open issue per track
Activity
ptr727 commentedon Oct 22, 2026
Continued in #3327, round 33 on track
engineering.