Commit Graph
299 Commits
Author SHA1 Message Date
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
t acdfa210cb start 2026-11-25 22:22:16 -07:00
t 6b0602ad17 start 2026-11-25 22:22:13 -07:00
t 54d122961f start 2026-11-25 22:20:36 -07:00
t 54312e6154 start 2026-11-25 22:20:31 -07:00
swaits 5b28ba1a8c Merge branch 'fix/owner-tag' into fix/parallel-incident 2026-11-25 22:17:53 -07:00
swaitsandClaude Opus 5.5 72262a83d7 Rulebook: drop the duplicate parallel-build sentence in rule 4, reflow
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 22:17:53 -07:00
sisi 848560a975 learn: owner tag only for words found in the person's recent messages; agent-attributed tag otherwise; --means line; organize flags concurrency smells and doubtful owner lines 2026-11-25 22:16:18 -07:00
swaitsandClaude Opus 5.5 bf6f67f0ff Rulebook: own checkout and build folder per worker, measured concurrency, resource fixes keep parallelism, time limit in every brief
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 22:01:09 -07:00
swaits f849609afb Merge branch 't3/fix-watch-limit-sisi-commands'
ci / test (push) Canceled after 0s
2026-11-25 17:23:42 -07:00
swaits 23332bd0b4 Hooks: convert PreToolUse blocks to help, allow sisi pipelines, remind LATE once
- Allow sisi-only Bash pipelines (joined with ; or && or piped to grep/tail/head) free on the meter.
- Turn all four PreToolUse refusals in watch (NOSHELL, NODONE, NOPICK/UNKNOWN, METER) into exit-0 PreToolUse additionalContext reminders, recording unpicked/unknown delegations in starts and workers_since so sisi judge still times them.
- Make Stop gate LATE remind once per worker start (tracked in session reminded) so healthy workers running past worker_minutes do not block subsequent turn ends, and ensure every Stop gate message names its exact one-command way through.
- Net 0 lines added in sisi/*.py (1,997 total).
2026-11-25 17:23:10 -07:00
swaitsandClaude Opus 5.5 bfc59a0ed9 Models: baseline ranking of 43 current models from every major maker, checked against vals.ai and maker pricing; no harness, reseller or plan details
ci / test (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 17:11:21 -07:00
swaits 8f7a99bb60 Models: ship shared baseline table in canon/models.md and split research
ci / test (push) Canceled after 0s
2026-11-25 16:51:07 -07:00
swaits 8fe62f6ad9 Deduplicate session environment exports
ci / test (push) Canceled after 0s
Append each session export once under the file lock, refusing links and unsafe files. Keep the product at 1948 lines.
2026-11-25 11:46:13 -07:00
swaits 712cc75c12 Tests: pick routine worker deterministically in judged delegation test
ci / test (push) Canceled after 0s
2026-11-25 11:37:18 -07:00
swaits b2c6af089f Snapshot: compare filtered tree via ls-files instead of HEAD commit id
ci / test (push) Canceled after 0s
Avoids false retro demands when only .sisi/ or the sisi AGENTS.md note
is written and committed after a retro, while still catching any other
edited or committed file. Net 0 lines added in sisi/*.py (1,948 total).
2026-11-25 11:32:32 -07:00
swaitsandClaude Fable 5.2 4226b8029c sisi's project rules: a new piece goes to a second worker, one full test run per commit
ci / test (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-25 11:25:27 -07:00
swaits 17bd7f82a4 Rules: protect [owner] lines during organize, claim notices for 30m, refuse stale records
ci / test (push) Canceled after 0s
- 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.
2026-11-25 11:19:45 -07:00
swaits 5f488476e8 Faults: review fixes (redaction, crash-proof reads, bounds, validation, wording)
ci / test (push) Canceled after 0s
- 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).
2026-11-25 11:08:45 -07:00
swaits 9a2fd3fa6e Tests: give hang-detection and subprocess timeouts room under load
ci / test (push) Canceled after 0s
2026-11-25 10:54:38 -07:00
swaits 751c4608ec Rulebook: require measured outcomes in rule 3 and capability-first improvements in rule 8
ci / test (push) Canceled after 0s
2026-11-25 10:48:24 -07:00
swaits cf27d4a767 Faults: add automatic disk-free, disk-drop, and checkouts tripwires
ci / test (push) Canceled after 0s
2026-11-25 10:34:51 -07:00
swaits 4ab516c803 Faults: add per-project open-faults list, hooks, retro listing, and rulebook text
ci / test (push) Canceled after 0s
2026-11-25 10:09:50 -07:00
swaits f011df5a46 Rulebook: add rule 9 (Fix what you see) and clarify own cleanup
ci / test (push) Canceled after 0s
2026-11-25 09:57:39 -07:00