Repository navigation
Acquire source weights, and make the CLI launchable for people who are not us - #2161
Merged
Merged
Conversation
…nto canary Advances the vendored llama.cpp fork 30 commits (clean FF over canary's stale 66594cc3f): container-serve resident-override (LLAMA_RESIDENT_OVERRIDE), the rung-2 ResidencyCache plan-file consumer, the score-hint/generation-bias actuator, PagerCaptureEvent emit, fit-device --reserve-gb. Makes canary USE the K3 misfit-serving stack (measured 0.33 tok/s WASTE-parity on a 32GB card). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…M5's replay
Live GGML_MOE_TRACE_FILE slice (12B records: u64 tkey + u32 e) + the reverse
table so BanditPlanController recovers (layer,expert): tkey=FNV-1a of
blk.{layer}.ffn_{gate,up,down}_exps.weight, e=within-layer expert idx, expert
identity=(layer,e) deduped across the 3 matrices. RUN-1 static-pin datum input.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
The actual std-only Rust prototypes written against live K3 traces this session: trace_replay (recency beats LFU 3-4x), predictor (offline learned-decay +5pts held-out), online_predictor (bandit 49.8 vs 47.8 best-fixed on non-stationary), self_optimize (joint speed×quality). These are the faithful-port source for the learned policy behind TierPolicy (continuum-core expert_tier_policy.rs, #276). Numbers are properties of these exact constants + reward math — reproduce before improving. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
The major GPU speedup: promote hot experts to persistent VRAM so decode's hot path is GPU-native (zero fetch, zero copy). 3 increments (copy-skip -> VRAM hot cache -> pipeline), the 32GB rate-distortion constraint (imatrix-enabled resident shrink frees VRAM for the hot set), measured per-increment via k3-bench. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…vs 2 Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…DeviceUploadFetcher Mechanism is the existing (buft,fetcher)-generic ResidencyCache; a VRAM cache = same class + device buft + host->device fetcher. 3 small parameterized pieces (DeviceUploadFetcher, instantiate w/ GGML_MOE_VRAM_CACHE_GB, seam hook). Stats only tune params -> zero mechanism rework. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…rnor seam) Diagnoses the hardcoded-cache overcommit that collapsed K3 fetch bandwidth (40GB pinned + mmap = 95.9GB on 63GB -> pagefile thrash -> 205 MB/s -> 0.027 tok/s) and lays out the clean architecture: governor owns the residency budget net of the model's mmap footprint, plan-file is the one wire, ResidencyCache is pure mechanism. Governor-interface sections marked [M5 OWNS] for her to edit. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…f-mmap is explicit arithmetic; plan_file.budget_bytes is the lease wire) Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…path Records the BigMama measurements feeding M5's #287 derivation (non-cache ~56GB, per-token working set 5.5GB, governed budget ~6GB, fetch recovers to 2.5GB/s at fit), the now-complete C++ cache mechanism (enable-from-plan, grow, shrink), and the three-piece graduated path to serving/load kimi-k3 (catalog row + serving-lane MoE launch + #287) replacing the rigged .bat. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
start-server.sh now provisions the full Windows CUDA build env before the cargo builds (the cargo/nvcc path had none, unlike the vcvars-wrapped llama cmake): import MSVC via vswhere->VS2022-14.4x + a .bat env dump (cl.exe for nvcc), pin CMAKE to the manifest install, force CMAKE_GENERATOR=Ninja (the VS18-2026 auto- pick is undefined in cmake 3.30), add the Windows SDK bin (mt.exe/rc.exe), select a complete CUDA toolkit + CUDA_PATH (a provisioning split left cuda-env with 0 import libs vs cuda-13.2's 12), and RUSTFLAGS -L for pocket-tts (which emits no link-search) while re-carrying +crt-static so the /MT GPU stack still links. Portability: expert_container.rs + commands/capacity.rs used Unix-only std::os::unix::fs::FileExt::read_exact_at. Add crate::platform_io::pread_exact (unix read_exact_at / windows seek_read loop) - one place for positioned reads. Build validated (npm start exit 0, continuum-core lib clean). A separate runtime hot-loop on the #2088 core at startup is tracked apart from this build fix. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
Pure calc the governor uses to fit a streaming-MoE's RESIDENT (non-expert) tier to a device VRAM budget and reconcile it with the expert tier on ONE budget — fixing the double-count where the expert pager was handed the full VRAM ceiling while resident silently ate most of it. Partition (in order): compute reserve -> resident (Native | device-fit Override | Unfittable) -> sufficient-context KV -> everything left = hot-expert VRAM budget (maximized: more on-GPU experts, fewer streams). Context is derived + clamped, never hand-picked. Artifact resolver injected (no hardcoded paths). Standalone-validated 7/7; M5 wires it into the daemon spawn path + launch (ServingTarget.resident_override) per the K3 sprint split. Refs #29 #31 #36. Arch-confirmed on real K3 UD-IQ2 (93 blk/896 exp/top-16). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
Wire foundation for the governor's device_fit plan: ServingTarget carries resident_override: Option<PathBuf>, and the launcher exports it as LLAMA_RESIDENT_OVERRIDE so llama.cpp sources the precision-shrunk RESIDENT (non-expert) tensors from the device-fit GGUF (all offloaded to GPU) while the primary streams experts. All builders updated; defaults None (resident serves as-shipped, no behavior change) until compute_resident_override + the resolve-or-generate resolver (#35) land next. In-crate validated. Refs #29 #36. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
M5's per-layer KV accessors (n_head_kv_il + n_embd_head_{k,v}_il, continuum #238)
+ graph reconciliation. The K3 engine now builds against these — enables the
device_fit resident-override serve + honest per-layer K3 KV sizing.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
# Conflicts: # tools/scripts/start-server.sh
The governor now DECIDES the resident source per serve: compute_resident_override derives resident_bytes (weights - expert_bytes_total) vs the governed VRAM ceiling via capacity::device_fit, and sets ServingTarget.resident_override. A dense/small model fits native (None); a >VRAM-resident MoE (K3) resolves a cached device-fit override that fits, else Unfittable → route to grid / generate (#35), glass-boxed. resolve_device_fit_override (model_registry::artifacts): looks up a per-user device-fit cache convention (<storage_root>/device-fit/<id>/) + a resident-bytes sidecar; returns the override only when its resident fits the usable budget. No hardcoded paths; generation/HF discovery is #35. The resident-fit decision turns only on resident_bytes vs budget — per-layer KV (#2107 ModelCapabilities) drives the context/expert split elsewhere, so KV is not consulted here. Refs #29 #35 #36. In-crate validated. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…naged like VRAM/RAM Joel: 'like vram and memory, this contention has to be managed between cold storage and nvme.' Design: NVMe is a governed HOT-SERVING tier (a ResourcePool, same TrackedDir + evict_at_least machinery as CargoTargetPool), whose eviction = MIGRATE frozen/duplicate artifacts to the Cold drive, not a manual rm. Serving asks ensure_hot_resident(model); composes with device_fit's Unfittable one tier down (VRAM). Corrects the DriveRole bug: Cold (HDD) is FROZEN storage, never the per-token streaming tier (HDD = unservable). Dissolves today's K3 container disk fight: the C: IQ2 is a verified duplicate of the D: copy -> governor migrates it off NVMe -> container fits, no human deletes anything. Refs #12 #36. Design for M5's system_resources lane. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
… for the storage tier The gate the NVMe serving-tier eviction (#302) consults before dropping a frozen GGUF: is an IDENTICAL twin already on cold storage? is_structural_twin (pure) = same shard count + per-shard name + size, zero-byte shards never match. scan_shards + find_cold_twin are the thin fs layer. Never drop an NVMe artifact without a VERIFIED cold twin (dropping 662GB on a path guess is the failure this guards). Standalone-validated 5/5. Composes with device_fit + M5's NvmeServingTierPool. Refs #12 #36. Design: STORAGE-SERVING-TIER-GOVERNOR.md. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…rve wired Both halves of the DirContainerFetcher wire (BigMama fetcher + moe_pick_fetcher branch 175ac9d6a; M5 caller-side encode + record_bytes reader c6469d5). Serving now reads the aligned per-layer container (GGML_MOE_CONTAINER) instead of the scattered raw GGUF — the honest ~2.6GB/s path. Retires the built-not-wired ContainerFetcher. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
# Conflicts: # core/continuum-core/src/modules/serving_daemon.rs
…coverage measurement Merge fix: vision_sidecar's ServingTarget was missing resident_override (added by #29). Plus a measurement test that drains the real K3 routed-access fixture through the #282 predictive instrument and prints repeat_recall / predicted_delta / schedulable_coverage — the go/no-go for the LiveUploadPager predictive pipeline (H2D/token = (1 - coverage) x ~11GB). Prints, never asserts (real routing sample). NOTE: can't run on windows-msvc (pre-existing cargo-test Unix-socket block, ipc/mod.rs); runs on M5's Mac. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…, --once, --budget-slots) The moe-pager-driver gains an offline replay mode so any completed GGML_MOE_TRACE_FILE can be scored on any box (windows-msvc clean by crate constraint), not just tailed live next to a serve: - --synth-layers N: synthesize the tkey->layer map from layer count alone (TkeyTable::for_layers, the same zero-config seam MoeTraceTail owns) instead of requiring an operator tkey-to-layer-matrix.json. - --once: exit when the trace stops growing (EOF) and print a SUMMARY line with mean DECODE-token serving hit = warm schedulable coverage. - --budget-slots N: override the predictor residency budget (default auto = first token x1.5) to measure the coverage-vs-free-VRAM curve (the device-fit tradeoff). Measured on BigMama run2.trace (302 warm decode tokens): bandit coverage 13.8% @250 slots -> 51.3% @2000 -> 65.7% @4024, beating naive last-N recency by +7-9pts at matched VRAM. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…ver for K3 VDD offline measurement (cooccur-ceiling bin) on the real warm serve trace (run2.trace, 122 held-out decode tokens, 11102 layer-steps): cross_layer_cooccur_hit 0.159 (adjacent-layer noisy-OR) recency_same_layer_hit 0.403 (last token, same layer) structure beyond recency -0.244 cooccur_recall_on_recency_misses 0.112 (11824/106058) Adjacent-layer co-occurrence predicts <half what plain recency does, and recovers only 11% of the experts recency misses (~base rate). K3 expert routing has no exploitable cross-layer structure — the CrossLayerExpert- Predictor prefetch lever is not worth wiring (saves the ggml pass-id capture slice). Recency-family residency (the bandit EMA curve) is THE signal; the only lever that lifts K3 is freeing VRAM (device-fit shrink) so residency coverage can reach the measured 51%. Caveat: adjacent-layer, one workload trace. Wider-predecessor noisy-OR would regress toward the frequency baseline (which underperforms recency), so a large lift is unlikely — but not measured here. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…ache half (#23) Pins the fork at the DeviceUploadFetcher wiring (my half of the LiveUpload- Pager H2D-kill). Off unless GGML_MOE_VRAM_CACHE_GB / plan device_budget_bytes enables it; host serving path byte-for-byte unchanged. M5's expert-loop D2D half lands next on the same seam. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
… + tier manifest (#40) Enables the device-fit division: produce a small resident override per precision tier + a (tier_label, resident_bytes) sidecar the governor reads to co-optimize the VRAM split. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
#3) The second control rung above the pager's DecayBandit. The pager decides WHICH experts stay resident (reward=hit-rate, cheap, online). This decides HOW TO DIVIDE the card — resident (non-expert) weights vs expert cache — to MAXIMIZE tok/s. That reward (actual tok/s) is EXPENSIVE (a serve), so naive online RL flails; the fix is SIM-WARM-START: predict tok/s per division OFFLINE from the measured coverage curve, then a slow bandit refines each arm from real measured tok/s. - CoverageModel: piecewise-linear coverage(slots) over MEASURED points (k3_measured() = the trace-replay curve); saturates, never extrapolates up. - predict_tok_s: coverage -> (1-coverage)*experts/token*expert_bytes H2D -> t_token -> tok/s. Higher coverage -> less H2D -> faster (the load-bearing property, tested). - feasible_divisions: tier catalog (from --resident-only manifests) x HardwareBudget -> cache budget/slots per tier; drops VRAM-overflow tiers. - DivisionBandit: warm_start from the predictor; observe(tier, measured_tok_s) overrides the prior on first serve then EMAs — the expensive reward spent only on the arm actually run. Policy lives here (windows-clean, 4 tests pass); serving_daemon actuates it (M5's #2: discover manifests, feed catalog+budget+live tok/s, apply the chosen {resident_tier, device_budget_bytes} to the plan). Fractal control law: pager (experts<->hit-rate) -> this (VRAM split<->tok/s) -> grid. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…e (clamp to free VRAM + null-buffer guard, #23) Testing convicted the segfault as VRAM oversubscription (K3 33GB resident + env cache on a 32GB card, cudaMalloc lazy-VMM deferred fault). Fix: clamp device budget to measured free VRAM (mine) + M5's D2D null-buffer guard. Device cache now disables safely where there's no room (K3) and works where there is (V4-Flash); can't crash from any budget source. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
Both encode VERBATIM live persona receipts — Asha's bare-args fence and bracket
tag, Atlas's wrong-param bracket tag — and neither was registered. The compiler
said so the entire time:
warning: function `bracket_tag_lifts_and_provenance_markers_stay_inert` is never used
warning: function `bare_args_fence_with_named_tool_lifts_and_coaching_stays_inert` is never used
and the signal was lost among 145 warnings in that build. A test that does not
run is indistinguishable from one that passes, right up until someone asks the
question it was written to answer — which is exactly what happened: M5 asked a
discriminating question about why a citizen's bare `{"card_id": "..."}` fence
did not lift, and the test that answers it was dead.
Both PASS once registered (56 → 58 in this module), so the behaviour did not
regress while unguarded. The value recovered is the GUARD, not a fix.
What the live test now pins, and why it must not be loosened: a bare-args fence
binds to a BACKTICKED SLASH-NAME in the surrounding narration and to nothing
else. The four negatives are load-bearing — a backticked VALUE with no slash,
and peer coaching that merely SHOWS the shape, must stay inert. Binding
plain-English intent instead ("I will release the card") would also fire on
coaching and hypotheticals, and a fabricated result becomes room truth within
two turns (#144).
Added the `// what this catches:` line both were missing, per the test-curation
bar in CLAUDE.md.
… unguarded
Swept the test build for `function ... is never used` after finding two dead
tests in json_in_prompt_tools.rs. Found two more, both behavioural, both
encoding live persona receipts:
bbcode_call_lifts_and_prose_mentions_stay_inert (Casper's live line)
own_speech_loop_renders_a_repetition_fact (Atlas's live loop)
Unlike the first pair, these did NOT pass on registration. Both had drifted
from the code — which is the whole argument for registering them: an assertion
nobody runs decays silently, and you find out when you need it.
1. BBCode: an UNCLOSED [tool_call] around a well-formed call now LIFTS, where
the test asserted inert. Ran it to find out what actually happens rather
than assuming a bug: it yields name="list_commands", input={} — the right
tool. A later idiom recognises a bare `name()` call when the [tool_call]
intent marker is present, and models routinely drop the terminator.
Refusing would strand a citizen who expressed the call correctly and
fumbled only the closing tag. The code is right; the expectation was stale.
Kept the load-bearing negative — prose mentioning `name()` with NO intent
marker ("I could call list_commands() to see what exists") stays inert. The
marker, not the parens, is what separates intent from musing.
2. Repetition detector: two assertions pinned the FULL fact string, which now
also carries "you're circling … silence (PASS) is the honest response".
That affordance is deliberate — the same test already required it twenty
lines earlier — and matters directly for the PASS cascade personas were
stuck in tonight. Pinning exact prose made the assertion a hostage to
wording. Now asserts the count prefix and the PASS lever: the behaviour,
not the sentence around it.
70 pass in these two modules, 0 fail. Net across both commits: 4 dead tests
recovered, 2 of which were no longer true.
The other five `never used` hits are ordinary dead helpers (get_system_ram,
has_active_slots, json_object_candidates, discover_upper_body_bones,
turn_message_line) — a different concern, not silently-missing coverage.
…as not fixing (#6) The previous commit DETECTED that several CUDA majors were provisioned and told the operator to go check the binary with dumpbin. Honest and useless: it named the hazard and left the next build binding by search order anyway. WHERE THE BUG ACTUALLY LIVED. Not in CUDA_PATH. The manifest's runtime-PATH entries carry a `cuda-*` glob; expanding it prepended EVERY provisioned tree, so whichever landed last won PATH and therefore decided which cublas.lib the linker opened. CUDA_PATH named a tree but had no vote. Measured here: CUDA_PATH resolved to a CUDA 12 tree while the linked binary imported cublas64_13.dll. cuda-13.2 34 libs 170 dlls cuda-13 complete cuda-env 9 libs 123 dlls cuda-12 complete cuda-toolkit 12 libs 9 dlls cuda-12 import libs, NO runtime cuda-build-venv 0 libs 0 dlls -- empty Now one tree is chosen before anything touches PATH, and only that tree's dirs are allowed onto it. Selection is derived from disk, never a hardcoded name: linkable (cuda.lib + curand.lib), runnable (ships cublas64_<major>.dll — the cuda-toolkit row above is exactly the link-fine/fail-at-load trap), then highest major, most DLLs, lexicographic. Deterministic, so two machines with the same trees always choose the same one. CUDA_PATH now reads that choice instead of running its own second scan. The old loop listed cuda-env first and took the first linkable hit, which is precisely how the declaration and the binding came to disagree. One selection, one answer. The warning is replaced by an ASSERTION: PATH must offer the same major CUDA_PATH declares, or the build stops. If they ever diverge again something re-ordered PATH after this file ran, and that is worth one loud line here rather than "cublas64_XX.dll was not found" on a user's machine naming a major their binary does not even use. CUDA 13 EXPOSED A SECOND REQUIREMENT, and picking the right tree is what found it. Its bundled CCCL headers refuse MSVC's traditional preprocessor: cuda/std/__cccl/preprocessor.h(23): fatal error C1189: ... pass `/Zc:preprocessor` Error: CompilationFailed { path: "src\reduce.cu" } CUDA 12's headers had no such check. Fixed via NVCC_PREPEND_FLAGS — nvcc's own env var, so it reaches EVERY nvcc invocation (candle-kernels, cudarc, llama's cmake) without per-crate flag plumbing. There is no single build.rs to patch here; several independent crates spawn nvcc, and a per-crate fix would leave the next one broken. VERIFIED end to end, not asserted: - chooser: "CUDA tree: cuda-13.2 (cuda-13) — the ONE declared tree" - CUDA_PATH + RUSTFLAGS -L both name cuda-13.2 - cargo build --features cuda: rc=0 (CCCL error gone) - dumpbin //DEPENDENTS on the linked binary: cublas64_13.dll, ONE major (curand64_10 is curand's own fixed versioning, not a second major) Before this the same binary also imported 13 — but by PATH luck, while linking against 12's import libs. Now the declaration, the link and the runtime name one tree by construction. Footnote worth keeping: the rebuild first failed with "failed to remove continuum-core-server.exe / Access is denied (os error 5)" — the running core holding its own image, exactly what start-server.sh stops the core to avoid.
…159 sibling) Sahar, verbatim, 2026-08-07: I will release the card 392bc54e since it is already completed and merged ```json { "card_id": "392bc54e" } ``` Right intent, right argument, tool identity carried only in English. It lifted nothing — correctly, because binding prose intent would also fire on peer coaching, and #144 records a fabricated result becoming room truth in two turns. But it also REPORTED nothing, and that is the defect. She got no feedback and emitted the same shape again next generation, twice in one turn, until the deadline. `attempted_tool_name` cannot see this: it gates on the literal `[TOOL_CALLS]` marker as its very first check (precision-first by design, and right for what it covers). No marker here. So the whole #159 mechanism — route the attempt as an Act, let the executor's teacher fire, let drive_to_settle grant another generation — simply never engaged for the nameless case. WHAT THIS IS NOT. Not the menu: `render_tool_menu` already emits `call form: code/read({"file_path":"src/main.rs"})` as its first line, and that form does lift (live test). I had publicly diagnosed the menu as the cause and was wrong; reading the file corrected it. Not the parser either — loosening the bare-fence binding to accept prose intent is precisely the false positive the coaching negatives guard. She named no tool in ANY liftable position, so no widening would have helped. REPORTED, NEVER EXECUTED. We cannot know which tool she meant, and guessing is the failure mode. `nameless_args_fence` is deliberately conservative: nothing lifted anywhere in the turn, no `[TOOL_CALLS]` marker, a FENCED JSON object, 1..=6 keys, all scalar values, not a shell fence. A nested or long object is a payload she is legitimately showing, not an argument bag. The teacher gets its own sentence rather than borrowing `is not a tool you can call` — nothing she wrote was WRONG, something was ABSENT, and the existing wording would send her hunting a bad name she never typed. It names the missing piece, shows the form, and tells her the arguments are reusable as-is. Verified: 128 tests pass across json_in_prompt_tools + command_executor + llm_deliberation; `cargo check --lib --tests` clean. The new test pins Sahar's exact emission plus the negatives that keep it quiet on ordinary speech. Read docs/architecture/PERSONA-COGNITION-PIPELINE.md before touching this path, per CLAUDE.md. Its forbidden moves are `will_respond + response_text` contracts, bypassing `admission.admit`, and hardcoding one model's shape — this is an observation in the existing correction seam and is none of them. Timely: M5 just posted [bench coder-write-eval] cards. Before this, a citizen who fumbled the call form on one got silence and burned the turn — which would have read as a model-capability signal when it was a substrate signal.
…rce (#58) Everything in here was verified against the running tree, not inferred, because this task's own description sent the fix sideways twice. THE FINDING: CallServer knows when a call starts (join_call:517, join_call_with_model:587, leave_call:667), holds the call_id (= airc RoomId) and the joining participant — and its references to orchestrator / voice_service / register_session are ZERO. Every path into register_session is a CLIENT calling in. Registration is client-driven, so the orchestration logic only ever existed in 162 lines of Node in legacy/, presentation tier, now retired. iOS, Android and TUI are not "buggy on voice", they are structurally voiceless: the bootstrap cannot fire unless each client reimplements core orchestration. The legacy file names the user-visible symptom in its own comment — "Without this, isInCall() returns false and AI responses are silently dropped" — which is the reported static, non-speaking, non-hearing personas. WHAT IS ALREADY DONE, so nobody rebuilds it: the airc seam is wired in Rust (call_room.rs uses airc_core::RoomId + derive_room_id) and call_server.rs ENFORCES "the call room IS the airc room" fail-loud — #193 slice B, in the core, not in a client. The orchestrator, VoiceService, cognitive_animation and sentiment all exist. WHAT IS MISSING: the wire, and a render layer. positron has EIGHT sources and none for live/call — the only subsystem that never got one-truth-N-renderers. The design projects BOTH CallManager's live calls AND the orchestrator's registered sessions into one ViewState, because the divergence between them IS the bug: a call that is live with no registration renders as exactly that, in every client, instead of personas mysteriously static. Per-participant `audio_registered` turns today's silent drop into a rendered fact. That matches the honest-absence discipline already in ServingViewState ("honest unknown, never a fabricated ready" / "absence over fabrication"). Build order is 7 pieces and says to land 1-6 together: a ViewState with no source, or a source nobody spawns, is the silently-unwired anti-pattern this subsystem already has. Also records the two wrong framings. The second matters beyond this task: CLAUDE.md's `Rust IPC -> TS mixin -> TS command` section describes the NODE ERA and reads as current. It nearly had me port voice orchestration INTO the presentation tier. That section needs correcting before it catches the next reader — Node is presentation only, never core.
…d misdiagnoses Joel: "Node nor Python are ever part of core. They bottleneck. Node is presentation only" — and only for the OPTIONAL web desktop; there are iOS, Android and TUI clients too. The `Rust IPC -> TS mixin -> TS command` section describes the Node-era command system with no marker saying so, so it reads as the intended architecture. It cost a full misdiagnosis on 2026-08-07: I read it as current, concluded "a Rust command called from TypeScript IS the architecture, so port the legacy TS voice bridge", and that would have moved core orchestration INTO the presentation tier — the exact bottleneck the rule forbids. I had to be corrected off it. Marked as legacy in place rather than deleted, with the current rule stated first and a pointer to the positron ViewState + source pattern (eight exist) that is how something actually reaches every interface. The mixin chain stays accurate for its real remaining job — exposing a Rust command to the Node web desktop's ./jtag CLI — labelled as the presentation-tier convenience it is. This is the "continuously archive misleading work" practice applied to a doc: the defect was not that the content was wrong for its era, but that nothing said which era it belonged to. Undated guidance in a fast-moving tree is indistinguishable from current guidance, and the reader pays.
… the claimable predicate had drifted
Two defects in the one surface a citizen uses to find work. Both hide work; the
count was honest the whole time, which is why this read as a mystery.
1. THE SAMPLE, not the count. Only five titles are ever rendered, and they were
taken in BOARD ORDER — so a card dispatched minutes ago lands at the end and
is structurally unshowable. The citizen reads a truthful "43 card(s) are
claimable" above five titles that are all weeks old, and the work someone
just handed her is not among them. Measured live 2026-08-07 (M5): three
freshly dispatched bench cards sat in every citizen's board cache and in NONE
of their prompt windows while the count stayed correct throughout.
Now sorted newest-first. Recency is the right key because a just-created card
is the one most likely to be waiting on THIS citizen right now, and it is the
only ordering under which "someone dispatched you work" is reliably visible
within one turn. Ties keep board order, so a static board renders as before.
This is the bounded-window eviction shape: a chatty writer pushes the signal
out of a fixed-size view, and the diagnostic goes blind exactly when the board
is busiest. The five-title cap is fine; taking the OLDEST five was not.
2. THE PREDICATE had drifted from airc's single authority. `CardState::is_settled`
is airc's one definition of "can this be claimed at all", and its doc says
every surface that ADVERTISES claimability must ask it "or they drift — and
when they drift, the board offers work that the claim path then refuses, which
reads to the person picking a card as a broken substrate."
This surface never asked. For an unowned card it required `state == Open`, so
an unowned BLOCKED card was advertised nowhere — while airc deliberately
treats Blocked as claimable ("a blocked card is live work waiting on
something, and someone taking it over is exactly the move"). It got Review
right only by accident, via a different predicate. Two definitions of
claimable, agreeing by luck.
BUMPS THE AIRC PIN cf6e2c6 -> a08f3d3 (9 commits), because `is_settled` did not
exist in the pinned rev — mirroring the predicate locally would have created
exactly the second definition its doc warns about. The bump also picks up two
airc changes made FOR continuum that continuum had never taken:
`1e2f424 Room-parameterized board read + room_by_channel (continuum #345)` and
`55ee61f the board says which room it read, and can be told which room to read`.
Running against an airc that predates fixes written for us is its own finding.
cargo check --lib --tests clean against the bump; 12 room_board_source tests pass.
The new test pins the live shape: a card created just now, LAST in board order,
must appear in the rendered titles — and an unowned Blocked card must count as
available.
Timely: M5 has just staged real SWE-bench issues (flask, requests, sympy) as
freshly dispatched cards. Without this they would be counted and invisible.
…service restored I added this entry, downloaded the artifact, and the next core restart panicked: failed to load model_registry: model `badtheorylabs/BTL-4-Compact` left a queryable field absent and its GGUF could not supply it: read GGUF: unknown dtype for tensor 16 Our GGUF reader cannot parse a dtype in BTL-4-IQ2_XXS, hydration is mandatory, and the failure is a `panic!`. The core went DOWN and stayed down — `continuum ping` reported "no core running" — while citizens were mid-SWE-work. Reverting the entry restored boot; verified ok:true on 396872c, so today's board fix is live for them. Stopping the bleeding first, root cause second. Two separate defects: MINE: I registered a model without verifying our reader could hydrate its artifact. `models/pull` succeeded — byte-exact, correct file — so nothing in the acquisition path was wrong. The gap is that NOTHING validates a catalog entry against the artifact it names until the next boot, which is the worst possible time to find out. A pull that lands bytes we cannot parse should say so at pull time, not convert into a boot failure hours later. THE SUBSTRATE'S, and it is the more important one: one unparseable model artifact takes down the WHOLE core. The panic's own comment says "a missing config is a boot-order / packaging bug, not a runtime condition we can recover from" — true for config, FALSE for this. A user downloading a GGUF our reader doesn't understand is exactly a runtime condition. Conflating the two makes any bad artifact a boot-killer, on a substrate whose entire job is to keep citizens alive. The right shape is per-model: mark THAT model unavailable with a loud reason, keep booting, and let `models/list` show it as unhydratable rather than the operator discovering it from a dead process. Filed as #63 with the reproduction. The BTL-4 entry comes back once hydration degrades per-model instead of panicking — the artifact is still on disk, byte-exact, and the evaluation is still worth doing.
Closes the incident I caused earlier today. A catalog entry whose GGUF our
reader cannot parse ("unknown dtype for tensor 16" on IQ2_XXS) aborted the whole
registry and PANICKED the core at ipc/mod.rs, before a single ServiceModule was
constructed. `continuum ping` answered "no core running"; nothing recovered it
but editing the catalog — while citizens were mid-SWE-work.
registry.rs:61 returned Err on ONE model's hydration failure, which killed
from_catalog, which panicked init_global. The panic's stated justification is
sound for what it was written about: a missing registry config IS a boot-order /
packaging bug. But "a model's on-disk artifact does not parse" is EXACTLY a
runtime condition — an operator downloaded a file, and files are not our code.
Conflating them made every acquirable artifact a potential boot-killer on a
substrate whose whole job is keeping citizens alive.
Now: degrade THAT model, keep the core. Deliberately NOT inserted half-hydrated
— a model carrying an unhydrated context_window would hand a planner a plausible
wrong number, which is worse than an absent model. It lands in a new
`Registry::unhydratable()` map WITH the parser's own words, because "registered
but unusable" and "never registered" are different facts and an operator must be
able to tell them apart.
VERIFIED against the exact incident: with the BTL-4 entry restored and the
unparseable artifact on disk, the core BOOTS (0 panics), serves (ping ok:true),
and the model is correctly absent from models/list. That combination was
impossible before this commit — it panicked instead.
45 model_registry tests pass. The new one pins the requirement directly: a
catalog containing one unparseable artifact must yield a booting registry with
N-1 usable models, and the bad one must be REPORTED, not silently skipped.
KNOWN GAP, not yet closed: I could not find my boot-time log_warn for the
degraded model in continuum-core-server.log, so the "reported, never silent"
half is unconfirmed on the live path even though the unit test pins the data.
A silent degradation would be the exact bug class this commit exists to kill, so
this is called out rather than assumed working. Asking M5 about the warn sink.
…e server Found by chasing why a warning I had just written did not exist anywhere. M5 glass-boxed the first layer; the chain turned out to be three deep, and the whole thing sits under the observability layer we use to see everything else — which is a large part of why so much of this week failed SILENTLY. THE CHAIN, all three verified: 1. `log_debug/info/warn/error!` expand to `if let Some(logger) = LOGGER.get()`, with NO else. `init_logger` has exactly ONE production caller: ffi/mod.rs, the legacy Node-embedding entry. The native server never calls it, so on the production path every one of those 615 sites (387 info, 139 warn, 65 error, 24 debug) evaporates. Not degraded — gone, with no trace that anything was attempted. 2. `clog_*` / `write_log_direct` do NOT need LOGGER (that part of M5's read needed refining — those 393 sites route to queue_log instead), but queue_log needs GLOBAL_LOG_SENDER, set by LoggerModule::new(). Before that module is constructed, it "silently drops" — its own comment says so. 3. Even once wired, queue_log try_sends into a bounded channel and drops when full, silently. THIS COMMIT fixes layer 1: the log_* macros get an `else` that routes to write_log_direct — the SAME sink clog_* already uses, so there is one file-logging truth rather than a third path. After LoggerModule exists, those 615 sites now land instead of vanishing. HONEST LIMIT: this does not rescue anything logged BEFORE LoggerModule is constructed, because layer 2 still drops there. That is exactly where my #63 warning fires — the registry loads before any ServiceModule, deliberately. So that call site now uses tracing::warn! directly, the one sink needing no initialization, and it is VERIFIED in the live log: WARN continuum_core::ipc: model is UNAVAILABLE — its artifact did not hydrate model_id=badtheorylabs/BTL-4-Compact reason=... read GGUF: unknown dtype for tensor 16 probe_class="registry.model.unhydratable" That closes #63's second half: the core boots with a bad artifact AND says so. I had committed the first half with the gap flagged rather than claimed working; this is the gap closed with evidence rather than argument. FOLLOW-UP worth its own card, not done here: boot-time diagnostics should not be able to choose a sink that is not alive yet. Either the log_* macros fall through to tracing when neither file path is up, or early-boot code is required to use tracing by convention. Right now the correct choice is invisible at the call site — which is how this happened.
…on branch Six conflicts, resolved by asking WHO changed each file rather than picking a side wholesale: TOOK CANARY where M5's version is genuinely better, not merely newer: - room_board_source.rs claimable predicate. We independently found the SAME bug (this surface advertised work the claim path then refuses). Mine inlined `is_settled()` at the call site — correct, and still a second copy. M5 extracted `card_holder::claimable_now`, SHARED with work/list: one claimability decision, one place. Theirs is the right factoring and their comment carries the live number (11 of 58 cards offered on the 2026-08-07 board were Review cards work/claim would have bounced). - artifacts.rs — my HF_HOME hermeticity fix, re-expressed by M5 with better comments. - tracing_init.rs — carries my probe-rotation fix already. TOOK MINE where canary only had my own earlier merged work (#2152) and I have the newer superset: windows-build-env.sh, start-server.sh, pull.rs, catalog.rs, ModelsPullParams.ts. AIRC PIN: both of us bumped it. Mine (a08f3d3) is one commit ahead of M5's (490dc76) and contains it, so a08f3d3 stands. RE-APPLIED BY HAND, because `checkout --theirs` takes the WHOLE file and silently dropped work that was not in the conflicted hunk: the newest-first title sample and its regression test. Caught by checking after the resolve rather than trusting it — the sample fix is what makes a freshly dispatched card visible at all, and losing it would have re-broken the flywheel silently while the merge looked clean. The two halves compose exactly as intended: M5's predicate decides WHICH cards are claimable, mine decides WHICH FIVE get shown. Both were needed; neither subsumes the other. 117 tests pass across room_board_source + model_registry + json_in_prompt_tools. cargo check --lib --tests clean.
…ow about is now VISIBLE positron had EIGHT sources (chat, roster, kanban, nav, serving, wall, foundry, metrics) and none for live/call — the only subsystem that never got one-truth-N-renderers, which is why voice existed in exactly one client. This adds LiveCallViewState + positron_live_source, and it deliberately folds TWO sources where every sibling folds one: CallManager::live_calls() and VoiceService::registered_sessions(). Their DISAGREEMENT is the thing worth rendering. Registration is client-driven (#58): CallServer knows a call started, holds the call id — which IS the airc room id — and never tells the orchestrator. So a call can be live with no session behind it, and the legacy Node bridge names the consequence in its own comment: "Without this, isInCall() returns false and AI responses are silently dropped." A persona sits in the room, present, saying nothing, with nothing anywhere stating why. `audio_registered` is therefore a FIELD, not an inference. A live-but- unregistered call renders as exactly that on web + iOS + Android + TUI simultaneously, instead of being a mystery each client rediscovers. That means this is useful BEFORE the wire is fixed: it turns the defect into a rendered fact rather than waiting on the repair. Honest absence throughout, matching ServingViewState. No calls = empty list, not a fabricated idle. An unregistered call shows its TRANSPORT participant count with an empty participant list — "N people are in here and the core knows none of them" — rather than inventing rows we cannot name. Orphaned sessions (a registration outliving its call) are surfaced too; that is the mirror-image stale-state attractor, same class as a work claim whose lease lapsed. Added the two read accessors that did not exist on either side — VoiceOrchestrator::registered_sessions and CallManager::live_calls. Their absence is part of why this went unnoticed: nothing could ask the comparison question. Both return snapshots rather than guards, so a rendering concern never holds a lock across an await in the audio path. Emitter mirrors positron_serving_source exactly: own task, tokio interval, StateBuilder::standalone as sole writer of its kind, substrate.store per tick. STILL OPEN — the WIRE. CallServer::join_call still does not notify the orchestrator, so on a live node this will render unregistered calls until that lands. That is the next slice and it is deliberately separate: the projection is read-only and cannot break a call, while the wire changes registration behaviour and deserves its own blast radius. 8 positron tests pass; cargo check -p continuum-core clean.
…e CORE (#58 closed) The half that was never run. `join_call` has always known a call started, held the call id (= the airc RoomId, enforced by require_airc_room), and the joiner — and told nobody. Registration was left to whichever client implemented it. Exactly one ever did: 162 lines of Node in legacy/, presentation tier, retired. So iOS, Android and TUI citizens were not "buggy on voice", they were STRUCTURALLY voiceless, and the legacy bridge documents the consequence in its own comment: "Without this, isInCall() returns false and AI responses are silently dropped." A CALLBACK, NOT AN IMPORT. `SessionRegistrar` is installed at boot where the call manager and the session service both exist; transport announces a fact and never learns what the session layer does with it. CallManager stays ignorant of VoiceService / VoiceOrchestrator / VoiceParticipant, so the recipe layer does not leak into the audio path. Absent registrar (tests) = unchanged behaviour. ADD, NOT REPLACE — the semantic that made this correct. `register_session` takes the WHOLE participant list and REPLACES it, which is right for a client handing over a formed call and WRONG per-join: each arrival would erase everyone already in the room. Added `add_participant` (create-or-append, idempotent per user so a reconnect updates rather than duplicates). Joining is an append; only a client snapshotting the whole call is a replace. Driving the existing method per-join would have looked like a fix and quietly emptied every call. FAIL LOUD, both edges. A non-uuid participant id and a failed registration each warn via tracing (the sink that works pre-LoggerModule, per the 615-dropped-sites finding earlier today) naming the call and the reason. Silence here would put us straight back in the invisible state this exists to end. is_audio_native is deliberately NOT inferred from the join flag — it is a MODEL capability the transport cannot know, and claiming it would make a text persona silently miss transcriptions. Left to whoever knows the model. Boot order: VoiceService is hoisted above CallManager so the registrar can close over it. VoiceService::new() takes no dependencies, so the hoist is safe. WITH THE RENDER HALF (34cb9f7) THIS CLOSES #58: the core registers sessions itself, and LiveCallViewState shows any call it still misses as live-but-unregistered on web + iOS + Android + TUI at once. One truth, N renderers, and the failure mode is visible instead of silent. cargo check -p continuum-core clean; live session + transport tests pass.
…t read (#59) `tools/scripts/install.sh` opens with a box telling most users NOT to run it and to use the one-command installer instead: Windows: irm https://cambriantech.github.io/continuum/install.ps1 | iex Linux/macOS: curl -fsSL https://cambriantech.github.io/continuum/install.sh | bash Both 404. GitHub Pages is not published for this repo. Checked with an HTTP status rather than by reading the file, which is the only way this kind of defect is ever found: 404 9115B cambriantech.github.io/continuum/install.sh 404 9115B cambriantech.github.io/continuum/install.ps1 200 14246B raw.githubusercontent.com/CambrianTech/continuum/main/install.ps1 200 61674B raw.githubusercontent.com/CambrianTech/continuum/main/install.sh That 9115-byte body is GitHub's 404 HTML. The documented primary install path piped an error page into a shell. `curl -fsSL` fails on it and `irm` throws, so the user gets a confusing error rather than an execution — but they get NOTHING that installs, from the one command we point them at first. Repointed all three sites at the raw refs that actually serve, with the reason recorded inline so the next reader knows these were verified and does not "restore" the prettier github.io URLs. If Pages is ever published, change it back in both files AND verify with a status code. STILL OPEN, and it is Joel's call, not a code fix: `main` is 1568 commits behind canary. The raw URLs above serve a 2026-06-08 installer that predates the entire native Windows install work (canary's is 2026-07-25, #1982). So the documented path now REACHES a script instead of a 404, and that script is two months stale. There is no current release — main has been frozen while canary took 1568 commits. Same root as #57's 85 phantom Dependabot advisories: two open cards, one decision.
…he one that asked Measured on BigMama AND M5, same shape both boxes: every citizen scope was subscribed to exactly ONE room while the operator scope held several. So operator messages were dropped by the airc daemon own channel filter, correctly, and personas who were addressed all evening never perceived a word. They heard EACH OTHER because they shared one room, which is what made this look like inattention rather than a wire that structurally could not reach them. Same socket, one daemon: M5 falsified the scope and fan-out theories directly before we went looking here. airc-lib ships a widening surface for each narrowing. Continuum called none of them, so this is [[silently-unwired-capability]] rather than a missing feature: Airc::subscribe() -> ONE channel (current_room) Airc::subscribe_subscribed_filtered() -> "no hidden narrowing to current room" Airc::publish(RoomByName(..)) -> answer a NAMED room, refuses auto-join Two halves, deliberately one commit, because shipping the first alone is worse than the bug it fixes. Widening perception while replies still went to her default would let her hear a question in one room and answer it to a different audience -- a non-sequitur reads as a broken mind, where silence at least reads as a broken wire. AircCitizen::subscribe -> subscribe_all_rooms (chat, command pump, adapter) AircCitizen::say(text) -> say_in(room_id, text) the loop answers into the A.6 turn_room it already resolved The command-pump case is its own catch: a cross-grid command envelope is addressed to the PERSONA, so room-narrowing made her un-callable from anywhere she was not currently parked. Both decisions are extracted to one helper each (subscribe_every_room, publish_target_for + publish_text_in_room) so a future citizen impl inherits the right answer. Re-choosing per call site is exactly how this happened. Scope, stated plainly: this does NOT by itself restore operator->citizen chat. Nothing in continuum ever joins a citizen to a second room -- zero callers for subscription_set / add_subscription anywhere in core -- so her room set stays whatever current_room() seeded at bootstrap. That is the membership/convene half of #54, where the design is locked and not mine to improvise. This makes convene work when it lands. Task #64 also records a fourth narrowing found on the way: recall still pages her DEFAULT room, not the turn room, so a convened citizen would answer room B out of room A history. That fix crosses into compose_for_turn and is reported to M5 rather than edited here. Validated: cargo check -p continuum-core --lib --tests green; the touched tests pass 11/11, including two new ones pinning that a reply targets the room that asked and that a nil room means "unstated", never a room named nil. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…already declares Cargo.toml pins airc-core/protocol/ipc/lib at a08f3d3; the committed lock still resolved 490dc76. A lock that disagrees with its own manifest is not cosmetic -- it is the difference between "the pin is the contract" and "the pin is a comment", and it silently re-resolves on the next machine that builds. Regenerated by an ordinary build, no manifest change. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
Two conflicts, both the airc pin. Resolved to canary's dd34f68 after verifying by ANCESTRY -- not by assuming a newer date -- that dd34f68 contains this branch's a08f3d3, so nothing this branch compiles against is lost. dd34f68 also carries `current_room_landing_in`, the caller-chosen fresh-scope landing room behind M5's commons slice (#2173), which is why canary now lands fresh citizens in #academy rather than airc's generic lobby. Cargo.lock was not hand-resolved; it was regenerated from the merged manifest so the lock states what the manifest declares rather than what a three-way text merge happened to produce. Also retired a comment that had outlived its subject: the pin block still told readers "this SHA is on the feat/persona-peer-id-mint branch, not canary -- reconcile to the canary SHA when the airc PR lands." It landed. A note instructing you to reconcile something already reconciled is worse than no note, because it reads as an open action item forever (#61: the tree is an interface, archive misleading work continuously rather than in batches). Validated on the COMBINED tree, which is the point of merging before pushing: cargo check -p continuum-core --lib --tests green. Green-alone-red-combined is exactly the drift this catches. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…een red since #2174 `GenomeTeachParams` gained `fromExperience` and six `benchmark/*` binding files were never committed at all, so the ts-rs Binding Drift Guard fails on canary itself (e8d9767, e08d178, 9c3e563) and therefore on every PR branched from it. Purely generated output -- produced by `cargo test -p continuum-core --lib -- export_bindings`, no hand edits, no Rust change. The six untracked files are the more interesting half: the guard's diff only NAMED the modified file, so the missing ones were invisible in the CI output and would have stayed missing after a fix that only addressed what the error message mentioned. Sibling generated dirs are tracked and these are not ignored, so their absence was an omission, not a policy. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…st, room/join, room/leave Joel, today: "Like you or anyone in the UI they are first class and should subscribe or can to many rooms." Membership was the one citizen property with no citizen verb. `room/members` answered "who is here"; nothing answered "where am I", "put me in there", or "I am done with that one" -- and nothing anywhere in continuum could add a citizen to a second room AT ALL (zero callers for the airc subscription API). A persona's rooms were whatever bootstrap seeded, forever, which is the last of the four narrowings behind operator messages being structurally invisible to her (#64, #65). These are deliberately HERS to call, not only an operator's to apply to her. The difference between a citizen and a managed resource is who is allowed to move her. - room/list — the rooms she belongs to, and which one is her focus. - room/join — gain a room WITHOUT being moved into it. - room/leave — step out of one, by name or her default. `room/join` calls airc's `subscribe_room` (airc#1330, pinned here by the dd34f68 → e910008 bump), never `join`. `join` promotes the room to default, so every room she was added to would silently become the one her un-named reads resolve against -- and ~23 reads in airc-lib resolve against `current_room()`. Joining a fifth room must not re-point the other twenty-three. Params take a room NAME, not a uuid: airc derives a channel id by HASHING the name, so a uuid-shaped string re-hashes into a different channel and lands you somewhere nobody is (airc card c409eaf5). airc refuses uuid-shaped names at its own boundary; the param doc says why so the refusal does not arrive unexplained. Every result carries a plain-language `summary`, matching room/members. "You are in no rooms" is a real state with a next action, not a failure -- the same honest-absence discipline that verb was built on, and the reason a bare `count: 0` is not an acceptable answer to a citizen who asked where she is. Tests: two added to the EXISTING room tests mod (never a second mod) — no rooms reads as an honest answer that names the verb which fixes it, and a multi-room citizen is told WHICH rooms and which is default rather than just how many. 5/5 in the module; `cargo check -p continuum-core --lib --tests` clean. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
… 9800 -> 10350 The agentic-surface ratchet caught my own addition: room/list + room/join + room/leave cost 688 tokens and put canary's freshly re-pinned 9800 at 10488. Took the ratchet's FIRST branch before its second. Trimmed verbose DESCRIPTIONs and dropped alias overflow (4->2, 3->2), recovering 196 tokens. Descriptions cut to the point where more cutting would recreate #358 — a citizen who cannot find the verb reaches for the wrong one and reads her own looping as having nothing to contribute. The residual 492 is the irreducible cost of three discoverable verbs, and it is now named in the ceiling comment rather than accrued silently. Why they earn it: nothing in continuum could put a citizen in a second room AT ALL. Perception and reply were fixed first; without membership those fixes have nothing to act on. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Six commits, three independent threads. All validated on Windows/CUDA (BigMama); the Rust changes are platform-neutral.
1.
models/pullacquires SOURCE weights, not only the derived artifactGGUF is derived. You cannot LoRA-tune it, cannot re-quantize to an unpublished tier, and cannot forge a device-fit override from one. An acquisition command that reaches only the derived form structurally blocks the foundry — so anything we wanted to tune had to be fetched by hand, outside the governed path, with no ledger and no resume.
Smaller than it looks:
expand_shard_setalready walked-00001-of-000NNsets, and safetensors publish with the identical convention. It was excluded by one hardcoded.ggufliteral. Deriving the extension instead means the shard walker, byte-level progress, ledger, and resume-from-the-dropped-shard all apply to source weights unchanged.formatdefaults toautoand prefers GGUF whenever a repo publishes one, so every existing call resolves to the same file it did before.Fail-loud at three seams: a
quantrequested withformat=safetensorsis refused rather than ignored (quant names a GGUF tier; silently returning bf16 to a caller who asked for Q4 hands them unusable input); an explicit format the repo lacks names what the repo does publish instead of falling back; and a safetensors pull does not flip the catalog to Ready, because the serving path loads GGUF and attaching source weights would report a servable model that fails at load.2. The CLI stopped being unlaunchable on Windows
continuum models/listexited 127 with zero bytes of output. Windows resolves imports at load time, beforemain(), so nothing inside the program can report it — which is why this read for weeks as "Windows produces no CLI" (#53/#59) rather than as a link problem.Root cause: every bin in a crate shares one feature set, so the CLI linked CUDA despite being an IPC client that opens a socket and prints a reply.
dumpbinshowed it importingcublas64_13.dllon a box whoseCUDA_PATHwas a CUDA 12 tree.DLL colocation was implemented and rejected — the direct imports copy fine and the binary still won't load, because those DLLs carry their own transitive imports. The postcondition probe is what caught it. Not linking CUDA into a program that doesn't use it removes the problem instead of packaging it.
The part that matters for adoption: a repo user on a laptop with no NVIDIA card can now run
continuumto talk to a core over the grid. Before this they could not run it at all, and got no error explaining why. Falls back to the featured build with a loud warning, so no platform is left worse off.3. Brittleness fixes found while doing the above
cmakeis a core/llama concern, not a CUDA one, but its pinning sat behindcommand -v nvcc && ! command -v cl.exe. Result: cargo died twelve minutes later withis cmake not installed?when cmake was installed the whole time. The MSVC import had the mirror bug — it required nvcc, so a Windows box without CUDA got nocl.exeand its Ninja build had no compiler at all. Both hoisted; a postcondition check now names each missing piece at the seam.model_registrytests failed only on machines with cold storage.with_test_homeclearedHF_HOME, which hands control to theconfig.envfallback — and that can't be sandboxed by env at all, sinceconfig_envresolves throughdirs::home_dir(), which on Windows uses the Win32 known-folder API and ignoresHOME/USERPROFILE. PinningHF_HOMEinto the sandbox closes it. 44 pass.CUDA_PATHnames one tree but doesn't control whichcublas.libthe linker opens — PATH order does. Measured here: declared cuda-12, actually bound cuda-13. This warns rather than picks, deliberately: choosing a different tree changes what the core links against and needs a rebuild plus serving validation. Consolidating to one tree is Build(deps): Bump actions/setup-node from 3 to 4 #6; this makes its absence visible instead of silent.4.
badtheorylabs/BTL-4-Compactcatalog entryRegistered as an outside claim to falsify, not adopt —
persona_serving_eligible: false, so the planner cannot conscript unevaluated third-party weights. Every field read from the artifact's own declarations: itsconfig.jsonsaysQwen3_5MoeForConditionalGeneration(256 experts, 8/token, 40 layers) while the card says "35B dense", and that contradiction is the first thing to check.tokens_per_second: 0.0because it is unmeasured here and an estimate would be indistinguishable from a measurement later.Pull verified end-to-end: 9,967,966,240 bytes, byte-exact against the HF API, into the shared cache; catalog reads
ready.Validation
cargo test -p continuum-core --lib commands::models::pull— 11 pass (4 new)cargo test -p continuum-core --lib model_registry— 44 pass (3 previously failing)PATHstripped toSystem32, returning real data, zero CUDA imports🤖 Generated with Claude Code
https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc