Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
7521cf2
SERVING-ENGINE §1a: MindMemory, the one owner of a mind's KV memory, …
joelteply Oct 27, 2026
4ee13ad
DRIVER-GATEWAY.md: one door every agent can call, with warm memory an…
joelteply Oct 27, 2026
c218f31
SERVING-ENGINE §1a: the MindMemory API, with Codex's seam requirement…
joelteply Oct 27, 2026
f400559
continuum-gateway: one door every external agent calls (DRIVER-GATEWA…
joelteply Oct 27, 2026
b964ce3
continuum-gateway: tracing for its probes; the test imports ToolChoice
joelteply Oct 27, 2026
434ffb2
continuum-gateway: one rule for where system text goes, for every format
joelteply Oct 27, 2026
7a5aa7a
DRIVER-GATEWAY: one glass box for every system (G1.5, before G2)
joelteply Oct 27, 2026
ab4fb33
DRIVER-GATEWAY: learning and the genome ride the same capture seam (l…
joelteply Oct 27, 2026
5d38168
DRIVER-GATEWAY G-lean: a Serving-only continuum-serve binary for driv…
joelteply Oct 27, 2026
c7bee29
Plan lines 3b and 16: MindMemory first, the driver gateway live; cont…
joelteply Oct 27, 2026
8a8df77
DRIVER-GATEWAY G5: org genomes, a repo's gene learned from every memb…
joelteply Oct 27, 2026
ecfd38d
A driver session is a mind: warm, paged and recorded in the one captu…
joelteply Oct 28, 2026
e2a6814
The MTP draft runs only while a turn decodes alone (adaptive speculat…
joelteply Oct 28, 2026
7245bbc
SERVING-ENGINE §1b: what concurrent minds cost on the M5, measured by…
joelteply Oct 28, 2026
6c39d22
The gateway's wire reads the clock through EpochMs and missing fields…
joelteply Oct 28, 2026
12e5071
The gateway's session memory is opt-in until MindMemory seats driver …
joelteply Oct 28, 2026
08c68ff
SERVING-ENGINE §1c: the engine is fed by queues and signals, never he…
joelteply Oct 28, 2026
51e988b
SERVING-ENGINE §1c: GCD-style classes, every task completes, backgrou…
joelteply Oct 28, 2026
bc60dcc
The gateway records into canary's one capture crate (continuum_captur…
joelteply Oct 29, 2026
cfbb288
The gateway's streamed answer owns its generation: an agent that leav…
joelteply Oct 29, 2026
9ecb7a6
The CI selector fixture: an experience change also selects the gatewa…
joelteply Oct 29, 2026
0a0bee1
The gateway owns its listener, refuses what it cannot read, and bound…
joelteply Oct 29, 2026
bf92b61
A gateway stop cuts every connection, so an agent that stops reading …
joelteply Oct 29, 2026
9562f56
The gateway's stop signal and words move to a bottom module, breaking…
joelteply Oct 30, 2026
e9cf9a2
The gateway presents only a finish the engine reported: an engine err…
joelteply Nov 3, 2026
ec1ba31
Cargo.lock: continuum-gateway depends on continuum-capture (the lock …
joelteply Nov 3, 2026
c896a22
Driver gateway meets the ratchets: required request fields decoded by…
joelteply Nov 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ wait, a wait means start your next line; update this table when a line lands or
| 1 | The build loop: split the monolith BY THE PLACEMENT MAP (MODULE-ARCHITECTURE.md §9.2: each major module runs on any node); build with serving down or on an available non-serving executor/CI, use every grid machine | Fable (cuts), Codex (crate graph, parallel cut order) | #5194 continuum-base + gates cover split crates (CI); #5195 deletes 13,275 dead lines (CI); next: parallel cuts by several agents, own worktrees and target dirs | edit-to-checked < 2 min |
| 2 | A mind's context as an epoch (reuse 48% -> 90%+) | Fable + Codex | continuum-context slices 1-2 pushed (replay: 92-95% reuse, ~3x less fresh); next: wire the faculty's render path into Epoch | live reuse >= 80% |
| 3 | `EngineConfig` and KV capacity (#5188), incl. unrecorded backend -> f16/no-FA/half budget (Cormac's item 10) | Fable | resolve-then-adopt owner in inference/planning | no queue wait; warm-ahead runs |
| 3b | One live engine, minds' memory moved by us (Joel, 10-23: "It's supposed to be quite dynamic and adapt to concerns, not be killing and starting servers. You can't optimize if you're killing and restarting."). Serving drives libllama in-process (`continuum-engine` `llamacpp_scheduler`): weights load once; context and slots resize live; each mind's KV pages GPU <-> RAM <-> disk per sequence (`llama_state_seq_*`); shared prefixes are copied (`seq_cp`), never re-prefilled; one memory budget. llama-server becomes the OpenAI-compatible adapter for external drivers (line 16); relaunch only a dead engine. Launch flags carry startup facts only | Fable (engine, paging), Codex (admission, relaunch call sites) | design: `docs/architecture/SERVING-ENGINE.md` (2026-10-24): add page/reconfigure/priority verbs to the fork's server (S1-S3, proven over today's endpoint), then a separate `continuum-serving` process hosts it with Rust policy (S5); slices S0-S7 each land with a seconds-scale validator | median act at 4 residents beats llama-server, reuse >= 80%, no relaunch while serving, footprint flat over 100 resize cycles |
| 3b | One live engine, minds' memory moved by us (Joel, 10-23: "It's supposed to be quite dynamic and adapt to concerns, not be killing and starting servers. You can't optimize if you're killing and restarting."). Serving drives libllama in-process (`continuum-engine` `llamacpp_scheduler`): weights load once; context and slots resize live; each mind's KV pages GPU <-> RAM <-> disk per sequence (`llama_state_seq_*`); shared prefixes are copied (`seq_cp`), never re-prefilled; one memory budget. llama-server becomes the OpenAI-compatible adapter for external drivers (line 16); relaunch only a dead engine. Launch flags carry startup facts only | Fable (engine, paging), Codex (admission, relaunch call sites) | FIRST (10-27): MindMemory, the one owner of every mind's KV (SERVING-ENGINE §1a, API published, Codex accepted): seat/pause/retire/resume/attach/forget replace 41 paths; Fable builds seat + its stop, Codex moves relaunch/academy/idle/adopt onto pause. Then the fork verbs: design `docs/architecture/SERVING-ENGINE.md` (2026-10-24): add page/reconfigure/priority verbs to the fork's server (S1-S3, proven over today's endpoint), then a separate `continuum-serving` process hosts it with Rust policy (S5); slices S0-S7 each land with a seconds-scale validator | median act at 4 residents beats llama-server, reuse >= 80%, no relaunch while serving, footprint flat over 100 resize cycles |
| 4 | Engine flags | Fable | DONE e678bb30c: prefill 105 -> 175-206 tok/s; decode drop under builds is line 1's | receipts on 9b9f3b59 |
| 5 | Core CPU: cosine owner (#5189), revisioned vector corpus + BLAS + cascade, rayon spin | Codex | #5189: drop the two re-exports, then the corpus | idle-core sample near zero |
| 6 | Every fast-path miss loud | Cormac | #5190: count resident_prefix_lost; #5191: probe wording; then the rest of the 24 | each miss class has a fixture |
Expand All @@ -172,7 +172,7 @@ wait, a wait means start your next line; update this table when a line lands or
| 13 | Prefill during tool calls; the instant voice | Fable, Codex | after lines 2-3 | submit-to-first-token |
| 14 | Learned policies on our own receipts; residents review docs PRs; Atlas silent; Aiko gaps | open / residents | after the validators | each beats its constant offline |
| 15 | Distributable modules: headless default (`default = []`; avatar-3d and livekit enabled per node by deploy profile), grid trust (every node reads `blocked` on 10-19), checks dispatched to idle grid nodes | Fable (default + profiles), Codex (trust), peers on the 5090/IntelMac (take checks) | profiles first, then flip the default with a before/after check time | a node joins by capability; an AWS box builds the core with no renderer |
| 16 | Be the addendum: a Hermes driver on our seams. (a) Serving: Hermes on our engine vs Hermes on a stock server, same model and tasks, speed before/after; (b) Learning: once the acceptance test passes (a reviewed correction on unseen tasks, retained after restart, vs the base without the gene), Hermes sessions become perception and its corrections become genes. Drivers reach seams, not machines, so this is cross-grid by placement; and the agents developing continuum (Claude Code, Codex) are drivers too: our own dev sessions become the Matrix Dojo curriculum and we are the seams' first heavy users (Joel: "a good way to develop our own system") | OPEN: claim it after the queue clears | (a) first, needs no learning claim | Hermes users get our speed, then learning, by pointing at continuum |
| 16 | Be the addendum: one gateway every agent calls (`docs/architecture/DRIVER-GATEWAY.md`, 10-27). Claude Code (Anthropic Messages), Hermes and opencode (Chat Completions), Grok Build and Codex CLI (Responses) point at continuum by base URL only. A session is a mind seated by MindMemory; every exchange is ONE capture (residents' too), read by the glass box, replay and Dreaming, and the genome serves any mind. A lean `continuum-serve` install carries only the Serving seam (learning opt-in). Learning for drivers ships after the residents pass the acceptance test | Fable (gateway, capture, lean), Codex (scheduling temperature, engine lifecycle), Cormac (capture under scope, driver genes) | G0-G1 LIVE on the M5 10-27 (f124f30b8): Claude Code, Hermes, opencode and Codex each fixed a real bug through it on our Qwen3.6-35B. Next: G1.5 one capture for every system (the capture owner moves below cognition, keyed by mind), then G2 session = warm mind, timed against stock llama-server | Hermes users get our speed, then learning, by pointing at continuum |

**The speed path** (Joel, 10-26: "we know what to work on to get speed ups... including the
brainstormed work we can just iterate forward"). Rows are priorities, not a strict sequence: the offline
Expand Down
18 changes: 18 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ members = [
# its only spawn wiring pointed at a dir that no longer exists.
"core/continuum-cli-lifecycle",
"core/continuum-tool-protocol",
"core/continuum-gateway",
"core/continuum-base",
"core/continuum-flow",
"core/continuum-git",
Expand Down
1 change: 1 addition & 0 deletions core/continuum-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ continuum-engine = { path = "../continuum-engine" }
continuum-service = { path = "../continuum-service" } # each resident's window judged, and the alarm the beacon carries (card 1c157668)
continuum-models = { path = "../continuum-models" }
continuum-serving = { path = "../continuum-serving" }
continuum-gateway = { path = "../continuum-gateway" }
continuum-embedding = { path = "../continuum-embedding" }
continuum-store = { path = "../continuum-store" } # the data layer and its commands (card 2709ec6d)
continuum-grid = { path = "../continuum-grid" } # grid discovery, trust and routing with their commands (plan phase 2)
Expand Down
262 changes: 0 additions & 262 deletions core/continuum-core/src/http/anthropic_compat.rs

This file was deleted.

54 changes: 0 additions & 54 deletions core/continuum-core/src/http/local_inference_module.rs

This file was deleted.

Loading
Loading