Add a director queue view for stale reservations and redispatch candidates #984
No reviewers
Labels
No labels
burndown-2026-06
pressure-test
sunday-sprint
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/ward!984
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-977"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #977
ward.workflow: pull-requests-and-merge
Add a director queue/status view for stale reservations, redispatch candidates, submitted PRs, and stale-open done issues.
verdict: block
confidence: high
summary: The queue command wires the requested states, but one PR classification branch compares a display prefix to the internal pull-request kind. That makes done PR carries look like closeable issues.
findings:
file: cmd/ward/agent_director_queue.go
line: 231
problem:
classifyDirectorQueueOutcomechecksitem.Kind == backlogKindPullRequest, butclassifyDirectorQueuePRstoresKind: backlogEntryKindPrefix(backlogKindPullRequest), which is the display stringPR. The comparison can never be true for PR rows.impact: A pull request with
WARD-OUTCOME: doneis classified with actionclose stale-open done issueinstead ofwait, so the queue view can instruct the operator to close a PR carry as if it were a stale-open issue.conclusion: Review blocks PR #984. The queue surface is useful, but PR rows need to keep an internal kind or compare through
backlogKindOfbefore the done-state action can be trusted.Superseded by PR #1043 (issue #995): it merges this branch and repairs the review-blocking classification bug -
classifyDirectorQueueOutcomecompareditem.KindagainstbacklogKindPullRequestwhile the queue items stored the display prefix frombacklogEntryKindPrefix, so done PR carries were mis-actioned as closeable stale-open done issues. Closing this PR in favor of #1043.