Skip to content

Five stranded findings from #1318/#1320/#1405: lock liveness, suppression carry-forward, dispatch preamble, resolver dimension override #1786

Closed

Description

@kyle-sexton

This was generated by AI while triaging findings that were stranded on merged pull requests.

Context

Review findings posted on #1318, #1320, and #1405 after each merged, so the thread-resolution
gate could not see them and nothing surfaced them afterwards. Found by the stranded-findings sweep.

Each was re-verified against origin/main today by an independent reader — file read, claim checked
— rather than taken from the finding text. Of six, five are still present; one was already fixed
by a later PR and is recorded here so nobody re-checks it.

1. Lock reclamation has no liveness conjunct where the platform lacks start identity (P1)

plugins/claude-config/skills/audit-pass/reference/run-contract.md:270-276 states that where no
process start-identity exists, "age alone reclaims", and then mentions that "the lease's
heartbeat is what makes a merely-slow holder visible rather than assumed dead."

That heartbeat clause is descriptive prose, not a conjunct any reclamation test consults — there is
no cross-reference to lease or heartbeat_at near the reclamation rule. A live --fix run that
exceeds 30 minutes on such a platform loses its lock to a second run, violating the contract's own
assertion 3.1, "exactly one proceeds."

Note this is the same class of defect just fixed in claude-ops' restart-consumer (#1759/#1760),
where age-only reclamation was replaced by a boot-identity plus liveness check. Worth fixing the same
way rather than re-deriving.

2. The SAME/UNCHANGED table row has no anchor-collision exception (P2)

run-contract.md:438, first row of the "Matching an entry" table: every site's anchor matches and
(check, claim) match → "Applies silently."

No exception for anchor-collision state, which contradicts assertion 1.10a's guarantee that "no
suppression carries forward"
across a two-duplicates-under-one-heading collision. A
previously-suppressed excerpt that later gains an identical duplicate matches this row exactly and
silently re-applies the suppression.

3. The prompts file strips the discipline preamble from every dispatch brief (P2)

prompts/loops/loop-lane-prompts.md:431-443 says to invoke /discipline:sweep-all "once per cycle,
at the cycle root only — never inside a dispatch brief, and never from a subagent… Dispatched
subagents inherit the posture the root sweep already set."

Dispatched subagents run in fresh, non-inherited context, so they inherit nothing. The normative
owner doc says the opposite — docs/conventions/loop-lane/README.md:509-514: "Every subagent a lane
dispatches carries a standing discipline preamble. When the discipline plugin is installed, the
dispatch prompt invokes its sweep…"

This reads as an over-correction of a sibling finding, which asked only to exempt sweep-all's own
internal audit forks from recursion — not to strip the preamble from every dispatch.

4. The resolver dispatch ignores per-dimension overrides (P1)

plugins/source-control/skills/babysit-loop/SKILL.md:266-276 fires the leased fresh-subagent
resolution dispatch independent of per-dimension overrides. The "Dimension overrides bind by tier
flooring"
rule below it is scoped only to "Before invoking [the babysit-prs tier]" and never gates
the resolver dispatch itself; reference/pre-escalation-dispatch.md contains no occurrence of
dimension or thread-resolution at all.

So autopilot --merge c3-this-run --thread-resolution safe still dispatches the resolver to mutate
bot threads — contradicting config-resolution.md's "invocation arguments win" rule for exactly
that dimension.

5. The dispatch names no resolver mode, and the implied one cannot work (P2)

pre-escalation-dispatch.md routes a current, non-outdated bot thread to this dispatch and tells
it to run "the full per-PR worker lifecycle." Neither that file nor SKILL.md states which resolver
mode to use. As literally written, "worker lifecycle" implies the --autonomous form — which
babysit_resolve_thread.py:362 hard-refuses for any thread not already outdated before its own
push. It therefore can never clear the exact blocker class it exists to clear.

A fix appears to be in flight: local commit 9df80ba5aa ("evidence-gated independent-resolver mode
for thread resolution") exists but is not an ancestor of origin/main. Confirm whether that
lands before doing this one twice.

Already fixed — do not re-check

#1320:475 (P1) — the unbounded babysit-loop launch command. Fixed by d8575516cd (#1405): the
generic command now carries {{MERGE}}, documented as "Leave {{MERGE}} at --merge human-only unless
the target repository's rung question has been decided."
Both remaining invocation examples in the
file carry an explicit merge cap.

Acceptance criteria

  • Each of the five is fixed or consciously deferred with the reason recorded at the site.
  • Item 1 reuses the boot-identity + liveness approach already landed in restart-consumer rather
    than re-deriving a weaker one.
  • Item 3 is reconciled against the owner doc, whichever way it resolves — the prompts file and
    loop-lane/README.md must not keep contradicting each other on whether a dispatched subagent
    carries the discipline preamble.
  • Item 5 is checked against 9df80ba5aa before any work starts.
  • Each fix carries a regression test where the surface is executable.
  • The five threads are resolved on their PRs once the fixes land.

Related

Refs #1318
Refs #1320
Refs #1405
Refs #1777

Metadata

Metadata

Assignees

Labels

needs-triage

Type

Fields

No fields configured for Task.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions