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).
swaitsandClaude Fable 5.22026-11-23 19:42:59 -07:00
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
before-core-rewrite
swaitsandClaude Fable 5.22026-11-23 17:57:42 -07:00
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
swaitsandClaude Fable 5.22026-11-23 17:44:33 -07:00
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
swaitsandClaude Sonnet 5.52026-11-23 17:43:32 -07:00
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
swaitsandClaude Fable 5.22026-11-23 17:11:36 -07:00
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
swaits2026-11-23 17:09:30 -07:00
1c886c0f6c
recommend: an unreadable allowance never hides a worker. done / next: report
swaits2026-11-23 17:00:55 -07:00
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
swaitsandClaude Fable 5.22026-11-23 16:57:04 -07:00
757442d898
help and changelog name the one approval path. done / next: repeat runs, final suite and lint, report
swaits2026-11-23 16:53:03 -07:00
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
swaitsandClaude Sonnet 5.52026-11-23 16:49:51 -07:00
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
swaits2026-11-23 16:48:20 -07:00
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
swaitsandClaude Sonnet 5.52026-11-23 16:45:08 -07:00
c1eb646688
One decision for who is a worker, recognised from the transcript and by several openings; one list of a host's tools with patterns; a background delegation stays pending until its result arrives
swaitsandClaude Fable 5.22026-11-23 16:43:08 -07:00
b3a68018c0
Integration 3, 4, 5: a learned worker is a worker everywhere (meter picks, delegation guard names provider/model, fallback uses provider phrases and probe reset, retry line); rule 6 text; playbook and docs/workers.md merged; config test. done / next: 6 (session-start lines), the tests per point
swaits2026-11-23 16:42:28 -07:00
dd291d1909
Worker briefs written by hand: the common openings count as well as the template's own line
swaitsandClaude Fable 5.22026-11-23 16:37:20 -07:00
9dc829d046
Remove the unused exempt-name helper. done: suite green / next: report
swaits2026-11-23 16:36:17 -07:00
3c2aa9b395
Integration 1 and 2: one approval path for changes, learned drivers and allowance probes (typed word at the terminal, hook refuses any id, every decision recorded); one description of a host's tools (canon/orchestration-tools.json read by orchestration and discovery). done / next: 3 (a learned worker is a worker everywhere), tests per point
swaits2026-11-23 16:35:47 -07:00
66045a9ba1
A worker is recognised when its brief's opening line starts a line near the top of its first prompt, not only at character zero, and is marked in the session record so every path exempts it
swaitsandClaude Fable 5.22026-11-23 16:35:17 -07:00
1cd7ab1446
A background delegation stays pending until its completion message; data entry for *delegate_task; tests. done: item 6 / next: full suite, repeats, timing
swaits2026-11-23 16:33:24 -07:00
d6bdb799c5
Item 7: a maker's classes, most capable first (sisi workers classes), as a prior between its classes below any judged record or benchmark; configurable span per difficulty; the strongest-known fallback follows it; one line asks for the order. done / next: the grid on the copy (item 6), repeat runs
swaitsandClaude Sonnet 5.52026-11-23 16:32:58 -07:00
fd97cf88f4
One tool list with patterns and name words; worker exemption on every unitguard path; tests. done: items 1-5 / next: item 6 background delegation pending
swaits2026-11-23 16:31:01 -07:00
29101c63e7
Merge t3/discover-learn-new-workers into the reconciled line: conflicts resolved (session-start blocks, after-tool discovery, failure classifier and down-marking). done / next: unit suite on the merged tree, then the six integration points
swaits2026-11-23 16:29:31 -07:00
1899f1ae4a
One worker decision used by the contract guard, meter, delegation guard, fallback logic, gate; lazy transcript recognition; opening patterns as data. done: items 1-3 / next: tool list and name words
swaits2026-11-23 16:29:15 -07:00
7db6584388
Item 5: recency breaks ties (recorded release date, else version inside a class); the rule in rule 6, the playbook and docs/workers.md; session start asks for release dates. done / next: class order and sisi workers classes (item 7)
swaitsandClaude Sonnet 5.52026-11-23 16:28:05 -07:00
858401d58e
workerid: one decision of who is a worker, lazy transcript recognition, opening patterns as data. done: module / next: wire callers
swaits2026-11-23 16:25:19 -07:00
64a45cfccd
Item 4: a new version starts from its predecessor's judged record (walks back one version at a time, never a bad record, never over its own thick record, routable through its predecessor, named in the explanation). done / next: recency tie-break and rule text (item 5)
swaitsandClaude Sonnet 5.52026-11-23 16:24:12 -07:00
2891c95887
The meter and the contract guard know this host's own delegation tool, and its messaging and control tools are not direct work
swaitsandClaude Fable 5.22026-11-23 16:21:38 -07:00
d4ef00c4c0
Item 3: the newest usable version of a maker's class always wins; an older one never competes while it is usable (no evidence or price exception); route.supersede_guessed; one line asks the lead agent to record a class that cannot be read. done / next: inherited records (item 4)
swaitsandClaude Sonnet 5.52026-11-23 16:21:23 -07:00
7ff5a33462
Orchestration enforced by the tool-use hooks: direct-work meter, delegation guard, automatic silent fallback, recorded delegations, repeated-failure refusal, all-tool hook registration; integrated with the contract guard
swaitsandClaude Fable 5.22026-11-23 16:13:55 -07:00
3dc9b91814
helptext: fix the workers entry (quoting). done / next: owner setup on a copy of the store
swaitsandClaude Sonnet 5.52026-11-23 16:08:43 -07:00
a03102aba9
Items 7-9: per-provider plans, exact provider scoping of constraints and marks, the owner's vouch (relayed counts to 2), allowance probes (key fetched at probe time, never stored, no redirects, owner approval) and provider failure phrases. done / next: owner setup on a copy of the store, real runs, report
swaitsandClaude Sonnet 5.52026-11-23 16:06:03 -07:00
8141d2e281
Item 2: class, family and release date recorded by the lead agent (sisi workers fact --class/--family/--released) beat the parser; sisi workers shows maker, class and recency of each routable worker, marks guesses. done / next: supersession and the one asking line (item 3)
swaitsandClaude Sonnet 5.52026-11-23 16:05:53 -07:00
ce6a5b89b9
Item 1: a model id read into maker, line, class and version (tier words are data); unknown when it cannot be read with confidence. done / next: facts (item 2)
swaitsandClaude Sonnet 5.52026-11-23 16:04:18 -07:00
3a12dccf16
Item 6: agy learned for real (smoke passed), host listing proof; model list ignores progress lines, disabled providers are not research targets, delegate names the host mechanism, config read once per hook. done / next: report
swaitsandClaude Sonnet 5.52026-11-23 15:50:03 -07:00
09376762b0
Items 1-5: workers that appear after install become routable: host listing and delegation learned in the after-tool hook, new PATH tools named once, learned drivers as data with a smoke task and owner approval for approvals-off flags, unproven workers (routine work only, free ones explored one in three), facts line names them. done / next: item 6 live proof, timing, repeat runs
swaitsandClaude Sonnet 5.52026-11-23 15:41:17 -07:00
f428243ba3
Live finding: a line the tokenizer cannot split that plainly writes is ordinary source; scenario 1 reads file by file. done / next: rerun live 1 and 3
swaits2026-11-23 15:33:22 -07:00
7dcd9eb477
Live finding: a shell write named by a variable is ordinary source; shell keywords before a command; scenario 1 reads only (building is scenario 3's). done: second live round / next: rerun, scenario 2 x6, stress, timing
swaits2026-11-23 15:31:41 -07:00
5cbd558a2d
Live finding: a refused edit shown by the transcript is not a change (the tree decides), sisi commands may pipe into read-only filters, a cache folder is as ignorable as its files; docs. done: live scenario 1 deadlock / next: rerun live checks, stress, timing
swaits2026-11-23 15:28:52 -07:00
9f1f9411fd
Learning cycle hardened: nothing from a cycle file runs at check, replay in an exported tree with the learning's own commits, typed approval and a hook that refuses agent-issued approval, backlog and pending statuses so a cycle is not due for ever, rule additions, a brief a small model can act on
swaitsandClaude Fable 5.22026-11-23 15:27:03 -07:00
410391a189
Live check: scenario 3 (no open unit, witness hook, the order the agent experienced), ledger kind in scenario 1, ledger kinds in the fixtures. done: live script / next: live runs, 30x test runs, timing
swaits2026-11-23 15:25:05 -07:00
b76e340b02
Fixes A-D: deep freshness ignores .sisi/, send-back names why the profile applies, backup copy ignores vanished files, no recipe on a machine's message; tests/test_integration.py. done: fixes / next: full suite, lint, 30x runs, live scenarios
swaits2026-11-23 15:20:53 -07:00
cda6133853
Integration points 1-6: one refusal at a time, routing decision in the meter, ledger kinds, retry-of on retry_choice, router lines at difficulty 1 and 2, rule statements name their code. done: points 1-6 / next: fixes A-D, tests
swaits2026-11-23 15:20:53 -07:00
c5df3068ce
Merge t3/enforce-orchestration-meter into spec-reconciliation: one before-tool path (worker exempt, contract guard, delegation guard, meter), routing decision read from the meter, retry-of on routing.retry_choice, ledger kind names. done: merge / next: tests on the merged tree, record parts
swaits2026-11-23 15:10:44 -07:00
a245d32065
sisi update's backup survives git housekeeping removing a lock file while the data folder is copied (found by the repeat runs). done / next: repeat runs, report
swaitsandClaude Sonnet 5.52026-11-23 15:08:31 -07:00
628fe4a1fa
No building without a contract for this work: the first edit and build delegations are refused until a valid, session-bound unit exists; pause cannot skip; park and continue; nobody is their own independent evidence
swaitsandClaude Fable 5.22026-11-23 15:00:22 -07:00
fb045b0af3
Guard imports its heavy modules on first use (about 2 ms to load). done / next: final live run and report
swaitsandClaude Sonnet 5.52026-11-23 14:55:47 -07:00
4180df8544
Overlay rule changes cannot stack on a waiting one; an empty brief is one line; a brief never exceeds its limit. done / next: repeat runs, report
swaitsandClaude Sonnet 5.52026-11-23 14:55:28 -07:00
8e12ab81aa
harnesses note on the guard
swaits2026-11-23 14:51:45 -07:00
a11491c985
The approve hook refuses decisions, not prose that mentions the command. done / next: repeat runs and the final rehearsal
swaitsandClaude Sonnet 5.52026-11-23 14:49:50 -07:00
08d6921fcb
Docs and help for the hardened cycle; library entries linted at check; due counts what arrived since the last cycle; brief trimmed to fit 4+ learnings. done / next: fail-before proof, repeat runs, rehearsal
swaitsandClaude Sonnet 5.52026-11-23 14:42:27 -07:00
2ed9c69b3a
Item 7: tools/live_contract_check.py (real headless agent, hooks from this clone, temporary sisi data; ordinary and careless scenarios, replay mode); the message says parking loses nothing; unit show finds the open unit by id. done / next: repeat runs, timing, report
swaitsandClaude Sonnet 5.52026-11-23 14:36:45 -07:00
14ac958824
Trivial output handling around a sisi command is not legwork; the fallback names the action; live check attributes real-data changes by marker. done: live fixes / next: final runs
swaits2026-11-23 14:35:46 -07:00
33427c0394
Items 6, 7, 8, 10: rule-add/rule-replace with shortens, every problem reported at once, merge and specific reject, a self-contained brief of at most 6000 characters and 8 learnings, apply summary in 15 lines, status --learning, lessons ID. done / next: docs, repeat runs, rehearsal
swaitsandClaude Sonnet 5.52026-11-23 14:34:16 -07:00
c547024e35
Routing: capable enough for the difficulty, proof before benchmark, nearest evidence, standing and accepted rate kept apart, input and output prices
swaitsandClaude Fable 5.22026-11-23 14:31:30 -07:00
d21fb60f84
Docs and help for continue, park, resume and the guard. done / next: item 7 (tools/live_contract_check.py)
swaitsandClaude Sonnet 5.52026-11-23 14:31:04 -07:00
56357f6c50
Item 6: nobody is their own independent evidence (self-reference list as data, own model, review by another worker only); refusals stored in the unit record and counted by status; rules 2, 3 and 4 list the mechanisms. done / next: docs, helptext, lint, then item 7 (live check)
swaitsandClaude Sonnet 5.52026-11-23 14:30:44 -07:00
c8358ded7d
Above difficulty 1 measured proof outranks a benchmark: only workers capable by a judged record (the kind's own, else all kinds) compete when any exists; standing decides only when nobody has a record; exploration stays at difficulty 1. done / next: report
swaitsandClaude Sonnet 5.52026-11-23 14:29:32 -07:00
cf2587df21
Items 4 and 5: pause is refused without a valid session-bound unit and never silences another session's gate; the gate judges only the unit the session holds (send-back is continue/park/init). Existing gate tests bind their session. done / next: item 6 (independent evidence, rules, refusal counts)
swaitsandClaude Sonnet 5.52026-11-23 14:27:18 -07:00
41d4f38dbb
Items 4, 5, 9 (and the planner for 6, 7): backlog and pending-approval statuses, due counts only what a cycle can act on, cycle_notice switch deleted, duplicates refused, origin project is the main repository, repair on update, contract-requirement when must be evaluable. done / next: tests for 6, 7, 10; brief (8)
swaitsandClaude Sonnet 5.52026-11-23 14:23:42 -07:00
65c79d2ffb
Docs: how the choice is made (capable enough by the best evidence, two scales apart, prices as published). done / next: repeat runs, report
swaitsandClaude Sonnet 5.52026-11-23 14:21:58 -07:00
2262f402c6
Item 5: retry ladder as a pure function (same worker for the first retry, then the cheapest capable worker with strictly better evidence, else the strongest known); not wired to a command. done / next: grid on a copy of the real data, repeat runs, docs
swaitsandClaude Sonnet 5.52026-11-23 14:19:09 -07:00
c831f9cce5
Item 4: --explain says what decided: one evidence line (a to d, with the numbers), the cheaper workers that were not capable enough grouped with counts, exploration or fallback named; plain output unchanged. done / next: item 5, retry ladder function
swaitsandClaude Sonnet 5.52026-11-23 14:18:28 -07:00
873f9051c7
Item 3: prices as published: --price-in/--price-out beside --price, ranking and cost estimates use a configurable blend (default 3 input : 1 output), sisi workers shows both. done / next: item 4, the explanation says what decided
swaitsandClaude Sonnet 5.52026-11-23 14:17:22 -07:00
ed55af910a
Item 3: delegating a build needs a valid unit (kind from the routing record, else a brief word list kept as data). done / next: item 4 (pause)
swaitsandClaude Sonnet 5.52026-11-23 14:17:04 -07:00
4a04997869
Item 2: benchmark standing and accepted rate are separate things: stored score facts become standing (sources kept), shown under their own names, session line compares standing only. done / next: item 3, prices as published
swaitsandClaude Sonnet 5.52026-11-23 14:16:17 -07:00
db81060279
Item 2: the before-tool hook refuses the first building step without a valid, session-bound unit (floor of target + paths already changed; trivial, .sisi/ and outside-project never refused; slips caught by the snapshot). done / next: item 3 (delegating a build)
swaitsandClaude Sonnet 5.52026-11-23 14:16:15 -07:00
424993fa9e
Hooks stay light: per-tool meter path imports no worker or git code; tools/measure_hooks.py. done: timing
swaits2026-11-23 14:14:52 -07:00
14ac903a65
Item 1: the cheapest worker that is capable enough for the kind and difficulty, from the best evidence about each (judged record, nearest judged evidence, benchmark standing against other standings only, unknown for difficulty 1). done / next: item 2, two scales kept apart
swaitsandClaude Sonnet 5.52026-11-23 14:13:09 -07:00
275f0b43b2
Item 1: a unit is bound to the session that works on it; sisi unit continue | park | resume; stale_hours; contract init names the three ways on. done / next: item 2 (the before-tool refusal)
swaitsandClaude Sonnet 5.52026-11-23 14:12:46 -07:00
11554b759a
Item 3: an agent cannot approve its own proposals: the before-tool hook refuses sisi approve in any wrapping; a decision needs the typed word read from the controlling terminal; refused attempts are recorded with the session. done / next: items 4 and 9 (backlog and pending-approval statuses, main-repo origin)
swaitsandClaude Sonnet 5.52026-11-23 14:09:11 -07:00
0377407a78
Docs: orchestration enforcement, per-host meter table, live check. done: docs / next: timing, repeat runs, failing-before
swaits2026-11-23 14:05:30 -07:00
8a884ced7d
Gate sends back an unfinished fallback (twice at most) and a final message that mentions the internal failure; live scenario 2 passes. done: item 9 live assertion / next: docs, timing, repeat runs
swaits2026-11-23 14:02:00 -07:00
4418136d01
Items 1 and 2: a cycle file's command runs only in apply, in an exported copy with no history and a reduced environment; replay commits come from the learning's own record; vacuous commands refused. done / next: item 3 (approval cannot be self-granted)
swaitsandClaude Sonnet 5.52026-11-23 14:00:22 -07:00
e616fc968b
Live check scenarios (route then delegate; automatic fallback with no question and a silent report); fix hook event name on tool failure; sisi delegate says fall back now. done: live scenarios / next: docs, timing, repeat runs
swaits2026-11-23 13:54:28 -07:00
2ecbfea7e9
Hotfix: the user's config can silence the request to run a learning cycle (learning.cycle_notice)
swaits2026-11-23 13:49:53 -07:00
80a86b344b
Router consulted before delegation and the guess recorded, overrides counted, retry-of stronger after a second rejection, new workers named once, superseded runs never asked for. done: item 10 / next: live check scenarios, docs, timing, repeat runs
swaits2026-11-23 13:50:25 -07:00
64f87e19b6
Worker availability is internal: the fallback and dialog refusal say do not ask and do not report; rule 6/7 and orchestration.md reworded; route decision, retry-of, judge hint. done: item 9 correction, 10a/10b code / next: 10d, tests for 10, live scenario 2
swaits2026-11-23 13:47:44 -07:00
6aedaafd33
Automatic fallback when a worker is unavailable: detected in delegation results and host notices, recorded with the parsed reset time, fallback handed over, the question dialog refused once; rule 6 and orchestration.md say so. done: item 9 / next: item 10 (route record, retry-of, superseded, new workers)
swaitsandClaude Sonnet 5.52026-11-23 13:40:02 -07:00
9e8f80bbb7
Delegation records, repeat-failure stop, orchestration in the unit record and rule 6, all-tool hooks with migration and per-host meter notes. done: items 4-7 code and tests / next: item 9 fallback, docs, timing, repeat runs
swaitsandClaude Sonnet 5.52026-11-23 13:34:36 -07:00
80af7b0d0e
Async delegations stay pending until the host's notice; own model from the transcript; live check script (tools/live_orchestration_check.py) passes against a real headless session. done: item 8 script, item 4 code / next: tests for 4-7, install, docs
swaitsandClaude Sonnet 5.52026-11-23 13:31:25 -07:00
e5ddda9293
Orchestration meter on every tool: direct-call and character budget refused with the router's picks, reasons that extend it, workers never metered, delegation guard (no model / own model refused, brief advice). done: items 1-3 / next: 4 delegation records, 5 repeat failure
swaitsandClaude Sonnet 5.52026-11-23 13:22:53 -07:00
b10787659f
Follow-ups merged and the tree made consistent: declared risk profile required, routing adjustments read, failure evidence stored, grouped help, enforcement map matches the gate, quieter route output, availability marks with a time
swaitsandClaude Fable 5.22026-11-23 13:11:00 -07:00
f510cc08de
Open units whose contract predates the unit record get an age from the contract file's mtime, labelled inferred in status and record. done / next: repeat runs and report
swaits2026-11-23 13:06:27 -07:00
52c15222e1
Documents rewritten around what now exists: design.md describes the built system, target.md retired
swaitsandClaude Fable 5.22026-11-23 13:05:50 -07:00
8100295f98
workers down --until takes a date or an ISO date-time on every Python version (Z, offsets); tested at one minute either side. done / next: fix 5 (inferred age)
swaits2026-11-23 13:05:09 -07:00
e34dabfdb0
Remove unused documents.traces_for_lesson, overlay.wrap_rule_body and HOUSE_WIDTH; a test fails on any new dead function. done / next: fix 4 (down --until time)
swaits2026-11-23 13:04:39 -07:00
47c441e8d5
Remove retired command names from learning seams. done / next: final verify
swaits2026-11-23 13:04:35 -07:00
bbe32e0dc3
Index and records corrected. done / next: learning
swaits2026-11-23 13:03:42 -07:00
5029988cdc
Rebuilt design from target, corrected against code. done / next: docs index
swaits2026-11-23 13:03:32 -07:00
b114b29221
Route prints notes for passed-over workers only under --explain; plain output at most 6 lines. done / next: fix 3 (unused code)
swaits2026-11-23 13:02:33 -07:00
05ac5342d0
Enforcement map matches the merged gate: each rule's statement names where the mechanism lives now; tested. done / next: fix 2 (route output)
swaits2026-11-23 13:02:12 -07:00