With no harness variable the offered list already is "unknown.txt", and copying
it onto itself raised SameFileError: main's CI run for 3241e97 failed on this.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Both sides kept: the reach column, floor verdict and reach line from origin;
`pick --node ID --started WORKER`, running nodes kept on re-record, stated
resets and plan-wide `out` only on quota wording from the fix branch. The
short `sisi help` is kept and names the floor verdict.
Also: a message naming one model's own cap ("your Fable limit", "limit for
this model") takes off only that model, even with a reset time; attaching a
running job prints the node header, reach and all. sisi/ is 3269 lines, the
cap as origin set it.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
An `out` message widens to every worker on the same provider only when it
states a reset time or names a shared quota (quota, usage window, usage limit,
subscription); a crash, timeout or lost connection takes off just the one.
Resets written as dates ("resets Dec 2, 2pm (America/Denver)") are read.
sisi/ is back at the 3264-line cap: `sisi help` is shorter (README explains each
command), module docstrings keep their first sentence, and dead or single-use
wrappers are gone (rules.delivered, models.speeds/qualities/pools,
install._hooks).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Fault 36: `sisi pick --node ID --started WORKER` records that a job already
running (a worker sent a message, which no delegation hook sees) does the node;
re-recording a plan keeps a running node whose id and branch are unchanged.
Fault 37: `judge WORKER out` keeps the worker off the wheel until the reset its
message states (ISO time or "resets in ..." span; else 6 h), together with every
worker on the same provider in the models table.
Also: tests/test_models_research.py no longer reads the running agent's
CLAUDE_CODE_ENTRYPOINT.
The line-count cap (test_the_product_stays_small) is left for the join: sisi/
is 3330 lines against 3264.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The plan table gains a reach column before why. The brief shows it with four examples, and
sisi pick prints the node reach with the floor/reach line. Net sisi/ growth is +3 lines (3233,
cap 3230); the cap is for the lead to set at the join.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
- 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>
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>
Adds an offered(data_dir, text) helper, called from Core.table() and from each direct models.md write in the store; pops CLAUDE_CODE_ENTRYPOINT in the test env.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
The planning brief now asks for many small, exactly specified nodes a near-free
model can do well and fast, each proven by the quick test of its own change, with
the full suite deferred to a join node that merges its needs, runs it once and
fixes what broke. The pick header names each needed node's branch so a join
knows what to merge. Rule 5 says the same in one character less.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
_move and _apply write the project file first and remove or commit the
store copy second, so a reader that never waits must read the store copy
first: it then either sees the lines there or the project file is already
complete. Reading the project file first could miss both (fault 6).
Adds a deterministic test that runs a whole move between the two reads.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The lead's own join node no longer blocks the end of turn; worker nodes
ready and undispatched still block. The lead may be waiting on its own
background job.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Research brief asks for provider and efficiency columns (published allowance with URL and
5h/week/month request windows), at most one row per provider per class, most efficient first,
and is marked as a sisi chore; ASK sends it to a hard-class worker with web search.
research_record refuses missing provider/efficiency and duplicate provider+class rows.
The wheel weights each worker by its plan's share left (sisi's own delegations against the
table's request windows, floored at 0.05); sisi models prints estimated plan use.
research_days 7 -> 3.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- List every canonical problem (number, name, one cause) in organize_brief and ask for optional `## same problems` lines `N = M`.
- Record validated aliases into `rules/problems.json` with the organize commit, skipping unknown numbers, cycles, and bad lines with messages while still recording the rest of the organize; include `rules/problems.json` in `rules.revert()`.
- Resolve cited numbers, names, misses, 2nd-miss faults, drop lookups, and per-rule recurrence notes through the alias map while preserving existing problem numbers; show merged names under their canonical problem in `sisi retro`.
- Add tests with 3 real duplicate pairs from the blind set (watched failing on main first), update `test_the_product_stays_small` (2481 -> 2530, +49), and add CLAUDE.md guards to all touched test classes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Content-word overlap (stemmed, filler dropped), threshold 0.3 picked on
12 labelled real pairs (11/12) with 12/12 held out. The retro always
records as given; the suggestion is one line, never a refusal. The
report listing annotates the top lookalike pair. Product 2426->2454 lines.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- move prefers an exact whole-line match over a strict prefix,
otherwise refuses listing the candidates; a leading '- ' on the
prefix and extra spaces are accepted by collapsing whitespace.
- organize says plainly when identical lines from two levels become
one copy, or now sit at two levels, instead of printing move-back
commands that would lose one copy; those lines are excluded from
the printed back commands.
- move to canon is final: it is recorded as such, revert says so
plainly, and refusal messages name the exact command to run.
- A failed store git commit in _apply restores every file (store
files and last-project.json included) so the store is clean, and
both move and organize refuse naming the exact command to rerun.
- Tests: seven new reproducers (each watched failing on main), one
updated commit-failure test whose organize half asserted the old
leave-it-dirty behavior, size budget 2426 -> 2444.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>