a cycle whose every candidate fails requirement 17f stands down reporting `raced` contention that never happened, and chains on it
Id: TD-PPagop-26082313 · Status: resolved · Filed: 2026-08-23 · Resolved: 2026-08-29 · Ref: #930
Requirement 17f (refinement_traceability_fault, agent-cycle.sh,
agent-ops#626, PR #702) added a third way for the claim loop to drop a
candidate without attempting its claim: a claim-skipped event with
cause: "untraceable". Unlike the two that were already there, it feeds no
counter — deliberately, because claim_skips is documented at its own
declaration as meaning pre-claimed alone, so that the dashboard’s
↻ raced badge keeps meaning only healthy contention.
The stand-down classifier immediately below the loop was not taught about
it, and it decides between its three causes from exactly those counters. So
a cycle in which every ranked candidate is untraceable reaches the
classifier with claim_attempts == 0, claim_unreachable == 0 and
claim_skips == 0, falls through both guarded branches, and lands in the
else:
- it logs
stand-downwithcause: "raced"and the reason textevery candidate is already claimed elsewhere— of a cycle in which nothing was claimed anywhere, by anyone; - the same event carries
race_losses: 0, so the record contradicts itself on its own face: a raced stand-down that lost no races; racedis the one cause that chains (requirement 39). The cycle therefore buys another Co-Ordinator engagement, up tomax_chained_cyclesof them, on the strength of a contention reading that is not true.
Why it matters
Section titled “Why it matters”The chaining is the expensive half. A fresh Co-Ordinator engagement may well
compose a traceable work order the second time — chaining is not obviously
the wrong behaviour here — but the cycle is buying it for a stated reason
that is false, and where the fault is deterministic (a spec whose paste
drifts the same way every cycle, per TD-PPagop-26082307) it buys the
same empty result every time. The misreporting is the durable half: the
raced cause and the ↻ raced badge are the fleet’s only cheap signal for
“peers are contending”, and requirement 17f can now raise it without a peer
being involved at all. The pre-claimed cause exists precisely because a
selection defect was judged worth its own name rather than being folded into
raced; an untraceable work order is the same kind of defect and has the
same claim.
agent-cycle.sh— the claim loop’scause: "untraceable"skip, theclaim_skipsdeclaration and its comment, and theclaim_attempts/claim_unreachable/claim_skipsclassifier that follows the loop (standdown_reason/standdown_cause, and theraced-onlychain_eligibletest).docs/IMPLEMENTATION-PIPELINE-SPEC.md— requirement 17f, and whichever requirement enumerates the stand-down causes.
Suggested fix
Section titled “Suggested fix”Give the skip its own counter and its own cause — untraceable — rather
than folding it into claim_skips, which would corrupt the pre-claimed
signal the same way raced is being corrupted now. Then decide the chaining
question explicitly rather than by fall-through: a chained cycle re-runs the
Co-Ordinator from a fresh gather and so is a plausible way out, which argues
for chaining, but it should be chosen on that reasoning and recorded in the
spec, not inherited from a misclassification. Spec requirement 17f and the
stand-down cause list need the new name either way.
Noticed by the Reviewer stage while reviewing PR #702 (https://github.com/Poetic-Poems/agent-ops/pull/702), which introduces requirement 17f; out of scope for that pull request, whose own remit is the cross-item join fault itself.