2026-08-09 04:25:00 +01:00
[ workspace ]
members = [
"epiphany-core" ,
"epiphany-model-adapter" ,
"epiphany-openai-runtime" ,
Extract epiphany-pipeline, and add the three kinds a mind is keyed by
Ruling 1 keeps schema ownership in Epiphany; ruling 17 puts admission in
Huginn. Huginn must not take on epiphany-core -- about 41,000 lines and 295
lock packages -- to use about 1,000 lines of document types. So the documents
leave as a leaf library, and epiphany-core keeps no pipeline surface at all:
its consumption is campaign two.
`epiphany-core/src/pipeline_documents.rs` moves whole to
`epiphany-pipeline/src/lib.rs`, with its nine tests. Only three things changed
in the move: the module doc now describes a package rather than a cut map
section; `anyhow` joins `rmp-serde` behind `cfg(test)`, because the write path
has been test-only since 186dbc62 and the live library's errors are all
`PipelineRefusal`; and the decode refusal, which was pinned against
epiphany-core's Mind commit receipt, is pinned against a local `ForeignDocument`
carrying that receipt's type id, since the receipt belongs to the harness.
The package declares four dependencies. chrono parses a Date, cultcache-rs
supplies DatabaseEntry, schemars derives the published schemas (Q5), and serde
is the document format. anyhow, rmp-serde and serde_json are dev-dependencies:
every use of them is `cfg(test)`. `autobins = false`, as a leaf library must.
The workspace lock grows by exactly one entry, the member itself; no new
third-party package.
Deleted rather than re-exported: epiphany-core's `mod pipeline_documents;` and
`pub use pipeline_documents::*;`, and `schemars` from its manifest, whose only
user was this module. No shim, no duplicate type.
`runtime_spine_cache_refuses_a_pipeline_store` stays in epiphany-core, because
the rule is the spine registry's: it registers its own types and nothing else.
It now builds its foreign envelope from a `cfg(test)` stand-in carrying
`epiphany.pipeline.campaign.v1` rather than from the moved documents, so the
rule keeps its test without the package keeping a dependency.
D2's three new kinds arrive with the move, each with a live consumer in the
organ: `instance` is a mind's identity document, `stewardship` records the
repos an instance is assigned, and `hand_off` records a reassignment in both
minds. All three hang off an instance rather than a campaign, so they compose
their own keys instead of borrowing the `<campaign>:<kind>:<local>` tail. A
repo inside a key is escaped to `Org_Repo`, because `/` is not a Label byte.
Thirteen schemas now derive. The five that embed `PipelineKind` gained three
enum variants, which is additive, so Q2 keeps `epiphany.pipeline.epoch.v1`.
epiphany-pipeline: 12 tests, 0 warnings. epiphany-core: 163 tests -- 172 minus
the nine that moved -- 0 warnings. epiphany-state.exe is byte-identical.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 11:40:12 +02:00
"epiphany-pipeline" ,
2026-08-09 04:25:00 +01:00
"epiphany-tool-adapter" ,
"epiphany-tool-mcp-runtime" ,
]
resolver = "3"
2026-08-07 21:26:07 +01:00
[ package ]
name = "epiphany-release-bundle"
version = "0.1.0"
edition = "2024"
publish = false
autobins = false
license-file = "LICENSE"
[ dependencies ]
anyhow = "1"
chrono = "0.4.44"
2026-08-09 08:53:39 +01:00
ctrlc = { version = "3.5.1" , features = [ "termination" ] }
2026-09-15 20:00:01 +02:00
cultcache-rs = { git = "https://github.com/GameCult/CultLib.git" , rev = "a0813c6eed24d30bf88073ef615b633c77ebfcd6" , package = "cultcache-rs" }
cultnet-rs = { git = "https://github.com/GameCult/CultLib.git" , rev = "a0813c6eed24d30bf88073ef615b633c77ebfcd6" , package = "cultnet-rs" }
2026-08-07 21:26:07 +01:00
epiphany-core = { path = "epiphany-core" }
epiphany-model-adapter = { path = "epiphany-model-adapter" }
2026-08-09 07:38:57 +01:00
epiphany-openai-runtime = { path = "epiphany-openai-runtime" , optional = true }
2026-08-25 14:05:32 +02:00
codex-connector = { git = "https://github.com/GameCult/CodexConnector" , rev = "be1776ab455fd79bd74b393518ab07211dc9c1f0" , default-features = false , optional = true }
2026-08-07 21:26:07 +01:00
epiphany-tool-adapter = { path = "epiphany-tool-adapter" }
2026-08-09 07:38:57 +01:00
epiphany-tool-mcp-runtime = { path = "epiphany-tool-mcp-runtime" , optional = true }
2026-08-07 21:26:07 +01:00
rmp-serde = "1"
serde = { version = "1" , features = [ "derive" ] }
serde_json = "1"
sha2 = "0.10"
tokio = { version = "1" , features = [ "io-util" , "macros" , "process" , "rt" , "rt-multi-thread" , "time" ] }
toml = "0.9"
2026-08-24 17:57:06 +02:00
ureq = { version = "3.4" , default-features = false , features = [ "rustls" ] , optional = true }
2026-08-14 16:19:35 +02:00
uuid = { version = "1" , features = [ "serde" , "v4" ] }
2026-08-24 17:57:06 +02:00
zeroize = { version = "1" , optional = true }
2026-08-07 21:26:07 +01:00
[ features ]
2026-08-24 17:57:06 +02:00
openai-runtime = [ "dep:codex-connector" , "dep:epiphany-openai-runtime" , "dep:ureq" , "dep:zeroize" ]
2026-08-09 07:38:57 +01:00
tool-mcp-runtime = [ "dep:epiphany-tool-mcp-runtime" ]
2026-08-23 10:58:26 +02:00
release-runtime = [ "openai-runtime" , "tool-mcp-runtime" ]
2026-08-07 21:26:07 +01:00
2026-08-08 05:25:56 +01:00
[ profile . release ]
incremental = true
2026-08-09 03:52:16 +01:00
[ dev-dependencies ]
tempfile = "3"
2026-08-07 21:26:07 +01:00
[ [ bin ] ]
name = "epiphany-release"
path = "epiphany-core/src/bin/epiphany-release.rs"
2026-08-09 06:50:21 +01:00
[ [ bin ] ]
name = "epiphany-state"
path = "epiphany-core/src/bin/epiphany-state.rs"
2026-08-07 21:26:07 +01:00
[ [ bin ] ]
name = "epiphany-repository-body"
path = "epiphany-core/src/bin/epiphany-repository-body.rs"
[ [ bin ] ]
name = "epiphany-swarm"
path = "epiphany-core/src/bin/epiphany-swarm.rs"
[ [ bin ] ]
name = "epiphany-persona-service"
path = "epiphany-openai-runtime/src/bin/epiphany-persona-service.rs"
2026-08-09 07:38:57 +01:00
required-features = [ "openai-runtime" ]
2026-08-07 21:26:07 +01:00
[ [ bin ] ]
name = "epiphany-persona-discord-permit"
path = "epiphany-core/src/bin/epiphany-persona-discord-permit.rs"
[ [ bin ] ]
name = "epiphany-mvp-coordinator"
path = "epiphany-core/src/bin/epiphany-mvp-coordinator.rs"
[ [ bin ] ]
name = "epiphany-model-runtime"
2026-08-24 06:43:33 +02:00
path = "epiphany-openai-runtime/src/bin/epiphany-openai-runtime.rs"
2026-08-09 07:38:57 +01:00
required-features = [ "openai-runtime" ]
2026-08-07 21:26:07 +01:00
[ [ bin ] ]
name = "epiphany-tool-mcp-runtime"
path = "epiphany-tool-mcp-runtime/src/main.rs"
2026-08-09 07:38:57 +01:00
required-features = [ "tool-mcp-runtime" ]