The issue-closed re-flag exemption is consumed only by an enabler-examined, so a close already acted on through a label-removed, work-gone or dependency-resolved unblock can still grant one engagement
Id: TD-PPagop-26082918 · Status: resolved · Filed: 2026-08-29 · Resolved: 2026-09-29 · Ref: #1938
What. Requirement 35a’s issue-closed exemption for a needs-refinement
re-flag (TD-PPagop-26082901, PR #939) is bounded by “no examination has
followed the escalation”: ENABLER_ELIGIBLE_JQ’s $examined_since_escalation
counts enabler-examined events after $escalation.ts, and one of those is
what retires the exemption for good. That is the whole mechanism keeping the
fix inside the scope issue #934 drew for it — a close an engagement has
already consumed must not be re-spent.
But an enabler-examined is not the only way an item leaves its block. Four
other unblock paths exist and none of them logs one:
lib/candidate-gather.sh—by: "label-removed"(a human takes theblockedlabel off),by: "work-gone",by: "dependency-resolved";lib/candidate-select.sh(≈ line 1100) — the bareunblockedevent.
So an escalation the human closed weeks ago, whose ask was then fully acted
on through one of those paths, still counts as “not followed by an
examination”. If that item is later re-flagged needs-refinement and its
latest item-refined still predates the escalation — likely, since the
label-removed path never writes one — the exemption fires on the strength
of a long-settled close. That grants an engagement with reason: "issue-closed", which is not only an examination: it is also the one
exemption to requirement 36b’s thrash guard (a second refinement is
permitted) and to escalation_autonomy’s one-adjudication-pass-per-human-
touch bound (D18).
Why it matters, and why it is small. Bounded — the engagement it grants
logs the enabler-examined that retires the exemption, so the cost is one
Opus pass per closed escalation, not a loop, and the engagement still
verifies the closed issue’s claim against reality before releasing anything
(prompts/enabler.md). But it is the same shape #934 named as out of scope
(“a close that an examination already consumed and a later re-flag that
re-asks the settled question”), reachable through a door that check does not
watch — and the two exemptions it drags along are the ones the register
elsewhere treats as load-bearing.
Why it was not fixed in #939. The obvious tightening — also require that
no unblocked event has landed since the escalation — would break the very
case #939 exists to fix. In #706, the sharpest case, the block’s own
blocked/blocked:needs-refinement labels came off at 2026-08-27T21:06Z,
between the human’s close (20:30Z) and the Co-Ordinator’s re-flag (23:18Z):
release-then-re-flag is the shape being rescued, so “no unblock since the
escalation” cannot be the guard. Distinguishing “released because the human’s
close answered it” from “released long ago and now re-asked about something
else” needs a key this rule does not have today — plausibly the escalation’s
own blocked_ts (lib/enabler.sh already records it, and #934 suggested
using it “where it sharpens the match”) matched against the block lineage, or
the decide-tactical adjudication rung filed alongside #934, which is where
#934 put the neighbouring case.
Where.
lib/cycle-state.sh—ENABLER_ELIGIBLE_JQ,$examined_since_escalationand theissue-closedbranch.lib/candidate-gather.sh,lib/candidate-select.sh— the unblock paths that log no examination.lib/refinement.sh—refinement_second_pass_refused, the thrash guard the reason exempts.docs/IMPLEMENTATION-PIPELINE-SPEC.md— requirement 35a.- Noticed reviewing PR #939 (https://github.com/Poetic-Poems/agent-ops/pull/939).
- Related:
TD-PPagop-26082901(the fix this bounds),TD-PPagop-26082816(why the re-flags happen at all).
Migrated to https://github.com/Poetic-Poems/agent-ops/issues/1031.