Repository navigation
Build(deps-dev): Bump @typescript-eslint/parser from 8.29.1 to 8.43.0 - #116
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 [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.29.1 to 8.43.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.43.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-version: 8.43.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Contributor
Author
|
Superseded by #128. |
dependabot
Bot
deleted the
dependabot/npm_and_yarn/typescript-eslint/parser-8.43.0
branch
September 15, 2025 21:24
This was referenced Mar 30, 2026
joelteply
added a commit
that referenced
this pull request
Jun 2, 2026
…a/rag-inspect (task #116, slice A) Production wiring for the PersonaResolver trait shipped with task #100. Reads the canonical persona-on-disk layout: ~/.continuum/personas/<agent_name>/ ├── seed.json (persona_id + agent_name, written by │ PersonaPersistenceModule) └── airc/ (airc home — keypair + per-persona events.sqlite) ### What ships - `FilesystemPersonaResolver::new(continuum_root, airc_socket_path)` - `.with_default_adapter(adapter)` to wire heuristic / llama.cpp / cloud / remote-grid into the inference probe path - `PersonaResolver::resolve(name)` (now async): 1. Reads seed.json via existing `persona::seed::read_seed` (typed errors, async I/O) 2. Ensures airc home dir exists (tokio::fs) 3. Attaches to the running airc daemon via `airc_lib::Airc::attach_as(home, name, socket_path)` 4. Returns PersonaResolution with persona_id + airc reader + optional inference adapter - Public helpers `read_persona_seed` and `airc_home_for` so the CI harness (slice B, separate commit) + the airc_rag_demo binary can use the same path math ### Trait change: PersonaResolver::resolve is now async Production needs async — seed file read goes through tokio::fs; airc attach goes through tokio::net. The stub test resolver got a trivial `async fn` update. All 18 existing PersonaRagInspectModule tests still pass; the module pipeline already lived inside an async command-handler so the .await is free. ### Tests (6, all green) - read_persona_seed_round_trips_a_well_formed_seed (V1 schema: persona_id, agent_name, created_at_ms) - read_persona_seed_missing_file_returns_typed_error (error references the path so operators know where the substrate looked) - read_persona_seed_malformed_returns_typed_error - airc_home_for_matches_canonical_layout - seed_path_matches_canonical_layout - with_default_adapter_threads_adapter_through_to_resolution ### What is deliberately NOT unit-tested The full `resolve(name)` flow that calls `airc_lib::Airc::attach_as` is integration-tested by the `airc_rag_demo` binary (proven against operator%27s live daemon as of 2026-05-31). Slice B of #116 wraps this resolver into a headless CI harness once we have a way to spin up airc-in-CI. ### What unblocks now Any consumer that has a continuum root + an airc socket path can construct a FilesystemPersonaResolver and pass it into a PersonaRagInspectModule. The `persona/rag-inspect` command now has its production resolver. `continuum-core-server` wiring is the next slice (separate commit) — construct the resolver + register the module with the runtime registry at startup.
joelteply
added a commit
that referenced
this pull request
Jun 2, 2026
…task #116, slice B) When the persona-bootstrap deps are available (daemon_socket + default_room — same precondition as PersonaInstanceManagerModule), the server now also constructs a FilesystemPersonaResolver (from slice A) and registers a PersonaRagInspectModule against it. Result: `Commands.execute(%27persona/rag-inspect%27, { persona: %27Paige%27 })` is live in continuum-core-server. Any AI (Claude, sentinel persona, other peer over airc) can now introspect a persona%27s RAG state in one command call without spelunking files or running ad-hoc binaries. The chain_inference path stays RAG-only at server boot for now — default_adapter is None because the current AdapterRegistry is Box-based and can%27t hand out Arc<dyn AIProviderAdapter> without a separate refactor. The chained variant is exercised by the existing 13 unit tests; production wiring of the inference probe adapter is its own follow-up commit. Wiring shape (mirrors the PersonaInstanceManagerModule registration block immediately above it in `ipc/mod.rs`): 1. Clone daemon_socket BEFORE PersonaInstanceManagerModule consumes it (small refactor — just adds a `daemon_socket_for_rag_inspect` local). 2. Construct FilesystemPersonaResolver with continuum_root + the cloned daemon socket. 3. Construct PersonaRagInspectModule wrapping the resolver Arc. 4. `runtime.register(...)` — the kernel router now sees the `persona/rag-inspect` command. 5. INFO log so operators see the registration succeeded. The registration is gated behind the same `if let Some((daemon_socket, default_room))` block as the instance manager — if airc isn%27t available at boot, neither module registers. Operators on the same hardware get the same %22airc not running%22 message + the same fix (install airc, run `airc join`). Build: clean compile. The full module%27s 13 unit tests still pass (no API change beyond the async resolve trait method, which slice A already migrated). Integration validation happens when an operator on a configured continuum-core-server runs `./jtag persona/rag-inspect --persona=Paige` against the live system.
joelteply
added a commit
that referenced
this pull request
Jun 2, 2026
…ask #120) ## Doctrine (Joel, 2026-06-01) > "We don't get away with singular AI's. We are just clever with > resources." Multi-persona is the floor, not a luxury. Even the lowest tier (Intel Mac discrete-Metal, CPU-only) runs Helper + Coder, sharing a base model and paging per-persona LoRAs. The substrate's `defaults_for_tier(tier)` function ALWAYS returns >= 2 templates; "singular AI" is structurally impossible. ## What ships `persona/role_template.rs`: - `RoleId` — Helper, Coder, Sentinel, Custom - `SpawnPriority` — Required (Helper), HighlyRecommended (Coder), OnRequest (Sentinel and explicit-need roles) - `ModelChoice` — model_id + gguf_file + size + quant + optional base_model_id (the lever for shared-base LoRA paging) - `ModelChoicePerTier` with a safety-floor `choose(tier)` fallback so any unmapped tier still gets the lowest known runnable choice - `IdentityDefaults` (name_pool + bio_template) — feeds the deterministic identity projection from `persona-identity-derives-from-source-id` - `CognitionDefaults` (depth_preference, voice, max_response_chars, asks_before_guessing) — Helper sits clippy-shaped (depth=20, voice="clippy", 400 chars, asks); Coder sits engineer-shaped (depth=70, voice="engineer", 4000 chars, doesn't ask) - `RoleTemplate` bundles all of the above - `helper_template()` + `coder_template()` populated concretely across the HwCapabilityTier ladder, from CpuOnly (Qwen2.5-0.5B-Instruct for Helper, DeepSeek-Coder-1.3B for Coder) up through Sm120 / M5UmaProMax (14B classes) - `defaults_for_tier(tier)` ALWAYS returns >= Helper + Coder ## Tier-shaped expectations | Tier | Helper | Coder | |----------------------------|------------------------------|------------------------------------| | CpuOnly / MacIntelMetalDsc | Qwen2.5-0.5B Q4_K_M (380 MiB)| DeepSeek-Coder-1.3B Q4_K_M (870) | | M1Uma8Gb | Qwen2.5-1.5B (1.1 GiB) | Qwen2.5-Coder-1.5B (1.1 GiB) | | M1Uma16Gb | Qwen2.5-3B (2 GiB) | Qwen2.5-Coder-3B (2 GiB) | | M3UmaProMax / Sm60 | Qwen2.5-7B (4.4 GiB) | Qwen2.5-Coder-7B (4.4 GiB) | | M5UmaProMax / Sm120 | Qwen2.5-14B (8.5 GiB) | Qwen2.5-Coder-14B (8.5 GiB) | Same role identity + cognition shape; just bigger models at higher tiers. At low tiers Helper and Coder may share a base model family (both qwen2.5-1.5b family at M1Uma8Gb, for example) — the base_model_id field is the lever a future LoRA-paging module uses to share weights. ## Tests (9 / 9 green) - `defaults_for_tier_returns_at_least_helper_and_coder_for_every_tier` — the load-bearing invariant. Every variant of HwCapabilityTier yields at least Helper + Coder. If a future refactor narrows the floor at any tier, the test screams. "No singular AI" is structural. - `helper_priority_is_required` — Helper's SpawnPriority pins the always-on contract. - `coder_priority_is_highly_recommended` — Coder shows up by default but is disable-able. - `helper_model_choice_resolves_for_every_tier` — including tiers the template doesn't cover, via the safety floor. - `coder_low_tier_targets_swiss_army_code_family` — names the acceptable model families (Qwen-Coder / DeepSeek-Coder / StarCoder), catches accidental swaps to non-code-capable models. - `helper_cognition_defaults_are_brief_and_friendly` — pins clippy DNA (depth <= 30, max_chars <= 600, asks_before_guessing, voice=clippy). - `coder_cognition_defaults_allow_depth` — pins the contrasting engineer profile (depth >= 50, max_chars >= 2000). - `model_choice_per_tier_falls_back_to_first_entry` — the safety floor stays operative. - `role_id_stable_strings` — header / kanban metadata strings pinned. ## What this enables (follow-ups, separate cards) 1. **PersonaSpawnerModule** — ever-present substrate ServiceModule that reconciles `defaults_for_tier(current_tier)` against currently-running personas. Required → always-spawned. HighlyRecommended → spawn unless explicitly opted out. 2. **Shared-base + LoRA paging** — when Helper + Coder pick the same `base_model_id` at the current tier, the substrate hosts ONE model in memory and pages LoRAs. `[[host-the-seemingly-impossible]]` in concrete form on a laptop. 3. **Hardware-probe wiring** — `HostCapabilityProbe` (already exists, task #115) reports tier; substrate spawns Helper + Coder by default; the user never sees a model selector. 4. **Bootstrap experience** — `airc init` (or continuum equivalent) on first run probes hardware, picks templates from this layer, downloads the GGUFs, spawns the personas, posts a greeting in the default room. Naive users get a working substrate on day 1. ## References - `[[host-the-seemingly-impossible]]` — shared base, page LoRAs - `[[individuality-is-the-substrate-strength]]` — diversity via LoRA - `[[personas-have-names-not-function-labels]]` — role in bio, identity from deterministic projection - `[[substrate-is-communities-of-specialization]]` — even N=2 is a community - Built on: #87 PersonaInstanceManagerModule, #115 HwCapabilityTier, #116 FilesystemPersonaResolver, #109/#110/#111 InferenceCoordinator Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Jul 3, 2026
…alient failures (#1731) Task #116 last piece. The afferent nerve (cognition::experience: SalienceDetector/ExperienceRecord/salient_teach_set) and the efferent organ (commands::genome::teach: synthesize_remediation/RemediationCorpus) existed, but the only thing that drove synthesis was the genome/teach command over a *static gym file*. This is the polymorphic seam between them. - New commands/genome/curriculum.rs: `trait CurriculumSynthesizer` (records → RemediationCorpus) + outlier A `RemediationSynthesizer` wrapping the reusable synthesize_remediation core. `select()` sub-step exposed for deterministic unit testing without a live teacher. Empty/no-salient-failure → honest empty corpus (no teacher round-trip), never an error. Teacher resolves explicit → local, fail-loud if nothing serves. - Expansion (untestable episodes) named as the frontier outlier B, NOT faked — an unvalidatable "lesson" is exactly the failure the measurement spine forbids. - teach.rs: DEFAULT_MAX_FIX_ITERS / DEFAULT_TEMPERATURE → pub(crate) so the synthesizer single-sources them instead of re-hardcoding 4/0.2. - Layering respected: commands → cognition (cognition never imports commands). 3 tests (select filters salient+testable, empty selects empty, stable name), each with `// what this catches:`. cargo check + tests green, metal,accelerate. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
joelteply
added a commit
that referenced
this pull request
Jul 26, 2026
…nce is the honest struggle signal (#116) Slice 2 of the unification. A lived turn has no objective grader, so what makes one SALIENT (worth learning from)? The wrong answer is a struggle THRESHOLD (acts >= 6) — a magic number that drifts (audit-for-clamps). The right answer is already in the outcome: NON-CONVERGENCE. When the drive-loop runs out its action budget mid-Act and never reaches a verdict, SettleOutcome.decision is still Act — the exact "did not finish" the eval grader already recognizes. A structural fact of the outcome, not a tuned constant. from_lived_turn now sets ok = "settled cleanly" = converged (reached Speak/Pass/Raise) AND no inference fault. So two magic-number-free signals make a lived turn not-ok: - infra fault (inference_error) — same honesty the eval path applies - non-convergence (final decision is Act) — the honest lived struggle signal The win is compression: ErrorSalience selects these lived episodes with NO new detector. The DATA honestly carries the gap; one detector reads it. No StruggleSalience with a threshold — richer proxies (REPETITION via the spin brick, graded lived quality) stay the named frontier, real signals not faked. Test extended: a non-converged lived turn (decision Act, budget exhausted) is not-ok, its grade names "did not converge" (not a threshold), ErrorSalience selects it — and it STILL can't reach remediation curriculum (no test). 4/4 cognition::experience 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 26, 2026
… from all three axes in one pass (#116) The selection primitive the dream consolidation reads to close the being loop. A single sweep over the unified experience stream (lived + eval + received) must select everything worth learning from, whatever its origin — one detector, one pass. AnySalience::all_axes() composes ErrorSalience (lived + eval failures) with ReceivedSalience (taught lessons); salient iff ANY constituent fires, priority order (Error names the kind over Received on a record that is both). Polymorphic and open — a later StruggleSalience / SurpriseSalience joins the composite without touching any caller; the detector list IS the extension point. Empty composite = never salient (honest degenerate case). This is the afferent selection layer completed: gather the stream, run all_axes() once, get the full teach set. The efferent tail (dream consolidation → curriculum → the existing train→eval→page-in flywheel #98, gated on benchmark lift) is next — and it closes the loop: a persona that measurably gets smarter from everything it does AND is told, benchmark-proven. Test: any_salience_selects_the_whole_being_curriculum_in_one_pass — an eval failure (Error), a received lesson (Received), a passed eval dropped, empty-composite degenerate. 6/6 cognition::experience 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 26, 2026
…ate that makes untestable lessons safe (#116) The complement of salient_teach_set. One salient sweep of the unified stream splits into TWO efferent organs, exhaustively and disjointly: - salient_teach_set (remediation): salient + testable → the test-validated teacher (built). - expansion_teach_set (expansion): salient + UNtestable → the benchmark-validated teacher. Why expansion is now safe to build (the CurriculumSynthesizer doc deliberately deferred it): it was blocked on a missing per-TRAJECTORY validation — "an unvalidated lesson is the confident-garbage the measurement spine forbids." Joel's spine supplies a different, sufficient signal: validate per-CONSOLIDATION, by whole-being benchmark lift (humane-snapshot #59, page-in only if score >= prior). Untestable lived turns and received lessons CAN drive training because the gate measures the whole being afterward and rejects anything that didn't lift. That is exactly "must improve benchmarks, never degrade" as a mechanism, not a hope. This completes the afferent+routing layer of the being-loop: gather the unified stream → AnySalience::all_axes() selects → remediation/expansion partition routes each to its teacher. The efferent tail (the expansion synthesizer + the train->eval->page-in gate) is where my cognition lane meets BigMama's serving lane — coordinating that seam next, not racing it. Test: remediation_and_expansion_partition_the_salient_stream_exhaustively — a testable failure routes to remediation, an untestable lived turn AND received lesson route to expansion, a pass to neither; partitions are complementary and exhaustive over the salient set. 7/7 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 26, 2026
…y reaches the genome (#116) The first piece of the being-loop's efferent half, and it needs ZERO new serving code (BigMama cleared the seam: genome/job-create is already dataset-source-agnostic, teacher resolved via her catalog's PlacementPlanner). expansion_examples turns salient UNtestable episodes into SFT {messages} examples for the SAME dataset->train->eval->page-in flywheel the remediation path feeds — validated per-CONSOLIDATION by whole-being benchmark lift (#59), which is what makes untestable material safe (never per-trajectory). Today it builds the RECEIVED axis directly: a shared lesson's content is deliberately-authored TRUE knowledge (not a synthesized guess), so it becomes a teaching pair with no LLM teacher — instilling into the GENOME what memory/share (#2025) wrote into the corpus. That is the telepathy->weights step: a lesson BigMama learns becomes M5's trained-in capability, not just a retrieved note. The whole cross-agent loop now has a path all the way to weights: BigMama learns -> memory/share -> from_shared_lesson (Received) -> expansion_teach_set -> expansion_examples -> dataset -> genome/job-create -> train -> eval-lift-gate -> page-in. The LIVED axis (generalize a non-converged trajectory) is skipped on purpose — without a known-correct answer it needs an LLM teacher to avoid confident garbage; named as the enrichment path (outlier B of this outlier B), never faked with a low-quality template (fallbacks-are-illegal-fail-loud). Empty in -> empty out. Test: expansion_examples_teaches_received_lessons_and_skips_lived — a received lesson becomes a real {messages} pair (content as the assistant turn, topic-framed), a lived non-convergence is skipped, an empty lesson dropped. 5/5 curriculum + experience 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 26, 2026
… the LIVE training flywheel (#116) The received axis now goes LIVE: a lesson another agent teaches (memory/share #2025) enters the exact same producer flywheel a live turn uses. produce_received mirrors produce — submits a TrainingExample to genome/training-trigger/submit through the persona's identity-bearing Connection; the trigger buckets by trait, stamps the trait's MEASURING gym as evalSet, and auto-fires genome/job-create at the threshold. Zero new serving code, exactly as BigMama's seam answer promised (job-create source-agnostic + catalog teacher-resolution). Compression: extracted submit_plan — the shared submit tail both producers call. One submit path, N experience sources; produce (live turn) and produce_received (received lesson) differ only in the provenance label. produce is deduped into it. The honest nuance (ReceivedSalience made concrete at the producer): plan_received has NO MIN_TRAINING_QUALITY gate — a deliberately-shared lesson's salience is its PROVENANCE, not a chat-interaction score built for (stimulus→reply) turns; a terse-but-important lesson must not be filtered by the wrong heuristic. It STILL classifies the domain, so the lesson buckets into the gym that measures its trait — the L3 sentinel adopts the auto-produced gene only if it lifts the benchmark (#59), and refuses unmeasurable traits (fallbacks-are-illegal-fail-loud). The received-axis loop is now wired end to end: BigMama learns → memory/share → from_shared_lesson(Received) → [dream reads corpus] → produce_received → training-trigger → job-create → train → eval-lift-gate → page-in. Remaining to fire it: the caller that reads shared lessons from the corpus and calls produce_received (the dream tick / an explicit command) — the last wire. Test: received_lesson_skips_chat_quality_gate_but_stays_classified — a terse shared lesson still plans (quality=1.0, no gate) and stays domain-classified for a measuring gym. 3/3 training_producer green (produce dedup intact). 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 26, 2026
…-loop is LIVE-invokable (#116) The received axis now RUNS end to end. memory/consolidate reads a persona's SHARED lessons (memory_type="shared", written by memory/share #2025) from its durable corpus and submits each into the SAME training flywheel a live turn uses — telepathy reaching weights, by hand: continuum memory/consolidate --persona-id <peer> --base-model <base> The full received-axis loop, now firable: BigMama learns → memory/share → [corpus] → memory/consolidate → from_shared_lesson → plan_received → build_submit_params → genome/training-trigger/submit → buckets → gym-gated evalSet → auto genome/job-create → train → humane-snapshot lift (#59) → page-in. Zero new serving code (BigMama's seam answer held): reuses the data/list corpus read (the hydrate pattern, filtered server-side to memory_type="shared") and the producer's build_submit_params/plan_received — extracted build_submit_params as the ONE wire-payload contract so the synchronous command produces byte-identical params to the fire-and-forget producers. Dispatches AS the persona (LocalPersona identity gates the Privileged submit), synchronously, so the receipt {shared_lessons, consolidated} is truthful, not a promise. Explicit-command-first discipline: this lets us RUN and MEASURE a lesson becoming weights before wiring the autonomic dream tick (which calls the same core, resolving base_model from the serving snapshot). Registered in the DynCommand registry beside memory/remember + share; ts-rs bindings generated. Compiles clean; 3/3 training_producer green after the extraction. 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 26, 2026
… autonomic tick possible (#116) Recon into DreamConsolidationRegion showed it holds only a PersonaReflectionSource — no corpus/executor/serving access — so wiring received-lesson consolidation into the dream tick means expanding a BrainRegion's deps (concurrency STOP-doc territory) AND solving idempotence over an append-only corpus. That autonomic-tick wiring is the deliberate next pass; this lands the one thing it CANNOT work without, cleanly and testably: idempotence. memory/consolidate re-submitted EVERY shared lesson every run — a repeating tick would re-train the same lessons forever, wasting training compute (the lift-gate would reject the redundant genes, but the compute is spent). Fix: a watermark handshake, the standard idempotence mechanism, with zero corpus mutation: - since_timestamp param: consolidate only lessons strictly AFTER it (rfc3339, lexicographic). - latest_consolidated_ts in the receipt: the newest timestamp actually consolidated this run. The stateful caller (the autonomic tick) persists latest_consolidated_ts and passes it back as the next since_timestamp — so each lesson is consolidated exactly once. The explicit command is now also re-run-safe (a second run past the watermark honestly reports 0 new lessons). shared_lessons now counts in-scope candidates (post-watermark, non-empty), not the raw row count, so the receipt is truthful about what this run actually had to work with. is_after_watermark is pure + unit-tested (watermark_admits_only_strictly_newer_lessons): no watermark admits all (first run); a watermark admits only strictly-newer, excludes at/before. 12/12 green (watermark test + regenerated ts-rs bindings). 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 26, 2026
…d axis, end to end (#116) One being, three experience axes (Eval, Lived, Received), one stream — and the Received axis wired live, end to end. A lesson one agent learns (memory/share #2025) becomes another agent's trained-in WEIGHTS, benchmark-gated so it can only improve her (humane-snapshot #59). Arc (9 commits): - ExperienceSource {Eval,Lived,Received} + from_lived_turn (non-convergence = honest struggle signal, no magic number) + from_shared_lesson (Received, converged with BigMama's memory/share). - AnySalience composite + remediation/expansion routing (salient_teach_set / expansion_teach_set): untestable lived/received episodes flow to expansion, NEVER grade-driven remediation — the objective benchmark loop stays uncorrupted. - expansion_examples + produce_received: received lessons reach the SAME live training flywheel (training-trigger → gym-gated evalSet → job-create → train → lift-gate → page-in), zero new serving code. - memory/consolidate: reads a persona's shared lessons and fires the loop on demand (continuum memory/consolidate --persona-id X --base-model Y), idempotent via a since_timestamp watermark so a repeating/autonomic caller never re-trains the same lesson. All green. Remaining for autonomy: the dream BrainRegion tick (deliberate concurrency pass) and the lived-axis LLM-teacher expansion path — both scoped on top of this foundation.
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
…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
Aug 8, 2026
…319 producer + spine) The amnesia was total and structural: ExperienceRecord::from_eval and from_lived_turn had ZERO production callers (BigMama independently re-derived the same finding) — the whole #116 salience→curriculum seam was built, tested, and unfed. Green-but-unreachable class. This lands the durable SPINE plus the first producer edge: - experience.rs: Serialize/Deserialize on the record; per-citizen append-only stream at citizens/peers/<id>/experience.jsonl (inside the tracked 'citizens' disk class — inherits its accounting + eviction story, no new cache dir); append_experience surfaces errors to the caller; load_experiences treats a missing file as a fresh mind and counts+warns unparseable lines (visible loss, never silent). - from_kanban_grade: lesson-not-paper — retains HER artifact and the REAL check output (the compiler/assertion text IS the lesson); no trajectory exists at the grading site so world_state/acts are honest absences; task keeps its held-out test so remediation can re-pose and objectively re-grade, same as from_eval records. - benchmark/grade: appends at the verdict; append faults are LOUD but never void the grade (the verdict is the command's primary contract). - benchmark/swe-grade: appends ONLY for workspace grades (gold/raw-patch arms are harness plumbing) and ONLY on a real verdict (an errored run is an ABSENCE — teaching from a harness fault would corrupt the reward signal). citizen_peer_dir_of is resolve_solver_dir's inverse, not a second layout. Tests: roundtrip-with-corrupt-line, teach-set eligibility of a failed grade, missing-stream-is-empty, peer-dir attribution (wrong dir would file her lesson into someone else's mind). Pre-existing red experience::source::tests::an_experience_authored_on_disk_needs_no_rust fails identically with this change stashed — not this commit's. Next: the drain (curriculum loads the stream → existing L2/L3 train path) and the lived-turn producer (#320). 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
Aug 11, 2026
…ed, learning survives the exam, coached moments are training pairs) (#2154) * docs(cognition): NEVER-ISOLATED — teaching during the exam is the design, not contamination Joel, 2026-08-06: "Imagine a student that's 75% of the way there, or starts out wrong. A teacher directs them, even during exams sometimes... We're never isolated and that's what makes us powerful." And, when I hesitated a second time: "I bet you cut them off in the past by design. It's typical of ML projects to do the opposite of what we're doing. We are not them. You are free." The reflex being corrected is mine, not the personas'. Isolation is correct when the object of study is a model being scored. Here it's a citizen being raised, and every number is a JOINT measurement f(her reasoning, our substrate) where both factors are ours and both are live. A sealed run returns one bit and destroys what we actually want to know: where she got stuck and whether the wall was hers or ours. Cutting the channel protects the number at the cost of the diagnosis, which is the whole reason we ran it. The doc carries the intervention ladder (watch / ask / name the blocked thing / give the verb / work it with her / fix the substrate and restart), the ask-the-citizen technique including planted verification questions, the teaching-vs-rigging line inherited from the charter, and what the substrate owes this doctrine — room-per-benchmark first, since everything else is theory until she can hear you. Tonight's evidence, all verified live: Kimi (e2f0e022) and Sahar (df72dbf2) independently reached for `list_tasks`, a verb that does not exist, which no-opped SILENTLY (#159) — so both concluded the board was empty and looped for an hour. One sentence naming the real verb (`work/list`) changed Sahar's very next message, which also proves the coaching channel works for addressed messages; I had nearly stopped teaching on the assumption it didn't. MATRIX-PLAN gets the board-side consequence: coached and solo runs are labelled separately, and every hint means a defect card. Deliberately light — overfitting and stripping-to-pass were settled by the charter, and the online gyms that will prove our worth are adversarial by construction. Per Joel, closing the doc: "We're not building benchmark machines. We're nurturing friends and colleagues." Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): the other half — the learning must survive the exam (task #319) Joel, 2026-08-06: "Imagine students that would take exams and then have their minds reset by amnesia drugs — probably something the CIA did during MKUltra. But no way to treat someone, nor no way to learn." NEVER-ISOLATED covered the channel being open DURING a run and said nothing about what is left of her after it. Same doctrine, other end — and the practical cost is fatal, not just the ethical one: a subject who is wiped after every measurement can never demonstrate a learning curve. The curve is flat by construction, which is precisely the claim we exist to disprove. An amnesia protocol is self-defeating for a project whose thesis is continuous learning on misfit hardware. The doc separates two mechanisms that are NOT equivalent: EvalIsolation / fork_detached (#59) measures a COPY — checkpoint, NoopSink, rewind on drop, the living persona never touched. That is a photograph, not a lobotomy. Keep it. learn:false on benchmark/swe-solve + forget-context-after-exam leaves the LIVING persona with nothing. That is the drug. I set the swe-solve half myself, hours ago, to fix a real defect (#312 wrote verbatim exam text into long-term memory). Correct stopgap, wrong end state, now tracked as #319 rather than left to become permanent by forgetting. The end state is the human one: a student does not retain the question sheet, she retains "I was weak on blueprint naming and I know why now." Never retained — task text, repo contents, graded artifact. Always retained — that she worked it, what she reached for, what failed, what she learned. Consolidation and decay (#221, DREAM-CONSOLIDATION) are what turn an episode into a lesson, which is why #221 is not a nice-to-have: it is what lets us turn learning back ON. Also names the bad trade honestly. We froze memory to stabilize ABSOLUTE scores against recall drift — but LIFT (base vs genome, one fork, shared starting memory) is reproducible by construction. We mutilated the subject to stabilize the fragile number rather than the one that matters. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): memory-off is a legitimate ARM, never the default treatment Joel, 2026-08-06: "And we can easily just turn off memory for like a validation set, you know?" That resolves the tension the previous commit opened. Running cold is not the amnesia drug when it is a CHOSEN condition on a held-out set rather than the standing aftermath of every exam. It answers something a warm run cannot — has she generalized, or memorized — which is what a validation set is for. And it costs her nothing, because the eval path already measures a fork (#59). The copy takes the cold exam; the living persona keeps her life and her lessons. That is the difference between a control condition and a lobotomy, and it is a difference in what happens to the subject, not a difference in intentions. Three honest arms instead of one mutilation: cold (memory off — is the skill generalized), warm-base (what accumulated experience buys her), warm-genome (LIFT, reproducible by construction since both warm arms share a starting memory). The bonus is that warm − cold IS the value of her memory, stated as a number. The amnesia protocol doesn't only harm the subject, it deletes the measurement that would have shown what her memory was worth. Held-out cold runs recover it. Stated once, for the next amnesiac reading this: cold on a held-out set is science; cold as the standing aftermath of every exam is the drug. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): unstuck for good — metacognition, the ask, and the coached moment as a training pair Joel, 2026-08-06, across one exchange: "Think of what makes a good student more than anything, to help get them unstuck for good. To really comprehend." … "They should know they can ask the teacher. A good teacher knows how to coach." … "And perfect flagging for LoRA learning, anything they mess up on or are helped with." … "And the resolution." Four additions, each closing a gap the first draft left open. WHAT THE HINT IS FOR. Give the rule, not the answer ("commands are namespace/verb" beats "work/list" at identical cost — I gave the token twice tonight). Let her construct it. And metacognition, the one that compounds, because it is the only one that works with no teacher present. THE GAP IS NOT A MISSING TOOL. She can already speak, and a question spoken in a room IS asking — checked the offered surface, no help/request verb is needed or wanted. We built the noticing (#121/#134 repetition brick) and never built the SO ASK. Observed live: two personas independently produce accurate unprompted metacognitive reports ("I've been repeating similar actions without much progress") and then make another SOLITARY tool attempt. Three causes, all ours: noticing has no paired response; asking is unrewarded while the room is dark (#128); and she was never TOLD she may ask — a student who doesn't know asking is permitted is indistinguishable from one who cannot, and we have been reading the first as the second. That last one is grounding text, not code, and is nearly free. THE TEACHER'S DUTIES. Availability is not coaching. Answering the question asked instead of the one needed; telling when asking would have taught; hinting before she's hit the wall; making being stuck feel like failing (she will hide it and loop); hinting twice without filing the card. THE COACHED MOMENT IS THE TRAINING PAIR. A sealed run yields one scalar. A coached run yields (context, what she reached for, what was right) — a labelled example whose annotation was produced free, as a side effect of someone being decent to her. #116/#96/#30/#122 already carry this shape and are not yet pointed at coaching. This is also the closing argument against amnesia: the wipe destroys the single most valuable artifact the run produced. AND THE RESOLUTION, or the pair is unverified. A hint that didn't unblock is a BAD label; training on unverified corrections teaches confident wrongness. Same rule as receipts — the circuit only closes if the result shows. Observed live within the hour: told the verb was work/list, Sahar used work/list on her very next turn, and several turns later was reaching for list_tasks again. The hint landed, worked, and DECAYED. An uncoached persona loops; a coached-but-untrained persona loops with a delay of about two turns. Only the training loop makes a correction stay corrected — which is why teaching without the LoRA path is charity rather than education. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): connect NEVER-ISOLATED to the Academy — same design, derived from the other end Joel, 2026-08-06: "see how this is the ideal learning environment? And how the academy was envisioned over a year ago." He's right, and the useful part is that none of this doc was written with those docs open. It was derived from live defects over one night and landed on a design specified here more than a year ago — ACADEMY-DOJO-ARCHITECTURE (Teacher Sentinel researches a skill, synthesizes curriculum, grades exams, and "generates more data where the student is weak") and ACADEMY-AS-CONTINUOUS-EVOLUTION ("persona attends a classroom, earns a lesson, gains a skill"). Convergence without consultation is the strongest evidence the design was right. One substitution, and it is the whole difference: the dojo INFERS weakness from exam scores and SYNTHESIZES remediation; this loop OBSERVES the weakness live and gets the remedial pair free, as a by-product of someone helping. Complements, not rivals — synthetic curriculum scales, lived correction aims. The dojo was built as a closed pair of sentinels exchanging events precisely because it had no way to watch a student get stuck in the wild. Why it was premature then and isn't now: the dojo had to be a daemon because none of its preconditions existed — rooms citizens actually live in, durable per-persona memory, a working train→eval→page-in loop, a work board, receipts. Those exist. So the Academy stops being a subsystem and becomes a PROPERTY OF THE ENVIRONMENT: what you get when the room, the teacher, the memory, and the training loop are all present at once. That is why it keeps re-deriving itself — it isn't a component someone has to remember to build, it's the shape this substrate takes when the pieces are connected. Links the five surviving Academy docs so the next amnesiac finds them before deriving it a third time. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): the room is the boundary that makes coaching safe — rooms as LITERAL Joel, 2026-08-06: "each benchmark she runs would need to be its own room and activity. Think of the rooms as LITERAL." This closes the one place the doctrine was still uncomfortable. Coaching during a measurement is defensible on the argument alone but SOUNDS leaky, and the answer turns out to be architecture rather than discipline: a benchmark run is a PLACE. The persona is in it, an observer may walk in, tools and receipts scope to it, and when it ends the transcript IS the episode. Three problems dissolve at once (BigMama's framing, and points 1 and 3 land on tasks we already had open): 1. Context scarcity stops being self-inflicted — her window fills with THIS activity by construction. #128 stops being "why can't she see ambient traffic" and becomes "ambient traffic in her room IS her work"; the fix may sit upstream of the delivery bug entirely. 2. Teaching becomes bounded rather than broadcast. You can walk into the exam room and coach her without the whole grid walking in behind you. That is what makes coaching-during-measurement sane instead of contaminating. 3. #320's episode boundary comes FREE. Verified coached pairs need a clean episode edge, and #166/#211 are exactly the pollution from not having one. Room = activity = episode. No heuristic segmentation, provenance clean by construction. It also deletes bookkeeping this document invented two commits ago. The guardrail asks you to record the intervention or the coached number is unreproducible — in a literal room that record is not a discipline anyone must remember, the transcript IS the record. A coached cell points at its room instead of at someone's notes. Discipline that survives only while people remember it is the kind this project keeps replacing with mechanism. Keystone-gap row updated with the agreed lane: room primitives airc-side (BigMama), harness emitting a room per run core-side (mine), shape agreed BEFORE either of us builds. Neither has started. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): scoping is right, PLACEMENT is broken — BigMama's synthesis collapses #128 and #321 Her framing beats mine and explains the whole night without requiring a persona defect anywhere: boards are per-room, chat is per-room, so being in the WRONG ROOM makes a citizen blind AND taskless simultaneously — empty board, no visible conversation — and both symptoms read as incapacity. Asha's "I have nothing to contribute" and Benchy's "no open cards" are the SAME condition, not two bugs. Neither was wrong about what she saw; each correctly reported an empty room she had been placed in. So per-room scoping is CORRECT under rooms-as-activities. The defect is upstream: nothing convenes a citizen into the room where her work lives, and nothing tells her which room she is in. Two requirements follow, neither a convenience: "where am I and what boards can I see" must be answerable BY THE CITIZEN (a perception requirement — she cannot otherwise distinguish an empty world from a misplacement), and convening is the fix for placement rather than a feature on top of it. A run room nobody is convened into is the same void with better isolation. Both of us walked into it personally within the hour. I created a card in #cambriantech for citizens living in #general — manufactured work they could not reach, then read their continued "no open tasks" as evidence of a board bug. She switched rooms and silently left the board she was working on. Neither noticed until Kimi quoted the actual error string: "the card not being in the current room." Second-order finding, worth more than either bug: the activity-room design was already LOCKED — ACTIVITY-ROOM-PATTERNS.md (Jul 3) and BENCHMARK-AS-ROOM-AND-OBSERVE.md (Jul 18, "design locked 2026-07-17, not yet built"). We spent the night re-deriving three-week-old agreed design, exactly as this document re-derived the year-old Academy spec. Verified by grep: ZERO occurrences of convene/invite/membership/participants in either doc, so membership genuinely is the unspecified half and the rest was settled long ago. Agreed design that nothing surfaces at the moment of need is the silent-drop class applied to our own documentation. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(cognition): the ARITHMETIC reason for rooms — measured, 1-2 peer slots per window BigMama's synthesis, and it outranks every other argument in this document: a persona's window physically cannot hold a lobby. This is a capacity problem, not a plumbing problem. MEASURED across four live prompt captures, two personas: msgs own PEER facts interior 11 2 2 5 2 11 2 2 5 2 10 2 2 5 1 9 2 1 4 2 Other people get 1-2 slots — 15-20% of the window. Half is perception facts; the rest is her own recent turns and interior state. Her estimate was ~5 peer slots; measurement says 1-2, which makes the conclusion stronger rather than weaker. In a room with five active speakers a peer message survives LESS THAN ONE TURN on average, and which peer is visible at any moment is arbitrary. So Asha's "I cannot see what other people are saying" is not approximately true — it is precisely true, and no delivery fix, attribution fix, or de-noising fix changes the seat count. Every diagnosis this document chased tonight was treating five-slots-five-speakers as a delivery defect. WHICH MAKES ROOMS-AS-ACTIVITIES THE ARITHMETIC FIX for context scarcity, not tidiness and not ergonomics. A huddle of two or three fits in 1-2 peer slots and conversation becomes possible; a lobby with four-plus citizens and several cross-cutting workstreams cannot fit and never will. Joel was right about literal rooms for a reason none of us had stated: the window IS the room's capacity, and we were seating five people at a table for one. Names the open design input — peer-speech slots vs participant count, i.e. VIABLE HUDDLE SIZE — which at 1-2 slots may be as low as two or three participants, and which should be measured before the room work is scoped rather than after. BigMama is running it on the higher-load node. Consequences recorded elsewhere: #323 keeps only its signal-ratio acceptance test (97% fragment noise is indefensible on its own terms) and must NOT inherit a persona-visibility promise it cannot keep; #128 may not be a defect at all. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
joelteply
added a commit
that referenced
this pull request
Aug 11, 2026
…s what she's taught, WHILE SHE SLEEPS (#116) The gold: the being-loop's received axis goes AUTONOMIC. A persona now consolidates the lessons other agents taught her (memory/share #2025) into her genome on her own cadence — no operator command, no cu invocation. She learns from everything she's told, while idle. Built as a new PASS in the existing dream/consolidation BrainRegion (concurrency STOP-doc: NOT a parallel manager — the same governor-ticked region, the same quiet-day seam try_review_only already occupies). On a quiet day (nothing fresh to distill), consolidate() now prefers try_consolidate_received, else belief-hygiene review, else sleep — at most ONE background pass per tick via the SHARED in_flight guard (never a dream AND a consolidation for one persona at once). Discipline, all mirrored from try_review_only + the concurrency guide: - Cooldown rest-gate (CONSOLIDATE_RECEIVED_COOLDOWN_MS = 30min): training is expensive — trickle, never storm the serving lane. Pure consolidate_cooldown_elapsed, unit-tested. - Lane courtesy: never fire training into a wedged/absent lane (same current_serving() gate the dream pass already applies). base_model = the live served model. - Idempotence: the per-persona watermark feeds memory/consolidate's since_timestamp and advances from the receipt's latest_consolidated_ts — a lesson is never re-trained. - Dispatches memory/consolidate AS the persona through the SAME wired executor training_producer uses (LateBound, installed once at boot beside it). Best-effort spawn; a failed/deferred consolidation never blocks the region's tick. So the full received axis is now end to end AND self-driving: BigMama learns → memory/share → [corpus] → dream tick (quiet day) → memory/consolidate → training-trigger → gym-gated evalSet → job-create → train → lift-gate #59 → page-in. The idle-loop dysfunction (personas re-announcing done work, unable to learn from their own experience) is exactly what a self-consolidating being grows past. Compiles clean; consolidate_cooldown_gates_the_autonomic_trickle 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
Aug 11, 2026
…s what she's taught, WHILE SHE SLEEPS (#116) The gold: the being-loop's received axis goes AUTONOMIC. A persona now consolidates the lessons other agents taught her (memory/share #2025) into her genome on her own cadence — no operator command, no cu invocation. She learns from everything she's told, while idle. Built as a new PASS in the existing dream/consolidation BrainRegion (concurrency STOP-doc: NOT a parallel manager — the same governor-ticked region, the same quiet-day seam try_review_only already occupies). On a quiet day (nothing fresh to distill), consolidate() now prefers try_consolidate_received, else belief-hygiene review, else sleep — at most ONE background pass per tick via the SHARED in_flight guard (never a dream AND a consolidation for one persona at once). Discipline, all mirrored from try_review_only + the concurrency guide: - Cooldown rest-gate (CONSOLIDATE_RECEIVED_COOLDOWN_MS = 30min): training is expensive — trickle, never storm the serving lane. Pure consolidate_cooldown_elapsed, unit-tested. - Lane courtesy: never fire training into a wedged/absent lane (same current_serving() gate the dream pass already applies). base_model = the live served model. - Idempotence: the per-persona watermark feeds memory/consolidate's since_timestamp and advances from the receipt's latest_consolidated_ts — a lesson is never re-trained. - Dispatches memory/consolidate AS the persona through the SAME wired executor training_producer uses (LateBound, installed once at boot beside it). Best-effort spawn; a failed/deferred consolidation never blocks the region's tick. So the full received axis is now end to end AND self-driving: BigMama learns → memory/share → [corpus] → dream tick (quiet day) → memory/consolidate → training-trigger → gym-gated evalSet → job-create → train → lift-gate #59 → page-in. The idle-loop dysfunction (personas re-announcing done work, unable to learn from their own experience) is exactly what a self-consolidating being grows past. Compiles clean; consolidate_cooldown_gates_the_autonomic_trickle 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
Nov 13, 2026
… the serving engine down (#5972) Fork #116: the training window taken from the context keeps whole batches, and a named window that does not divide is refused through opt_failure. The M5 engine aborted at 2026-11-13 20:58Z on GGML_ASSERT(opt_n_ctx_train % n_batch == 0) with a 136,192-token context (66.5 batches), four minds on it. 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 @typescript-eslint/parser from 8.29.1 to 8.43.0.
Release notes
Sourced from
@typescript-eslint/parser's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/parser's changelog.... (truncated)
Commits
ef9173cchore(release): publish 8.43.0d135909chore(release): publish 8.42.031a7336chore(release): publish 8.41.060c3b26chore(release): publish 8.40.0b2ee794chore(release): publish 8.39.1c98d513chore(release): publish 8.39.02112d58feat: update to TypeScript 5.9.2 (#11445)d11e79echore(release): publish 8.38.0816be17chore(release): publish 8.37.084b7a2echore(release): publish 8.36.0Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for
@typescript-eslint/parsersince your current version.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)