join-fix: offered-list bugs, judge --node, suite green, cap at the measured count
sisi/models.py - judge(): a worker listed in both the table and the wheel was found twice, so every `out` verdict was refused as "not one worker"; one row per worker now, the wheel's first (fault behind 9 of the 21 failing tests). - wheel() and `models offered --record`: a row's id is matched as written, not lower-cased, so ids like opencode-go/Claude-Haiku-5-5 stay on the wheel. - choose(): takes `tried` (from track(), one pass over the log) instead of re-reading the outcomes log per row; it is a pure function of its arguments again. - judge --node ID: closes the job that runs that plan node when one worker runs two (sisi fault #19); refuses, changing nothing, when that node is not a job of the named worker here. Works for `extend` too. - offered(): calls store.harness() (the temporary stub is gone). sisi/store.py: DEFAULTS and harness() take 4 fewer lines. sisi/cli.py: HELP lists --node and the offered_hours setting. canon/core.md rule 5: restores "and keep being tried on such work"; paid for by three wording changes in the same rule. 134 lines, 11263 chars. tests/test_core.py: 21 failing tests fixed (fixtures with an offered list or a judged record; tests of the removed `out until` notes trimmed to their log-based parts); one new test for judge --node; cap 3080 -> 3153 (measured). Co-Authored-By: GLM-5.4 <noreply@z.ai>
This commit is contained in:
1 parent
75f3035141
commit
09a930d89f
5 files changed
+133
-80
No files matched your search
+4
-5
@@ -69,11 +69,10 @@ 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); 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) 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 the brief it prints 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 to a worker it did not
|
||||
give you. 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
|
||||
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
|
||||
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
|
||||
@@ -83,7 +82,7 @@ optimizes. For anything the person will see, the brief states the look (type, co
|
||||
at each width), chosen with the person from previews. For a reported fault, the report's exact inputs are
|
||||
an acceptance test. For a replacement, list each behaviour of the old thing as keep, change or drop, with a
|
||||
check for every keep. Its report is evidence to judge, not a fact to pass on; record how it went
|
||||
with `sisi judge`, which also closes or reopens its node. When a worker fails on a limit, login or connection, judge it `out` with the provider's message (sisi retries it) and give the same brief
|
||||
with `sisi judge`, which closes or reopens its node. When a worker fails on a limit, login or connection, judge it `out` with the provider's message (sisi retries it) and give the same brief
|
||||
to the next at once, without asking or reporting. Rebuild the models table in the
|
||||
background when session start says it is old.
|
||||
|
||||
|
||||
Reference in new issue
Block a user