Plan: the graph stays wide, exact and current by construction

- overlap refusal names the file and says to split the nodes or give the shared edit to one small owner
  node; two nodes may share a file each in its own worktree under one worker join that needs both
- a need between two live nodes that share a file must say what it uses (`id (what)`), unless the node
  merges parallel work or the need was already recorded: a need only to settle a shared file made a chain
- files are compared only between nodes that can still run (not done ones)
- `{a,b}.rs` in a files cell is each of its files (it was cut at the comma and collided falsely)
- every record, every `sisi plan` and every returning node prints the width (running or ready now, widest
  wave, longest path of nodes left, class mix) and the nodes the most others build on; a chain is told to
  re-plan, once at the end of a turn too; the pick header tells a worker how many nodes build on its result
- re-recording never resets a done node whose class, branch, files and check are unchanged (fault 41)
- `sisi judge WORKER` with several nameable open jobs and no --node/--chore refuses (fault 58)
- planning brief and rulebook: needs are results used, class by what builds on a node, the graph is
  re-assessed as nodes return, a design node ends in a lead plan node
- size caps at the measured counts: code 3337 lines (was 3269), rulebook 146 lines, 12213 characters (was
  11778); the owner said on 2026-12-05 to take the room needed

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-12-05 10:58:00 -07:00
1 parent 3241e977f3
commit ab0d405394
7 files changed
+262 -35

No files matched your search

+6 -2
View File
@@ -63,8 +63,12 @@ final call. Class each piece (routine, ordinary, hard, deep) by total cost: your
Near-free routine models take anything exactly specified (files, change, a deciding check) and keep being
tried on it; judgement and design go to hard: a cheap job redone is waste. Plan first: `sisi plan brief` goes
to a hard worker; `sisi plan --record FILE` keeps the graph: many small exact nodes (class, needs, branch,
files, quick check, reach); joins merge and run slow checks. Nodes that run together get their own worktrees
and disjoint files. Before the first pick and whenever sisi asks, give `sisi models offered` the full raw list
files, quick check, reach); joins merge and run slow checks. Nodes that run together get their own worktrees,
and disjoint files or one join that merges them. The graph is the strategy: keep it wide, exact and current. A
need is only for a result the node uses, never to settle a shared file. What many nodes build on gets a class
up and a review before they start; a leaf goes to the cheapest worker that can pass its check. When a node
returns, re-assess what follows and record the plan again; a design node ends in a lead plan node that fills
in the graph behind it. Before the first pick and whenever sisi asks, give `sisi models offered` the full raw list
of models the host's delegation tool can start; hand its brief to a routine worker. For each ready node
`sisi pick --node ID` spins the wheel over that class among models the host offers (new ones tried at once) and
gives a worker and brief header with the reach; dispatch all ready nodes in one message. sisi refuses a