Skip to content

Enforce the Attended-Only Guard Rule on Resumed Lanes and in the Unattended Worker #2433

Closed as not planned

Description

@ptr727

Problem

#2248 adds one clause to the unattended-handoff skill's "Auto-Resolvable" criteria: an issue whose fix edits the hub's host-setup/agent-safety/ does not qualify for the unattended picker. That enforces the #2210 decision (guard fixes are worked only in attended sessions) at the pick, and nowhere after it.

The picker predicts the fix rather than seeing it, so the exclusion leaves the guard reachable in two ways:

  • A misjudged pick. An issue whose fix turns out to need an edit under that tree is picked anyway, and the worker makes the edit, since nothing in the worker's procedure stops it.
  • A resumed auto-* lane. Picker step 3 resumes an existing lane without re-applying "Auto-Resolvable", so a lane created before the exclusion existed, or handed back by an attended session, is never re-screened.

A first attempt on branch feature/auto-2248 (commits 378ba5fb and e1df7cae, since reverted) extended worker step 5 to park before such an edit. Its third local review pass found two gaps that attempt left open:

  • Step 5 fires only before an edit the worker is about to make, so a handed-back lane whose branch already carries a guard edit is driven to develop with no human review of that edit.
  • A guard park files a decision issue that no answer can clear for the loop, and session-handoff "The Attended Session" step 6 may still hand the lane back without blocked, so the next worker parks again and files the same question again, cycling the lane.

Direction

Option 2 of #2374 sketched one shape: the worker parks whenever the lane's branch or pull request diff touches host-setup/agent-safety/, not only before an edit, and both unattended-handoff "Parking" and session-handoff "The Attended Session" step 6 state that a guard park is finished in the attended session and never handed back to the loop. That shape did not converge under review in the first attempt, so treat it as a starting point rather than a settled design.

Belongs to

Activity

  1. added
    skills
    on Oct 6, 2026
  2. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    Decision triage (2026-11-01) found the open question here already answered or overtaken, so it is not asked:

    Overtaken by 06e45c4 (#3735), which retired unattended-handoff, removing the picker, worker step 5, and the "Parking" section this issue targets. Both gaps are closed in backlog-burndown away mode: away workers park on any "Needs the Maintainer" item, which includes edits under host-setup/agent-safety/ (SKILL.md:578, :599), and lanes are no longer resumed unscreened (:763, :636-640). Agent-safety holds are reported as needing the maintainer present (:782), not re-asked.

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