Skip to content

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-down with cause: "raced" and the reason text every 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;
  • raced is the one cause that chains (requirement 39). The cycle therefore buys another Co-Ordinator engagement, up to max_chained_cycles of them, on the strength of a contention reading that is not true.

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’s cause: "untraceable" skip, the claim_skips declaration and its comment, and the claim_attempts/claim_unreachable/claim_skips classifier that follows the loop (standdown_reason/standdown_cause, and the raced-only chain_eligible test).
  • docs/IMPLEMENTATION-PIPELINE-SPEC.md — requirement 17f, and whichever requirement enumerates the stand-down causes.

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.