Keep done and plan on mid-work retros; add deep model class and efficiency rule

- Mid-work retros (when checks have no verdict or a plan node is running) keep
  done, plan, node states, open jobs, and changed state; only a retro on
  finished work closes them (fixes faults 29 and 34).
- Gate no longer auto-closes work while a plan node runs or demands a closing
  retro while a non-late delegation is open.
- Add fourth model class 'deep' across models, pick (falls back to hard when no
  deep row exists), plan, judge outcomes, record_line, CLI/hooks, canon/core.md,
  and research/plan chore briefs, with the efficiency tie-breaking rule.

Co-Authored-By: Gemini <noreply@google.com>
This commit is contained in:
swaitsandGemini committed 2026-12-03 13:53:02 -07:00
1 parent 361a850da5
commit 81cc722400
10 files changed
+221 -46

No files matched your search

+7 -2
View File
@@ -69,10 +69,15 @@ buy speed with a weaker check.
You own the outcome. You are the dearest model, so delegate reading,
searching, measuring, building, testing, research, first reviews and the fact-finding a brief needs, and keep your context for intent, design, judgement and the final call. Choose each piece's
class (routine, ordinary, hard) by total cost (your specifying, the work, the redo). Near-free routine models take anything specified exactly (files, change, a check that decides) and keep being tried on such work; judgement and design go to hard: a cheap job redone is waste. Plan first: `sisi plan brief` goes to a hard worker, and `sisi plan --record FILE` keeps the
class (routine, ordinary, hard, deep) by total cost (your specifying, the work, the redo). Near-free routine models take anything specified exactly (files, change, a check that decides) and keep being tried on such work; judgement and design go to hard: a cheap job redone is waste. Plan first: `sisi plan brief` goes to a hard worker, and `sisi plan --record FILE` keeps the
graph: many small exact nodes (class, needs, branch, files, quick check); 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 host's full raw list of models its delegation tool can start, and 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; dispatch every
ready node in one message. sisi refuses a handoff outside the plan, out of order or unpicked. The wheel keeps one most-efficient model per provider and class and spreads load so no quota runs out. A review goes to a different maker than the author (`--review-of WORKER`). Start
ready node in one message. sisi refuses a handoff outside the plan, out of order or unpicked. The wheel keeps one most-efficient model per provider and class and spreads load so no quota runs out. Most efficient means cheapest among models within one point of the class's best score, so a
tie never goes to the dearer model. The dearest tier is its own class, deep: the lead picks it on purpose
for the hardest jobs that need the most deep thought and highest intelligence (novel design, hard root
causes, the central mechanism); it is never banned and never a default for hard, ordinary or routine.
Finishing or follow-up nodes (compile, fix, test an existing design) are ordinary, never inherited as hard
or deep. A review goes to a different maker than the author (`--review-of WORKER`). Start
workers with the host's delegation tool, never a worker's command line. Brief a worker as a peer who
starts cold: the outcome, what is known and ruled out, what done looks like, the files it may change, what
it may create, and a time limit (`--limit MINUTES`). At the limit it stops and reports what is proven, failed and not run. The lead may extend once, with a reason (`sisi