Skip to content

Exclude Issues That Edit host-setup/agent-safety From the Unattended Picker #2248

Closed

Description

@ptr727

Problem

An unattended worker on #2209 (track auto-2207) could not edit host-setup/agent-safety/claude/gh-write-guard.py, because the auto-mode permission classifier refuses an agent's edit to its own safety hook as self-modification. The unattended-handoff picker has no rule that keeps such an issue out of its pool, so each such pick spends a worker on an edit it cannot make and parks a lane.

Decision

Decided on #2210, option 1 plus option 3: guard fixes are worked only in attended sessions, where the maintainer approves each edit, and the unattended picker skips any issue whose fix edits host-setup/agent-safety/.

Fix

Add to the unattended-handoff skill's auto-resolvable criteria that an issue whose fix edits a file under host-setup/agent-safety/ is not auto-resolvable, with the reason (a human stays on every change to the agent's own guard). Regenerate the distributions per skill-lifecycle.

Done looks like: the picker's criteria name the exclusion, build_dist.py --check is clean, and the open guard issues (#2204, #2205, #2206, #2207) are no longer picker candidates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    skills

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions