Commit Graph
49 Commits
Author SHA1 Message Date
swaitsandClaude 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 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
swaitsandClaude 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
swaitsandClaude 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
swaitsandClaude 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
swaits 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 2026-11-23 16:42:28 -07:00
swaits 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 2026-11-23 16:35:47 -07:00
swaits 1cd7ab1446 A background delegation stays pending until its completion message; data entry for *delegate_task; tests. done: item 6 / next: full suite, repeats, timing 2026-11-23 16:33:24 -07:00
swaits 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 2026-11-23 16:31:01 -07:00
swaits 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 2026-11-23 16:29:31 -07:00
swaitsandClaude Sonnet 5.5 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)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 16:28:05 -07:00
swaits 858401d58e workerid: one decision of who is a worker, lazy transcript recognition, opening patterns as data. done: module / next: wire callers 2026-11-23 16:25:19 -07:00
swaitsandClaude Fable 5.2 2891c95887 The meter and the contract guard know this host's own delegation tool, and its messaging and control tools are not direct work
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 16:21:38 -07:00
swaitsandClaude Sonnet 5.5 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
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 16:06:03 -07:00
swaitsandClaude Sonnet 5.5 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)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 16:04:18 -07:00
swaitsandClaude Sonnet 5.5 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
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 15:41:17 -07:00
swaits 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 2026-11-23 15:28:52 -07:00
swaits 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 2026-11-23 15:20:53 -07:00
swaits 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 2026-11-23 15:10:44 -07:00
swaitsandClaude Fable 5.2 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
Proven by tools/live_contract_check.py against a real headless agent session.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 15:00:22 -07:00
swaitsandClaude Sonnet 5.5 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
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 14:29:32 -07:00
swaitsandClaude Sonnet 5.5 65c79d2ffb Docs: how the choice is made (capable enough by the best evidence, two scales apart, prices as published). done / next: repeat runs, report
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 14:21:58 -07:00
swaitsandClaude Sonnet 5.5 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)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 14:17:04 -07:00
swaitsandClaude Sonnet 5.5 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)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 14:12:46 -07:00
swaits 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 2026-11-23 13:47:44 -07:00
swaitsandClaude Sonnet 5.5 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)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 13:40:02 -07:00
swaitsandClaude Sonnet 5.5 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
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 13:34:36 -07:00
swaitsandClaude Sonnet 5.5 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
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 13:22:53 -07:00
swaitsandClaude Fable 5.2 bcc093f436 The new rulebook: nine rules in the order work happens, with an enforcement map and old-id handling
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 12:19:17 -07:00
swaitsandClaude Fable 5.2 216f39e8f7 The end-of-turn gate rebuilt on risk profiles; non-findings refused as retro findings
The gate enforces exactly what the profile requires, lists everything missing in
one message, closes a green unit when a finding is recorded, lets a paused unit
stop silently, never blocks a subagent, records a release as unverified, and says
at commit time when the checks have not passed on the tree. Size thresholds and
the floors file are gone. 'It went well' and similar are refused as findings.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 12:16:29 -07:00
swaits 6bd8dee872 Step 3: protected rules under the new ids; retired-id map and stale overlay entries; tests moved to new ids. done / next: abuse and fixture tests 2026-11-23 12:13:11 -07:00
swaits c96629bf50 Step 1: install the nine-rule rulebook; More pointer rides on the last body line (195 lines). done / next: enforcement map 2026-11-23 12:08:57 -07:00
swaits f39ca03233 gate rebuild 2: profile requirements module, new gate flow, floors removed 2026-11-23 12:00:59 -07:00
swaits 8620146d64 Step 3: record the two blind measurements in canon/risk.json, sisi risk says the floor is a minimum; done / next: report 2026-11-23 11:59:25 -07:00
swaits badfc10c13 Step 2: classifier fixes by class (game entity, store, numeric vocab, build config, interfaces, ETL data, money, credentials, authz, containers, packaging); all three label files pass / next: measured note 2026-11-23 11:58:59 -07:00
swaitsandClaude Fable 5.2 563cac426a Records: the durable work-unit record, five verification statuses with selection and reuse, telemetry with honest classes, the scorecard and sisi status, scratch pruning
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 11:50:29 -07:00
swaitsandClaude Sonnet 5.5 2e31b23713 Risk table: fix the classes of mistake behind the held-out disagreements
Code is never trivial; whole-word tokens; wider logic vocabulary; build config, ORM/DAO/repository data (view and ML models excluded), auto-run files and version markers.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 11:48:19 -07:00
swaits 199d49169c Finish the work-unit record: integrate risk floor, delegations, findings and case capture; scorecard cleanup; pausing; scratch pruning bounds 2026-11-23 11:41:46 -07:00
swaitsandClaude Sonnet 5.5 7572f27154 Risk table: kind before name, token matching, dependency floor, labelled set; short route --explain
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 11:40:00 -07:00
swaits 6c5d87e5db Merge t3/rebuild-learning-loop into spec-reconciliation
Learning loop rebuilt on sisi/learning.py as the single store; retro,
cycle, scope and documents cut down; improve/backlog/lessons digest
retired, approve added. Conflicts resolved keeping the risk-and-
relevance hook behaviour (silence by default, 2,000-char prompt cap,
structured recipe matcher) on the new learning functions, the union
of both sides' CLI changes, and our rewritten README.
2026-11-23 11:20:24 -07:00
swaitsandClaude Fable 5.2 8f36c5b527 Risk profiles and relevance: sisi risk, the design section retired, hooks print only what a session can act on, recipes matched by structured tags, a recipe for features
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 11:09:26 -07:00
swaits 50e337a4b9 Structured matcher, slimmer hooks, feature recipe 2026-11-23 11:05:54 -07:00
swaits e8d29e80e0 Generic orchestration: ledger, facts, routing, brief contract, playbook 2026-11-23 11:03:12 -07:00
swaits 553b397ad0 Learning loop rebuild: record store, retro, cycle, earned scope 2026-11-23 11:02:37 -07:00
swaits 9b5f34b615 Risk profiles and retire the design section 2026-11-23 10:59:33 -07:00
swaitsandClaude Fable 5.2 ec91e526a6 Choosing the approach is a checked step; three tiers for where knowledge lives; patterns
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
A new first rule and a required design section in the contract for sizeable
work, validated structurally and enforced by the end-of-turn check. Lessons
and statements are tiered core, user or project; core items are queued for
the product (sisi promote). The owner's statements take effect at once and
form the principles document. Every retro names the general pattern behind
its incident; learning rounds group lessons under patterns.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 09:48:47 -07:00
swaitsandClaude Fable 5.2 ba84772acf Universal lessons with project handover; whole-document edits; worker discovery and routing
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
Lessons and statements carry a required scope; project items leave the shared
store for a per-project handover pile filed into that project's own docs.
Every learning round ends with a whole-document edit with traced lessons.
sisi workers / route / delegate discover tools, choose the most affordable
adequate worker and record results in the personal store; the host tool's own
subagents come first, the command-line runner is the fallback.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 08:59:21 -07:00
swaitsandClaude Fable 5.2 7a097f94c7 sisi 0.2.0: the self-improvement loop, and every major harness
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
Lessons take effect when recorded, are offered to later agents starting the
same kind of work, are counted as listed and read, and are strengthened when
the mistake recurs: note, rule, enforced check. `sisi cycle` consolidates
them from normal use with no scheduler; `sisi improve` reports the effect.

Wiring for Codex, Gemini CLI, Copilot CLI, Qwen Code, Pi, Cursor, OpenCode
and rulebook loading for nine more tools, with a dry run, preflight checks
and a tested uninstall guarantee. Time to delivery is measured per turn.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 00:06:34 -07:00
swaitsandClaude Fable 5.2 2fc1fe9c2d sisi 0.1.0: a shared rulebook and verification tool for AI coding agents
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.11) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.13) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.9) (push) Canceled after 0s
Contracts with a ladder of checks, an end-of-turn gate, retrospectives and
shared lessons, time-to-delivery measurement, a library of 140 verification
techniques and 20 recipes, personal data kept outside the clone, and
releases with rollback. Standard library only.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 22:29:02 -07:00