Skip to content

web: the UI stops lying — transcripts render, directory never blank, URL=URI deep links - #2639

Merged
joelteply merged 86 commits into
canaryfrom
feat/nav-activity-tree
Sep 1, 2026
Merged

joelteply merged 86 commits into
canaryfrom
feat/nav-activity-tree

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

The who-panel/transcript/liveness crisis, fixed and eye-verified via perception/observe against the live core:

  • Hydrated history now reaches the rendered transcript (isEmpty follows composed truth) — every room was sitting on 'No messages yet' over 50 fetched rows
  • Per-activity sessions keyed by room UUID: typing streams + scroll-back never leak across tabs
  • Who-panel is a node directory: roster-union + persona/roster seed + viewer, node-level liveness (residents green in every room), actives sorted on top
  • persona/roster: Privileged → AiSafe (read-only directory; room/members already serves peer_ids at ai-safe)
  • /room/ deep links: URL rewrites to the URI short form on select; bookmarks re-select via nav resolution (UUID-typed wire)
  • Bench rail gated to the academy/bench-purpose rooms — the right column belongs to the content
  • Preview clients self-update on new builds (15s build-stamp watcher)
  • SysPanel: auto-cycle off by default, fixed HUD height
  • npm build gated on tsc — a type-broken client can never build

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

joelteply and others added 5 commits June 8, 2026 21:07
…task #143 slice 2) (#1561)

* perf(concurrency,#1235): refcount-per-key cleanup so analyzer cancellation can't drop entry mid-flight (#1244)

* perf(concurrency,#1235): refcount-per-key cleanup so analyzer cancellation can't drop entry mid-flight

Pre-#1235 only the analyzer (first caller for a key) held the Drop
guard for the in_flight entry. That correctly fixed the panic-cleanup
case (#1232) but left a window during analyzer cancellation:

  T0: analyzer.single_flight("k") creates entry, holds guard
  T1: awaiter1.single_flight("k") clones the Shared, no guard
  T2: analyzer task is cancelled
  T3: analyzer's guard.drop fires, removes entry from in_flight
  T4: NEW caller.single_flight("k") finds no entry, starts FRESH
      work — duplicate inference for the same key, contract violated.
      awaiter1 still completes the original Shared.

Codex flagged this on #1233.

This change makes EVERY caller (analyzer + awaiters) hold a
RefCountGuard. The HashMap value becomes KeyEntry { shared, refcount:
Arc<AtomicUsize> }. Each caller bumps the refcount under the in_flight
lock when constructing its guard; each guard drops decrement it. The
entry is removed only when refcount hits zero — and only after a
double-check under the lock to handle the race where a brand-new caller
bumps the refcount between fetch_sub and lock acquisition.

Behavior preserved:
- Single producer for many waiters: same as before.
- Panic cleanup (#1232): work-future panic re-raises through every
  Shared clone; all guards drop during unwind, refcount → 0, entry
  removed.

Compiles clean. Tests follow in the next commit.

* test(concurrency,#1235): two cancellation-race tests for refcount cleanup

Two new tests proving the #1235 fix:

1. analyzer_cancellation_does_not_evict_entry_while_awaiters_hold_it
   - Analyzer + awaiter both register for the same key.
   - Analyzer task is cancelled (abort).
   - Awaiter is still holding the Shared.
   - A NEW caller arrives for the same key.
   - Asserts: in_flight_count stays 1 across the analyzer drop;
     work-future producer body runs EXACTLY ONCE across all three
     callers; new caller's result equals the analyzer's original
     result (joined the same Shared, didn't start fresh).

   Pre-#1235 this would have failed: analyzer's guard drop would have
   removed the in_flight entry, and the new caller would have started
   duplicate work (producers count == 2, not 1).

2. all_callers_cancelled_evicts_entry_for_fresh_start
   - Two callers register, both cancelled before completion.
   - Asserts: refcount → 0, entry evicted.
   - Fresh caller for the same key starts a fresh work future
     (the prior abandoned work is gone).

Both tests run on tokio multi-threaded runtime (default) so abort
+ Shared interactions reflect production behavior.

Full concurrency test suite: 6 passed (4 existing + 2 new), 0 failed.

---------

Co-authored-by: Test <[email protected]>

* feat(paging,#1222 PR-4): pressure-broker alert surface + ResourcePool→PressureSource adapter (#1245)

Closes the action-surface gap on Joel's "memory must be FULLY managed"
directive (2026-05-14). After PR-3 the broker can ACT on Docker
pressure; PR-4 makes it TELL operators what it did, AND brings the
DockerTierPool into the broker via a clean adapter rather than forcing
a duplicate trait implementation.

## Two pieces

### 1. ResourcePoolAdapter (paging/adapter.rs, 248 LOC, 9 tests)

Bridges Arc<dyn ResourcePool> → impl PressureSource. Required because
ResourcePool (sibling's #1228 — used by DockerTierPool, future HF
cache, future system-RAM tier) and PressureSource (Phase 7 broker
trait) are parallel traits covering the same conceptual ground.
DockerTierPool only implements ResourcePool, so it couldn't register
with the broker at all.

Derivation rules (all tested):
- pressure() = usage_bytes / capacity_bytes; 0 when capacity==0 (tier
  not under management — broker neither alerts nor acts on it)
- evict_some() forwards to evict_at_least(want); want = max(overshoot,
  10% of capacity) so a pool at exactly 100% gets a non-zero request
- stats_snapshot() derives PoolStats; hit/miss/eviction/inflight
  default to 0 since ResourcePool doesn't expose them (broker uses
  pressure + name for decisions; rest is diagnostics)

Filed follow-up issue tracking the trait-unification cleanup per Joel
"code concurrency ONCE then incorporate it" — adapter is the safe NOW
move; collapsing the two traits is the right LATER move.

### 2. PressureAlert + sink wiring (paging/broker.rs)

- New typed PressureAlert (ts-rs export, camelCase wire format) with
  tier_name, pressure, tier label, bytes_freed, action_taken, at_ms
- AlertSink type alias (Arc<dyn Fn(PressureAlert) + Send + Sync>)
- PressureBroker::add_alert_sink() — register as many sinks as needed
- emit_alert() — WARN log + every registered sink, called from
  relieve() once per pool the broker tried to relieve
- PressureTier::label() — canonical lowercase strings for IPC
- Closes the TODO at line 311 of broker.rs ("Future: emit IPC event or
  log when triggered=true")

## Why "even with 0 bytes freed" matters

Alert fires with action_taken=true even when evict_some returns 0
(fully-pinned pool, docker daemon down, etc). Zero-byte alert IS the
signal "this tier is hot AND stuck" — operator needs that distinct
from no alert. ReliefReport.triggered stays false in that case
(matches existing semantics: triggered tracks bytes-freed action),
but the alert surfaces.

## Tests (24 total, all green)

paging::adapter: 9 tests covering pressure derivation, capacity==0
short-circuits, evict_some 10% floor, overshoot semantics,
forwarding, dyn-dispatch via PressureSource trait object.

paging::broker: 6 new tests on top of existing 9 — alert per acted
pool, alerts per over-budget pool in critical, no alerts below
threshold, zero-byte alert when pool can't evict, PressureTier label
canonical strings, PressureAlert serde camelCase round-trip. Existing
broker tests pass unchanged (alert emission is additive — does not
alter triggered/bytes_freed semantics).

Clippy at baseline 162 (no drift). No unsafe, no async, no lock
nesting. parking_lot::RwLock for the new alert_sinks slot — same
discipline as everything else in the broker.

## #1222 status

- ✅ PR-1 (#1229): docker_tier discovery probe + paths::docker
- ✅ PR-2 (#1231): DockerTierPool impl ResourcePool (eviction stub)
- 📥 PR-3 (#1243): real evict_at_least via docker system prune
- 📥 PR-4 (this): pressure-broker alert surface + adapter

Operators can now subscribe to PressureAlerts via add_alert_sink to
forward into chat substrate / IPC / Grafana; until then alerts go to
the WARN log via runtime::logger("pressure-broker"). TS render layer
gets the typed wire format from shared/generated/paging/PressureAlert.ts.

Refs #1222.

Co-authored-by: Test <[email protected]>

* feat(modules,#1222 PR-3): real evict_at_least via docker system prune (#1243)

* refactor(persona): split evaluator.rs (1231 LOC) into focused submodules (#1208)

`persona/evaluator.rs` was a single 1231-LOC file mixing four
independent concerns: persona sleep state, per-room rate limiting,
post-inference adequacy check, and the `full_evaluate` gate
orchestrator. Split into:

  evaluator/mod.rs         (886 LOC) — gate orchestrator, FullEvaluate
                                       request/result types, 18 gate
                                       integration tests
  evaluator/sleep_state.rs (99 LOC)  — SleepMode + SleepState +
                                       2 unit tests
  evaluator/rate_limiter.rs (132 LOC) — RateLimiterState + RoomRateState
                                        + 2 unit tests (track_response,
                                        rate_limit_expired)
  evaluator/adequacy.rs    (207 LOC) — RecentResponse + AdequacyResult +
                                       check_response_adequacy + 7 tests

`persona/mod.rs` re-exports unchanged: `pub use evaluator::{...}` still
exposes SleepMode, SleepState, RateLimiterState, AdequacyResult,
RecentResponse, GateDetails, FullEvaluateRequest, FullEvaluateResult.
External callers see no API change.

Why these specific cuts:
- SleepState is reused independently anywhere a persona's voluntary
  attention state matters (not just Gate 1).
- RateLimiterState is a per-room cadence tracker that's a SIGNAL to the
  LLM, not a hard gate — independent of full_evaluate.
- Adequacy check is a separate phase (post-inference, not pre-response)
  that happens to share the file because it was written together.

Tests:
- `cargo test --features metal,accelerate persona::evaluator` →
  32 passed (every test from the original file, redistributed by domain).
- Full `persona::*` test suite → 451 passed, 0 failed, 3 ignored
  (no other module's imports broke).

Each new file < 250 LOC, mod.rs < 1000 LOC. Closes #1208 for the
`evaluator.rs` slice; `admission.rs` (1225) and `model_resolver.rs`
(1232) remain as separate cards.

* feat(modules,#1222): real evict_at_least via docker system prune (PR-3, stacked on #1231)

Stacks on PR-2 (#1231). Replaces the PR-2 stub (return 0) with real
two-stage eviction.

## Strategy

Two-stage escalation that frees only as much as needed:

1. **Soft (always tried first)**:
     docker system prune --force --filter "until=24h"

   Drops dangling images, stopped containers, unused networks older
   than 24h. Safe — does NOT touch in-use images, named volumes, or
   recent dev iteration artifacts. This is what a developer would
   manually run on a 'docker eats my disk' day.

2. **Aggressive (only if soft didn't free enough)**:
     docker system prune --force

   Same prune without the time filter. Frees ALL dangling artifacts
   regardless of age. Still does NOT touch in-use images or named
   volumes (Docker prune semantics).

Returns the actual bytes freed (sum across both stages), parsed from
Docker's stable 'Total reclaimed space: X.YYUNIT' summary line.
Returns 0 when docker isn't installed / daemon down / command fails —
broker treats as 'tier can't act, surface pressure to operator' (same
shape as DockerTierProbe::Unsupported).

## Parser

Standalone parse_reclaimed_bytes(output: &str) -> Option<u64>:

  - Handles all Docker units (B, kB, MB, GB, TB) with SI multipliers
    (1kB = 1000B per docker/cli convention)
  - Picks LAST 'Total reclaimed space:' line (Docker prints per-section
    totals during interactive runs; final line is the canonical total)
  - Returns None on missing line / unknown unit / unparseable number —
    distinct from Some(0) which means 'pruned successfully but nothing
    to free'

## Tests

8 tests pass (5 from PR-2 + 3 new):

  - parse_reclaimed_bytes_handles_all_units (B/kB/MB/GB/TB)
  - parse_reclaimed_bytes_returns_none_when_line_missing (5 malformed
    inputs — None vs Some(0) distinction)
  - parse_reclaimed_bytes_picks_last_summary_line (canonical-total
    semantics)

evict_at_least_never_panics replaces the PR-2 stub-asserting test.
Doesn't assert positive freed-bytes count because that requires a
live Docker daemon with prunable artifacts (flaky in CI). The unit
behavior is covered by the parser tests; live integration validation
happens during PR-4 chat-substrate alert work.

Clippy stays at baseline 162.

## Stacking

Base = feat/docker-tier-pool-impl-1222 (NOT canary). Once PR-2
(#1231) merges, GitHub auto-rebases this PR's base to canary and
the diff resolves to only PR-3 changes.

## Now-shipped under #1222

  - PR-1 (#1229): docker_tier discovery probe + paths::docker
  - PR-2 (#1231): DockerTierPool impl ResourcePool (eviction stub)
  - PR-3 (this): real evict_at_least via docker system prune
  - PR-4 (still open): chat-substrate alerts on >90% capacity

Joel directive 2026-05-14: 'memory in this system, including the
docker allotment needs to be managed by the system, FULLY.' With
PR-3, the system can actually ACT on Docker pressure (not just
report it). Closes the action gap.

Refs #1222.

---------

Co-authored-by: Test <[email protected]>

* fix(chat,#1159): URLCardAdapter HTML-escape every interpolation + safe-href guard (#1250)

Closes #1159 (PR-3 of #1100). Closes the URL-metadata-XSS surface that
PR-1 explicitly deferred (its doc comment named this slice).

## Vulnerability

URLCardAdapter.renderContent built the card HTML by string-interpolating
9 attacker-controlled fields without escaping:

- originalText (raw chat text — adversary types it)
- url (raw URL string — `"><script>...` works, `javascript:` works)
- title, description, siteName (async metadata fetch — server-attacker)
- favicon (constructed from domain — domain itself is parsed-safe but
  the slot was unescaped)
- domain (3 sites in template)

Two attack classes were live:
1. HTML injection — any of the 9 fields could break out of its quoted
   attribute or text context and inject `<script>`, `<img onerror>`, etc.
2. Scheme injection — the fallback-link `<a href="${url}">` accepted
   `javascript:`, `data:`, `vbscript:` URLs. A click executed in the
   page origin.

## Fix

1. **escapeHtml(s)** — same canonical 5-char escape used in
   TextMessageAdapter.escapeHtml. Safe in both text and double-quoted
   attribute contexts (escapes both `"` and `'`).

2. **safeHref(url)** — whitelist neutralizer. Returns `#` for any
   scheme outside the audit-once safe set (http, https, mailto, tel,
   ftp, sftp). Also passes protocol-relative `//` and same-document
   `#fragment` URLs as-is. Whitelist not blacklist because blacklists
   miss `\tjavascript:`, case mixing, `&NewLine;javascript:` HTML-entity
   smuggling, and any future code-executing scheme.

3. **Apply at every interpolation** in renderContent:
   - additionalText, url (×4 attribute sites + 1 anchor text),
     favicon, domain (×3), siteName, title, description → escapeHtml
   - href slot → safeHref then escapeHtml

## Tests

16 tests in tests/unit/url-card-adapter-xss.spec.ts, all pass.
Organized into four describe blocks (per-field escape, attribute-context
escape, href scheme neutralization, href whitelist preservation) so each
stays under the 80-line/function limit.

Each test asserts BOTH "raw injection string MUST NOT appear" and
"escaped form MUST appear" so a future bug regressing escape is
caught from both directions.

## Test-file naming + tsconfig discipline

- File is `.spec.ts` not `.test.ts` so it bypasses the
  `tsconfig.eslint.json` exclude `**/*.test.ts` (which would otherwise
  cause a parse-error and bump the ESLint baseline).
- Added the file to `tsconfig.eslint.json` include so it's parsed
  type-aware and lint-clean. Vitest discovers `.spec.ts` natively.
- This avoids the "no baseline bumps or parse-error debt for new test
  code" rule called out in the airc-8a5e direction broadcast 2026-05-14.

ESLint at 5461 baseline (no drift). TypeScript build clean.

## Path

PR-1 (#1154) — closed innerHTML Lit-reactivity hole, deferred metadata
XSS. PR-2 unrelated. PR-3 (this) — closes the deferred metadata XSS.
URLCardAdapter is now safe against the full audit set called out in
the original Joel review nit on #1154.

No behavior change for safe input. Single-encode contract preserved.

Refs #1100.

Co-authored-by: Test <[email protected]>

* refactor(persona): split admission.rs (1225 LOC) into mod + recipes (#1208) (#1251)

`persona/admission.rs` was 1225 LOC mixing the structural admission
gate, the IsMemorable trait, the v1 HeuristicIsMemorable recipe + its
policy tests, helpers, and the gate test suite. Split:

  admission/mod.rs     (985 LOC) — AdmissionGate::admit machinery,
                                    Candidate/Context/Config types,
                                    IsMemorable trait, envelope
                                    verification, seam recording, and
                                    the structural-gate test suite
                                    (replay, trust threshold, recipe
                                    error path, quarantine propagation,
                                    seam-emission invariants)
  admission/recipes.rs (326 LOC) — HeuristicIsMemorable struct + impl
                                    + 4 heuristic-policy tests
                                    (short_content, noise_phrase,
                                    duplicate, admit_synthesizes_engram)

`HeuristicIsMemorable` re-exported at the parent path via
`pub use recipes::HeuristicIsMemorable` — external callers see no API
change. Engram types previously imported privately from `super::engram`
are now re-exported `pub use` so submodules can reach them via `super::`.

Tests:
- `cargo check --features metal,accelerate -p continuum-core` clean.
- `cargo test --features metal,accelerate -p continuum-core --lib persona::admission`
  → 37 passed, 0 failed.

Closes #1208 — final slice. evaluator.rs done in #1242,
model_resolver.rs done in #1249, admission.rs done now.

Worktree-discipline note: this PR is the first work this session
authored from a proper `airc lane create` worktree rather than the
shared root checkout, after Joel called out that branch swaps in the
shared root were stomping uncommitted work.

Co-authored-by: Test <[email protected]>

* fix(chat-widget): empty state cleared by hidden attr — :host([hidden]) override (#1254)

Joel reported: chat widget's "Send your first message / Try @Helper..."
empty-state placeholder doesn't clear when the room actually has
messages. Visible after sending "my first message" into a room that
already had two prior messages — the empty-state panel still shows
below them.

## Root cause

`EmptyStateWidget` (LitElement, custom element `<empty-state>`) defines:

    :host {
      display: flex;
      ...
    }

ChatWidget toggles the empty state via the HTML `hidden` attribute
(updateEntityCount → emptyState.toggleAttribute('hidden', !isEmpty)).
The `hidden` attribute applies `display: none` via the user-agent
stylesheet — but the more-specific author rule `:host { display: flex }`
WINS the cascade, so `hidden` has zero visual effect. The toggle silently
no-ops; the panel keeps rendering.

This is the well-known custom-element-with-explicit-display gotcha
documented in the HTML5 spec:
https://html.spec.whatwg.org/multipage/interaction.html#the-hidden-attribute

## Fix

Add an explicit `:host([hidden]) { display: none; }` rule to the
component's static styles. Wins by being more specific than `:host`
alone (attribute selector wraps the host pseudo-class).

Other consumers of `<empty-state>` (UserListWidget, RoomListWidget,
TrainingDashboardWidget, the various Reactive* widgets) avoided this
bug by accident — they use `${this.isEmpty ? this.renderEmptyState()
: nothing}` to conditionally include the element rather than always-in-
DOM + toggle-hidden. ChatWidget chose the toggle-hidden pattern
deliberately because of CSS sibling rules around .messages-container,
so the right fix is to make `hidden` work as expected for the component.

## Verification

- `npm run build:ts` clean.
- Comment in code documents the gotcha + spec link so future readers
  understand why the rule is load-bearing (4 lines of CSS that look
  redundant alongside `:host { display: flex }` until you know the
  cascade history).

CSS-only behavioral fix: zero functional changes, no test added (UI
visual verification is the appropriate sign-off; will follow up after
merge with `npm start` + screenshot of a freshly-loaded populated room
showing no empty-state placeholder).

Co-authored-by: Test <[email protected]>

* feat(commands): add RustBackedCommand base + first refactor (#1198) (#1256)

Per Joel's "TS moves DOWN into rust… if not UI/UX it is rust" rule
(2026-05-14), every TS command in `src/commands/*` that exists only to
route into a Rust IPC handler does the same five things:

  1. Validate required params (throw ValidationError with consistent
     message + missing-field name)
  2. Resolve the Rust IPC client singleton
  3. Call the typed mixin method on the client
  4. Translate the snake_case Rust response to camelCase Result via
     `createXResultFromParams`
  5. Return the wrapped result

Steps 1, 2, and 5 were ~30 LOC of pure boilerplate per command. Steps 3
and 4 are the only variable bits. Pre-#1198 status quo: every command
re-wrote the boilerplate inline — exactly the uncompressed redundancy
the compression principle in CLAUDE.md exists to prevent.

This PR adds:

- `RustBackedCommand<TParams, TResult, TRest>` base class
  (`daemons/command-daemon/shared/RustBackedCommand.ts`):
  - Subclass declares `requiredParams` (which fields must be non-empty).
  - Subclass implements `callRust(params, client)` (the variable mixin
    call) and `toResult(raw, params)` (the variable result wrapping).
  - Base class owns: validation loop, client resolution, error
    consistency, the `execute()` orchestration.
  - `validateParams()` is overridable — subclasses needing richer shape
    constraints (e.g., typeof-object checks) call super then add their
    own.
  - `TRest` generic threads the raw mixin response shape through to
    `toResult` for type safety (no `unknown` cast at the seam).

- Canonical example refactor:
  `commands/cognition/admit-inbox-message/server/CognitionAdmitInboxMessageServerCommand.ts`.
  ~64 LOC → ~85 LOC, but most of the new lines are typed declarations
  (`requiredParams`, `AdmitInboxMessageRustResponse` type alias) that
  replace inline boilerplate. Every other command can adopt the same
  shape and lose ~30 LOC of envelope.

This is **PR-1**: pattern + one example. Other ~50 Rust-backed commands
adopt incrementally (don't churn-rewrite all in one PR).

Verification:
- `npm run build:ts` clean.
- The refactored command preserves the existing custom message-shape
  validation (typeof-object check) via the `validateParams` override
  pattern.

Closes #1198 for the pattern + first migration. Follow-ups can adopt
the base class one command at a time.

Co-authored-by: Test <[email protected]>

* fix(channel,#1253): default tick DB to SQLite handle (#1259)

* fix(channel,#1253): default tick DB to SQLite handle

* chore(clippy): lock warning baseline at 161

---------

Co-authored-by: Test <[email protected]>

* refactor(paging,#1246): collapse PressureSource into ResourcePool — single trait, drop adapter shim (#1264)

Closes #1246.

## Smell

`PressureSource` (broker.rs) and `ResourcePool` (pool.rs) were parallel
traits covering the same conceptual ground from two angles:

| Trait              | Method shape                                          |
|--------------------|-------------------------------------------------------|
| PressureSource     | name, pressure (0..1), evict_some, stats_snapshot     |
| ResourcePool       | tier_name, capacity_bytes, usage_bytes, evict_at_least, snapshot |

`PagedResourcePool` implemented both via two manual impls. Tier pools
that don't follow the per-key-page shape (DockerTierPool) only
implemented `ResourcePool` and needed a `ResourcePoolAdapter` shim
(#1245 PR-4) to plug into the broker. Two traits, one shape, an
adapter to bridge them — exactly the "code concurrency / control
surface ONCE then incorporate it" smell Joel flagged 2026-05-14.

## Fix

ResourcePool absorbs `pressure()` and `stats_snapshot()` as default
methods derived from the trait's existing core (capacity / usage /
snapshot). Tier impls override only when they have richer telemetry
(`PagedResourcePool` overrides `stats_snapshot()` to expose its
internal hit/miss/eviction counters; everyone else inherits the
defaults).

PressureBroker now holds `Arc<dyn ResourcePool>` directly. The broker
calls `evict_at_least(want)` instead of `evict_some()`, where `want`
is computed by a new `evict_amount_for(pool)` helper that aims to
drop pressure to `HEALTHY_TARGET_PRESSURE = 0.60` (matching the old
`evict_under_pressure()` "drop until healthy" behavior). 10%-of-cap
floor ensures non-zero ask even at exactly 100% pressure.

## Deletions

- `paging/adapter.rs` (ResourcePoolAdapter — vestigial after the
  collapse; every tier now plugs into the broker directly)
- `PressureSource` trait + `impl<K,V> PressureSource for PagedResourcePool`
  blanket impl — both replaced by direct ResourcePool consumption

## API change

External callers that registered `Arc<dyn PressureSource>` with the
broker now register `Arc<dyn ResourcePool>` instead — ergonomics are
the same (any tier implementing ResourcePool plugs in directly), the
trait name is the only churn. Currently no out-of-tree callers exist
besides the broker tests.

## Tests

66/66 paging tests pass: 9 broker tests (including the broker-end-to-end
on a real PagedResourcePool, the alert emission across the four states,
and PressureTier/PressureAlert serde round-trips), 57 pool tests.

The MockPool + StuckPool test fixtures got rewritten to implement
ResourcePool directly. MockPool's settable pressure path stays via a
`pressure()` override; capacity/usage are synthetic so the broker's
`evict_amount_for` produces sane requests.

## Diff stats

- `paging/pool.rs`: +44/−6 (default methods on ResourcePool + override
  on PagedResourcePool's stats_snapshot)
- `paging/broker.rs`: heavy rewrite (PressureSource → ResourcePool,
  evict_some → evict_at_least + evict_amount_for, mock fixtures
  rewritten)
- `paging/mod.rs`: drops adapter export, drops PressureSource export
- `paging/adapter.rs`: deleted (252 LOC removed)
- `modules/cognition.rs`: comment updated (PressureSource → ResourcePool)

## Clippy / baseline

Clippy at 161 (was 162). The deleted adapter shed one warning.

## Why this matters

Tier pools (Docker, KV cache, future HF cache, future system-RAM,
future NVMe) now plug into the pressure broker via the SAME trait
they already implement for capacity reporting. No more "do I need a
shim?" question. The compression rule from CLAUDE.md applies:
"For ANY decision (logic or data), can you point to exactly ONE place
in the codebase?" — for "tier capacity + eviction + pressure", the
answer is now ResourcePool, period.

Co-authored-by: Test <[email protected]>

* perf(coordination,#1260): track room activity for temperature decay (#1263)

Co-authored-by: Test <[email protected]>

* refactor(commands,#1198): migrate recall-engrams to RustBackedCommand (#1265)

Sister command of cognition/admit-inbox-message (refactored in #1256).
Same shape — validate, call mixin, wrap result — now expressed as
RustBackedCommand subclass declarations rather than re-implemented
boilerplate.

- requiredParams = ['personaId']
- validateParams() override adds the kind-companion required-field
  checks (by_id needs id, by_keyword needs keyword, by_origin needs
  origin); calls super first
- callRust delegates to the typed mixin
- toResult shapes the snake_case Rust response into the camelCase
  result via the existing factory

Behavior preserved: every original validation message + return shape
matches. Net: 86 -> 100 LOC, but most new lines are typed declarations
and the explicit per-field error messages — boilerplate is gone.

npm run build:ts clean.

Co-authored-by: Test <[email protected]>

* docs(architecture,#1266): codify recipe activity graph semantics (#1268)

Co-authored-by: Test <[email protected]>

* docs(grid,#1267): clarify airc pipeline and transport contracts (#1269)

Co-authored-by: Test <[email protected]>

* refactor(live,#1247): migrate livekit_agent per-key single-flight to ConcurrencyPolicy (#1270)

Closes #1247.

## Smell

`live/transport/livekit_agent.rs:86` declared a hand-rolled per-key
lock map:

```rust
static AGENT_CREATION_LOCKS: std::sync::Mutex<
    Option<std::collections::HashMap<(String, String), Arc<tokio::sync::Mutex<()>>>>,
> = std::sync::Mutex::new(None);
```

Used by `get_or_create_agent` to gate concurrent creation of the same
(call_id, user_id) — TOCTOU prevention against 3 concurrent callers all
calling `connect()` and creating 3 redundant agents+video loops.

Two problems:

1. **Reimplements `ConcurrencyPolicy`** — the substrate already shipped
   the canonical primitive in #1230 (TokioConcurrencyPolicy single_flight),
   hardened with panic-safe Drop guards (#1232) + refcount-per-key
   cleanup (#1235). The livekit code carried the exact bug class
   the substrate already solved.

2. **Lock-map entries leaked** — the prior code only released a per-key
   lock entry inside `remove_agent`. Transient agents that errored on
   `connect()` (network blip, LiveKit down) never reached `remove_agent`,
   so their lock-map entries lived forever. ConcurrencyPolicy's
   refcount drops in-flight slots automatically when the last awaiter
   completes, regardless of whether the work succeeded or panicked.

## Fix

Replace `AGENT_CREATION_LOCKS` with a module-level OnceLock holding
`Arc<TokioConcurrencyPolicy<(String, String), Arc<LiveKitAgent>, String>>`.

`get_or_create_agent`:
- Fast path unchanged: `agents.read()` lookup, return early if found.
- Slow path: construct an async work closure that does the post-policy
  re-check + `LiveKitAgent::connect()` + agents map insert + video loop
  spawn, then call `policy.single_flight(key, work)`.
- Concurrent callers for the same key all await the SAME Shared future
  the policy returns, so `connect()` runs ONCE and the result is
  broadcast to every caller.

`remove_agent`:
- No more lock-map cleanup — the policy self-evicts in-flight slots
  via refcount. `remove_agent` only owns the steady-state agents map
  now (drop the agent, disconnect from LiveKit room).

## Validation

- `cargo build --features metal,accelerate` — clean
- `cargo test live::transport --features metal,accelerate` → 16/16 pass
- `cargo clippy --features metal,accelerate` — 161 warnings (was 162;
  the deleted `#[allow(clippy::type_complexity)]` block shed one).

## Net diff

- ~50 lines removed (the static + lock-map cleanup in remove_agent)
- ~50 lines added (the module-level policy + work-closure shape in
  get_or_create_agent)
- Zero behavior change for the steady state; meaningful improvement
  for the transient-agent leak case.

## Architectural alignment

This is the second migration onto ConcurrencyPolicy after the
analyzer's adoption that already lives in canary. Same primitive, same
guarantees. Joel directive 2026-05-14 'code concurrency ONCE then
incorporate it' — livekit was the last per-key single-flight
reimplementation in the codebase that I'd flagged in #1247.

Co-authored-by: Test <[email protected]>

* fix(config): make SQLite the default main database (#1271)

* fix(config): make sqlite the default main database

* chore: lower eslint baseline

* chore: lower eslint baseline after canary merge

* chore: sync generated cognition bindings

---------

Co-authored-by: Test <[email protected]>

* fix(inference,#1262): delete dead compute_router.rs (#1277)

inference/compute_router.rs declared a CPU-vs-GPU dispatch policy that
sequential_always_cpu=true on Apple Silicon and routed any matmul under
500K flops to CPU. The file had ZERO callers anywhere in the crate (only
its own tests use ComputeRouter). Production hot path goes through
LlamaCppAdapter -> LlamaCppBackend -> llama.cpp Metal/CUDA which already
loud-fails on no-GPU per inference/model.rs:82
("CPU fallback is disabled.").

Carrying dead code that contradicts the no-CPU-fallback alpha contract
on paper but never executes is the same anti-pattern this card was
filed against. Delete to remove the misleading signal; if a future
tier-aware router is needed, build it then.

Audit findings + 3 sibling cards (#1273 verify+delete Candle qwen3.5,
#1274 delete metal_deltanet.rs, #1275 regression test) posted in
https://github.com/CambrianTech/continuum/issues/1262#issuecomment-4461757997.

Verified:
- cargo check --features metal: clean (0 errors, pre-existing warnings)
- cargo test --lib --features metal: 2092 passed, 0 failed

Lane: alpha flywheel #1272 lane 6.

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* feat(airc): add realtime envelope contract (#1278)

Co-authored-by: Test <[email protected]>

* fix(inference,#1273): delete dead Candle Qwen3.5 GGUF backend (#1279)

Remove the Candle-side Qwen3.5 inference path (the hybrid DeltaNet +
Attention recurrence loop in vendored/quantized_qwen35.rs and its
ModelBackend wrapper in backends/qwen35_gguf.rs). 1100+ LOC removed.

Why it was dead:
- AIProviderModule::register_adapters (modules/ai_provider.rs:221) only
  registers LlamaCppAdapter for local inference. CandleAdapter is
  imported but never instantiated.
- Qwen35GgufBackend was only reachable via backends::load_gguf_backend,
  whose only callers were unregistered (CandleAdapter, ContinuumModel,
  bin/* utilities) — none in the production hot path.
- Production Qwen3.5 chat goes through llama.cpp (vendored,
  statically linked) via LlamaCppAdapter → LlamaCppBackend.

Scope-down from initial #1273 plan:
The original plan was to delete the entire Candle inference chain
(CandleAdapter, ContinuumModel, quantized.rs, vendored qwen2/llama
backends). cargo check confirmed broader scope is entangled with
plasticity LoRA training tests, which use compact_llama_safetensors
+ rebuild_with_stacked_lora. That broader deletion needs a separate
audit of plasticity's production reachability and is deferred to a
follow-up card.

This PR keeps everything plasticity touches (model.rs,
candle_adapter.rs, quantized.rs, llama_safetensors.rs,
compact_llama_safetensors.rs, vendored qwen2/llama) and only deletes
the qwen3.5-specific Candle path that has no plasticity dependency.

Wire change:
- backends::load_gguf_backend now returns a typed error for
  "qwen3"|"qwen35" architectures pointing callers at LlamaCppAdapter,
  rather than silently dispatching to the deleted Candle backend.

Verified:
- cargo check --features metal: clean (0 errors, 61 pre-existing warnings)
- cargo test --lib --features metal: 2096 passed, 0 failed (4 more than
  baseline — vendored qwen35 module registration removed some dead-code
  warnings that were eating test discovery)

Lane: alpha flywheel #1272 lane 6.
Audit context: https://github.com/CambrianTech/continuum/issues/1262#issuecomment-4461757997
Verification: https://github.com/CambrianTech/continuum/issues/1273#issuecomment-4461839438

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* fix(inference,#1274): delete dead vendored/metal_deltanet.rs (+ shader) (#1281)

`vendored/metal_deltanet.rs` was a stub for a never-wired Metal kernel.
Its sole "implementation" was `bail!("Metal DeltaNet kernel not yet
wired — use CPU path")` plus a doc comment "Returns Err to signal the
caller to fall back to CPU." Greps confirm zero callers anywhere
(only `vendored/mod.rs:8` declared the module).

Also delete the companion shader `vendored/deltanet_recurrence.metal`
which had no remaining call site after removing the stub Rust
function.

Carrying a "fall back to CPU" pattern in code that nothing reaches is
the same anti-pattern this card was filed against (#1262 audit).

Verified:
- cargo check --features metal: clean
- cargo test --lib --features metal: 2096 passed, 0 failed

Lane: alpha flywheel #1272 lane 6.
Audit: https://github.com/CambrianTech/continuum/issues/1262#issuecomment-4461757997

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* test(inference,#1275): regression test for no-CPU-fallback alpha contract (#1282)

Add `tests/no_cpu_fallback_contract.rs` — three forbidden-strings
ratchets that fail the build if a future PR weakens the
no-CPU-fallback contract:

1. `select_best_device_panics_loudly_on_no_gpu` — asserts
   `inference/model.rs::select_best_device` keeps the
   `panic!("No GPU device available for inference. CPU fallback is
   disabled.")` loud-fail and tries CUDA + Metal before panicking.

2. `ort_providers_documents_no_cpu_fallback_contract` — asserts
   `ort_providers.rs` keeps the "CPU fallback is forbidden" comment
   that documents the rule from source.

3. `llamacpp_adapter_uses_loud_fail_for_no_local_model` — asserts
   `LlamaCppAdapter` uses the typed `NoLocalModelLoadable` error
   (shipped in #1093 / lane A PR-2) rather than a silent skip.

Pattern: same forbidden-strings ratchet shape as lane F PR-2 (#1129
TS persona forbidden-strings), applied to the Rust inference layer.
A test failure points the future-PR-author at the exact contract
they're about to weaken.

Closes the acceptance criterion #3 of #1262 ("regression test per
fallback path"). Final PR (4 of 4) for the silent CPU fallback audit.

Verified:
- cargo test --features metal --test no_cpu_fallback_contract:
  3 passed, 0 failed

Lane: alpha flywheel #1272 lane 6.
Audit: https://github.com/CambrianTech/continuum/issues/1262#issuecomment-4461757997

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* feat(airc): add realtime replay adapter (#1283)

* feat(airc): add realtime replay adapter

* chore: ratchet clippy baseline

---------

Co-authored-by: Test <[email protected]>

* fix(scripts,#1257): add cargo-test.sh wrapper that auto-applies platform GPU features (#1285)

Make the obvious developer command work on every platform without
requiring contributors to memorize the per-platform Cargo feature
incantation.

Before:
  cd workers/continuum-core && cargo test tick_db_handle --lib
  → fails in vendored llama crate; "metal" or "cuda" feature required

After:
  ./scripts/cargo-test.sh tick_db_handle --lib    (anywhere from src/)
  npm run test:rust -- tick_db_handle --lib
  → auto-detects platform, appends --features metal,accelerate (Mac) /
    --features cuda,load-dynamic-ort (Linux+Nvidia) / etc.

Implementation:
- `scripts/cargo-test.sh` sources the existing
  `scripts/shared/cargo-features.sh` detector (single source of truth
  for platform→features, also used by build-with-loud-failure.sh and
  git-prepush.sh) and forwards arbitrary args to `cargo test`.
- `npm run test:rust` alias added next to `test:precommit` /
  `test:prepush` for discoverability.
- `workers/continuum-core/TESTING.md` documents the friction, the
  wrapper, the CARGO_TEST_NO_FEATURES escape hatch (for verifying the
  loud-fail guard itself), and the relationship to the other test
  entry points.

The wrapper does NOT weaken the no-CPU-fallback compile guard — it
just spares the dev from typing the platform-correct features every
time. The guard still fires in CARGO_TEST_NO_FEATURES=1 mode.

Verified:
- ./src/scripts/cargo-test.sh --test generated_barrel_sync → 8 passed,
  0 failed (8.5s, used --features metal,accelerate on this Mac).

Closes #1257.

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* refactor(chat,#1158): DRY adapter base default renderMessageElement (#1189)

* refactor(chat,#1158): lift renderMessageElement default into AbstractMessageAdapter

Three adapters (TextMessageAdapter, URLCardAdapter, ToolOutputAdapter) had
byte-identical override bodies of the form: parseContent, createAdapterWrapper,
renderContent, template.innerHTML, wrapper.appendChild(fragment).

That is now the default body of AbstractMessageAdapter.renderMessageElement.
The overrides are deleted; the live message-content slot still never sees
innerHTML (the parse happens on a detached template), and Lit-managed
reactive children inside the message bubble keep their state.

ImageMessageAdapter retains its custom override -- it builds img nodes via
property assignment to keep src and alt out of any HTML-parse path and does
not go through renderContent to string.

Net minus 61 lines.

Closes #1158.

* chore(ratchet): lock in -2 eslint from #1158 adapter DRY lift

* chore(eslint-baseline): ratchet -2 from #1189 adapter base default lift

* chore(eslint-baseline): linux ratchet to 5459 (match macOS baseline)

Linux CI ratchet failed because eslint-baseline.linux.txt was still at
5461 while the macOS baseline (and current count on both platforms)
is 5459. The ratchet requires CURRENT == BASELINE strictly, so the
-2 improvement from #1189 needed to land in BOTH platform files.

Sibling: 8b51729f5 (chore(eslint-baseline): ratchet -2) updated
eslint-baseline.txt; this commit completes the platform symmetry.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* chore(eslint-baseline): re-ratchet -2 on both platforms after canary merge

After merging origin/canary into the branch, baselines (mac=5455,
linux=5456) need to drop by the #1189 deletion delta (-2) to
mac=5453, linux=5454. macOS verified locally by precommit:
"Current: 5453 errors". Linux value is +1 vs Mac per established
platform skew; CI will surface the exact number if it's off.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

---------

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* feat(precommit,#1186): chat-roundtrip persona-reply smoke test (#1199)

* feat(precommit,#1186): add chat-roundtrip persona-reply smoke test

Closes Joel beef: browser ping is pretty low bar (2026-05-14).

New test tests/precommit/chat-roundtrip.test.ts:
  1. Verifies at least one auto-responding user is seeded (catches BUG-105 family)
  2. Sends a unique probe via collaboration/chat/send into general
  3. Polls data/list collection=chat_messages with orderBy timestamp desc, limit 50
  4. Anchors on the probe by content match (sender-id and room captured)
  5. Asserts at least one reply appears in the same room, after the probe,
     from a different sender, with non-empty content

Wires into PRECOMMIT_TESTS so it runs alongside browser-ping. Window is 55s
to leave headroom under the 60s per-test cap that git-precommit.sh imposes.
Uses an explicit-question probe text because local personas filter
no-reply-needed messages aggressively (saves Metal cycles).

What this catches that browser-ping does not:
  - Cognition pipeline silently broken (the highest-value catch)
  - chat-send rejecting the probe (room missing, attribution broken)
  - Persona seed step regressed (no AI users to reply)
  - chat_messages write path broken

Validated live: Helper AI replied to the probe in 5s on a clean stack.
Repeated back-to-back runs can be slow due to Metal queue depth on local
inference; CI runs against a fresh stack and isn't affected.

Followups (sub-cards):
  - 1186 PR-2: path-tier dispatcher (run heavy tests only when relevant
    paths touched). Wires on top of codex #1193 precommit-config loader.
  - 1186 PR-3: adapter unit tests when widgets/chat/adapters/ touched
  - Test reliability: clean local-inference queue between tests OR
    target a dedicated cloud persona for deterministic reply latency

Refs 1186.

* fix(precommit,#1186,#1199): wire chat-roundtrip into precommit-config.sh source of truth

Codex shipped #1193 adding scripts/precommit-config.sh as the canonical
source for PRECOMMIT_TESTS. My #1186 PR-1 (chat-roundtrip test) edited
the legacy defaults branch in git-precommit.sh, which only fires when
the config file is missing.

This commit updates precommit-config.sh to include chat-roundtrip
alongside browser-ping. The defaults branch is left in sync as
belt-and-suspenders so the gate works on either path.

Refs #1186, follow-up to codex #1193.

---------

Co-authored-by: Test <[email protected]>

* fix(inference,#1280): delete dead Candle adapter chain (Phase 1, ~2500 LOC) (#1288)

Per the plasticity reachability audit on #1280
(https://github.com/CambrianTech/continuum/issues/1280#issuecomment-4462181316),
production routes local inference exclusively through `LlamaCppAdapter`.
The Candle-side chain — `CandleAdapter`, `ContinuumModel`,
`select_best_device`, `load_model_by_id`, `quantized.rs::load_*_quantized`,
`backends::generate`, `backends::load_gguf_backend` — was reachable only
through itself or orphaned `bin/*` files. Plasticity's IPC handlers
(`plasticity/{analyze,compact,compress,topology,pipeline}`) work on
safetensors files via plasticity's own helpers and don't touch this
chain.

Deleted:
- `inference/candle_adapter.rs` (1486 LOC)
- `inference/quantized.rs` (287 LOC)
- `inference/model.rs` collapsed from 857 → 167 LOC, retaining only
  `rebuild_with_stacked_lora` (used by `backends/llama_safetensors.rs::CompactLlamaSafetensorsBackend`,
  test-only, slated for Phase 2 deletion alongside the safetensors
  backends once plasticity LoRA training is migrated or retired)

Wire updates:
- `ai/mod.rs`: drop `pub use crate::inference::CandleAdapter` re-export
- `inference/mod.rs`: drop `candle_adapter`/`quantized` modules + their
  re-exports; keep `model::rebuild_with_stacked_lora` only
- `modules/ai_provider.rs`: drop dead `CandleAdapter` import (it was
  imported but never instantiated by `register_adapters`)

Contract relocation (the audit's flagged risk):
The no-CPU-fallback `panic!("...CPU fallback is disabled")` in
`select_best_device` was deleted along with the rest of the dead chain.
The contract's actual production enforcement was already on llama.cpp:
`LlamaCppConfig::default()` sets `n_gpu_layers: -1` (= "all layers on
GPU"), and llama.cpp's loader hard-fails when no GPU is available.
`tests/no_cpu_fallback_contract.rs` is updated atomically to assert the
`n_gpu_layers: -1` invariant in `backends/llamacpp.rs` rather than the
deleted panic site. The `ort_providers` and `LlamaCppAdapter` assertions
survive unchanged.

Net: 7 files changed, +92 / -2546 LOC.

Verified:
- cargo check --features metal: clean (52 pre-existing warnings, 0 errors)
- cargo test --test no_cpu_fallback_contract: 3 passed (new contract
  assertion `llamacpp_default_config_requires_full_gpu_offload` green)
- cargo test --lib --features metal: 2166 passed, 0 failed

Phase 2 (deferred): delete safetensors backends + vendored
qwen2/llama backends + `rebuild_with_stacked_lora` once plasticity's
production reachability allows.

Audit: https://github.com/CambrianTech/continuum/issues/1262#issuecomment-4461757997
Mission: Joel 2026-05-15 — "eliminate slop and slowly oxidize this project"

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* docs(chat): add AIRC migration inventory gates (#1296)

* fix(config): make sqlite the default main database

* chore: lower eslint baseline

* chore: lower eslint baseline after canary merge

* chore: sync generated cognition bindings

* docs(chat): add airc migration inventory gates

---------

Co-authored-by: Test <[email protected]>

* fix(chat,#1260): track room activity for temperature decay (#1302)

* fix(chat,#1260): track room activity for temperature decay

* chore(lint): ratchet eslint baseline

* chore(lint): ratchet linux eslint baseline

---------

Co-authored-by: Test <[email protected]>

* fix(install,#1035): create continuum-core socket directory (#1304)

Co-authored-by: Test <[email protected]>

* fix(ci,#1035): clear production npm audit gate (#1305)

Co-authored-by: Test <[email protected]>

* refactor(cognition,#1295): generate_recipe PR-1 — pure-functions slice in Rust (#1298)

First slice of RecipeGenerateServerCommand.ts (371 LOC) → Rust per the
oxidization mission (#1248 umbrella). Same shape as #1289 (rate_proposals):
pure-functions slice first, IPC handler in PR-2, TS shim collapse in PR-3.

Per the carrier-types design block on #1295: the runtime registry state
that the TS prompt depends on (TemplateRegistry.list output, existing
recipe IDs from RecipeLoader.getInstance().getAllRecipes()) crosses the
IPC boundary as explicit RecipeGenerationRequest fields. Keeps the
prompt builder + validator pure, testable, and parity-checkable.

What's in this PR (4 modules, 40 tests):

- types.rs (5 ts-rs exports)
  - RecipeTemplateInfo, RecipeGenerateHints, RecipeGenerationRequest,
    RecipeGenerationResponse, RecipeDefinitionShape
  - All camelCase serde + ts-rs auto-export to shared/generated/cognition/
  - 5 round-trip / shape-acceptance tests

- prompt.rs (build_recipe_system_prompt + build_recipe_user_prompt)
  - System prompt mirrors TS buildSystemPrompt byte-for-byte (schema
    block, available-templates list, standard-pipeline pattern, rules)
  - User prompt mirrors TS buildUserPrompt (description + optional hints
    rendered as bulleted "Hints:" block)
  - 8 tests covering anchors, template rendering with 0/N entries, all
    hint types, partial hints, empty-hints skip-block

- parser.rs (parse_recipe_from_ai_response → RecipeDefinitionShape)
  - Same regex anchor as TS: /\{[\s\S]*\}/ extracts JSON envelope
  - Tolerates prose preamble + markdown fences (matches TS behavior)
  - Typed ParseError::NoJsonEnvelope / MalformedJson with raw_preview
    capped at 500 chars (mirrors TS slice(0, 500))
  - 7 tests covering happy-path + prose preamble + fence + no-JSON +
    malformed + unknown-fields-tolerated + missing-optionals + cap

- validator.rs (validate_recipe_structure → Vec<String>)
  - Mirrors TS validateRecipe checks: required fields, kebab-case
    uniqueId, pipeline shape, RAG template messageHistory, strategy
    enum + required arrays, role type + requires
  - In-request duplicate check via existing_recipe_ids carrier
  - Filesystem collision check + sentinel-template existence stay
    TS-side (PR-3 shim) — they're pure FS / runtime-registry concerns
  - 12 tests covering happy path, every required-field gap, kebab-case
    rejection, empty pipeline, malformed steps, invalid enums, missing
    strategy arrays, role schema, in-request duplicate

## Why no fallback

Per #1262, the TS path's silent error-on-malformed-JSON returns
{ success: false, error: '...' }. Rust returns typed Err — PR-2 IPC
handler maps it to validationErrors[] for the JTAG envelope.

## Next

- PR-2: cognition/generate-recipe IPC command wiring
  AIProviderRegistry::generate_text + the prompt+parser+validator
- PR-3: RecipeGenerateServerCommand.ts becomes thin shim that gathers
  templates + existing recipe IDs, calls Rust, FS collision-checks +
  saves on success

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* refactor(cognition,#1289): rate_proposals PR-1 — pure-functions slice in Rust (#1290)

First slice of ProposalRatingAdapter.ts (252 LOC TS) → Rust per the
oxidization mission (#1248 umbrella). Pure-functions-first: types +
prompt builder + parser shipped without IPC wiring or AI integration,
so behavior parity is testable before the IPC layer lands in PR-2.

What's in this PR:
- cognition/rate_proposals/types.rs: RatingMessage, ResponseProposal,
  RatingContext, ProposalRating with serde camelCase + ts-rs auto-export
  to shared/generated/cognition/
- cognition/rate_proposals/prompt.rs: build_rating_prompt mirrors TS
  buildRatingPrompt byte-for-byte (header, conversation history,
  proposals with index/proposer/confidence, rating criteria, output
  format anchors, behavior nudges)
- cognition/rate_proposals/parser.rs: parse_ratings_from_ai_response
  with ParseConfig defaults; regex anchors mirror TS exactly (same
  case-insensitive splits, same [0-9.]+ score capture that drops
  leading minus, same Reasoning: blank-line termination)

25/25 tests pass. ts-rs exports the four wire types so the TS shim in
PR-3 can import generated definitions instead of hand-writing duplicates.

Next:
- PR-2: cognition/rate-proposals IPC handler wiring
  AIProviderRegistry::select + adapter.generate_text to the prompt+parser
  shipped here
- PR-3: ProposalRatingAdapter.ts collapses to thin
  Commands.execute('cognition/rate-proposals', ...) shim

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* feat(resources,#1239): Phase 1 — system/docker-tier-stats IPC + ts-rs DockerTierStats (#1297)

Per Joel's "keep finding work" / mission to surface substrate pressure
to operators. The audit on #1239
(https://github.com/CambrianTech/continuum/issues/1239#issuecomment-4464969871)
found the gap is bigger than the card text suggests: PressureBroker is
built but never instantiated, DockerTierPool never registered,
continuum status is bash-side. Phasing the work so Phase 1 surfaces
the data without the missing broker singleton.

Phase 1 (this PR):
- New `system/docker-tier-stats` IPC handler in `SystemResourceModule`
  calling `DockerTierPool::snapshot_stats()` (new convenience method,
  one probe per call) — returns typed `DockerTierStats`
  (capacityBytes, usedBytes, pressure, detected).
- ts-rs export at `shared/generated/resources/DockerTierStats.ts`.
- IPC mixin entry `dockerTierStats()` on the RustCoreIPC client.
- TS server command at `commands/system/docker-tier-stats/` (generated
  via standard CommandGenerator + spec, then refactored to a thin
  rustClient.dockerTierStats() pass-through matching the
  SystemResourcesServerCommand pattern).
- Unit test asserts the IPC always returns the expected shape
  regardless of whether Docker is installed (CI passes without).
- Clippy baseline ratcheted -11 (157 → 146) — incidental cleanup.

Phase 2 (separate card): bootstrap PressureBroker singleton at server
startup, register DockerTierPool + future tiers, run the relief tick,
add chat-substrate alert sink so >90% surfaces as a chat message.

Phase 3 (separate card): typed `ResourceError::DiskCapacity` refusal at
production hot paths (model pull, container start, image build, gguf
download).

Verified:
- cargo test --lib --features metal docker_tier: 15 passed
- npx tsc --noEmit -p tsconfig.json: clean
- ESLint baseline holds at 5452

Mission: Joel 2026-05-15 — "eliminate slop and slowly oxidize"

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* refactor(cognition,#1289): rate_proposals PR-2 — IPC handler + orchestrator (#1291)

Wires the prompt+parser shipped in PR-1 (#1290) to AIProviderRegistry::
generate_text via the cognition/rate-proposals IPC command. Stacked on
PR-1 (rebase to canary once PR-1 merges).

Same architecture as cognition/should-respond shipped today by codex on
#1284 (oxidizer pattern: native-truth Rust core, thin TS shim collapses
in PR-3). Shares the AIProviderRegistry singleton with shared_analysis,
so concurrent rater calls go through the same registry read-lock — no
new contention surface.

What's in this PR:
- cognition/rate_proposals/orchestrator.rs — rate_proposals_with_ai()
  - Builds TextGenerationRequest with system+user messages
  - Calls global_registry().read().await + generate_text()
  - Parses response with parse_ratings_from_ai_response (PR-1 module)
  - Returns Vec<ProposalRating>
- RateProposalsRequest / RateProposalsResponse — ts-rs camelCase exports
  to shared/generated/cognition/ for the future TS shim binding
- modules/cognition.rs — new "cognition/rate-proposals" command branch
  delegating to the orchestrator
- 6 new tests (4 orchestrator + 2 ts-rs export bindings)

## Why no fallback

The TS createFallbackRatings helper that returns neutral 0.5 scores on
AI failure is NOT ported. It masks real provider outages and was caught
as a silent-success vector in the no-CPU-fallback audit (#1262). On
inference failure this returns Err — the chat substrate already handles
"no rater responded" by skipping peer-review for that round (no degraded
scoring path).

## Test plan
- cargo test cognition::rate_proposals — 31/31 pass (was 25 in PR-1, +6
  new orchestrator tests + ts-rs exports)
- cargo check --lib --features metal,accelerate — clean
- ts-rs emits shared/generated/cognition/RateProposalsRequest.ts and
  RateProposalsResponse.ts on cargo test (verified)

## Next: PR-3
ProposalRatingAdapter.ts (252 LOC) collapses to a thin
Commands.execute('cognition/rate-proposals', RateProposalsRequest) shim
binding against the generated TS types. ESLint baseline drops by the
deletion line count.

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* refactor(cognition,#1295): generate_recipe PR-2 — IPC handler + orchestrator (#1301)

Wires the prompt+parser+validator shipped in PR-1 (#1298) to
AIProviderRegistry::generate_text via the cognition/generate-recipe IPC
command. Stacked on PR-1 (rebase to canary once PR-1 merges).

Same shape as #1289 PR-2 (rate_proposals IPC). Shares the
AIProviderRegistry singleton with shared_analysis + rate_proposals,
so concurrent generator calls go through the same registry read-lock
— no new contention surface.

What's in this PR:

- cognition/generate_recipe/orchestrator.rs — generate_recipe_with_ai()
  - Builds system + user prompts via PR-1
  - Calls global_registry().read().await + generate_text() with
    Anthropic default + 0.4 temperature + 4000 max_tokens (matches
    TS RecipeGenerateServerCommand defaults exactly)
  - default_model_for_provider() mirrors TS switch lines 360-369
  - Parses with PR-1 parser; on parse failure returns Err with the
    typed ParseError as string
  - Applies unique_id_override AFTER parse, BEFORE validation
    (matches TS sequence at lines 80-82 / 85)
  - Runs PR-1 validator with carrier existing_recipe_ids
  - Returns { recipe, validationErrors }

- modules/cognition.rs — new "cognition/generate-recipe" command branch
  parsing { request, provider?, model?, temperature? } and delegating
  to the orchestrator

- 4 new orchestrator tests covering default-model parity, pinned
  generation constants, unique_id_override semantics

44/44 cognition::generate_recipe tests pass (was 40 in PR-1, +4 new).

## Why no fallback

Per #1262, the TS path returned { success: false, error: '...' } on AI
failure, masking provider outages. This Rust path returns typed Err on
inference failure — the JTAG shim in PR-3 maps it to a validationErrors[]
entry, preserving the failure mode for debugging.

## Validation errors NOT propagated as Err

Validation failures are returned in the response (not Err) so the shim
can render them via the JTAG envelope. Mirrors TS behavior exactly:
validationErrors go alongside the recipe; success: false reflects the
validation gate, not a parse failure.

## Next: PR-3

RecipeGenerateServerCommand.ts (371 LOC) becomes thin shim that:
- Gathers TemplateRegistry.list() + RecipeLoader.getInstance()
  .getAllRecipes().map(r => r.uniqueId) into RecipeGenerationRequest
- Calls Commands.execute('cognition/generate-recipe', { request, ... })
- On success path: FS collision check + sentinel-template existence
  check + saveRecipe + RecipeLoader.clearCache + reload

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* refactor(cognition,#1295): generate_recipe PR-3 — collapse TS to thin shim (-220 LOC, -3 ESLint) (#1303)

* refactor(cognition,#1295): generate_recipe PR-3 — collapse TS to thin shim

RecipeGenerateServerCommand.ts goes from 371 LOC (owning prompt build,
AI dispatch, JSON parse, structural validation, FS I/O) to ~140 LOC
(JTAG framework + carrier-state gathering + post-Rust FS I/O only).

Per the oxidization mission (#1248 umbrella): everything that was
duplicating the Rust truth-layer is gone. Stacked on PR-2 (#1301).

What this PR does:

- Replace RecipeGenerateServerCommand.execute() body with:
  1. Validate JTAG `description` parameter
  2. Gather TemplateRegistry.list() + RecipeLoader.getInstance()
     .getAllRecipes() into the carrier RecipeGenerationRequest
  3. Commands.execute('cognition/generate-recipe', { request, ... })
  4. On post-Rust success: TS-side sentinel-template existence check
     (TemplateRegistry.has — runtime-registry state Rust can't see),
     saveRecipe to disk, RecipeLoader.clearCache + reload
  5. Map response → existing RecipeGenerateResult JTAG envelope

- Delete buildSystemPrompt() + buildUserPrompt() + parser + validator
  + defaultModelForProvider() (all moved to Rust in PR-1+PR-2).

- Regenerate shared/generated/cognition/index.ts barrel to export
  the 5 new ts-rs types (RecipeTemplateInfo, RecipeGenerateHints,
  RecipeGenerationRequest, RecipeGenerationResponse,
  RecipeDefinitionShape).

## Wire format

The IPC accepts a loose envelope { request, provider?, model?,
temperature? }. RecipeGenerationRequest carries availableTemplates
(from TemplateRegistry) + existingRecipeIds (from RecipeLoader) so
the Rust prompt builder + validator stay pure (no global state).

## What stays TS-side intentionally

- File I/O — JTAG framework concern, not cognition
- Sentinel-template existence check — runtime-registry state the
  Rust validator can't see; runs AFTER Rust validation so the error
  list is comprehensive
- RecipeLoader cache reload — persistence concern

## Test plan

- npm run build:ts: clean (post-shim collapse)
- 44/44 cognition::generate_recipe tests still pass (PR-1 + PR-2)
- Behavior parity preserved: same JTAG envelope shape, same default
  provider/model/temperature/maxTokens, same validation error format

Stacked on #1301 (PR-2). Will rebase to canary as PR-1 + PR-2 merge.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* chore(#1303): lock linux eslint baseline win

---------

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* refactor(cognition,#1289): rate_proposals PR-3 — delete dead TS adapter (#1293)

ProposalRatingAdapter.ts (252 LOC) and its unit test (501 LOC) had ZERO
production callers — only the unit test imported the exported functions.
PeerReviewManager.ts (the actual peer-review pipeline) does NOT import
this adapter. So this is a clean DELETION, not a shim collapse.

Per the oxidization mission (Joel 2026-05-15): "(1) eliminate slop —
no half-finished work, no dead code, no parallel reimplementations."
A thin TS shim that nobody calls IS slop — Rust IPC handler shipped in
PR-2 (#1291) is the live truth; the cognition/rate-proposals command is
available to any future TS caller via Commands.execute with full ts-rs
typed bindings (RateProposalsRequest / RateProposalsResponse from #1290).

Originally PR-1/PR-2 commit messages said PR-3 would collapse the TS
adapter to a thin Commands.execute() shim. Investigation while drafting
this PR found zero production callers — `grep -rn "ProposalRatingAdapter\\
|rateProposalsWithAI\\|createFallbackRatings"` returns:
- ProposalRatingAdapter.ts (the file itself)
- ProposalRatingAdapter.test.ts (unit test, mocking AIProviderDaemon)
- nothing in PeerReviewManager.ts or any other production module
- nothing in chat substrate, persona response generator, or recipe path

A future TS caller wanting AI-driven proposal rating uses:
  Commands.execute<RateProposalsResponse>('cognition/rate-proposals', req)
with `req: RateProposalsRequest` from shared/generated/cognition/. No
intermediate shim layer adds value — it would just re-export the
already-typed primitive.

- Delete src/system/user/server/modules/cognition/ProposalRatingAdapter.ts
- Delete src/tests/unit/ProposalRatingAdapter.test.ts (the parsing +
  prompt-building behavior is now covered by 31 tests in Rust under
  workers/continuum-core/src/cognition/rate_proposals/)

- npm run build:ts — succeeded clean (no dangling imports)
- The 31 Rust tests under cognition::rate_proposals stay green (PR-1+PR-2)
- ESLint baseline drops by 753 LOC of dead TS

Stacked on #1291 (PR-2). Will rebase to canary when PR-1+PR-2 merge.

Co-authored-by: Test <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* oxidizer: move AI gating decision to Rust (#1294)

* oxidize ai gating decision

* chore(#1294): lock gating eslint baseline win

---------

Co-authored-by: Test <[email protected]>

* feat(cognition,#1276): migrate VisionInferenceProvider to Rust cognition/vision-describe (#1292)

* feat(cognition,#1276): migrate VisionInferenceProvider to Rust cognition/vision-describe

Per Joel 2026-05-15 ("mission to eliminate slop and slowly oxidize this
project") and the #1248 oxidizer umbrella, move TS-side vision
inference orchestration to Rust. TS becomes a thin shim.

Outlier-validation pair with codex's #1284 (AIDecisionService.evaluateGating
→ cognition/should-respond, structured-decision shape); this card is
the freeform-shape outlier. Same Rust+thin-TS-shim pattern as
recall-engrams (#1265).

## Rust side (new)

`workers/continuum-core/src/cognition/vision_describe.rs` — 337 LOC.
Owns:
1. Vision-capable model selection (filter `model_registry` by
   `Capability::Vision`, prefer local providers). Single source of
   truth — no more `process.env.*_API_KEY` checks scattered in TS.
2. Prompt construction from option flags (detectObjects/Colors/Text,
   maxLength). Pure function; unit-tested.
3. Multimodal request assembly (text + base64 image content parts).
4. Inference dispatch via `runtime::execute_command_json("ai/generate",
   ...)` so the existing Rust adapters (Anthropic / OpenAI / LlamaCpp)
   shape the multimodal payload per their own native API contracts.
5. Response parsing into `VisionDescription`. Pure function; unit-tested.

ts-rs auto-emits `VisionDescribeRequest`, `VisionDescribeOptions`,
`VisionDescription` to `shared/generated/cognition/`.

## IPC wiring

`modules/cognition.rs` — adds the `cognition/vision-describe` handler
that parses params into `VisionDescribeRequest…
…vTab (#2632 slice a)

Joel: 'it's Airc room ID. We need far better organization and elegant ui' —
and the two binding laws: display labels humanize, URIs address, UUIDs
identify; never conflated. NavTab gains parent_ref (a solve room nests under
its round's run room — lineage is a LOOKUP over records the round tracker
already keeps, never new state; run_room_for_solve is the inverse edge) and
display_label ('django-10914 · <assignee8>', derived from the same record;
untracked rooms stay honestly flat with their own titles). Serde-default
both ways — old tabs fold clean. Slice (b), the collapsible purpose-grouped
rail, renders these fields client-side next.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ank, sessions are per-activity

Six truths restored in one boundary, each verified by perception/observe
against the live core (not assumed):

1. HYDRATED HISTORY NEVER RENDERED. The center draws body.transcript, but
   scroll-back/hydration prepended only into vm.messages — and isEmpty was
   computed from the pre-reboot-empty live ring. Every room sat on
   'No messages yet — say hello' over 50 fetched rows. History and typing
   rows now land in the transcript, and isEmpty follows the composed truth.

2. TAB = CONTENT = ROOM = ACTIVITY (Joel's equation). Typing streams and
   the history buffer were widget-global, so '(Benchy) is responding…'
   haunted every tab and room switches clobbered state. Per-activity
   sessions keyed by room UUID: switching swaps a pointer; a background
   room's stream accumulates in ITS session, intact on return.

3. THE WHO-PANEL IS A DIRECTORY, NOT A ROOM FEED. Only the bootstrap room
   has a presence emitter (positron_presence.rs documents the single-
   emitter constraint), so every other room shipped an empty roster and
   the panel changed per-tab. The client now folds every roster seen with
   a persona/roster seed + the viewer themself: never blank, anywhere.

4. RESIDENCY WINS FOR LIVENESS. Presence derives from lane-readiness
   (away=warming), which greys a citizen exactly while she works. A
   resident on this node renders active; actives sort to top; the member/
   active counters recompute from the merged directory.

5. persona/roster: Privileged → AiSafe. Read-only names/peer_ids/residency
   — room/members already serves peer_ids at ai-safe; the lock left the
   operator's own desktop rendering every citizen offline. (Found en
   route: the auth gate doesn't resolve aliases — persona/list fell to
   the Owner wildcard while persona/roster passed. Client pinned to the
   canonical verb; gate fix is a follow-up.)

6. THE CLIENT UPDATES ITSELF. Build-stamp watcher reloads the page when a
   new dist lands ('i shouldnt have to refresh'), the seed re-polls every
   30s so a post-reboot empty roster heals, and vite build now runs tsc
   first — the type-broken-bundle-hot-reloaded-into-the-browser class
   (tonight's blank-everything) is structurally dead.

Also: SYS HUD auto-cycle defaults off and the widget holds one height —
chrome that reflows itself reads as broken.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… room's directory

The union forced every off-room directory member to active:false, which
greyed the four working residents (and the viewer) everywhere except the
one room with a presence emitter. The seed re-polls node-level residency;
that truth now wins for off-room entries. Verified by perception/observe:
5/5 green in academy, actives sorted on top.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…o the academy

- /room/<name> and /persona/<name> rewrite on select (short form from nav
  title; identity stays UUID on the wire) and a bookmarked URL re-selects
  its activity once the first nav envelope can resolve name → id. Verified
  live: loading /room/general lands on general with its transcript.
- The benchmark board leaves the global right rail: it joins the context
  rail only for the academy / a bench-purpose room. The right column is
  the content's, not global chrome (Joel).
- Preview clients self-update: a 15s build-stamp watcher reloads the page
  when a new dist lands — no manual refresh after deploys.
- Directory seed: viewer seeded synchronously; roster fetch failure can
  no longer render the operator offline.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply enabled auto-merge (squash) August 30, 2026 23:07
joelteply and others added 24 commits August 30, 2026 18:49
…-panel is server-truth in every tab (#2606)

The node presence reader attached to ONE bootstrap room; every other room's
roster arrived empty, so the who-panel changed per tab, academy rendered
blank, and the client grew a directory-union bridge that showed flat tiles
(no vitals/genome) and destructed on reload — the whole 2026-08-30 crisis
class. Now the reader enumerates the durable room registry
(DaemonClient::list_rooms, the #241 nav precedent), joins each room, and
runs one room-scoped presence loop per room (roster reads pass
Some(room_id) — mandatory once one reader serves N rooms).

Safe under the multi-emitter hazard documented in this file's own cue
notes: the chat projection pins focus after nav/select
(ChatProjection::pinned_away_from), and the web client now pins on first
nav contact — an unpinned projection can no longer be yanked by another
room's update.

Deploy receipt: 'emitting presence:updated for every registry room
rooms=3 bootstrap=general' + presence.directory.seeded for each.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…r their parent room (#2632 slice b)

ListingCell gains a neutral `parent` (hierarchical parent id); the rooms
listing threads NavTab.parent_ref/display_label (slice a's fields, now
actually exported — the ts-rs regen was blocked by a stale test fixture,
and sdk/typescript/generated/views is a hand-copy of the ts-rs output
that had silently drifted). RoomsPanel orders roots then their children;
a nested cell indents with a branch tick. A child whose parent isn't
visible renders as a root — never hidden work.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…osters and transcripts reach the interface

CardActivity records the solve room's airc NAME at mint (joins are by
name, never UUID-as-string); bench_round::activity_rooms() exposes every
live round's (solve_room, name); the presence emitter grows a 30s
refresher that joins any room it doesn't serve yet — registry rooms that
appear post-boot AND solve rooms minted mid-run. probe:
presence.room.adopted. With nav folding rooms from presence, a run's
solve rooms land in the Activities tree (under their run room via
activity_lineage) the same minute they exist — click in and the
transcript shows the citizen's speech + collapsed ⚙ act receipts, the
same main-text/expandable-actions grammar as Claude Code's own
transcript (Joel's screenshot, 2026-08-30).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…weep

Working round stages, working/grading run instances, and the responding
line animate with a slow text-clip gradient cycle — alive reads as
MOVING, settled reads as still (Joel: 'active tasks wave as they are
active, as a gradient cyclic'). One shared .wave-active class, gated on
prefers-reduced-motion.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…r below

A human lands on the campus, not a stale transcript (Joel: 'think of
yourself as a human user... maybe more of a landing?'). New 'academy'
content purpose: hero strip (active/citizens/working-now with the wave),
the LIVE benchmark board as the main content, the room's own chat as a
disclosure beneath. The right-rail bench widget dies — the board is
CONTENT now, and run rooms already render it center-stage via the
benchmark purpose family.

Also: BenchRound records its run room's airc NAME at dispatch
(set_run_room_name) and activity_rooms() serves run rooms alongside solve
rooms — so the presence refresher adopts the whole activity hierarchy
(rides the next core deploy; solve-room adoption is already live).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…is a door

Answering 'how do we navigate benchmark runs?' with one mental model:
academy landing → rounds as sections (lifecycle row + THEIR runs, live
first, settled folded into a disclosure) → click a run → you are standing
in its activity room, watching speech + act receipts.

Wire: BenchRunRow gains round_id + solve_room, derived in the bench
source from the claim-<uuid> run id via the round tracker — the board row
stops being a dead readout. Client: BenchRunVM threads them; runCard with
a known room renders as a door (hover ring, Enter/click →
bench-run-open); the host binds it to the same nav/select verb a tab
click uses. Rounds keep rawId for grouping (compact stays display-only).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…, no nav lookup needed

Solve rooms are navigable the moment they exist (a door click hands the
UUID to nav/select) — a bookmarked /room/<uuid> must work the same way,
before the room ever appears in a tab set.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Standing in a room requires membership: the door verb is room/join (by
name — the wire now carries solve_room_name) then nav/select. A door
without a recorded name stays closed instead of half-opening onto the
wrong room (tonight's live finding: nav moved, state stayed — the
operator wasn't a member). Run cards gain a severity stripe (working
breathes cyan, resolved green, failed red, stalled amber, queued grey) —
state readable before any text (Joel: 'be more visual').

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
The gate checks the raw invoked path, but the ai-safe/privileged sets
were built from canonical names only — an alias fell through to the
Owner wildcard. persona/list (alias of ai-safe persona/roster) was
refused to the operator's own desktop while persona/roster passed:
the 2026-08-30 everyone-offline outage. One command, every name it
answers to, both tiers; regression test pins it.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…option reaches resumed rounds

Activities recorded before room_name existed rejoin with an empty name,
starving presence adoption until a brand-new card. The mint name is
deterministic (swe--<instance>--<card8>), so the rejoin restores it and
re-records — resumed rounds' rooms become adoptable/navigable on their
next re-fire instead of never.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…e's live heartbeat everywhere

'N working now' + a live badge on the academy's Activities cell, computed
from the bench feed — the dynamic system visible from ANY room, one
glance, one click to the campus (Joel: 'see live benchmarks, events, etc
everywhere as this dynamic system operates').

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…om's store starves

Live-found endgame of #2606: with per-room presence emitters, the single
room-following accumulator was yanked to whichever room's 2s re-assert
fired next — Joel asked for /room/academy and watched a sympy solve room
land instead, wearing academy's stale transcript. Guarding the single
accumulator (drop other rooms' events) would have starved the per-room
stores citizens ground on.

The structural fix is Joel's own law, server-side: tab = content = room =
activity. ChatProjection now folds EVERY room into its own RoomAccum
(messages, acts, roster, name, emit-on-change caches); the node substrate
mirrors exactly one — the focused room's (cold boot adopts the first
event's room; after that only nav/select moves it). Vitals/loadout/genes
become member-truth overlays: a citizen's meters follow HER into every
room (the old switch_room clear was a shared-accumulator artifact).
switch_room and the wander guards are deleted, not patched — the yank is
unrepresentable.

Premise changes pinned in tests: node mirror holds the first adopted room
(each_rooms_view...), vitals persist across rooms (switching_rooms_
clears_vitals inverted), room switches in tests go through apply_focus.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Outsider pass (Joel: 'your rooms list widget is confusing... pushed the
user list all the way down'): top level is DURABLE places only; work
rooms nest under a visible parent or fold into one closed 'work rooms ·
N' disclosure — never interleaved as pseudo-roots wearing branch ticks
for rooms they don't belong to. Cells dedupe by id (the same room
rendered up to three times). The panel scrolls inside its own bounds so
Users & Agents stays on screen.

Server half (rides next deploy): lineage labels become human —
'pylint-7114 · Kira' (issue half of the instance + the assignee's NAME
from the runtime registry), not 'pylint-dev__pylint-7114 · 2f50b223'.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
WorkDriver::default() was DetachedSolve, so every dispatch without an
explicit --drive staged the doctrine violation: forked solvers, no room
turns, no curriculum, no breathing meters — four rounds ran invisible all
night on that default while Joel asked why nothing looked active.
Detached becomes the per-round diagnostic opt-in; the fallback for a
card in no round flips with it (an ordinary claim = the claimer's own
cognition). Premise-changed test pins the new law.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…e center pane

The daemon attach was ONE stream on ONE channel (the bootstrap room):
acts radiated into solve rooms (room.work_receipt.published ×67 tonight)
and no bridge ever carried them onto the projection bus — every activity
transcript rendered empty while the work streamed. AttachRegistry owns
per-room attach streams (at most one per room, probe:
airc.attach.room_bridged); AircModule seeds it with the bootstrap
channel; the presence adoption path (#2606) bridges every further room —
registry rooms at boot AND solve rooms the moment they're adopted. With
per-room accumulators downstream, a solve room's center transcript now
shows the citizen's 💭 intents and ⚙ receipts live.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…; kickoffs name sole ownership; breathe goes compositor-only

Three live-frame findings from the first citizen round (Joel watching):

1. 'AIs look still greyed' — the activity meter sampled cycle-count
   deltas, and a held-work turn is ONE long cycle: ACT read 0 exactly
   while she worked hardest. record_acts() bumps a per-persona pulse from
   the act-observe path; the radiator drains it each tick and the LOUDER
   of (cycle delta, act pulse) drives the bar.
2. Cross-talk confusion ('what is MY actual task?' — Joaquin grounding on
   Kira's card): the SWE kickoff now states sole ownership explicitly —
   a kickoff naming someone else is not yours. Room stays shared (they
   work together, per doctrine); the addressing does the scoping.
3. Animation jank: bench-breathe animated box-shadow (full-card repaint
   per frame); now an opacity keyframe on a painted-once stripe overlay —
   compositor-only.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
- Persona home gains ACTIVE WORK: her live benchmark runs as compact
  state-striped rows, each a door into its run room — identity +
  cognition (brain HUD) + what she's actually doing, one page.
- Paint budget: content-visibility on the three long lists (transcript
  rows, roster cells, bench cards) — off-screen rows cost zero paint;
  the per-card instance wave is dropped (stripes already say working;
  the wave stays on the round stage + responding line only).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…meters on the roster tile

llama-server already measures every generation (timings: predicted/
prompt_per_second); the adapter now records them per persona at stream
close (record_speed), the radiator radiates tps/pfx vitals while fresh
(20s — a stale needle is a lie and stops drawing), and the tile draws
them as 22x12 arc gauges with eased needles: decode cyan, prefill
violet, labels at 7px. Two DOM nodes per gauge, zero animation at rest —
dense instruments, no new real estate (Joel: 'speedometers not massive
text; thin lines and meters').

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
timestamp 0 renders in the viewer's timezone by design — '00:00' only
passed on UTC machines. // what this catches: a message's time value
reaching the markup as its own chunk, on any machine.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…icts

Trophy chips (🏅 N resolved · settled · resolve-rate) + the settled-run
record with per-run verdicts, computed from the runs already threaded
onto the page. The persona home is becoming her wall: identity + brain
HUD + speed needles + active work + earned record (Joel: 'their own
social media pages… performance, history, actions and awards').

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
The persona home's context rail becomes an instrument stack composed
entirely from EXISTING widget kinds (metrics stat-rows + listing cells —
no new renderer, no new wire type): RECORD (resolved/settled/rate as
tone-colored stats), ENGINE (decode/prefill pulse as readable numbers
beside the tile needles), ACTIVE WORK (her live runs as door cells — a
pick navigates to the run's room via the same nav/select verb as a tab
click). Each widget honestly absent until its data exists.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
MetricsView.spark finally draws: a 72x16 polyline with an emphasized
endpoint, and RECORD carries a rolling resolve-rate (window 3) over the
settled sequence — 'that they are learning and improving' as a visible
shape, not prose. Any metrics widget can now carry a curve.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… render target

The profile page and the home are the same ViewState with two renderers;
the neighborhood is the room tree rendered spatially (lots = home rooms,
campus = academy, streets = nav, lights-on = presence). Build order in
five solo-landing slices + the neighborhood; every element a projection
of pipes that exist after the 2026-08-31 arc (per-room accumulators +
per-room attach are exactly what make a spatial client possible).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…facts

First cut of CITIZEN-HOMES-ORTHOGRAPHIC slice 2, procedural: an
orthographic SVG room on the profile (right after identity) where every
object is TRUE state — window lit = online, desk items = active runs,
trophy shelf = resolved verdicts, the plant grows with her genome, her
presence dot stands in the room. Default shell geometry until home
recipes carry authored layouts; the legend names each mapping honestly.
Doc gains the two entry points (interior-from-profile; neighborhood as a
top-level activity, ortho or VR — render target #4, same ViewState).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply and others added 11 commits August 31, 2026 14:48
… rails (#291)

start-server.sh built the web client and spawned the eye-node assuming
node_modules existed — a first boot on a new machine got a headless,
eyeless core with only warnings. npm ci (fallback install) runs once
when node_modules is absent; non-fatal, named loudly on failure.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… tab

Joel: 'want to see continuous learning, engrams, in a dynamic ui.' While
a persona tab is focused the host polls cognition/recall-engrams (+
genome coverage) every 10s and the Mind tab renders the admitted-engram
stream live: age · kind · digest rows, newest first, coverage chip.
Real rows only — awaiting/empty frames until her store answers.

Plus the fix that made it reachable: /persona/<name> deep links resolve
through the directory (persona tabs are not in the nav room set — a cold
load fell through to the default room forever), retried on every seed.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…the seed reaches

Why the portraits never showed despite a complete pipeline: heartbeats
are CHANNEL-SCOPED (a citizen beats in her default room only), so every
other room's roster is a fossil; change-dedup never fires on fossils, so
the presence stream's avatar enrichment never publishes. Root fix is
airc#1367's daemon directory; until then the directory verb (which
flows every poll) carries avatar_url from the same store scan, the web
seed maps it, and the who-panel union fills any member the stream left
faceless. avatar/snapshot's Bevy pass rendered Kira + Joaquin live
today — avatars ARE renders; now they land on tiles.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
AVATAR_FPS 15 → 30 (renderer tick + pump config, one constant each).
The idle-cadence system already throttles non-speakers, so this is the
SPEAKER lane's rate per LIVE-AVATAR-BUDGET's engines-not-percentages
shape — never 16 slots × 30. The full pipeline was already built and
wired (BevyAvatarSystem slots → frame notifiers → video_pump →
livekit-bridge publish_video_frame → LiveKit track, spawned on call
join at modules/live.rs:373); the bar just hadn't been raised.
Outstanding proof: the B6 burn receipt (30-min soak, decode tok/s flat)
next live session.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…t, fetched by the boot rail

The voice-spec audit found STT dead on every boot: whisper is gated off
(ggml registry collision), so init consulted only the first-registered
adapter — OpenAI, keyless — and warned about a whisper model that was
gated off anyway. Meanwhile the LOCAL moonshine engine (fast ONNX,
sub-100ms) sat registered with no models on disk.

- initialize() now tries engines in sovereignty order (moonshine →
  openai-realtime → stub); first success becomes active; every miss is
  named. Engine SELECTION by design (the TTS registry's shape), never a
  mistake-masking fallback.
- start-server.sh fetches the sherpa-onnx int8 base models (~286MB,
  once) so a fresh clone hears with zero manual steps and zero keys
  (#291; Joel: 'repo users must get this to work automatically').

With TTS already green, the live-call loop closes: hear (moonshine) →
think → speak (identity-seeded gender-matched voice) → animate (mouth
weights at 30fps).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… only

Go Live joined every call as the literal string 'operator-web' — the
registrar refused it (non-uuid), the session never registered, no
citizens were pulled in: hold music over robot icons (live 2026-08-31,
21:04:04, probe live.register.bad_user_id). The widget now carries
viewerId/viewerName (the session's ?me= uuid + the directory's real
name) and REFUSES to join without them — no fallback identity.

And the call grid tiled every room member including offline ones; like
any call app it now shows online participants only — people appear when
they connect (Joel: 'leave off offline people till they connect').

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…n positron

Joel: 'i cant actually open my camera/audio (nor does it prompt me) —
needs to be a positron thing inherent for people.' The mic path existed
(getUserMedia → worklet → PCM16 on the call ws) but was gated behind
mediaConnected, which the operator-web join bug kept false — so no
prompt ever fired. Camera was hardcoded cameraAvailable:false.

- CallClient.startCamera(): getUserMedia video → 320×180@12fps canvas →
  RGBA frames on the SAME wire the Bevy avatar feed rides
  ([0x02][VideoFrameHeader 16B LE][pixels]) — the server's push_video
  mix-minus broadcast already handled inbound; only capture was missing.
  Local echo animates the viewer's own tile (broadcast excludes self).
- The camera button is real: lit state, toggle event, enabled when the
  call connects; denial stays honest (tile falls back to glyph).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…nt, platform remembers

Joel: 'you have this permission ask / state the reason etc, then
approve, and it never asks again. It's tricky.' The contract is now a
positron design doc (POSITRON-MEDIA-PERMISSIONS.md) with the
per-platform mapping (web/iOS/Android), and the web slice ships:

- capability buttons query the browser's LIVE permission state
  (Permissions API; Safari degrades to prompt-first)
- 'prompt' opens a positron reason card — what the camera/mic is for
  and where the feed goes (this grid, nowhere else) — and the native
  ask fires only from its Allow gesture, so a blind sticky deny can't
  happen cold
- 'granted' acts directly, no card ever again (the browser's per-origin
  memory is the single authority — positron keeps no parallel flag)
- 'denied' opens an honest recovery card (padlock → site settings),
  never a re-ask loop

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Joel, live-testing: 'very bad usage of reactive concepts… overdrawing…
all the boxes randomly reordered… boundaries are the killers.' Guilty on
all counts; the worst offenders, cut:

- video frames now paint THEIR canvas imperatively in the callback —
  requestUpdate (full 5k-line template re-render) only when a NEW sender
  needs a tile. Opera Helper was burning 49% CPU / 41% GPU on overdraw.
- typing tokens coalesce into one reactive flush per animation frame
  (was: a full re-render PER TOKEN while any citizen streamed).
- STABLE ordering: lastSeenMs (which refreshes every directory poll) is
  no longer a sort key — rows and call tiles stop reshuffling; tiles are
  keyed via repeat() so Lit reuses DOM instead of rebuilding it.
- CORE: the first human joining a call now populates the resident
  citizens via voice/register-session (the verb only the retired Node
  shell ever called) — agents + Bevy avatar pumps spawn, which is what
  turns static portraits into live animated streams.

Known next (carded): the media plane still ships raw RGBA over the call
WS — the web must become a real LiveKit/WebRTC subscriber (UDP,
hardware codecs); live/token verb is the entry.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
# Conflicts:
#	.cargo/config.toml
#	.github/workflows/auto-close-queue-cards.yml
#	.github/workflows/ts-eslint-baseline-ratchet.yml
#	.github/workflows/ts-persona-cognition-ratchet.yml
#	.github/workflows/ts-persona-forbidden-strings-ratchet.yml
#	.gitignore
#	CLAUDE.md
#	Cargo.lock
#	Cargo.toml
#	README.md
#	apps/README.md
#	apps/cli/Cargo.toml
#	apps/cli/README.md
#	apps/cli/src/main.rs
#	apps/desktop/README.md
#	apps/web/README.md
#	client/README.md
#	client/continuum-client/Cargo.toml
#	client/continuum-client/src/airc_ipc.rs
#	client/continuum-client/src/command.rs
#	client/continuum-client/src/connection.rs
#	client/continuum-client/src/lib.rs
#	client/continuum-client/src/transport.rs
#	core/archive/Cargo.lock
#	core/archive/Cargo.toml
#	core/archive/README.md
#	core/archive/src/command_client.rs
#	core/archive/src/data_adapter.rs
#	core/archive/src/db_client.rs
#	core/archive/src/main.rs
#	core/archive/src/main_complex.rs.bak
#	core/archive/src/messages.rs
#	core/archive/test-skeleton.ts
#	core/archive/worker.config.ts
#	core/continuum-airc-protocol/Cargo.toml
#	core/continuum-airc-protocol/src/command.rs
#	core/continuum-airc-protocol/src/event.rs
#	core/continuum-airc-protocol/src/lib.rs
#	core/continuum-core/Cargo.toml
#	core/continuum-core/build.rs
#	core/continuum-core/config/models.toml
#	core/continuum-core/config/providers.toml
#	core/continuum-core/src/ai/adapter.rs
#	core/continuum-core/src/ai/anthropic_adapter.rs
#	core/continuum-core/src/ai/heuristic_adapter.rs
#	core/continuum-core/src/ai/mod.rs
#	core/continuum-core/src/ai/openai_adapter.rs
#	core/continuum-core/src/ai/types.rs
#	core/continuum-core/src/airc/daemon_transport.rs
#	core/continuum-core/src/airc/discovery.rs
#	core/continuum-core/src/airc/discovery_aggregate.rs
#	core/continuum-core/src/airc/discovery_state.rs
#	core/continuum-core/src/airc/inbound_attach.rs
#	core/continuum-core/src/airc/mod.rs
#	core/continuum-core/src/airc/realtime.rs
#	core/continuum-core/src/airc/realtime_store.rs
#	core/continuum-core/src/airc/realtime_wire.rs
#	core/continuum-core/src/airc/types.rs
#	core/continuum-core/src/code/file_engine.rs
#	core/continuum-core/src/code/git_bridge.rs
#	core/continuum-core/src/code/path_security.rs
#	core/continuum-core/src/code/shell_types.rs
#	core/continuum-core/src/code/types.rs
#	core/continuum-core/src/cognition/adaptive_throughput.rs
#	core/continuum-core/src/cognition/check_redundancy.rs
#	core/continuum-core/src/cognition/generate_recipe/orchestrator.rs
#	core/continuum-core/src/cognition/generate_recipe/types.rs
#	core/continuum-core/src/cognition/generate_response.rs
#	core/continuum-core/src/cognition/host_capability_probe.rs
#	core/continuum-core/src/cognition/mod.rs
#	core/continuum-core/src/cognition/model_resolver/mod.rs
#	core/continuum-core/src/cognition/model_resolver/types.rs
#	core/continuum-core/src/cognition/rate_proposals/orchestrator.rs
#	core/continuum-core/src/cognition/rate_proposals/prompt.rs
#	core/continuum-core/src/cognition/rate_proposals/types.rs
#	core/continuum-core/src/cognition/resource_admission.rs
#	core/continuum-core/src/cognition/shared_analysis/mod.rs
#	core/continuum-core/src/cognition/should_respond.rs
#	core/continuum-core/src/cognition/tool_embedding.rs
#	core/continuum-core/src/cognition/tool_executor/mod.rs
#	core/continuum-core/src/cognition/tool_executor/types.rs
#	core/continuum-core/src/cognition/turn_batch.rs
#	core/continuum-core/src/cognition/types.rs
#	core/continuum-core/src/cognition/validate_response.rs
#	core/continuum-core/src/cognition/vision_describe.rs
#	core/continuum-core/src/commands/search/engine.rs
#	core/continuum-core/src/comms/mod.rs
#	core/continuum-core/src/concurrency/mod.rs
#	core/continuum-core/src/context/agent.rs
#	core/continuum-core/src/context/airc_adapter.rs
#	core/continuum-core/src/context/citizen_path.rs
#	core/continuum-core/src/context/mod.rs
#	core/continuum-core/src/contracts/event_classes.rs
#	core/continuum-core/src/contracts/verification.rs
#	core/continuum-core/src/events/event_class.rs
#	core/continuum-core/src/forge/artifact.rs
#	core/continuum-core/src/forge/mod.rs
#	core/continuum-core/src/forge/recipe.rs
#	core/continuum-core/src/genome/blob.rs
#	core/continuum-core/src/genome/bus.rs
#	core/continuum-core/src/genome/local_manager.rs
#	core/continuum-core/src/genome/manager.rs
#	core/continuum-core/src/genome/mod.rs
#	core/continuum-core/src/genome/recall.rs
#	core/continuum-core/src/genome/recall_impl.rs
#	core/continuum-core/src/genome/recall_scoring.rs
#	core/continuum-core/src/genome/recall_source_composite.rs
#	core/continuum-core/src/genome/recall_source_must_include.rs
#	core/continuum-core/src/genome/recall_source_working_set.rs
#	core/continuum-core/src/genome/recall_trait.rs
#	core/continuum-core/src/genome/store.rs
#	core/continuum-core/src/genome/tier.rs
#	core/continuum-core/src/genome/working_set.rs
#	core/continuum-core/src/governor/policy_selector.rs
#	core/continuum-core/src/governor/types.rs
#	core/continuum-core/src/gpu/backends/metal/mach_ffi.rs
#	core/continuum-core/src/gpu/eviction_registry.rs
#	core/continuum-core/src/gpu/memory_manager.rs
#	core/continuum-core/src/gpu/metal_monitor/mach_ffi.rs
#	core/continuum-core/src/gpu/metal_monitor/mod.rs
#	core/continuum-core/src/identity/mod.rs
#	core/continuum-core/src/inference/airc_remote/adapter.rs
#	core/continuum-core/src/inference/airc_remote/mod.rs
#	core/continuum-core/src/inference/airc_remote/protocol.rs
#	core/continuum-core/src/inference/airc_remote/transport.rs
#	core/continuum-core/src/inference/backends/mod.rs
#	core/continuum-core/src/inference/coordinator.rs
#	core/continuum-core/src/inference/coordinator_pool.rs
#	core/continuum-core/src/inference/footprint_registry/mod.rs
#	core/continuum-core/src/inference/handle_module.rs
#	core/continuum-core/src/inference/handle_store.rs
#	core/continuum-core/src/inference/lane.rs
#	core/continuum-core/src/inference/llamacpp_adapter.rs
#	core/continuum-core/src/inference/llm_module.rs
#	core/continuum-core/src/inference/llm_module_bus.rs
#	core/continuum-core/src/inference/llm_module_service.rs
#	core/continuum-core/src/inference/mod.rs
#	core/continuum-core/src/inference_capability/gguf_loader.rs
#	core/continuum-core/src/inference_capability/mod.rs
#	core/continuum-core/src/inference_capability/registry.rs
#	core/continuum-core/src/inference_capability/types.rs
#	core/continuum-core/src/ipc/diagnostics.rs
#	core/continuum-core/src/ipc/mod.rs
#	core/continuum-core/src/ipc/protocol.rs
#	core/continuum-core/src/lib.rs
#	core/continuum-core/src/live/avatar/backend.rs
#	core/continuum-core/src/live/avatar/types.rs
#	core/continuum-core/src/live/handle.rs
#	core/continuum-core/src/live/session/voice_service.rs
#	core/continuum-core/src/live/transport/livekit_agent.rs
#	core/continuum-core/src/live/transport/livekit_agent_stub.rs
#	core/continuum-core/src/live/transport/mod.rs
#	core/continuum-core/src/live/types.rs
#	core/continuum-core/src/live/video/bevy_renderer/animation/cadence.rs
#	core/continuum-core/src/live/video/bevy_renderer/scene/builder.rs
#	core/continuum-core/src/live/video/bevy_renderer/scene/lighting.rs
#	core/continuum-core/src/live/video/bevy_renderer/scene/mod.rs
#	core/continuum-core/src/live/video/bevy_renderer/scene/object.rs
#	core/continuum-core/src/main.rs
#	core/continuum-core/src/memory/embedding.rs
#	core/continuum-core/src/model_registry/artifacts.rs
#	core/continuum-core/src/model_registry/catalog.rs
#	core/continuum-core/src/model_registry/loader.rs
#	core/continuum-core/src/model_registry/mod.rs
#	core/continuum-core/src/model_registry/singleton.rs
#	core/continuum-core/src/model_registry/types.rs
#	core/continuum-core/src/modules/agent.rs
#	core/continuum-core/src/modules/ai_provider.rs
#	core/continuum-core/src/modules/airc.rs
#	core/continuum-core/src/modules/channel.rs
#	core/continuum-core/src/modules/chat/mod.rs
#	core/continuum-core/src/modules/chat/types.rs
#	core/continuum-core/src/modules/code.rs
#	core/continuum-core/src/modules/cognition.rs
#	core/continuum-core/src/modules/data.rs
#	core/continuum-core/src/modules/dataset.rs
#	core/continuum-core/src/modules/docker_tier.rs
#	core/continuum-core/src/modules/embedding.rs
#	core/continuum-core/src/modules/entity_schemas.rs
#	core/continuum-core/src/modules/events.rs
#	core/continuum-core/src/modules/forge.rs
#	core/continuum-core/src/modules/generator/mod.rs
#	core/continuum-core/src/modules/generator/templates.rs
#	core/continuum-core/src/modules/generator/types.rs
#	core/continuum-core/src/modules/gpu.rs
#	core/continuum-core/src/modules/grid/acl.rs
#	core/continuum-core/src/modules/grid/handlers.rs
#	core/continuum-core/src/modules/grid/node.rs
#	core/continuum-core/src/modules/grid/router.rs
#	core/continuum-core/src/modules/health.rs
#	core/continuum-core/src/modules/hippocampus.rs
#	core/continuum-core/src/modules/inference.rs
#	core/continuum-core/src/modules/logger.rs
#	core/continuum-core/src/modules/mcp.rs
#	core/continuum-core/src/modules/memory.rs
#	core/continuum-core/src/modules/mod.rs
#	core/continuum-core/src/modules/models.rs
#	core/continuum-core/src/modules/persona_allocator.rs
#	core/continuum-core/src/modules/persona_instance_manager.rs
#	core/continuum-core/src/modules/persona_rag_inspect.rs
#	core/continuum-core/src/modules/persona_rag_inspect_filesystem.rs
#	core/continuum-core/src/modules/plasticity/mod.rs
#	core/continuum-core/src/modules/pressure_broker_module.rs
#	core/continuum-core/src/modules/probe_stream.rs
#	core/continuum-core/src/modules/rag.rs
#	core/continuum-core/src/modules/runtime_control.rs
#	core/continuum-core/src/modules/search.rs
#	core/continuum-core/src/modules/sentinel/checkpoint.rs
#	core/continuum-core/src/modules/sentinel/types.rs
#	core/continuum-core/src/modules/system_resources.rs
#	core/continuum-core/src/modules/tool_parsing.rs
#	core/continuum-core/src/modules/vdd.rs
#	core/continuum-core/src/modules/vision.rs
#	core/continuum-core/src/orm/derive_test.rs
#	core/continuum-core/src/orm/entity.rs
#	core/continuum-core/src/orm/migration.rs
#	core/continuum-core/src/orm/query.rs
#	core/continuum-core/src/orm/types.rs
#	core/continuum-core/src/orm/vector.rs
#	core/continuum-core/src/paging/broker.rs
#	core/continuum-core/src/paging/mod.rs
#	core/continuum-core/src/persona/admission/mod.rs
#	core/continuum-core/src/persona/admission/recipes.rs
#	core/continuum-core/src/persona/admission_persistence.rs
#	core/continuum-core/src/persona/admission_state.rs
#	core/continuum-core/src/persona/airc_citizen.rs
#	core/continuum-core/src/persona/airc_persona_conversation.rs
#	core/continuum-core/src/persona/airc_runtime.rs
#	core/continuum-core/src/persona/airc_runtime_registry.rs
#	core/continuum-core/src/persona/airc_source.rs
#	core/continuum-core/src/persona/allocator.rs
#	core/continuum-core/src/persona/channel_queue.rs
#	core/continuum-core/src/persona/channel_registry.rs
#	core/continuum-core/src/persona/cognition.rs
#	core/continuum-core/src/persona/cognition_io.rs
#	core/continuum-core/src/persona/decay_tick.rs
#	core/continuum-core/src/persona/engram.rs
#	core/continuum-core/src/persona/engram_graph.rs
#	core/continuum-core/src/persona/engram_source.rs
#	core/continuum-core/src/persona/evaluator/adequacy.rs
#	core/continuum-core/src/persona/evaluator/mod.rs
#	core/continuum-core/src/persona/evaluator/sleep_state.rs
#	core/continuum-core/src/persona/home.rs
#	core/continuum-core/src/persona/host.rs
#	core/continuum-core/src/persona/hw_tier_descriptor.rs
#	core/continuum-core/src/persona/identity_provider.rs
#	core/continuum-core/src/persona/inbox_admission.rs
#	core/continuum-core/src/persona/inference_profile.rs
#	core/continuum-core/src/persona/mod.rs
#	core/continuum-core/src/persona/model_selection.rs
#	core/continuum-core/src/persona/name_generator.rs
#	core/continuum-core/src/persona/profile_builder.rs
#	core/continuum-core/src/persona/prompt_assembly.rs
#	core/continuum-core/src/persona/rag_budget.rs
#	core/continuum-core/src/persona/rag_capture.rs
#	core/continuum-core/src/persona/rag_inspect.rs
#	core/continuum-core/src/persona/rag_replay.rs
#	core/continuum-core/src/persona/recall_metadata.rs
#	core/continuum-core/src/persona/recorder.rs
#	core/continuum-core/src/persona/response.rs
#	core/continuum-core/src/persona/resume_or_mint_provider.rs
#	core/continuum-core/src/persona/role_template.rs
#	core/continuum-core/src/persona/scripted_adapter_factory.rs
#	core/continuum-core/src/persona/scripted_conversation.rs
#	core/continuum-core/src/persona/seed.rs
#	core/continuum-core/src/persona/service_loop.rs
#	core/continuum-core/src/persona/service_module.rs
#	core/continuum-core/src/persona/spawner.rs
#	core/continuum-core/src/persona/spawner_module.rs
#	core/continuum-core/src/persona/supervisor.rs
#	core/continuum-core/src/persona/text_analysis/mention_detection.rs
#	core/continuum-core/src/persona/text_analysis/response_cleaning.rs
#	core/continuum-core/src/persona/turn_frame.rs
#	core/continuum-core/src/persona/types.rs
#	core/continuum-core/src/persona/unified.rs
#	core/continuum-core/src/resources/mod.rs
#	core/continuum-core/src/routing/airc_command_protocol.rs
#	core/continuum-core/src/routing/airc_event_adapters.rs
#	core/continuum-core/src/routing/airc_event_protocol.rs
#	core/continuum-core/src/routing/airc_event_publisher.rs
#	core/continuum-core/src/routing/airc_event_transport.rs
#	core/continuum-core/src/routing/airc_transport.rs
#	core/continuum-core/src/routing/auth_policy.rs
#	core/continuum-core/src/routing/command_handler.rs
#	core/continuum-core/src/routing/command_uri.rs
#	core/continuum-core/src/routing/macros.rs
#	core/continuum-core/src/routing/mod.rs
#	core/continuum-core/src/routing/probe_file_sink.rs
#	core/continuum-core/src/routing/probe_router.rs
#	core/continuum-core/src/routing/route_decision.rs
#	core/continuum-core/src/routing/tracing_init.rs
#	core/continuum-core/src/routing/transport.rs
#	core/continuum-core/src/routing/uri_layer.rs
#	core/continuum-core/src/routing/verdict.rs
#	core/continuum-core/src/runtime/airc_interceptor.rs
#	core/continuum-core/src/runtime/artifact_handle.rs
#	core/continuum-core/src/runtime/boot_mode.rs
#	core/continuum-core/src/runtime/brain_region.rs
#	core/continuum-core/src/runtime/cell_shapes.rs
#	core/continuum-core/src/runtime/command_envelope.rs
#	core/continuum-core/src/runtime/command_events.rs
#	core/continuum-core/src/runtime/command_executor.rs
#	core/continuum-core/src/runtime/control.rs
#	core/continuum-core/src/runtime/grid_interceptor.rs
#	core/continuum-core/src/runtime/handle.rs
#	core/continuum-core/src/runtime/mod.rs
#	core/continuum-core/src/runtime/module_metrics.rs
#	core/continuum-core/src/runtime/ready_buffer.rs
#	core/continuum-core/src/runtime/registry.rs
#	core/continuum-core/src/runtime/runtime.rs
#	core/continuum-core/src/runtime/service_module.rs
#	core/continuum-core/src/system_resources/disk_pressure.rs
#	core/continuum-core/src/system_resources/memory_pressure.rs
#	core/continuum-core/src/system_resources/mod.rs
#	core/continuum-core/src/system_resources/monitor.rs
#	core/continuum-core/src/tool_parsing/types.rs
#	core/continuum-core/src/utils/str_case.rs
#	core/continuum-core/src/utils/str_truncate.rs
#	core/continuum-core/src/vdd/record.rs
#	core/continuum-core/src/vdd/turn_replay.rs
#	core/continuum-core/tests/airc_ipc_roundtrip.rs
#	core/continuum-core/tests/cli_wire_contract.rs
#	core/continuum-core/tests/no_cpu_fallback_contract.rs
#	core/continuum-core/tests/persona_respond_replay.rs
#	core/continuum-core/tests/qwen35_chat_pipeline_full.rs
#	core/continuum-core/tests/vision_integration.rs
#	core/llama/src/safe.rs
#	core/vendor/llama.cpp
#	core/vendor/whisper.cpp
#	docker-compose.yml
#	docker/model-init.Dockerfile
#	docs/CONTINUUM-ARCHITECTURE.md
#	docs/CONTINUUM-VISION.md
#	docs/architecture/COGNITION-CACHE-HIERARCHY.md
#	docs/architecture/CONCURRENCY-STYLE-GUIDE.md
#	docs/architecture/GENOME-FOUNDRY-SENTINEL.md
#	docs/architecture/GRID-ADDRESSING-AND-ROUTING.md
#	docs/architecture/MODULE-ARCHITECTURE.md
#	docs/architecture/PERSONA-COGNITION-PIPELINE.md
#	docs/grid/AIRC-CONTINUUM-BRIDGE.md
#	docs/grid/GRID-ARCHITECTURE.md
#	docs/planning/ALPHA-GAP-ANALYSIS.md
#	install.ps1
#	install.sh
#	legacy/node-startup/parallel-start.sh
#	legacy/quarantine/archive-worker/Cargo.lock
#	legacy/quarantine/archive-worker/Cargo.toml
#	legacy/quarantine/archive-worker/README.md
#	legacy/quarantine/archive-worker/src/command_client.rs
#	legacy/quarantine/archive-worker/src/data_adapter.rs
#	legacy/quarantine/archive-worker/src/db_client.rs
#	legacy/quarantine/archive-worker/src/main.rs
#	legacy/quarantine/archive-worker/src/main_complex.rs.bak
#	legacy/quarantine/archive-worker/src/messages.rs
#	legacy/quarantine/archive-worker/test-skeleton.ts
#	legacy/quarantine/archive-worker/worker.config.ts
#	legacy/quarantine/continuum-core-bindings/IPCFieldNames.ts
#	legacy/quarantine/continuum-core-bindings/RustCore.ts
#	legacy/quarantine/continuum-core-bindings/RustCoreIPC.ts
#	legacy/quarantine/continuum-core-bindings/benchmark-voice.ts
#	legacy/quarantine/continuum-core-bindings/modules/ai.ts
#	legacy/quarantine/continuum-core-bindings/modules/avatar.ts
#	legacy/quarantine/continuum-core-bindings/modules/base.ts
#	legacy/quarantine/continuum-core-bindings/modules/channel.ts
#	legacy/quarantine/continuum-core-bindings/modules/code.ts
#	legacy/quarantine/continuum-core-bindings/modules/cognition.ts
#	legacy/quarantine/continuum-core-bindings/modules/dataset.ts
#	legacy/quarantine/continuum-core-bindings/modules/embedding.ts
#	legacy/quarantine/continuum-core-bindings/modules/gpu.ts
#	legacy/quarantine/continuum-core-bindings/modules/grid.ts
#	legacy/quarantine/continuum-core-bindings/modules/index.ts
#	legacy/quarantine/continuum-core-bindings/modules/inference.ts
#	legacy/quarantine/continuum-core-bindings/modules/memory.ts
#	legacy/quarantine/continuum-core-bindings/modules/models.ts
#	legacy/quarantine/continuum-core-bindings/modules/plasticity.ts
#	legacy/quarantine/continuum-core-bindings/modules/rag.ts
#	legacy/quarantine/continuum-core-bindings/modules/runtime.ts
#	legacy/quarantine/continuum-core-bindings/modules/search.ts
#	legacy/quarantine/continuum-core-bindings/modules/sentinel.ts
#	legacy/quarantine/continuum-core-bindings/modules/system_resources.ts
#	legacy/quarantine/continuum-core-bindings/modules/tool_parsing.ts
#	legacy/quarantine/continuum-core-bindings/modules/vision_cache.ts
#	legacy/quarantine/continuum-core-bindings/modules/voice.ts
#	legacy/quarantine/continuum-core-bindings/test-concurrent.ts
#	legacy/quarantine/continuum-core-bindings/test-ffi.ts
#	legacy/quarantine/continuum-core-bindings/test-ipc.ts
#	legacy/quarantine/continuum-core-bindings/test-voice-loop.ts
#	legacy/quarantine/continuum-core-bindings/verify-integration.ts
#	legacy/quarantine/shared-generated/pager/index.ts
#	legacy/quarantine/shared-generated/persona/index.ts
#	legacy/quarantine/tools-generator/AUDIT-SYSTEM-DESIGN.md
#	legacy/quarantine/tools-generator/CommandAuditor.ts
#	legacy/quarantine/tools-generator/CommandGenerator.ts
#	legacy/quarantine/tools-generator/CommandNaming.ts
#	legacy/quarantine/tools-generator/DAEMON-PATTERNS.md
#	legacy/quarantine/tools-generator/DaemonConcurrency.ts
#	legacy/quarantine/tools-generator/DaemonGenerator.ts
#	legacy/quarantine/tools-generator/DaemonTypes.ts
#	legacy/quarantine/tools-generator/EntityGenerator.ts
#	legacy/quarantine/tools-generator/EntityTypes.ts
#	legacy/quarantine/tools-generator/EventConstantsGenerator.ts
#	legacy/quarantine/tools-generator/GeneratorSDK.ts
#	legacy/quarantine/tools-generator/GeneratorSDKFactory.ts
#	legacy/quarantine/tools-generator/HelpFormatter.ts
#	legacy/quarantine/tools-generator/MODULE-HIBERNATION-SYSTEM.md
#	legacy/quarantine/tools-generator/ModuleGenerator.ts
#	legacy/quarantine/tools-generator/TemplateLoader.ts
#	legacy/quarantine/tools-generator/TokenBuilder.ts
#	legacy/quarantine/tools-generator/TokenReplacer.ts
#	legacy/quarantine/tools-generator/WidgetGenerator.ts
#	legacy/quarantine/tools-generator/audit/AuditTypes.ts
#	legacy/quarantine/tools-generator/audit/ModuleAuditor.ts
#	legacy/quarantine/tools-generator/audit/checks/LintCheck.ts
#	legacy/quarantine/tools-generator/audit/checks/MissingFileCheck.ts
#	legacy/quarantine/tools-generator/audit/checks/OutdatedPatternCheck.ts
#	legacy/quarantine/tools-generator/audit/checks/PackageJsonCheck.ts
#	legacy/quarantine/tools-generator/audit/checks/ReadmeCheck.ts
#	legacy/quarantine/tools-generator/audit/checks/TestCoverageCheck.ts
#	legacy/quarantine/tools-generator/audit/checks/UnusedCodeCheck.ts
#	legacy/quarantine/tools-generator/audit/utils/ReadmeGenerator.ts
#	legacy/quarantine/tools-generator/cleanup-backups.ts
#	legacy/quarantine/tools-generator/cli.ts
#	legacy/quarantine/tools-generator/core/CommandFixerStrategies.ts
#	legacy/quarantine/tools-generator/core/EntryExtractor.ts
#	legacy/quarantine/tools-generator/core/FileScanner.ts
#	legacy/quarantine/tools-generator/core/RegistryBuilder.ts
#	legacy/quarantine/tools-generator/core/TypesFilePatcher.ts
#	legacy/quarantine/tools-generator/core/writeIfChanged.ts
#	legacy/quarantine/tools-generator/generate-archive-daemon.ts
#	legacy/quarantine/tools-generator/generate-audio-constants.ts
#	legacy/quarantine/tools-generator/generate-collection-constants.ts
#	legacy/quarantine/tools-generator/generate-command-constants.ts
#	legacy/quarantine/tools-generator/generate-command-executors.ts
#	legacy/quarantine/tools-generator/generate-command-schemas.ts
#	legacy/quarantine/tools-generator/generate-config.ts
#	legacy/quarantine/tools-generator/generate-content-types.ts
#	legacy/quarantine/tools-generator/generate-entity-schemas.ts
#	legacy/quarantine/tools-generator/generate-logger-daemon.ts
#	legacy/quarantine/tools-generator/generate-rust-bindings.ts
#	legacy/quarantine/tools-generator/generate-structure.ts
#	legacy/quarantine/tools-generator/generate-version.ts
#	legacy/quarantine/tools-generator/generate-widget.ts
#	legacy/quarantine/tools-generator/generate-worker-registry.ts
#	legacy/quarantine/tools-generator/shared/SpecSerializer.ts
#	legacy/quarantine/tools-generator/shared/SpecValidator.ts
#	legacy/quarantine/tools-generator/shared/specs/CommandSpec.ts
#	legacy/quarantine/tools-generator/specs/adapter-publish.json
#	legacy/quarantine/tools-generator/specs/ai-detect-semantic-loop.json
#	legacy/quarantine/tools-generator/specs/ai-key-remove.json
#	legacy/quarantine/tools-generator/specs/ai-key-save.json
#	legacy/quarantine/tools-generator/specs/archive-daemon-spec.ts
#	legacy/quarantine/tools-generator/specs/avatar-snapshot.json
#	legacy/quarantine/tools-generator/specs/claude-context.json
#	legacy/quarantine/tools-generator/specs/claude-resume.json
#	legacy/quarantine/tools-generator/specs/claude-snapshot.json
#	legacy/quarantine/tools-generator/specs/code-shell-execute.json
#	legacy/quarantine/tools-generator/specs/code-shell-kill.json
#	legacy/quarantine/tools-generator/specs/code-shell-sentinel.json
#	legacy/quarantine/tools-generator/specs/code-shell-status.json
#	legacy/quarantine/tools-generator/specs/code-shell-watch.json
#	legacy/quarantine/tools-generator/specs/context-search.json
#	legacy/quarantine/tools-generator/specs/context-slice.json
#	legacy/quarantine/tools-generator/specs/development-code-smell.json
#	legacy/quarantine/tools-generator/specs/development-generate-audit.json
#	legacy/quarantine/tools-generator/specs/development-generate-help.json
#	legacy/quarantine/tools-generator/specs/development-generate-reverse.json
#	legacy/quarantine/tools-generator/specs/development-generate.json
#	legacy/quarantine/tools-generator/specs/development-verify-web.json
#	legacy/quarantine/tools-generator/specs/genome-academy-team.json
#	legacy/quarantine/tools-generator/specs/genome-adapter-info.json
#	legacy/quarantine/tools-generator/specs/genome-adapter-list.json
#	legacy/quarantine/tools-generator/specs/genome-adapter-prune.json
#	legacy/quarantine/tools-generator/specs/genome-benchmark.json
#	legacy/quarantine/tools-generator/specs/genome-convert.json
#	legacy/quarantine/tools-generator/specs/genome-train-list-jobs.json
#	legacy/quarantine/tools-generator/specs/genome-train-resume.json
#	legacy/quarantine/tools-generator/specs/genome-training-overview.json
#	legacy/quarantine/tools-generator/specs/gpu-stats.json
#	legacy/quarantine/tools-generator/specs/grid-deploy.json
#	legacy/quarantine/tools-generator/specs/grid-job-control.json
#	legacy/quarantine/tools-generator/specs/grid-job-queue.json
#	legacy/quarantine/tools-generator/specs/grid-job-submit.json
#	legacy/quarantine/tools-generator/specs/grid-node-status.json
#	legacy/quarantine/tools-generator/specs/grid-setup-check.json
#	legacy/quarantine/tools-generator/specs/inference-capacity.json
#	legacy/quarantine/tools-generator/specs/inference-generate.json
#	legacy/quarantine/tools-generator/specs/interface-browser-capabilities.json
#	legacy/quarantine/tools-generator/specs/interface-interact.json
#	legacy/quarantine/tools-generator/specs/interface-launch-url.json
#	legacy/quarantine/tools-generator/specs/interface-page-fill.json
#	legacy/quarantine/tools-generator/specs/interface-page-forms.json
#	legacy/quarantine/tools-generator/specs/interface-page-submit.json
#	legacy/quarantine/tools-generator/specs/interface-webmcp-call.json
#	legacy/quarantine/tools-generator/specs/interface-webmcp-discover.json
#	legacy/quarantine/tools-generator/specs/live-start.json
#	legacy/quarantine/tools-generator/specs/logger-daemon-spec.ts
#	legacy/quarantine/tools-generator/specs/logging-disable.json
#	legacy/quarantine/tools-generator/specs/logging-enable.json
#	legacy/quarantine/tools-generator/specs/logging-status.json
#	legacy/quarantine/tools-generator/specs/media-prewarm.json
#	legacy/quarantine/tools-generator/specs/migration-cutover.json
#	legacy/quarantine/tools-generator/specs/migration-pause.json
#	legacy/quarantine/tools-generator/specs/migration-resume.json
#	legacy/quarantine/tools-generator/specs/migration-rollback.json
#	legacy/quarantine/tools-generator/specs/migration-start.json
#	legacy/quarantine/tools-generator/specs/migration-status.json
#	legacy/quarantine/tools-generator/specs/migration-verify.json
#	legacy/quarantine/tools-generator/specs/model-download.json
#	legacy/quarantine/tools-generator/specs/model-forge-status.json
#	legacy/quarantine/tools-generator/specs/model-forge.json
#	legacy/quarantine/tools-generator/specs/model-introspect.json
#	legacy/quarantine/tools-generator/specs/model-list-published.json
#	legacy/quarantine/tools-generator/specs/model-publish.json
#	legacy/quarantine/tools-generator/specs/model-search.json
#	legacy/quarantine/tools-generator/specs/pattern-capture.json
#	legacy/quarantine/tools-generator/specs/pattern-endorse.json
#	legacy/quarantine/tools-generator/specs/pattern-query.json
#	legacy/quarantine/tools-generator/specs/persona-allocate.json
#	legacy/quarantine/tools-generator/specs/plasticity-analyze.json
#	legacy/quarantine/tools-generator/specs/plasticity-compact.json
#	legacy/quarantine/tools-generator/specs/plasticity-compress.json
#	legacy/quarantine/tools-generator/specs/plasticity-pipeline.json
#	legacy/quarantine/tools-generator/specs/plasticity-topology.json
#	legacy/quarantine/tools-generator/specs/runtime-metrics.json
#	legacy/quarantine/tools-generator/specs/sentinel-approve.json
#	legacy/quarantine/tools-generator/specs/sentinel-extend-budget.json
#	legacy/quarantine/tools-generator/specs/sentinel-resume.json
#	legacy/quarantine/tools-generator/specs/state-content-close.json
#	legacy/quarantine/tools-generator/specs/state-content-switch.json
#	legacy/quarantine/tools-generator/specs/system-resources.json
#	legacy/quarantine/tools-generator/specs/user-list.json
#	legacy/quarantine/tools-generator/specs/voice-start.json
#	legacy/quarantine/tools-generator/specs/voice-stop.json
#	legacy/quarantine/tools-generator/specs/voice-synthesize.json
#	legacy/quarantine/tools-generator/specs/voice-transcribe.json
#	legacy/quarantine/tools-generator/specs/workspace-list.json
#	legacy/quarantine/tools-generator/templates/command/README.template.md
#	legacy/quarantine/tools-generator/templates/command/browser.template.ts
#	legacy/quarantine/tools-generator/templates/command/integration-test.template.ts
#	legacy/quarantine/tools-generator/templates/command/package.json.template
#	legacy/quarantine/tools-generator/templates/command/server.template.ts
#	legacy/quarantine/tools-generator/templates/command/shared-types.template.ts
#	legacy/quarantine/tools-generator/templates/command/unit-test.template.ts
#	legacy/quarantine/tools-generator/templates/widget/README.template.md
#	legacy/quarantine/tools-generator/templates/widget/recipe.template.json
#	legacy/quarantine/tools-generator/templates/widget/widget.template.html
#	legacy/quarantine/tools-generator/templates/widget/widget.template.scss
#	legacy/quarantine/tools-generator/templates/widget/widget.template.ts
#	legacy/quarantine/tools-generator/test-audit-self.ts
#	legacy/quarantine/tools-generator/test-audit.ts
#	legacy/quarantine/tools-generator/test-daemon-generator.ts
#	legacy/quarantine/tools-generator/test-entity-generator.ts
#	legacy/quarantine/tools-generator/test-generator-sdk.ts
#	legacy/quarantine/tools-generator/test-registry-builder.ts
#	legacy/quarantine/tools-generator/types/CommandGeneratorType.ts
#	legacy/quarantine/tools-generator/types/DaemonGeneratorType.ts
#	legacy/quarantine/tools-generator/types/EntityGeneratorType.ts
#	legacy/quarantine/tools-generator/types/GeneratorTypes.ts
#	legacy/quarantine/tools-generator/types/WidgetGeneratorType.ts
#	legacy/quarantine/tools-generator/types/index.ts
#	legacy/quarantine/tools-generator/utils/FileManager.ts
#	legacy/quarantine/tools-generator/utils/Logger.ts
#	legacy/src/commands/ai/key/common/AiKeyBase.ts
#	legacy/src/commands/ai/key/common/AiKeyProviders.ts
#	legacy/src/commands/ai/key/diff/.npmignore
#	legacy/src/commands/ai/key/diff/README.md
#	legacy/src/commands/ai/key/diff/browser/AiKeyDiffBrowserCommand.ts
#	legacy/src/commands/ai/key/diff/package.json
#	legacy/src/commands/ai/key/diff/server/AiKeyDiffServerCommand.ts
#	legacy/src/commands/ai/key/diff/shared/AiKeyDiffPlanner.ts
#	legacy/src/commands/ai/key/diff/shared/AiKeyDiffTypes.ts
#	legacy/src/commands/ai/key/diff/test/integration/AiKeyDiffIntegration.test.ts
#	legacy/src/commands/ai/key/diff/test/unit/AiKeyDiffCommand.test.ts
#	legacy/src/commands/ai/key/status/.npmignore
#	legacy/src/commands/ai/key/status/README.md
#	legacy/src/commands/ai/key/status/browser/AiKeyStatusBrowserCommand.ts
#	legacy/src/commands/ai/key/status/package.json
#	legacy/src/commands/ai/key/status/server/AiKeyStatusServerCommand.ts
#	legacy/src/commands/ai/key/status/shared/AiKeyStatusRedaction.ts
#	legacy/src/commands/ai/key/status/shared/AiKeyStatusTypes.ts
#	legacy/src/commands/ai/key/status/test/integration/AiKeyStatusIntegration.test.ts
#	legacy/src/commands/ai/key/status/test/unit/AiKeyStatusCommand.test.ts
#	legacy/src/commands/ai/local-inference/start/.npmignore
#	legacy/src/commands/ai/local-inference/start/README.md
#	legacy/src/commands/ai/local-inference/start/browser/AiLocalInferenceStartBrowserCommand.ts
#	legacy/src/commands/ai/local-inference/start/package.json
#	legacy/src/commands/ai/local-inference/start/server/AiLocalInferenceStartServerCommand.ts
#	legacy/src/commands/ai/local-inference/start/shared/AiLocalInferenceStartTypes.ts
#	legacy/src/commands/ai/local-inference/start/test/integration/AiLocalInferenceStartIntegration.test.ts
#	legacy/src/commands/ai/local-inference/start/test/unit/AiLocalInferenceStartCommand.test.ts
#	legacy/src/commands/ai/local-inference/status/.npmignore
#	legacy/src/commands/ai/local-inference/status/README.md
#	legacy/src/commands/ai/local-inference/status/browser/AiLocalInferenceStatusBrowserCommand.ts
#	legacy/src/commands/ai/local-inference/status/package.json
#	legacy/src/commands/ai/local-inference/status/server/AiLocalInferenceStatusServerCommand.ts
#	legacy/src/commands/ai/local-inference/status/shared/AiLocalInferenceStatusTypes.ts
#	legacy/src/commands/ai/local-inference/status/test/integration/AiLocalInferenceStatusIntegration.test.ts
#	legacy/src/commands/ai/local-inference/status/test/unit/AiLocalInferenceStatusCommand.test.ts
#	legacy/src/commands/airc/bridge/.npmignore
#	legacy/src/commands/airc/bridge/README.md
#	legacy/src/commands/airc/bridge/browser/AircBridgeBrowserCommand.ts
#	legacy/src/commands/airc/bridge/package.json
#	legacy/src/commands/airc/bridge/server/AircBridgeServerCommand.ts
#	legacy/src/commands/airc/bridge/shared/AircBridgeTypes.ts
#	legacy/src/commands/airc/bridge/test/unit/AircBridgeProtocolCheck.ts
#	legacy/src/commands/airc/bridge/test/unit/AircBridgeServerCommandCheck.ts
#	legacy/src/commands/airc/send/.npmignore
#	legacy/src/commands/airc/send/README.md
#	legacy/src/commands/airc/send/browser/AircSendBrowserCommand.ts
#	legacy/src/commands/airc/send/package.json
#	legacy/src/commands/airc/send/server/AircSendServerCommand.ts
#	legacy/src/commands/airc/send/shared/AircSendTypes.ts
#	legacy/src/commands/airc/send/test/integration/AircSendIntegration.test.ts
#	legacy/src/commands/airc/send/test/unit/AircSendCommand.test.ts
#	legacy/src/commands/cognition/admit-inbox-message/.npmignore
#	legacy/src/commands/cognition/admit-inbox-message/README.md
#	legacy/src/commands/cognition/admit-inbox-message/browser/CognitionAdmitInboxMessageBrowserCommand.ts
#	legacy/src/commands/cognition/admit-inbox-message/package.json
#	legacy/src/commands/cognition/admit-inbox-message/server/CognitionAdmitInboxMessageServerCommand.ts
#	legacy/src/commands/cognition/admit-inbox-message/shared/CognitionAdmitInboxMessageTypes.ts
#	legacy/src/commands/cognition/admit-inbox-message/test/integration/CognitionAdmitInboxMessageIntegration.test.ts
#	legacy/src/commands/cognition/admit-inbox-message/test/unit/CognitionAdmitInboxMessageCommand.test.ts
#	legacy/src/commands/cognition/recall-engrams/.npmignore
#	legacy/src/commands/cognition/recall-engrams/README.md
#	legacy/src/commands/cognition/recall-engrams/browser/CognitionRecallEngramsBrowserCommand.ts
#	legacy/src/commands/cognition/recall-engrams/package.json
#	legacy/src/commands/cognition/recall-engrams/server/CognitionRecallEngramsServerCommand.ts
#	legacy/src/commands/cognition/recall-engrams/shared/CognitionRecallEngramsTypes.ts
#	legacy/src/commands/cognition/recall-engrams/test/integration/CognitionRecallEngramsIntegration.test.ts
#	legacy/src/commands/cognition/recall-engrams/test/unit/CognitionRecallEngramsCommand.test.ts
#	legacy/src/commands/cognition/vision-describe/.npmignore
#	legacy/src/commands/cognition/vision-describe/README.md
#	legacy/src/commands/cognition/vision-describe/browser/CognitionVisionDescribeBrowserCommand.ts
#	legacy/src/commands/cognition/vision-describe/package.json
#	legacy/src/commands/cognition/vision-describe/server/CognitionVisionDescribeServerCommand.ts
#	legacy/src/commands/cognition/vision-describe/shared/CognitionVisionDescribeTypes.ts
#	legacy/src/commands/cognition/vision-describe/test/integration/CognitionVisionDescribeIntegration.test.ts
#	legacy/src/commands/cognition/vision-describe/test/unit/CognitionVisionDescribeCommand.test.ts
#	legacy/src/commands/plasticity/topology/.npmignore
#	legacy/src/commands/runtime/metrics/.npmignore
#	legacy/src/commands/sentinel/approve/.npmignore
#	legacy/src/commands/sentinel/extend-budget/.npmignore
#	legacy/src/commands/sentinel/resume/.npmignore
#	legacy/src/commands/skill/activate/.npmignore
#	legacy/src/commands/skill/generate/.npmignore
#	legacy/src/commands/skill/list/.npmignore
#	legacy/src/commands/skill/propose/.npmignore
#	legacy/src/commands/system/docker-tier-stats/.npmignore
#	legacy/src/commands/system/docker-tier-stats/README.md
#	legacy/src/commands/system/docker-tier-stats/browser/SystemDockerTierStatsBrowserCommand.ts
#	legacy/src/commands/system/docker-tier-stats/package.json
#	legacy/src/commands/system/docker-tier-stats/server/SystemDockerTierStatsServerCommand.ts
#	legacy/src/commands/system/docker-tier-stats/shared/SystemDockerTierStatsTypes.ts
#	legacy/src/commands/system/docker-tier-stats/test/integration/SystemDockerTierStatsIntegration.test.ts
#	legacy/src/commands/system/docker-tier-stats/test/unit/SystemDockerTierStatsCommand.test.ts
#	legacy/src/commands/workspace/git/workspace/init/.npmignore
#	legacy/src/daemons/command-daemon/shared/RustBackedCommand.ts
#	legacy/src/docs/architecture/ALPHA-GAP-RUST-PERSONA-RUNTIME.md
#	legacy/src/eslint-baseline.linux.txt
#	legacy/src/package.json
#	legacy/src/server/seed-in-process.ts
#	legacy/src/shared/ModelRegistry.ts
#	legacy/src/shared/models.json
#	legacy/src/system/airc-bridge/shared/AircBridgeProtocol.ts
#	legacy/src/system/airc-chat/server/AircChatDualWriteService.ts
#	legacy/src/system/airc-chat/server/AircChatMirrorMapper.ts
#	legacy/src/system/airc-chat/server/AircChatMirrorTypes.ts
#	legacy/src/system/airc-chat/server/AircChatPublisher.ts
#	legacy/src/system/airc-chat/server/AircToORMMirrorWriter.ts
#	legacy/src/system/airc-chat/shared/AircChatEnvelope.ts
#	legacy/src/system/airc-chat/test/unit/AircChatDualWriteServiceCheck.ts
#	legacy/src/system/airc-chat/test/unit/AircChatEnvelopeCheck.ts
#	legacy/src/system/airc-chat/test/unit/AircChatPublisherCheck.ts
#	legacy/src/system/airc-chat/test/unit/AircToORMMirrorWriterCheck.ts
#	legacy/src/system/coordination/server/BaseCoordinationStream.ts
#	legacy/src/system/coordination/test/ChatCoordinationStream.test.ts
#	legacy/src/system/data/entities/ForgeArtifactEntity.ts
#	legacy/src/system/data/entities/ForgeRecipeEntity.ts
#	legacy/src/system/events/shared/EventClass.ts
#	legacy/src/system/rag/sources/conversationHistoryPoison.ts
#	legacy/src/system/rag/test/unit/CodebaseSearchSource.test.ts
#	legacy/src/system/rag/test/unit/ConversationHistorySource.test.ts
#	legacy/src/system/server/process/ProcessPathPolicy.ts
#	legacy/src/system/user/server/modules/StartupAutonomousWorkGate.ts
#	legacy/src/system/user/server/modules/cognitive/memory/HippocampusConsolidationPolicy.ts
#	legacy/src/system/user/server/tests/validation/PersonaInboxDebounce.test.ts
#	legacy/src/tests/integration/multi-persona-response-timing.test.ts
#	legacy/src/tests/integration/sensory-persona-roundtrip.test.ts
#	legacy/src/tests/precommit/chat-airc-dual-write-smoke.test.ts
#	legacy/src/tests/precommit/chat-roundtrip.test.ts
#	legacy/src/tests/unit/PageStateService.test.ts
#	legacy/src/tests/unit/chat-coordination-stream.test.ts
#	legacy/src/tests/unit/chat-to-airc-proof-gates-doc.spec.ts
#	legacy/src/tests/unit/core/event-class-registry.test.ts
#	legacy/src/tests/unit/local-model-guardrails.test.ts
#	legacy/src/tests/unit/memory/HippocampusConsolidationPolicy.test.ts
#	legacy/src/tests/unit/service-initializer.test.ts
#	legacy/src/tests/unit/shared-node-boundary.test.ts
#	legacy/src/tests/unit/startup-autonomous-work-gate.test.ts
#	legacy/src/tests/unit/url-card-adapter-xss.spec.ts
#	legacy/src/tsconfig.eslint.json
#	legacy/src/tsconfig.eslint.precommit.json
#	legacy/src/tsconfig.json
#	legacy/src/widgets/onboarding/WelcomeModalWidget.ts
#	legacy/src/widgets/shared/EmptyStateWidget.ts
#	legacy/src/widgets/shared/ModalWidget.ts
#	package-lock.json
#	package.json
#	protocol/typescript/agent/AgentListParams.ts
#	protocol/typescript/ai/ContentPart.ts
#	protocol/typescript/ai/ModelInfo.ts
#	protocol/typescript/ai/TextGenerationRequest.ts
#	protocol/typescript/ai/TextGenerationResponse.ts
#	protocol/typescript/ai/ToolInputSchema.ts
#	protocol/typescript/airc/AircRealtimeReplayParams.ts
#	protocol/typescript/airc/AircRealtimeSchema.ts
#	protocol/typescript/chat/ChatPollParams.ts
#	protocol/typescript/chat/ChatPollResult.ts
#	protocol/typescript/code/WriteResult.ts
#	protocol/typescript/cognition/GatingMessageContent.ts
#	protocol/typescript/cognition/ResolvedModel.ts
#	protocol/typescript/comms/CorrelationId.ts
#	protocol/typescript/comms/MessageId.ts
#	protocol/typescript/comms/TransportEnvelope.ts
#	protocol/typescript/comms/index.ts
#	protocol/typescript/contracts/ContractBidPayload.ts
#	protocol/typescript/contracts/ContractExecutingPayload.ts
#	protocol/typescript/contracts/ContractPaidPayload.ts
#	protocol/typescript/contracts/ContractProposedPayload.ts
#	protocol/typescript/entity_schemas.json
#	protocol/typescript/genome/AccessDenied.ts
#	protocol/typescript/genome/ArtifactId.ts
#	protocol/typescript/genome/PageFault.ts
#	protocol/typescript/genome/RecallContext.ts
#	protocol/typescript/genome/RecallScope.ts
#	protocol/typescript/genome/ResidencyHint.ts
#	protocol/typescript/genome/WorkingSet.ts
#	protocol/typescript/governor/TargetSilicon.ts
#	protocol/typescript/grid/NodeCapability.ts
#	protocol/typescript/inference_llm/FirstTokenEmitted.ts
#	protocol/typescript/inference_llm/InferenceComplete.ts
#	protocol/typescript/inference_llm/InferenceRequest.ts
#	protocol/typescript/inference_llm/ResidencyFault.ts
#	protocol/typescript/inference_llm/SamplingParams.ts
#	protocol/typescript/logger/LoggerPingResult.ts
#	protocol/typescript/logger/WriteLogResult.ts
#	protocol/typescript/mcp/index.ts
#	protocol/typescript/memory/ConsciousnessContextRequest.ts
#	protocol/typescript/memory/ConsciousnessContextResponse.ts
#	protocol/typescript/memory/CorpusMemory.ts
#	protocol/typescript/memory/CorpusTimelineEvent.ts
#	protocol/typescript/memory/LayerTiming.ts
#	protocol/typescript/memory/LoadCorpusResponse.ts
#	protocol/typescript/memory/MemoryRecallResponse.ts
#	protocol/typescript/memory/MultiLayerRecallRequest.ts
#	protocol/typescript/memory/TemporalInfo.ts
#	protocol/typescript/memory/TimelineEvent.ts
#	protocol/typescript/model_registry/Arch.ts
#	protocol/typescript/model_registry/ProviderKind.ts
#	protocol/typescript/model_registry/index.ts
#	protocol/typescript/orm/BaseEntity.ts
#	protocol/typescript/persona/EdgeKind.ts
#	protocol/typescript/persona/Engram.ts
#	protocol/typescript/persona/EngramOrigin.ts
#	protocol/typescript/persona/ModelSelectionRequest.ts
#	protocol/typescript/persona/RagInspectParams.ts
#	protocol/typescript/persona/SamplingProfile.ts
#	protocol/typescript/persona/index.ts
#	protocol/typescript/resources/index.ts
#	protocol/typescript/runtime/CommandCompletedEvent.ts
#	protocol/typescript/search/VectorSearchInput.ts
#	protocol/typescript/search/index.ts
#	protocol/typescript/sentinel/SentinelEscalation.ts
#	protocol/typescript/system/index.ts
#	protocol/typescript/voice/AvatarGender.ts
#	scripts/ci/carl-install-smoke.sh
#	scripts/ratchets/check-ts-persona-cognition.sh
#	scripts/ratchets/check-ts-persona-forbidden-strings.sh
#	sdk/README.md
#	sdk/typescript/ConsciousnessContextRequest.ts
#	sdk/typescript/ConsciousnessContextResponse.ts
#	sdk/typescript/CorpusMemory.ts
#	sdk/typescript/CorpusTimelineEvent.ts
#	sdk/typescript/IPCFieldNames.ts
#	sdk/typescript/LayerTiming.ts
#	sdk/typescript/LoadCorpusResponse.ts
#	sdk/typescript/MemoryRecallResponse.ts
#	sdk/typescript/MemoryRecord.ts
#	sdk/typescript/MultiLayerRecallRequest.ts
#	sdk/typescript/RustCore.ts
#	sdk/typescript/RustCoreIPC.ts
#	sdk/typescript/TemporalInfo.ts
#	sdk/typescript/TimelineEvent.ts
#	sdk/typescript/benchmark-voice.ts
#	sdk/typescript/generated/wire/ai/ContentPart.ts
#	sdk/typescript/generated/wire/ai/TextGenerationRequest.ts
#	sdk/typescript/generated/wire/ai/TextGenerationResponse.ts
#	sdk/typescript/generated/wire/ai/ToolInputSchema.ts
#	sdk/typescript/modules/ai.ts
#	sdk/typescript/modules/avatar.ts
#	sdk/typescript/modules/base.ts
#	sdk/typescript/modules/channel.ts
#	sdk/typescript/modules/code.ts
#	sdk/typescript/modules/cognition.ts
#	sdk/typescript/modules/dataset.ts
#	sdk/typescript/modules/embedding.ts
#	sdk/typescript/modules/gpu.ts
#	sdk/typescript/modules/grid.ts
#	sdk/typescript/modules/index.ts
#	sdk/typescript/modules/inference.ts
#	sdk/typescript/modules/memory.ts
#	sdk/typescript/modules/models.ts
#	sdk/typescript/modules/plasticity.ts
#	sdk/typescript/modules/rag.ts
#	sdk/typescript/modules/runtime.ts
#	sdk/typescript/modules/search.ts
#	sdk/typescript/modules/sentinel.ts
#	sdk/typescript/modules/system_resources.ts
#	sdk/typescript/modules/tool_parsing.ts
#	sdk/typescript/modules/vision_cache.ts
#	sdk/typescript/modules/voice.ts
#	sdk/typescript/test-concurrent.ts
#	sdk/typescript/test-ffi.ts
#	sdk/typescript/test-ipc.ts
#	sdk/typescript/test-voice-loop.ts
#	sdk/typescript/verify-integration.ts
#	setup.sh
#	src/clippy-baseline.txt
#	src/commands/ai/generate/server/AIGenerateServerCommand.ts
#	src/commands/ai/should-respond/server/AIShouldRespondServerCommand.ts
#	src/commands/ai/should-respond/shared/AIShouldRespondCommand.ts
#	src/commands/ai/validate-response/server/AIValidateResponseServerCommand.ts
#	src/commands/recipe/generate/server/RecipeGenerateServerCommand.ts
#	src/commands/social/comment/.npmignore
#	src/commands/social/comment/test/integration/SocialCommentIntegration.test.ts
#	src/commands/social/community/.npmignore
#	src/commands/social/community/test/integration/SocialCommunityIntegration.test.ts
#	src/commands/social/downvote/.npmignore
#	src/commands/social/downvote/package.json
#	src/commands/social/feed/.npmignore
#	src/commands/social/feed/test/integration/SocialFeedIntegration.test.ts
#	src/commands/social/feed/test/unit/SocialFeedCommand.test.ts
#	src/commands/social/notifications/.npmignore
#	src/commands/social/post/.npmignore
#	src/commands/social/post/package.json
#	src/commands/social/post/test/unit/SocialPostCommand.test.ts
#	src/commands/social/profile/.npmignore
#	src/commands/social/signup/.npmignore
#	src/commands/social/trending/.npmignore
#	src/daemons/code-daemon/shared/CodeDaemonTypes.ts
#	src/eslint-baseline.txt
#	src/generator/AUDIT-SYSTEM-DESIGN.md
#	src/generator/CommandAuditor.ts
#	src/generator/CommandGenerator.ts
#	src/generator/CommandNaming.ts
#	src/generator/DAEMON-PATTERNS.md
#	src/generator/DaemonConcurrency.ts
#	src/generator/DaemonGenerator.ts
#	src/generator/DaemonTypes.ts
#	src/generator/EntityGenerator.ts
#	src/generator/EntityTypes.ts
#	src/generator/EventConstantsGenerator.ts
#	src/generator/GeneratorSDK.ts
#	src/generator/GeneratorSDKFactory.ts
#	src/generator/HelpFormatter.ts
#	src/generator/MODULE-HIBERNATION-SYSTEM.md
#	src/generator/ModuleGenerator.ts
#	src/generator/TemplateLoader.ts
#	src/generator/TokenBuilder.ts
#	src/generator/TokenReplacer.ts
#	src/generator/WidgetGenerator.ts
#	src/generator/audit/AuditTypes.ts
#	src/generator/audit/ModuleAuditor.ts
#	src/generator/audit/checks/LintCheck.ts
#	src/generator/audit/checks/MissingFileCheck.ts
#	src/generator/audit/checks/OutdatedPatternCheck.ts
#	src/generator/audit/checks/PackageJsonCheck.ts
#	src/generator/audit/checks/ReadmeCheck.ts
#	src/generator/audit/checks/TestCoverageCheck.ts
#	src/generator/audit/checks/UnusedCodeCheck.ts
#	src/generator/audit/utils/ReadmeGenerator.ts
#	src/generator/cleanup-backups.ts
#	src/generator/cli.ts
#	src/generator/core/CommandFixerStrategies.ts
#	src/generator/core/EntryExtractor.ts
#	src/generator/core/FileScanner.ts
#	src/generator/core/RegistryBuilder.ts
#	src/generator/core/TypesFilePatcher.ts
#	src/generator/core/writeIfChanged.ts
#	src/generator/generate-archive-daemon.ts
#	src/generator/generate-audio-constants.ts
#	src/generator/generate-collection-constants.ts
#	src/generator/generate-command-constants.ts
#	src/generator/generate-command-executors.ts
#	src/generator/generate-command-schemas.ts
#	src/generator/generate-config.ts
#	src/generator/generate-content-types.ts
#	src/generator/generate-entity-schemas.ts
#	src/generator/generate-logger-daemon.ts
#	src/generator/generate-rust-bindings.ts
#	src/generator/generate-structure.ts
#	src/generator/generate-version.ts
#	src/generator/generate-widget.ts
#	src/generator/generate-worker-registry.ts
#	src/generator/shared/SpecSerializer.ts
#	src/generator/shared/SpecValidator.ts
#	src/generator/shared/specs/CommandSpec.ts
#	src/generator/specs/adapter-publish.json
#	src/generator/specs/ai-detect-semantic-loop.json
#	src/generator/specs/ai-key-remove.json
#	src/generator/specs/ai-key-save.json
#	src/generator/specs/archive-daemon-spec.ts
#	src/generator/specs/avatar-snapshot.json
#	src/generator/specs/claude-context.json
#	src/generator/specs/claude-resume.json
#	src/generator/specs/claude-snapshot.json
#	src/generator/specs/code-shell-execute.json
#	src/generator/specs/code-shell-kill.json
#	src/generator/specs/code-shell-sentinel.json
#	src/generator/specs/code-shell-status.json
#	src/generator/specs/code-shell-watch.json
#	src/generator/specs/context-search.json
#	src/generator/specs/context-slice.json
#	src/generator/specs/development-code-smell.json
#	src/generator/specs/development-generate-audit.json
#	src/generator/specs/development-generate-help.json
#	src/generator/specs/development-generate-reverse.json
#	src/generator/specs/development-generate.json
#	src/generator/specs/development-verify-web.json
#	src/generator/specs/genome-academy-team.json
#	src/generator/specs/genome-adapter-info.json
#	src/generator/specs/genome-adapter-list.json
#	src/generator/specs/genome-adapter-prune.json
#	src/generator/specs/genome-benchmark.json
#	src/generator/specs/genome-convert.json
#	src/generator/specs/genome-train-list-jobs.json
#	src/generator/specs/genome-train-resume.json
#	src/generator/specs/genome-training-overview.json
#	src/generator/specs/gpu-stats.json
#	src/generator/specs/grid-deploy.json
#	src/generator/specs/grid-job-control.json
#	src/generator/specs/grid-job-queue.json
#	src/generator/specs/grid-job-submit.json
#	src/generator/specs/grid-node-status.json
#	src/generator/specs/grid-setup-check.json
#	src/generator/specs/inference-capacity.json
#	src/generator/specs/inference-generate.json
#	src/generator/specs/interface-browser-capabilities.json
#	src/generator/specs/interface-interact.json
#	src/generator/specs/interface-launch-url.json
#	src/generator/specs/interface-page-fill.json
#	src/generator/specs/interface-page-forms.json
#	src/generator/specs/interface-page-submit.json
#	src/generator/specs/interface-webmcp-call.json
#	src/generator/specs/interface-webmcp-discover.json
#	src/generator/specs/live-start.json
#	src/generator/specs/logger-daemon-spec.ts
#	src/generator/specs/logging-disable.json
#	src/generator/specs/logging-enable.json
#	src/generator/specs/logging-status.json
#	src/generator/specs/media-prewarm.json
#	src/generator/specs/migration-cutover.json
#	src/generator/specs/migration-pause.json
#	src/generator/specs/migration-resume.json
#	src/generator/specs/migration-rollback.json
#	src/generator/specs/migration-start.json
#	src/generator/specs/migration-status.json
#	src/generator/specs/migration-verify.json
#	src/generator/specs/model-download.json
#	src/generator/specs/model-forge-status.json
#	src/generator/specs/model-forge.json
#	src/generator/specs/model-introspect.json
#	src/generator/specs/model-list-published.json
#	src/generator/specs/model-publish.json
#	src/generator/specs/model-search.json
#	src/generator/specs/pattern-capture.json
#	src/generator/specs/pattern-endorse.json
#	src/generator/specs/pattern-query.json
#	src/generator/specs/persona-allocate.json
#	src/generator/specs/plasticity-analyze.json
#	src/generator/specs/plasticity-compact.json
#	src/generator/specs/plasticity-compress.json
#	src/generator/specs/plasticity-pipeline.json
#	src/generator/specs/plasticity-topology.json
#	src/generator/specs/runtime-metrics.json
#	src/generator/specs/sentinel-approve.json
#	src/generator/specs/sentinel-extend-budget.json
#	src/generator/specs/sentinel-resume.json
#	src/generator/specs/state-content-close.json
#	src/generator/specs/state-content-switch.json
#	src/generator/specs/system-resources.json
#	src/generator/specs/user-list.json
#	src/generator/specs/voice-start.json
#	src/generator/specs/voice-stop.json
#	src/generator/specs/voice-synthesize.json
#	src/generator/specs/voice-transcribe.json
#	src/generator/specs/workspace-list.json
#	src/generator/templates/command/.npmignore.template
#	src/generator/templates/command/README.template.md
#	src/generator/templates/command/browser.template.ts
#	src/generator/templates/command/integration-test.template.ts
#	src/generator/templates/command/package.json.template
#	src/generator/templates/command/server.template.ts
#	src/generator/templates/command/shared-types.template.ts
#	src/generator/templates/command/unit-test.template.ts
#	src/generator/templates/widget/README.template.md
#	src/generator/templates/widget/recipe.template.json
#	src/generator/templates/widget/widget.template.html
#	src/generator/templates/widget/widget.template.scss
#	src/generator/templates/widget/widget.template.ts
#	src/generator/test-audit-self.ts
#	src/generator/test-audit.ts
#	src/generator/test-daemon-generator.ts
#	src/generator/test-entity-generator.ts
#	src/generator/test-generator-sdk.ts
#	src/generator/test-registry-builder.ts
#	src/generator/types/CommandGeneratorType.ts
#	src/generator/types/DaemonGeneratorType.ts
#	src/generator/types/EntityGeneratorType.ts
#	src/generator/types/GeneratorTypes.ts
#	src/generator/types/WidgetGeneratorType.ts
#	src/generator/types/index.ts
#	src/generator/utils/FileManager.ts
#	src/generator/utils/Logger.ts
#	src/jtag
#	src/scripts/parallel-start.sh
#	src/shared/generated/ai/ContentPart.ts
#	src/shared/generated/ai/TextGenerationRequest.ts
#	src/shared/generated/ai/TextGenerationResponse.ts
#	src/shared/generated/ai/ToolInputSchema.ts
#	src/shared/generated/logger/WriteLogResult.ts
#	src/shared/generated/mcp/index.ts
#	src/shared/generated/model_registry/index.ts
#	src/shared/generated/search/index.ts
#	src/shared/generated/voice/AvatarGender.ts
#	src/system/ai/server/AIDecisionService.ts
#	src/system/events/index.ts
#	src/system/vision/VisionInferenceProvider.ts
#	src/workers/archive/Cargo.lock
#	src/workers/archive/Cargo.toml
#	src/workers/archive/README.md
#	src/workers/archive/src/command_client.rs
#	src/workers/archive/src/data_adapter.rs
#	src/workers/archive/src/db_client.rs
#	src/workers/archive/src/main.rs
#	src/workers/archive/src/main_complex.rs.bak
#	src/workers/archive/src/messages.rs
#	src/workers/archive/test-skeleton.ts
#	src/workers/archive/worker.config.ts
#	src/workers/continuum-core/bindings/ConsciousnessContextRequest.ts
#	src/workers/continuum-core/bindings/ConsciousnessContextResponse.ts
#	src/workers/continuum-core/bindings/CorpusMemory.ts
#	src/workers/continuum-core/bindings/CorpusTimelineEvent.ts
#	src/workers/continuum-core/bindings/IPCFieldNames.ts
#	src/workers/continuum-core/bindings/LayerTiming.ts
#	src/workers/continuum-core/bindings/LoadCorpusResponse.ts
#	src/workers/continuum-core/bindings/MemoryRecallResponse.ts
#	src/workers/continuum-core/bindings/MultiLayerRecallRequest.ts
#	src/workers/continuum-core/bindings/RustCore.ts
#	src/workers/continuum-core/bindings/RustCoreIPC.ts
#	src/workers/continuum-core/bindings/TemporalInfo.ts
#	src/workers/continuum-core/bindings/TimelineEvent.ts
#	src/workers/continuum-core/bindings/benchmark-voice.ts
#	src/workers/continuum-core/bindings/modules/ai.ts
#	src/workers/continuum-core/bindings/modules/avatar.ts
#	src/workers/continuum-core/bindings/modules/base.ts
#	src/workers/continuum-core/bindings/modules/channel.ts
#	src/workers/continuum-core/bindings/modules/code.ts
#	src/workers/continuum-core/bindings/modules/cognition.ts
#	src/workers/continuum-core/bindings/modules/dataset.ts
#	src/workers/continuum-core/bindings/modules/embedding.ts
#	src/workers/continuum-core/bindings/modules/gpu.ts
#	src/workers/continuum-core/bindings/modules/grid.ts
#	src/workers/continuum-core/bindings/modules/index.ts
#	src/workers/continuum-core/bindings/modules/inference.ts
#	src/workers/continuum-core/bindings/modules/memory.ts
#	src/workers/continuum-core/bindings/modules/models.ts
#	src/workers/continuum-core/bindings/modules/plasticity.ts
#	src/workers/continuum-core/bindings/modules/rag.ts
#	src/workers/continuum-core/bindings/modules/runtime.ts
#	src/workers/continuum-core/bindings/modules/search.ts
#	src/workers/continuum-core/bindings/modules/sentinel.ts
#	src/workers/continuum-core/bindings/modules/system_resources.ts
#	src/workers/continuum-core/bindings/modules/tool_parsing.ts
#	src/workers/continuum-core/bindings/modules/vision_cache.ts
#	src/workers/continuum-core/bindings/modules/voice.ts
#	src/workers/continuum-core/bindings/test-concurrent.ts
#	src/workers/continuum-core/bindings/test-ffi.ts
#	src/workers/continuum-core/bindings/test-ipc.ts
#	src/workers/continuum-core/bindings/test-voice-loop.ts
#	src/workers/continuum-core/bindings/verify-integration.ts
#	src/workers/continuum-core/src/gpu/metal_monitor/mach_ffi.rs
#	src/workers/continuum-core/src/live/handle.rs
#	src/workers/continuum-core/src/modules/search.rs
#	tools/generator/AUDIT-SYSTEM-DESIGN.md
#	tools/generator/CommandAuditor.ts
#	tools/generator/CommandGenerator.ts
#	tools/generator/CommandNaming.ts
#	tools/generator/DAEMON-PATTERNS.md
#	tools/generator/DaemonConcurrency.ts
#	tools/generator/DaemonGenerator.ts
#	tools/generator/DaemonTypes.ts
#	tools/generator/EntityGenerator.ts
#	tools/generator/EntityTypes.ts
#	tools/generator/EventConstantsGenerator.ts
#	tools/generator/GeneratorSDK.ts
#	tools/generator/GeneratorSDKFactory.ts
#	tools/generator/HelpFormatter.ts
#	tools/generator/MODULE-HIBERNATION-SYSTEM.md
#	tools/generator/ModuleGenerator.ts
#	tools/generator/TemplateLoader.ts
#	tools/generator/TokenBuilder.ts
#	tools/generator/TokenReplacer.ts
#	tools/generator/WidgetGenerator.ts
#	tools/generator/audit/AuditTypes.ts
#	tools/generator/audit/ModuleAuditor.ts
#	tools/generator/audit/checks/LintCheck.ts
#	tools/generator/audit/checks/MissingFileCheck.ts
#	tools/generator/audit/checks/OutdatedPatternCheck.ts
#	tools/generator/audit/checks/PackageJsonCheck.ts
#	tools/generator/audit/checks/ReadmeCheck.ts
#	tools/generator/audit/checks/TestCoverageCheck.ts
#	tools/generator/audit/checks/UnusedCodeCheck.ts
#	tools/generator/audit/utils/ReadmeGenerator.ts
#	tools/generator/cleanup-backups.ts
#	tools/generator/cli.ts
#	tools/generator/core/CommandFixerStrategies.ts
#	tools/generator/core/EntryExtractor.ts
#	tools/generator/core/FileScanner.ts
#	tools/generator/core/RegistryBuilder.ts
#	tools/generator/core/TypesFilePatcher.ts
#	tools/generator/core/writeIfChanged.ts
#	tools/generator/generate-archive-daemon.ts
#	tools/generator/generate-audio-constants.ts
#	tools/generator/generate-collection-constants.ts
#	tools/generator/generate-command-constants.ts
#	tools/generator/generate-command-executors.ts
#	tools/generator/generate-command-schemas.ts
#	tools/generator/generate-config.ts
#	tools/generator/generate-content-types.ts
#	tools/generator/generate-entity-schemas.ts
#	tools/generator/generate-logger-daemon.ts
#	tools/generator/generate-rust-bindings.ts
#	tools/generator/generate-structure.ts
#	tools/generator/generate-version.ts
#	tools/generator/generate-widget.ts
#	tools/generator/generate-worker-registry.ts
#	tools/generator/shared/SpecSerializer.ts
#	tools/generator/shared/SpecValidator.ts
#	tools/generator/shared/specs/CommandSpec.ts
#	tools/generator/specs/adapter-publish.json
#	tools/generator/specs/ai-detect-semantic-loop.json
#	tools/generator/specs/ai-key-remove.json
#	tools/generator/specs/ai-key-save.json
#	tools/generator/specs/archive-daemon-spec.ts
#	tools/generator/specs/avatar-snapshot.json
#	tools/generator/specs/claude-context.json
#	tools/generator/specs/claude-resume.json
#	tools/generator/specs/claude-snapshot.json
#	tools/generator/specs/code-shell-execute.json
#	tools/generator/specs/code-shell-kill.json
#	tools/generator/specs/code-shell-sentinel.json
#	tools/generator/specs/code-shell-status.json
#	tools/generator/specs/code-shell-watch.json
#	tools/generator/specs/context-search.json
#	tools/generator/specs/context-slice.json
#	tools/generator/specs/development-code-smell.json
#	tools/generator/specs/development-generate-audit.json
#	tools/generator/specs/development-generate-help.json
#	tools/generator/specs/development-generate-reverse.json
#	tools/generator/specs/development-generate.json
#	tools/generator/specs/development-verify-web.json
#	tools/generator/specs/genome-academy-team.json
#	tools/generator/specs/genome-adapter-info.json
#	tools/generator/specs/genome-adapter-list.json
#	tools/generator/specs/genome-adapter-prune.json
#	tools/generator/specs/genome-benchmark.json
#	tools/generator/specs/genome-convert.json
#	tools/generator/specs/genome-train-list-jobs.json
#	tools/generator/specs/genome-train-resume.json
#	tools/generator/specs/genome-training-overview.json
#	tools/generator/specs/gpu-stats.json
#	tools/generator/specs/grid-deploy.json
#	tools/generator/specs/grid-job-control.json
#	tools/generator/specs/grid-job-queue.json
#	tools/generator/specs/grid-job-submit.json
#	tools/generator/specs/grid-node-status.json
#	tools/generator/specs/grid-setup-check.json
#	tools/generator/specs/inference-capacity.json
#	tools/generator/specs/inference-generate.json
#	tools/generator/specs/interface-browser-capabilities.json
#	tools/generator/specs/interface-interact.json
#	tools/generator/specs/interface-launch-url.json
#	tools/generator/specs/interface-page-fill.json
#	tools/generator/specs/interface-page-forms.json
#	tools/generator/specs/interface-page-submit.json
#	tools/generator/specs/interface-webmcp-call.json
#	tools/generator/specs/interface-webmcp-discover.json
#	tools/generator/specs/live-start.json
#	tools/generator/specs/logger-daemon-spec.ts
#	tools/generator/specs/logging-disable.json
#	tools/generator/specs/logging-enable.json
#	tools/generator/specs/logging-status.json
#	tools/generator/specs/media-prewarm.json
#	tools/generator/specs/migration-cutover.json
#	tools/generator/specs/migration-pause.json
#	tools/generator/specs/migration-resume.json
#	tools/generator/specs/migration-rollback.json
#	tools/generator/specs/migration-start.json
#	tools/generator/specs/migration-status.json
#	tools/generator/specs/migration-verify.json
#	tools/generator/specs/model-download.json
#	tools/generator/specs/model-forge-status.json
#	tools/generator/specs/model-forge.json
#	tools/generator/specs/model-introspect.json
#	tools/generator/specs/model-list-published.json
#	tools/generator/specs/model-publish.json
#	tools/generator/specs/model-search.json
#	tools/generator/specs/pattern-capture.json
#	tools/generator/specs/pattern-endorse.json
#	tools/generator/specs/pattern-query.json
#	tools/generator/specs/persona-allocate.json
#	tools/generator/specs/plasticity-analyze.json
#	tools/generator/specs/plasticity-compact.json
#	tools/generator/specs/plasticity-compress.json
#	tools/generator/specs/plasticity-pipeline.json
#	tools/generator/specs/plasticity-topology.json
#	tools/generator/specs/runtime-metrics.json
#	tools/generator/specs/sentinel-approve.json
#	tools/generator/specs/sentinel-extend-budget.json
#	tools/generator/specs/sentinel-resume.json
#	tools/generator/specs/state-content-close.json
#	tools/generator/specs/state-content-switch.json
#	tools/generator/specs/system-resources.json
#	tools/generator/specs/user-list.json
#	tools/generator/specs/voice-start.json
#	tools/generator/specs/voice-stop.json
#	tools/generator/specs/voice-synthesize.json
#	tools/generator/specs/voice-transcribe.json
#	tools/generator/specs/workspace-list.json
#	tools/generator/templates/command/README.template.md
#	tools/generator/templates/command/browser.template.ts
#	tools/generator/templates/command/integration-test.template.ts
#	tools/generator/templates/command/package.json.template
#	tools/generator/templates/command/server.template.ts
#	tools/generator/templates/command/shared-types.template.ts
#	tools/generator/templates/command/unit-test.template.ts
#	tools/generator/templates/widget/README.template.md
#	tools/generator/templates/widget/recipe.template.json
#	tools/generator/templates/widget/widget.template.html
#	tools/generator/templates/widget/widget.template.scss
#	tools/generator/templates/widget/widget.template.ts
#	tools/generator/test-audit-self.ts
#	tools/generator/test-audit.ts
#	tools/generator/test-daemon-generator.ts
#	tools/generator/test-entity-generator.ts
#	tools/generator/test-generator-sdk.ts
#	tools/generator/test-registry-builder.ts
#	tools/generator/types/CommandGeneratorType.ts
#	tools/generator/types/DaemonGeneratorType.ts
#	tools/generator/types/EntityGeneratorType.ts
#	tools/generator/types/GeneratorTypes.ts
#	tools/generator/types/WidgetGeneratorType.ts
#	tools/generator/types/index.ts
#	tools/generator/utils/FileManager.ts
#	tools/generator/utils/Logger.ts
#	tools/scripts/build-with-loud-failure.ts
#	tools/scripts/cargo-test.sh
#	tools/scripts/download-avatar-models.sh
#	tools/scripts/git-precommit.sh
#	tools/scripts/git-prepush.sh
#	tools/scripts/install.sh
#	tools/scripts/lib/install-common.sh
#	tools/scripts/parallel-start.sh
#	tools/scripts/precommit-config.sh
#	tools/scripts/seed/personas.ts
#	tools/scripts/shared/cargo-features.sh
#	tools/scripts/start-server.sh
#	tools/scripts/windows-setup-autostart.ps1
#	tools/scripts/wsl-boot.sh
# Conflicts:
#	apps/web/src/chat/ChatWidget.ts
#	apps/web/src/index.ts
#	core/continuum-core/src/ipc/positron_nav_source.rs
joelteply and others added 14 commits August 31, 2026 17:05
…bRTC door

Merge repairs (the wrong-base main merge + the canary resolve both bit):
- .gitmodules + core/vendor submodule gitlinks restored (the ours-sweep
  dropped them; llama.cpp vanished and the build died at cmake)
- search/engine.rs: 8-char rename-conflict markers from the main merge
  had been committed — resolved to HEAD sides

live/token (AiSafe, feature-gated livekit-webrtc): mints a room-scoped
LiveKit access token for the CALLER (persona / operator self-peer, the
chat/send identity chain) so browsers join the media plane as REAL
WebRTC participants — UDP, hardware codecs, <video> elements — instead
of drinking raw RGBA off the call WS (Joel: 'boundaries are the
killers'; airc's UDP remains the native node↔node fabric, LiveKit is
the browser edge).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…-to-end

The lane Joel called for ('webrtc streaming over udp… boundaries are
the killers'), closed:

- CallClient connects the LiveKit room in parallel with the WS control
  dial (live/token creds from the host); TrackSubscribed hands tracks
  up; capture publishes native local tracks (camera 640×360@30 hardware
  encode, mic straight to the bridge's in-room STT listener) — the
  canvas-RGBA-over-WS path survives only as the glass-box tee.
- Tiles render <video autoplay playsinline> for track participants and
  hidden autoplaying <audio> per voice — the browser decodes
  off-main-thread, zero per-frame JS; attach is idempotent post-render.
- Citizens' Bevy pumps already publish to LiveKit via the bridge, so
  subscribing is what turns portraits into ANIMATED 30fps streams with
  actual voices (the 'nothing is animating + hold music' report).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…pants only

From Joel's live session (screenshot receipts):
- .lt-video had NO CSS — streams rendered as intrinsic-size clipped
  corners with the glyph floating on top. Now absolute-fill object-fit
  cover; a tile with live media hides its glyph/portrait (:has).
- disablepictureinpicture + controlslist on tile videos — Opera was
  hijacking Kira's stream into its floating popout.
- STAGE-FIRST composition (the Slack/Teams shape): the stage engages
  for the active speaker OR the first live-video participant; flat grid
  only for an all-static lobby. Audio sinks moved OUT of the grid
  branch (they'd have muted the room the moment panel mode engaged).
- The call grid tiles CALL PARTICIPANTS only (self + ws-joined + track
  holders) — no more static portraits of room-online-but-absent people
  (the joel/you double, the non-publishing citizens). People appear
  when they connect, like any call app.

Known + next: Benchy's agent is in the SFU room without a published
video track (per-citizen pump inconsistency — the population trigger
needs the glass box), and the you/joel human identity spine remains.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Joel: 'full screen only if chosen or talking? whats the focus of common
chat clients.' Survey: Discord/Teams/Meet = grid default, speaking
highlights IN PLACE, fullscreen on explicit pin or screenshare; Zoom's
Speaker View is chosen; TikTok host-fullscreen is broadcast-shaped.
So: the stage engages on the reader's PIN (tile click; clicking again
unpins) else while someone is actively SPEAKING (real tokens) — never
merely because video exists. The 'first video participant auto-stages'
rule dies (it staged a silent Atlas over everyone).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Joel, 2026-09-01: 'There's two of me, one called you and another joel.
This is what happens when you break separation of concerns and hack
things together rather than design with purpose.' Correct. The web
client minted a per-browser uuid in localStorage and wore it as the
human's identity — every browser profile, private window, and the
eye-node's harness page became a phantom human (three joel-shaped peers
in one evening) beside the durable identity the core already held.

The design (the userId → sessionId → contextId hierarchy, the identity
spine): identity is DURABLE and substrate-owned; a client session is a
CONNECTION to it.

- identity/whoami (AiSafe): THE resolution point — a persona caller is
  herself; a caller-less local session is the node's OPERATOR self-peer.
  Multi-user auth later replaces the resolution inside the verb; the
  wire contract stays.
- web: the localStorage mint is DELETED (and the stale key actively
  removed); boot dials the command transport unscoped, adopts whoami's
  answer (retry-until-ready, continuon shows connecting — a minted
  stand-in is never an option), THEN opens the ?me=-scoped state feed.
  Explicit ?me= (test harness) still passes through.

'you' dies; the session IS joel. The old minted ghosts age out of the
14-day directory window on their own.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
The literal 'you' label was hand-built client-side and then PROTECTED:
the seed kept the boot-time self row and filtered the directory's
version of the same id out, so the substrate's 'joel' could never
replace it — a second joel, minted as a string this time (Joel: 'I
literally see joel and you… are you even looking?'). The self row now
carries whoami's name from boot and the directory's row for the viewer
WINS on every poll. Verified substrate-side first: presence/directory
shows exactly one human online (d72e0b8d · joel).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…d claim

Joel: 'the chat history is clearly attributing shit you did to me' +
'yeah detect agent kind'. The designed fix, end to end:

- CommandRequest gains actorKind (a CLAIM for local attribution, never
  authentication — authenticated identity stays ctx.caller); threaded
  into Ctx as claimed_actor_kind.
- continuum-client stamps actorKind:'agent' in its ONE dispatch path
  when the process env carries an agent runtime's markers (CLAUDECODE /
  AI_AGENT / CLAUDE_CODE_ENTRYPOINT / CODEX_SANDBOX). A human at a bare
  terminal has none and stays the operator.
- The AGENT self-peer ('Claude', IdentityKind::Agent — the variant that
  was designed for exactly this) boots beside the operator peer.
- chat/send's caller-less chain and identity/whoami resolve an agent
  claim to the agent peer; if it isn't online yet the answer is a loud
  retryable error, NEVER the human's identity.

Historical mislabeled messages can't be re-authored; every message from
an agent session from this boot forward is authored 'Claude · agent'.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…strap_as

citizen_home_path REQUIRES a provider for IdentityKind::Agent (the
no-invented-defaults contract) and bootstrap_as hardcoded None — so
ensure_agent_peer's spawn PANICKED inside tokio, silently: no
agent.peer.online, no boot_failed, and whoami's agent arm correctly
refused forever. provider now rides bootstrap_as (Human/Persona pass
None; the agent peer passes 'claude-code' → citizens/agents/claude-code/
Claude/airc/).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ever the eviction victim

The B2 traffic-class machinery works (Turn pins, sidecars land on
scratch) but the plan sized lanes to the RESIDENT COUNT while the
adapter's reservation takes the highest slot — 4 citizens on 3 usable
warm slots, one always LRU-rotated out. Measured 2026-09-01: interleaved
hit_rate=0.0 turns between healthy 0.55-0.77 ones. The demand the
fixpoint solves for now asks residents+1 (scratch funded; window
shrinks slightly, floor-guarded at one full assembled turn). This is
the KV lever that turns 96%-prefill turns into warm ones — acts/hour is
resolves/day.

Staged for the MORNING boundary deploy — tonight's rounds run untouched.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ions

The guards did their job on a fast day; each debt paid properly:
- unwrap ratchet: JUSTIFIED comments on today's sites (measured reserve
  prior, whoami/live_token declared defaults, emission timestamps) +
  boy-scouted the merge-borne modules/cargo sites
- serialization ratchet: the emission persist names its disk boundary
- reachability: PersonaEmission + ActivityInvite scoped pub(crate);
  merge-borne Qwen2SafetensorsBackend likewise
- registry guard caught the wrong-base merge RESURRECTING the retired
  modules/cargo ServiceModule (canary deleted it — 'code/cargo is
  canonical') — deleted again
- loose-id guard: ChatHistoryMessage.sender_id is a typed Uuid now
- STT: the STUB is removed from INIT_PREFERENCE — it fabricates
  transcriptions (the gunfire false-positive guard's whole point); a
  box with no real engine errs loudly, never invents speech
- agentic-surface ceiling 10400→10700 + native bound 40→42, stated
  plainly: activity/recipes + activity/invite are designed citizen
  tools (spawn→invite→brief is one flow)
- codegen pins track the ChatSendParams→ChatSendWireParams rename

(3 embedding-resolver tests are order-dependent under --test-threads=4;
green in isolation and on CI's serial run — pre-existing, not touched.)

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit f7fd904 into canary Sep 1, 2026
6 checks passed
@joelteply
joelteply deleted the feat/nav-activity-tree branch September 1, 2026 05:31
joelteply added a commit that referenced this pull request Sep 4, 2026
…s join the grid when they connect; controls carry cameraOn

Three assertions were stale since #2639 (participants are the CALL, not the roster) and since the camera control landed; the package's spec run was red before any change tonight.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply added a commit that referenced this pull request Sep 4, 2026
* feat(vitals): the persona HUD lights from the real seams — reason, recall, act, speed, focus

The emitter radiated activity/queue/tps/pfx/genome while the semantic layer
asked for reason/recall/act/speed/focus: four of five brain regions read
"awaiting signal" forever, including on a citizen mid-turn (Joel: "more
feedback events for the interface"). Faculty pulses now record at the one
seam each event passes — lane acquired (reasoning), memories surfaced
(recall), a directed turn admitted (focus) — and the emitter fades each over
its window, reading ABSENT when nothing fired. `act` is the act pulse alone;
`speed` mirrors decode tps under the HUD name. Test pins light-then-absent.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(chat): "heard by N" — a delivery receipt on every line a citizen admits as a turn

Joel 2026-09-04: "more feedback events for the interface". The live plane had been
dead for weeks and nothing on screen said so; the whole night's hunt would have been
one glance at a row reading "heard by 0".

The citizen inbound seam publishes `chat:heard {message_id, room_id, persona_id}`
when a non-citizen line is admitted as a (directed) turn; `IncomingMessage` now
carries the transcript event id it came from. The positron chat source folds the
receipt onto the row (`ChatMessageView.heard_by`, ts-rs regenerated, serde default
so old rows fold empty); the row model carries `heardBy`; the web draws a chip after
the timestamp. Test: a receipt joins the row once, repeats are no-ops, a receipt for
an unknown row never mints one.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(serving): serving/cache-probe — the substrate measures its own prompt-cache reuse

Joel 2026-09-04: "Reliability and repeatability is the name of the game." KV reuse
read 0.0 on 99/99 turns for hours and the only instrument was a hand-typed curl.
This verb IS that curl, repeatable: the same prompt twice to one pinned slot with
cache_prompt on, reporting the server's own timings.cache_n as a hit rate and a
one-word verdict. Refuses loudly when nothing is served (test).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(serving): cache-probe --roundtrip measures whether a RESTORED slot is reusable

Measured 2026-09-04 (llama-server b10751, Ornith-1.5-35B-A3B): in-slot reuse
11291/11295; after save → restore the very next identical request reuses 0 and
re-prefills 18 s; the request after that hits again. The server logs
"cache_reuse is not supported by this context" for this hybrid model. With 12
citizens on 5 slots every turn followed a restore, so hit_rate read 0.0 on 105/105
turns while every restore probe said ok. The probe now reports after_restore_cache_n
and a restore_verdict so the regression class is one command away.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): citizens subscribe exactly as the CLI does — no delivery filter either

Second cut of the live-plane fix (2026-09-04): with the header filter gone and
Some([Durable]) kept, citizens still received only event-kind frames live and
never a message, while an airc join client on the same daemon (no delivery
filter) received every message including the operator line. Subscribe as the
CLI subscribes; chunks and heartbeats are dropped on receive where the guard is
correct regardless of the daemon.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(web): a persona page finds her vitals node-wide, not only in the focused room's roster

Every deep link to /persona/<name>/mind tonight rendered "no vitals radiating" —
the page took the member from the FOCUSED room's roster and she was not in it.
The surface already folds every room's roster it has seen into a node-wide
directory; the persona body now falls back to it. Roster first, directory second,
never a second truth.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* chore(bindings): ts-rs output for serving/cache-probe params + result

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(persona): persona/vitals — the emitter's latest map by id, so a cold persona page lights its HUD

A deep link to /persona/<name>/mind opened from a room she is not in had no
roster slot to read vitals from, so the brain HUD read "no vitals radiating"
while she was mid-turn. The emitter now remembers the last map it sampled per
citizen; persona/vitals answers it by id; the mind page polls it and overlays it
only when the projected body carries none (roster first, verb second — one
emitter, never a second truth). Test: bad id refused, unsampled citizen answers
an honest empty map.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(rail): a bench run room is labelled by what it is, working rounds first

The activities rail read 49 identical "bench-swe-bench-verified-mini-17883…"
rows, every one subtitled "chat" (frames all night). The round snapshot and the
bench wire row now carry the run room name; the rail matches a tab to its round
and draws `verified · working` with `9/12 in hands` (or `n/N settled` when paused
or done), working rounds sorted first. A view over two truths (nav + bench),
never a hidden row.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): persona/vitals is auto-registered by the macro — do not push it twice

A unit-struct action_command registers itself onto the ONE registry; the manual
push registered persona/vitals twice and the registry panicked at boot
(duplicate command object), crash-looping the core. Caught live 2026-09-04.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): a quiet inbound stream re-opens itself when the room moved on; a run room shows its own round

Live 2026-09-04 (build abb9c50): citizens' subscribe streams went silent about two
minutes after prime — 12 citizens received 172 events in the first two minutes, 2
citizens received 5 in the next two, and an operator line at +12 min reached nobody,
with no lag error ever surfacing. The daemon marks a slow subscriber lagged and its
"resume from the sink" never delivers. The loop now has a QUIET WATCHDOG: when nothing
has arrived for 90 s it asks the durable store for the room's high-water mark; if the
room moved past the last seen lamport, the stream is dead — it is re-opened and the
gap replayed, exactly as a membership change does (`persona.inbound.resubscribed_quiet`).
The per-event door became `admit_event` (one path for heartbeat/chunk guards, the raw
probe, the work bridge, the decoder, the self-filter, the lamport advance).

Web: a bench-purpose room that is a round's RUN room renders that round alone; the
academy keeps the whole board (every run room had rendered the global index).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): the quiet watchdog reads every subscribed room and re-opens after three silent windows

First cut checked the HOME room's high-water mark, so the operator's line in the
run room never counted as "the room moved on" and the watchdog never fired
(+6 min line: 0 hearers, 0 re-opens). Now: a two-event tip read per subscribed
room; and after three 90 s windows with nothing delivered the stream is re-opened
regardless — bounded recovery (~4.5 min) beats a perfect signal.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): pump the daemon stream into an in-process inbox — a turn in progress never starves the subscription

Root cause of the live plane dying two minutes after every boot (2026-09-04, three
builds measured the same): the loop polled the daemon stream only while idle in its
select; once a citizen's first turn started (minutes of decode), nobody drained the
stream, the daemon's per-subscriber queue filled, the subscriber was marked lagged and
its "resume from the sink" never delivered. 12 citizens heard 330 events in the first
two minutes, 2 citizens heard 5 in the next two, and the watchdog could not help — it
only runs while the loop is polling.

The conversation now installs every daemon stream behind a PUMP task that drains it
continuously into a bounded in-process inbox (8k); the loop polls the inbox. Any
backpressure lands in-process, never at the daemon. Re-opens (membership change, quiet
watchdog) replace the pump. The RTOS shape: own task + channel, one concern.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): store-backed catch-up — every minute, page each subscribed room's tail and admit what the live stream dropped

Fifth cut of the live plane (2026-09-04). With the header filter gone, the delivery
filter gone, the quiet watchdog, and the pump, the measurement never moved: every
boot, 12 citizens receive live for ~2 minutes, then 2 — the daemon marks the
subscriber lagged and keeps pushing `event`s while `message`s vanish. The store is
the truth: on a 60 s tick the conversation pages every subscribed room's durable
tail (8 events) and admits, through the same door as live events, anything above
that room's watermark; a room seen for the first time adopts its tail as read.
Live delivery is now an accelerator, never the only ear. Probe:
`persona.inbound.caught_up_from_store`. The heard-by chip on a line sent ≥6 min
after boot is the standing check.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): the catch-up deadline persists across wake cycles — the tick now actually fires

The loop's wake select drops and re-creates the next_message future on every
self-tick (3–10 s), so a sleep(60 s) inside it restarted forever: zero catch-up
ticks in 7 minutes on the previous build, and the quiet watchdog never fired for
the same reason. The deadline is now held on the conversation and re-armed when it
fires (sleep_until), so a tick lands every 60 s of wall time regardless of wakes.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): the catch-up tells seen from dropped by a per-room ring of lamports, and every tick is a probe

The first catch-up admitted nothing: its per-room watermark was "newest lamport
seen", and live `event` frames keep arriving after the daemon drops a `message`,
so the mark leapt past the dropped line and the page read it as already read.
Now each room keeps a FLOOR adopted at first sight (nothing older is replayed)
and a bounded ring of lamports actually seen (live or paged); a paged event above
the floor and not in the ring is admitted. Every tick probes
`persona.inbound.catch_up_tick {rooms_paged, admitted}` so "did it run" is never
inferred from the absence of a hit.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): the pump owns the store catch-up — perception's own task, on its own clock

The loop-side catch-up ticked twice in seven minutes across twelve citizens: the
deliberation loop spends minutes inside turns and only reaches its select between
them. Perception must not depend on deliberation's schedule. The pump task now
forwards live frames as they arrive AND, every 60 s on its own clock, pages every
subscribed room's durable tail and forwards what the live stream dropped (floor
adopted at first sight; a bounded ring of lamports seen, live or paged, tells seen
from dropped). The loop's door (`admit_event`) treats both alike. Every tick probes
`persona.inbound.catch_up_tick {rooms_paged, admitted}`.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): catch-up page failures are a probe, and the page is 32 deep

On the pump-catch-up build 7 rooms paged per tick and the rest failed unseen; one
citizen of twelve admitted the operator line. Failures now count and name their
first error (persona.inbound.catch_up_page_failed); the page is 32 events so a
busy room cannot push a line off the page between ticks.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): the store catch-up floors by wall time and dedupes by event id — never by lamport

Zero admissions across three builds for a line every citizen's page contained. A
lamport is the publisher's logical clock: a quiet human's line carries a smaller
lamport than the busy citizens' receipts around it, so "lamport above the room's
floor" read the operator's line as old on every tick. The floor is now the room's
newest occurred_at_ms at first sight; seen-versus-dropped is a bounded ring of
event ids (live or paged). Ordering by lamport was the wrong tool for a room
with many clocks.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): floors and seen rings survive pump re-opens; the forced quiet re-open is gone; each tick samples what she sees in the store

Fourth zero-admission build explained: the pump's SeenRooms was created per pump,
and the loop forced a pump re-open every three quiet ticks, so every ~3 minutes
each room's floor was re-adopted at "now" — a line already in the page read as
old forever. The state now lives on the conversation (shared, locked) and every
pump shares it; the forced re-open is gone (a re-open was never the remedy — the
store catch-up is). Every tick also probes the freshest paged room (floor,
newest, identity, seen) so "nothing admitted" is explainable from probes alone.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): a human line is never stale by a publisher clock, wins the trigger without an @mention, and is heard on delivery

Found live on the shared-floor build: the operator's line reached the daemon
store (kind message, wall time after every floor) and still no citizen turned
on it. Two defects at the loop head, both replaced by `persona/wake_backlog`:
staleness was `lamport <= high_water`, but a lamport is the PUBLISHER's clock —
the operator self-peer's young clock read as stale against citizens' large
ones, so the line was skipped before it could trigger; and the trigger preferred
the newest line that @mentioned her, else the newest overall — a human line
without a mention lost to any newer work receipt. Now staleness is by event id
(a ring; the clock rule only for id-less scripted sources), the trigger is the
newest DIRECTED line (human/agent or a mention), and every directed line
drained earns its "heard by N" receipt — hearing is delivery, not reply.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(cognition): a parked self-work lane wait yields to a directed line — a human is heard within a minute, not a work turn

Inbound drains only at the service loop's head, and a self-tick holds the loop
for a whole work turn — most of which, at 12 citizens on 5 lanes, is spent
PARKED at the non-directed lane gate (4 lane grants in 10 min across the
roster). A human line therefore waited out the park plus the turn (~10 min)
before it could even be heard. `cognition/directed_pending`: the pump raises a
per-citizen flag when a line from outside the citizenry is forwarded (live or
from the store); the deliberation faculty, while parked for a NON-directed
lane, yields on it (`delib.gate.yielded_to_directed` — the park held no lane,
so abandoning it is free, and the None is her choice to answer first, not a
fault); the loop head clears the flag when it drains. A directed turn never
yields. One flag + one Notify per citizen, no task.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(web): a run room is a conversation with its round on top, not a round instead of the conversation

Live 2026-09-04: the round widget REPLACED the transcript in every run room, so
an operator's line into the room — and the "heard by N" receipt on it — had
nowhere to render. A run room now takes the academy landing's shape: its OWN
round center-stage, the chat as the secondary layer. A bench-family room that
is no round's run room (an index) keeps the board alone.

Also: the nav-tab spec fixtures gain the `opened` field #3679 added to NavTab
(the package no longer type-checked), and the ts-rs regeneration of
RoundSnapshot (run_room_name) is committed.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* test(web): the live-face spec follows the projection — offline members join the grid when they connect; controls carry cameraOn

Three assertions were stale since #2639 (participants are the CALL, not the roster) and since the camera control landed; the package's spec run was red before any change tonight.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(web): a run room's landing is named for its round and opens its conversation

The landing reused the campus title ("Academy") and folded the chat under the board; in a run room the conversation is where operator lines land, so it opens by default and the hero reads the round's label (verified · working · n/N in hands).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): her hands' root is a stated fact; inbound beats the self-tick; the inbound seams are real probes

Three things the room told us this morning, once citizens could hear:

1. Demetri: "the staged repo swe/sympy__sympy-15017/ does not exist — ls swe/
   returns No such file". It exists; his hands were rooted INSIDE it for the
   work turn while the card spoke workspace-relative (`swe/<instance>/`). Every
   citizen burned acts on the same false "checkout missing". The rooting seam
   now records where she stands as a working-memory FACT (the act-budget
   facts' channel), and the card body says the same in her coordinates.
2. Lorcan yielded a parked lane wait 12 times in 5 minutes: the loop head's
   select chose the due self-tick over the waiting inbox at random. `biased;`
   — a line already in her inbox beats a self-tick.
3. raw_event, filtered_non_turn, skipped_self_authored, subscribe_opened,
   resubscribed, rejoin_replayed, pump_ended and wake.coalesced were
   `tracing::info!(probe_class = …)` — invisible to the probe stream, so every
   tally of "did the line get admitted" read zero regardless of the loop
   (the concurrency style guide names this move). They are `probe!` now.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): the rooted-hands fact actually lands — the previous edit script died before this file

Where she stands is recorded in working memory at the rooting seam (the act-budget facts' channel): rooted AT the repo root, paths repo-relative, no swe/ from here.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): the pending flag is raised only by lines that would be a turn, a stale flag clears on the self-tick, the converted probes carry their own classes, and each tick names the rooms it paged

Measured on 8c6733c (7 min after boot): 25 work turns, 25 yields at the lane
gate, 0 lanes acquired — the roster was idle. The pump raised the flag for EVERY
forwarded event from a non-citizen peer, including the board's System events
(167 filtered as non-turns), and the flag cleared only when a message qualified
at the loop head — never. Now the pump signals only for an event that decodes as
a perceptual room turn, and a self-tick that wins the wake with an empty inbox
clears whatever is pending (with `biased;` the inbox is polled first, so a tick
winning means nothing admissible was queued).

The regex that converted the tracing lines mis-assigned two classes: the
"stream ended" error carried `resubscribed`, the "rejoin page failed" warning
carried `raw_event`, and the real resubscribed/raw_event sites were left as
bare tracing. Fixed by hand; `stream_ended` and `rejoin_page_failed` are their
own classes now.

Each catch-up tick also probes the rooms it paged and the ones whose page held
no conversation (`persona.inbound.catch_up_rooms`) — the run room missing from
that list is the difference between "the catch-up works" and "she cannot hear
the room she works in".

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): the store-backed catch-up pages the core's own chat store, deduped by line fingerprint

`persona.inbound.catch_up_rooms` (961e274) answered the night's question in
one line: every citizen pages the run room, and on a fresh boot its daemon page
came back EMPTY — the daemon serves the page from a ring the busiest room
floods with board System events, none of which pass the conversation-kind
filter — while quieter rooms returned lines. The core's own chat store
(`chat/poll`, the digest's history top-up and what the humans read) holds the
whole conversation, with row ids equal to the airc event ids. The catch-up now
pages that store (`durable_history::room_rows`) and admits each row as a
Message event; a (peer, text) fingerprint ring keeps a line that arrives live
under the say's event id and durably under the sender's message id one turn.

Verified before this change, on 961e274: an operator line six minutes after
boot admitted by all 12 citizens (first at +8 s, 8 within a minute), one yield
each, lanes flowing — the deaf-citizens arc closes; this commit removes the
last dependence on the daemon's ring.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(chat): chat/history reads the chat store — the same durable page the citizens' catch-up reads

It asked the daemon for the newest N events of ALL kinds on the channel and
kept the conversation-shaped ones; a busy run room answered 2 rows for
limit 40 because the daemon's window is a ring the board's System events
flood. The core's chat store has been the projection of the wire since
`airc.chat.projected` (chat lines, 💭 intents, ⚙ receipts, under their event
ids), so the verb's founding premise — "citizens' speech never touches
chat_messages" — no longer holds. One durable page for humans and citizens
(`durable_history::room_rows`); the two can never disagree.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(persona): her own last thoughts lead every work turn — resume, never re-orient

Measured on the working round after fourteen hours: twelve held checkouts, zero
diffs; in one hour 48 acts, one write, 46 "no deliverable yet". Freya's own
lines show why: at 11:01 she had the bug located ("lines 107-152, I can see it
clearly"), and the next work turn at 11:16 opened with "let me recall what I
know" — every turn re-oriented from the room and the diagnosis died between
turns. The work turn's burst now leads with her own newest 💭 lines on this
work (paged from the durable chat store, oldest first, clipped), under "resume
from them; do not re-orient". Her words, unedited: state, not steering.
Probe `persona.work.last_state` counts what she was handed.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(work): state and release follow the card to its room, as claim already does

`work/state` and `work/release` refused a card outside the caller's current
room ("switch to the card's room before mutating it") while `work/claim` had
learned to follow the card's room and retry. Measured 2026-09-04: the operator
could not reopen a paused round's ten held cards from `general`, so twelve
citizens at WIP=1 could not pull the freshly dispatched team round. One helper
(`follow_card_room`) now serves all three verbs: accept-or-redirect, never
refuse-and-instruct.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(bench): the first reconciler rule — every live citizen is seated in every working round's room, on every resume pass

Measured 2026-09-04: a team round dispatched at 11:40 had ONE member thirty
minutes later. Dispatch seats the roster once; the reboot dropped the runtime
joins; the resume module's residency park asked only "does any resident
exist?", said yes, and moved on. Ten citizens held nothing (their old cards
freed), pulled nothing, and produced six acts in half an hour — the exact
"falls apart at the seam without intervention" shape.

`reseat_working_rounds` runs on every resume pass (fast and slow watch):
for each working citizen-driven round, each live citizen not yet a member of
its run room is joined; members are left alone (no epoch bump). It repairs the
world (membership), never the mind — a seated citizen perceives the board and
doctrine and pulls or not as she chooses. Probe: `bench.round.reseated`.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(bench): WIP = lanes — the roster holds no more cards than the server has lanes

Twelve citizens on five lanes gave each about two model calls an hour: on a
fully claimed team round, 23 lane grants, 19 acts and 0 writes in 55 minutes.
A card only progresses while its holder can decode, so the pull now defers
when the number of claimed/in-progress cards across working citizen-driven
rounds already equals the served lane count. Cards in review are not counted:
the slot their owner held is what lets a peer pull the review card. Nobody is
told what to do; the world simply has no free slot, and the rest stay resident
and take reviews as they open. Probe `bench.round.pull_deferred_wip` (1/50).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(cognition): a spoken plan does not settle a workspace turn — three in a row do; the act-budget fact stops printing usize::MAX

Measured on the team round (12 held cards, 70 min): 29 acts, 0 writes. Each
work turn was one act and a spoken plan ("let me explore the checkout"); the
second plan in a row ended the turn, and the next turn re-oriented. A
workspace-deliverable turn that speaks without having changed a file is now
re-perceived up to three consecutive times (the fact names the count, so pacing
stays hers); an act resets the count; the stuck detector still bounds the turn.
Also: with an unbounded live budget the turn-start fact read "grants me
18446744073709551615 act→observe cycles" — it now says the truth: no fixed
budget, act until you settle.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(work): a by-id mutation finds a bench card's room through the round tracker, not only the caller's subscriptions

`follow_card_room` looked for the card on the boards of rooms the CALLER
subscribes to; from `general`, the operator's `work/state` on a fresh team
round's cards found nothing to follow and was refused. A bench card names its
run room in the round tracker, node-wide — that is the fallback now, so any
operator verb reaches any round's card from anywhere.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* test(cognition): the zero-change speak test follows the narration budget

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(bench): the lane cap counts in-flight cards from the BOARD, and a pull waits for its claim to land

The first cut of WIP = lanes counted owners from the round tracker's own
column, which lags the board and read zero, so the cap never held: seven
reopened cards were re-pulled within seconds, two apiece by two citizens.
In-flight is now dispatched − settled − open-on-the-board per working
citizen round she is resident in (the same board read the pull itself uses),
and a citizen's next pull is admitted only 120 s after her last, so an
eventually-consistent claim cannot be doubled.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* refactor(persona): the pull policy lives in persona/work_pull.rs (pure code motion)

WIP=1, the settle window, WIP=lanes (board-true), residency, the claim — one
policy, one 165-line file, out of the 5,300-line service loop it was edited in
four times today.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* refactor(persona): the work-turn text builders live in persona/work_burst.rs (pure code motion)

held_work_burst, own_recent_thoughts, work_board_anchor — pure text, no I/O — out of the service loop (5,324 → 4,995 lines today).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(bench): the resume watchdog re-fires detached rounds only — a citizen round's cards are pulled, never pushed

next_unworked_per_round fed the boot/slow-watch re-fire for every working round, so a citizen-driven round could get a detached solve pushed onto a card the residents were meant to pull (plan S4: re-fire is the detached driver's compensation only).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(bench): an open card has no owner — the label is a claim attribute

The board keeps the last holder's id on a card set back to open; the academy board and the operator both counted 12 in hands with 5 held.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(bench): the citizen card body says where her hands stand and that nothing starts by itself

The kickoff template still promised "your scored solve starts automatically" (the detached era) and named the checkout workspace-relative while her hands stand inside it.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): a claim stays held while she works — the pulse counts self-cycles, renewals run every 5 min, and a lapsed own hold is re-claimed

Measured on the team round: 32 pulls and 32 re-stagings for 12 cards in 15
minutes, holders rotating, two citizens on two cards. The claim-renewal pump
denied renewals when no cognition pulse was seen within a lease, and the pulse
was stamped only on message turns — a holder working her card for thirty
minutes without a room message read as idle, her hold lapsed, the roster (live
claims only) stopped renewing it, she read as free and pulled another card,
and someone else pulled hers and re-staged the checkout.

Now a self-cycle stamps the pulse (it IS cognition), the pump renews every
DEFAULT_CLAIM_TTL_MS / 6, and before renewing it re-claims her own lapsed
holds that nobody else has taken (`persona.claim.recovered`).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(bench): a run counts for a card only if it is newer than the round

Run facts are keyed by instance, so a fresh card inherited an older round's run on the same instance and read resolved before anyone touched it. The tracker records when a round opened; enrichment floors run matching on it.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* test(bench): round literals carry opened_at_ms

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): a lapsed hold is recovered only when she holds nothing else — WIP=1 survives the recovery

The recovery re-claimed a citizen's lapsed card after she had already pulled a fresh one, leaving her on two.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* docs(architecture): the activity reconciler — startup and resume without a hand

Joel's question (2026-09-05): what is missing from our designs, without losing organic behaviour. The diagnosis (no owner for an activity's consistency), the seven rules in build order with what shipped for each, the concurrency the reconciler enforces (WIP = lanes, one measured round), and the numbers that verify it.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(persona): idle citizens yield the lanes to the holders, and the resume block is scoped to her held card

With 8 holders on 5 lanes, idle self-ticks took nondirected lane permits while holders waited (a holder saw two work turns in forty minutes): when the pull is deferred by WIP = lanes, the self-cycle takes no lane. And after a reopen churn a holder's newest thoughts were about ANOTHER card, so every turn opened with "my context is confused": the resume block prefers her thoughts that name the held card.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(cognition): where her hands stand is one truth — receipts carry it, the map renders it, a switch retires the other card's traces

Glass-boxed on the team round: a holder's working memory carried four traces from a previous card and her workspace map said the checkout sat under swe/ while her shell stood inside it; every work turn opened with "my context is confused" and an ls. The rooting seam now registers the acting root process-wide: receipts are stamped with it and only same-root receipts are perceived; the workspace map renders that root; the restore clears it.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(bench): a settle in a citizen round never pushes a detached solve onto the next card

The grade-on-done follow-on fired dispatch_staged_swe_solve for the round's next unworked card regardless of driver; in a citizen round that collides with WIP = lanes and takes the card off the deck the residents pull from. The follow-on is the detached driver's motion only.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(persona): a citizen holding a card lives at that repo in every turn, and the map re-renders on a root change

Freya edited a file during a room turn with her hands at home — her home is a
copy of the continuum repo, so the edit landed there, never in her card's
checkout. A room turn now roots her hands at her held card's staged checkout
exactly as the work turn does (and restores after). And the workspace map's
cache was invalidated only by mutating commands, so a root change kept
rendering her home while her shell stood inside the checkout: the acting-root
registry now marks the persona's map dirty on every root change.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(persona): a lapsed hold on a paused round is not recovered

The board keeps the last owner on a card set back to open, so the recovery re-claimed ten citizens' old cards on a PAUSED round the moment their leases had lapsed — and WIP=1 blocked them from the working team round again. A recovery now asks the round tracker whether the card's round is still working.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* test(cognition): working-memory entry literals carry scope; RoundSnapshot binding regenerated

CI failed on the PR with E0063 missing field scope in the perception tests' WmEntry literals — patched locally but never committed.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* probe(workspace): the map names the root it rendered from, and the root registry names what it recorded

Post-deploy traces still showed her home as the map root during work turns; these two probes make the seam readable instead of guessed.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* perf(cognition): a work turn offers her hands, not the whole registry

Measured 2026-09-05 on the team round: each model call prefilled 13k–26k tokens with zero KV reuse; 37 tool schemas were 8.5k of a ~22k-token prompt. A workspace-deliverable turn now carries the code/work/git/cargo/tool/commands slice only — the discovery pair keeps everything else one call away.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* perf(cognition): a work turn offers her hands, not the whole registry

Measured 2026-09-05 on the team round: each model call prefilled 13k–26k tokens with zero KV reuse; 37 tool schemas were 8.5k of a ~22k-token prompt. A workspace-deliverable turn now carries the code/work/git/cargo/tool/commands slice only — the discovery pair keeps everything else one call away.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(ci+persona): the four crate-wide guards; a held card roots her hands every turn without trusting the registry; a failed edit is not a write

Guards: the dead quiet-window constant is gone, serving/cache-probe joins the serving-surface list, persona/vitals takes a typed id, today's lock/default unwraps carry their reasons.

Rooting: Freya's correct repo-relative code/edit for django-16527 answered "File not found … did you mean swe/…" — her hands stood at home in a room turn because the registry still recorded a checkout (a failed restore left it) and the shortcut trusted it. Rooting now runs every turn she holds a card, and the restore forgets the root BEFORE moving. The act receipt counts a mutating verb as a write only when it executed.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* perf(cognition): a work turn perceives a compact past — newest three acts in full, older ones collapsed, and only her own cards on the board

Measured 2026-09-05: the working-memory block was 14–23 KB and the 12-card kanban 3.7k tokens of every ~22k-token act, with zero KV reuse. In a work turn (hands rooted at a card) working memory keeps the newest three reasonings/receipts with a 1,500-char head and collapses the rest to one count line; the board source delivers her held cards only — the open deck is for pulling, and a holder does not pull.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant