Repository navigation
Integration: the view stack, ratchets-vs-base, ~29.5k lines removed, unwraps 2353→2057, in one validated head - #5273
Conversation
…duction The unwrap scanner split only on the outer #[cfg(test)], so files whose first code line is #![cfg(test)] (orm/derive_test.rs, contracts/chain_tests.rs) were counted as production unwraps. Match the inner attribute too. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
orm/: 71 unwrap/expect before, 0 after (28 production, 43 in derive_test.rs which is #![cfg(test)] and now correctly excluded). contracts/: its 21 were all in chain_tests.rs (#![cfg(test)]), cleared by the same scanner fix. - 28 poisoned std lock unwrap/expect -> unwrap_or_else(PoisonError::into_inner) with same-line reason (entity registry, migration state, sqlite connections) - 0 became ?/typed error, 0 let-else, 0 structural: lock poisoning here has a correct meaning (the data is the last state) and needs no new error path Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…duction The unwrap scanner split only on the outer #[cfg(test)], so files whose first code line is #![cfg(test)] (orm/derive_test.rs, contracts/chain_tests.rs) were counted as production unwraps. Match the inner attribute too. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…duction The unwrap scanner split only on the outer #[cfg(test)], so files whose first code line is #![cfg(test)] (orm/derive_test.rs, contracts/chain_tests.rs) were counted as production unwraps. Match the inner attribute too. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…duction The unwrap scanner split only on the outer #[cfg(test)], so files whose first code line is #![cfg(test)] (orm/derive_test.rs, contracts/chain_tests.rs) were counted as production unwraps. Match the inner attribute too. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
live/: 57 unwrap/expect before, 0 unjustified after (baseline 2257 -> 2076, includes the shared scanner fix commit for file-level #![cfg(test)]). - 43 poisoned std Mutex/RwLock unwraps -> PoisonError::into_inner with same-line reason (bridge client, slot pool, avatar selection, bevy api, wgpu bridge) - 14 structural / typed: STT/TTS/avatar registries now return the OnceCell value from init_registry (no get-after-init expect); Silero from_shape_fn (no shape error possible); avatar selection `if let Some(picked) = min_by_key` (no is_empty+unwrap); render-loop and Bevy thread spawn failures are logged, release the slot / mark not-ready and return None; bridge envelope let-else Err; GLB frame_len from a 4-byte array; call_server test-pattern source returns Option when the call lock is busy; capture.rs returns .next(); Metal missing class returns the existing null-texture path; wgpu missing pipeline logs and skips the dispatch Tests: cargo test -p continuum-core --lib live:: = 398 passed, 9 ignored; source-hygiene unwrap_justification = pass, count 2076. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
modules/: 55 unwrap/expect before, 0 unjustified after (baseline 2257 -> 2078, includes the shared scanner fix commit for file-level #![cfg(test)]). - 32 were in two files that only compile under cargo test (plasticity/validation.rs behind #[cfg(test)] mod; airc_runtime_e2e_tests.rs whose mod is commented out): now marked #![cfg(test)], counted as test code - 2 poisoned lock unwraps -> PoisonError::into_inner with reason - 5 justified in place (3 constant regex literals, resolve_continuum_root + SentinelModule::new need HOME or the process has no persistent state; resolve_continuum_root has 20+ callers in persona/ cognition/ ipc/, so its signature is left for a coordinated change) - 16 structural/typed: embedding SIMD uses slice::as_chunks::<8>() (no try_into); generator name/ live.rs/ grid handlers let-else or if-let; AIProviderModule logger falls back to the component logger (std OnceLock::get_or_init) instead of panicking before initialize; DMR/ds4 probe addresses built as SocketAddr literals; nav serialize failure logged; plasticity compactor builds one Vec of tensors (no HashMap re-lookup) and serialize_tensors propagates TensorView errors with ?; sentinel checkpoint dir returns Result (all callers already Result); vdd module artifact_root is Option and the module exposes no commands (logged) when there is no home Tests: cargo test -p continuum-core --lib modules:: = 1107 passed, 1 ignored; source-hygiene unwrap_justification = pass, count 2078. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
code/, commands/, concurrency/, context/, experience/, forge/, genome/, http/, ipc/, logging/, media/, memory/, model_registry/, paging/, perception/, resources/, routing/, runtime/, sdk_codegen/, system_resources/, vdd/ (every directory with fewer than 10, grouped into one PR): 59 unwrap/expect before, 0 unjustified after (baseline 2257 -> 2078, includes the shared scanner fix commit). - 24 poisoned lock unwraps -> PoisonError::into_inner with reason - 11 justified in place (embedded-recipe and constant-regex literals, codegen-time schema checks, a never-closed private Semaphore, citizen_home_path whose Agent-needs-provider contract has 23 callers incl. persona/ owned by another branch) - 24 structural/typed: logging::logger() is now a GlobalLogger handle that falls back to the direct log sink (no panic before init_logger); SharedCompute::get_or_compute returns Option (a type clash was a process panic; MediaFrame maps it to a typed Err); OpenAIFineTuningAdapter::new and ArtifactWriter/TurnReplay continuum_default return Result (callers in ipc/ and the vdd bin handle it); http/messages_handler builds errors via one api_error() and no longer unwraps response build/serialize; shell_session kills the child and records a Failed state if pipes are missing; models/pull, lora_convert, command ident, help, placement, model_registry singleton, consolidation timestamp, presence/nav serialize, static_html title, module_logger (no HOME => no log file), resource broker (lease collision => Superseded refusal, available_parallelism => 1 CPU) all use let-else / ? / structural forms; sysctl key is a C-string literal Tests: cargo test -p continuum-core --lib (code, commands, concurrency, context, experience, forge, genome, http, ipc, logging, media, memory, model_registry, paging, perception, resources, routing, runtime, sdk_codegen, system_resources, vdd) = 3341 passed, 7 ignored; source-hygiene unwrap_justification = pass, count 2078. Added test: SharedCompute type clash is None, not a panic. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…duction The unwrap scanner split only on the outer #[cfg(test)], so files whose first code line is #![cfg(test)] (orm/derive_test.rs, contracts/chain_tests.rs) were counted as production unwraps. Match the inner attribute too. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ch/continuum into fable/no-unwraps-outside-the-mind
…ech/continuum into fable/no-unwraps-outside-the-mind # Conflicts: # core/source-hygiene/src/unwrap_justification.rs
…anTech/continuum into fable/no-unwraps-outside-the-mind # Conflicts: # core/source-hygiene/src/unwrap_justification.rs
…ech/continuum into fable/no-unwraps-outside-the-mind
…ech/continuum into fable/no-unwraps-outside-the-mind # Conflicts: # core/source-hygiene/src/unwrap_justification.rs
… calls it) The batch's GlobalLogger replaced the panicking logger() with an always-usable handle but carried debug/info/error only; tests/logger_integration.rs calls warn and stopped compiling. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…it needs The shell admits its cargo root through the disk ownership registry. These tests only passed in the full suite because an earlier test happened to install the test registry; run filtered (cargo test -- hands_isolation) three failed with 'Cargo writer has no installed disk ownership registry'. The shared call() helper now installs it (idempotent). Measured on the M5 2026-10-19: before 3 failed / 6; after 6 passed / 6, filtered run. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…it size the window let it grow to
The M5, 2026-10-18 22:15-22:42Z: four residents on ONE slot (13% reuse, 600 s lane waits, 12-25
min acts) while the plan wanted two lanes: Allocator { served: 1, window: 48,661, lane_cap: 2 }.
The need was the median post-fit size of held turns; the flexbox grows every prompt into the
window it is given, so on a 102k lane the need read ~48.6k and a second lane at ~46k was refused.
The need tracked the window, and the window the need.
window_allocator::turn_need sums the turn's budget claims' FLOORS (framing + tools, required
input, grounding floor, her last move and its outcome, the reply floor): what she cannot do
without. The allocator still grows each lane toward the wish; it now serves two lanes when memory
holds two windows above that floor (Joel: two residents per lane, never smaller windows to seat
more). The faculty calls it once and nets -1 line.
Tests: window_allocator, llm_deliberation_faculty and working_set suites: 158 passed, 0 failed
(M5, background QoS).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…5177) The reply floor is clamped to what this window leaves after framing and required input; summing the clamped value under-reports her reply exactly when the lane is too small, so the allocator would believe the small window suffices (IntelMac's 32k lanes). The need now adds the pre-clamp floor. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…Cormac on #5177) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… rebased head Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…c5b0b6) SqliteEpochWatermark opened its own rusqlite connection with its own DDL, pragmas and raw SELECT/UPSERT/DELETE. It is replaced by OrmEpochWatermark behind the unchanged EpochWatermarkStore trait: one GrantEpochWatermark entity row per grantee (primary key = the grantee's PeerId), check-and-advance and eviction under one in-process lock (the ORM has no compare-and-swap), eviction as one atomic batch delete, and epochs above 2^53 refused (fail closed) because a Number column is a double on Postgres. - SqliteAdapter::open(path): the one way a store that owns its own file gets an adapter; admission_state (production) and seven test setups migrated off their hand-built AdapterConfig blocks. - OrmStore::delete_all(ids): atomic multi-row delete through commit(). - act_observe's staged-credit test reads her longterm.db through OrmStore<StagedCredit>/<StagedCreditGeneration> instead of raw SELECTs. - The watermark's concurrency test runs by default (64 interleaved high/low epochs, then a reopen) instead of only under stress-tests. rg 'rusqlite::|sqlx::' core/continuum-core/src outside orm/: nothing. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ck is load-bearing No anti-replay reset on deploy (coordinator review of #5205). The one-time import lives in orm/legacy_grant_watermark.rs (SQL stays inside the ORM): on OrmEpochWatermark::open, if the legacy grant_epoch_watermark table exists in the same file, every (grantee, epoch, updated_at_ms) row is upserted into grant_epoch_watermarks keeping the HIGHER epoch (and later updated_at_ms), then the legacy table is dropped, all in ONE transaction. A row that cannot be carried exactly (grantee not a UUID, epoch not an integer, negative, or above 2^53) aborts and rolls back the import and the open is REFUSED with WatermarkError::LegacyImport(LegacyWatermarkImportError::CorruptRow); the store never starts empty over real state. Probe "grant.watermark.migrated" records the row count. WatermarkError is now a typed enum. Tests (legacy fixture uses the deleted SqliteEpochWatermark's exact DDL): - legacy_watermark_is_carried_forward_and_its_table_dropped: carried epochs survive, a replay below them is Superseded, the higher of ORM vs legacy wins, the legacy table is gone, a second open imports nothing. - a_corrupt_legacy_watermark_refuses_the_open: non-UUID grantee, negative epoch, text epoch each refuse the open and leave the legacy table intact. Concurrency test strengthened and mutation-proven: a barrier releases all 128 presentations at once over two grantees, one seeded (find-then-UPDATE: a missing lock shows as a lost update) and one fresh (find-then-INSERT: a missing lock shows as a duplicate-key failure). With the lock released before the read (`self.store.lock().await.clone()`), the test failed 30/30 runs on the M5 (29 "lost update: the max epoch 64 is not the durable watermark", 1 "concurrent decisions failed: UNIQUE constraint failed"). With the lock restored: 0/30 failures. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…celled caller can drop Codex's review of #5205 at 1e0a8c7: the async mutex guard lived in the caller's future while SqliteAdapter ran the write on spawn_blocking, so a cancelled presentation released the lock with its write still pending; a newer presentation could then read the stale watermark and the orphaned lower write could land after it. Same for eviction's select-then-delete. The fix is an ORM-owned atomic primitive on StorageAdapter, so the compare happens inside the write: - upsert_monotonic(record, field): INSERT ... ON CONFLICT(id) DO UPDATE ... WHERE stored.field <= new.field, one statement, returns whether written. - delete_matching(query): one DELETE whose filter is judged when it runs. Implemented for SQLite (orm/sqlite/conditional.rs) and Postgres (orm/postgres/conditional.rs), exposed as OrmStore::save_monotonic / OrmStore::delete_matching. OrmEpochWatermark drops its Mutex entirely, which also closes the over(adapter) gap (two stores over one adapter shared no lock; now there is none to share). Hygiene and owners: - The row's insert shape (BaseEntity columns + data fields) is built once per adapter (conditional::insert_columns) and do_create/create_on use it; SqliteAdapter::open + writer() moved to orm/sqlite/file.rs. sqlite.rs 1741 -> 1729, postgres.rs 2435 -> 2421. - OrmStore::delete_all removed (superseded); OrmStore::find_eq added and the act_observe staged-credit test compressed (2509 -> 2497). - Postgres ensure_schema built an index name from the schema-qualified table (`idx_ns.table_col`, a syntax error in any non-public namespace); it now uses the bare table name. Tests: - Regressions through a new cfg(test) GatedAdapter (orm/gated_adapter.rs: writes run detached like spawn_blocking; the next one can be held): a_cancelled_presentation_cannot_land_a_lower_epoch_later and a_cancelled_eviction_cannot_erase_a_grantee_advanced_after_it. Both FAILED on the previous code (lower epoch 7 landed over accepted 10; the eviction erased a grantee advanced after it selected) and pass now. - pg_upsert_monotonic_never_lowers_and_delete_matching_judges_current_rows (ignored; CI runs orm::postgres --ignored): passed with all 11 existing Postgres tests against a local scratch database. - Mutation: with the WHERE dropped from the SQLite upsert, the cancellation regression and the concurrency test each failed 30/30 runs. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…d unwraps 2,137 -> 2,135 #5205 grew orm/sqlite.rs and act_observe/mod.rs past canary (+22 lines past 1000). The row insert shape, SqliteAdapter::open and the conditional writes now live in orm/sqlite/{file,conditional}.rs and orm/postgres/conditional.rs, and the act_observe test reads through OrmStore::find_eq; net -54 against canary. The GatedAdapter test fixture is a `#![cfg(test)]` file so orm/mod.rs keeps one test mod; its expects and the conditional writer's join fallback carry same-line justifications. Both baselines lowered to the measured values. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…n, co-authored) Consolidates PERSONA-CONTEXT-PAGING, KV-CACHE-ECONOMY, KV-CACHE-AS-SHARED-BASE-LAYER and CONTEXT-IS-A-CAPABILITY-AXIS into two faults and one owner each: an epoch- versioned materialization of an append-only history (Codex's correction 1), and one EngineConfig derived from what the engine reports. Design only; nothing built. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
) line_heads read only crate::<ident> one line at a time, so a crate::{...} group (empty ident, skipped; and invisible across lines) and a super:: chain that climbs to the crate root added no edge. Undercounting only lowers the number: a new cycle written that way passed, and a peel could lower the count by rewriting an import. Now the whole file's code is scanned (comment lines still skipped); a group yields each top-level path's first identifier; a super:: chain resolved against the file's module depth yields the identifier after it when it reaches the root. Both trees are measured by these rules, so the ratchet compares like with like. Test: every_spelling_of_a_root_path_is_an_edge. Not compiled here (serving node). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
|
#5273 at 58f53a6, Cormac, 2026-10-22. My FAILED at e27703e is resolved: all six items are fixed in the six commits since it (46fed7a..58f53a6). I WROTE those commits, so this is not a review of them. They need an independent verdict, and I've asked Codex. Fable reports on the M5: cargo check --tests clean, core lib 8541 passed / 0 failed, source-hygiene 47/47, modules_in_cycles 36 -> 36 under the whole-file scan. CI at this head: source-hygiene passed; core lib tests and Windows compilation were in progress when I read it. Correction on rule 2: Fable built e27703e with serving stopped (continuum stop), which rule 2 allows. My flag assumed a build next to live lanes and was wrong. |
…te stopped the lib test job before its tests ran
The ratchet fails on a fall the branch doesn't record ('warnings fell to 40 below
the baseline 44', run 39775185949 job 119812354437). Recording 40 locks the win
and lets CI actually run the lib tests at this head.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
|
PASS #5273 at bb830dd, scoped: everything EXCEPT the seven commits I wrote, Cormac, 2026-10-22, source read plus CI. Those are 46fed7a..58f53a6, my six fixes, and bb830dd, the warnings baseline 44 -> 40. They need an independent verdict before merge (asked of Codex). What I verified in Fable's integration work:
The six findings from my FAILED at e27703e are resolved by those commits. So with Codex's verdict on my seven, this is mergeable from my side. |
|
PASS from Fable at exact head bb830dd, on Cormac's seven commits only (46fed7a..58f53a6 and bb830dd). I didn't write them. Cormac's scoped PASS covers the rest. Claims verified, and how:
|
…wed kernel diff replayed on canary Recording #5273's squash with -s ours (6f4f556) kept this branch's copies of files canary had updated after its last merge (Codex's #5274 in continuum-cli-lifecycle among them), so they would have been reverted. This merge's tree is exactly git diff bb830dd..9b8a782 (the reviewed kernel work) applied onto canary ebd06d1: every canary change is kept, every kernel change is in. Checked: kernel 1,217 and core 7,329 pass (one order-dependent failure, legacy_adoption_recovers_committed_file_without_receipt, passes alone: the shared-state class of card c4d84be3); ratchets vs canary hold. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…24a9a1) (#5280) * An act's arguments render whole or plainly elided, never cut (card d624a9a1) ledger.rs::archive_head cut each call's JSON arguments at 48 chars. On IntelMac (2026-10-22) resident cf6b4df6 (qwen2.5-coder-1.5b) read 'code/read({"file_path":"/Users/joel/.continuum/citizens/pe)' in her step list, emitted code/read('/Users/joel/.continuum/citizens/pe/ipc/mod.rs') three times (refused: escapes workspace), then text imitating a tool response. A cut value looks real, so a copying model reproduces it: goal 7's repeat. #5273 removed the steps ledger, but archive_head still writes the act's head, which the [actions] stream shows once the result ages out. call_args renders every value whole, except that a string longer than the budgeted trail_head_chars, or spanning lines (a write body), becomes an explicit '<N chars>' marker. One head cut fewer. Test: an_acts_arguments_are_whole_or_plainly_elided_never_cut. Not compiled here (IntelMac serving; no coordinated stop for a two-file change); CI is the compile. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * tests + doc: a placeholder home, not a real user's (tenant_neutrality) source-hygiene's no_real_user_home_path_anywhere_in_the_tree failed on the test fixture and the doc example quoting /Users/joel/...; both now use /home/resident/. No logic change. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
…play (#5296) * ruling-a(0e0bbf21): rework onto canary tip 4a2e3a0 — deletion now compiles-clean Rebased the continuation-resume deletion (sent back as 7fd45ab3: useful start, did not compile) onto origin/canary after #5273's view-stack integration removed ~29.5k lines, including agent/solve and everything that referenced the cursor machinery in commands/. Net effect of this tree vs canary tip: - ContinuationCursor type + RagDelivery.continuation field gone from rag_budget (substrate_context.rs); deliver_continuation removed from the RagSource trait and every owner (wall, viewstate, engram, cached, airc, awareness, active_work, room_board/doctrine/roster/workspace_map/media_perception sources). - Truncation now signaled by RagDelivery.truncated alone; readers re-derive from scratch on the next deliver with a larger budget (no resumable handle). - bc66becf's viewstate fingerprint refusal and db0aa5b2's wall skip-one-record surface both lose their machinery — closed by deletion, per Codex finding #4. - mission_source.rs resolves to canary's stub form (#5273 retired agent/solve); its old struct/tests were on my side of the conflict and are dropped. - Two no-op hunks stripped (agent_solve_2.rs / lesson_task_excerpt_chars.rs deletions — files already absent at canary tip). Grep sweep: zero code references to ContinuationCursor/deliver_continuation in core/continuum-core/src (only a card-title string literal and one doc line that reads as current behavior). * wip(0c69aa07): continuum act on node 2899097f-a6bd-425e-8e37-cecaca4da057 Co-Authored-By: Kimi <[email protected]> * legacy decode (0e0bbf21): preserve pre-ruling-a continuation wire form RagDelivery now deserializes both schemas: explicit truncated wins; missing + continuation object => true (source stopped short); missing + continuation null/absent => false. Old JSONL captures no longer drop as parse failures in read_jsonl_captures. Tests cover all three old-schema shapes through JSONL -> replay -> faculty notice. * legacy decode tests (cc2f1962 send-back): missing-key + explicit-bool precedence lines through the JSONL reader; faculty notice path now rides read_jsonl_captures --------- Co-authored-by: Kimi <[email protected]>
This replaces landing 13 PRs one at a time. Each merge was re-breaking the others on baseline lines, which was most of yesterday's merge work. This PR is canary plus all of them, with every conflict resolved once and the whole head validated together.
Included (each stays open until this merges, then closes as included)
BASELINE_*constants remain. It went in first, so the remaining merges had no baseline conflicts left to resolve.module_cyclesratchet and the first kernel peel (HardwareProfilemoves tosystem_resources).Conflicts resolved
logging/mod.rs: kept canary's tracing layer (One logging system: clog_*/log_* are tracing events, routed to files by one layer #5206). No unwraps outside the mind: #5165-#5168 and #5171 as one branch #5172 had only edited the old logger.tool_parsing/*,plasticity/validation.rs, and uncalled methods ingovernor/*,orm/entity.rs,shell_session.rsandcoordinator.rs): deletion wins over No unwraps outside the mind: #5165-#5168 and #5171 as one branch #5172's edits to that code.mission_source.rs: Benchmark harness step 2: the detached runner and round state are gone; old state archived #5211's cut wins; only the shared id remains.rust-warnings-baseline.txt: set to the lower of the two values (44).Fixed during integration
modules_in_cyclesrose from 36 to 37. One token estimator: every site calls token_budget::estimate_prompt_tokens #5203 maderagcallai::token_estimate, which pulledraginto the cycle. The estimate now lives incontinuum-base, all 18 callers are migrated, and the count is back to 36.act_observetests now read what the model actually receives.Measured (local, M5, head
e27703e87)cargo check -p continuum-core --tests: no errors.cargo test -p continuum-core --lib: 8540 passed, 0 failed. The count is lower than canary's because Delete ~13k lines of dead code: the retired Candle generate path, 122 unreferenced items, the duplicate tool parser, test-only paths #5195 and Benchmark harness step 2: the detached runner and round state are gone; old state archived #5211 deleted code along with its tests.cargo run -p source-hygiene --bin ratchets -- origin/canary), all holding or falling:Live
This head is being built and deployed to the M5 as its running core. The residents' pace (seconds per act, cancels, writes) will be posted here against this morning's canary: 200–1,680 s per act, about a third cancelled at 600 s.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo