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
Describe the Write Guard's --prune, Mirror Delete, heads/ Destination, and @{push} Readings in the Agent-Safety READMEs #3021
The pull request closing #3005, #3007, and #2973 changes what the write guard reads, and edits only gh-write-guard.py. This issue carries the README text that change owes.
What the READMEs Now Leave Out or Say Wrongly
host-setup/agent-safety/README.md requirement 4, and the matching sentence in host-setup/agent-safety/claude/README.md, say "A push's force, delete, all, and mirror options are read as git reads them". The push check now also reads --prune, whole or cut short. It adds a delete to every branch a pattern refspec, a :, --all, or a bare push may match. --mirror is now read as a delete as well as a force.
Neither README describes destination completion. A destination outside refs/ starting heads/, such as HEAD:heads/develop or :heads/develop, is now read as the branch after heads/ as well as by its literal name, since git completes it under refs/.
host-setup/agent-safety/README.md says "A remote-tracking push target such as origin/feature/x is checked with its remote dropped." The full @{push} name is now read. Each remote name git remote lists that prefixes it is stripped, and the name is also read whole and with its first segment dropped.
Possible Direction
Extend the requirement 4 push-option sentence in both READMEs with the --prune and --mirror readings and the heads/ completion, and replace the remote-tracking sentence in the root README with the remote-name reading.
Claimed for an engineering-track lane (handoff #3040 resume). Branch: feature/guard-readme-readings-3021. Predicted file set: host-setup/agent-safety/README.md, host-setup/agent-safety/claude/README.md.
Activity
Read Completed, Pruned, and Slash-Remote Push Targets in the Write Gu…
ptr727 commentedon Oct 15, 2026
Claimed for an engineering-track lane (handoff #3040 resume). Branch:
feature/guard-readme-readings-3021. Predicted file set:host-setup/agent-safety/README.md,host-setup/agent-safety/claude/README.md.Describe the Write Guard's Prune, Mirror, heads/, and Push-Target Rea…
Promote the Write-Guard Bare Push and Checkout Readings, pr_review.py…