This was generated by AI during work-loop.
Problem
The work-loop admission gate queues a C3 item for ratification (a kind=ratify-c3 comment, needs-human added, agent-ready removed) without checking whether a pull request that closes the item is already open. The operator is then asked to ratify work that is already done or in review, and the item's labels move away from the state its PR expects.
Observed
Lane melo-lap-001-wsl-2, cycle 1 (2026-09-27 at 18:32Z), queued two items this way:
Both kind=ratify-c3 comments now sit on closed items.
Expected
Before step 3 queues, escalates, or dispatches a candidate, the admission gate skips any candidate that already has an open closing PR (GitHub: closedByPullRequestsReferences with an open state) and reports it as in flight. /work-items:work has its own staleness pre-check at dispatch time, but that check never runs for items that are queued and not dispatched.
Done when
The work-loop admission step (and its C3 ratification-queue reference) names the in-flight-PR check. An item with an open closing PR is neither ratify-queued nor escalated. The cycle report lists it as in flight.
This was generated by AI during work-loop.
Problem
The work-loop admission gate queues a C3 item for ratification (a
kind=ratify-c3comment,needs-humanadded,agent-readyremoved) without checking whether a pull request that closes the item is already open. The operator is then asked to ratify work that is already done or in review, and the item's labels move away from the state its PR expects.Observed
Lane
melo-lap-001-wsl-2, cycle 1 (2026-09-27 at 18:32Z), queued two items this way:Both
kind=ratify-c3comments now sit on closed items.Expected
Before step 3 queues, escalates, or dispatches a candidate, the admission gate skips any candidate that already has an open closing PR (GitHub:
closedByPullRequestsReferenceswith an open state) and reports it as in flight./work-items:workhas its own staleness pre-check at dispatch time, but that check never runs for items that are queued and not dispatched.Done when
The work-loop admission step (and its C3 ratification-queue reference) names the in-flight-PR check. An item with an open closing PR is neither ratify-queued nor escalated. The cycle report lists it as in flight.