- Keep [owner ...] lines verbatim during organize --record (allow reordering, refuse missing/edited lines naming the first one).
- Exclude [owner ...] lines from rules_lines/rules_chars budgets (due, organize --record, and display _fit trimming so owner rules are never trimmed out in favour of retro rules).
- Update organize prompt text to instruct workers to copy [owner ...] lines verbatim.
- Claim organize notices per scope for 30 minutes under a non-blocking lock (locks/organize.json) so session start never waits and only one organizer runs at a time; clear on record.
- Snapshot live user+project lists in organize_brief and refuse organize --record if rules changed in between.
Size: +25 lines in sisi/rules.py (within 30-line budget), raising the sisi/*.py ceiling in test_the_product_stays_small from 1,923 to 1,948 for owner-rule protection, 30m organize claim, and stale-record guard.
- Redact secrets and strip lone surrogates in fault text and notes via shared store.clean.
- Make fault reads never raise on non-UTF-8 (0xFF), deep JSON (60,000 '['), or unreadable dirs (mode 000): command prints one line and returns 1; hooks warn with path, keep printing project rules, and return 0.
- Cap request-hook fault output to 10 oldest + 'and N more: sisi fault'; refuse past 50 open faults; bound notes to 300 chars; require positive <=9-digit id and >=4-word notes.
- Make concurrency test deterministic (fails 6/6 with no-op lock) and fix worker tick-before-prompt test order.
- Tighten rule 7, rule 9, and README wording (no over-promising on gate; clear only once no running job uses it).
Size: sisi/*.py stays within the 1,923-line ceiling (1,923 lines, unchanged).
canon/core.md grew from 8,374 chars (before commit f011df5) to 9,872 chars (+1,498 chars across this piece of work; +98 chars in this commit, raising the rulebook char ceiling in test_the_product_stays_small from 9,774 to 9,872).
- 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>
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>
- 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>
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>