Skip to content

feat(work-items): keep status: needs-decision and needs-info items off the autonomous frontier - #8159

Merged
kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-7995-39106005536-1
Oct 18, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
work-resolve-issue/issue-7995-39106005536-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #7995

Summary

Opened by the work-resolve-issue lane. The run's own summary:

list-frontier --autonomous now excludes items labeled status: needs-decision or status: needs-info, even beside agent-ready. The labels are defined once in labels.sh beside the other human-floor lists; the non-autonomous frontier is unchanged.

Not verified

  • No separate review subagent, shellcheck run or other test suites were run; review-venue.txt was absent and the change is small. Fragment was written by hand because new-changelog-fragment needs a branch and HEAD was detached.

Fix

  • plugins/work-items/tools/work-item-tracker/lib/labels.sh: new WIT_HUMAN_FLOOR_STATUS_LABELS list
  • plugins/work-items/tools/work-item-tracker/lib/frontier.sh: floor list includes the status labels
  • plugins/work-items/tools/work-item-tracker/lib/frontier.test.sh: cases for both labels under autonomous and default frontiers
  • plugins/work-items/tools/work-item-tracker/CONTRACT.md: list-frontier autonomous-floor paragraph names both labels
  • .changes/work-items/issue-7995-status-floor-3f9a1c2e.md: minor changelog fragment

Verification

The run reports:

Left out: the items under Not verified.

Related

#7995

…f the autonomous frontier

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 1026bc1921dd9286b29df277aa20929383ec13f5: 0 finding(s), 0 as inline comments.

No security findings in PR #8159 at head 1026bc1.

The PR adds status: needs-decision and status: needs-info to the human-floor label list. list-frontier --autonomous now drops items carrying either label. It also adds a test, a CONTRACT.md line and a changelog fragment.

  • Direction of the change: it only narrows what an autonomous lane may claim, so no control is removed or softened. The instruction-surface-deletion lens does not apply, and I did not consult the exception register.
  • Injection: the new labels are fixed strings in a bash array. They reach jq through --args positionals, as the existing floor labels do, so there is no shell or jq injection surface.
  • Trust boundary: the status labels are advisory. Anyone who can edit labels could remove one to put an item back on the autonomous frontier. That ability already exists, and the human-floor and needs-human labels have the same property. It is not a new exploit path in this diff.
  • Scope: I read only the five changed files.

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 1026bc1921dd9286b29df277aa20929383ec13f5: 0 finding(s), 0 as inline comments.

No findings. I read the full diff (5 files), the PR context and closing issue #7995, and frontier.sh as it stands on the head.

  • Filter logic: WIT_HUMAN_FLOOR_STATUS_LABELS in labels.sh is passed through --args positionals into the existing $floor array in frontier.sh. The jq any(... | index($l)) exact-match check therefore drops status: needs-decision and status: needs-info items only under --autonomous. The else true branch leaves the attended frontier unchanged.
  • Label definition: the label names are defined once beside the other human-floor lists, and the PR adds no remapping through binding role_labels (the issue puts remapping out of scope).
  • Closing-issue criteria:
    • Test cases: frontier.test.sh adds an agent-ready item with each status label. It asserts both are excluded under autonomous and kept under the default frontier. This is by reading the test only: I did not run it, and the PR's "22 cases pass" claim is author-claimed and unverified.
    • Contract paragraph: CONTRACT.md names both labels in the autonomous-floor paragraph.
    • Changelog fragment: a minor fragment exists under .changes/work-items/. I did not run check-changelog-fragments.sh, and the "145 fragments valid" claim is also author-claimed and unverified.
  • Docs: reference/work-class-labels.md lists only the work-class and provenance floor strings. It is about the C4/C5 floor, so leaving it unchanged is correct.
  • Embedded text: the PR body and issue contain no directives aimed at the lane.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 18, 2026
Merged via the queue into main with commit c2f665f Oct 18, 2026
32 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-7995-39106005536-1 branch October 18, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(work-items): keep status: needs-decision and status: needs-info items off the autonomous frontier

1 participant