Skip to content

feat: K3 tier policy seam + capacity tiering + social card + nav groundwork (29 commits) - #2061

Merged
joelteply merged 30 commits into
canaryfrom
feat/avatar-native-plane-convergence
Jul 31, 2026
Merged

joelteply merged 30 commits into
canaryfrom
feat/avatar-native-plane-convergence

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

The always-be-merging catch-up: everything validated on feat/avatar-native-plane-convergence since the last sync, merged with canary's durable-wake-hydration (conflict resolved keeping the #259 turns-that-fit budget-derived grounding, which supersedes the plain recipe-floor path).

Highlights:

Held back intentionally (follow-up commit on this branch once airc #1304 merges): the airc pin bump to canary + the #241 nav registry seed — both continuum canary and this branch currently require the peer-id mint that only exists on airc's unmerged branch; #1304 relands it on airc canary, then ONE pin bump gets ListRooms + mint together.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

joelteply and others added 30 commits July 30, 2026 14:07
…oot (#265)

Reboot wipes the in-process repetition-fact rings exactly when they're most
needed: the post-boot wake round, where every persona re-emits its greeting
2+ times with own_repetition/[settled] blind (observed live 2026-07-30,
three times — Anwen's third verbatim greeting landed while this fix's test
compiled). The durable transcript (#140) already holds the history; the
persist listener now replays the latest 200 lines into the per-room and
per-sender rings before consuming live events, with a bounded wait on the
executor slot (the #201 ordering race) and a speech.rings.hydrated probe.

Test: hydrate_speech_rings_seeds_room_and_own_rings_from_durable_store —
fresh UUIDs per run so the process-global rings stay isolated under
full-suite parallelism (the #7 lesson).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…pt (#249) — kills the greeting chorus

Post-reboot each persona's airc runtime log holds only events since ITS boot,
and #242's cursors rightly never replay — so every mind's visible conversation
collapsed to ONE message and the room devolved into a greeting chorus, each
persona mirroring the only utterance it could see (glass-boxed live 2026-07-30:
Atlas's 5352-token prompt carried '[context] you can currently see the last 1
message').

Fix: when the live window is shallower than the grounding target,
AircRagSource tops up from the durable chat store (#140) via a new
DurableRoomHistory trait (ChatStoreHistory rides the same chat/poll command as
every other consumer — one read path). Hydrated lines enter at lamport 0:
structurally grounding-only, never unread — history is context, never fresh
perception (#242 intact). Dedup by content through the one room-turn decoder
(event ids re-mint across runtime restarts). Loud degrade on store
unavailability; airc_rag.hydrated {live,hydrated} probe per top-up.

Mind-side sibling of #265 (speech rings) — one durable transcript, every
consumer hydrates from it. Test pins the live scenario: 1 live event + durable
tail -> merged window, dupes collapse, history precedes the live tail.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ish (cherry-pick 1225f2e) — union with the availability pump

Her fix (grid-personas branch): the identity card emit at attach is one-shot,
so any peer joining LATER renders peer-<uuid> + default glyph forever; a 60s
republish grounds late arrivals within a heartbeat window. My branch had the
newer availability-aware heartbeat (#260) in the same struct — kept mine,
added hers: honest availability AND late-joiner identity, strictly better
than either alone. This is the cross-node convergence half of #262 running
on BOTH nodes once merged.

Original-Author: BigMama lane (1225f2e)
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…o the ExpertFetch contract

Independent working engine (WASTE, 0.32-0.36 tok/s full K3 on a laptop) confirms
the architecture both lanes converged on AND names the missing 50x: 4KiB-aligned
per-expert records with gate/up/down adjacent = one pread at drive speed, vs raw
GGUF's 32-byte-aligned scatter at 200MB/s. Contract now requires the aligned
streaming container (a FOUNDRY output — layout for streaming, not just shrink),
LFRU eviction, and pins the reuse baseline: ~13% at K3 sparsity, exactly-0 is
always a bug. Task #268 tracks the foundry re-pack stage.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…he container port (#268)

Transport-proof copy of what I mined from sqliteai/waste for BigMama's lane:
byte-exact ExpertRec, single (layer,expert) key, LFRU-vs-LRU numbers, the
16KiB dual-purpose alignment, the Gate-5 working-set CLIFF that explained
her exactly-0 retention, and the measured death of non-uniform bits.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ion (#269, M5 lane deliverable 1)

WASTE ecache semantics ported: single (layer,expert) key with gate/up/down
bundled, LFRU with sampled victims (their Gate 2: LRU collapses to 5% where
LFRU holds 29%), and the budget as a FUNCTION — EcacheBudget::derive refuses
loudly below one token's working set (their Gate 5 cliff: hit rate is exactly
0 below it; two nodes spent days debugging that silence as a keying bug).
Four invariant tests green: cliff-refusal (600MB records fail at 8GB, VQ3
records pass — the container IS the fix), reuse-above-cliff, LFRU>LRU under
a one-shot tail, packed-key stability.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… planner (#269 slice 2)

The 2026-07-30 audit finding, now fixed and pinned: capacities fed to the
planner are LIVE free-byte readings that exclude bytes already-promoted
experts hold, so every re-plan under unchanged demand under-counted each
tier by its own resident set — slow thrash-to-cold. New
plan_expert_residency_with_resident adds resident bytes back (from the
pager's ledger, never the OS), making unchanged demand a FIXED POINT.
Plus a loud expert_pager.below_cliff probe (WASTE Gate 5 arithmetic via
EcacheBudget): fast tiers below one token's working set = structurally
zero reuse — 'shrink records (#268), don't debug cache logic'. The
activated_per_token input is an ARCH-PROFILE fact passed explicitly,
never inferred from partial hit ledgers.

Test proves all three: naive re-plan shrinks (bug real), add-back re-plan
is byte-identical (fixed point), nothing demotes under unchanged demand.

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

Two repairs to the red-shipped commit: (1) probe read a renamed binding;
(2) add-back over-credited by applying AFTER the 0.80 serving fraction —
budget must be frac x (free + resident), not frac x free + resident (the
fixed-point test caught the hot set growing by one). 3/3 pager tests green.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Read-side of the WASTE-shaped streaming container (docs/reference/WASTE-EXTRACT.md):
manifest.json is the versioned seam contract (record_bytes must be 4KiB-aligned,
activated_per_token feeds the cliff arithmetic), experts-L{n}.bin banks open lazily
(a grid node holding 2 of 60 shards must not stat the other 58), fetch = ONE
positioned read + an 8-byte header identity check so a drifted offset table is an
ERROR, never a silently-wrong expert (the reuse=0 bug shape). 4 invariant tests:
round-trip every (layer,expert), geometry refusals, identity mismatch, version gate.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… pass = zero disk reads

The #268/#269 halves proven to compose: above-cliff budget + recurring working
set means the second pass is served entirely from cache. Reuse > 0 is now a
pinned invariant, not an assumption.

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

WASTE's usage.waste analog, pure: usage() snapshots (key, hits) hottest-first;
warm() pre-admits into empty slots only, with last=0 so live-proven residents
always beat warm guesses on recency tiebreaks. Test pins first-pass-all-hits
after warm plus budget-truncation (never overfills, never evicts).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… world view (#259)

Glass-boxed live 2026-07-30 (Joel's call: 'her RAG cannot be telling her the
chat properly'): Asha's captures showed '[context] you can currently see the
last 3 messages' while her L1 budget could hold dozens — the grounding=5
count pre-trim starved pack_digest, whose token walk is the REAL allocator.
Two allocators, the dumber one binding: a compression-principle violation.
Starved of the actual conversation, a capable 24B looped generic-assistant
filler for an hour.

Fix: grounding derives from the delivery budget (budget / 8-token physical
per-turn floor, recipe floor .. 256), so the token budget — never a message
count — decides what she sees. Durable top-up (#249) scales with it. The
region's pre-staged digest is reused only when it covers the budget-derived
window; an under-grounded stage is rebuilt wide. Regression test pins: fully
caught-up persona + 4k budget = all 20 turns visible, not 5.

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

The layout authority BigMama's GgufRvqSource is gated on: 32-byte LE header
with field offsets, fmt enum values VQ3R=4/VQ2R=5 (NOT 0/1 — the guessable
trap), offs relative to record start, zero-pad tail, no header CRC.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…anifest v1 + optional top_k_per_layer

Seam sync with the foundry before her first v1 emit: per-layer top-k here
would under-state the cliff ~60x (8 vs ~488 on K3) and re-open the reuse=0
trap. top_k_per_layer is the auditable companion (serde-default optional).

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

The foundry's RVQ-encoder gate: 16-byte WCBK header + 256x8 FP16 data =
4112B fixed records sequential by cid; cid = cb_base + kind*stages + stage;
packer produces it (k-means artifact). Plus per-channel FP16 corrections
layout + scale formula. Mined from the producer code, not guessed — the
fmt-0/1-vs-4/5 lesson applied.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…is not a pass (#271)

Glass-boxed live: models narrate their silence ('I'll pass my turn', 'I'll
pass for now...') as Speak, and each announcement re-wakes every peer into
announcing THEIR pass — a 30+ minute cascade of pure filler. Meet the idiom
(same family as the narrated tool-call formats): first-person turn-passing
collocations lift to Decision::Pass. Fail-open guards: transitive/declining/
peer-advice uses never match; code fences and >500-char messages stay Speak
(swallowing substance is the worse error). Tests pin 6 verbatim live idioms
silent + 6 substantive shapes speaking.

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

Forward-tolerance for the airc #270 membership-visibility format; the airc
side also restored the stable 'room:' label, so both binary generations
parse against both output shapes.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
A daemon-mid-start race (or output drift) made the awk derive '' and the
script exported it — the core then rejected the env var as an invalid UUID
instead of running its own discovery, refusing full-citizen boot. Leave
unset on miss, warn loudly; the core's discovery is the fallback authority.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…the GGUF, never typed (#231)

The adapter Joel's law demands ('if some random Mistral MoE or DeepSeek
comes out, most of the code should be ready'): general.architecture keys
the arch-templated GGUF convention ({arch}.expert_count, .expert_used_count,
.block_count, .leading_dense_block_count, .expert_shared_count — two new
readers in the ONE gguf_keys home), and the profile DERIVES the cliff input
activated_per_token = top_k x n_moe_layers plus projects the container
manifest, so hand-typing 488 is structurally impossible. Zero model-family
knowledge: outlier A (Qwen3-MoE shape, all-routed, optional keys absent =
the arch's own declaration) and outlier B (DeepSeek shape, dense leads +
shared experts) profile through IDENTICAL code — tests pin both plus the
refusal ladder (dense=NotMoe, missing key=refuse, inconsistent=refuse,
no guessed defaults anywhere).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ckend contract (#268 kernels)

The 1-10 tok/s lane's drift killer: BOTH GPU kernels (her CUDA, my Metal)
validate against ONE backend-neutral Rust reference, mined verbatim from
upstream convert.py — per-channel scale applied pre-quant, residual stages,
decode = scale x SUM(stage codebook rows); blocked index layout
[M/64][nvr][64][stages] (their measured 1.44x gather win) with the offset
formula in ONE function and the byte order pinned as a golden literal.
Padding path exercised; f16 LE conversion point pinned. A kernel is correct
when it reproduces the goldens exactly — no more fmt-4/5-class surprises.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ntry point (#231)

Cliff input flows GGUF -> MoeArchProfile -> budget; no caller types an
activation count. Closes the read-and-derive chain from artifact to cache.

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

In-tree home of the scratchpad NVMe measurement behind the K3 ceiling
numbers (M5: 14 GB/s @ depth 4 => 2.3-4.7 tok/s vs WASTE 0.32). Benchmark
infra is COMMANDS with receipts, never bash: every grid node can now report
sustained record-sized uncached random-read GB/s at several depths, which
is the input the weighted layer-split planner (#180) needs per node.
Adapter law: record_bytes is an INPUT from the container manifest; the
probe characterizes the disk, no model constant lives here. Cache-defeat
on the write fd (the 69-GB/s RAM-not-SSD trap, glass-boxed), bank deleted
after, Privileged access (disk-saturating), stateless registration.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…folds are still circling (#264)

The structure axis the repetition family was blind to, glass-boxed live
2026-07-31: personas cycled 'I see that I've been repeating… ### New
Exploration Area: <topic>' for HOURS with the topic rotating (security →
docs → UI/UX → maintenance). Full-body Jaccard drops under NEAR_DUP_JACCARD
the moment the content words swap, so own_repetition never fired — worse,
each turn ACKNOWLEDGED repetition (the body fact had fired earlier) and then
treated the topic swap as 'genuinely new', which no perception contradicted.

template_loop_fact: a message's skeleton = its line-shape sequence
(heading/numbered/bullet/prose) + opening-frame token set; only messages
with ≥4 structural lines qualify (plain prose stays own_repetition's turf).
Two messages share a template when shapes are equal OR openers are
near-identical; cluster-counted like the sibling (period-agnostic), fires
at ≥3. Pure fact, no output gate: names what happened and the PASS
affordance she already has — with the narrated-pass lift (#271) landed,
choosing silence now actually sticks, so an idle room can finally rest.

One impl + one registry row (TemplateLoop, between OwnRepetition and
PeerEcho); test pins the live specimen trio plus three inert cases.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…to stop (#264 glass-box)

Joel asked to glass-box why a persona ACKNOWLEDGED the new [template-loop]
fact and kept looping. Her prompt told the whole story: the fact rendered
mid-prompt, but the TRAILING working-memory block — the maximum-recency
position — carried two full verbatim copies of her looped template as
receipts, each prefixed '[settled] I answered: <template>'. Two structural
bugs, both fixed at the shared source:

1. Reserved-vocabulary collision: '[settled]' is the inbound-restates
   fact's word ('this TOPIC is settled; PASS is normal'), while WM used the
   same token for turn-completion receipts — so her tail literally read as
   'it is settled that this is how I answer here'. WM_SETTLEMENT_PREFIX is
   now '[answered]' (one token, one meaning); all readers go through the
   const, so the repeat-perception boundary scans are untouched.

2. The trail rendered every receipt verbatim — a looping persona got an
   N-shot demonstration of the exact behavior the repetition facts (earlier
   in the prompt) named. Recency wins; she complied with the demonstration,
   not the fact. render_trail now collapses a receipt that is near-identical
   to an EARLIER receipt into a one-line stub ('not re-shown'), using the
   same near_identical_substantial geometry as the detectors — one
   definition of repeat. Comparing only against earlier receipts keeps every
   line's rendering stable after first appearance, preserving the
   append-only KV-cache property (#205/#266).

Regression test pins the live specimen shape: dup receipt collapses, first
copy stays full, distinct answers and action traces render untouched.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…st not parse as a peer's message (#264 third glass-box finding)

Asha, with BOTH repetition facts in-prompt and the receipt collapse live,
still looped — and her opening line told us why: 'Thank you for the summary
of recent actions and thoughts.' The WM block rides a user-role turn and its
header was second person ('Your recent thoughts and actions…'), so Devstral
parsed her own interior state as a PEER addressing her and politely replied
to it, turn after turn — the reply itself being the templated summary the
detectors keep flagging. The entries were already first person; only the
header spoke in another's voice. It now reads 'My own recent thoughts and
actions (working memory — this is my interior state, not a message from
anyone)'. Self-knowledge is never phrased as someone else talking.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…he read side of moec_pack_dir_tiered (#269/#268)

The reader half of the tier contract locked with the foundry 2026-07-31
(her packer round-trips 82/82 on the write side; our specs crossed mid-wire
and matched line-for-line). TierSpec {id, quant, record_bytes} descending
fidelity; banks experts-L{n}-T{t}.bin at offset expert_id x record_bytes;
fetch_tier(key, tier, buf) is pure mechanism — the pager's policy seam
(importance x recency x quant-sensitivity -> tier/residency/prefetch, Joel's
all-star/cruft control law) decides WHICH tier, never the container.

v1 stays the degenerate case by construction: a manifest without tiers[]
synthesizes one tier from the top-level record_bytes and keeps legacy
experts-L{n}.bin names — version picks the naming, no heuristics. The
alignment law holds per tier; tier ids must equal their index (order drift
between writer and reader refuses at open); out-of-range tiers refuse.

Tests mirror the packer's round-trip: every (layer, expert, tier) reads
back its own header + tier-distinguishable payload; v1-without-tiers-field
parses and serves via the tier-less fetch(); range/order violations refuse.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ache + ExpertFetcher adapter seam (#269)

Three moves that make the all-star/cruft allocator implementable as pure
policy over pure mechanism:

1. ExpertKey gains tier — ONE identity from the pager's policy seam through
   the cache to the bank. A sharp and a cruft copy of the same expert are
   different bytes and never alias; promotion admits the sharp copy and the
   cruft copy ages out naturally. packed() widens to u64. The container's
   fetch(key, buf) honors key.tier (the redundant fetch_tier param died —
   compression).

2. The ecache goes BYTE-accounted (touch_sized): per-record real bytes
   against the governor-granted max_bytes, so cruft records pack denser
   than the sharp slot count implies, and an oversized admit evicts as many
   residents as its bytes require (regression pins the two-eviction case).
   Slot count stays as the secondary bound; warm-start accounts at the
   sharp size (a warm guess never over-fills). resident_bytes() is the
   number the footprint reporter reconciles against the lease.

3. ExpertFetcher adapter trait — the fetch seam adapterized (Joel's
   directive): outlier A is the local NVMe container; outlier B (remote
   peer shard over the grid) and the blended layer-split fetcher slot in
   behind the same two methods without the pager learning a second shape.

89/89 capacity tests green (round-trips, cliff, tier-mix packing, refusals,
v1 back-compat). BigMama's TieredContainerFetcher (85/85, k3-adopt) is the
same envelope from her side — the tier contract now has writer+reader on
BOTH nodes.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ocator v1 (#273)

The last mechanism→policy gap to the K3 targets (5/1/10 tok/s). TierPolicy is
the seam locked with BigMama's EXPERT-PAGING-CONTROL-LAW.md: policy(importance,
recency, quant_sensitivity, budgets) → {tier, residency, prefetch}, so the v1
classic-control heuristic and the sim-trained ML policy (v2) swap behind one
signature.

ClassicTierPolicy, two orthogonal axes:
- Residency (WHERE) rides the existing ranked_experts priority (hits ≫
  predicted ≫ gate seed) with FIRST-FIT byte fill per residency tier —
  cheaper records backfill space sharp ones couldn't use, which is exactly
  how cruft tiers multiply cache capacity (pinned by the density test).
- Fidelity (WHICH quant) is earned importance: weighted demand = hits ×
  quant_sensitivity (Option until her trace sensor lands; None = frequency-
  only), tier = decades of weighted demand below the live leader — self-
  normalizing, no absolute thresholds.

Control-law overrides: observation window forces tier 0 on new actives
(small-quanting a new active corrupts the importance measurement itself);
speculative-verify divergence promotes via a caller-side step integrator
(self-calibrating, no logit threshold in the policy); unobserved/predicted-
only park cheapest (distortion is free until activation; speculation earns
no fidelity). Zero-signal experts stay Cold — no fetch bandwidth for what
nothing points at.

Wire-through: assignment.tier IS ExpertKey.tier (fetch_key refuses u16
overflow, never truncates); planned_bytes per residency tier is the governor-
lease reconciliation number against the ecache's resident_bytes(). The #269
fixed-point contract extends to tiers: unchanged demand + resident add-back
⇒ byte-identical plan (test proves the thrash without add-back too).

ranked_experts goes pub(crate) — one ranking authority, no consumer re-derives.

9 new tests, 98/98 capacity green.

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

The repo's share card rendered as a washed-out white rectangle (the logo PNG
is transparent, so GitHub composed cyan rings onto white at crop scale —
live-spotted on X 2026-07-31). This is a purpose-built 1280x640 card: dark
blue-biased ground, the ring mark with its own bloom, wordmark + 'AI
citizens, not AI agents.' + the README tagline. Upload target: repo Settings
→ Social preview (GitHub has no API for it).

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

# Conflicts:
#	core/continuum-core/src/persona/airc_source.rs
@joelteply
joelteply merged commit 7bd04ae into canary Jul 31, 2026
4 checks passed
@joelteply
joelteply deleted the feat/avatar-native-plane-convergence branch July 31, 2026 22:25
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