Repository navigation
sync(canary): #436 event-based capture + #424 punch list — registry delegation, ONE reservation derivation, canonical ts-rs root, 255-file quarantine - #2308
Merged
Conversation
…creenshots (#436 retraction) THE FINDING (#436): the web desktop was NEVER broken. Tonight's every "degraded desktop" capture came from shot.mjs running Chrome with --virtual-time-budget, which fast-forwards PAGE time ahead of real I/O: the app's 5s WS-handshake budget elapsed in accelerated virtual time before the real-world socket (real milliseconds) could open, so StateConnection killed its own socket — Chrome's netlog shows the WS request CANCELLED with zero bytes sent. Against the same core, node + curl (all header shapes, split writes, concurrent sockets) handshake in milliseconds and the real-time CDP capture renders the full live three-panel app. A screenshot tool must never bend the page's clock. Joel called both halves before the netlog proved them: "whatever you use to get screenshots is too quick and startup isn't event based" and the connection layer must be "all feedback but safe feedback". - apps/web/src/index.ts: publish the feed status where feedback belongs — one DOM attribute (`<html data-feed-status>`), stamped 'booting' synchronously before any await and updated on every StateConnection status transition. E2E health = a real State frame ('live'), never socket existence — the client-side twin of #280. No console spam. - scripts/shot.mjs: ONE real-time CDP flow for desktop + mobile. Capture fires on the page's own readiness event (data-feed-status live/cached; plain pages fall back to readyState) with SHOT_BUDGET_MS only as a cap; a not-ready expiry still captures but says so and exits 2. The virtual-time path is gone. Validated live: typecheck clean; capture "ready in 339ms" against the running core with the full app rendered. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…model registry (#424 fixes 1-2) Two Opus-week hardcodes drained into the registry, per the compression principle (one logical decision, one place): 1. generate_recipe/orchestrator.rs re-owned a 7-arm per-provider default-model switch whose copies had ALREADY drifted from the registry (openai, groq). Now resolve_model_id delegates to registry_bridge::default_model_for_provider; an unknown provider fails LOUD instead of silently falling back to anthropic. 2. turn_batch.rs is_local_provider sniffed model NAMES (starts_with("qwen") → "local") — a vendor-name guess that misclassifies any qwen served by a cloud provider. Locality now resolves from ProviderKind on the registry row (by provider, then by the model's owning provider), via try_global() so bare unit tests fall through to the declared legacy arms ("local"/"dmr"/continuum-ai namespace) instead of panicking. #73 retires those arms. Both carry regression tests (// regression for #424) in the files' existing test mods. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…oot (#424/#80/#247) Every #[ts(export)] in continuum-core now names an export_to under repo-root protocol/typescript/ — no more emissions into the legacy crate bindings/ dir or the Node-era shared/generated/: - memory/types.rs: 11 bare exports → protocol/typescript/memory/ - cognition/eval.rs: EvalTask + InfraUnavailable → protocol/typescript/cognition/ (GenomeTeachParams/MinedTask/RedactMemoryParams now import a SIBLING — their generated import previously reached back into core/continuum-core/bindings/) - capacity/pager_capture.rs: PagerCaptureEvent → protocol/typescript/capacity/ - inference/llama_server.rs: ServingSnapshot → protocol/typescript/serving/ Validated: all 1196 export_bindings tests green; old bindings/ outputs no longer regenerate (stale mtimes); zero TS consumers of the retired paths. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…es 3-4) The byte-identical LCD clamp (system 10% [128,512] / completion 25% [256,4000] + headroom floor) was hand-copied in unified.rs compose_for_turn and rag_inspect.rs for_persona. It now lives ONCE as ReservedTokens::scaled_for_window + headroom_within in rag_budget.rs, doctrine on the constructor, regression test pinning the shape at 2048/32k/degenerate windows. NOT unified, on purpose: llm_deliberation_faculty::completion_budget_for is the GENERATION ceiling with the 4000 cap deliberately removed (Joel 2026-07-13 — stop choking context). Different semantics; the constructor doc records the distinction and flags the reservation ceiling as an open budgeting question. Fix 4: rag_inspect defaults_for no longer hand-copies a flat drifted shape (system 400 / completion 4000 / airc_max 20000). Both constructors share one for_window derivation; the assumed 32_768 became DEFAULT_INSPECT_WINDOW — documented diagnostic-only, caller-overridable, never on a live-turn path (live turns derive from profile.context_length, #46/#50). TODO noted: PersonaResolution should carry the live profile so the inspect command stops needing an assumed window at all. Validated: rag_inspect suite 39/39 green + new reserved_tokens test. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…arantine (#424) Joel's mandate 2026-08-14: 'be courageous with removal of fallbacks, leftovers, orphans of files functions and classes, archiving these as you go.' Archive, never delete — full history preserved, README documents the zero-live-reference check that gated each move: - tools/generator/ → legacy/quarantine/tools-generator/ (77 files, Node-era codegen suite, zero inbound imports from the live tree) - core/protocol/ → legacy/quarantine/core-protocol/ (diverged dead copy of the protocol root; canonical is repo-root protocol/typescript/) - shared/generated/ → legacy/quarantine/shared-generated/ (Node-era ts-rs output dir; last two live emitters re-pointed in the previous commit) - core/continuum-core/bindings/ → legacy/quarantine/continuum-core-bindings/ (48 generated files; regeneration stopped once the last bare exports gained canonical export_to paths — verified via mtimes across a full export run) - core/archive/ → legacy/quarantine/archive-worker/ (bin crate whose only spawn wiring, core/workers-config.json, names workers/target/release/ — a directory that does not exist; removed from workspace members, cargo check clean) Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… not legacy bindings/ (#424 tail) ts-rs rewrote the EvalTask import from ../../../core/continuum-core/bindings/ to ../cognition/EvalTask once EvalTask's export re-pointed to the protocol root. Belongs with the previous re-point commit; caught in status after. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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 validated commits from the 2026-08-14 session:
Validated: targeted regression tests + rag_inspect suite (39) + export_bindings (1196) + cargo check all green locally (metal,accelerate).
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo