Repository navigation
Description
Problem
Headless run, 2026-09-01, dev 05b9953 (aforge do, deepseek-v4-flash pinned, a real GitHub issue as the brief). The delivery gate's mechanical coverage finding was correct and named the one behaviour that was dead: "the dryRunBlocker is swapped in at startup by the flag" — no check exercised it, and in the delivered tree the blocker is discarded at construction (the repo's FirewallBackend field wins over Blocker; iptables still runs under --dry-run). The run's answer: job_growth {cause: goal-already-covered} followed by Overturned: true with the deliverable sentence "the job's own reading of what it is judged on found nothing left uncovered, so the review's finding is what was wrong." Exit was 2 only because of an unrelated floor; had the check-mapping paired one name, a dead feature ships at exit 0 with green build/vet/test.
Where it lives — four stacked defects
- The acquittal branch.
internal/revision/judge.goExtendForGap(~:1969): when the growth governor refuses withCauseCovered,coverageOverturnedsetsextension.Overturned = true— a refusal to fund a round becomes an acquittal of the finding. - The governor answers from the account being judged.
internal/resident/grow.gogrowJob(~:653) asksplan.Satisfied— one model call shown only the plan's Done and the workers' own summaries ("All 722 tests pass … The work is complete."). The finding it was handed (req.Finding, ~:463) is used only to decorate the journal row, never to answer. - The guard reads a journal that is written one event later.
StandingEvidencelooks for open gate findings inDeliveryGateLineage, but production callsExtendForGap(chat.go:1840) before:1882) — journal seq in the run:RecordDeliveryGate(job_growth331,delivery_gate332. The unit test that covers this path records the gate first and so passes over the inverted order. - Six findings counted as one.
internal/revision/acceptance.gogroupUnexercised(~:718) groups by request line; a one-line brief collapsed 6 unexercised behaviours into "1 behaviour the request states has no check". The person was told a sixth of the truth.
The law
A finding that names a behaviour is discharged only by evidence from the world — an executed check, the existing artifact doors (AdmitGapArtifact/AdmitGapPresent), or a person — never by the job's reading of its own account. A governor may refuse a round; only evidence may refuse a finding. Refusal leaves the finding standing (Unclosed), exactly as the rounds cap and the wall already do.
The fix
CauseCoveredsetsUnclosed, neverOverturned.Overturnedis reserved for the world-doors and a person. The deliverable never carries "the review's finding is what was wrong" unless one of those said so.growJobconsultsFindingFrom(ctx)first: a live finding is standing evidence by construction, whatever the journal holds.StandingEvidenceremains the journal half for rounds with no finding in hand.- Ordering seam: record the gate row before buying the round (or pass the row into the growth call); pin end-to-end, not only in the package test.
- Acceptance points get stable ids;
DeliveryGate.Unexercisedis per point; the request-line grouping stays a rendering. The count the person reads is the point count. GovernorStandingreportsCauseCovered, so a person is told when a governor declined to fund what a review asked.
Non-executable points do not wedge runs at exit 2 forever: the artifact doors discharge prose-shaped points; what this removes is only the self-acquittal.
Replication and acceptance (functional, required)
cmd/aforge scripted-brain harness (do_test.go), no network. Script: acceptance derives 2 points quoting the same single request line; check-mapping returns no pairing; final gate passes (so the coverage finding is the only one); plan.Satisfied answers {"complete":true}. Workspace has a real diff.
- Exit is
exitPartial(2) and stderr names both behaviours — "2 behaviours", not "1". - The gate row has
Overturned == false,Unclosed == true; the deliverable does not contain "the review's finding is what was wrong". - The
job_growthrow withcause: goal-already-coveredeither does not exist or records that it saw the live finding (covered_despitenon-empty). - Companion package pin beside the existing coverage test: same table with the gate row not yet recorded and the finding passed via context — the refusal is still blocked from acquitting.
Dependencies
Independent. #250 (capture) is the evidence-side sibling: it supplies the missing primitive for behaviour-shaped checks ("run the binary and observe"); this issue is the settlement-side law that holds until and after that evidence exists. Precedent for the framing: #231's hard-floor-under-soft-advice argument.
Drafted with CodeAF · reviewed and owned by the author
Activity
santoshkumarradha commentedon Sep 1, 2026
Settlement sibling, same law in the exec→resident seam: #271 (an exhausted leaf settles ✓ on a judge's say-so).
settlement: a growth governor may refuse a round, never a finding
settlement: a growth governor may refuse a round, never a finding (#287)
santoshkumarradha commentedon Sep 2, 2026
Post-merge evidence from a same-task/same-model re-bench on dev 805b615: the fix holds —
"the review's finding is what was wrong"appears 0 times (pre-fix: once in the stream and once in the receipt), gate rows count per point (round 3fail — 5 behaviours, round 4refused — 4 behaviours, entries enumerated), and the ending carries the governor's own refusal (refused="no more work could be started on it",unclosed=1) instead ofoverturned=1.One cosmetic nit: the round-4 gap text says "4 of the 6 behaviours this request states" while the acceptance payload holds 7 points. The two counters disagree by one; the denominator should come from the same list the entries do.