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
swaits and Claude 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
swaits and Claude Sonnet 5.5
fb045b0af3
Guard imports its heavy modules on first use (about 2 ms to load). done / next: final live run and report
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 14:55:47 -07:00
swaits
8e12ab81aa
harnesses note on the guard
2026-11-23 14:51:45 -07:00
swaits
ca8337a437
help line fits
2026-11-23 14:38:22 -07:00
swaits and Claude Sonnet 5.5
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
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 14:36:45 -07:00
swaits
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
2026-11-23 14:35:46 -07:00
swaits and Claude Fable 5.2
c547024e35
Routing: capable enough for the difficulty, proof before benchmark, nearest evidence, standing and accepted rate kept apart, input and output prices
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 14:31:30 -07:00
swaits and Claude Sonnet 5.5
d21fb60f84
Docs and help for continue, park, resume and the guard. done / next: item 7 (tools/live_contract_check.py)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 14:31:04 -07:00
swaits and Claude Sonnet 5.5
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)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 14:30:44 -07:00
swaits and Claude 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
swaits and Claude Sonnet 5.5
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)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 14:27:18 -07:00
swaits and Claude 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
swaits and Claude Sonnet 5.5
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
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 14:19:09 -07:00
swaits and Claude Sonnet 5.5
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
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 14:18:28 -07:00
swaits and Claude Sonnet 5.5
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
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 14:17:22 -07:00
swaits and Claude 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
swaits and Claude Sonnet 5.5
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
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 14:16:17 -07:00
swaits and Claude Sonnet 5.5
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)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 14:16:15 -07:00
swaits
424993fa9e
Hooks stay light: per-tool meter path imports no worker or git code; tools/measure_hooks.py. done: timing
2026-11-23 14:14:52 -07:00
swaits and Claude Sonnet 5.5
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
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 14:13:09 -07:00
swaits and Claude 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
0377407a78
Docs: orchestration enforcement, per-host meter table, live check. done: docs / next: timing, repeat runs, failing-before
2026-11-23 14:05:30 -07:00
swaits
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
2026-11-23 14:02:00 -07:00
swaits
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
2026-11-23 13:54:28 -07:00
swaits
2ecbfea7e9
Hotfix: the user's config can silence the request to run a learning cycle (learning.cycle_notice)
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
(cherry picked from commit c5c39116018a02316393c8b78111fd4f02628a22)
2026-11-23 13:50:58 -07:00
swaits
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
2026-11-23 13:50:25 -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
swaits and Claude 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
swaits and Claude 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
swaits and Claude Sonnet 5.5
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
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 13:31:25 -07:00
swaits and Claude 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
swaits and Claude Fable 5.2
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
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 13:11:00 -07:00
swaits
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
2026-11-23 13:06:27 -07:00
swaits and Claude Fable 5.2
52c15222e1
Documents rewritten around what now exists: design.md describes the built system, target.md retired
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 13:05:50 -07:00
swaits
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)
2026-11-23 13:05:09 -07:00
swaits
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)
2026-11-23 13:04:39 -07:00
swaits
47c441e8d5
Remove retired command names from learning seams. done / next: final verify
2026-11-23 13:04:35 -07:00
swaits
a69abfc30d
Changelog rebuild entry completed. done / next: verify
2026-11-23 13:03:59 -07:00
swaits
468b9b1a49
Plan stages marked from history. done / next: changelog
2026-11-23 13:03:59 -07:00
swaits
7aed7eac1a
Security guarantees stated plainly. done / next: plan
2026-11-23 13:03:59 -07:00
swaits
e9224f57ca
Developing, harnesses, verifier format corrected. done / next: top-level docs
2026-11-23 13:03:54 -07:00
swaits
69d0d96723
Personal data store corrected. done / next: developing
2026-11-23 13:03:54 -07:00
swaits
a8b4549d8f
Evaluation corrected. done / next: harness docs
2026-11-23 13:03:42 -07:00
swaits
bf5dbcadef
Workers corrected. done / next: evaluation
2026-11-23 13:03:42 -07:00
swaits
389db7fd11
Learning corrected. done / next: workers
2026-11-23 13:03:42 -07:00
swaits
bbe32e0dc3
Index and records corrected. done / next: learning
2026-11-23 13:03:42 -07:00
swaits
5029988cdc
Rebuilt design from target, corrected against code. done / next: docs index
2026-11-23 13:03:32 -07:00
swaits
b114b29221
Route prints notes for passed-over workers only under --explain; plain output at most 6 lines. done / next: fix 3 (unused code)
2026-11-23 13:02:33 -07:00
swaits
05ac5342d0
Enforcement map matches the merged gate: each rule's statement names where the mechanism lives now; tested. done / next: fix 2 (route output)
2026-11-23 13:02:12 -07:00
swaits
6cff3a0667
Merge t3/close-rebuild-seam-gaps: grouped help carries workers note/only; routing adjustments, notes, limits, host-native and with_commit all kept. done / next: fix 1 (rule map)
2026-11-23 13:01:27 -07:00
swaits and Claude Fable 5.2
2e85be9a7a
Contract for this work in the new schema: risk profile, requirement list, approach, checks with what each covers
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 12:35:31 -07:00
swaits and Claude Fable 5.2
424de8ccf4
Before cutover: host-native workers are routable, session start never argues against delegating, worker notes and per-provider limits, update migrates on an installed copy, worker files committed in the user store
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 12:33:14 -07:00
swaits
daf8dd9f16
Docs for notes, limits and host-native workers. done / next: report
2026-11-23 12:32:30 -07:00
swaits
89f606001a
Item 8: recipes and a repeat-under-parallel-load verifier entry. done 8 / next none
2026-11-23 12:31:57 -07:00
swaits
d63b0f9c49
Item 7: delegation brief template and check carry the rebuild's lessons (six advice flags). done 7 / next 8 (recipes and verifier entry)
2026-11-23 12:30:53 -07:00
swaits
7d7f10428a
Item 8: import warning, bounded update backups, migrated open lessons keep a cycle due. done / next: repeat runs and outputs
2026-11-23 12:30:12 -07:00
swaits
1b57d00e60
Item 6: sisi learn prints the stored text, id, scope and the withdraw command. done 6 / next 7 (brief template)
2026-11-23 12:29:33 -07:00
swaits
4061733430
Item 5: sisi help grouped under four headings in 47 lines; long text per command. done 5 / next 6 (learn receipt)
2026-11-23 12:29:17 -07:00
swaits
9632c6addb
Item 6: plain sisi update on an installed copy runs the post step. done / next: item 8
2026-11-23 12:28:51 -07:00
swaits
32a4fa3c41
Item 7: test that worker data is committed and unrelated files are left alone. done / next: item 6 update
2026-11-23 12:28:22 -07:00
swaits
405a4cac6f
Items 4 and 5: worker notes and provider limits (the commit-after-write helper rides along for item 7). done / next: item 7 test
2026-11-23 12:28:18 -07:00
swaits
6787ef0ae9
Item 4: remove guarded seams and dead code between the merged pieces. done 4 / next 5 (grouped help)
2026-11-23 12:26:42 -07:00
swaits
3307fadee3
Item 3: route recommends a host worker while providers are down, and says what is down and what to do. done / next: item 4 worker notes
2026-11-23 12:26:10 -07:00
swaits
1208df9b1b
Item 2: session start never argues against delegating on missing data. done / next: item 3 route with providers down
2026-11-23 12:25:25 -07:00
swaits
e875ac9a7f
Item 1: host-native workers (bare names) are routable, with a subagent mechanism line. done / next: item 2 session start
2026-11-23 12:24:45 -07:00
swaits
ed018a364c
Item 3: failed checks keep their evidence lines (verify, gate, unit record). done 3 / next 4 (dead code and seams)
2026-11-23 12:22:51 -07:00
swaits
23a7cc7aec
Item 2: sisi route and delegation honour learned routing adjustments. done 2 / next 3 (failed-check evidence)
2026-11-23 12:21:15 -07:00
swaits
c8aef3dc23
Item 1: contract must state risk.profile; init writes the floor; gate lists it. done 1 / next 2 (routing adjustments reader)
2026-11-23 12:20:40 -07:00
swaits and Claude 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
swaits
2841774ab0
Step 5: references to old rule ids and numbers fixed; sisi time mentions gone. done / next: report
2026-11-23 12:16:49 -07:00
swaits and Claude 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
ef6edf0e9f
Keep the generated More line as before (the nine rules fit: 137 lines). done / next: references
2026-11-23 12:16:20 -07:00
swaits
c4047bd3fb
Step 4: tests for the retired-id map, stale overlay entries and protection abuse. done / next: owner's store trial, references
2026-11-23 12:15:21 -07:00
swaits
6f04edb7bf
gate rebuild 7: docs for the gate flow, changelog
2026-11-23 12:13:56 -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 and Claude Fable 5.2
0f88c6c46b
Unit telemetry test: the second unit gets its own usage; window edges pinned by a clock-free test
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 12:11:21 -07:00
swaits and Claude Sonnet 5.5
1e03d70eba
Fix flaky telemetry usage test: second unit needs its own usage; add fixed-stamp window-edge test
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-23 12:10:31 -07:00
swaits
76ef77836e
Step 2: enforcement map for the nine rules (one function per rule); stale sisi time mention gone. done / next: protection
2026-11-23 12:09:39 -07:00
swaits
3abf04ef54
gate rebuild 6: end-to-end flow test, delivery and unit tests follow the new flow
2026-11-23 12:08:57 -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
10ccb0f277
gate rebuild 5: new gate tests (requirements, flow, send-backs, attribution, subagents, seeded sequences)
2026-11-23 12:07:28 -07:00
swaits and Claude Fable 5.2
7a32e6dc1d
Learning loop: the thirteen review findings fixed
...
Replay validation only counts a real failure before the fix, in a trusted project;
a mechanism carries the scope its learning has earned and anything wider, unproven
or weakening waits for the owner; approval shows the full action and refuses a
non-terminal; delivery only from sisi's own ledger; subagent findings are held;
the migration merges by legacy id and reports what it skipped; promote and export
work from learning records.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 12:07:18 -07:00
swaits
5335a9c14f
wip
2026-11-23 12:03:00 -07:00
swaits
48712e3129
gate rebuild 4: this repository's own risk table
2026-11-23 12:01:59 -07:00
swaits and Claude Fable 5.2
d33bbede67
Contract: owner confirms the old orchestrator is removed completely at cutover
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 12:01:47 -07:00
swaits
a7efe75c2b
gate rebuild 3: unit record (lowered, unverified, stronger technique), status lists open and paused units, commit-time notice
2026-11-23 12:01:45 -07:00
swaits
2ca45f8103
Learning loop hardening: docs, approval wording, rollback only restores the cycle's own files, due notice no longer hides errors
2026-11-23 12:01:15 -07:00
swaits
f39ca03233
gate rebuild 2: profile requirements module, new gate flow, floors removed
2026-11-23 12:00:59 -07:00
swaits and Claude Fable 5.2
c8fc14b300
Risk table: second round from blind labels; the measured blind agreement is recorded in the table and sisi risk says the floor is a minimum
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 12:00:06 -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
swaits
720173a50a
gate rebuild 1: move transcript and shell attribution into its own module
2026-11-23 11:57:33 -07:00
swaits
b3fde4005f
Step 1: relabel two blind2 paths, add 81 class-mate paths to risk_labels.json, test blind2 exactly; done: 3 tests fail / next: fix classifier
2026-11-23 11:56:38 -07:00
swaits
4821a1b6a4
Learning loop: replay validated only when it ran, mechanisms carry earned scope, owner approval shown and gated, ledger of rows sisi wrote, subagent quarantine from session state, migration merges and reports, dead paths rewritten
2026-11-23 11:55:51 -07:00
swaits and Claude Fable 5.2
ab8291d8d9
Second blind label set for the risk table: 89 of 106 agree, 6 data or critical paths under-rated
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-23 11:53:03 -07:00
swaits and Claude 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
swaits and Claude Haiku 5.5
b451cd88b2
Blind risk labels (second set) written before reading the classifier
...
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com >
2026-11-23 11:50:04 -07:00
swaits
0125714a6e
verify: do not call a failure missing evidence
2026-11-23 11:49:41 -07:00
swaits
63ebf85535
Records documentation, changelog, archive race test
2026-11-23 11:49:05 -07:00