Ghostlight/deployment/idunn/recipe.toml

188 lines
4.8 KiB
TOML
Raw Normal View History

schema = "gamecult.idunn.target_declaration.v1"
target = "ghostlight"
source_stamp_environment = "GHOSTLIGHT_BUILD_COMMIT"
required_gitlinks = ["vendor/eve"]
[[steps]]
id = "test-persona-boundary"
phase = "test"
runner = "rust-build"
required_environment = ["CARGO_HOME", "HOME"]
argv = ["cargo", "test", "--locked", "-p", "ghostlight-persona-projection"]
[[steps]]
Give the world library a sealed public boundary Completes the move begun in the previous commit, which does not build on its own. `ghostlight` is now a library crate with an explicit public surface; `ghostlight-dungeon` is a consumer that reaches the kernel through it and cannot reach past it. Deleted first: `mod world;`, the nine unused re-exports, the `#[cfg(test)]` re-export block, `fixture_controller_opportunities`, the five inference `fixture_*` items, Dungeon's own `VerifiedPrincipalEvidence`, and Dungeon's direct `ghostlight-persona-projection` dependency. The seal. `WorldKernel`, `WorldState`, `reduce`, `apply_effect`, `CommandEnvelope`, `AuthenticatedCaller`, the journal writer, every ID `issue()`, and `ScopeDigest::fixture` carry no `pub` of any kind and no feature gate; the crate declares no `[features]`, so no build configuration can lift them. Ten `compile_fail` doc-tests stand outside the crate and pin each one to its error code. The principal seam. The library owns `VerifiedPrincipalEvidence` with a public `new`; `mailbox` still bounds it by `valid_until` at ingress. A Dungeon test counts the minters in production source and fails at anything but one. The port contract (Q1-7). `PreparedInference::prepare` (renamed from the free `prepare_invocation`), `InferenceOutput::new`, and `InferenceFault::{retryable, recovery_required, integrity_violation}` are now the port's public constructors, so a consumer-implemented `InferencePort` can answer without test-only wrappers. `TracingInferencePort` is an ungated decorator. The tick-ordering test (Q1-8) derives its cover from a real active world through `derive_cover` and asserts two cells; its ordering and shared-tick assertions are unchanged. Behaviour is unchanged. The library's 420 unit tests are the base `world::` set with the prefix stripped — the names diff empty. Dungeon keeps all 49 of its names and gains two Soul tests the boundary requires. No schema string, digest preimage, or store layout is touched. Windows verification only; the Linux release is Idunn's build. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 02:06:07 +02:00
id = "test-world-library"
phase = "test"
runner = "rust-build"
required_environment = ["CARGO_HOME", "HOME"]
Give the world library a sealed public boundary Completes the move begun in the previous commit, which does not build on its own. `ghostlight` is now a library crate with an explicit public surface; `ghostlight-dungeon` is a consumer that reaches the kernel through it and cannot reach past it. Deleted first: `mod world;`, the nine unused re-exports, the `#[cfg(test)]` re-export block, `fixture_controller_opportunities`, the five inference `fixture_*` items, Dungeon's own `VerifiedPrincipalEvidence`, and Dungeon's direct `ghostlight-persona-projection` dependency. The seal. `WorldKernel`, `WorldState`, `reduce`, `apply_effect`, `CommandEnvelope`, `AuthenticatedCaller`, the journal writer, every ID `issue()`, and `ScopeDigest::fixture` carry no `pub` of any kind and no feature gate; the crate declares no `[features]`, so no build configuration can lift them. Ten `compile_fail` doc-tests stand outside the crate and pin each one to its error code. The principal seam. The library owns `VerifiedPrincipalEvidence` with a public `new`; `mailbox` still bounds it by `valid_until` at ingress. A Dungeon test counts the minters in production source and fails at anything but one. The port contract (Q1-7). `PreparedInference::prepare` (renamed from the free `prepare_invocation`), `InferenceOutput::new`, and `InferenceFault::{retryable, recovery_required, integrity_violation}` are now the port's public constructors, so a consumer-implemented `InferencePort` can answer without test-only wrappers. `TracingInferencePort` is an ungated decorator. The tick-ordering test (Q1-8) derives its cover from a real active world through `derive_cover` and asserts two cells; its ordering and shared-tick assertions are unchanged. Behaviour is unchanged. The library's 420 unit tests are the base `world::` set with the prefix stripped — the names diff empty. Dungeon keeps all 49 of its names and gains two Soul tests the boundary requires. No schema string, digest preimage, or store layout is touched. Windows verification only; the Linux release is Idunn's build. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 02:06:07 +02:00
argv = ["cargo", "test", "--locked", "-p", "ghostlight"]
[[steps]]
id = "test-dungeon"
phase = "test"
runner = "rust-build"
required_environment = ["CARGO_HOME", "HOME"]
argv = ["cargo", "test", "--locked", "-p", "ghostlight-dungeon", "--bin", "ghostlight-dungeon"]
[[steps]]
id = "build-daemon"
phase = "build"
runner = "rust-build"
required_environment = ["CARGO_HOME", "HOME"]
argv = ["cargo", "build", "--locked", "--release", "-p", "ghostlight-dungeon", "--bin", "ghostlight-dungeon"]
[[steps]]
id = "install-web-dependencies"
phase = "prepare"
runner = "web-build"
required_environment = ["HOME", "NPM_CONFIG_CACHE"]
argv = ["npm", "--prefix", "web", "ci"]
[[steps]]
id = "test-web"
phase = "test"
runner = "web-build"
required_environment = ["HOME", "NPM_CONFIG_CACHE"]
argv = ["npm", "--prefix", "web", "test"]
[[steps]]
id = "build-web"
phase = "build"
runner = "web-build"
required_environment = ["HOME", "NPM_CONFIG_CACHE"]
argv = ["npm", "--prefix", "web", "run", "build"]
[[steps]]
id = "accept-real-persona-membrane"
phase = "acceptance"
runner = "rust-acceptance"
argv = [
"cargo",
"test",
"--locked",
"-p",
Give the world library a sealed public boundary Completes the move begun in the previous commit, which does not build on its own. `ghostlight` is now a library crate with an explicit public surface; `ghostlight-dungeon` is a consumer that reaches the kernel through it and cannot reach past it. Deleted first: `mod world;`, the nine unused re-exports, the `#[cfg(test)]` re-export block, `fixture_controller_opportunities`, the five inference `fixture_*` items, Dungeon's own `VerifiedPrincipalEvidence`, and Dungeon's direct `ghostlight-persona-projection` dependency. The seal. `WorldKernel`, `WorldState`, `reduce`, `apply_effect`, `CommandEnvelope`, `AuthenticatedCaller`, the journal writer, every ID `issue()`, and `ScopeDigest::fixture` carry no `pub` of any kind and no feature gate; the crate declares no `[features]`, so no build configuration can lift them. Ten `compile_fail` doc-tests stand outside the crate and pin each one to its error code. The principal seam. The library owns `VerifiedPrincipalEvidence` with a public `new`; `mailbox` still bounds it by `valid_until` at ingress. A Dungeon test counts the minters in production source and fails at anything but one. The port contract (Q1-7). `PreparedInference::prepare` (renamed from the free `prepare_invocation`), `InferenceOutput::new`, and `InferenceFault::{retryable, recovery_required, integrity_violation}` are now the port's public constructors, so a consumer-implemented `InferencePort` can answer without test-only wrappers. `TracingInferencePort` is an ungated decorator. The tick-ordering test (Q1-8) derives its cover from a real active world through `derive_cover` and asserts two cells; its ordering and shared-tick assertions are unchanged. Behaviour is unchanged. The library's 420 unit tests are the base `world::` set with the prefix stripped — the names diff empty. Dungeon keeps all 49 of its names and gains two Soul tests the boundary requires. No schema string, digest preimage, or store layout is touched. Windows verification only; the Linux release is Idunn's build. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 02:06:07 +02:00
"ghostlight",
"--lib",
"controllers::tests::real_local_model_cognition_modes_commit_speech",
"--",
"--ignored",
"--exact",
]
required_environment = [
"CARGO_HOME",
"GHOSTLIGHT_ACCEPTANCE_PERSONA_PROSE_LOG",
Take runtime identity, bind, and state root from Idunn The daemon declared its own GHOSTLIGHT_RUNTIME_ID, GHOSTLIGHT_DUNGEON_BIND, and GHOSTLIGHT_DUNGEON_ROOT. Under the managed contract Idunn owns all three: the runtime id arrives inside the activation bundle, the bind is a candidate socket Idunn hands down, and the state root is an admitted workload path. A service that also names them from its own environment is a second opinion about facts it does not own. runtime.rs already resolved the runtime id from the admission and kept GHOSTLIGHT_RUNTIME_ID only as the unmanaged fallback. This is the caller side catching up: main.rs accepts --state-root and passes it through, and the recipe declares the state_root argument binding plus the three GAMECULT_IDUNN_* variables while dropping the three the daemon no longer reads. The binding is required, not cosmetic. Idunn refuses a stateful workload with no state_root argument binding and refuses one whose binding disagrees with the admitted root, so the recipe could not have deployed without it. The acceptance harness kept its own GHOSTLIGHT_RUNTIME_ID; it is renamed to GHOSTLIGHT_ACCEPTANCE_RUNTIME_ID so a test-supplied identity cannot be mistaken for the managed one. The mesh surface test compared the published record against a freshly built surface, including updatedAtUtc, which is a live timestamp. It now asserts the structural fields, parses the timestamp, and compares surface and commands. cargo test --workspace: 89 passed, 0 failed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 01:24:08 +02:00
"GHOSTLIGHT_ACCEPTANCE_RUNTIME_ID",
"GHOSTLIGHT_CONTROLLER_ELABORATOR_MODEL",
"GHOSTLIGHT_CONTROLLER_INTERPRETER_MODEL",
"GHOSTLIGHT_CONTROLLER_OPERATIONAL_MODEL",
"GHOSTLIGHT_CONTROLLER_PERSONA_MODEL",
"GHOSTLIGHT_CONTROLLER_PROJECTOR_MODEL",
"HOME",
"GHOSTLIGHT_LOCAL_ENDPOINT",
]
[[artifacts]]
id = "ghostlight-dungeon"
source_kind = "runner-output"
runner = "rust-build"
source = "target/release/ghostlight-dungeon"
destination = "ghostlight-dungeon"
executable = true
[[artifacts]]
id = "web"
source_kind = "runner-output"
runner = "web-build"
source = "web/dist"
destination = "web"
[service]
executable_artifact = "ghostlight-dungeon"
required_adjacent_artifacts = ["web"]
Take runtime identity, bind, and state root from Idunn The daemon declared its own GHOSTLIGHT_RUNTIME_ID, GHOSTLIGHT_DUNGEON_BIND, and GHOSTLIGHT_DUNGEON_ROOT. Under the managed contract Idunn owns all three: the runtime id arrives inside the activation bundle, the bind is a candidate socket Idunn hands down, and the state root is an admitted workload path. A service that also names them from its own environment is a second opinion about facts it does not own. runtime.rs already resolved the runtime id from the admission and kept GHOSTLIGHT_RUNTIME_ID only as the unmanaged fallback. This is the caller side catching up: main.rs accepts --state-root and passes it through, and the recipe declares the state_root argument binding plus the three GAMECULT_IDUNN_* variables while dropping the three the daemon no longer reads. The binding is required, not cosmetic. Idunn refuses a stateful workload with no state_root argument binding and refuses one whose binding disagrees with the admitted root, so the recipe could not have deployed without it. The acceptance harness kept its own GHOSTLIGHT_RUNTIME_ID; it is renamed to GHOSTLIGHT_ACCEPTANCE_RUNTIME_ID so a test-supplied identity cannot be mistaken for the managed one. The mesh surface test compared the published record against a freshly built surface, including updatedAtUtc, which is a live timestamp. It now asserts the structural fields, parses the timestamp, and compares surface and commands. cargo test --workspace: 89 passed, 0 failed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 01:24:08 +02:00
arguments = [
{ kind = "literal", value = "--state-root" },
{ kind = "binding", name = "state_root" },
]
transport = "http"
route_required = true
required_environment = [
Take runtime identity, bind, and state root from Idunn The daemon declared its own GHOSTLIGHT_RUNTIME_ID, GHOSTLIGHT_DUNGEON_BIND, and GHOSTLIGHT_DUNGEON_ROOT. Under the managed contract Idunn owns all three: the runtime id arrives inside the activation bundle, the bind is a candidate socket Idunn hands down, and the state root is an admitted workload path. A service that also names them from its own environment is a second opinion about facts it does not own. runtime.rs already resolved the runtime id from the admission and kept GHOSTLIGHT_RUNTIME_ID only as the unmanaged fallback. This is the caller side catching up: main.rs accepts --state-root and passes it through, and the recipe declares the state_root argument binding plus the three GAMECULT_IDUNN_* variables while dropping the three the daemon no longer reads. The binding is required, not cosmetic. Idunn refuses a stateful workload with no state_root argument binding and refuses one whose binding disagrees with the admitted root, so the recipe could not have deployed without it. The acceptance harness kept its own GHOSTLIGHT_RUNTIME_ID; it is renamed to GHOSTLIGHT_ACCEPTANCE_RUNTIME_ID so a test-supplied identity cannot be mistaken for the managed one. The mesh surface test compared the published record against a freshly built surface, including updatedAtUtc, which is a live timestamp. It now asserts the structural fields, parses the timestamp, and compares surface and commands. cargo test --workspace: 89 passed, 0 failed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 01:24:08 +02:00
"GAMECULT_IDUNN_CANDIDATE_BIND",
"GAMECULT_IDUNN_PROCESS_WRITE_LEASE",
"GAMECULT_IDUNN_RUNTIME_BUNDLE",
"GHOSTLIGHT_CONTROLLER_ELABORATOR_MODEL",
"GHOSTLIGHT_CONTROLLER_INTERPRETER_MODEL",
"GHOSTLIGHT_CONTROLLER_OPERATIONAL_MODEL",
"GHOSTLIGHT_CONTROLLER_PERSONA_MODEL",
"GHOSTLIGHT_CONTROLLER_PROJECTOR_MODEL",
"GHOSTLIGHT_DISCORD_GUILD_ID",
"GHOSTLIGHT_DISCORD_ROLE_ID",
"GHOSTLIGHT_HEIMDALL_APP_SECRET_FILE",
"GHOSTLIGHT_HEIMDALL_BASE_URL",
"GHOSTLIGHT_LOCAL_ENDPOINT",
"GHOSTLIGHT_LOCATED_SERVICE",
"GHOSTLIGHT_ODIN_RUDP",
"GHOSTLIGHT_PLAY_MODEL",
"GHOSTLIGHT_PUBLIC_APP_URL",
"GHOSTLIGHT_SERVICE_ID",
"GHOSTLIGHT_SESSION_WRAPPING_KEY_FILE",
]
optional_environment = ["RUST_LOG"]
[service.health]
contract = "ghostlight.cultnet-rudp-service-health"
[state]
Cut CodexConnector out of managed admission; fix Heimdall's dependency kind and recipe/binary drift F1 (critical, Soul): managed admission still bailed without GHOSTLIGHT_CONTROLLER_CONNECTOR and required Idunn's Expected to carry a third, connector, dependency that no longer exists anywhere upstream. idunn_health.rs now reads no connector env, requires exactly Ghostlight's two real dependencies (Odin, Heimdall), and RuntimeDependencyBindings/ RuntimePresencePublisher carry no connector field. runtime.rs's open_controller no longer takes an endpoint parameter for a lane it cannot offer: Dungeon passes None for ConnectorBinding and says why in a comment. configured_connector_endpoint is deleted. The library's CodexConnector transport (crates/ghostlight) is untouched, and play.rs's own use of the codex_connector crate for transcript types is unrelated and untouched. F3: Heimdall is not an Idunn-v2-managed incarnation (every v2 deploy has failed; it runs as legacy heimdall.service). Idunn projects an [[external_capabilities]]-declared provider as provider_authority = "external-operator-binding" with no provider_expected_projection_sha256 (Idunn's DependencySelection::expected_projection), never the managed shape a "required" dependency expects. Recipe's Heimdall dependency kind is now "external-operator-binding"; idunn_health.rs's required_external_dependency checks exactly that shape. Odin stays a managed shared-infrastructure dependency. F2: the recipe disagreed with the binary on every declared contract, so Warming would fail even with F1/F3 fixed. schema_generation was "world-v2" against the daemon's "world-v3"; ghostlight.world-service provided "foundation-v0" against the binary's actual ghostlight.world_state.consumer.v6 / consumer-v6 (STATE_SCHEMA); controller-work's slot schema was pinned at "v3" against the code's "v17". Fixed all three against the source constants, and recomputed idunn_health.rs's STATE_CONTRACT_SHA256 against the corrected [state] block using Idunn's own canonical_state_contract_sha256 (msgpack + sha256 of the recipe's StateDeclaration) run against the finalized recipe — not guessed. Promoted CONTROLLER_WORK_SCHEMA (ghostlight) and STORE_SCHEMA (ghostlight-dungeon's app_session) from private to pub/pub(crate) so a test can check itself against them instead of hand-copying version numbers. Added one Dungeon test, recipe_matches_the_daemon_it_deploys, pinning recipe strings against the daemon's own constants: state generation, provided schema/compatibility, all four slot schemas, the exact dependency count and kinds, and the absence of the retired CodexConnector dependency. No TOML parser exists in this workspace's Cargo.lock, so it string-matches the exact values rather than parsing into a struct — it catches value drift but not field-placement drift a real parse would also catch (documented in the test's own comment). Mutation-verified: corrupting schema_generation fails it; reverted (diff-clean). Verification: cargo test -p ghostlight-dungeon --bin ghostlight-dungeon -> 185 passed, 0 failed, 4 ignored (was 184; +1 for the new test). cargo test -p ghostlight --lib controllers:: -> 131 passed, 0 failed, 1 ignored, unchanged. Negative grep for CONNECTOR in crates/ghostlight-dungeon/src: zero survivors. sudo -n idunn validate on Yggdrasil against the updated recipe + binding: both ok. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-23 15:59:09 +02:00
schema_generation = "world-v3"
[[state.slots]]
id = "world"
relative_path = "world.cc"
kind = "cultcache-file"
Cut CodexConnector out of managed admission; fix Heimdall's dependency kind and recipe/binary drift F1 (critical, Soul): managed admission still bailed without GHOSTLIGHT_CONTROLLER_CONNECTOR and required Idunn's Expected to carry a third, connector, dependency that no longer exists anywhere upstream. idunn_health.rs now reads no connector env, requires exactly Ghostlight's two real dependencies (Odin, Heimdall), and RuntimeDependencyBindings/ RuntimePresencePublisher carry no connector field. runtime.rs's open_controller no longer takes an endpoint parameter for a lane it cannot offer: Dungeon passes None for ConnectorBinding and says why in a comment. configured_connector_endpoint is deleted. The library's CodexConnector transport (crates/ghostlight) is untouched, and play.rs's own use of the codex_connector crate for transcript types is unrelated and untouched. F3: Heimdall is not an Idunn-v2-managed incarnation (every v2 deploy has failed; it runs as legacy heimdall.service). Idunn projects an [[external_capabilities]]-declared provider as provider_authority = "external-operator-binding" with no provider_expected_projection_sha256 (Idunn's DependencySelection::expected_projection), never the managed shape a "required" dependency expects. Recipe's Heimdall dependency kind is now "external-operator-binding"; idunn_health.rs's required_external_dependency checks exactly that shape. Odin stays a managed shared-infrastructure dependency. F2: the recipe disagreed with the binary on every declared contract, so Warming would fail even with F1/F3 fixed. schema_generation was "world-v2" against the daemon's "world-v3"; ghostlight.world-service provided "foundation-v0" against the binary's actual ghostlight.world_state.consumer.v6 / consumer-v6 (STATE_SCHEMA); controller-work's slot schema was pinned at "v3" against the code's "v17". Fixed all three against the source constants, and recomputed idunn_health.rs's STATE_CONTRACT_SHA256 against the corrected [state] block using Idunn's own canonical_state_contract_sha256 (msgpack + sha256 of the recipe's StateDeclaration) run against the finalized recipe — not guessed. Promoted CONTROLLER_WORK_SCHEMA (ghostlight) and STORE_SCHEMA (ghostlight-dungeon's app_session) from private to pub/pub(crate) so a test can check itself against them instead of hand-copying version numbers. Added one Dungeon test, recipe_matches_the_daemon_it_deploys, pinning recipe strings against the daemon's own constants: state generation, provided schema/compatibility, all four slot schemas, the exact dependency count and kinds, and the absence of the retired CodexConnector dependency. No TOML parser exists in this workspace's Cargo.lock, so it string-matches the exact values rather than parsing into a struct — it catches value drift but not field-placement drift a real parse would also catch (documented in the test's own comment). Mutation-verified: corrupting schema_generation fails it; reverted (diff-clean). Verification: cargo test -p ghostlight-dungeon --bin ghostlight-dungeon -> 185 passed, 0 failed, 4 ignored (was 184; +1 for the new test). cargo test -p ghostlight --lib controllers:: -> 131 passed, 0 failed, 1 ignored, unchanged. Negative grep for CONNECTOR in crates/ghostlight-dungeon/src: zero survivors. sudo -n idunn validate on Yggdrasil against the updated recipe + binding: both ok. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-23 15:59:09 +02:00
schema = "ghostlight.world_state.consumer.v6"
writer = "process-bound-single-writer"
recovery = "preserve"
startup = "create-or-open-after-write-lease"
[[state.slots]]
id = "app-sessions"
relative_path = "service/app-sessions-v2.cc"
kind = "cultcache-file"
schema = "ghostlight.app_session_store.v2"
writer = "process-bound-single-writer"
recovery = "preserve"
startup = "create-or-open-after-write-lease"
[[state.slots]]
id = "controller-work"
relative_path = "service/controller-work.cc"
kind = "cultcache-file"
Cut CodexConnector out of managed admission; fix Heimdall's dependency kind and recipe/binary drift F1 (critical, Soul): managed admission still bailed without GHOSTLIGHT_CONTROLLER_CONNECTOR and required Idunn's Expected to carry a third, connector, dependency that no longer exists anywhere upstream. idunn_health.rs now reads no connector env, requires exactly Ghostlight's two real dependencies (Odin, Heimdall), and RuntimeDependencyBindings/ RuntimePresencePublisher carry no connector field. runtime.rs's open_controller no longer takes an endpoint parameter for a lane it cannot offer: Dungeon passes None for ConnectorBinding and says why in a comment. configured_connector_endpoint is deleted. The library's CodexConnector transport (crates/ghostlight) is untouched, and play.rs's own use of the codex_connector crate for transcript types is unrelated and untouched. F3: Heimdall is not an Idunn-v2-managed incarnation (every v2 deploy has failed; it runs as legacy heimdall.service). Idunn projects an [[external_capabilities]]-declared provider as provider_authority = "external-operator-binding" with no provider_expected_projection_sha256 (Idunn's DependencySelection::expected_projection), never the managed shape a "required" dependency expects. Recipe's Heimdall dependency kind is now "external-operator-binding"; idunn_health.rs's required_external_dependency checks exactly that shape. Odin stays a managed shared-infrastructure dependency. F2: the recipe disagreed with the binary on every declared contract, so Warming would fail even with F1/F3 fixed. schema_generation was "world-v2" against the daemon's "world-v3"; ghostlight.world-service provided "foundation-v0" against the binary's actual ghostlight.world_state.consumer.v6 / consumer-v6 (STATE_SCHEMA); controller-work's slot schema was pinned at "v3" against the code's "v17". Fixed all three against the source constants, and recomputed idunn_health.rs's STATE_CONTRACT_SHA256 against the corrected [state] block using Idunn's own canonical_state_contract_sha256 (msgpack + sha256 of the recipe's StateDeclaration) run against the finalized recipe — not guessed. Promoted CONTROLLER_WORK_SCHEMA (ghostlight) and STORE_SCHEMA (ghostlight-dungeon's app_session) from private to pub/pub(crate) so a test can check itself against them instead of hand-copying version numbers. Added one Dungeon test, recipe_matches_the_daemon_it_deploys, pinning recipe strings against the daemon's own constants: state generation, provided schema/compatibility, all four slot schemas, the exact dependency count and kinds, and the absence of the retired CodexConnector dependency. No TOML parser exists in this workspace's Cargo.lock, so it string-matches the exact values rather than parsing into a struct — it catches value drift but not field-placement drift a real parse would also catch (documented in the test's own comment). Mutation-verified: corrupting schema_generation fails it; reverted (diff-clean). Verification: cargo test -p ghostlight-dungeon --bin ghostlight-dungeon -> 185 passed, 0 failed, 4 ignored (was 184; +1 for the new test). cargo test -p ghostlight --lib controllers:: -> 131 passed, 0 failed, 1 ignored, unchanged. Negative grep for CONNECTOR in crates/ghostlight-dungeon/src: zero survivors. sudo -n idunn validate on Yggdrasil against the updated recipe + binding: both ok. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-23 15:59:09 +02:00
schema = "ghostlight.controller_work.v17"
writer = "process-bound-single-writer"
recovery = "preserve"
startup = "create-or-open-after-write-lease"
[[state.slots]]
id = "mesh-projection"
relative_path = "service/mesh-v2.cc"
kind = "cultcache-file"
schema = "gamecult.eve.surface.v1"
writer = "process-bound-single-writer"
recovery = "rebuildable"
startup = "create-or-open-after-write-lease"
[[provides]]
capability = "ghostlight.world-service"
Cut CodexConnector out of managed admission; fix Heimdall's dependency kind and recipe/binary drift F1 (critical, Soul): managed admission still bailed without GHOSTLIGHT_CONTROLLER_CONNECTOR and required Idunn's Expected to carry a third, connector, dependency that no longer exists anywhere upstream. idunn_health.rs now reads no connector env, requires exactly Ghostlight's two real dependencies (Odin, Heimdall), and RuntimeDependencyBindings/ RuntimePresencePublisher carry no connector field. runtime.rs's open_controller no longer takes an endpoint parameter for a lane it cannot offer: Dungeon passes None for ConnectorBinding and says why in a comment. configured_connector_endpoint is deleted. The library's CodexConnector transport (crates/ghostlight) is untouched, and play.rs's own use of the codex_connector crate for transcript types is unrelated and untouched. F3: Heimdall is not an Idunn-v2-managed incarnation (every v2 deploy has failed; it runs as legacy heimdall.service). Idunn projects an [[external_capabilities]]-declared provider as provider_authority = "external-operator-binding" with no provider_expected_projection_sha256 (Idunn's DependencySelection::expected_projection), never the managed shape a "required" dependency expects. Recipe's Heimdall dependency kind is now "external-operator-binding"; idunn_health.rs's required_external_dependency checks exactly that shape. Odin stays a managed shared-infrastructure dependency. F2: the recipe disagreed with the binary on every declared contract, so Warming would fail even with F1/F3 fixed. schema_generation was "world-v2" against the daemon's "world-v3"; ghostlight.world-service provided "foundation-v0" against the binary's actual ghostlight.world_state.consumer.v6 / consumer-v6 (STATE_SCHEMA); controller-work's slot schema was pinned at "v3" against the code's "v17". Fixed all three against the source constants, and recomputed idunn_health.rs's STATE_CONTRACT_SHA256 against the corrected [state] block using Idunn's own canonical_state_contract_sha256 (msgpack + sha256 of the recipe's StateDeclaration) run against the finalized recipe — not guessed. Promoted CONTROLLER_WORK_SCHEMA (ghostlight) and STORE_SCHEMA (ghostlight-dungeon's app_session) from private to pub/pub(crate) so a test can check itself against them instead of hand-copying version numbers. Added one Dungeon test, recipe_matches_the_daemon_it_deploys, pinning recipe strings against the daemon's own constants: state generation, provided schema/compatibility, all four slot schemas, the exact dependency count and kinds, and the absence of the retired CodexConnector dependency. No TOML parser exists in this workspace's Cargo.lock, so it string-matches the exact values rather than parsing into a struct — it catches value drift but not field-placement drift a real parse would also catch (documented in the test's own comment). Mutation-verified: corrupting schema_generation fails it; reverted (diff-clean). Verification: cargo test -p ghostlight-dungeon --bin ghostlight-dungeon -> 185 passed, 0 failed, 4 ignored (was 184; +1 for the new test). cargo test -p ghostlight --lib controllers:: -> 131 passed, 0 failed, 1 ignored, unchanged. Negative grep for CONNECTOR in crates/ghostlight-dungeon/src: zero survivors. sudo -n idunn validate on Yggdrasil against the updated recipe + binding: both ok. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-23 15:59:09 +02:00
schema = "ghostlight.world_state.consumer.v6"
compatibility = "consumer-v6"
[[provides]]
capability = "gamecult.eve.surface-provider"
schema = "gamecult.eve.surface.v1"
compatibility = "v1"
[[dependencies]]
kind = "shared-infrastructure"
capability = "odin.verse-rendezvous"
schema = "odin.verse-topology.v1"
compatibility = "v1"
startup = "before-promotion"