swaits
e969aa2bd4
Simplify project rules locking, migration, undo validation, and commit checks
2026-11-24 20:40:20 -07:00
swaits and Claude Opus 5.5
b588cec7a8
Project rules: one list per repository, claimed migration, undo that checks the file
...
- In git the project root is always the main checkout's, from any subfolder or worktree; the
git check-ignore branch and the non-git ancestor walk are gone. When git cannot answer, the
nearest folder holding .git; inside a git directory or bare repository nothing is written.
- The root is looked up once per process: session start runs 4 git processes (was 10).
- Every write of a project's list (learn, retro, organize, move) records path/before/after in
rules/last-project.json and commits it, so `sisi rules revert` undoes the last change of any
kind; it restores only while the file holds exactly what the change left, else declines.
- The move from the store is claimed by an atomic rename; the store copy is removed only after
the store commit succeeds; a claim left by a crash is picked up later; BOM and non-UTF-8 safe.
- A linked .sisi is named in one line; the note closes the file it opens; learn into a folder
that cannot be written says so in one line and keeps nothing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-24 19:58:19 -07:00
swaits
a540bd45ff
Fix AGENTS.md note handling, snapshot cost/false-alarm, and read-only doctor
2026-11-24 19:12:25 -07:00
swaits
c1cd6d7ee3
Keep a marked .sisi/rules.md note in project root AGENTS.md
2026-11-24 18:49:27 -07:00
swaits
de58a13e82
Store project rules in <project root>/.sisi/rules.md with safe migration and revert
2026-11-24 18:38:31 -07:00
swaits
aa6c268f58
Review fixes: the agent marker counts only at the very start of the first request; quick work is timed from its first request, and a failed check or a backwards clock still sends it to the retro
ci / test (push) Canceled after 0s
2026-11-24 13:41:03 -07:00
swaits
dacfc84594
Merge the delegation and retro cost record
2026-11-24 13:39:05 -07:00
swaits
058b7a80cf
Record lead session id, timestamps, model id, and retro_seconds in outcomes.jsonl and retro.jsonl
2026-11-24 13:36:02 -07:00
swaits and Claude Sonnet 5.5
927eb1bb0b
Work that took under retro_minutes (5) from sisi done, passed every check and delegated nothing closes without a retro
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-24 13:34:01 -07:00
swaits and Claude Sonnet 5.5
6a5ed356a2
A lead waiting on a delegation that is open and not late is not stopped for checks without a verdict
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-24 13:32:13 -07:00
swaits and Claude Sonnet 5.5
85b9f1489d
A session whose first request says an agent, not the user, sent it is a worker, so the direct-call limit no longer kills a delegated worker
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-24 13:31:46 -07:00
swaits and Claude Fable 5.2
abd48cba8f
A delegation to a worker the models table does not list says the table is out of date and marks it for every session
...
The refusal used to say to pick from the wheel, which can never give an
unlisted worker. Now it says to rebuild the table, and a marker makes
session start in every session say the same until a table that lists the
worker is recorded. A worker in the table, a shell-started worker and an
empty model keep the plain no-pick refusal. The marker is best effort and
its text is cleaned before it is stored or printed.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-24 10:42:09 -07:00
swaits and Claude Fable 5.2
5fd6b09b5d
release never prunes the release it just put in use, even when the clock is behind
...
ci / test (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-24 07:14:17 -07:00
swaits and Claude Fable 5.2
7a8afcbe69
Fix the wheel test for the cubed speed factor
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-24 06:52:20 -07:00
swaits and Claude Fable 5.2
c5f0461a4e
The wheel's speed factor is cubed, so a worker five times slower wins under 5 percent of spins
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-24 06:50:31 -07:00
swaits and Claude Sonnet 5.5
3a3c9d0070
A short model name matches a segment of the part after the pick's last slash only
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-24 06:49:12 -07:00
swaits and Claude Sonnet 5.5
210290e8af
sisi release through the installed command finds the checkout from the path SOURCE records on its second line
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-24 06:48:39 -07:00
swaits and Claude Sonnet 5.5
6aeff7afd4
Wheel speed factor is the squared ratio of medians, floor 0.02
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-24 06:47:24 -07:00
swaits and Claude Sonnet 5.5
5e73ccfb4a
Gate blocks on a worker started over worker_minutes ago that has not been judged; paid for by trimming wrapped code
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-24 06:45:51 -07:00
swaits
7821c268fa
Merge branch 't3/fix-judge-retro-agent-faults' into spec-reconciliation
2026-11-23 23:15:08 -07:00
swaits and GLM-5.4
0075926570
Fix four faults: sisi judge names the job it times (--newest: the newest open one); retro says once that no done was recorded; a short model name from tool_input matches one whole segment of the pick; sisi release through the installed command releases the checkout it came from instead of copying itself
...
Co-Authored-By: GLM-5.4 <noreply@z.ai >
2026-11-23 23:12:42 -07:00
swaits and Claude Fable 5.2
ea67ed4798
Rulebook: set a briefed mechanism against the person's standing rules and say what a failed or gamed job does to each number it optimizes
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 22:42:54 -07:00
swaits and Claude Sonnet 5.5
911e1d81b1
Fix the review's faults: only good outcomes set speed; damaged history files skipped; stale starts cleared; judge input bounds and redaction; --better wording
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 21:30:48 -07:00
swaits and Claude Sonnet 5.5
b5fd3605db
A model is in exactly one class: the wheel never mixes classes; --record refuses a row in several
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 21:20:04 -07:00
swaits and Claude Fable 5.2
b3e00f0d85
Merge the speed build: sisi judge records minutes and the wheel favours faster workers
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 21:11:22 -07:00
swaits and Claude Sonnet 5.5
52d343f6ae
Time each delegation from its pick; the wheel favours faster workers
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 21:10:36 -07:00
swaits and Claude Sonnet 5.5
bc3856c293
Retros name a term of the objective; a no-gap names one better thing; the printout and trend are laid out by term
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 21:09:46 -07:00
swaits and Claude Opus 5.5
d8d1459a34
Fix the review's faults: pause, PATH, worker sessions, empty table, shell workers, out dates, failed-check count, pick matching, maker column, gate text, free sisi commands, done input
...
- retro --later sets `paused` (gate silent until an edit, delegation, done verdict or retro); blocks no longer reset
- install links ~/.local/bin/sisi to the launcher; denials name the full path when sisi is not on PATH; doctor reports it
- current_session's fallback skips worker sessions; core.md says done and pick are the lead's
- models: columns by header name, optional maker column, no hard-coded maker; record refuses unusable tables and inexact out dates; pick says why nothing is left; --review-of must name a table worker
- a shell worker is found in any command segment after nohup/exec/time/env/VAR=; general launchers never count
- picks match whole names only and a retro clears them; fails_since survives re-done and later passes
- free sisi commands are parsed with shlex; `sisi done --pass ²` is a usage error
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-23 20:46:46 -07:00
swaits and Claude Fable 5.2
e8ae1cab7d
The objective test follows the new last sentence
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 20:40:23 -07:00
swaits and Claude Fable 5.2
d3001a006a
The objective keeps the spec's risk-fitted evidence and its ban on judging by one number; rule 3 no longer exempts trivial work
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 20:39:48 -07:00
swaits and Claude Fable 5.2
1fca807b03
Brief-writing rules and newest-model rule move into the product rulebook
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 20:38:22 -07:00
swaits
9932dfc2de
Merge branch 't3/any-harness-rulebook-hooks' into spec-reconciliation
2026-11-23 20:32:59 -07:00
swaits and Claude Fable 5.2
26d0c7ca4e
Rules that apply to every sisi user move from the owner's learned list into the product rulebook: fix obvious defects at once, names stay fixed, size budget from a spec, mechanisms over instructions, release each piece when its checks pass, no chained workers, own checkout per long build, no show of humility
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 20:32:22 -07:00
swaits and Claude Sonnet 5.5
aecb666c86
sisi works for any agent in any harness: one hook-input normaliser, a table of tool classes, a table-driven installer for every tool installed, sisi update, XDG paths
...
The rulebook is delivered to every installed agent tool (a link, or a marked block in a real file, refreshed
whenever it is rebuilt). Hooks are wired for tools whose hook files take Claude Code's shape: Claude Code,
Codex and Qwen Code. The tools and tool classes are plain data in canon/harnesses.json and canon/tools.json.
sisi uninstall takes out exactly what install put in. sisi release records its source remote, and sisi update
fetches and releases the newest sisi from it.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 20:31:50 -07:00
swaits and Claude Sonnet 5.5
9173acf14b
The rulebook's line budget is 110: the worker paragraph and the done rules need the room (characters stay under 7,000)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 20:06:40 -07:00
swaits and Claude Sonnet 5.5
af066d10ba
One rulebook text for lead and worker: a worker is told what is its own and what is the lead's
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 20:06:14 -07:00
swaits and Claude Sonnet 5.5
2e94c44ebb
sisi done, sisi pick and measured retros: nothing starts before done is recorded, a delegation needs a pick from the wheel, every record carries its numbers, and the objective is the spec's
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 20:05:42 -07:00
swaits and Claude Fable 5.2
acde97798b
The learned-rules budget fits thirty one-line rules with their reasons: 4,000 characters
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 19:44:51 -07:00
swaits and Claude Fable 5.2
084bfc1d6d
sisi is two loops and nothing else: a forced retro whose improvement becomes a rule at once, with the rules organized by a worker; and delegation by a researched models table, with the lead stopped when it does the work itself. Everything else is removed (it is kept under the tag before-core-rewrite).
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 19:42:59 -07:00
swaits and Claude Fable 5.2
6b0baf2473
Conformance graded on the final tree by one model family and every met verdict audited by another: 62 met, 282 partial, 15 missing, 16 not applicable; the plan lists what closing the rest would take
...
ci / tests (macos-latest, python 3.10) (push) Canceled after 0s
ci / tests (macos-latest, python 3.11) (push) Canceled after 0s
ci / tests (macos-latest, python 3.13) (push) Canceled after 0s
ci / tests (macos-latest, python 3.9) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.10) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.11) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.13) (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
before-core-rewrite
2026-11-23 17:57:42 -07:00
swaits and Claude Fable 5.2
d13e1b16ca
A worker's failure is read only from the end of its output, and a run that exited cleanly after real work is never classified; the shell hook acts only on a real sisi delegate command; sisi delegate --timeout-min
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 17:44:33 -07:00
swaits and Claude Sonnet 5.5
7bcb6d0325
A worker's failure is read from the end of its output only: a run that did its work is no longer marked unavailable for what it read
...
workers.failure_text returns the last 1,500 characters of each stream and nothing for an exit-0 run that printed more than 4,000. Runs, model listings, the learned-tool smoke run, provider and learned-driver phrases, and the after-tool hooks all read that text; the shell hook acts only on a real sisi delegate command and the last note line. sisi delegate --timeout-min N (1 to 120) sets one run's time limit.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 17:43:32 -07:00
swaits and Claude Fable 5.2
cab81df9d7
Workers and tools installed after sisi are found and learned; plans, allowance reads, error signatures and the owner's vouch feed routing; one approval path for learning changes, learned tools and allowance reads
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 17:11:36 -07:00
swaits
d08d122f7f
Merge spec-reconciliation ( 9a6bc71: newest version within maker and class) into the discovery merge: routing keeps the vouch, the unproven rule and the free slot beside class order and inheritance; one host-tools file with pattern names; learned and host workers classify like any other. done / next: repeat runs, report
2026-11-23 17:09:30 -07:00
swaits
1c886c0f6c
recommend: an unreadable allowance never hides a worker. done / next: report
2026-11-23 17:00:55 -07:00
swaits and Claude Fable 5.2
9a6bc71296
Routing prefers the newest version of a model within its maker and class; maker, class and release date are recorded facts (sisi workers classify, sisi workers classes), never read from a name
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 16:57:04 -07:00
swaits
757442d898
help and changelog name the one approval path. done / next: repeat runs, final suite and lint, report
2026-11-23 16:53:03 -07:00
swaits and Claude Sonnet 5.5
f2a5d3d96d
Recency only among versions of the same model (never across makers or classes); --released accepts YYYY-MM; rule text says newest version of a given model. done / next: repeat runs, report
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 16:49:51 -07:00
swaits
ddcd5f06ef
Integration 6 and tests: one session-start line for new workers and tools, shorter notices; tests/test_merge.py (approval path, one host description, learned workers everywhere, vouch, session-start budget); the hook test covers drv-/probe- ids. done / next: unit suite, lint, plainly-merged failure check, real proofs
2026-11-23 16:48:20 -07:00
swaits and Claude Sonnet 5.5
d36550d00f
Classification by recorded facts only: no name parser or tier words, no guessed classes; sisi workers classify prints the question for a cheap worker and --record validates and stores its answer; identity (maker, class) and release date drive supersession, inheritance, tie-break; route and session start ask only when it matters. done / next: proof on a copy, repeat runs, report
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 16:45:08 -07:00