Skip to content

Decide How Far the Unattended Loop Enforces the Guard Exclusion (#2248) #2374

Closed

Description

@ptr727

Question

How far should the unattended loop enforce the #2210 decision (guard fixes are worked only in attended sessions) beyond the picker exclusion that #2248 asks for?

Background

Handoff #2373 (track auto-2248) implements #2248 on branch feature/auto-2248, pushed with no pull request yet. Its first commit adds the exclusion #2248 names to the unattended-handoff skill's "Auto-Resolvable" criteria: an issue whose fix edits the hub's host-setup/agent-safety/ does not qualify, because that tree is the agent's own guard and a human approves every change to it.

The local strict review then found that the picker predicts the fix, so a misjudged pick or a resumed auto-* lane (picker step 3 never re-applies "Auto-Resolvable") could still reach the guard. Two rounds of edits extended worker step 5 to park before such an edit and to let no recorded answer authorize it. The third pass still found two open gaps in that extension:

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

The two-round edit budget is spent, so the worker parked rather than growing the rule further. Each option below is a different scope for the rule.

Options

  1. Recommended: ship the picker exclusion alone and file the worker-side gap separately. Revert the branch's second and third commits, leaving only the "Auto-Resolvable" clause Exclude Issues That Edit host-setup/agent-safety From the Unattended Picker #2248 asks for, drive that to develop, and file one issue for enforcing the guard rule on resumed lanes and in the worker. Reason: it lands exactly what Decide How Unattended Work on the Guard Continues After an Edit Refusal (#2207) #2210 decided now, and keeps the open design question out of a fix that does not need it.
  2. Close the gap here, in both skills. Make worker step 5 park whenever the lane's branch or pull request diff touches host-setup/agent-safety/, not only before an edit, and state in unattended-handoff "Parking" and session-handoff "The Attended Session" step 6 that a guard park is finished in the attended session and never handed back to the loop. Reason: it closes both findings, at the cost of a wider change across two skills that has not yet converged under review.
  3. Ship the branch as it stands. Keep the worker step 5 extension and accept the two gaps. Reason: it narrows the exposure further than option 1, but leaves a rule that its own review shows is incomplete.

Effect on the parked work

Belongs to

Activity

  1. added
    decision
    on Oct 4, 2026
  2. ptr727 commented on Oct 5, 2026

    @ptr727
    OwnerAuthor

    Answered by the maintainer on 2026-10-05: option 1: revert the branch to the single Auto-Resolvable clause #2248 asks for, drive it to develop, and file one issue for enforcing the guard rule on resumed lanes and in the worker. The lane's handoff keeps its blocked label until an attended session works it with this answer.

  3. removed
    decision
    on Oct 5, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions