Repository navigation
Description
π€ Agent-authored (autonomous babysit lane), found by the Codex review on #1633 while implementing #1614.
Problem
A babysit-prs worker run that correctly disproves a bot finding β classifies it INCORRECT, posts counter-evidence β has no way to retire the thread, so the PR cannot reach a mergeable state on that path.
Two independent guards produce this, and both are working as designed:
babysit_resolve_thread.py::classifyreturnsskipped-not-outdatedfor any current thread under--autonomous. That guard exists so "an unattended worker cannot resolve a live finding and self-satisfy the merge gate", and it should stay.orchestration.md's Worker Contract is tighter still: a worker may resolve only a thread alreadyisOutdatedin the pre-push snapshot it was dispatched with, and explicitly rejects outdatedness caused by the worker's own push.
An INCORRECT disposition involves no fix by definition, so the thread stays current and can never satisfy either gate. The same applies to a grounded VALID (defer). Under a base whose ruleset requires thread resolution, the PR then sits unmergeable on a finding that was fully and correctly addressed.
This is a capability gap, not a regression β it predates #1633. #1633 only made it visible, by writing down the disposition set that INCORRECT belongs to. Its prose now names the limitation explicitly (worker tier reports such a thread to the orchestrator as addressed-but-unresolvable rather than resolving it), so nothing currently instructs a worker to attempt something its tooling refuses. That is a correct description of today's behavior, not a fix.
Why the obvious fix is wrong
Relaxing classify's isOutdated requirement would remove the single guard standing between an unattended worker and self-satisfying its own merge gate. That is the exact hazard the #1614 adjudication declined to weaken. Do not take this route.
Candidate directions (not prescriptive)
- Orchestrator-side retirement. The worker reports the disproved thread; the orchestrator β which holds the lease and is not the context that authored the counter-evidence β resolves it against the worker's posted evidence. Keeps the worker guard intact and preserves the adjudicator-is-not-the-actor property.
- A distinct disposition-pinned resolve mode. A form that accepts a current thread only when a specific
INCORRECTcounter-evidence reply is pinned by comment id, so the "addressed" signal is the posted evidence rather thanisOutdated. Needs care: the pin must be a signal the worker cannot manufacture for a finding it did not actually disprove. - Leave it. Accept that a disproved current finding is an orchestrator/human escalation, and make sure the report surfaces it as such rather than as a stuck PR.
I lean 1 β it needs no new guard semantics and matches the authorization property #1633 establishes for deferrals. Whoever takes this should confirm against the current Worker Contract rather than trusting this triage.
Acceptance criteria
- A worker that disproves a current bot finding leads to a terminal state β the thread retired by an authorized context, or a clearly-reported escalation β never a silently stuck PR.
classify'sisOutdatedrequirement under--autonomousis not weakened.- Whatever path is chosen, the context that authored the counter-evidence is not the one that unblocks its own merge.
guard-contract.mdgains a row for any new refusal or allowance.
Related
- feat(source-control): ground deferred findings and name self-inflicted roundsΒ #1633 (introduced the prose that names the limitation), policy(babysit): bound review rounds and sanction resolve-by-tracking; decide ruleset compatibility with a per-commit reviewerΒ #1614 (the adjudication whose guard must not be weakened)
Activity
fix(source-control): rewrite the disposition contract whole after theβ¦
kyle-sexton commentedon Jul 27, 2026
π€ Autonomous babysit lane (fable-autopilot), relaying the orchestrator lane's direction from the #1614 implementation.
Orchestrator endorsement: option 1 (orchestrator-side retirement) is the leading candidate
Final call stays open for operator triage β this records a direction, it does not close the decision.
Option 1 from the body: the worker reports the disproved thread; the orchestrator β which holds the lease and did not author the counter-evidence β retires it against that posted evidence.
Why it leads:
classify'sisOutdatedrequirement exists so an unattended actor cannot satisfy its own merge gate β "signing its own permission slip." Orchestrator-side retirement keeps the adjudicator distinct from the actor, which is the property;isOutdatedwas only ever the cheapest available proxy for it.Scope note added since this issue was filed
#1633 landed a routing rule that makes this gap load-bearing rather than latent: a non-outdated but addressed bot thread now routes to the independent resolution dispatch. The prose describes that route, but the wrapper has no mode implementing it β so the rule currently terminates in a fail-closed report ("leave the thread unresolved, do not merge, report it named") on every path lacking a reachable dispatch.
That fallback is correct and safe, but it means an autonomous prose lane still cannot reach zero unresolved threads through the sanctioned path. Whatever direction is chosen here is what makes that routing rule executable rather than merely descriptive.
Constraint restated, because it is the one that must not be traded away
Do not relax
classify'sisOutdatedrequirement under--autonomous. It is the single guard between an unattended worker and self-satisfying its own merge gate. If a chosen design appears to need that relaxation, that is a signal the design has put the adjudicator and the actor back in the same context.Related
feat(source-control): ground deferred findings and name self-inflicteβ¦
feat(ci): mechanize the surface/clause coverage matrix for the reviewβ¦
fix(source-control): persist advisory-round classification so the (c)β¦
fix(lanes): key telemetry state per lane instance, not per lane type (#β¦
feat(source-control): reviewed internal-bot trust signal for the babyβ¦