Skip to content

genome/push leaves genome_share for its own file beside the forge it publishes through (card 539a94b5) - #5454

Merged
joelteply merged 2 commits into
canaryfrom
539a94b5/genome-push-beside-forge
Oct 26, 2026
Merged

joelteply merged 2 commits into
canaryfrom
539a94b5/genome-push-beside-forge

Conversation

@joelteply

@joelteply joelteply commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Why (card 539a94b5; seam b of continuum-dreaming 2a69e6ba)

GenomePush is the only part of genome_share that uses core's forge (publisher::publish_everywhere, provenance, publish_request) and contracts::signing. The rest of genome sharing (the covenant, consent, list, pull and bootstrap) is part of the genome domain moving to continuum-dreaming, and job-create uses its pull side.

Change

  • GenomePush (params, receipt, result, the command and its register_stateless_command!) moves verbatim to commands/genome_push.rs, beside the forge.
  • sharing_enabled and consent_refusal become pub. Push reads them now, and will read them across the crate seam after the move.

Behaviour unchanged; the command name, registration and ts-rs export_to paths are the same. +3 / −192 in genome_share.rs, plus the new file. CI is the compile.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

…publishes through (card 539a94b5)

GenomePush is the only part of genome_share that uses core's forge (publisher, provenance,
publish_request) and contracts::signing. It moves verbatim to commands/genome_push.rs, beside the
forge. genome_share keeps the covenant, consent, list, pull and bootstrap, which move with the genome
domain (card 2a69e6ba). sharing_enabled and consent_refusal become pub: push reads them now, and will
read them across the crate seam after that move. Behaviour unchanged; the command's registration and
ts-rs exports move with it. +3 / -192 in genome_share.rs, plus the new file.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…h.rs (CI on #5454)

The genome_share test still named GenomePush; its three assertions (name, OPT-IN and receipts in the
help) now live in genome_push.rs's own test, so neither crate reaches into the other after the move.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
@joelteply

Copy link
Copy Markdown
Contributor Author

Source + selected CI PASS at 35b926c. The GenomePush move preserves command registration, privilege, consent, receipt/lift gates and publishing/provenance behavior. The amendment moves the three discoverability assertions to the new file and closes the stale-reference compile failure. Independently verified all selected checks green on this head; native lifecycle jobs skipped. Cleared for owner integration, not deployment or live publishing acceptance.

@joelteply
joelteply merged commit d8ee2b3 into canary Oct 26, 2026
12 checks passed
@joelteply
joelteply deleted the 539a94b5/genome-push-beside-forge branch October 26, 2026 06:38
joelteply added a commit that referenced this pull request Oct 26, 2026
…commands (card 2a69e6ba)

Plan phase 2 (Joel: "crates are still gigantic"; a domain's service and its commands are one
crate). Dreaming (MODULE-ARCHITECTURE section 9.2) moves out of continuum-core into a new crate
above continuum-mind:

- modules: training_trigger (+ durable/), genome, dataset (+ dataset/), gene_examiner,
  genome_fitness_sentinel
- commands: training_trigger, genome (+ teach, job_*), genome_recall, genome_share, dataset

Pure move: 57 renames (56 byte-identical; genome_share.rs differs by one doc link that named core's
forge). continuum-core re-exports every moved module at its old path
(modules::{...}, commands::{...}), so no caller changes. The crate re-exports continuum_mind::* so
the moved code's crate:: paths resolve, and commands::hf re-exports the academy's (genome_share's
search). Core forwards metal/cuda/vulkan/stress-tests/test-fixtures to it.

The core ties were cut first, each its own PR: #5445 (owner trust via the executor), #5446
(serving_pool_kind to the engine), #5448 (ModuleContext::storage), #5449 (TeacherServing), #5451
(recall replay trust), #5452 (hf to the academy), #5453 (citizen dir to the persona crate), #5454
(genome/push stays with core's forge). Remaining crate:: references to core-only modules: none.

Tests: 144 #[test]/#[tokio::test] in the moved files at canary d8ee2b3, 144 after. No core code
uses a moved #[cfg(test)] helper, and no file include_str!s across the seam.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
joelteply added a commit that referenced this pull request Oct 26, 2026
…commands (card 2a69e6ba) (#5456)

* continuum-dreaming: the genome domain leaves continuum-core with its commands (card 2a69e6ba)

Plan phase 2 (Joel: "crates are still gigantic"; a domain's service and its commands are one
crate). Dreaming (MODULE-ARCHITECTURE section 9.2) moves out of continuum-core into a new crate
above continuum-mind:

- modules: training_trigger (+ durable/), genome, dataset (+ dataset/), gene_examiner,
  genome_fitness_sentinel
- commands: training_trigger, genome (+ teach, job_*), genome_recall, genome_share, dataset

Pure move: 57 renames (56 byte-identical; genome_share.rs differs by one doc link that named core's
forge). continuum-core re-exports every moved module at its old path
(modules::{...}, commands::{...}), so no caller changes. The crate re-exports continuum_mind::* so
the moved code's crate:: paths resolve, and commands::hf re-exports the academy's (genome_share's
search). Core forwards metal/cuda/vulkan/stress-tests/test-fixtures to it.

The core ties were cut first, each its own PR: #5445 (owner trust via the executor), #5446
(serving_pool_kind to the engine), #5448 (ModuleContext::storage), #5449 (TeacherServing), #5451
(recall replay trust), #5452 (hf to the academy), #5453 (citizen dir to the persona crate), #5454
(genome/push stays with core's forge). Remaining crate:: references to core-only modules: none.

Tests: 144 #[test]/#[tokio::test] in the moved files at canary d8ee2b3, 144 after. No core code
uses a moved #[cfg(test)] helper, and no file include_str!s across the seam.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

* continuum-dreaming builds with core's build script and its 144 tests run in CI (CI and Codex on #5456)

- The moved teach bridge stamps env!("CONTINUUM_BUILD_GIT_SHA"); the crate now uses
  build = "../continuum-core/build.rs", core's script being that identity's one owner, as
  cognition does.
- The CI selector lists continuum-dreaming in TESTED_CRATES (test-fixtures) and the generic
  crate-test step's allowlist, so its moved tests run instead of being selected into nothing. The
  selector tests expect it wherever a change selects the mind it builds on.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

* Core calls five continuum-dreaming items across the new crate seam: they are pub (CI on #5456)

lesson_tasks (benchmark_import), GridPeerAdapter and on_grid and GenomeModule::with_teacher_serving
(ai_genome_modules boot), GenomeModule::trains_base_here (grid_capacity). They were pub(crate) while
both sides lived in core; no signature names a private type.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

* GenomeModule::lease_executor is pub: core's boot hands it to GridPeerAdapter::on_grid (CI on #5456)

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

* continuum-dreaming stays audited: it joins MODULE_CRATES and the warning ratchet's crate list (CI and Codex on #5456)

loose_id_guard::no_declaration_outlives_its_defect failed because modules/dataset/dataset_manifest.rs
(room_id, a declared loose id) left the tree core's guards walk. MODULE_CRATES is the one list those
guards and every source-hygiene ratchet read ('a new cut is one line here'); the crate keeps core's
module paths, so the declaration lines up again rather than being erased. The rustc warning ratchet
counts continuum-dreaming too, so the moved files' warnings stay counted.

Receipt (local, IntelMac, -j 2): cargo test -p source-hygiene 55/55; ratchets vs origin/canary
36200cb: every count identical (unjustified_unwraps 1977 -> 1977, upward_imports 33 -> 33,
lines_over 269 -> 269, ...).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

* ARTIFACT_CHUNK_FRAME_BUDGET lives in lease.rs's tests, the only reader (warning ratchet on #5456)

In core's lib-test build the test counted as its use; as a non-test dependency of core the
crate-level const was dead_code, lifting the warning count to 14 against the baseline 13. It is the
test's bound on a full chunk's encoded size, so it moves into the tests module; MAX_ARTIFACT_CHUNK's
doc still states the frame and envelope budget.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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