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
Decide How Unattended Work on the Guard Continues After an Edit Refusal (#2207) #2210
The unattended worker on handoff #2209 (track auto-2207) could not edit host-setup/agent-safety/claude/gh-write-guard.py. The session's auto-mode permission classifier refused the edit as self-modification of the agent's own safety hook. The worker did not route around that refusal. How should #2207, and other unattended work in that file, continue?
Handoff: #2209 (track auto-2207). No branch, worktree, or pull request exists, since the refusal came before any change was written. No pull request is blocked.
The intended fix
As #2207 states: _loop_parts takes the quote mask _unbounded_wait_loop already computes. A do or done counts as the keyword only when neither it nor the token before it is quoted. A self-test row pins while true; do echo ";" done; sleep 1; done as denied.
Add a permission rule so unattended workers may edit host-setup/agent-safety/ in a worktree. The loop could then work guard issues with no one present. This widens what an unattended agent may do to its own safety hook, and the change is to this machine's settings rather than to the repository.
Have the unattended picker skip any issue whose fix edits host-setup/agent-safety/. That would be rule text in the unattended-handoff skill's "Auto-Resolvable" list, so no future round spends a worker on an edit it cannot make. It combines with option 1.
Answered by the maintainer: options 1 and 3. Guard fixes (#2207, #2204, #2205, #2206) are worked in attended sessions only, with the maintainer approving each edit, and the unattended picker skips any issue whose fix edits host-setup/agent-safety/, filed as #2248.
Activity
ptr727 commentedon Oct 1, 2026
Answered by the maintainer: options 1 and 3. Guard fixes (#2207, #2204, #2205, #2206) are worked in attended sessions only, with the maintainer approving each edit, and the unattended picker skips any issue whose fix edits
host-setup/agent-safety/, filed as #2248.Exclude host-setup/agent-safety Fixes From the Unattended Picker (#2434)
Promote develop to main: Exclude host-setup/agent-safety Fixes From t…