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
Rename the Agent-Safety Hook Scripts to Snake Case #3142
Depends on #3140, which states that a Python file is lowercase snake_case.
Problem
Three agent-safety hook scripts under host-setup/agent-safety/claude/ use hyphenated names: the write guard, the stray-process sweep, and the tool-containment hook. Rebuild the exact list live with git ls-files 'host-setup/**/*.py' | grep -- - rather than copying it from here.
Work
Rename each one to snake_case and update every reference: the installer, its tests, the docs, and the host-wide instruction block.
Hook commands are written into each host's settings.json by path, so the installer must migrate an existing entry that points at an old name, rather than adding a second entry beside it. A host that never re-runs the installer would otherwise keep pointing at a file that no longer exists.
The hook keeps "gh-write-guard" as its name in prose. Only the file changes.
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.
Activity
ptr727 commentedon Oct 23, 2026
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.