Files
sisi/tests
swaitsandGLM-5.4 09a930d89f 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>
2026-12-03 08:20:00 -07:00
..