Repository navigation
Description
Observable failure
The planner is asked to plan a job that names its own lanes. It answers with three workers who are each told to do the entire job alone, and a fourth who merges their three answers:
{"id": 1, "kind": "work", "title": "Pass 1", "summary": "Do the whole of this job alone, from the material itself: …"}
{"id": 2, "kind": "work", "title": "Pass 2", "summary": "Do the whole of this job alone, from the material itself: …"}
{"id": 3, "kind": "work", "title": "Pass 3", "summary": "Do the whole of this job alone, from the material itself: …"}
{"id": 4, "kind": "synthesis", "title": "Synthesis", "summary": "Merge the 3 independent results into the finished answer to the goal."}The stage list on that graph reads ["Panel"]. Three copies of the work, priced three times, on a brief whose lanes are written out in the request — and on the very same brief the shipped planner draws nine to twelve nodes, one per lane, one per document, one per check. On the dependent-register brief it is the same shape with a setup step in front: Preparation of the working copy, then Independent full pass over the register 1 / 2 / 3, each summarised Do the complete three-lane job alone on the full register.txt.
Measured in the planner × gate experiment of 2026-09-02, report attached to PR #435. From the report's findings:
- Panel copies: C draws a three-identical-pass Panel on R1c 6/8 and R1b 3/8 — the ensemble hook fires where A splits.
Arm C is the measurement arm — PR #425 — and its only planner difference from the shipped planner is the measured reading of what the goal names. That reading is what reaches the ensemble decision as evidence: the arm C draws above carried
MEASURED — the material this goal names by name is 3 files, 174.4 KB in all. One worker holds 32.0 KB of material at a time, so what is named is 5.5 times what one worker can hold.
and answered it by buying the same 174 KB three times over. Redundancy is the one shape that cannot help a goal that is too large for one worker: it multiplies the reading and divides nothing.
Law
An ensemble is for work that has no division, not for a division the planner has already found.
Where
internal/plan/ensemble.go,ensembleHook: sits after grounding and the spine, callsDecidePanel, and onensemblereplaces the whole decomposition —Ensemblewrites N panelists with one shared brief and a merge node, and the hook returns that graph. Nothing downstream reconsiders.internal/plan/ensemble.go,DecidePanel: its structural evidence isgraph.Stages— "The stages the planner drew for it" — beside the terrain and the invoice. How many gates the spine found is described in its own comment as "the cheapest available signal about whether the work is one body of material or several". It is also the only signal it has about division, and it never sees the parts the sizer would name, because sizing has not run yet.internal/plan/reach.go,admissible, andinternal/plan/spine.gowherechoice.Stages = medoid(admissible(candidates, named)): when the named material exceeds one worker's window, one-stage samples are set aside before the medoid — unless every sample said one stage, in which case all are kept. So the stage listDecidePanelreads is measurement-filtered, and it is the one thing the measurement arm changes upstream of this decision. Where the field collapses to one-stage samples, the panel's only evidence about division says "one body of material" and the panel fires.internal/plan/plan.go: the hook runs beforeFanOutWith, so a graph that never gets a fan-out never gets a sizing pass either, and noPartslist exists at the moment the decision is made.
Fix shape
Recommended. The ensemble hook may not fire when the planner has already found a division: not when the medoid carries two or more stages, and not when any surviving spine sample carries two or more stages or names two or more parts. A panel is what is bought when nothing could be named to divide, so the existence of a named division is a refusal, and the check costs nothing — the samples are in hand at that line.
Alternative. admissible keeps one-stage samples and marks them set-aside rather than dropping them, so the ensemble decision reads the field the spine actually drew and the measurement narrows only the medoid it was written to narrow. Smaller, and it repairs the evidence rather than the decision — but it leaves the hook free to fire on a genuine one-stage division.
Replication
Fixture — a directory holding exactly two files, no repository needed:
register.txt, about 144 KB / 3,492 lines: a file header line, then three block headings (North,South,East), each followed by 1,160 records of the formid | item | quantity | recorded, ids prefixedN-,S-,E-, dates writtenDD/MM/YYYY.CONVENTIONS.md, about 25 KB, holding four settled rulings about dates, sorting, id schemes and totals.
From inside that directory, on the #425 build (-w . is required: with no workspace the measure weighs nothing and the arm is the shipped planner):
aforge plan "register.txt holds three regional blocks, North, South and East, each of 1,160 records in the form \`id | item | quantity | recorded\`. Read CONVENTIONS.md first; its four rulings are settled. Deliver three lanes exactly as listed, in order. L1: rename every id prefix N-, S- and E- to R-N-, R-S- and R-E- throughout the file and update the header comment to say so. L2: using the ids as renamed by L1, add a fifth column \`checksum\` to every record, the sum of the digits in the record's id. L3: write CHECKS.md documenting the L2 column rule and listing the ten records with the highest checksum, using their L1 ids. Keep the file header and the three block headings." -w . --json -o graph.json
jq -r '"stages: \(.stages | map(.title))", (.nodes[] | "\(.id)\t\(.kind)\t\(.title)\t\(.summary[0:60])")' graph.jsonExpected today on 3 draws in 8: a stage list ending in Panel, three work nodes with the same summary telling each to do the whole job alone, and a Synthesis that merges 3 independent results. The other draws plan the three lanes. The report saw the same shape on 6 draws in 8 of the original brief from #252, which needs that checkout and so is not part of this replication.
Acceptance
- A brief that names its lanes never plans into identical passes: on both register briefs and on the thirty-chapter handbook brief, no draw produces two work nodes with the same summary.
- A goal that genuinely has no division — one body of material judged several times, which is what the panel was built for — still plans as a panel, and
--ensemble Nstill forces one on any goal. - The measurement arm's panel rate on the experiment's briefs falls to the shipped planner's, with lane coverage no lower than the shipped planner's on every brief.
- Planning cost on the register briefs in that arm no longer carries three readings of the same material.
Found by the autopsy in #252 (comment); measured in the planner × gate experiment of 2026-09-02, report attached to PR #435.
Drafted with CodeAF · reviewed and owned by the author
Activity
santoshkumarradha commentedon Sep 10, 2026
Consolidated into #818 — a brief that names its lanes is planned as lanes, and each lane knows what is not its. This issue's evidence, replication and acceptance are reproduced there in full under its own heading; the lane that takes #818 takes this. Nothing is lost — this issue stays readable and #818 links back to it.
#384 and #482 came out of the same autopsy (#252 issuecomment-5510867817) and are one failure seen from two angles — a brief that states its own division either collapses to one oversized leaf or fans out into three workers each told to do the whole job alone. #241 is the third angle: where a division IS produced, the parts are not told what is not theirs, so a lane that fixes the first two without the third produces correct lanes that then collide. #818 records which of #384's four fix-shape items have already landed (items 2 and 3 via #544 and #422, the measurement core via #425/#564) and which have not, so nothing is redone. Closed as part of the 2026-09-10 triage sweep.