Commit Graph
100 Commits
Author SHA1 Message Date
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 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
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 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
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 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
swaitsandClaude 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
swaitsandClaude 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
swaitsandClaude 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
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
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
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 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
swaitsandClaude 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
swaitsandClaude 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
swaitsandClaude 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
swaitsandClaude 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
swaitsandClaude 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
swaitsandClaude 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
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 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
swaitsandClaude Fable 5.2 cff5172553 Risk table: classes of mistake found by the blind labels fixed; code is never rated trivial
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 11:48:59 -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 11db88be71 Conformance entries for the records, summary kept in the record 2026-11-23 11:48:09 -07:00
swaits 770fbddde6 Unit record, telemetry and status tests; close under the original id 2026-11-23 11:47:00 -07:00
swaitsandClaude Fable 5.2 0810b4e6f9 Public-tree test: an image density suffix such as hero@2x.png is not an email address
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 11:44:56 -07:00
swaits c4366b1f42 Verification tests 2026-11-23 11:44:55 -07:00
swaits 1fac3058a6 Vacuity analysis, estimated cost from recorded prices, contract approach field 2026-11-23 11:44:37 -07:00
swaitsandClaude Fable 5.2 6ef4f4aff9 Held-out labels for the risk table, written blind by a different worker
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 11:43:06 -07:00
swaitsandClaude Haiku 5.5 54ac4c25b3 Add held-out risk labels written before measuring the classifier
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-23 11:42:20 -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 Fable 5.2 ea04e63d8e Risk table rebuilt against 177 labelled paths; route --explain capped at 20 lines
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 11:40:22 -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 91c954344f WIP (worker interrupted by a usage limit): work-unit record, verification vocabulary, scorecard; tests being updated 2026-11-23 11:35:23 -07:00
swaitsandClaude Fable 5.2 29d239ca3b Evaluation harness: benchmark cases, isolated replay, policy comparison, shadow evaluation, independent judging
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 11:31:21 -07:00
swaits 052d6d51ee Document the evaluation harness 2026-11-23 11:26:01 -07:00
swaits 9b3ea74ffc Build the evaluation harness: benchmark cases, isolated replay, comparison, shadow evaluation and independent judging 2026-11-23 11:25:19 -07:00
swaitsandClaude Fable 5.2 788ea16bcc Learning loop rebuilt: one learning store with the specification's record and statuses, retro by disposition, cycle with replay validation, protected rules and pending approvals, migration of the old store
Merged with the cut, orchestration and risk branches. An independent review found
defects that are fixed in the commits that follow before this is relied on.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 11:20:58 -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
swaits 57ec5e8f58 Tests first for the evaluation harness 2026-11-23 11:18:40 -07:00
swaits d7e72bd542 Rewrite docs/learning.md for the rebuilt loop 2026-11-23 11:12:24 -07:00
swaits 2907e7df15 Fix cross-module fallout: stemmer, oracle, overlay cost, test fixtures 2026-11-23 11:10:56 -07:00
swaitsandClaude Fable 5.2 41fa508707 Conformance: the before-table is frozen, the living table may change
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 11:10: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