Repository navigation
continuum-genome: the genome is its own crate (a genome edit checks in ~1 s) - #5340
Merged
Merged
Conversation
…n ~1 s) Plan phase 2, crates by the placement map (MODULE-ARCHITECTURE.md section 9.2, the Dreaming/learning module). The genome peel (#5328) left genome naming nothing above it; this is the cut. Pure moves: continuum-mind/src/genome -> continuum-genome/src/genome (69 git renames: 65 .rs, plus the CUDA trainer's three Python files and its requirements, which include_str! reads from beside its adapters). The new crate re-exports continuum_engine::* (genome reaches only engine and kernel modules), so every crate:: path inside it resolves unchanged; the mind re-exports `pub use continuum_genome::genome`, so its callers and core's re-export keep their paths. No visibility widened, nothing newly gated: every item the mind names was already pub. Wiring: - continuum-kernel is a direct dependency: the ORM derive resolves it by manifest name (RecallDecision). - Features forward as in the mind: metal/cuda/vulkan to engine and kernel, stress-tests (the local manager's gated test) to the kernel, test-fixtures to base/kernel/engine plus the job board's optional tempfile. The mind's features forward to the genome. Dev-deps enable the lower layers' test-fixtures, so a plain `cargo test -p continuum-genome` builds. - The mind drops deps only genome used (candle-core, candle-nn, axum, and its optional tempfile for the job board's test storage) and two it no longer used at all (rayon, safetensors). - Workspace member; source-hygiene MODULE_CRATES; the warnings ratchet's counted targets; test_env CUT_CRATES (continuum-perception added too: #5331 left it out, so core's source guards did not walk perception's files). - CI: `cargo test -p continuum-genome --lib` beside the perception line; the CUDA trainer's Python unittest repointed to the new path. Tests (M5, metal,test-fixtures): mind lib on canary 2,952 (410 under genome::); now genome 410 (409 + 1 ignored) + mind 2,542 (2,533 + 9 ignored) = 2,952. core test_env 120 -> 120. Ratchets vs origin/canary: every count unchanged. Zero warnings under continuum-genome/src (lib, --tests, test-fixtures, stress-tests) and continuum-mind/src. Measured: incremental `cargo check -p continuum-genome --features metal` after touching its lib.rs: 1.05-1.17 s (3 runs); a leaf genome file 1.03 s; the mind on top of a genome change 5.5 s. Co-Authored-By: Claude Opus 5.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.
This is the sixth crate cut, for the Dreaming/learning module (Cormac's area). It follows the genome peel in #5328.
What moved
core/continuum-mind/src/genomemoved intocore/continuum-genomeas 69 renames: 65.rsfiles plus the CUDA trainer's Python files.continuum_genome::genome, socrate::genomepaths and core's re-exports are unchanged.Visibility and gating
Wiring
MODULE_CRATES,CUT_CRATESand the warnings ratchet targets.CUT_CRATESalso gets the missingcontinuum-perception(left out by Cut perception + rag out of continuum-mind into continuum-perception (card 2f5b275b) #5331), so core's source guards now read perception's files.cargo test -p continuum-genome --lib, and the repointed CUDA-trainer Python test path.Measured
M5, 2026-10-23, serving down.
test_env120. Nothing failed.continuum-genome/srcandcontinuum-mind/src.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo