Commit Graph
322 Commits
Author SHA1 Message Date
swaitsandClaude Opus 5.5 1e1f26616e Project rules: two rules moved here from the user list (placement cleanup)
ci / test (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:31:39 -07:00
swaitsandClaude Opus 5.5 2a68ead05f revert no longer undoes moves between levels; it names the command back
A change that moves rules between levels (sisi rules move, or an organize
that moves lines across levels) prints the exact reverse command when it
succeeds, and revert after it changes nothing and prints the same command.
Revert keeps undoing learn, retro and single-level organize. The multi-file
undo record and its restore loop are gone.

Fixes the five findings of the fix review: a store with no .git starts its
history with the rules as they are (no undo goes past them); revert reads the
undo record even when its bytes did not change; a trailing slash in SISI_DATA
is still the store; organize takes the user lock and refuses a linked
drops.jsonl. Also: rules usage names canon; a non-UTF-8 file is named.
Product code 2427 -> 2426 lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:28:30 -07:00
swaitsandClaude Opus 5.5 064cd6f5ca rules move and organize never lose or duplicate a rule; one move is one undo
ci / test (push) Waiting to run
Validate source and target before any write; write project files then one store
commit carrying every project file's undo record, rolling all back on a failed
write. Queued core rules load as user rules until moved to canon. Organize
records user-only work outside git so the level audit runs there. Fixes the
ten findings of the strict-placement review, each with an acceptance test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:06:45 -07:00
swaits 058d6e3e56 Merge branch 'strict-placement'
ci / test (push) Waiting to run
# Conflicts:
#	tests/test_core.py
2026-12-01 15:46:08 -07:00
swaitsandClaude Opus 5.5 c07ce2176b Retro prompts and usage show --level, so the strict level never trips an agent that copies them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:45:56 -07:00
swaitsandClaude Opus 5.5 bbf21ef178 Strict rule placement: every rule names its level; core queue; rules move; level audit; unknown flags refused
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:45:21 -07:00
swaitsandClaude Opus 5.5 64b748b32e Project rule (owner): regular automatic placement audit
ci / test (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:34:31 -07:00
swaitsandClaude Opus 5.5 d4e11600cb Size budget back to the product's size (2288)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:31:33 -07:00
swaits 6632a82f77 Merge branch 'p5-wheel-bad' 2026-12-01 15:31:28 -07:00
swaitsandClaude Opus 5.5 33ca3d3c4d Scale wheel weight by recent good/bad quality factor
Multiply each worker's wheel weight by a normalized Laplace quality
factor over its last 10 good/bad verdicts, ((good+1)/(n+2))/((n+1)/(n+2))
= (good+1)/(n+1), ignoring out and extend. Workers with no bad runs keep
their full weight (factor 1.0); workers with all bad runs floor at 1/11
so they remain pickable and picks are never refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:24:09 -07:00
swaitsandClaude Opus 5.5 4e549dedde Shorter rulebook stamp; size budget 2290 for the approved proposal
ci / test (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:20:05 -07:00
swaitsandClaude Opus 5.5 2083bbbd78 Retro records name the rulebook they ran under
Each retro record carries rules: a 12-hex sha256 of the loaded core rulebook plus the project's rules, its char count and its rule-line count, so work before and after a rule change can be compared.

Known: tests/test_core.py test_the_product_stays_small now fails (2293 lines vs the 2283 budget; this adds 10 lines).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:16:52 -07:00
swaitsandClaude Opus 5.5 5e39baaa30 Project rules organized
ci / test (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 14:53:49 -07:00
swaitsandClaude Opus 5.5 d65ee6e547 README: hooks remind and note, they do not refuse (only the Stop hook blocks)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 14:53:49 -07:00
swaitsandClaude Fable 5.2 2055d4bb48 Project rule: in-process tests use the temp home; guard the person's rules file
ci / test (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 16:41:53 -07:00
swaitsandClaude Fable 5.2 6e73cca4a1 Merge: store files are written under the store lock with their commit; tests cannot write the person's rules file
ci / test (push) Canceled after 0s
Fixes the CI failure in run 46195092165 (short read while indexing rules/last-project.json).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 16:39:10 -07:00
swaitsandClaude Fable 5.2 c91d5ed8a5 Project rule: probe a worker reported as not confirmed before accepting the table
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 16:39:10 -07:00
swaitsandClaude Fable 5.2 62e494de8e Tests: no background git upkeep in test projects
The setup commit started a detached git gc that pruned the tripwires test's fake .git/worktrees folders later under load (7 of 16 runs failed with four loops at once; 0 of 40 after).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 16:39:10 -07:00
swaitsandClaude Fable 5.2 6292f5c45e Store commit fix: fit the size budget (put paths are committed without being named twice)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 16:09:59 -07:00
swaitsandClaude Fable 5.2 6477f22933 Tests: in-process helper uses the temp home; guard fails any test that writes the person's own rules file
The new organize test rebuilt the rulebook in-process with the real home folder and re-pointed ~/.claude/CLAUDE.md at a deleted temp store.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 15:55:47 -07:00
swaits 4c32469a58 Store commits: write the files they stage under the store lock; reads take no optional lock
A commit under the store lock read a store file as another process replaced it
outside that lock. git: "short read while indexing rules/last-project.json"
(CI run 46195092165), then "rules/user.md" from rules organize. The undo
snapshot and organize's two store files are now written inside store.commit,
under the lock. sisi's own unlocked `git status` also held index.lock against
those commits ("Unable to create index.lock: File exists"): git calls take no
optional lock. The first line of git's stderr stays in the message.
2026-11-28 15:53:39 -07:00
swaits 94178e9b04 Merge: note at delegation when a brief for something the person will look at states no look
ci / test (push) Canceled after 0s
2026-11-28 15:02:38 -07:00
swaits 7c44dc2b68 Screen-look check, tuning round: name screens, windows, PDFs, print and footers as screen work
Every term is now matched as a whole word (the boundaries used to bind only the first
and last term), so 'build' no longer counts as 'ui'. Eight terms are added for screens,
windows, UI, onboarding, PDFs, printable matter, footers and terminals; write, generate
and produce count as making. The four look groups are one compiled expression. Train
0.95 (38 of 40), held 0.96 (22 of 23), every real row right.
2026-11-28 15:01:01 -07:00
swaits 74afc795a2 Merge labelled briefs for the screen-look check 2026-11-28 14:49:32 -07:00
swaits 58ee83fa38 Note a delegation whose brief asks for something the person will look at but states no look
Rule 5 gains one sentence: the brief states the look, chosen with the person from previews.
The delegation hook adds a note (never a block) when the brief makes something, names two
or more screen terms and states no look (no Look:/Design system: line, fewer than three of
the four groups). Five lines are merged elsewhere in hooks.py; the labelled-set test skips
while tests/data/screen_briefs.jsonl is absent.
2026-11-28 14:48:15 -07:00
swaitsandClaude Sonnet 5.5 6f8cc60890 Add labelled screen-brief examples for the look-note check
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 14:37:06 -07:00
swaitsandClaude Sonnet 5.5 8e2654892e Review fixes for out-retry: ignore clocks far ahead, refuse out for an unknown worker, name only a usable return time
ci / test (push) Canceled after 0s
A verdict (or table) dated 6 h or more ahead of now took a worker out until that date, so a wrong clock could do it for good: such times now say nothing.
`sisi judge X out` for a name that is not one worker of the table was recorded and changed nothing: now refused.
The all-out message named the return of a worker that would still be excluded: it now names only workers pick could hand out.
The refusal for `out until` in a table told a research worker to judge the worker, which would record a made-up verdict: it now says to delete the note.
The wheel test raced its own clock (failed on c5fd556 too); it now uses one fixed time. Code size guard 2265 to 2267.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 17:58:48 -07:00
swaits c5fd556196 Track worker availability from judged out verdicts, not table notes
A worker judged `out` (with the provider's message) is off the wheel for 6 hours,
then tried again: at most 24 h / 6 h = 4 tries a day. A later good or bad verdict
puts it back at once. `sisi pick` says when a pick is a retry and names when the
first out worker of a class is back; `sisi models` lists who is out and until when.

Why: `out until DATE` notes were typed by an agent as a guess, a rebuild copied
them across, a good verdict never cleared them, and a date of today did not count,
so working workers stayed off the wheel for days. A new table may no longer carry
the note (the research brief says so, and recording one is refused); an old table
is still read: its note dates from the table's own time and spends itself in 6 hours.
2026-11-27 17:29:37 -07:00
swaitsandClaude Fable 5.2 a3f769a840 Project rule: sisi trials redirect HOME as well as the store
ci / test (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-26 22:57:34 -07:00
swaits b300a8fa09 Make organize drop reasons lenient, bounded, and non-blocking
ci / test (push) Canceled after 0s
2026-11-26 22:50:09 -07:00
swaitsandClaude Fable 5.2 cf1298a726 Merge feat/organize-evidence: problem evidence in the organize brief, recorded drop reasons
ci / test (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-26 22:35:20 -07:00
swaits 58f23df148 Fix retro problem race, 2MB read bound, wording, redaction check, and docs
ci / test (push) Canceled after 0s
2026-11-26 22:31:14 -07:00
swaits 4b9a59b23b Include problem evidence and drop reasons in rules organize 2026-11-26 22:29:06 -07:00
swaitsandClaude Fable 5.2 37b85251a6 Rule 8: keep 'name the one thing that would have scored better'
ci / test (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-26 22:18:19 -07:00
swaits 8362f69c16 Track recurring problems in retro and escalate repeats to faults 2026-11-26 22:17:39 -07:00
swaitsandClaude Fable 5.2 4d6b2caa8b Project rules: two learned rules from the 11-25 retros
ci / test (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-26 22:07:22 -07:00
sisi a5882e3cfd Review fixes: late faults per session, one-commit learn --means, FIFO pending, extend targets late job, said guards, flags header, README
ci / test (push) Canceled after 0s
2026-11-25 22:54:07 -07:00
swaitsandClaude Opus 5.5 a63134ee6e Size guard: room for the GIT_DIR fix
ci / test (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 22:37:18 -07:00
swaits 60e7dea44f Merge branch 'fix/tripwire-linked' into fix/parallel-incident 2026-11-25 22:37:10 -07:00
swaitsandClaude Opus 5.5 2485fbf352 Size guards: product 2090 lines, rulebook 136 lines / 10530 chars after the incident fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 22:30:02 -07:00
swaits 4810a03fde Merge branch 'fix/long-workers' into fix/parallel-incident
# Conflicts:
#	tests/test_core.py
2026-11-25 22:28:24 -07:00
swaits ed189976f8 Workers: 90m default, per-job --limit/--branch, extend, prompt status, 2x fault gate 2026-11-25 22:27:46 -07:00
swaitsandClaude Haiku 5.5 8f679dbba0 Git: a repository named by the caller's environment (GIT_DIR and friends) no longer decides which project a folder is
A git hook sets GIT_DIR, so sisi's git calls resolved every checkout to that outer repository; the tripwire test failed with inherited GIT_DIR.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-25 22:23:01 -07:00
t 9f442c4ddc start 2026-11-25 22:22:19 -07:00
t 0ed7df1155 start 2026-11-25 22:22:19 -07:00
t 6f5b1aa3ca start 2026-11-25 22:22:18 -07:00
t 73434306c8 start 2026-11-25 22:22:17 -07:00
t 6d77c91b5b start 2026-11-25 22:22:17 -07:00
t d7c0b40197 start 2026-11-25 22:22:17 -07:00
t 055810f20f start 2026-11-25 22:22:16 -07:00