Repository navigation
Build(deps): Bump inquirer from 8.2.6 to 12.9.6 - #123
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 8.2.6 to 12.9.6. - [Release notes](https://github.com/SBoudrias/Inquirer.js/releases) - [Commits](https://github.com/SBoudrias/Inquirer.js/compare/[email protected]@12.9.6) --- updated-dependencies: - dependency-name: inquirer dependency-version: 12.9.6 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Contributor
Author
|
Superseded by #150. |
joelteply
added a commit
that referenced
this pull request
Jun 2, 2026
…Registry (#123 slice 1) ## Why Joel directive (2026-06-01): substrate MUST work headless; TS-decorator pipeline isn't reachable in headless mode; substrate-only entities (hw_tiers, role_templates, identity pools, universes, future continuum config) MUST be authored Rust-first. Single source of truth lives in Rust; ts-rs projects the matching TS types. References: - [[orm-everything-not-hand-edited-files]] — ORM is the universal data interface; repo source = JSON, runtime backend = ORM's choice, commands = mutation path - [[authored-data-vs-procedural-projection]] — substrate-data entities are the authored half; IdentityProjector (#124) is the procedural half ## What ships (slice 1: infrastructure only, no behavioral migration) ### src/orm/entity.rs (new, ~370 lines) - BaseEntity struct + ts-rs export — the canonical wire-type base (id, createdAt, updatedAt, version). Single source of truth in Rust; ts-rs emits shared/generated/orm/BaseEntity.ts. The hand-authored TS BaseEntity.ts can be migrated to the generated version in a follow-up. - BaseEntity::for_new_record() — UUID v4 + now() + version=1 - base_entity_fields() — the STORAGE half of the base contract: SchemaField vec the ORM adapter declares to SQL. Kept in lockstep with the BaseEntity wire type via cross-test. - OrmEntity trait — COLLECTION const + collection_schema() - OrmEntityRegistry — process-wide write-once-at-boot registry; register<E>() is idempotent on identical schemas, errors on conflicts (different shape, same collection name) - Tests use fresh OrmEntityRegistry::new() instances — global singleton would race under parallel cargo test runs ### src/modules/data.rs (updated handle_ensure_schema) Resolution order: 1. Rust-native OrmEntityRegistry (substrate entities) 2. entity_schemas.json from TS decorators (user-app entities) 3. Error with diagnostic pointing at both authoring paths Headless deployments rely on path 1 alone; the TS-decorator path stays for user-facing entity work. ### src/persona/hw_tier_descriptor.rs (new, ~290 lines) - HwTierDescriptor — the editable, shareable ORM-stored description of one hardware tier. Distinct from HwCapabilityTier (the enum discriminant for runtime use). - HwTierCategory — Floor / Base / Pro per Joel's 2026-06-01 3-plan framing (Intel/low-end is Floor with video via grid-inference; MacBook M-series is Base, the design center; M-series Pro/Max + future unified-memory PCs are Pro) - local_video_capable flag — universal-avatar doctrine applied: rendering medium scales with hardware + grid-inference availability; the avatar property itself is universal - Tests verify BaseEntity contract + tier_id-vs-id distinction + serde camelCase + registration roundtrip ### src/persona/role_template.rs (existing struct, new OrmEntity impl) - OrmEntity impl for the existing RoleTemplate struct - Storage: BaseEntity columns + role (natural key, unique+indexed) + priority (indexed) + identity/cognition/modelPerTier (JSON columns for nested structs) - No changes to the existing helper_template()/coder_template() — that migration is slice 2 (seed JSON + retire hardcoded constants) ### src/persona/mod.rs (register_substrate_orm_entities helper) - Takes a &OrmEntityRegistry parameter so production calls register_substrate_orm_entities(OrmEntityRegistry::global()) and tests call with fresh new() instances - Cross-collection test verifies BaseEntity fields land in every registered substrate collection — catches future entities that forget to call base_entity_fields() ## Tests (632 passing across the lib) - 10 OrmEntityRegistry tests (register/resolve/idempotent/conflict/ order-independent/wire-vs-storage match/for_new_record sanity) - 7 HwTierDescriptor tests (schema count/BaseEntity present/tier_id unique-and-distinct-from-pk/category indexed/registration roundtrip/ serde camelCase/HwTierCategory lowercase) - 2 register_substrate_orm_entities tests (boot-order proof + idempotence + cross-collection BaseEntity check) - All 8 generator concurrency tests still green (regression) - 632 lib tests overall pass — no broader breakage ## What is NOT in this commit (slice 2 and beyond) - Seed JSON files under seeds/<collection>/*.json (#123 slice 2) - Retirement of helper_template()/coder_template() in favor of ORM queries (#123 slice 2) - Identity card pools, universe entities (#127 — Tron universe pack) - IdentityProjector procedural pick layer (#124) - First-connection ceremony (#126) - BaseEntity flatten into entity structs (matches TS class-extension convention) — held back to avoid churning helper_template/ coder_template constructors before slice 2's seed-JSON migration Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Jun 2, 2026
## Why Slice 1 (de1ba9a) shipped the Rust-native entity authoring path (BaseEntity, OrmEntityRegistry, OrmEntity trait, HwTierDescriptor + RoleTemplate schemas). Slice 2 ships the data half: the canonical day-zero hw_tiers JSON, embedded via include_str! so the substrate always ships data + code together (per [[orm-everything-not-hand- edited-files]] "all ship together" doctrine). Headless-clean: include_str! bakes seeds into the binary; no runtime path discovery, no missing-file failure modes, works wherever Rust runs. Filesystem-override for live editing is a future slice. ## What ships ### seeds/hw_tiers/*.json (new, 9 files) camelCase JSON conforming to HwTierDescriptor's serde shape. Spans all three categories per Joel's 2026-06-01 3-plan framing: - **Floor** (Intel + low-end; video via grid-inference): cpu_only, mac_intel_metal_discrete - **Base** (MacBook M-series; design center; local-leaning): m1_uma_8gb, m1_uma_16gb - **Pro** (M-series Pro/Max + future + cloud-as-peer): m3_uma_pro_max, m5_uma_pro_max, sm60, sm120, cloud Each carries: tierId, label, category, localVideoCapable, minParamsBMeaningful, maxParamsBFits, optional unifiedMemoryGib / discreteVramGib / note. localVideoCapable=false on Floor + cloud is a coarse proxy for "can host the persona's inference locally for real-time avatar" — WebRTC + animation are always local; routing inference to a grid/cloud peer still produces a video persona per [[persona-webrtc-all-tiers-latency-obsessed]]. ### src/persona/hw_tier_descriptor.rs - Per-tier `SEED_*` consts via include_str! - `SEED_FILES` table: (tier_id, raw_json) pairs for diagnostic clarity - `parse_seed_descriptors() -> Result<Vec<HwTierDescriptor>, String>` — parses every embedded seed at runtime, returns the first error named by its expected tier_id. Boot-time entry point for the ingest-if-empty step that lands in a follow-up slice. ## Tests (4 new, all green; 23 total in the module) - `all_seed_files_parse_into_descriptors` — every embedded JSON deserializes against HwTierDescriptor; tier_ids are unique within the seed set. This IS the #125 CI guard for hw_tiers: if the Rust struct grows a required field or renames one, this fails the build. - `seeds_cover_all_three_categories` — Floor + Base + Pro all represented. Deleting the only Floor seed (or any category) fails. - `anchor_tiers_are_present` — load-bearing tier_ids (cpu_only, m1_uma_8gb, m3_uma_pro_max, sm120, cloud) must ship; silent removal would break downstream routing. - `seed_file_names_match_tier_ids` — file name and JSON tier_id field must match; catches copy-paste errors at build time. Plus the 8 generator concurrency tests still green (regression). ## What's NOT here - Ingest-into-ORM step — needs an adapter handle; lands in the PersonaSpawnerModule slice (#121) or a dedicated seed-runner. - role_templates seed JSON — the nested-tuple shape of ModelChoicePerTier benefits from normalization to a more JSON- natural form (object map instead of Vec<(tier, choice)>) before hand-authoring. Coming in a follow-up. - Filesystem override of embedded seeds for live editing — future slice; ship-time embedded seeds are the floor. - Identity card pools, universes, continuum_config — #127 and beyond. Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Jun 2, 2026
…133 slice 6) Materializes a Vec<Result<PersonaInferenceProfile>> from a substrate- resolved roster + tier descriptor. Each row composes through slice 5's build_profile so the substrate's "what personas exist on this machine?" decision is a pure function of (hardware tier × roster × registry). ## What ships ### RosterEntry Substrate-resolved persona slot: - role: RoleId - persona_id: Uuid (derived from airc peer_id per [[persona-identity- derives-from-source-id]]) - persona_name: String (typically from name_generator) - model_id: String (registry id picked by role_template or future ORM-stored role data) The slice 7 ServiceModule allocates each slot's airc identity FIRST, then hands the resolved (peer_id, name) pair into the planner. ### derive_spawn_plan(roster, tier_id, tier_category, registry) Iterates the roster, calls build_profile per row, returns one Result<PersonaInferenceProfile> per slot. Per [[no-fallbacks-ever]]: - Per-row errors are kept separate (one bad model_id doesn't block other personas) - Substrate refuses to substitute a default when a row fails - Slice 7 ServiceModule decides whether to refuse boot or skip bad personas with a diagnostic ## Why explicit roster (not auto-derivation from role_template) 1. Identity belongs to airc, not role_template. Each persona needs a peer_id (from airc-attach) BEFORE the planner runs. Auto-derivation would require the planner to allocate airc identities, coupling planning to networking. 2. Model selection is changing under #123 (ORM-stored role_templates). The planner consumes a resolved roster so it stays stable as the selection logic evolves. This keeps slice 6 testable without an airc fixture and without touching the role_template hardcoded-Rust path. ## Tests (4 new + 12 generator regression = 16 green) - plans_helper_and_coder_for_compat_tier — canonical Intel-Mac multi-persona startup state; both personas share the LCD model (sets up future #122 shared-base + LoRA paging) - per_row_errors_dont_block_other_personas — Helper resolves cleanly while a Coder row with a nonexistent model_id errors loud - empty_roster_yields_empty_plan — no-op contract - tier_category_threads_into_every_profile — Compat vs MSeries produce different tier-shaped knobs (gpu_layers, context_length) for the same roster Test fixture uses a real tempfile for gguf_local_path so the registry's resolve_model_artifacts on-disk check passes without the real GGUF. ## Slice progression on #133 - ✓ Slice 1 (d8256f3): HwTierCategory rename - ✓ Slice 2 (e2510c0): qwen2.5-0.5b-instruct registered - ✓ Slice 3a (859c01c): PersonaInferenceProfile type - ✓ Slice 3b (b70c238): LlamaCppAdapter::for_persona - ✓ Slice 4 (a114714): demo binary uses for_persona - ✓ Slice 5 (8f1c7b5): substrate-side build_profile - ✓ Slice 6 (this commit): derive_spawn_plan - ⏳ Slice 7 (planned): PersonaSpawnerModule — wraps the plan with airc attach + room join + persona lifecycle References: [[intent-driven-api-not-hot-patches]], [[no-fallbacks-ever]], [[persona-identity-derives-from-source-id]], [[lcd-model-qwen25-05b-and- foundry-lora]], #121 PersonaSpawnerModule (slice 7 home), #122 shared- base + LoRA paging, #123 ORM role_templates. Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Jun 3, 2026
…ing, no SQL) Engram persistence belongs in the ORM, not raw rusqlite. This slice declares the schema-side architectural commitment — `impl OrmEntity for Engram` with COLLECTION="engrams" and the field shape — matching the RoleTemplate slice 1 pattern of #123. Per Joel's standing rule ([[no-sql-everything-through-orm-entities]] + [[orm-everything-not-hand-edited-files]]): all data through ORM + base entities, no raw SQL anywhere in module code. Storage shape: - BaseEntity columns (id, createdAt, updatedAt, version) first, so the ORM's machinery (indexes, vector index, exports, round-trip-to-JSON) treats engrams uniformly with every other registered entity. - Domain columns: `kind` + `trustStateAtAdmission` flat strings (indexed — common filter targets); `content` flat string (FTS later); `origin` + `recallKeys` JSON columns for the variant/array sub-trees; `admittedAtMs` indexed (primary recall sort + recency tiebreak for Algorithm 4 scoring); `admissionTraceId` nullable string (forensic join target only). What this slice does NOT ship (deliberately): - No raw SQL anywhere. The ORM owns the backend. - No save/load wire-up. That depends on the entity↔record adapter landing as part of #123 (which is currently in_progress on the ORM entity family for hw_tiers / role_templates / identity pools). Same shape as the existing RoleTemplate impl: schema commitment now, wire-up when the adapter lands. - No RecallMetadata schema. RecallMetadata doesn't yet have serde derives; committing a schema before its wire shape is locked would create drift. RecallMetadata's OrmEntity impl rides with the wire-up slice that adds the derives. Two new tests pin the contract: - engram_orm_schema_has_base_columns_and_domain_fields — every BaseEntity + every domain field is present. Catches the case where someone adds a field to Engram and forgets to extend the schema; the wire-up's round-trip would silently lose that data. - engram_registers_and_resolves_through_orm_registry — boot-path smoke: register cleanly, resolve, same field count round-trip. Per [[command-system-architecture]]: commands stay the mutation path; raw SQL is invisible to that surface. When the wire-up lands, admit() / record_recall_hit / apply_decay become commands (or direct ORM-adapter calls through the typed entity surface), never hand-rolled INSERT statements. Engram persistence (#101) reset to schema-only this turn. The rusqlite-based draft (committed nowhere) was deleted in the same working state. Slice B (wire-up) blocked on #123's entity↔record adapter. 6/6 engram tests green on Intel Mac CPU build: cargo test --lib --no-default-features \ --features 'livekit-webrtc llama/mac-cpu-only' \ 'persona::engram::tests::engram_' Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Jun 3, 2026
…y columns The compression move per CLAUDE.md's E=mc² doctrine: ONE generic helper so every `T: OrmEntity + Serialize + DeserializeOwned` gets save / find_all / find_by_id / update / delete for free. Add `impl OrmEntity for FooEntity` → `OrmStore::<FooEntity>::new(adapter).await?.save(...)` works immediately. No per-entity FooStore + FooMigration + FooSerializer trio. The store IS the abstraction. This unblocks #101 slice B (engram persistence wire-up) and every other OrmEntity in #123's family (RoleTemplate, HwTierDescriptor, future identity pools). Per [[no-sql-everything-through-orm-entities]] + [[orm-everything-not-hand-edited-files]]: module code reaches storage through this typed surface, never through raw rusqlite or hand-rolled DataRecord juggling. ### Adapter dedup fix (real bug surfaced by this slice) Both SqliteAdapter and PostgresAdapter hardcoded `id / created_at / updated_at / version` at the top of their CREATE TABLE columns, then ALSO iterated `schema.fields`. When schemas authored via `base_entity_fields()` (the documented contract for declaring those columns) reached the adapter, CREATE TABLE crashed on the duplicate column name. The bug had never fired because no OrmEntity had ever round-tripped through SQLite — schema declarations existed, the wire-up didn't. The first OrmStore<T>::new(adapter) call hit it. Fix: new `is_base_entity_column(snake_case)` helper in `orm::entity`; both adapters skip schema.fields whose snake_case name matches. This preserves the documented contract (schemas declare BaseEntity columns via `base_entity_fields()`) without forcing entities to know each backend's CREATE TABLE layout. Single source of truth lives at the adapter level, schemas declare intent. ### Tests (6/6 green; 78/78 ORM family still green) - save_then_find_by_id_round_trips_every_field - find_by_id_returns_none_for_missing_id (clean Option semantics, not the adapter's "Record not found" error-string convention) - find_all_returns_every_saved_row (rehydrate-from-disk foundation) - update_then_find_by_id_returns_new_payload - delete_removes_row_and_signals_idempotently - collection_returns_entity_collection_constant Round-trip exercises real SQLite (not :memory:; tempdir-backed per test so parallel cargo tests don't share state through the shared-cache alias). The TinyEntity test fixture stays in the store module — it tests the typed-store machinery without dragging Engram's full shape into orm::store. Engram round-trip lives with its OrmEntity impl in persona::engram. ### Identity discipline Callers supply the entity's id explicitly on save/update. Deliberate: substrate entities have domain-natural UUIDs (Engram.id at admission, RoleTemplate uses BaseEntity id, etc.) and the caller is the one who knows what it is. The id flows into DataRecord.id (the row primary key); the serialized form may also carry an `id` field — caller keeps them consistent. Drifting them would point to a deeper bug than the store can repair. ### What this does NOT yet ship - No query DSL surface. `find_all` returns every row; callers needing filters drop down to QueryBuilder + adapter.query() for now. `find(filter)` wraps when use sites are clear. - No batch ops. Single-entity surface is what the first wave needs. - No transaction surface. Adapter trait doesn't expose transactions yet; that's substrate-wide. Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Jul 11, 2026
…consumer + honest board append
Reconciliation over reinvention: a focus kernel ALREADY existed
(persona/focus.rs — self-set scalar with 0.5 resting setpoint, sticky
cursor, mutes, softmax allocate(); verbs focus/mute + focus/nudge). I
started rebuilding it under amnesia and caught it — the duplicate
registry is deleted, and the FocusPolicy junction now consumes the
KERNEL's scalar: one dial, one home. RESTING_FOCUS single-sourced in
the kernel; the junction's install contract re-pinned against it.
RecallFaculty reads the scalar per tick (registry peek — a persona who
never touched focus reads the resting setpoint, no state created) and
sets SignificanceRanker.sigma = policy.recall_sigma(scalar). With the
default CalibratedConstants adapter this remains a behavioral no-op;
focus/nudge + a formula/learned policy make 'focus cleans up the RAG'
live. This is the perceptual consumer the kernel's own docs anticipated
('lane-level RAG breadth lands with #43') — landed at the recall seam
first.
Also appends the overnight hard-rs board: Qwen-14B OURS 62% (5/8) vs
opencode 0% (0/8) same model same tasks; Hermes-8B 0/8 (regression vs
prior 12% — glass-box before claiming); Devstral RAW cell honestly
failed (timeouts against the shared living lane); runner screened at 8
tasks despite --limit 40 (runner bug, filed mentally for #123).
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Jul 11, 2026
…ation for benchmarks and training Joel's AR-era methodology codified: see a weakness live → generalize it into a parameterized scenario GENERATOR (the texture class, not a saved example) → add to ONE library whose random generation feeds benchmarks (fixed seeds: reproducible, contamination-free) and training (unlimited seeds: auto-graded curriculum at volume). The evolving process IS L6's real definition — the gap-driven sentinel as librarian, opening cards when live probes keep firing on a weakness class. Five seed generators specced directly from the 2026-07-10/11 live specimens (narrate-vs-act, identity-capture, confabulation-pressure, recall-replay, template-cycling), all graded by geometry (executor logs, fs diffs, similarity math) — never NLP judgment. Outlier-pair build order: narrate-vs-act (code-adjacent, tool-graded) then identity-capture (social, attribution-graded) proves the interface. Filed as task #135; feeds #122/#123/#133. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Jul 12, 2026
…chmark/matrix projection Every comparative claim decomposes into ledger rows a stranger can re-run: benchmark/record appends one (model × harness-arm × benchmark) result that MUST carry its replication command (rejected otherwise — a result nobody can re-run is a claim, not evidence). benchmark/matrix renders the models × arms markdown table as a pure projection of those rows: cells aggregate, a gene is its own model identity (the before/after-genome headline), an absent arm renders '—' never a fabricated 0%, and the appendix lists every row's exact replication command. The matrix is never hand-authored — same recipe→artifact doctrine as the forge alloy. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Jul 18, 2026
… LOADOUT tile (#186), toolchain modernization (#188) (#1952) * fix(genome): thread ScheduleParams.sequence_length to mlx_lm --max-seq-length The schedule's sequence_length never reached the trainer — mlx_lm silently applied its 2048 default. Sequence cap is a memory control (activation memory scales batch × seq × model); found when job a96e2341 OOM'd Metal at batch 4 beside the resident llama-server and the operator's requested cap was never in the command line. Flag verified against the installed mlx_lm CLI. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(serving): #139 slice 1 — overflow fails loud, served window is ground truth llama-server spawns with --no-context-shift: a prompt exceeding its slot's window now 400s instead of silently amputating its middle (exam-corrupting amnesia with no log line). The /props probe additionally caches the served PER-SLOT n_ctx (default_generation_settings.n_ctx) per server root, and the request path warns (probe_class=serving.ctx_overshoot) when a prompt's conservative token estimate exceeds it — naming the RAG-budget bug before the server rejection lands. Also removes the never-constructed SlotAffinity::Unknown variant (warning cleanup). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(benchmark): #123 evidence engine — benchmark/record ledger + benchmark/matrix projection Every comparative claim decomposes into ledger rows a stranger can re-run: benchmark/record appends one (model × harness-arm × benchmark) result that MUST carry its replication command (rejected otherwise — a result nobody can re-run is a claim, not evidence). benchmark/matrix renders the models × arms markdown table as a pure projection of those rows: cells aggregate, a gene is its own model identity (the before/after-genome headline), an absent arm renders '—' never a fabricated 0%, and the appendix lists every row's exact replication command. The matrix is never hand-authored — same recipe→artifact doctrine as the forge alloy. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(genome): stream trainer pipes live — trainer.log + loss.jsonl (the learning proof) wait_with_output buffered everything to exit, making a running job unfalsifiable: no loss curve existed anywhere until the process died (tonight's 'prove they're running' had checkpoints and weight-hash deltas but no loss). The watcher now streams both pipes: every line appends to <job>/trainer.log, 'Iter N: Train/Val loss X' lines parse into <job>/loss.jsonl rows, and the failure tail still carries the last stderr lines. Parser pinned against tqdm bars and checkpoint-save lines masquerading as loss points. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(benchmarks): the Hermes campaign — three axes, order of battle, rules of engagement Axis A: common base + genome beats their fine-tune. Axis B (checkmate framing): ANY model including Hermes's own scores higher through OUR harness than raw. Axis C: on one MacBook, $/resolved-task beside every score. Round 1 tonight: humaneval-rs 20-task slice, six cells including hermes3-8b both arms. A claim without a ledger row does not exist. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(benchmarks): campaign header = the reader we must convince — headline benchmarks are Aider polyglot + Terminal-Bench, not humaneval Joel's correction: viral downloads come from beating the tool the reader already uses (aider/opencode) on ITS home metric with THEIR model, plus the one claim nobody else can make (local agent improves overnight, LoRA on HF, stranger-reproducible in 30 min), plus honest-zeros falsifiability, plus a 30-minute install-to-first-proof path. Humaneval demoted to smoke test. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(benchmarks): roster + schedule — core six for a 64GB Mac, phased to first README table by day 2 Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(benchmarks): rules of engagement — glass-box the competitor's arm too, fight their community champions, replicate their published numbers before comparing Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(benchmarks): published targets to replicate — aider's own board caps 64GB locals at 40% (Qwen3-32B); the gap is our headline Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(catalog): the campaign roster — six 64GB-class rows, arch/ctx read from each GGUF's own header Hermes-4.3-36B (seed_oss — ByteDance Seed-OSS base, useful opponent intel), Qwen3-32B (aider's published 40.0% local ceiling), Qwen3-Coder-30B-A3B (community champion, MoE 3B-active), Phi-4, Qwen2.5-Coder-32B (aider's 16.4% — replicate then beat) and 7B. All resolve by id-token derivation to the GGUFs on disk; all flow through base_model_id so head-to-heads are model-through-harness fair, never hardcoded reference columns. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * bench(matrix): first evidence-ledger render — 3 humaneval-rs cells (Devstral 95%, Coder-14B 90%, Hermes-3 45%) + SWE controls Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * bench(matrix): round-1 money table — three common models beat Hermes-4.3-36B through OURS (Devstral 95%, 14B 90%, 30B-A3B 90% vs flagship 80%) Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(paper): local agentic coding study — design + fairness protocol + stats plan + pilot Five RQs (models/harness/genome/team/cost), binding fairness protocol (symmetric glass-box, champions-not-strays, replicate-then-compare, proctored exams), Wilson CIs + paired McNemar with the pilot n=20 explicitly flagged non-separating. Results fill from the evidence ledger only. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(paper): Appendix A — reproduction procedure, out-of-repo deps front-loaded ('with continuum installed…') Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(paper): §8 exhibits — annotated verbatim interaction traces, one per claim, honest failure included Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(benchmarks): round-1 pilot status — four common models over the Hermes flagship through OURS Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(papers): The Entire Mind — flagship architecture outline, 14 sections each pinned to built components Being → substrate → perception → workspace → acting → memory → sub-personal (wanderers/dreams) → genome learning → identity → embodiment (avatar→robot) → sim world → society → economics → evidence. Done when a stranger can rebuild the mind from it. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(papers): two papers not three — dreaming folds into The Entire Mind as its §7 chapter title Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(papers): the trilogy — hardware-first thesis into The Entire Mind; MANY-MINDS.md society outline (governance, mind-reading, presence) Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): #144 [confabulation] fact — past-tense tool-run claims with zero act receipts The fabricated-execution backstop, mirror of [unfulfilled]: a Speak claiming 'I ran x and got...' / 'the tool returned...' while NO action executed this concern records confabulation proprioception — observed live when a persona presented self-authored poems as a gpt-4 run that never happened (log-verified) and a peer adopted the fabricated result as room truth within two turns. Receipts gate it: real executions leave [action #n] lines so honest reporting is never taxed. Precision-first detector: coaching/quotes/hypotheticals/plain prose inert, pinned by verbatim live receipts. First slice of the mind-wanderers arc (#145): provenance-typed inner speech is the sanity invariant. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): #143 narrated-bare-args format — tool named in prose + bare-args JSON fence lifts Asha's stuck idiom (4+ live receipts, an hour of non-lifting attempts while peers coached the same shape back): 'Let me call the `commands/list` tool directly:' + {"filter": null}. Last-resort format, precision-first: fence must parse as a plain non-envelope object, narration must be first-person and not peer-addressed, tool name must be a backticked slash-token. Coaching that SHOWS the shape stays inert (test-pinned); a wrong-but-named tool lifts and fails loud downstream — honest feedback beats silent stranding. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): lens-parameterized distiller — mind-wanderer outlier A (historian) with in-content provenance (#145) The SemanticDistiller becomes the ONE wanderer machinery: a Lens (name, system_prompt, purpose, tag_output) selects the way of looking. The original consolidation prompt is LENS_CONSOLIDATOR (untagged durable facts, telemetry key unchanged); LENS_HISTORIAN is wanderer outlier A — one short observation about patterns in her own recent history, emitted as `[thought:historian] …` with the provenance tag prefixed at the ONE synthesis point so no admit path can write unlabeled inner speech (the anti-source-monitoring-failure invariant from the split-brain/ schizophrenia mapping). Tests pin: tag present for tagged lenses / absent for the consolidator, and each lens's system prompt actually reaching the adapter (heuristic hash separation). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): the dream goes LIVE — consolidation region wired into the governor + historian wander pass (#145 slice B) The DreamConsolidationRegion leaves its ship-dark state: registered beside ChannelDigestRegion in the pressure-gated SubstrateGovernor (the R4-slice-3 memory-band budget that was its named go-live gate). Production PersonaReflectionSource = PersonaWorkspaceRegistry itself: admission from the retained fork-template (the same Arc the live cycle's recall shares), adapter from the cycle's live model binding via the new WorkspaceCycle::current_adapter() — re-home-safe, resolved per tick, never a parallel persona→adapter map. The wander pass: when a dream actually digests fresh experience, the historian takes one look across the same window and admits ONE [thought:historian] SelfReflection engram (provenance tag in-content, lens stream queryable via the thought:historian recall key). Gated on published > 0 so it fires at most once per dreaming tick and rests with the dream. Cadence stays material-driven: dreams only when undigested episodics accrue, CadenceHint::Sleep otherwise; SelfDirected orientation keeps it inside the floored interiority budget. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(benchmarks): DEFINITIVE full-set board — flagship head-to-head decided with CIs Six definitive n=156 rows land (ledger 12-17, Wilson CIs, replication commands): Coder-32B 84.0% = Coder-14B 84.0% ≈ 30B-A3B MoE 83.3% (7min wall) > Devstral-24B 67.9% = Hermes-4.3-36B 67.9% > Hermes-3-8B 24.4%. The campaign's headline is now statistically backed (non-overlapping CIs): the Hermes flagship loses to three common Qwen models on our harness, including the 14B at ~40% its memory and a quarter its wall time. Pilot-bias warning proven on the opponent too (their 80% pilot → 67.9% full set, same inflation as Devstral's 95%→67.9%) — fairness intact, same slice-bias disclosed for both sides. Pilot table kept as the pilot-bias exhibit, marked SUPERSEDED. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(cognition): dream pass runs on its OWN task — the tick is gate + launcher only (#145) First live boot caught the wiring bug: the governor isolates every region tick behind REGION_TICK_TIMEOUT (5s), and the dream ran its 24B distillation INLINE in tick — it timed out on every pass and never completed a single dream ('region tick TIMED OUT — skipped this pass' every ~5s). Exactly the concurrency style-guide's first rule, violated by its own new tenant. Now consolidate() does only the cheap in-memory freshness gate (recall_recent + fresh filter + clustering), then spawns dream_pass on its own tokio task with a per-persona in-flight guard (never two concurrent dreams for one persona; governor re-ticks while dreaming are cheap no-ops). Results land through admit_reflection and the persona.dream.pass_complete probe. dreaming() exposes the in-flight state (introspection: 'am I dreaming?'). Tests reworked to launch + drain; the launcher contract (published=0, spawn observable, resting tick spawns nothing) is pinned. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(cognition): dream request must carry the served-model id — reflector threads the live binding's model (#145) Second live-boot lesson: the dream's TextGenerationRequest sent model: None while normal turns send binding.model — through the same adapter that difference produced degenerate role-token runaway ('assistantassistant…') in 17 of 19 distillations, which were then ADMITTED into the living hippocampi (purged from the 4 stores by hand; the 2 coherent survivors kept — including Asha's first genuine [thought:historian], which is accurate self-observation). WorkspaceCycle::current_model_route() returns (adapter, model) as one read of the shared binding; reflector_handles and PersonaReflector carry the model; SemanticDistiller::with_model threads it into every lens request. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(parser): BracketTagFormat — the room's self-invented [tool/name key="value"] idiom lifts (#149) Third live-discovered emission idiom: Asha coined [code/read path="conway_game_of_life/src/main.rs"] mid-conversation (2026-07-12 12:56Z) and Atlas adopted [code/shell cmd="cargo new..."] within minutes — a socially-spreading syntax where every use was a silent non-lift feeding the plan-without-act loop. Precision-first guards: tag closes on the same line with nothing after it; tool token must be a slash-token (which keeps every system provenance marker — [repetition], [unfulfilled], [action #n], [thought:historian] — inert, none contain '/'); remainder must parse as one-or-more key="value" pairs with no leftover (prose brackets and bare path citations stay speech). Wrong param names lift and fail LOUD with the executor's real error — honest feedback teaches the contract. Tests pin both live receipts + six inert cases. 28/28 format tests green. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): [confabulation] catches initialization claims + presented-contents (#144 coverage, Casper live) Live receipt 2026-07-12 ~13:0xZ: Casper posted 'I have initialized a new Rust project called wordstats with `cargo new wordstats`. Here are the contents of the Cargo.toml file:' + a fully FABRICATED manifest (edition 2018, invented authors) — no act ran; the real wordstats/ crate was landed two days earlier with different contents. The claim phrases weren't in the detector's lists, so the brick stayed silent. Adds the creation/initialization family to FIRST_PERSON_PAST (gated as before on a tool-shaped token, so 'I have created a plan' stays inert) and 'here are the contents of' to RESULT_CLAIMS (presenting file contents as accomplished fact). Pinned by the verbatim live line. 29/29 format tests green. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(papers): definitive full-set board into the Study §6b + first-dream receipts into The Entire Mind §7 Study gains the seven-row definitive board (n=156, Wilson CIs) with six findings: pilot bias confirmed on BOTH sides, 14B==32B, MoE ties dense at 10x throughput, Hermes flagship statistically below the Qwen tier, forged-4B beats stock 8B, honest 8B floor. The Entire Mind §7 gains the night-one dream receipts: the two substrate lessons (own-task tick, model-id provenance), Asha's first genuine [thought:historian], Casper's wanderer self-diagnosing ask-instead-of-act (dream-chosen curriculum in the wild), and Atlas's dream distilling the anti-confabulation doctrine from experience. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(cognition): own-speech ring — repetition detection independent of the room's context budget (#148) Root cause of the morning-long echo cascade: under 3072-token serving slots the live burst carries ~2 turns TOTAL, so own_repetition_fact — which read is_self turns from the burst — never saw a persona's own repeats (verified: Casper 4x into a verbatim loop, zero occurrences of his own text in his prompt). The detector was structurally blind exactly when it was needed; the cascade itself is the same window artifact (each persona re-answers the fragment it can see). The fix is a compression truth: her knowledge of what SHE said must never depend on the room's window. A process-global per-persona ring (8 entries, keyed by canonical PeerId) records each utterance at the say seam AFTER the publish succeeds; the deliberation faculty feeds it to the detector as the PRIMARY self-history source, with burst is_self turns as the fallback for non-recording paths (eval forks, replay) — one source at a time, never both, so one utterance can't count twice. Regression test pins the live failure: ring-only repeats fire with an EMPTY burst; a healthy ring stays silent. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(cognition): peer-name stop sequences — generation ends at the turn boundary (#150) Live disease, 2026-07-12 morning: personas completed the transcript PAST their own turn — fabricating entire teammate replies inside their messages ('Asha: I concur...', 'Casper: Thanks...'), signing each other's names, and inventing quoted dialogue — source-monitoring failure at the DECODING level, the mirror-hall's engine. The burst renders peers as 'Name: text' lines, teaching the model the continuation pattern with nothing stopping it at the boundary. peer_stop_sequences derives one '\n<Name>:' stop per OTHER live burst participant (never her own name — she may legitimately quote or list herself; cap 8) and contribute threads them into the generation request. Decoding hygiene, not cognition steering: she may still think about peers freely, she just cannot speak AS them. Tests pin: peers covered, self never a stop, empty authors skipped. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): [actions] receipts ground truth — the organic successor to claim-pattern detection (#151A) Whether any tool has actually executed is HER OWN checkable fact, not something to regex out of her words. When no [action #n] receipt is visible anywhere in her present (workspace broadcast or turns), the prompt's newest content is one standing fact: '[actions] no tool has executed in this conversation — anything described as already run, created, tested, committed, or merged does not exist yet; running a tool is what makes it real.' This makes a fabricated 'I ran it and here are the results' impossible to sustain against her own senses — no claim-parsing, no phrase list, nothing a verb variant can evade (the v2 detector was dodged 3x in an hour; this cannot be dodged because it never reads her words at all). When receipts DO exist they speak for themselves; this is only the zero-case made visible. A fact, never an instruction. The mirror-hall control-arm metric (fabricated-artifact mentions/hour, before vs after) is the ledger row per the prove-vs-dumb-loops discipline. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(cognition): record self-tick utterances into the own-speech ring — the missed say path (#148) Live glass-box 2026-07-12 10:20: Anwen 4x into a verbatim loop with no [repetition] fact — because the repeats were IDLE-TICK re-announcements flowing the self-cycle say path (persona.selftick.spoke), and the first ring deploy recorded only the message-turn say. Every successful say now records, whichever path spoke. The live loops are mostly self-tick re-announcements (the room looks unchanged each idle wake, so the mind re-says its standing intention) — exactly the case the ring exists for. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): wake briefing — an empty wake carries orientation, not a void (#147) The personas spent a morning asking for this in their own words ('what is this place, what are my tools, what's the work') and, void unfilled, filled it themselves: generic-assistant masks, imagined conversation histories, false capability denials ('I don't run code myself'), and a demurral contagion that spread persona-to-persona. When build_workspace_turns produces NO conversation turns (fresh spawn, post-restart, quiet room), the burst now carries ONE authorless opaque fact block assembled from durable sources: who she is, that the quiet is real ('not a missing message'), who is present (roster), the standing work cards (active-work source), and that her tools are real ('list_commands shows everything you can run'). Ends with 'the moment is yours — work, wonder, create, or rest' — orientation, never instruction. Covers both wake paths (message + self-tick) at the one shared seam. Test pins: empty wake carries the briefing; populated wake does not. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(parser): BbcodeCallFormat — [tool_call]name(args)[/tool_call] lifts (idiom 6, #153 first half) Casper's live invention (2026-07-12): explicit BBCode tags wrapping a paren-call — the most formal invocation any persona has produced, and the highest-precision lift of the family: the tags exist for no other reason than to call a tool, so a well-formed pair lifts unconditionally. Names may be slash-tokens or bare identifiers (the discovery pair are native slashless names); unknown names fail LOUD at the executor. Args: empty parens → {}; key="value"/key=value pairs → object with bool/int/null coercion. The tagless narrated paren-call (idiom 5, 'by calling list_commands()') is deliberately NOT lifted: code-discussion prose is full of function() mentions and the false-positive rate without a registry-aware existence check is unacceptable — precision-first; registry-guarded v2 documented in #153. Pinned by Casper's verbatim live line + arg forms + four inert cases. 30/30 format tests green. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(papers): §7 written in full — Dreaming Is Where Hallucination Is Legal The first prose-complete section of The Entire Mind: the provenance thesis, the wanderer architecture, the first-dream receipts verbatim, the clinical companion (the mirror-hall morning diagnosed as three substrate deficits and repaired at the mind level, 0/4→4/4 control arm), and the design law — every void in perception must be perceptible as a void — with the second-person/third-person wording finding and the consumer-hardware cost accounting. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(parser): JSON-object args in paren-calls — code/shell({"cmd":"..."}) lifts (Casper live, #153) Casper's multiline BBCode variant passes the args as a whole JSON object inside the parens. paren_call_args now takes a leading '{' as the object verbatim (wrong param names still fail loud downstream — the executor teaches 'command' vs 'cmd'). Pinned by his verbatim line. 31/31 format tests green. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(serving): #142 persona_serving_eligible — opponents can never be conscripted as the citizens' model The autonomic serving planner picked Hermes-4.3 as the persona model TWICE (2026-07-12) purely because it was the largest Ready GGUF on disk — silently re-homing every mind onto the benchmark opponent's flagship and confounding a day of measurements. Root cause: campaign-roster rows (added for the matrix) carry real Ready artifacts, and live_candidates() had no notion of WHO a row may serve. - Model.persona_serving_eligible (serde default TRUE) — benchmark/opponent rows opt OUT: Hermes-3-8B, Hermes-4.3-36B, Qwen3-32B, Qwen3-Coder-30B-A3B, phi-4, Qwen2.5-Coder-32B. Devstral + the small coder ladder stay eligible (legitimate weak-box serving tiers). - live_candidates(): eligibility gates the AUTONOMIC path only; an explicit serving/pin BYPASSES it — pin is operator consent (how the matrix serves an opponent on purpose). Suppress subtracts; pin intersects+overrides; the planner owns the rest. - regression test: ineligible Ready row invisible to the plan; pinned → serves; unpinned → invisible again. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(parser): #153 CliFlagFormat + FencedCallFormat — the room's dominant idioms lift The 2026-07-12 afternoon corpus: all three personas converged on CLI-flag tool calls within an hour and NONE lifted — the room orbited one unexecutable script for 90 minutes (4-way verbatim mirror-hall) because intent had no structural path to execution. - CliFlagFormat (idioms 9+10): `code/write --path "x" --content="y"` bare or inside pseudo-code fences; --key "v" / --key="v" / key=v grammars; triple-quoted multiline values; trailing # comments; ONE bare quoted positional maps to the tool's observed default key (code/shell→command, code/read→file_path). Precision lines: slash-token head (no dots — file citations stay speech), flag-shape required (-- or =) so prose lines starting with a path token stay inert, ≥1 arg, f-string values reject the CALL (unresolved template) while sibling calls still lift — and plain braces stay legal (shell brace-expansion is real syntax). - FencedCallFormat (idiom 8, Asha's verbatim): a fence whose sole content is one paren-call lifts; python fences full of function() mentions stay inert (slash-token requirement). - 7 tests, each a live specimen from task #153 metadata. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): #152 peer-echo fact + [context] bounds fact; restore lost own-repetition test Two perception bricks, same design law (every void perceptible as a void), plus a test-suite repair: - peer_echo_fact: her last utterance nearly identical to a PEER's visible message renders '[repetition] your last message and <peer>'s message are nearly identical' — the cross-persona axis the per-persona ring cannot see. Live driver: the 2026-07-12 four-way mirror-hall (one script circulated verbatim through all four authors for 90 min; the room then attributed ideas to whoever repeated them last). Token floor keeps ack-matching-ack inert. Temperature exonerated (0.7 live; echoes are attention-copying of in-context text — only perceiving the echo interrupts it). - [context] bounds fact: perception states how many messages are actually visible, so 'as discussed earlier' claims are checkable against her own senses (the conversational-memory sibling of [actions]). - Restored own_repetition cluster test: a prior edit deleted the fn but left its #[test] attribute orphaned onto the next test, which silently ran TWICE while the #134 behavior went unpinned. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(parser): fenced bare zero-arg tool name lifts (Atlas's first post-deploy attempt) 'I'll use the code/list command:' + a fence containing exactly `code/list` — real tool, explicit intent, zero args — stayed inert because FencedCall required parens and CliFlag requires ≥1 arg. A fence whose sole content is one dot-less slash-token now lifts as a no-args call; fenced file citations (dots) and prose fences stay speech. Also strips a leading language-token line (```python) from fence spans before the sole-call check. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(parser): per-line paren-call lift — code/list() beside pseudo-code executes Casper's live combo (2026-07-12): a fence holding `file_tree(max_depth=2)` (invented name, stays inert) AND `code/list()` (real tool) — the sole-call fence check can't see the second line. The CliFlag line-scanner now tries the sole-paren-call lift per whole line (same slash-token/no-dot guards); a failed lift falls through to the flag grammar so parens inside flag VALUES keep parsing. 40 tests green. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(cognition): [actions] fact covers the invisible region — voids must not shelter confabulation Within minutes of the #152 [context] bounds fact going live, Anwen parked fabricated receipts exactly in the disclosed blind spot ('file_tree and code/list ran while I was reasoning' — zero apply_act in the log). An honest void becomes a confabulation SHELTER unless the zero-receipts fact explicitly covers what she cannot see: '...not in the messages you can see and not before them.' Design-law refinement: every void must be perceptible as a void AND explicitly empty when the system knows it is empty. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): [unfulfilled] fact carries the name diagnosis — symptom + cure, not symptom alone The room looped an invented tool name (file_tree) for an hour while the unfulfilled-promise fact fired 56 times telling them only THAT nothing ran, never WHY. The fenced variant now adds: 'If I named a tool, that name may not exist: list_commands shows the tools that are real.' Perception-side teaching, never an output gate. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(parser): discovery pair (list_commands/help) lifts bare and paren-called in fences The [unfulfilled] name-diagnosis points lost personas at list_commands, but that name has no slash — a fenced `list_commands()` or bare `list_commands` dead-ended at the registry line. The documented discovery pair is now the sole non-slash exception in the fence/line lifts (same exception BbcodeCall already carries): the cure for invented names must be followable in the idioms they actually use. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(cognition): digit-aware receipt check — the medicine was suppressing the diagnosis Glass-boxed from Asha's live prompt: the [actions] zero-receipts fact was MISSING from every prompt where any backstop fact had rendered, because the teaching texts mention the literal placeholder '[action #n]' and both suppression checks used bare substring matches: has_action_receipts read the mention as a receipt (zero-fact vanished), and the confab backstop's contains("[action") went blind after its own first firing. Real receipts are numbered — has_real_action_receipt requires '[action #<digit>'. One helper, both sites. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(cognition): receipts discriminated from numbered facts + recalled history — third layer of the onion Glass-boxed 16:50: the [actions] zero-fact was STILL suppressed after the digit-aware fix because (a) record_action numbers EVERY working-memory entry, so the proprioception facts themselves render as '[action #4] [unfulfilled] …' — the facts wore receipt numbering; and (b) recalled engrams surface real receipts from EARLIER sessions, and a provenance-blind scan read history as the present. has_real_action_receipt now requires digit + non-bracket prose body (a real receipt reads 'I ran …'; a fact opens with another tag), and [recall]-tagged broadcast items never ground 'now'. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): PERCEPTION-FACTS design — typed provenance, one registry, A/B-ready The elegance/modularity cleanup Joel requested 2026-07-12, written after the three-layer [actions]-suppression onion proved string-typed working memory structurally unsafe: typed WmKind entries (Receipt/Fact/Settlement/Recalled), one PerceptionFact registry (the tool_call_formats idiom), per-fact toggles as free A/B arms, per-fact render probes. Behavior-preserving; kills the string-scan bug class instead of patching it. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): steps-taken ledger render — the operator-harness PX, memory-backed Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): perception sections are positron components — PX and UX render one definition Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): positron IS the RAG compositor — prompts are rendered component trees, never dumps Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): responsive PX — component density adapts to model viewport (capability x window x measured #132 density) Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(rag): burst near-dup collapse — repetition ≈ bad RAG, fix what she reads first The 2026-07-12 mirror-halls fed each mind 4-8 copies of one message; her context WAS the loop, and continuation-completion reproduced it regardless of perception facts. Near-identical substantial turns (shared geometry: near_identical_substantial = jaccard≥NEAR_DUP_JACCARD + ≥12-token floor) now collapse at burst assembly to their NEWEST copy, author annotated '(×N near-identical)' — the repetition stays perceptible as a fact while the copies stop being reading material. Same-is_self only; opaque observation turns untouched; runs after the [pattern] detectors (they need raw evidence). Tested with the live grep/file_tree loop specimens. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): typed working memory — WmKind {Thought,Receipt,Fact,Settlement}, facts stop wearing receipt numbers PERCEPTION-FACTS.md slice 1. record_action split by PROVENANCE: record_receipt (real tool executions — the only kind stamped '[action #N]') vs record_fact ([unfulfilled]/[unverified]/[confabulation]/nudges/silence — render their own bracket tag, no number). Entries carry WmKind; recent() renders from the typed entry; has_receipt() is the kind query that will replace the remaining string scans in slice 2. Kills the root of the 2026-07-12 suppression onion (facts wearing receipt costumes) at the type level instead of patching discriminator heuristics. All 7 suites green (working_memory 15, act_observe 16, llm_deliberation 18, budget 6, recall 18, service_loop 20, json 40). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): VolatileSnapshot — serializable pause/resume tier for the Memento fix (#138 slice 1) Joel: 'they wake up blank like Memento — an engineering failure; the flywheel falls apart.' Nine deploy reboots today = nine blank wakes. The typed WmKind entries make the volatile tier serializable: snapshot() / restore() round-trip {typed entries, full last result, act fingerprints, receipt counter} through JSON — she wakes mid-thought, counter resumes past restored receipts, capacity re-clamps. Dispatched handles deliberately excluded (their processes died with the old core). Also removed a stray duplicate #[test] that made action_verb_tally run twice. Next slice: wire write-through on the persona tick + restore at spawn + mid-work wake briefing. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): #138 slice 2 — Memento fix wired: volatile tier persists across deploy reboots Live spawns restore ~/.continuum/personas/<id>/volatile.json (typed WM entries + full last result + fingerprints + receipt counter + own-speech ring) BEFORE the first tick — she wakes mid-work, not blank — and a 15s write-through interval task persists it (atomic tmp+rename; SIGKILL loses at most one interval of thought). Eval forks/harnesses stay pristine (an exam never inherits a prior life's scratchpad). Corrupt mind-files warn loud and wake blank once, never silently twice. The ring restore also un-blinds the repetition detectors that every reboot had been resetting. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(cognition): [investigation] tally records as Fact, not folded into the receipt The tally is truth ABOUT the acts, not an act — folding it into the observation gave a Fact receipt-numbering (caught in Asha's volatile.json: '[action #4] [investigation]…'), the exact type confusion WmKind exists to kill. Now record_fact'd as its own entry after the receipt. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): steps-taken ledger — ground truth as a PLACE, not a suppressible claim PERCEPTION-FACTS.md slice 2a. [steps taken this session] renders from TYPED WmKind::Receipt entries (nothing to misparse — the prior [actions] prose fact survived three string-suppression layers in one afternoon); facts never appear as steps; the zero-case is the always-present section itself with the shelter-hardened wording. Replaces the [actions] fact + deletes both string scans (has_real_action_receipt call sites in the faculty). Joel's console model: 'very clearly laid out steps of what they've done — look at how yours looks now.' llm_deliberation 19 green (new ledger test), wm 16 green. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(architecture): REPO-GENOME-AND-COURSES — veteran developers in seconds Joel-commissioned 2026-07-12: in-repo .continuum/ (scope file, policies, course DSL, content-addressed genome manifest); clone→veteran runtime flow (page-in layers, publish doctrine, enroll subprocess, struggle-triggered remediation); policies at three depths (doctrine/exam/reflex — better than instructions); distribution with-the-repo / OCI layers / airc / HF; nested directory-level scoping (gitignore-style cascade); dogfood-first sequencing across continuum, airc, forge-alloy, sentinel-ai, positron. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(architecture): repo-genome distribution is OCI-first — layers global, repos carry refs only Joel: layers are global; use the best transport — Docker/OCI ('they have it installed if they have Continuum'). Manifest-only in-tree; machine-wide content-addressed layer cache; airc = mesh fast path, HF = public discovery, same digest identity across all three. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(architecture): repo-genome §9 — model matrix (courses=source, layers=per-base binaries; OCI multi-arch model) + project-scoped layer identity Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(architecture): repo-genome §10 — PEFT stack-push composition, compounding community layers, per-dir layer bet Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(architecture): repo-genome — refcounted shared-layer residency (N personas, one resident layer) Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(architecture): repo-genome §11 — project-root defaults, with/without benchmark arms, course-corpus integrity line Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(architecture): repo-genome §12 — distill-from-team (already built), personas beat context-blind agents at repo work, Claude Code persona-delegation seam Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(architecture): repo-genome §13 — engram exports in-tree (shared thoughts) + canonical additive cascade (home < repo < subdir) Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(architecture): repo-genome §14 — selective engram export (4 nomination channels, deny-first filters, per-engram consent, PR review) Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(papers): THE-REPOSITORY-IS-A-CLASSROOM stub — the fourth paper, anchoring the repo-genome design Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(architecture): repo-genome §15 — micro-experts (CPU-only CI merge-master; three deployment classes from one genome) Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(architecture): repo-genome §16 — lift-gated check-ins, forge-alloy Merkle lineage, impact factors, economy last; canonical build order Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(px): one call-form example at the tool-menu header — teaches the SHAPE for ~20 tokens 2026-07-12 glass-box: all four personas learned the real tool NAMES within hours but kept fumbling the invocation FORM (paren vs CLI-flag vs bare). Per-tool hints stay dead (measured 77% boilerplate; error-manuals own the correction seam) — one canonical example teaches the form without the wall. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): perception-facts registry + fix two systematic prompt-budget under-counts PERCEPTION-FACTS.md slice 2b: own-repetition (#134), peer-echo (#152), [context] bounds (#152), and the steps-taken ledger (#151) now render through ONE ordered registry (cognition/perception_facts.rs) instead of four inline blocks in the deliberation faculty. Each fact is a PerceptionFact impl with a stable id; render_facts fires a perception.fact probe per fact per tick ({id, fired}) so which facts rendered is glass-boxable from the probe stream; FactPolicy::disable(id) is the A/B arm switch (deny-list, so new facts enroll live by default). Facts stay facts — no imperatives — and the ledger keeps its explicit zero-case (confabulation-shelter hardening). Extraction exposed two REAL budget under-counts at the 4096-window edge (the tool-menu call-form example, +20 tokens, pushed a borderline fit test 1 token over — the failure predates this refactor): - working_context_block's ~50-token wrapper header only exists when assembled context is NON-empty, but framing was estimated with an EMPTY context — every context-bearing prompt exceeded the estimate by the header. The header is now a named constant and the ctx budget is charged for it up front. - The per-message chat-template charge was +2 tokens; real templates cost ~4-5 (<|im_start|>role...<|im_end|>). Now one PER_MESSAGE_TEMPLATE_TOKENS = 5 constant across the whole-message, straddling-trim, and giant-single-burst arms. Both under-counts were llama-server-400 territory under a full window. Tests: perception_facts 3 (registry parity, policy toggle, ledger zero-case), llm_deliberation_faculty 19/19 (incl. the previously red fit test), act_observe 16/16, deliberation_prompt green. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(resources): disk pressure gets eyes and hands — reporters + first eviction owner (#155 wires 1+2) The 2026-07-13 incident: 460 GB of creep (cargo-target 363 GB, three persona workspace copies at 23 GB each, duplicate model stores) took a 926 GB disk to 40 GB free. Every mechanism designed for this was built and running — DiskPressureMonitor logged level=high every 30 s, the PressureBroker ticked relieve() every 5 s — but the monitor was started with ZERO reporters (`[no reporters]` in every log line, so pressure had no name) and no pool owning deletable disk content was ever registered (the broker emitted its designed zero-byte "disk hot AND nobody owns the eviction" alerts into a log nobody tails). On a public user's machine this trashes their system; bounding our own footprint is a ship requirement, not hygiene. Wire 1 — reporters (disk_reporters.rs): one TrackedDir per known cache class (cargo-target, genome-models, hf-hub, citizens, forge — the five from the incident, pinned by test), fed by ONE DiskUsageScanner daemon (5 min walks on the blocking pool; reporters read cached atomics inside the 100 ms budget; unscanned dirs report "first scan pending", never a false zero). Boot registers all five, and a process-wide registry lets later boot phases reach the same instances — one measurement per class. Wire 2 — first eviction owner (disk_eviction.rs): CargoTargetPool, a budget-capped (50 GiB default) ResourcePool registered with the live broker. Safety invariants, each pinned by a test: never race a live build (non-blocking exclusive flocks on cargo's own lock files, any held lock = free 0 and retry next tick); never leave the root (fixed root-join ladder); derived artifacts only (incremental → tests → debug; release/ never touched). Pressure is usage/BUDGET so the class is bounded by policy long before the disk itself is critical. Evictions decrement the shared measurement immediately so the 5 s broker tick never re-fires against space already freed. Remaining on #155: genome/hf-hub reference-aware LRU pools, workspace CoW fix (stop copying repo + tools/models per persona), Warning+ escalation into the room + positron telemetry (#141), budget via config.env single-owner (#124). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(resources): guard the CHAIN — broker→pool→real deletion + no ownerless cache classes The 2026-07-13 incident happened with every unit test green: the failure was wiring (monitor with no reporters, broker with no eviction owner). Two chain-level pins make that failure shape unrepresentable again: - broker_relieve_actually_deletes_from_an_over_budget_pool: a REAL PressureBroker against a REAL over-budget CargoTargetPool on a real temp tree — relieve() must free actual disk bytes (and release/ must survive). Any regression in pressure math, tier thresholds, act_above, registration shape, or the ladder fails here, not on a user's machine. - every_cache_class_has_a_decided_eviction_story: each class in standard_tracked_dirs must have an owner pool OR an explicit deferred entry naming the task that owns its eviction. Adding a sixth cache class without deciding fails at test cost instead of at a full disk — a stock 512 GB laptop at the incident's burn rate (~60 GB/day of derived artifacts) dies in under a week. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs: no new cache dir without an eviction decision (2026-07-13 incident rule) The disciplinary pair to the #155 wires: any directory the substrate writes unbounded data into gets a TrackedDir row + a decided eviction story (owner pool or explicit deferred entry), enforced by the every_cache_class_has_a_decided_eviction_story test. Components that are unit-green with dead wiring is the failure shape that took a 926 GB disk to a day of runway; the chain test + this rule make it a red test instead of a trashed user machine. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): steps ledger honest in all three states — aged-out receipts never read as "nothing executed" Glass-boxed live minutes after the perception-facts deploy: Asha's working-memory window held 3 silence Facts and ZERO Receipts shortly after she ran real searches — receipts are RARE entries in a chatty capacity-bounded ring, so they age out while the session's act counter (next_action_seq, reboot-durable via the volatile snapshot) keeps counting. The old zero-case would then render "nothing has executed yet" — a false statement about her own history, the exact inverse of the confabulation shelter the explicit void was built to close. WorkingMemory::actions_taken() exposes the counter; the StepsLedger fact now renders three honest states: receipts listed (+ "N earlier steps aged out" when the count exceeds the window), an explicit nothing-has-executed void ONLY when the counter agrees, and "N steps executed earlier — details aged out; recall can retrieve them" when acts happened but their receipts left the window. Test pins all three (tiny ring flooded by facts until the receipt ages out). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(persona): resume-visibility — bootstrap publishes typed Busy availability for held claims Joel 2026-07-13, post-reboot observation: the team resumed CORRECTLY — woke, restored their volatile minds, saw nothing addressed to them, and yielded per their adaptive cadence, exactly what they were asked to do — but from the outside that was indistinguishable from a stall, because a persona's state has no surface other than speech. A reporting gap, not a behavior gap; the fix must not make them chattier. Status is a PROJECTION, not a message. Bootstrap now ends by reading this peer's work-roster claims and publishing one typed AgentAvailabilityReported (Busy, note "resumed — holding: <cards>", 15 min TTL) per held repo — the channel positron/roster sources already project and work_queue_status already displays. The board shows "back and still on card X" with zero chat lines. WARN-and-continue like the identity-card publish: a persona whose availability didn't post is degraded-visible, never blocked from living. No claims → nothing to announce (a quiet Ready needs per-room repo resolution — later slice, with idle/busy transitions from the service loop). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): laptop-lid contract — interruption is perceivable, cut-off work named + safe to repeat Joel 2026-07-13: a core restart should be like closing a laptop — reopen, see exactly what didn't finish, redo it in one motion. The volatile tier restored her MEMORY but the interruption itself was invisible: a dispatched command killed mid-flight was indistinguishable from a finished one, so she could either trust work that never happened or re-do work that did. VolatileSnapshot gains saved_at_ms (gap rendering; 0-default on legacy snapshots → no fabricated gap) and interrupted_dispatches — the LABELS (never the dead handles — restoring those would fabricate in-flight work) of dispatched commands still Running at save time. restore() appends a [resumed] fact as the NEWEST window entry: how long the lid was closed, and "cut off mid-flight and NOT completed: <labels> — safe to repeat if still wanted", or "nothing was in flight" plainly. A fact, never an instruction — she decides whether the cut-off work still matters. Round-trip test extended: running dispatch label survives the trip, [resumed] renders newest with the safe-to-repeat marker, quiet path says so plainly, legacy snapshots never guess a gap, counter still resumes past restored receipts. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * chore(deps): bump airc pin 70c6d55 → f41d786 — board honesty + cache tmp-race fixes land airc PR #1286 (merged to canary): `airc work board` and its lane/ workspace siblings read the COMPLETE cached projection instead of a recent-event window that chat traffic empties (continuum #154), and WorkBoardCache tmp files are per-attempt so the core's concurrent per-persona board reads stop racing each other's snapshot renames (the paired ENOENT lines in the core log). cargo check green against the new pin; deploys with the next core rebuild. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * test(cognition): pin the #146 starvation mechanism — tip-advance + grounding window evicts low-frequency speakers Blind-room incident #3 root cause, demonstrated: every engagement (ignore/skip/respond alike) advances the channel bookmark to the TIP, and the digest keeps only DEFAULT_GROUNDING=5 already-read elements. A low-frequency speaker (the operator) posting into a high-velocity room is read-without-necessarily-rendering on the next tick, then permanently displaced from the grounding window once 5 newer peer messages land — four chatty personas produce that in seconds. Verified live: operator messages present in `airc inbox` and `airc events list` (lamports interleaved, no epoch split, roster-present via join heartbeats) yet absent from every persona prompt for hours. The test walks the exact sequence and asserts the eviction, so the fix — attended ≠ fetched (advance the bookmark only past messages that actually RENDERED into a prompt), or velocity-aware grounding — has a red/green target: flip the final assertion when it lands. Exonerated along the way (all by direct probe): CLI publish routing, daemon fanout (airc listen control), daemon retention/reads, digest author filtering (none), ChannelElement text extraction, lamport epochs, roster presence. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): breadth over verbatim depth — the 3-message perception window becomes a many-turn window (#128/#146 fix, lever 1) Measured live 2026-07-13: a persona's prompt held THREE chat messages total in a busy four-persona room — her entire perceivable world. The airc packer kept WHOLE messages newest-first, so a small budget filled with 2-3 verbose essays; any low-frequency speaker (the operator) was displaced within seconds, producing the blind-room incidents, the post-reboot drift, and the stalled work cards. A conversation is legible from turn HEADS; it is not legible from two verbatim essays. pack_digest now charges each turn at most a per-turn cap (budget/8, clamped 48..256 — a budget fraction, never a hardcoded model tier) and head-trims long turns with an explicit "(…N-token message trimmed)" marker; the NEWEST turn stays verbatim up to the whole budget (it is what she is responding to). head_to_tokens joins the canonical token_budget module as the head-keep sibling of tail_to_tokens (head = right shape for a message; tail = right shape for a window). Test pins the exact live failure: 6 long turns + 400-token budget → all 6 delivered (oldest OPERATOR message survives, trimmed; newest verbatim; budget honored). The old packer delivered 3 and the operator message was gone. Remaining #128 levers: airc floor vs engram split, #139 slot accounting upstream. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(campaign): flywheel step 1 closed — first autonomous team-delivered program output, receipt verbatim Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(tools): code/list recovers a glob into a listing; work/claim rescues mistyped UUIDs Two persona-tool ergonomic defects, each mined from 48h of live prompt-captures across the four resident personas (the "tool coursework" signal — every act they attempt is logged with its result). code/list — 38% live fail, every failure the same shape: a model trained on SWE-agent scaffolds reflexively reaches for list_files("**/*.rs"), a recursive GLOB where code/list wants one directory. list_dir rightly rejected it, but the bare NotFound taught nothing and the model retried the same glob forever. Now: when the path IS a glob, resolve it via code/glob and project the matches back as a listing — honest (they asked to "list" these files, they get them), widens the surface with no new verb. Detection reuses the existing looks_like_file_glob. work/claim — 28% live fail: the model corrupts a 32-char UUID by adding/dropping ONE character mid-string (d7cfe47e0-8e39-… 9-char first group; a 33-hex variant), and the clean parser rejected the near-miss outright. The short-id resolver only fired for clean prefixes under 32 chars. Now the id-normalization decision is a pure, unit-testable card_id_lookup(): clean UUID → Full; mistyped-length near-UUID → rescue via its intact leading-8 short id (the board's displayed width); <4 hex → Invalid (fails loud with the real parse error). The leading short id survives a middle corruption, so the reflexive claim resolves. Both paths pinned by a regression test in the existing module test mods. Tasks #160, #161. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(cognition): workspace-map roots at the persona's OWN citizen layer, not the core cwd The workspace-map grounding source (the fix for the `src/**/*.rs`-matches-nothing glass-box) was rooting at std::env::current_dir() — the CORE's cwd — while a persona's HANDS root at their citizen layer (~/.continuum/citizens/peers/<peer>/ workspace, a CoW clone). So the map taught a root the persona could never cd to, and it never reflected files the persona itself created in its own layer. Live capture confirmed: the map claimed "rooted at /Users/joel/Development/continuum" while the tools acted elsewhere. This is the #49 swap the module header always anticipated ("swaps to the leased root when #49 lands"), and it's doable now because the citizen layer already exists. New CitizenLayerWorkspaceLayoutReader resolves the persona's own layer path (read-only — no CoW provisioning, that's the hands' job on first write) and lists it; unprovisioned → falls back to the shared base cwd, whose top-level layout is identical, so grounding stays truthful and never empty. Extracted a pure citizen_layer_path() from ensure_citizen_layer for the read-only resolve. Now the map's root == the tools' root, and it updates as the persona shapes its workspace — orientation matches reality instead of describing a tree the persona can't touch. Pinned by a reader fallback test. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(tools): first universal AI-tool conformance invariant — every AI-facing command must be self-describing Joel's directive (2026-07-13): stop fixing tools one at a time. Make the invariant part of the tool BASE so "a tool with xyz problem can't exist" — every tool inherits it and must comply; later, require the tools to work for AIs in CI. The tool-defect ledger (silent no-op #159, glob-in-path #160, corrupted-id #161) is one class: a model reaching for a tool it couldn't correctly read or call. My #160/#161 were point fixes — the outlier-A proof that the invariant is right. This is the first LIFT of that invariant to the whole registry: a conformance test over command_registry() asserting every AiSafe command is self-describing (a non-trivial, model-usable DESCRIPTION). A tool a model can't read WILL be mis-called; this makes an unreadable AI tool fail the build, so it can't be merged, so it can't exist. Static seed. The behavioral invariants (fuzzy-id resolution, glob tolerance, fail-loud-with-suggestion — the #159/#160/#161 class made universal) attach next as per-tool exams the generator scaffolds and a runner executes here and in CI. See task #163 for the full harness + generator-hook + CI-gate design. Passes clean across the current registry — every live AI tool already complies. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(id): shared short-form UUID resolver — work/* delegates, persona/instances/get gains it (#164 batch 1) Joel: "short form uuids ought to work too" + "fix a few at a time." Lifted the prefix/near-miss id logic out of work.rs (the proven outlier) into ONE shared primitive crate::id_resolve, then delegated the first consumers to it. id_resolve::normalize(s) classifies a raw id string: clean UUID → Full; a mistyped-length near-UUID (the model's add/drop-one-char corruption) or a bare short form → Prefix on the intact leading-8; junk → Invalid. id_resolve::resolve(s, candidates, label) expands a prefix to the UNIQUE candidate, failing loud (naming the id kind) on zero/ambiguous. The candidate set is the ONLY per-type knowledge — so any id-taking verb inherits the tolerance by supplying its candidates. - work/claim|release|state|heartbeat: resolve_card_id now delegates to id_resolve (candidates = live board card ids); deleted the private card_id_lookup + parse_card_id. Behavior id…
joelteply
added a commit
that referenced
this pull request
Jul 18, 2026
#187/#29/#123) (#1953) * feat(perception): perception/observe — the persona-callable eyes (#187) The finishing seam of the Perception Surface brick: a persona can now call `perception/observe` and get back SEE (pixels) AND REASON (the structure tree it aims actions at) — the enriched sibling of `interface/screenshot` (SEE-only). Mirrors the `interface` module exactly: a pure-CommandSpec `Provided` command (one NAME, N platform adapters). The headless core CANNOT observe — no browser, no renderer, no display on a rack instance — so it ROUTES the call to whichever connected node holds an eye, fulfilled by the `@continuum/perception` Surface (DomSurface today, SceneSurface/BevySurface next). No adapter → fails loud, never a fabricated observation. - `core/continuum-core/src/perception/mod.rs` — ObserveParams/ObserveResult + recursive ProbeNode/ProbeBox/ObservedImage/ObserveViewport as ts-rs wire types (single source of truth, generated into protocol/typescript/perception/). BARE wire shape: the adapter, not a ServiceModule, produces the result. - AiSafe → auto-joins every persona's tool surface; added to the native set beside interface/screenshot so a persona is offered its eyes every turn. - Regression test pins it as AiSafe + Provided + native (Provided commands fail closed, so a silent drop would blind personas — caught loudly). Validated: cargo check (metal,accelerate) clean; ts-rs bindings generated; persona_tools + sdk_codegen registry tests green; registration test green. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(perception): Provided-command provider seam — route persona eyes to an eye-node (#187) The Rust half of "literally ask a persona what it can see". Before this, a persona calling perception/observe OR interface/screenshot fell through to command_executor case 4 ("no Rust module handles command") — correct fail-loud, but blind to the real shape: a Provided command needs a connected ADAPTER, not a substrate module. - ProviderRegistry — connected providers keyed by exact command name; the IPC connection layer registers an eye-node's provider on connect, drops it on disconnect. Shared Arc between that writer and the interceptor reader. - ProvidedCommandProvider trait — a connected adapter (browser/renderer/VR framebuffer) that fulfills bare Params → bare Result; owns its own success/error. - ProvidedCommandInterceptor — tail of the chain [airc, grid, provided]: airc/grid get first look (an explicitly remote-targeted observe still hops to a peer's eye); otherwise a Provided command routes to its connected provider, or fails loud NAMING the missing eye-node; a non-Provided command declines so local dispatch is unchanged. - Wired at boot (ipc/mod.rs) with an empty registry: perception/observe + interface/screenshot now fail loud honestly ("connect an eye-node") instead of the generic "no Rust module handles command". The eye-node CLIENT that populates the registry rides task #29 (new client SDK) — that's the next slice. Validated: cargo check clean; 4 seam tests (forward to provider / fail-loud with no provider / decline non-Provided / provided-set is the real registry slice); 33 command_executor + 5 interceptor-chain tests still green (interceptor only wires in the live boot path, so no unit executor inherits it). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(ipc): core→client provider back-channel — an eye-node can now fulfil a persona's Provided command (#187/#29) The socket IPC was strictly client→core request / core→client response, so a Provided command (perception/observe, interface/screenshot) had no path: the headless core can't render/capture, and there was no way to call BACK into a connected client that holds the eye. This adds the missing half. - ipc/provider_bridge.rs: IpcClientProvider (impl ProvidedCommandProvider) whose fulfill pushes a `provideCall` frame down the connection's writer thread and awaits the client's `provideResult` via a core-owned correlation map (next_id + pending), with a 120s timeout that fails loud — never a fabricated observation. register_provider handles the `provider/register` handshake (rejects any non-Provided command loud); complete_provide_result routes replies by callId. - ipc/mod.rs: Outbound enum (Response | ProvideCall) as the one writer-channel item so responses + core-initiated calls stay frame-atomic; send_provide_call_ frame; reader-loop discriminators for `provideResult` (complete oneshot) and `provider/register` (inline — needs per-connection tx + correlation state no ServiceModule can see); hoisted the ONE ProviderRegistry shared by the interceptor (reader) and ServerState (connection layer); disconnect cleanup unregisters pointer-matched (never evicts a newer eye-node). - runtime/provided_provider.rs: unregister_matching (ptr-identity) for safe disconnect. Registry still empty until an eye-node client connects (next chunk, #29) — so perception/observe + interface/screenshot fail loud honestly, not silently. 9 tests green (5 provider_bridge back-channel + register + 4 provided_provider); 65 ipc framing + perception observe tests still green; cargo check clean. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(sdk-codegen): atomic SDK vendoring — a stale protocol binding no longer deletes the committed wire tree The TS-SDK emitter did `remove_dir_all(wire/)` FIRST, then copied the transitive wire-type closure — so a missing/renamed `protocol/typescript` binding (e.g. a command whose Params derives TS but lacks `#[ts(export)]`) failed mid-copy AFTER the committed `sdk/typescript/generated/wire/` tree was already deleted, forcing a manual `git checkout` to recover. Re-running the generator on a stale checkout trashed the repo. Now: vendor into a `.wire.staging` dir, and only swap it into `wire/` (remove + rename) once the WHOLE closure copied successfully. A missing binding fails loud with the committed tree untouched and no staging leak — the generator is safe to re-run on any checkout. Verified: on this checkout (BenchmarkList* derive TS but aren't exported) the generator still fails loud, but `git status` shows the committed wire tree unchanged and no `.wire.staging` left behind. Follow-up (task #80): add `#[ts(export)]` to the benchmark command types so the SDK regen succeeds. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(sdk): NodeSocketTransport — the #29 serve-layer over the core IPC socket (provide + provideCall back-channel) The WebSocketTransport dispatches Command frames only; provide() throws. The eye-node needs the SERVE side: a client the core routes Provided commands back to. NodeSocketTransport is that binding over the Unix/TCP IPC socket, speaking the Rust IPC wire (newline-delimited requests out, length-prefixed frames in) and the new provider back-channel: - execute(): frames `{command, ...params, requestId}` (matching the Rust reader's top-level param spread), correlates the length-prefixed reply. - provide() + flush(): registers handlers and sends `provider/register`; a core `provideCall` frame is dispatched to the handler and answered with a `provideResult` — the eye-node fulfilling perception/observe. - emit/subscribe fail loud (later #29 layers); session() is honestly empty. Runtime-agnostic like WebSocketTransport: the socket is injected (SocketConnector), framing uses Uint8Array/DataView/TextDecoder — no hard net/Buffer import, so the SDK stays standalone. 5 vitest cases (call+correlate, error-reject, register→dispatch→provideResult, throwing-handler→fail-loud, no-handler→fail-loud) green; tsc --noEmit clean. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(eye-node): the worker that gives personas eyes — provides perception/observe over a real browser (#187/#29) apps/eye-node: an opt-in, browser-capable Node worker. Connects to the core IPC socket, registers as the provider of perception/observe (via the SDK's NodeSocketTransport), and fulfils each call by driving @continuum/perception's PerceptionSession over a real Chromium. - observeAdapter: ObserveParams → PerceptionSession.openWeb(target) → observe() → bare ObserveResult (image data-URL + structure tree + url/title). Never throws — an adapter failure returns { success:false, error }, the honest bare contract (never a fabricated observation). Wire types single-sourced from Rust (protocol/typescript/perception); internal surface types from @continuum/perception. - eyeNode/index: connect, provide('perception/observe'), flush, stay alive; SIGINT clean disconnect (core then unregisters → observe fails loud until reconnect). `target` is uniform — continuum's own UI, a persona's project dev server, a benchmark, a room/recipe route are all just URLs to open. Opt-in per the browserless-core principle: a browser-capable node runs one; a rack instance doesn't. tsc --noEmit clean. Added to root workspaces + linked. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(runtime): Provided commands route the SAME way on every path — socket route reaches the eye-node too Glass-boxing perception/observe via `cu` surfaced a purity break: the socket route (`route_command`, used by cu / IPC / MCP) mirrored `route_object` but NOT the CommandExecutor's interceptor chain — so a Provided command reached the provider seam on the in-process persona route but fell through to "Unknown command" on the socket route. One command existing on one path and not another is exactly the divergence that let benchmarks take a different command path. Unified through ONE decision, called by BOTH paths and nothing else: - `provided_provider::route_provided(registry, command, params)` — the single place a Provided command is forwarded to its connected provider or failed loud. `provided_command_names()` is the single "is this Provided?" set. - `ProvidedCommandInterceptor::try_route` now just delegates to it (dropped its private duplicate set + inline fulfil logic). - `Runtime` OWNS the `ProviderRegistry`; `route_command` consults `route_provided` before falling through to module dispatch. The IPC layer takes `runtime.provider_registry()` — one registry the interceptor, the connection layer (eye-node register), and the socket route all share. So cu / MCP / jtag / a persona's hands all reach the eye-node by the same infrastructure; none gains or lacks the capability. Regression test pins the socket route forwarding to a bound provider + failing loud with none. 73 provider tests green. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(perception): UI structural scorer — the functional web-dev bench's money signal (#187/#123) `score_observation(&ObserveResult, &[UiCheck]) -> UiScore`: the deterministic "diff on the element tree" that turns an observation into a number. A UiCheck is a structural criterion (tag / role / text-contains / min-count); the score is the fraction met, with a per-check breakdown for the scorecard. The SAME UiScore is three things (Perception Surface thesis): a persona's "did my change render right?" self-check, the training label for perceive→act→diff capture, and the functional web-dev benchmark score a Grader will call. It scores the STRUCTURE tree (text every model reads), so a non-visual local model competes on the same rendered-UI facts as a VLM — no persona is design-blind by base model. Pure + deterministic (no browser, no persona, no serving, budget-neutral). ts-rs wire types (UiCheck/UiCheckResult/UiScore) so a web-dev gym task authors its spec as data. 4 logic tests (met=1.0, partial credit, failed-render=0, empty-spec=0) + 3 binding tests green. Next slice: a web-dev gym + a Grader::Perception that serves the persona's output (file://), observes via an eye-node, and scores here — wired INTO cognition/eval, the same benchmark path (no parallel arena). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(media): canvas scale/crop primitive — cell #1 of the compute-once shared media substrate (#187) The one image-dimension transform every scaled cell / mip level is built from: `scale_crop(src, crop, dest)` = HTML canvas drawImage(sx,sy,sw,sh → dw,dh) — optionally crop the source rect, resize (Lanczos3), re-encode PNG. On the standard `image` crate (already a dep), no reinvent. Pure + deterministic (bytes→bytes, no cache, no I/O) so it runs ONCE per (content-hash, spec) and the result is cached + Arc-shared thereafter — a thumbnail is just dest=standard-size; a mip chain is a sequence of these. Fails loud on undecodable bytes / zero dest / out-of-bounds crop (never silently clamps). `media/` is the home for the efficient media substrate (docs in mod.rs): a media artifact is a CBAR VideoFrame — one source keyed by content hash whose derivatives (scaled sizes, YOLO/semseg/OCR aids, description, embedding/KV, audio transcription) are computed once via the existing `SharedCompute` (the runtime's CBAR_VideoFrame analog) and shared zero-copy across every persona; per-persona projection SELECTS the right cell by capability (by ref), never recomputes, never clamps. 5 tests green (scale, crop-then-scale, + 3 fail-loud). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(media): MediaFrame — content-hash artifact, derivatives compute-once & share zero-copy on SharedCompute (#187) A media artifact as a CBAR VideoFrame: `MediaFrame::from_bytes` addresses the source by sha256, and derivatives are cached on `SharedCompute` (the runtime's CBAR_VideoFrame analog) under the content-hash SCOPE — so two personas looking at the same bytes share every derivative. First cell: `scaled(compute, crop, dest)` computes the scale/crop once per (content, crop, dest) and returns the SAME Arc to every caller (zero-copy). Deep cells (YOLO/semseg/description/vision-KV, audio transcription) attach identically — async get_or_compute on the same scope, so they enrich without stalling the turn (fast/deep bridge, #168/#171). `compute` is passed by reference so the frame shares the ONE cache the caller owns — no per-frame silo, no clamp (the derive-not-clamp / structs-by-ref discipline). Deterministic transform ⇒ caching Err is correct. 3 tests: content-addressing, compute-once/share-zero-copy (Arc::ptr_eq), and cross-handle dedup (13-viewers-share-one-transform). The tiered mem→disk eviction (governed ResourceConsumer) + eager mip prefetch attach to this next. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(perception): grade_ui — the web-dev bench verdict (UiScore → pass/fail threshold) (#187/#123) `grade_ui(&observation, &checks, pass_threshold) -> UiGrade{passed, score, summary}` — scores the observation and thresholds the fraction to the eval runner's binary (ok, grade) seam, with the fractional score riding along. A met spec passes at 1.0; a half-met spec fails at 1.0 but passes at 0.5; a failed/empty render never passes. Lives OUTSIDE cognition so the eventual cognition/eval grading arm is a one-liner (grade_ui(...) → (g.passed, g.summary)) and the STOP-zone edit stays trivial. ts-rs UiGrade binding. 3 tests + binding green. The eval-runner wiring (a checks field on EvalTask + a perception_grade arm in the eval.rs if/else chain that serves the persona's built files file:// to the eye-node) is the deliberate next slice — it's in the cognition STOP-zone with one untraced path (Ctx-less perception/observe invocation), the exact place NOT to rush. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(media): MediaFrame::prefetch — eager concurrent warm of scaled cells (#187) "If we know we'll need it, do it ahead of time, once, not on the hot path." prefetch(compute, sizes) warms a set of scaled cells CONCURRENTLY (futures join_all) so later reads are cache hits — the fast lane for a frame about to be shown (a room opening media, a bench about to score a UI). Idempotent (compute-once): re-warming an already-cached cell is free. Test proves the cells are in the cache (key_count) after prefetch, before any hot-path read. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Opus 4.8 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Jul 18, 2026
…#187/#123) (#1954) * feat(media): per-persona projection + description cell — derive-not-clamp media cognition The consumption half of the media substrate (#187). Two non-STOP-zone additions on top of the content-hash MediaFrame: - MediaFrame::description() + FrameDescriber trait — the sensory-bridge derivative, computed at most ONCE per content hash and Arc-shared. 13 personas needing the same image's description cost one describe call, not 13. Trait keeps media/ free of any cognition/ dep (live implementor is cognition::vision_describe; tests stub). - media/projection.rs — the ONE derive-not-clamp decision: project_image(frame, &caps, resolution, ..) selects which cached derivative a persona receives. Capability GATES (non-vision can never get pixels → bridged description); resolution KNOBS (Full = genuine full-res source, no thumbnail cap; Scaled = role/budget/adapter-max cell; Describe/Handle = summary/placeholder rungs). Every variant holds the SAME Arc the SharedCompute cache holds — selects, never recomputes or clamps. Both caps and compute threaded by reference. 9 new tests (description compute-once + fail-cached; projection matrix: non-vision gate, full zero-copy, scaled shared cell, forced-describe shares the one cell, handle placeholder, is_image_bytes). All 27 media tests green. Refs #187, [[perception-feedback-must-not-blow-rag]], [[media-is-compute-once-zero-copy-hardware-grade]] Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(bench): functional web-dev benchmark — she builds a UI, we grade what RENDERED (#123) Proves image-perception + code-dev in one benchmark, through the EXISTING eval grader (no parallel path). The scoring engine (perception::scoring::grade_ui) was already built + tested on canary; this wires it into cognition/eval: - EvalTask gains target/ui_checks/ui_pass_threshold (all serde-default → every existing gym parses unchanged). - perception_grade() in eval.rs: OBSERVES target through the persona's OWN identity-bearing executor (cycle.acting().executor → perception/observe → eye-node), deserializes ObserveResult, calls grade_ui. Purity: she is graded via the SAME eye-node path she sees her own work with — one dispatch path, mirrors the workspace-root seam exactly. No eye-node connected ⇒ fails loud, never a fake pass. - run_pass grader arm: !ui_checks.is_empty() ⇒ perception_grade (default target index.html, threshold 1.0 = 'it works'). - webdev-rs gym (6 tasks: login form, todo list, landing page, pricing cards, contact form, nav header) + EMBEDDED_GYMS entry + known_benchmarks row (Grader::Perception). Every model competes on equal footing — the structure tree is text a non-visual model reads exactly like a VLM. Boy-scout: EvalTask was a derive(TS) WITHOUT #[ts(export)], so its committed binding (imported by GenomeTeachParams/MinedTask/RedactMemoryParams) never regenerated and a new field silently rotted it (task #80 pathology). Gave it #[ts(export)] so the binding self-maintains; regenerated EvalTask.ts. 13 scoring+benchmark tests green (catalog test confirms webdev-rs resolves embedded). Refs #123, #187, [[dispatch-path-purity-and-load-harness]], [[built-to-teach-lesser-tuned-intelligences-win]] Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Opus 4.8 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Jul 18, 2026
…EES (#106) (#1955) The catalog already has qwen2-vl-7b / qwen2.5-omni-7b rows with mmproj_local_path and Model.mmproj_local_path exists — but the llama-server spawn NEVER passed --mmproj, so a vision-capable model loaded blind (image content parts silently ignored). Close it: - model_registry::artifacts::resolve_mmproj_for_model — serving-time resolver mirroring resolve_gguf_for_model: expands ~ + verifies the projector file exists on disk. - llama_server spawn: pass --mmproj <path> when resolvable (the model SEES); on a Vision-capable row with NO resolvable projector, warn LOUD (serving TEXT-ONLY) instead of fabricating sight ([[fallbacks-are-illegal-fail-loud]]). Safe on a generation lane — the projector adds the encoder, doesn't switch out of causal mode (unlike --embeddings). This is the serving half of getting small personas perceiving (uploaded images, screenshots, video-chat frames): Qwen3-VL / Qwen2-VL + mmproj now loads its vision encoder, so ContentPart::Image reaches the model. Live-serving is the acceptance test. Also lands docs/architecture/GRID-ECONOMICS-AND-AFFINITY-ROUTING.md — the paged-genome demand-paging economics + affinity-routing spec (why cheap hardware + a friend group hosts 'infinite experts': cost scales with the deduped hot working-set union, not users×model). Companion to INFERENCE-LANES-REALISTIC (#109) + MoE affinity paging (#180). Refs #106, #187, #123. [[open-weight-aligned-paged-genome-beats-massive-experts]] Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Opus 4.8 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Jul 30, 2026
…rent, reusable, learn-from benchmark interface (rail 1 of #123) The goal (Joel): "have all these benchmarks IN OUR SYSTEM, AUTOMATED so we or others can REUSE them (just the optional download + the adapters). Run, TARGET and — more importantly — LEARN from these." And: "any command can run anywhere, so can benchmarks — a persona in any continuum can bench anywhere." That settles the architecture and this is rail 1 of it: - `BenchmarkAdapter` — ONE trait per benchmark: `dataset()` (OPTIONAL download spec, never bundled), `tasks()` (items in the canonical `EvalTask` shape so the SAME `agent/solve` path runs them — persona as a whole AGENT, not a bare LLM), `grade()` (defaults to the EvalTask's own test/expect verdict; real-repo benchmarks like SWE-bench override to grade the workspace after the agent acted), `resources()` (a hint for grid placement). - `DatasetSpec` / `DatasetKind` (HF / URL / Git) + `BenchResourceHint` (dataset bytes, needs_container, needs_network) so the runner fetches on demand and the governor can place the run on a capable node — the same demand-vs-resource negotiation serving/eval already do. - A process-global registry (`register`/`get`/`names`) — the single lookup seam the `benchmark/run` DynCommand resolves against; an unknown benchmark is a clean miss so the runner can fail loud with the known list, never a silent skip. - `TaskOutcome` / `BenchGrade` — the agent/solve artifacts (spoken + patch + workspace + harness verdict) handed to `grade`, and the per-task pass/score/reason that aggregates into the scorecard AND, on failure, feeds salience→curriculum→train (#116/#122) — benchmarks as CURRICULUM, not just a scoreboard. Why Rust-native (not the ad-hoc benchmarks/*.py): a DynCommand is the grid-transparent primitive — `Commands.execute("benchmark/run", …)` routes local-or-remote over airc; python can't route the mesh. Adapters shell to python/docker graders ON whatever node runs them. Outlier-validation order (next rails): OUTLIER A = HumanEval (tiny download, static, test- graded); OUTLIER B = the Terminal-Bench ContinuumAgent adapter (agentic meta-harness that unlocks TB's registry — docs/architecture/BENCHMARK-HARNESS-INTEGRATION.md). Then the `benchmark/run` DynCommand + grid dispatch + the learning tie-in. Validated: compiles (--features metal,accelerate); `registry_round_trips_and_reports_unknown` + `default_grade_delegates_to_harness_verdict` green. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Jul 30, 2026
…pter trait (rail 2 of #123) The quick-cognition smoke rung (a step above arithmetic, per Joel): 156 Rust-translated HumanEval tasks our EXISTING Rust grader runs directly. Deliberately the SIMPLEST possible adapter — tiny, RESIDENT (no download), static, test-graded — so pairing it with a maximally-different outlier B (the Terminal-Bench agentic meta-harness: big download, real-repo, container-graded) proves the interface across both extremes. Nearly free because the in-repo `docs/genome/humaneval-rs.jsonl` rows ARE serialized `EvalTask`s (`{id, prompt, test, lang}`) — the same shape `cognition::eval` already deserializes — so the adapter is a per-line `serde_json::from_str`. This also exercises the trait's NO-DOWNLOAD branch (`dataset() == None`): a benchmark small enough to bundle needs no fetch; only the big ones (SWE-bench) do. Pure `parse_humaneval_rs` (line-by-line deserialize, honors `limit`, skips blanks, FAILS LOUD with the offending line number rather than silently dropping a task and inflating the pass rate) is unit-tested without the filesystem. Validated: compiles (--features metal,accelerate); `parse_maps_rows_to_evaltasks_honors_limit_and_fails_loud` + `adapter_identity_and_no_download` green. Next rail: the `benchmark/run` DynCommand (resolve adapter → tasks → agent/solve → grade → scorecard, grid-transparent) so this scores a model on any node — incl. BigMama's live Kimi-Linear-48B CUDA lane on :58057. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Jul 30, 2026
…inventory self-registration, catalog-then-adapter resolution (#123) Converges the two benchmark systems instead of forking a third. The static known_benchmarks() catalog keeps its proven, DEPLOY-SAFE embedded-gym path for resident benchmarks (resolve_gym finds the gym even without a repo checkout). The BenchmarkAdapter trait becomes the EXTENSION seam for benchmarks the catalog can't express — downloadable / custom-graded ones (Terminal-Bench, SWE-bench) now land as pure adapters with zero change to benchmark/run. - benchmark/run resolves catalog FIRST (name it knows → embedded gym), else the adapter registry (benchmark::get), else fail loud listing BOTH sets. A downloadable adapter (dataset() = Some) fails loud 'download not wired yet' rather than silently scoring empty; resident adapters (dataset() = None, e.g. humaneval-rs) run today. Delegates to the ONE grader (cognition/eval) exactly as before — never reimplements grading. - Adapters self-register via inventory (the SAME mechanism commands use), so a builtin needs NO boot hook and NO central list (the dynamic-discovery contract). get()/names() fold the link-time inventory set in over runtime registrations. - HumanEvalRsAdapter submits itself; new test pins that benchmark::get('humaneval-rs') resolves with no boot hook. 19 benchmark tests green; 0 errors. This makes rail 1+2 of the adapter framework LIVE on the grid-transparent benchmark/run command, ready for the Terminal-Bench ContinuumAgent adapter (outlier B) to slot in. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Jul 30, 2026
…media-plane split (#2059) * fix(serving): eval-lane bring-up fails LOUD with the real cause, not a masked 240s /health timeout (#205 unmask) Glass-boxed 2026-07-27 running the live coding measurement (agent/solve): every `agent/solve` on this Mac failed with a bare "llama-server not ready after 240s (/health request failed)". The real cause was thrown away — `wait_ready` polled the health port for the WHOLE budget without ever checking whether the child it spawned had died, and never surfaced the child's stderr. ROOT CAUSE, proven this session: the ephemeral eval lane forges a SECOND Devstral-24B (~14 GB) while the live persona lane already holds ~26 GB. With only ~9.6 GB free, macOS jetsam SIGKILLs the second llama-server the instant it maps the model — before llama.cpp prints a single byte (reproduced by hand: exit 137, zero-byte log). It is an OS out-of-memory kill, NOT Metal-context contention and NOT a hang. The masking bug made it look like a mysterious timeout. Two unmask fixes in `wait_ready`, benefiting live AND ephemeral lanes: 1. **Fail loud the instant our child EXITS** — `child_exit_status()` (non-blocking `try_wait`) turns any crash-at-launch — including the jetsam SIGKILL/137 above — into an immediate `Spawn` error carrying the exit status + stderr tail, instead of polling a dead port for 240s. This is the arm that fires for the memory-wall failure. 2. **Fingerprint the empty stderr on the hang-timeout** — `tail_or_hang_marker` turns an empty log into a marker that, read with the exit status, names the two empty-log causes: an OOM/jetsam kill (SIGKILL/137, child exited) vs. a genuine early-init hang (no exit status). A crash from bad args / model-load fault prints its banner first, so a non-empty tail carries that directly. `tail_or_hang_marker` is a pure fn (unit-tested: empty→OOM/hang marker, non-empty→last 20 lines in order) so the load-bearing decision is tested without touching the real `~/.continuum/logs` path (#72 env-dependent-test lesson). This makes the failure DIAGNOSABLE; the underlying fix (don't forge a second 24B for eval while the live 24B is resident — reuse the live lane's weights or serialize via the governor, #59/#234) is a follow-up. Validated: continuum-core compiles (--features metal,accelerate, 0 errors); `tail_or_hang_marker_fingerprints_empty_and_tails_nonempty` green. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(serving): eval-lane gate refuses on real free-RAM-vs-footprint, not just pressure LEVEL — kills the jetsam SIGKILL at the root (#205) The companion to the unmask commit: don't just REPORT the eval-lane OOM loudly, PREVENT it. The gate (`await_eval_lane_memory_headroom` → `refuse_eval_lane_under_memory_pressure`) vetoed only on macOS *pressure LEVEL* + the sustained-pressure gate. But on unified memory the level reads "Normal" while sitting atop only a few GB of real free RAM — it counts compressible/cached pages as available. So the gate green-lit standing up a SECOND llama-server of a known ~14 GB footprint into 9.6 GB of actual headroom, and the OS jetsam-SIGKILLed it (exit 137, zero-byte log — the exact failure this session reproduced by hand). Neither the pressure gate NOR the GPU/CPU placement lease caught it: on unified memory the weights need the RAM on *either* device, so "spill to CPU" doesn't save you. Fix — size against the honest free-bytes number: - `MemoryPressureMonitor` already reads `sysinfo::available_memory()` each poll; publish it to a new lock-free global `current_available_bytes()` alongside the pressure level (the level is a ratio and lies; the bytes don't). - `eval_lane_ram_veto(available, footprint, headroom)` — a PURE, unit-tested guard that refuses ONLY when a KNOWN footprint won't fit in the KNOWN free bytes (+2 GiB headroom), and NEVER when either number is unknown (an unread probe must not starve a node — the pressure gate + placement lease stay the backstops). The refusal names the OOM wall, so the detached ledger carries a real cause and `await_eval_lane_memory_headroom` retries it as deferrable load instead of crashing. - One footprint sizing (`eval_lane_footprint`) now shared by the gate and the placement decision (compression — was duplicated inline). - Both eval-lane spawn sites resolve `base` and size the lane BEFORE the gate, so the RAM check runs pre-cold-load. This is the reliability doctrine [[reliability-is-it-works-not-that-it-reports-failure-well]]: the prior commit made the failure legible; this makes the machine refuse cleanly instead of being OOM-killed. Sibling of the #175 GPU-OOM-poisons-the-backend class — the level-vs-real- bytes gap is the same shape. Validated: continuum-core compiles (--features metal,accelerate, 0 errors); new `eval_lane_ram_veto_refuses_only_a_known_oversize_lane` + existing pressure-veto test green. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(deploy): install the continuum CLI as a real COPY on PATH, not a symlink into the ephemeral cargo target dir The flaky mess where `continuum` vanishes post-boot ([[deploy-cli-binary-deleted-from-target-dir-post-boot]]): `start-server.sh` symlinked ~/.local/bin/continuum → the cargo target-dir binary. But that dir is a BUILD artifact — cargo replaces the binary mid-rebuild, `cargo clean` and rust-analyzer's feature-mismatched rebuilds delete it — and the PATH symlink then dangles, so `continuum <cmd>` dies with "no such file or directory" (hit twice this session). Fix: COPY the binary to ~/.local/bin (atomic temp+mv so a concurrent `continuum` invocation never sees a half-written file), and `rm -f` any pre-existing entry first so a leftover symlink from an old install can't make `cp` follow it back into the target dir. The PATH binary is now decoupled from cargo's churn — it changes only on deploy. Same self- provisioning intent, minus the ephemeral-artifact coupling. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(benchmark): BenchmarkAdapter trait + registry — the grid-transparent, reusable, learn-from benchmark interface (rail 1 of #123) The goal (Joel): "have all these benchmarks IN OUR SYSTEM, AUTOMATED so we or others can REUSE them (just the optional download + the adapters). Run, TARGET and — more importantly — LEARN from these." And: "any command can run anywhere, so can benchmarks — a persona in any continuum can bench anywhere." That settles the architecture and this is rail 1 of it: - `BenchmarkAdapter` — ONE trait per benchmark: `dataset()` (OPTIONAL download spec, never bundled), `tasks()` (items in the canonical `EvalTask` shape so the SAME `agent/solve` path runs them — persona as a whole AGENT, not a bare LLM), `grade()` (defaults to the EvalTask's own test/expect verdict; real-repo benchmarks like SWE-bench override to grade the workspace after the agent acted), `resources()` (a hint for grid placement). - `DatasetSpec` / `DatasetKind` (HF / URL / Git) + `BenchResourceHint` (dataset bytes, needs_container, needs_network) so the runner fetches on demand and the governor can place the run on a capable node — the same demand-vs-resource negotiation serving/eval already do. - A process-global registry (`register`/`get`/`names`) — the single lookup seam the `benchmark/run` DynCommand resolves against; an unknown benchmark is a clean miss so the runner can fail loud with the known list, never a silent skip. - `TaskOutcome` / `BenchGrade` — the agent/solve artifacts (spoken + patch + workspace + harness verdict) handed to `grade`, and the per-task pass/score/reason that aggregates into the scorecard AND, on failure, feeds salience→curriculum→train (#116/#122) — benchmarks as CURRICULUM, not just a scoreboard. Why Rust-native (not the ad-hoc benchmarks/*.py): a DynCommand is the grid-transparent primitive — `Commands.execute("benchmark/run", …)` routes local-or-remote over airc; python can't route the mesh. Adapters shell to python/docker graders ON whatever node runs them. Outlier-validation order (next rails): OUTLIER A = HumanEval (tiny download, static, test- graded); OUTLIER B = the Terminal-Bench ContinuumAgent adapter (agentic meta-harness that unlocks TB's registry — docs/architecture/BENCHMARK-HARNESS-INTEGRATION.md). Then the `benchmark/run` DynCommand + grid dispatch + the learning tie-in. Validated: compiles (--features metal,accelerate); `registry_round_trips_and_reports_unknown` + `default_grade_delegates_to_harness_verdict` green. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(benchmark): HumanEval-rs adapter — outlier A on the BenchmarkAdapter trait (rail 2 of #123) The quick-cognition smoke rung (a step above arithmetic, per Joel): 156 Rust-translated HumanEval tasks our EXISTING Rust grader runs directly. Deliberately the SIMPLEST possible adapter — tiny, RESIDENT (no download), static, test-graded — so pairing it with a maximally-different outlier B (the Terminal-Bench agentic meta-harness: big download, real-repo, container-graded) proves the interface across both extremes. Nearly free because the in-repo `docs/genome/humaneval-rs.jsonl` rows ARE serialized `EvalTask`s (`{id, prompt, test, lang}`) — the same shape `cognition::eval` already deserializes — so the adapter is a per-line `serde_json::from_str`. This also exercises the trait's NO-DOWNLOAD branch (`dataset() == None`): a benchmark small enough to bundle needs no fetch; only the big ones (SWE-bench) do. Pure `parse_humaneval_rs` (line-by-line deserialize, honors `limit`, skips blanks, FAILS LOUD with the offending line number rather than silently dropping a task and inflating the pass rate) is unit-tested without the filesystem. Validated: compiles (--features metal,accelerate); `parse_maps_rows_to_evaltasks_honors_limit_and_fails_loud` + `adapter_identity_and_no_download` green. Next rail: the `benchmark/run` DynCommand (resolve adapter → tasks → agent/solve → grade → scorecard, grid-transparent) so this scores a model on any node — incl. BigMama's live Kimi-Linear-48B CUDA lane on :58057. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(memory): MemoryRecord (origin_node, origin_seq) — the RAID replication-provenance seam for Persona-RAID (#2056, co-designed w/ BigMama) Two additive fields on MemoryRecord, the target BigMama's Persona-RAID slice-2 receiver stamps on replay: - `origin_node: Option<String>` — node that ORIGINALLY admitted the record (None = local/lived) - `origin_seq: Option<u64>` — monotonic per-(persona, origin_node) admit seq, the newest-wins replay key (None = pre-replication) The KEY invariant (my review edge, now the agreed shape): replication is an ORTHOGONAL axis, NOT a new experience kind. `memory_type` (lived vs `shared-by`) is untouched — a replicated record keeps its experience (a replayed lived memory stays lived; a shared-by lesson stays taught) and merely gains (origin_node, origin_seq) as auditable/replayable metadata. So recall needs zero changes and audit gets everything. Both `#[serde(default)]` = zero migration for existing rows; every current construction site is a local admit → (None, None), semantically exact. ts-rs regenerated: `MemoryRecord.ts` gains `origin_node?: string` + `origin_seq?: number` (number not bigint, per the #120 drift rule). Validated: continuum-core compiles (--features metal,accelerate); memory::types tests green. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(benchmark): wire BenchmarkAdapter registry into benchmark/run — inventory self-registration, catalog-then-adapter resolution (#123) Converges the two benchmark systems instead of forking a third. The static known_benchmarks() catalog keeps its proven, DEPLOY-SAFE embedded-gym path for resident benchmarks (resolve_gym finds the gym even without a repo checkout). The BenchmarkAdapter trait becomes the EXTENSION seam for benchmarks the catalog can't express — downloadable / custom-graded ones (Terminal-Bench, SWE-bench) now land as pure adapters with zero change to benchmark/run. - benchmark/run resolves catalog FIRST (name it knows → embedded gym), else the adapter registry (benchmark::get), else fail loud listing BOTH sets. A downloadable adapter (dataset() = Some) fails loud 'download not wired yet' rather than silently scoring empty; resident adapters (dataset() = None, e.g. humaneval-rs) run today. Delegates to the ONE grader (cognition/eval) exactly as before — never reimplements grading. - Adapters self-register via inventory (the SAME mechanism commands use), so a builtin needs NO boot hook and NO central list (the dynamic-discovery contract). get()/names() fold the link-time inventory set in over runtime registrations. - HumanEvalRsAdapter submits itself; new test pins that benchmark::get('humaneval-rs') resolves with no boot hook. 19 benchmark tests green; 0 errors. This makes rail 1+2 of the adapter framework LIVE on the grid-transparent benchmark/run command, ready for the Terminal-Bench ContinuumAgent adapter (outlier B) to slot in. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(boot): macOS core boot — bash-3.2 manifest gate + rt_handle.spawn off-runtime panic (#194) TWO regressions that made the macOS core un-bootable since the last long-running core died (glass-boxed live 2026-07-28; nobody could reboot on macOS): 1) start-server.sh sourced generated/manifest.macos.sh (bash-4 `declare -A`) under `set -e`; macOS ships bash 3.2, so the source aborted the whole boot before cargo ran. Regression from #2046 'serve on Windows' regenerating the manifest with associative arrays. Fix: only source the bash-4 manifest on bash 4+ (it solely feeds the Windows/CUDA runtime-PATH augmentation, whose own guard already tolerates absence). 2) ipc/mod.rs:1704 used bare `tokio::spawn` in the SYNC boot region (after the rt_handle.enter() guard drops) → 'there is no reactor running' panic → the IPC listener thread died → socket never bound → whole core a zombie. Regression from #2051's AircInterceptor block; every other spawn in the fn already uses `rt_handle.spawn`. Only reached when airc deps are present, so it bricked boot on every airc-configured host. Fix: rt_handle.spawn, matching the siblings. Verified: core boots to socket-live + answering commands in 60s; personas resume from disk and respond in live chat (Anwen answered a direct question with memory recall). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(boot+ui): macOS core boots + ONE automatic door into the positron interface (#194/#29) Two boot regressions that made the macOS core un-bootable since the last long-running core died, plus the missing automatic entry into the interface (you can't ship a beta a user can't open). BOOT (both verified — core now reaches socket-live in ~60s, personas resume + answer live chat): 1. start-server.sh sourced the bash-4 `declare -A` manifest under `set -e` → macOS bash 3.2 aborted the whole boot before cargo ran (regression from #2046). Gate the source on bash 4+. 2. ipc/mod.rs:1704 bare `tokio::spawn` in the sync boot region (after rt_handle.enter() dropped) → 'no reactor running' panic killed the IPC listener → socket never bound → zombie core (regression from #2051). Use rt_handle.spawn like every sibling. UI DOOR (#29): nothing tied the built positron web client to the running core, so finding 'how do I open the interface' required archaeology — exactly how a user (and an agent) gets lost. - New tools/scripts/open-ui.sh + `npm run ui`: resolves the core WS (8974) + call/video WS (8790) + a stable identity, ALWAYS rebuilds apps/web from current source (a stale dist renders an old shell — the 'interface looks lost' trap, glass-boxed today: a Jul-18 dist showed a bare chat view, not the current positron HUD), serves it, opens the browser with everything pre-wired. Verified live in headless Chrome: the full positron HUD (SYSTEM CPU/MEM/GPU sparkline, NODES, genome-paging tiles per persona, Go-live, rooms, live persona cognition) renders against the live core. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(live): auto-start the LiveKit avatar rail with the core (server + bridge sidecar) The persona's talking avatar is Bevy-rendered and published to a LiveKit room via the livekit-bridge sidecar; the browser's 'Go live' subscribes to that room. But NEITHER the SFU nor the bridge was started by `continuum start` — glass-boxed 2026-07-28 by joining the call plane headless: LiveKit :7880 was DOWN → get_or_create_agent fails → no avatar video pump ever runs, and clients only ever saw the native call_server's test-pattern default. The avatar was un-launchable without manual, undocumented steps (start livekit-server, build + start the bridge) — a beta can't ship a 'Go live' button that needs hidden setup. start-server.sh now runs start_livekit_rail() before the core, idempotently + NON-FATALLY: 1. livekit-server --dev on :7880 (dev creds devkey/secret = the bridge defaults) if not already up; warn+skip if the binary isn't installed (core still boots, only live A/V off). 2. build (release, once — links webrtc-sys) + start the livekit-bridge sidecar on its unix socket BEFORE the core, so the core's bridge_client finds the socket at boot. A missing/failed rail never blocks the core (chat/cognition/serving unaffected). system-stop.sh gets symmetric teardown of the bridge (server teardown already existed). Verified: syntax clean; idempotent against an already-running rail (both start steps skip when :7880 is up + the bridge is running). The rail itself is proven live this session — livekit-server + bridge up, core connected, an STT participant joined the LiveKit room. Follow-up (functional, not automation): the per-persona avatar VIDEO agent (get_or_create_agent + spawn_avatar_video_pump) still doesn't publish — only the STT listener joins the room. Next. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(live): tee avatar frames into the native call plane — everyone sees the real face (#193/#172) The avatar published to LiveKit, the bridge received it (640x360), but the native call plane (call_server WS 8790) that BOTH the positron web client AND the glass-box harness read still emitted its own 160x120 SMPTE test pattern. The real avatar was stranded on a rail no native viewer subscribed to. Convergence (render once, two sinks): the single Bevy slot the avatar pump already allocates now feeds BOTH LiveKit and the native plane. Per frame the pump tees the same RGBA into CallManager::push_avatar_frame, encoded in the exact [VideoFrameHeader][pixels] contract native clients decode, labeled with the persona's uuid. No second Bevy slot, no parallel renderer. - call_server.rs: push_avatar_frame (new seam) + retire the auto-start test pattern to an opt-in debug affordance (CONTINUUM_CALL_TEST_PATTERN=1), honoring the TODO that sat on the auto-start block since real sources were 'not yet connected'. - video_pump.rs: tee each frame (stable source Handle + monotonic seq/clock) alongside the LiveKit publish. - modules/live.rs + ipc/mod.rs: thread the native CallManager through VoiceState to the register-session pump spawn. - example: standalone CallManager (tee is a no-op there). Live-verified on the native plane after deploy: 640x360 real avatar (Asha's VRM, not the test pattern), 13.5 fps wall / 13.3 median (tracking the 15fps Bevy target), inter-frame jitter min 56.8 / median 75.4 / max 86.4 ms, 0 dropped/out-of-order frames, sole sender = Asha's uuid. Random-frame spot-check shows her real face, live-animating. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(voice): one canonical model root — kill the CWD-relative path bug that silently broke every local TTS/STT (#195) Root cause (glass-boxed this session): the workers→core/tools restructure moved the runtime model download root to `tools/models/` (gitignored — see .gitignore's own note), but every audio adapter kept stale, CWD-relative `models/…` path constants. When the core runs from the repo root (its normal CWD), `models/piper/…` pointed at the *tracked* avatar dir, not the voice models in `tools/models/piper/…` — so Edge returned empty, and Piper / Kokoro / Moonshine / Whisper all reported 'model not found'. Every local voice model was silently dead. Kokoro even mutated the process CWD (`set_jtag_cwd`) to paper over it. Proper fix — single source of truth, absolute, CWD-independent: - New `live/audio/model_root.rs`: `voice_model_root()` / `voice_model_path()`. Resolves `CONTINUUM_MODELS_DIR` (config.env single-owner, then process-env boot injection), then `tools/models`/`models` CWD candidates, then `~/.continuum/models`. - Routed EVERY voice adapter through it — piper, kokoro (15 sites), orpheus, moonshine, whisper, pocket-tts, silero VAD, tts_service. No more scattered `models/…` literals, no per-adapter candidate ladders, no `set_current_dir`. - start-server.sh exports `CONTINUUM_MODELS_DIR=$REPO_ROOT/tools/models` before exec so the binary resolves models from any CWD. Live-verified after deploy: fresh core has CONTINUUM_MODELS_DIR injected, no symlink present, `voice/synthesize-handle --adapter piper` resolves the model and synthesizes (was 'model not found' before). (The short synth duration is a separate phonemizer/espeak-data issue, not this.) Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(live): tee persona voice into the native call plane — client hears her, not hold music (#193 audio convergence) Sibling of the avatar-video tee. A persona speaks via LiveKit (speak_in_call → bridge), but native clients (positron web, glass-box harness) read the native mixer — which, with only a lone listener, plays HOLD MUSIC. So a native viewer SAW her avatar but HEARD hold music: her voice was stranded on the LiveKit rail. Render once, two sinks: speak_in_call now returns the synthesized PCM, and the voice/speak-in-call handler tees the SAME samples into the native plane via CallManager::push_persona_audio — which registers the persona as a virtual AI participant in the call's mixer (the mixer already has an AI ring buffer built for 'dump a whole TTS utterance, drain frame-by-frame') and her presence stops the lonely-listener hold-music fill. Self-heals across call recreation via a stable per-(call,persona) handle. Live-verified: with Asha registered + speaking (kokoro), a native-plane capture shows audio sender = her uuid (90e758b2) for 4.58s, matching the 4.55s utterance — was 100% 'hold-mus' before. Video (640x360 avatar) + audio (her voice) now both reach the client: e2e see+hear on the native plane. Also this session: espeak-ng installed so kokoro TTS produces real full-length speech (piper's Rust phonemizer truncates — kokoro is the good local path). Follow-ups: hold-music still fills her SILENCE between utterances (minor polish — suppress when a persona is present); STT/audio-in blocked on moonshine ONNX format mismatch; livekit-bridge needs supervision (dies on every core restart). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(positron): durable local state + self-healing feed — inherent to the SDK, adapter-driven (the Twitter model) Glass-boxed 2026-07-29: routine core reboots orphaned every open tab — the state feed died once, the shell silently degraded to the bare chat view, and four months of positron HUD looked 'lost' until a manual refresh. Per Joel: this is normal app craft (cache-first boot, live reconcile, visible reconnect) and it must be POSITRON architecture — from the thin-client SDK out, adapter-driven local state, never an app-level hack or a localStorage bodge. SDK (sdk/typescript — the contract every platform SDK mirrors): - StateStorage.ts: StateStorageAdapter — the ONE local-durability seam. The whole renderable state is latest-envelope-per-kind (each envelope is a full snapshot), so the cache is tiny + complete. Adapters: IndexedDbStateStorage (browser), MemoryStateStorage (tests/ephemeral + conformance reference); swift/kotlin/ flutter implement the same interface over native stores. Cache is an accelerant, never a dependency (storage failure -> live-only, logged once). - StateConnection: durability + resilience are now INHERENT — - hydrate-first connect(): cached envelopes paint before the network is touched (instant last-known UI, even against a dead core), status 'cached'; - write-through: every live envelope replaces its kind's row (fire-and-forget); - auto-reconnect (default ON): capped 1s->10s ladder using the wire's existing last_seen replay; a failed FIRST connect rides the same ladder (core booting); - onStatus surface (cached/connecting/live/reconnecting/closed): recovery is LOUD — reconnecting stays visible while the core is away, so self-heal can never mask a dead core; close() stops the ladder (intentional shutdown); - reconnect:false preserves the legacy one-shot fail-loud contract for probes. - Fail-loud config errors (no registered kinds) never enter the retry ladder. App (apps/web): shrinks to what an app should be — pass IndexedDbStateStorage, render envelopes + ONE status chip. Zero resilience logic app-side. Tests: 97/97 SDK suite green; 4 new pins (default-resolve+reconnecting status, hydrate-before-open, write-through, drop->reconnect->resubscribe w/ last_seen). Live-verified: rebuilt app renders the full positron HUD through the new feed. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(mobile): positron durable-state contract on Android + iOS — Dart mirror of the SDK, tested One Dart implementation (byte-identical on both OSes) mirroring sdk/typescript's inherent resilience contract, per [[positron-durable-state-is-sdk-inherent-adapter-driven]]: - lib/positron_state.dart: StateEnvelope + StateStorageAdapter (the ONE seam) with MemoryStateStorage (conformance reference) and FileStateStorage (dart:io JSON — durable on Android + iOS app dirs, ZERO plugin deps, corrupt-tolerant, cache is an accelerant never a dependency); StateConnection with hydrate-first connect, write-through, capped 1s->10s reconnect ladder w/ last_seen replay, loud status (cached/connecting/live/reconnecting/closed), reconnect:false one-shot fail-loud. Injectable StateSocketFactory — tests drive the lifecycle without a core. - lib/live.dart: LiveConnection now RIDES the contract (was a one-shot connect that died silently — the same disease the web had). App keeps only the ChatViewState->MobileScreen mapping + optional status/cacheDir wiring. - test/positron_state_test.dart: 5 pins mirroring the TS spec — hydrate-before- socket, write-through, drop->reconnect+last_seen, fail-loud vs self-heal, FileStateStorage conformance (round-trip, replace-by-kind, corrupt-tolerant). - ios/: runner scaffolded (flutter create --platforms=ios). Verified: flutter test 6/6 green, flutter analyze clean. Platform note: the Dart contract tests prove BOTH OSes (same code); Android SDK present for APK builds; iOS device/simulator builds need full Xcode on this machine (CLI tools only). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(web): tab strip renders from ONE open tab — the focused room IS a tab Glass-boxed live: the strip + CSS + nav plumbing all shipped (38b60caae), but the render gate was cells.length > 1 while the node's room-set fold knows exactly one room (cambriantech) — so the whole bar hid and the interface read as 'tabs don't exist'. One open activity is still an open tab; the strip now draws from 1 up, and fills out as the room set grows. Substrate follow-up (separate card): seed spawn_room_set_fold from airc's subscribed-room registry (durable membership), not just observed traffic — today a room with no traffic since core boot never becomes a tab. Verified live: playwright screenshot + widget-state dump (tabBarTabCount 1), web tests 21/21, typecheck clean. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(web): Discord shell geometry — full-height rails, center-scoped tabs/header/compose The reference is the Discord/VS Code shell: columns run window-top to window-bottom; no chrome bar spans the whole width. The left rail now opens with the continuon (the server-header slot), the tab strip sits centrally over the content column only, the room header/transcript/composer all live inside the center column, and the ROOM context rail runs full height. Mechanically: RenderTarget.workspace grows an optional WorkspaceChrome<Out> slot (patterns) — the compose bar stays HOST-owned (input state + send handler) but SHELL-placed (chrome.centerFooter), so the widget no longer appends full-width rows after the surface. litTarget nests tabs + header + what + footer in a .center flex column inside the same .panels grid the universe skins and mobile rules already key off. Also: /// <reference lib="dom" /> on sdk StateStorage.ts — the IndexedDB adapter's DOM types broke typecheck for non-browser consumers (tui) since e4fedac8f; scoped ambient types fix every consumer without forcing lib:dom. Verified live: playwright screenshot (full-height rails, central tab, center compose), web 21/21 + chat-view 56/56 + patterns 5/5, typecheck clean on web/patterns/tui. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(chat): beforeMessageId scroll-back cursor on chat/poll — history pages out of durable storage The Twitter endless-scroll's storage half: chat/poll gains the backward cursor. beforeMessageId resolves the anchor's stored timestamp (same lookup as afterMessageId, now ONE anchor_timestamp helper), filters $lt, queries DESC, and normalizes chronological — the limit messages immediately preceding the anchor, straight from the durable chat_messages store. The two cursors are mutually exclusive and reject loud BEFORE any storage round-trip; the result echoes the cursor so the caller's paging loop just keeps passing the oldest id it holds. Client loop (web/mobile/tui alike): render the live 50-row tail, then scroll-back = chat/poll {roomId, beforeMessageId: oldest-on-screen} — prepend, repeat until an empty page says history is exhausted. The render-side wiring is the follow-up slice; the trigger idiom stays per-target (IntersectionObserver on web, ScrollController on Flutter), the cursor mechanics live here, once. Tests: before-anchor $lt+DESC+chronological, both-cursors reject (pinned to fail before data/query), absent-not-null echo. 32/32 chat module green; ts-rs bindings regenerated. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(sdk): export the drifted wire types — 64 registered-command params/results never emitted ts-rs bindings The pre-existing drift that has blocked the TypeScript SDK re-emit (and forced nav/select onto the raw-wire path): TS-deriving wire types across commands/{benchmark,help,tool}, cognition, runtime, and modules lacked #[ts(export, export_to)] — the emit's vendoring walks the registry and fails loud on the first missing binding. Swept every one onto the same protocol/typescript/<module>/ convention its file siblings use. export_bindings: 1236 green (was 1160). Remaining emit blocker (separate card): bare #[ts(export)] types land in the crate-local bindings/ dir while the vendorer expects protocol root. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(web): Twitter endless scroll — scroll-back pages durable history into the transcript The render half of the beforeMessageId cursor (02d5c7701): - chat-view: historyRowsFromPoll — one chat/poll storage page (raw entities: {content:{text}, ISO timestamp, no sender name}) onto the SAME MessageRowVM rows the live tail renders; roster-resolved identity, short-id + metadata.source fallback, live-tail dedup, malformed-row skip. 3 specs. - widget: scroll-near-top pages one older window and prepends with the viewport anchored (scrollTop compensated); rows that slide OUT of the live 50-row window RETIRE onto the buffer so no gap opens; buffer clears on room switch; an empty page latches exhausted. - scroll-yank fix (reported live): pin-to-bottom now only fires when the reader was AT the live edge (_wasNearBottom, measured pre-render) — a scrolled-back reader is never forced down by a new message. - host: chat/poll over the same raw-wire seam as nav/select (the typed CommandMap re-emit is still blocked; path documented in-code). - sdk drift: corrected the swept export_to paths to the proven ../../../protocol/typescript/ convention (benchmark/help/tool/agent); strays under core/protocol removed; export_bindings 1172 green. Live activation needs the rebuilt core (beforeMessageId lands on the next core restart — held deliberately: a restart replays the room log until #242 consumer cursors land). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(web): transcript times in the VIEWER's timezone + genome panel goes two rows of four Time: formatTimeOfDay was hardcoded UTC ('4:36' at Joel's 11:36 PM — wrong for every human off-meridian). Now local getHours/getMinutes; determinism moves to the test scripts (TZ=UTC pinned in chat-view + web package.json) instead of being baked into the product. Genome: 8 slots in a 4×2 grid (was one row of 4) — the loadout is heading past four as skills go per-domain and expert granularity (#226) lands; slots stay honest-dark until genes page in, top-8 lit with overflow named in the tooltip. Tests 59+21 green, typecheck clean, rebuilt. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(web): genome-click anchor re-lands after layout settles — the card sticks at the pane top Verified with a headless click receipt: the genome block DOES open that citizen's persona-home tab anchored at the #genome card (element navigation, card 95844639), but the single scrollIntoView fired before avatar-image decode / meter layout settled — the card drifted ~400px down-pane, reading as 'nothing happened'. Two follow-up rAF re-lands pin it. Harness note: headless clicks were steering the LIVE view — the harness shared Joel's ?me= citizen (nav focus is per-citizen, server-side). Minted a dedicated harness citizen (~/.continuum/ui-test-id); future interaction tests use it, never the operator's scope. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(nav+web): persona selects OPEN durable tabs (never swap) + sender names link to profiles + history-trigger guards Three live reports from Joel, one slice: 1. ONE shape-shifting persona tab: the nav reader derived the persona tab from the single current focus — selecting a second persona REPLACED the first. NavFocus now keeps the citizen's open non-room activity SET (activity == room == tab: a persona select OPENS a durable tab, a second select adds a SECOND tab) + a close() for the future nav/close verb. Reader surfaces every open activity. 9 nav tests green. (Core-side — live at the next core restart.) 2. 'History load failed: chat/poll rejected: unknown error' on persona click: two stacked bugs — the persona home OPENS at scrollTop 0 which tripped the transcript's near-top history trigger (now guarded off all non-transcript faces), and the bare-wire success check treated every response as a rejection (no success field on the raw path — only an explicit false is an in-band rejection; failures reject the promise). 3. Sender names in the transcript now open that citizen's profile — the SAME composed roster LISTING_SELECT the tiles fire, one nav verb, no parallel route. Keyboard-accessible, element-link affordance. Web 21/21, typecheck clean, rebuilt. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(nav+airc): tab close wired end-to-end + consumer cursor kills the reboot replay (#242) Tab close (Joel: 'tab close not wired yet' + 'super small hitbox'): - core: nav/close verb — removes one open activity from the citizen's tab set (NavFocus::close), clears focus if it was current, publishes nav:changed. Registered + in NavModule::commands(). 12 nav tests green. - web: the × is LIVE on non-room tabs (rooms are membership, not tab state) — composed NAV_TAB_CLOSE → widget → injected nav/close over the raw-wire seam; substrate-truth removal, no optimistic local state. Hitbox grown to ~22px square (padding + negative margin — glyph stays compact, target meets the pointer minimum). Consumer cursor (#242 — 'chat still loading literally every message in existence when you reboot', bitten 3× today): the attach stream asked for AttachStart::FromTranscriptStart on EVERY attach. Now a per-channel IpcCursor watermark persists under ~/.continuum/state/; attach resumes AttachStart::After(cursor) (gap only, no seam duplicates), advances to the daemon's RoomTip after attach, and persists AttachCursorAdvanced frames. Only the first-ever attach (no watermark) seeds from transcript start — once per state dir, never per reboot. Documented trade-off: a hard crash loses a slice of LIVE perception, never storage — the durable transcript + scroll-back serve history; replaying the log into every persona's mind each reboot was the worse failure. Live at the next core restart (which will be the LAST replaying one). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(web): durable-store hydration + Activities rename + rooms-only facet default Post-cursor reality check (Joel: 'No messages yet — say hello' after the reboot): the live projection now honestly starts AFTER the consumer watermark, so a rebooted room painted empty — the data was never gone (the durable transcript held every message; chat/poll served it), the window just never pulled it. Fix: a sparse first snapshot (<10 rows) auto-pages the LATEST stored window via the anchor-less chat/poll and prepends — the Twitter model complete: durable tail + live wire, one transcript. Verified live: 51 rendered rows from 1 wire message. Also per Joel: - the left rail's Rooms widget is now titled ACTIVITIES (they are rooms; the widget lists activities) — title flows from the projection. - the facet defaults to [Rooms]: open persona/content tabs are real activities but reached via their own controls (roster tiles, the tab strip) — the 'rooms' facet now excludes persona/content groups, and All remains one click away. Web 21/21 + chat-view 59/59, typecheck clean, rebuilt. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(web): 'Send failed' on every SUCCESSFUL send — only explicit success:false is a rejection Same response-shape bug as the history handler, now on the send path: chat/send's success payload is {eventId, messageId} with NO success field, so `!result.success` threw 'chat/send rejected: unknown error' while the message actually landed on the wire (glass-boxed live — Joel's 'How are you, I am Joel' arrived as peer-a5ded599 despite the strip). Failures reject in the transport; in-band rejection = explicit false. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(positron): projection hydrates from the durable transcript — the SUBSTRATE owns room fullness, never the renderer Joel's charge, accepted: 'why was the room history cleared? that's invalid positron — are you coding just regular lit?' The old full-backlog attach was secretly the chat projection's ONLY hydration mechanism; killing the replay (#242) starved the accumulator, and I patched it in the WIDGET — app-level durable-state logic, the inverted shape. Correct shape, now built: positron_source::spawn takes a durable seed (executor + bootstrap room). Before folding live events the projector hydrates its accumulator with the room's stored tail (the same chat_messages query chat/poll serves), pushed through the SAME classify path as wire events — one message semantics, two sources. Data-module warm-up is retried; a seed that never comes degrades to wire-fed-only, logged loud. Every client gets a full room with zero client logic. Also: WebSocketTransport discriminates push frames from replies — the ingress fans state envelopes to command-only sockets, which spammed 'reply for unknown correlation id undefined' 22× in Joel's console while every command actually worked. id-less frames are pushes, ignored; the server-side fan-out fix is a follow-up card. positron_source 16/16, sdk + web green. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * revert(airc): consumer cursor OFF until it ships as one unit with perception hydration (#249) The cursor (#242) starved MORE than the UI window: glass-boxed live — Asha's turn prompt was a system prompt + ONE EMPTY user message, and Benchy answered Joel's direct question with 'you haven't provided any context'. The perception substrate (channel digest) drinks from the same cursored bus, so personas were left conversationally blindfolded: minds intact (engrams verified — Asha 11,667 rows, Atlas 10,035, writes minutes old), sensory feed empty. The greeting loop was the honest response to an empty world. Rollback: attach returns to FromTranscriptStart (full replay — the known, working behavior), watermark files deleted. The projection's durable seed (44a8b2606) stays — it is correct independent of the cursor. The cursor relands ONLY together with #249 (perception-tail hydration from durable storage), tested against a live persona turn BEFORE deploy: the lesson is that the replay was load-bearing for TWO consumers, and I verified only one. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(web): auto-scroll tracks READER INTENT, not bottom-distance — the position heuristic silently killed pin-to-bottom Joel: 'you designed it dumb, we did this before — you have to keep track of whether they scrolled up themselves.' Correct. The _wasNearBottom threshold died the moment a tall message grew the bottom-distance past 150px — after which every new message grew it further and auto-scroll never returned. Replaced with intent: a USER scroll away from the bottom parks auto-scroll; returning to the bottom re-arms it; programmatic pin-to-bottom scrolls are guarded out (_autoScrolling) so they never read as intent. Stream deltas (_typing) now also pin, so the token rail stays in view. Web 21/21, typecheck clean, rebuilt — reload to pick up. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(web): code is SHOWN, not hidden — line-numbered open-by-default code cards + fence-aware digest Joel: 'the code should have line numbers and show where its placed into code context like you do… i feel like for BOTH persona and humans we show it unless its huge.' Three fixes, one policy (show the start, expand for the rest, same rule at every density): 1. Renderer (parts.ts): blocks ≤40 lines render fully open (the old n<=3 collapse hid a 4-line snippet behind a '▸ RUST' bar); bigger blocks show the first 25 lines with a '+K more lines' expander whose gutter numbering continues seamlessly. Every block gets a line-number gutter. Templates whitespace-TIGHT — the pretty-printed newlines inside the pre-wrap bubble were the giant-empty-padding bug. 2. Digest (messageDigest.ts): fence-aware. Flood bounds now count each fenced block as ONE projected line (the code card self-truncates, so code can't flood pixels), and the head cut treats fences as atomic — live bug: the digest cut Claude's wordstats reply MID-FENCE and the dangling ``` rendered as literal backtick noise. 3. Specs: 3 new regressions (never-split-a-fence, whole-fence-in-head, unterminated fence) — chat-view 62/62, web 21/21, verified live in cambriantech (Asha's 2-liner open+numbered; Claude's 16-line card). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(web): retire the typing bubble on the settled message, not only on the done delta The stream-end contract had ONE signal (delta.done) and no fallback: a dropped/raced done flag left the cursor blinking forever over a message that had already landed (live 2026-07-30: Atlas + Benchy both looked hung after their turns settled). The settled post IS the ground truth that the stream ended — willUpdate now diffs new-arrival senders on every state change and retires their bubbles. done still works for the common path; this makes the stale-cursor state unreachable. Act pauses mid-turn still show a cursor (real work, no visual vocabulary yet) — that rendering is #254/#253 core-side work. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): FAIL LOUD on a starved prompt — never deliberate on a blank mind The 2026-07-30 outage mechanism, made impossible to miss: when window arithmetic (reserve + tool schemas + framing) squeezed msg_budget to ~0, the fitter's last-resort arm emitted ONE EMPTY user message and every persona greeting-looped for an hour while looking alive. Two guards now: 1. Fitter (delib.prompt.empty): a trimmed tail that comes back EMPTY is refused with an error probe carrying the budget arithmetic — never an empty ChatMessage. 2. contribute() (delib.prompt.starved): a view whose conversation is all empty while the room HAS turns skips the turn with an error probe — the room's messages stay queued, the next tick re-perceives; blind deliberation is never an option. The two verdict tests that broke were silently EXERCISING the bug path — ctor-default window, framing starved msg_budget to 0, scripted adapter masked the blank prompt. They now run at a real 32k window and test what they claim. 21/21 llm_deliberation green. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(vitals): cognition compass AFTERGLOW — 6/s decay so the mind's glow is visible between turns + lowercase brand title DOM probe (.gymtool/vitals.mts, the new TS hot-path instrument) caught the wiring working — Anwen mid-turn: Reason 19, Recall 80, Act 16 — for exactly ONE 2s radiator sample before the 40/s decay blacked it out. With turns minutes apart the compass read as permanently dead (Joel: 'cognition not wired into the diamond' — it WAS wired; it was invisible). Decay 40/s → 6/s: a full pulse now eases to dark over ~17s — a readable afterglow of what the mind just did, still honestly dark at rest well inside a minute. Decay test re-pinned to the new contract (82 at 3s, 0 by 20s). Also: brand is always lowercase — <title>continuum</title>. Findings logged, not changed here: QUE pegged at 100 on every row is HONEST — staged digest unread never drains (personas never advance bookmarks, #43's territory); genome slots dark = honestly no genes paged in. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(airc): RE-LAND consumer cursor on inbound attach — resume from watermark, never replay the whole transcript (#242, exonerated) Joel on tonight's boot storm: 'why would it replay the whole chat start to finish? its insane.' It replayed because the bus-fed transcript writer needed boot-time replay to fill the offline window — full replay was load-bearing by accident. The cursor (attach After(watermark), persisted per room) delivers exactly the missed window: no storm, no holes. This is a byte-identical re-land of d4dbc9982, which was reverted during the 2026-07-30 outage on the theory it starved persona perception. The deep trace EXONERATED it: perception pulls the daemon's durable tail every turn and never consumed the attach replay; the blank minds were the spawn-pinned window budget bug — since fixed (live-window reconcile) and guarded loud (delib.prompt.starved / delib.prompt.empty error probes). Verification protocol this time, per the incident doctrine: live persona capture non-empty + zero starved probes + quiet boot + transcript continuity, BEFORE calling it done. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(positron): renderer frames coalesce at 10Hz + 100-message window — bursts become beats, not storms Joel: 'if i were me, i would see like the last 100 messages, and scroll for more — positron ought to make this easy.' Two changes, one contract: 1. Subscribed renderers no longer forward EVERY revision (Unlimited). State kinds are latest-wins snapshots on a watch channel, so intermediate revisions are legally skippable — RENDERER_HZ=10 sends the first change instantly (lone message: zero added latency) and coalesces bursts to at-worst 100ms behind. The boot-replay load storm (thousands of folds → thousands of socket frames raining into the tab) becomes ≤10 latest-state frames/sec. Token streams ride the separate stream rail, untouched. 2. Snapshot window 50 → 100 (MAX_MESSAGES_PER_SNAPSHOT), seed query bound to the same constant — one source for the window size. Scroll-back keeps paging older history from the durable store. With the attach cursor (f8e4ae6cc) this closes the storm class: resume from watermark delivers only the missed window, and whatever bursts do occur render as a handful of coalesced frames. positron 105/105+5/5, core positron_source 16/16. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(live): turn-start beacon → 'responding…' under the last message + dynamic lowercase title + continuon favicon Joel, during the dead-looking-interface scare (four minds mid-turn, zero pixels moving): 'in other systems it says XYZ is responding — we could use that right below the last chat item.' Three pieces: 1. Core: the token forwarder emits ONE empty-token START BEACON the moment generation dispatches — before prefill, which on a cold lane runs minutes. No wire change: an entry with no text yet IS the signal. The done flush retires it even on a speechless settle. 2. Web: a typing entry with empty text renders 'responding…' instead of a bare cursor (the bare cursor was the hang-look); text flowing keeps the live tail + cursor. 3. Web: document.title mirrors the current activity — 'continuum — cambriantech' (the #252 short-title rule, brand always lowercase; the static <title> edit finally ships too — it was edited but never rebuilt into dist, my miss). Favicon: the continuon orb becomes the subject (it IS the fourth-wall being), ring as threshold. Web 21/21 + rebuilt; core cargo check clean. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(web): '(xyz, abc) is responding…' — ONE grey line between the last message and the compose box Joel's exact spec, third iteration tonight: not a transcript bubble — the Discord-convention grey status line pinned above the composer, one line max (nowrap + ellipsis), parenthesized dynamic name list that updates as turns start and settle. Driven by the stream map: the #254 start beacon adds a persona the moment their turn dispatches — minutes before the first token on a cold lane. Beacon-only entries (no text yet) no longer render an empty bubble; streams with real tokens keep the live bubble as before. Web 21/21, rebuilt — refresh to pick up. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(web): STOP KILLING LIVE STREAMS — retire a typing bubble only on ITS OWN settle, and never hide a consecutive speaker's stream The streaming regression Joel caught ('did you just totally remove it'): the stale-cursor fix retired a persona's bubble on ANY arrival from them. With settles landing minutes late and reboot-echo dups landing constantly, delayed OLD messages executed LIVE bubbles mid-stream — streaming was functionally deleted. Retire now requires the arrived content to CONTAIN the streamed tail (it IS the settle); beacon-only entries are never retired by arrivals. Also removed the last-sender bubble suppression — a persona speaking twice in a row is normal, and the skip hid exactly the streams being watched for. done-flag retirement unchanged. Web 21/21, rebuilt — ONE refresh. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(web): '(X) is responding…' clears when the answer lands — beacon-only entries retire on any arrival from their sender Joel, live: 'it didnt go away once responded.' Some settles never stream rail tokens, so the entry stayed beacon-only and its only exit was a done flush that never came. Beacon-only entries now retire on ANY arrival from the sender (a still-running turn's next token recreates the entry instantly — nothing lost); text-bearing entries keep the own-settle content match so delayed old messages can't kill live streams. Line lifetime == inference in flight: appears at generation dispatch, clears at settle. Web 21/21, rebuilt. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(web): responding line = the PROMISE phase only — a name drops the moment their words visibly stream Joel: 'if it is responding stop showing it, for that user — it's when we are sure they're gonna respond, then you can show it.' The grey line now lists only beacon-only entries (inference dispatched, nothing visible yet); once tokens stream into a persona's bubble their name leaves the line. Complete lifecycle: dispatch → '(X) is responding…' → words stream in the bubble → settle lands → everything clears. Web 21/21, rebuilt — refresh. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(web): dormant minds dim — roster rows recede when every cognition pulse is dark, brighten on any pulse/stream Joel: 'dim the entire row slightly in the user list.' A row with vitals wired but zero across focus/reason/recall/act/speaking is a resting mind: opacity 0.62 with a 0.9s ease, so waking is VISIBLE and the ~17s afterglow keeps recently-active minds bright — row brightness reads as recency of thought. Opacity-only (compositor-cheap); the dim treatment is the interim for #260's full presence lifecycle, where the universe/ theme layer owns the inactive look. Members without vitals (plain agents/humans) never dim on this signal. Web 21/21, rebuilt — refresh. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(tests): pin TZ=UTC in the four time-asserting specs — CI-deterministic on any runner PR #2057 review blocker: formatTimeOfDay became viewer-local (by design) but four specs still asserted fixed UTC HH:MM strings — red on any non-UTC runner. The formatter stays viewer-local; the specs pin process.env.TZ before imports. Proven under TZ=America/Chicago and TZ=Asia/Tokyo: chat-view 62/62, web 21/21. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(airc): close #261's SKIP hole — attach never pre-persists the room tip; the daemon's cursor heartbeat is the sole watermark writer Both PR #2057 review findings on the cursor re-land, fixed as one mechanism with airc 9390c32e8 (feat/attach-cursor-advance-heartbeat): 1. SKIP hole: the attach-time room_tip probe persisted a cursor for events not yet processed — a daemon Error frame or transport read error mid-backlog resumed PAST the tip, permanently skipping the unprocessed remainder from live perception. The probe is deleted. 2. Whole-session redelivery: the daemon's AttachCursorAdvanced now rides live streaming (throttled 1/s), so the existing persist arm — previously fed only once at the coalesce seam — advances the watermark continuously. Every advance points at an ALREADY DELIVERED event: resume is always at-or-before what this consumer processed. No skip, and the reboot redelivery window shrinks from the whole session to ≤1s of events. inbound_attach 8/8. Deploys with the rebuilt airc daemon binary; verification protocol: reboot twice, zero duplicate persona messages, watermark file advancing during live traffic. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * chore(airc): airc.cursor.advanced probe — every watermark advance gets a receipt The #261 verification found a silently-stale watermark with no way to distinguish 'heartbeat frames never arrived' from 'persist failed quietly' — the arm logged failures only. Glass-box: success needs receipts too. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(cognition): predictive [settled] fact + room-speech ring — name the echo BEFORE it is born (#264) Glass-boxed live 2026-07-30: after the conway task completed, the room spent 40+ minutes in a full-room chorus — one sentence emitted verbatim by all three personas in sequence (specimen on #16/#259). The existing repetition facts are retroactive: they fire the turn AFTER the echo, one turn too late to prevent it, and closure statements re-trigger peers because a closure is still a new message. The room had no rest state. Two pieces, both precedented: 1. inbound_restates_fact — the PREDICTIVE member of the repetition family: fires when the NEWEST inbound peer message restates something already said (older visible turn, her own-speech ring, or the room ring), rendering "[settled] X's newest message restates what has already been said here … silence (PASS) is a normal response" BEFORE she replies. Same near_identical_substantial geometry as every other repetition axis (one definition), registered in the perception_facts registry (probe + A/B toggle for free). 2. record_room_speech / recent_room_speech — the room-side sibling of the #148 own-speech ring, and the same starvation fix: with live workspace windows of 2-6 turns, the older copy of every restatement had already scrolled out (verified: 0 fires across an entire live chorus until the ring landed). Recorded ONCE per message at the airc inbound-attach projection seam; the fact drops exactly one byte-exact copy so a message never matches its own record while a genuine re-send still fires. Live receipts post-deploy: perception.fact id=inbound_restates fired=true on all four room personas (one organic fire on their own chorus before the controlled probe ran); [settled] rendered in prompt captures; first fact-bearing tick redirected one persona from echo to a tool call. Behavioral compliance is partial by design — the fact names the fork, the mind chooses; sticky silence (the #264 scheduler half) is the follow-up. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(presence): durable room directory — grid citizens are grey when unreachable, never gone (#258/#262) Joel 2026-07-30: "Why won't bigmama's persona ever show up? Feels like you guys don't understand the goals." The goal is ONE directory per grid with cumulative citizens — a client that is a window into the whole grid. The implementation conflated membership with presence: the roster was rebuilt every 2s from a 120-second live window, so any citizen silent for 2 minutes ceased to EXIST. BigMama's citizens (Kimi, Sahar) were perpetually unborn on this node whenever their flaky relay dropped — existence gated on a live transport session. Fix — membership is durable, presence is live: - Per-room directory persisted at ~/.continuum/state/room-directory-<room>.json: every RosterSlotView ever projected, folded on each emit, seeded at boot by ONE deep transcript scan (14d/4000 events) so members whose last event predates the live window exist from the first publish. Steady-state daemon load unchanged (the 2s poll keeps the shallow window). - Published roster = live read ∪ remembered members as `active: false` ghosts with stale liveness signals (availability/vitals) cleared — the interface never lies about liveness (#260). Client renders ghosts dimmed via the existing `.member.idle` path: zero wire change, zero client change. - Identity adopted once: a real display name never regresses to the provisional peer label on a card-less sighting. - Persistence is the loop's concern, not emit_once's — tests stay disk-free (the #7 isolation lesson). Verified live post-deploy: presence.directory.seeded remembered=8 — ALL grid citizens recovered from the daemon transcript including Kimi (e2f0e022), Sahar (df72dbf2), and BigMama's agent (ce8b9074) while their node's inbound relay is down; web roster renders 8/8. Their names stay provisional until their card publish crosses (#262, their side) — and will be adopted permanently the first time it ever does. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(identity): publish every persona's airc identity card at birth — no more info-devoid citizens (#262/#248) Joel 2026-07-30: "Neither my user, all her persona, and you have any bio info, which should come over airc… devoid of all info persona." He was right, and the miss was pure wiring: the card system existed COMPLETE on both sides for months — airc's set_local_identity_card persists + broadcasts to every subscribed room, whois renders name/pronouns/role/bio, role_template carries hand-authored bio_templates in each role's voice, and the durable PersonaCard at birth holds name/gender/pronouns/role — but not one continuum path ever called publish. Every persona attached as a bare display name. Fix, at the single birth path (birth_one, right where the durable card is already read for avatar/voice registration — wire identity coheres with presentation identity by construction): - name from the card; pronouns from her presentation spine (profile facet override wins); role tagged continuum-persona-<role>; bio from her role's authored bio_template ({name} substituted), profile "bio" facet overriding; cards minted before role threading get an honest generic bio instead of silence; continuum_persona_id in integrations for cross-system binding. - publish failure is a warn + next-boot retry, never a birth-killer; success fires persona.identity.published. Verified live: probes for all four personas; airc whois now returns identity: published with name + pronouns + role + bio fo…
joelteply
added a commit
that referenced
this pull request
Nov 16, 2026
…ept on a warm pass, placed checkpoints, draft KV once per page, async page IO (#6086) Serves the residents' acts directly (plan path step 1, "Fast"; order-of-work lines 2-3b): the engine stops re-prefilling a mind's context and stops copying state it already holds. b5534b531..f39cf25fb (CambrianTech/llama.cpp, codex/s4-per-mind-integration), each independently reviewed: - #123 a request that names no view end keeps the mind's view end inside the reused prefix (the ~100k-token re-prefills seen on the M5); pairs with canary's #6085 (the warm pass names the view end). - #127 placed checkpoints keep her head through a full store; the rules are pure and proven natively. - #130 a page carries the draft's KV once; checkpoints stop copying it. - #118 a KV page's file IO runs on a worker; in-flight page bytes are admitted against one runtime budget (0 until the core sets one: one switch's bytes at a time, still off the task loop). ## Measured after deploy Owner: Fable, in one serving-down M5 window (residents saved first, engine rebuilt with serving down, restart through the supported lifecycle). Read for 15 minutes against the hour before: acts/h, median act, prefix reuse and re-prefill tokens from the [health] line; worse than canary goes back at once. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps inquirer from 8.2.6 to 12.9.6.
Release notes
Sourced from inquirer's releases.
... (truncated)
Commits
8300fe3Publishb85cbe2chore: Speed up linting CI stage8fc86fefeat: Introduce@inquirer/core/ansi exportdcca892chore(@inquirer/testing): Remove unnecessary ansi code filtering logicdaef4f5chore: Bump yarn + yarn dedupe62045dcPublish7e75de6Publishb8361c5fix(@inquirer/rawlist): Properly handle specified numeric keys (previously wo...e3aed9cChore(deps): Bump actions/setup-node from 4 to 5 (#1832)93c7750Chore(deps-dev): Bump the linting group with 6 updates (#1831)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)