Collapse release construction package

This commit is contained in:
Meta Vens 2026-08-25 02:08:14 +02:00
commit 8086d66fc3
7 changed files with 5 additions and 44 deletions

17
Cargo.lock generated
View file

@ -543,8 +543,8 @@ dependencies = [
"cultnet-rs",
"ed25519-dalek",
"epiphany-model-adapter",
"epiphany-release-construction",
"epiphany-tool-adapter",
"fs2",
"ghostlight-persona-projection",
"ignore",
"libc",
@ -616,21 +616,6 @@ dependencies = [
"zeroize",
]
[[package]]
name = "epiphany-release-construction"
version = "0.1.0"
dependencies = [
"anyhow",
"chrono",
"cultcache-rs",
"fs2",
"rmp-serde",
"serde",
"sha2",
"tempfile",
"uuid",
]
[[package]]
name = "epiphany-tool-adapter"
version = "0.1.0"

View file

@ -3,7 +3,6 @@ members = [
"epiphany-core",
"epiphany-model-adapter",
"epiphany-openai-runtime",
"epiphany-release-construction",
"epiphany-tool-adapter",
"epiphany-tool-mcp-runtime",
]

View file

@ -17,9 +17,9 @@ ctrlc = { version = "3.5.1", features = ["termination"] }
cultcache-rs = { path = "../vendor/cultcache-rs" }
cultmesh-rs = { path = "../vendor/cultmesh-rs" }
cultnet-rs = { path = "../vendor/cultnet-rs" }
epiphany-release-construction = { path = "../epiphany-release-construction" }
epiphany-model-adapter = { path = "../epiphany-model-adapter" }
epiphany-tool-adapter = { path = "../epiphany-tool-adapter" }
fs2 = "0.4"
ghostlight-persona-projection = { git = "https://github.com/GameCult/Ghostlight.git", rev = "22281891cbf9258db80c15a9fd465e6fa251e7dd", package = "ghostlight-persona-projection" }
ed25519-dalek = "2"
ignore = "0.4.23"

View file

@ -4,7 +4,8 @@ use chrono::Utc;
use cultcache_rs::SingleFileMessagePackBackingStore;
use std::path::Path;
pub use epiphany_release_construction::*;
mod construction;
pub use construction::*;
const RELEASE_KEY_PREFIX: &str = "epiphany-local/packaged-release/by-id/";
const RELEASE_HEAD_KEY: &str = "epiphany-local/packaged-release/current";

View file

@ -1,24 +0,0 @@
[package]
name = "epiphany-release-construction"
version = "0.1.0"
edition = "2024"
publish = false
autobins = false
license-file = "../LICENSE"
[lib]
name = "epiphany_release_construction"
path = "src/lib.rs"
[dependencies]
anyhow = "1"
chrono = "0.4.44"
cultcache-rs = { path = "../vendor/cultcache-rs" }
fs2 = "0.4"
rmp-serde = "1"
serde = { version = "1", features = ["derive"] }
sha2 = "0.10"
uuid = { version = "1", features = ["v4"] }
[dev-dependencies]
tempfile = "3"

View file

@ -207,7 +207,7 @@ uses:
```powershell
$env:CARGO_TARGET_DIR='C:\Users\Meta\.cargo-target-codex'
cargo test -p epiphany-core --lib atlas::runtime::tests
cargo test -p epiphany-release-construction --lib binary_suffix_follows_requested_target_not_packager_host
cargo test -p epiphany-core --lib binary_suffix_follows_requested_target_not_packager_host
```
Changes to publisher, projector, impact, transport, or Eve lowering logic must