Make the public entry point describe the binary that actually ships
The README and unit file I wrote at extraction documented the previous
generation's CLI. Running the deployed ExecStart against a build of this
repository returns `unknown Idunn command "--swarm-profile"`: commit 330e4cd
rebuilt Idunn around typed authority ports and a test now asserts that
--deploy-command, --restart-command and --swarm-profile are rejected. Anyone
following the README would have installed a unit that crashloops on exec
every 5 seconds under Restart=always.
Corrected against the binary, not against the old docs:
- deploy/idunn-yggdrasil.service now invokes `idunn serve` with the real
flags. systemd-analyze verify passes on yggdrasil. /var/lib/gamecult/odin
moved from ReadWritePaths to ReadOnlyPaths -- Idunn only reads Odin's
topology correlation (pull_all_read_only_snapshot, absent store yields
None), and it gates deployment promotion only: continuity never consults
it, per stale_odin_provider_receipt_cannot_gate_continuity_restart.
- README documents the three declarative commands, and adds a section on the
recipe/binding split, which is the security model: capability lives in the
target's repo, privilege lives in the host binding, and a binding that
omits an affordance the recipe derives fails admit().
- Corrected two inherited claims. The distinct-brake check is per-binding
validation ("deployment and lifecycle brakes are identical"), not a
startup check. And the "inputs: nothing else" claim was false -- the Odin
correlation read is a real, deliberate exception and now says so.
The legacy actuator moves to deploy/legacy/ rather than being deleted: it is
what is installed and running, so it is the before-side of the migration.
Its README maps each shell mechanism to the contract that replaced it, and
preserves the eleven-target inventory read out of deployment_target_policy().
Seven of the eleven are pinned to a codex/ branch rather than main.
docs/guide.md is marked as the previous generation rather than silently
carrying dead commands, and docs/migration.md is new: per-target order,
what to fix before carrying a ref forward, and why the authority cuts over
last. Also fixes a broken cross-link in authority-map.md.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:15:46 +02:00
|
|
|
# Migrating a target onto the current Idunn
|
|
|
|
|
|
|
|
|
|
Status as of 2026-09-05: **no target has been migrated.** The binary installed
|
|
|
|
|
on yggdrasil (`/usr/local/bin/idunn`, 2026-09-02) is the previous generation,
|
|
|
|
|
driven by `--swarm-profile` and a root shell actuator. The current binary
|
|
|
|
|
rejects that invocation outright:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
$ idunn --swarm-profile yggdrasil-local --store ...
|
|
|
|
|
Error: unknown Idunn command "--swarm-profile"
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
This document is the route from one to the other. It is written per target,
|
|
|
|
|
because the cutover is per target — there is no flag-day.
|
|
|
|
|
|
|
|
|
|
## What changes, in one paragraph
|
|
|
|
|
|
|
|
|
|
The old generation kept its target list *in Rust* (`swarm_targets()`, removed by
|
|
|
|
|
`330e4cd`) and its actuation *in shell* (`deploy/legacy/`). The current
|
|
|
|
|
generation keeps capability in a **recipe** inside each target's own repository,
|
|
|
|
|
and privilege in an **operator binding** on the host. Idunn seals source, builds
|
|
|
|
|
in a runner, admits one incarnation, warms a candidate under a distinct UID and
|
|
|
|
|
namespaces, fences the incumbent, promotes the route, and drains. Nothing in
|
|
|
|
|
that path takes a command string.
|
|
|
|
|
|
|
|
|
|
## Order
|
|
|
|
|
|
|
|
|
|
Migrate in dependency order, and migrate the authority's own dependencies last:
|
|
|
|
|
|
Retire codex-connector instead of migrating it; correct the recipe claim
The operator is not returning to Codex, which removes the consumer for a
credential-isolated Codex subscription transport. The deployed daemon is
already dead in practice: codex-connector.service on yggdrasil is active but
has been failing 401 token_expired every three minutes against
chatgpt.com/backend-api/codex/models, with nothing connected to port 4103.
It was this document's first migration target; writing a binding for it
would have been work spent on a corpse. gjallar leads now.
Adds a Retiring Codex section with the blast radius in removal order --
the running unit, the sudoers grants, GameCult/CodexConnector,
Epiphany's openai-codex-spine and codex-bridge plus vendored app-server,
VoidBot's Codex model config, and the AGENTS.md doctrine twin maintained
for a second agent runtime.
It also says what NOT to do: Epiphany and Ghostlight still need an
inference transport, and CodexConnector was one implementation of that
seam rather than the seam itself. Deleting the boundary and letting each
mind grow its own HTTP client would re-fork exactly the wire law that
README exists to prevent. Replace the backend, keep the seam, and settle
that before writing epiphany bindings.
Also corrects a false claim I made in the first draft. Odin's recipe is
not the only worked example -- there are eight, including Ghostlight's and
four Ghostlight-worlds variants. Recipe authoring is not the bottleneck
for those targets; bindings and the daemon cutover are.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:51:50 +02:00
|
|
|
0. **`codex-connector` — do not migrate. Retire it.** The operator is not
|
|
|
|
|
returning to Codex, so a credential-isolated transport for Codex subscription
|
|
|
|
|
inference has nothing left to isolate. It is already dead in practice: the
|
|
|
|
|
deployed daemon has been failing every three minutes with
|
|
|
|
|
`401 ... token_expired` against `chatgpt.com/backend-api/codex/models`, with
|
|
|
|
|
no established connections on its port. Migrating it would mean writing a
|
|
|
|
|
binding for a corpse. See *Retiring Codex* below.
|
|
|
|
|
1. **`gjallar`** — first. Quiet repository, one systemd unit, no compose
|
2026-09-05 23:17:36 +02:00
|
|
|
indirection. It is the cheapest proof that the systemd-transient workload
|
|
|
|
|
driver works end to end on this host.
|
Retire codex-connector instead of migrating it; correct the recipe claim
The operator is not returning to Codex, which removes the consumer for a
credential-isolated Codex subscription transport. The deployed daemon is
already dead in practice: codex-connector.service on yggdrasil is active but
has been failing 401 token_expired every three minutes against
chatgpt.com/backend-api/codex/models, with nothing connected to port 4103.
It was this document's first migration target; writing a binding for it
would have been work spent on a corpse. gjallar leads now.
Adds a Retiring Codex section with the blast radius in removal order --
the running unit, the sudoers grants, GameCult/CodexConnector,
Epiphany's openai-codex-spine and codex-bridge plus vendored app-server,
VoidBot's Codex model config, and the AGENTS.md doctrine twin maintained
for a second agent runtime.
It also says what NOT to do: Epiphany and Ghostlight still need an
inference transport, and CodexConnector was one implementation of that
seam rather than the seam itself. Deleting the boundary and letting each
mind grow its own HTTP client would re-fork exactly the wire law that
README exists to prevent. Replace the backend, keep the seam, and settle
that before writing epiphany bindings.
Also corrects a false claim I made in the first draft. Odin's recipe is
not the only worked example -- there are eight, including Ghostlight's and
four Ghostlight-worlds variants. Recipe authoring is not the bottleneck
for those targets; bindings and the daemon cutover are.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:51:50 +02:00
|
|
|
2. **`ghostlight`** — **blocked, not merely later.** A world-elaboration and
|
2026-09-05 23:17:36 +02:00
|
|
|
ontology rebuild is running in it right now: commits landed 2026-09-05 across
|
|
|
|
|
178 branches, with work parked on `codex/ghostlight-dungeon-mvp`. Adding
|
|
|
|
|
`deployment/idunn/recipe.toml` to that tree collides with live work. Migrate
|
|
|
|
|
it when the rebuild lands, and coordinate rather than assuming.
|
Retire codex-connector instead of migrating it; correct the recipe claim
The operator is not returning to Codex, which removes the consumer for a
credential-isolated Codex subscription transport. The deployed daemon is
already dead in practice: codex-connector.service on yggdrasil is active but
has been failing 401 token_expired every three minutes against
chatgpt.com/backend-api/codex/models, with nothing connected to port 4103.
It was this document's first migration target; writing a binding for it
would have been work spent on a corpse. gjallar leads now.
Adds a Retiring Codex section with the blast radius in removal order --
the running unit, the sudoers grants, GameCult/CodexConnector,
Epiphany's openai-codex-spine and codex-bridge plus vendored app-server,
VoidBot's Codex model config, and the AGENTS.md doctrine twin maintained
for a second agent runtime.
It also says what NOT to do: Epiphany and Ghostlight still need an
inference transport, and CodexConnector was one implementation of that
seam rather than the seam itself. Deleting the boundary and letting each
mind grow its own HTTP client would re-fork exactly the wire law that
README exists to prevent. Replace the backend, keep the seam, and settle
that before writing epiphany bindings.
Also corrects a false claim I made in the first draft. Odin's recipe is
not the only worked example -- there are eight, including Ghostlight's and
four Ghostlight-worlds variants. Recipe authoring is not the bottleneck
for those targets; bindings and the daemon cutover are.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:51:50 +02:00
|
|
|
3. **`heimdall`**, **`repixelizer`**, **`streampixels`** — the
|
Make the public entry point describe the binary that actually ships
The README and unit file I wrote at extraction documented the previous
generation's CLI. Running the deployed ExecStart against a build of this
repository returns `unknown Idunn command "--swarm-profile"`: commit 330e4cd
rebuilt Idunn around typed authority ports and a test now asserts that
--deploy-command, --restart-command and --swarm-profile are rejected. Anyone
following the README would have installed a unit that crashloops on exec
every 5 seconds under Restart=always.
Corrected against the binary, not against the old docs:
- deploy/idunn-yggdrasil.service now invokes `idunn serve` with the real
flags. systemd-analyze verify passes on yggdrasil. /var/lib/gamecult/odin
moved from ReadWritePaths to ReadOnlyPaths -- Idunn only reads Odin's
topology correlation (pull_all_read_only_snapshot, absent store yields
None), and it gates deployment promotion only: continuity never consults
it, per stale_odin_provider_receipt_cannot_gate_continuity_restart.
- README documents the three declarative commands, and adds a section on the
recipe/binding split, which is the security model: capability lives in the
target's repo, privilege lives in the host binding, and a binding that
omits an affordance the recipe derives fails admit().
- Corrected two inherited claims. The distinct-brake check is per-binding
validation ("deployment and lifecycle brakes are identical"), not a
startup check. And the "inputs: nothing else" claim was false -- the Odin
correlation read is a real, deliberate exception and now says so.
The legacy actuator moves to deploy/legacy/ rather than being deleted: it is
what is installed and running, so it is the before-side of the migration.
Its README maps each shell mechanism to the contract that replaced it, and
preserves the eleven-target inventory read out of deployment_target_policy().
Seven of the eleven are pinned to a codex/ branch rather than main.
docs/guide.md is marked as the previous generation rather than silently
carrying dead commands, and docs/migration.md is new: per-target order,
what to fix before carrying a ref forward, and why the authority cuts over
last. Also fixes a broken cross-link in authority-map.md.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:15:46 +02:00
|
|
|
simple ones. `heimdall` and `repixelizer` currently restart via
|
|
|
|
|
`docker compose`, so they are the first real test of a compose-shaped
|
|
|
|
|
workload under the systemd-transient driver.
|
Retire codex-connector instead of migrating it; correct the recipe claim
The operator is not returning to Codex, which removes the consumer for a
credential-isolated Codex subscription transport. The deployed daemon is
already dead in practice: codex-connector.service on yggdrasil is active but
has been failing 401 token_expired every three minutes against
chatgpt.com/backend-api/codex/models, with nothing connected to port 4103.
It was this document's first migration target; writing a binding for it
would have been work spent on a corpse. gjallar leads now.
Adds a Retiring Codex section with the blast radius in removal order --
the running unit, the sudoers grants, GameCult/CodexConnector,
Epiphany's openai-codex-spine and codex-bridge plus vendored app-server,
VoidBot's Codex model config, and the AGENTS.md doctrine twin maintained
for a second agent runtime.
It also says what NOT to do: Epiphany and Ghostlight still need an
inference transport, and CodexConnector was one implementation of that
seam rather than the seam itself. Deleting the boundary and letting each
mind grow its own HTTP client would re-fork exactly the wire law that
README exists to prevent. Replace the backend, keep the seam, and settle
that before writing epiphany bindings.
Also corrects a false claim I made in the first draft. Odin's recipe is
not the only worked example -- there are eight, including Ghostlight's and
four Ghostlight-worlds variants. Recipe authoring is not the bottleneck
for those targets; bindings and the daemon cutover are.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:51:50 +02:00
|
|
|
4. **`bifrost-persona-feedback`** — the only target that carries signed-release
|
Make the public entry point describe the binary that actually ships
The README and unit file I wrote at extraction documented the previous
generation's CLI. Running the deployed ExecStart against a build of this
repository returns `unknown Idunn command "--swarm-profile"`: commit 330e4cd
rebuilt Idunn around typed authority ports and a test now asserts that
--deploy-command, --restart-command and --swarm-profile are rejected. Anyone
following the README would have installed a unit that crashloops on exec
every 5 seconds under Restart=always.
Corrected against the binary, not against the old docs:
- deploy/idunn-yggdrasil.service now invokes `idunn serve` with the real
flags. systemd-analyze verify passes on yggdrasil. /var/lib/gamecult/odin
moved from ReadWritePaths to ReadOnlyPaths -- Idunn only reads Odin's
topology correlation (pull_all_read_only_snapshot, absent store yields
None), and it gates deployment promotion only: continuity never consults
it, per stale_odin_provider_receipt_cannot_gate_continuity_restart.
- README documents the three declarative commands, and adds a section on the
recipe/binding split, which is the security model: capability lives in the
target's repo, privilege lives in the host binding, and a binding that
omits an affordance the recipe derives fails admit().
- Corrected two inherited claims. The distinct-brake check is per-binding
validation ("deployment and lifecycle brakes are identical"), not a
startup check. And the "inputs: nothing else" claim was false -- the Odin
correlation read is a real, deliberate exception and now says so.
The legacy actuator moves to deploy/legacy/ rather than being deleted: it is
what is installed and running, so it is the before-side of the migration.
Its README maps each shell mechanism to the contract that replaced it, and
preserves the eleven-target inventory read out of deployment_target_policy().
Seven of the eleven are pinned to a codex/ branch rather than main.
docs/guide.md is marked as the previous generation rather than silently
carrying dead commands, and docs/migration.md is new: per-target order,
what to fix before carrying a ref forward, and why the authority cuts over
last. Also fixes a broken cross-link in authority-map.md.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:15:46 +02:00
|
|
|
authority. Migrate it *after* at least three ref-head targets work, because
|
|
|
|
|
it is the one that exercises `selection = "signed-release"`.
|
Retire codex-connector instead of migrating it; correct the recipe claim
The operator is not returning to Codex, which removes the consumer for a
credential-isolated Codex subscription transport. The deployed daemon is
already dead in practice: codex-connector.service on yggdrasil is active but
has been failing 401 token_expired every three minutes against
chatgpt.com/backend-api/codex/models, with nothing connected to port 4103.
It was this document's first migration target; writing a binding for it
would have been work spent on a corpse. gjallar leads now.
Adds a Retiring Codex section with the blast radius in removal order --
the running unit, the sudoers grants, GameCult/CodexConnector,
Epiphany's openai-codex-spine and codex-bridge plus vendored app-server,
VoidBot's Codex model config, and the AGENTS.md doctrine twin maintained
for a second agent runtime.
It also says what NOT to do: Epiphany and Ghostlight still need an
inference transport, and CodexConnector was one implementation of that
seam rather than the seam itself. Deleting the boundary and letting each
mind grow its own HTTP client would re-fork exactly the wire law that
README exists to prevent. Replace the backend, keep the seam, and settle
that before writing epiphany bindings.
Also corrects a false claim I made in the first draft. Odin's recipe is
not the only worked example -- there are eight, including Ghostlight's and
four Ghostlight-worlds variants. Recipe authoring is not the bottleneck
for those targets; bindings and the daemon cutover are.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:51:50 +02:00
|
|
|
5. **`epiphany`** and **`epiphany-capstone-17`** — two targets sharing a
|
Make the public entry point describe the binary that actually ships
The README and unit file I wrote at extraction documented the previous
generation's CLI. Running the deployed ExecStart against a build of this
repository returns `unknown Idunn command "--swarm-profile"`: commit 330e4cd
rebuilt Idunn around typed authority ports and a test now asserts that
--deploy-command, --restart-command and --swarm-profile are rejected. Anyone
following the README would have installed a unit that crashloops on exec
every 5 seconds under Restart=always.
Corrected against the binary, not against the old docs:
- deploy/idunn-yggdrasil.service now invokes `idunn serve` with the real
flags. systemd-analyze verify passes on yggdrasil. /var/lib/gamecult/odin
moved from ReadWritePaths to ReadOnlyPaths -- Idunn only reads Odin's
topology correlation (pull_all_read_only_snapshot, absent store yields
None), and it gates deployment promotion only: continuity never consults
it, per stale_odin_provider_receipt_cannot_gate_continuity_restart.
- README documents the three declarative commands, and adds a section on the
recipe/binding split, which is the security model: capability lives in the
target's repo, privilege lives in the host binding, and a binding that
omits an affordance the recipe derives fails admit().
- Corrected two inherited claims. The distinct-brake check is per-binding
validation ("deployment and lifecycle brakes are identical"), not a
startup check. And the "inputs: nothing else" claim was false -- the Odin
correlation read is a real, deliberate exception and now says so.
The legacy actuator moves to deploy/legacy/ rather than being deleted: it is
what is installed and running, so it is the before-side of the migration.
Its README maps each shell mechanism to the contract that replaced it, and
preserves the eleven-target inventory read out of deployment_target_policy().
Seven of the eleven are pinned to a codex/ branch rather than main.
docs/guide.md is marked as the previous generation rather than silently
carrying dead commands, and docs/migration.md is new: per-target order,
what to fix before carrying a ref forward, and why the authority cuts over
last. Also fixes a broken cross-link in authority-map.md.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:15:46 +02:00
|
|
|
repository. Prove the binding-per-target model here.
|
Retire codex-connector instead of migrating it; correct the recipe claim
The operator is not returning to Codex, which removes the consumer for a
credential-isolated Codex subscription transport. The deployed daemon is
already dead in practice: codex-connector.service on yggdrasil is active but
has been failing 401 token_expired every three minutes against
chatgpt.com/backend-api/codex/models, with nothing connected to port 4103.
It was this document's first migration target; writing a binding for it
would have been work spent on a corpse. gjallar leads now.
Adds a Retiring Codex section with the blast radius in removal order --
the running unit, the sudoers grants, GameCult/CodexConnector,
Epiphany's openai-codex-spine and codex-bridge plus vendored app-server,
VoidBot's Codex model config, and the AGENTS.md doctrine twin maintained
for a second agent runtime.
It also says what NOT to do: Epiphany and Ghostlight still need an
inference transport, and CodexConnector was one implementation of that
seam rather than the seam itself. Deleting the boundary and letting each
mind grow its own HTTP client would re-fork exactly the wire law that
README exists to prevent. Replace the backend, keep the seam, and settle
that before writing epiphany bindings.
Also corrects a false claim I made in the first draft. Odin's recipe is
not the only worked example -- there are eight, including Ghostlight's and
four Ghostlight-worlds variants. Recipe authoring is not the bottleneck
for those targets; bindings and the daemon cutover are.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:51:50 +02:00
|
|
|
6. **`voidbot`** — deployed, live retrieval path, 5.7 GB of state. Not early.
|
|
|
|
|
7. **`odin`** — last of the targets. Idunn reads Odin's topology to gate
|
Make the public entry point describe the binary that actually ships
The README and unit file I wrote at extraction documented the previous
generation's CLI. Running the deployed ExecStart against a build of this
repository returns `unknown Idunn command "--swarm-profile"`: commit 330e4cd
rebuilt Idunn around typed authority ports and a test now asserts that
--deploy-command, --restart-command and --swarm-profile are rejected. Anyone
following the README would have installed a unit that crashloops on exec
every 5 seconds under Restart=always.
Corrected against the binary, not against the old docs:
- deploy/idunn-yggdrasil.service now invokes `idunn serve` with the real
flags. systemd-analyze verify passes on yggdrasil. /var/lib/gamecult/odin
moved from ReadWritePaths to ReadOnlyPaths -- Idunn only reads Odin's
topology correlation (pull_all_read_only_snapshot, absent store yields
None), and it gates deployment promotion only: continuity never consults
it, per stale_odin_provider_receipt_cannot_gate_continuity_restart.
- README documents the three declarative commands, and adds a section on the
recipe/binding split, which is the security model: capability lives in the
target's repo, privilege lives in the host binding, and a binding that
omits an affordance the recipe derives fails admit().
- Corrected two inherited claims. The distinct-brake check is per-binding
validation ("deployment and lifecycle brakes are identical"), not a
startup check. And the "inputs: nothing else" claim was false -- the Odin
correlation read is a real, deliberate exception and now says so.
The legacy actuator moves to deploy/legacy/ rather than being deleted: it is
what is installed and running, so it is the before-side of the migration.
Its README maps each shell mechanism to the contract that replaced it, and
preserves the eleven-target inventory read out of deployment_target_policy().
Seven of the eleven are pinned to a codex/ branch rather than main.
docs/guide.md is marked as the previous generation rather than silently
carrying dead commands, and docs/migration.md is new: per-target order,
what to fix before carrying a ref forward, and why the authority cuts over
last. Also fixes a broken cross-link in authority-map.md.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:15:46 +02:00
|
|
|
promotion, so migrating Odin changes the thing that gates the migrations.
|
Retire codex-connector instead of migrating it; correct the recipe claim
The operator is not returning to Codex, which removes the consumer for a
credential-isolated Codex subscription transport. The deployed daemon is
already dead in practice: codex-connector.service on yggdrasil is active but
has been failing 401 token_expired every three minutes against
chatgpt.com/backend-api/codex/models, with nothing connected to port 4103.
It was this document's first migration target; writing a binding for it
would have been work spent on a corpse. gjallar leads now.
Adds a Retiring Codex section with the blast radius in removal order --
the running unit, the sudoers grants, GameCult/CodexConnector,
Epiphany's openai-codex-spine and codex-bridge plus vendored app-server,
VoidBot's Codex model config, and the AGENTS.md doctrine twin maintained
for a second agent runtime.
It also says what NOT to do: Epiphany and Ghostlight still need an
inference transport, and CodexConnector was one implementation of that
seam rather than the seam itself. Deleting the boundary and letting each
mind grow its own HTTP client would re-fork exactly the wire law that
README exists to prevent. Replace the backend, keep the seam, and settle
that before writing epiphany bindings.
Also corrects a false claim I made in the first draft. Odin's recipe is
not the only worked example -- there are eight, including Ghostlight's and
four Ghostlight-worlds variants. Recipe authoring is not the bottleneck
for those targets; bindings and the daemon cutover are.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:51:50 +02:00
|
|
|
8. **Idunn itself** — the installed unit and binary. See *Cutting over the
|
Make the public entry point describe the binary that actually ships
The README and unit file I wrote at extraction documented the previous
generation's CLI. Running the deployed ExecStart against a build of this
repository returns `unknown Idunn command "--swarm-profile"`: commit 330e4cd
rebuilt Idunn around typed authority ports and a test now asserts that
--deploy-command, --restart-command and --swarm-profile are rejected. Anyone
following the README would have installed a unit that crashloops on exec
every 5 seconds under Restart=always.
Corrected against the binary, not against the old docs:
- deploy/idunn-yggdrasil.service now invokes `idunn serve` with the real
flags. systemd-analyze verify passes on yggdrasil. /var/lib/gamecult/odin
moved from ReadWritePaths to ReadOnlyPaths -- Idunn only reads Odin's
topology correlation (pull_all_read_only_snapshot, absent store yields
None), and it gates deployment promotion only: continuity never consults
it, per stale_odin_provider_receipt_cannot_gate_continuity_restart.
- README documents the three declarative commands, and adds a section on the
recipe/binding split, which is the security model: capability lives in the
target's repo, privilege lives in the host binding, and a binding that
omits an affordance the recipe derives fails admit().
- Corrected two inherited claims. The distinct-brake check is per-binding
validation ("deployment and lifecycle brakes are identical"), not a
startup check. And the "inputs: nothing else" claim was false -- the Odin
correlation read is a real, deliberate exception and now says so.
The legacy actuator moves to deploy/legacy/ rather than being deleted: it is
what is installed and running, so it is the before-side of the migration.
Its README maps each shell mechanism to the contract that replaced it, and
preserves the eleven-target inventory read out of deployment_target_policy().
Seven of the eleven are pinned to a codex/ branch rather than main.
docs/guide.md is marked as the previous generation rather than silently
carrying dead commands, and docs/migration.md is new: per-target order,
what to fix before carrying a ref forward, and why the authority cuts over
last. Also fixes a broken cross-link in authority-map.md.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:15:46 +02:00
|
|
|
authority* below.
|
|
|
|
|
|
|
|
|
|
## Per target
|
|
|
|
|
|
|
|
|
|
### 1. Fix the ref before you carry it forward
|
|
|
|
|
|
|
|
|
|
Seven of eleven targets are pinned to a `codex/...` branch, not `main`. The
|
|
|
|
|
swarm goal is everyone on `main` and current with each other. A migration that
|
|
|
|
|
copies `admitted_ref = "refs/heads/codex/ghostlight-dungeon-mvp"` into a binding
|
|
|
|
|
has laundered a branch pin into a typed contract and made it harder to see.
|
|
|
|
|
|
|
|
|
|
Land the branch, or record in the binding's commit message why this target
|
|
|
|
|
cannot be on `main` yet.
|
|
|
|
|
|
|
|
|
|
### 2. Write the recipe, in the target's repository
|
|
|
|
|
|
|
|
|
|
`deployment/idunn/recipe.toml`, schema `gamecult.idunn.target_declaration.v1`.
|
|
|
|
|
It declares capability only — steps, artifacts, service argument shape, health
|
|
|
|
|
contract, state slots, provides. It must name no host path, no image, and no
|
|
|
|
|
privilege; `TargetDeclaration::parse` rejects unknown fields, and a recipe that
|
|
|
|
|
reaches for host authority is rejected by `admit()` rather than honoured.
|
|
|
|
|
|
Retire codex-connector instead of migrating it; correct the recipe claim
The operator is not returning to Codex, which removes the consumer for a
credential-isolated Codex subscription transport. The deployed daemon is
already dead in practice: codex-connector.service on yggdrasil is active but
has been failing 401 token_expired every three minutes against
chatgpt.com/backend-api/codex/models, with nothing connected to port 4103.
It was this document's first migration target; writing a binding for it
would have been work spent on a corpse. gjallar leads now.
Adds a Retiring Codex section with the blast radius in removal order --
the running unit, the sudoers grants, GameCult/CodexConnector,
Epiphany's openai-codex-spine and codex-bridge plus vendored app-server,
VoidBot's Codex model config, and the AGENTS.md doctrine twin maintained
for a second agent runtime.
It also says what NOT to do: Epiphany and Ghostlight still need an
inference transport, and CodexConnector was one implementation of that
seam rather than the seam itself. Deleting the boundary and letting each
mind grow its own HTTP client would re-fork exactly the wire law that
README exists to prevent. Replace the backend, keep the seam, and settle
that before writing epiphany bindings.
Also corrects a false claim I made in the first draft. Odin's recipe is
not the only worked example -- there are eight, including Ghostlight's and
four Ghostlight-worlds variants. Recipe authoring is not the bottleneck
for those targets; bindings and the daemon cutover are.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:51:50 +02:00
|
|
|
**Several targets already have one.** Recipes exist in `Odin`, `Ghostlight`,
|
|
|
|
|
`Ghostlight-interruptfu`, `CodexConnector`, and the four `Ghostlight-worlds`
|
|
|
|
|
variants — eight in total. So recipe authoring is *not* the bottleneck for those
|
|
|
|
|
targets; the missing halves are the operator bindings and the daemon cutover.
|
|
|
|
|
|
|
|
|
|
Read `CodexConnector/deployment/idunn/recipe.toml` before writing a new one. It
|
|
|
|
|
is the richest worked example — it carries `[[external_inputs]]` pinned by
|
|
|
|
|
sha256, a non-Rust runner, and a typed credential-store schema — and since that
|
|
|
|
|
target is being retired rather than migrated, it is a reference with no live
|
|
|
|
|
claim on it. `Odin`'s is the minimal example.
|
Make the public entry point describe the binary that actually ships
The README and unit file I wrote at extraction documented the previous
generation's CLI. Running the deployed ExecStart against a build of this
repository returns `unknown Idunn command "--swarm-profile"`: commit 330e4cd
rebuilt Idunn around typed authority ports and a test now asserts that
--deploy-command, --restart-command and --swarm-profile are rejected. Anyone
following the README would have installed a unit that crashloops on exec
every 5 seconds under Restart=always.
Corrected against the binary, not against the old docs:
- deploy/idunn-yggdrasil.service now invokes `idunn serve` with the real
flags. systemd-analyze verify passes on yggdrasil. /var/lib/gamecult/odin
moved from ReadWritePaths to ReadOnlyPaths -- Idunn only reads Odin's
topology correlation (pull_all_read_only_snapshot, absent store yields
None), and it gates deployment promotion only: continuity never consults
it, per stale_odin_provider_receipt_cannot_gate_continuity_restart.
- README documents the three declarative commands, and adds a section on the
recipe/binding split, which is the security model: capability lives in the
target's repo, privilege lives in the host binding, and a binding that
omits an affordance the recipe derives fails admit().
- Corrected two inherited claims. The distinct-brake check is per-binding
validation ("deployment and lifecycle brakes are identical"), not a
startup check. And the "inputs: nothing else" claim was false -- the Odin
correlation read is a real, deliberate exception and now says so.
The legacy actuator moves to deploy/legacy/ rather than being deleted: it is
what is installed and running, so it is the before-side of the migration.
Its README maps each shell mechanism to the contract that replaced it, and
preserves the eleven-target inventory read out of deployment_target_policy().
Seven of the eleven are pinned to a codex/ branch rather than main.
docs/guide.md is marked as the previous generation rather than silently
carrying dead commands, and docs/migration.md is new: per-target order,
what to fix before carrying a ref forward, and why the authority cuts over
last. Also fixes a broken cross-link in authority-map.md.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:15:46 +02:00
|
|
|
|
|
|
|
|
### 3. Write the binding, on the host
|
|
|
|
|
|
|
|
|
|
`/etc/gamecult/idunn/bindings/<target>.toml`, schema
|
|
|
|
|
`gamecult.idunn.operator_binding.v2`. This is where privilege lives: origin and
|
|
|
|
|
admitted ref, the runner image pinned **by digest**, workload roots and
|
|
|
|
|
hardening, runtime trust anchor, route, brakes, rollout, placement, and the
|
|
|
|
|
profiles this target joins.
|
|
|
|
|
|
|
|
|
|
Two brake stores, and they must differ:
|
|
|
|
|
|
|
|
|
|
```toml
|
|
|
|
|
[brakes]
|
|
|
|
|
deployment_store = "/var/lib/gamecult/idunn-authority/<target>-deployment-brake.cc"
|
|
|
|
|
lifecycle_store = "/var/lib/gamecult/idunn-authority/<target>-lifecycle-brake.cc"
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
A binding naming one store for both is rejected — *"deployment and lifecycle
|
|
|
|
|
brakes are identical"*. That rejection is the doctrine the old generation could
|
|
|
|
|
not express: a deployment brake must not be able to suspend daemon survival.
|
|
|
|
|
|
|
|
|
|
The binding must name every affordance the recipe's runners derive. Omitting one
|
|
|
|
|
fails `admit()`. This is deliberate — a compromised target repository can change
|
|
|
|
|
what gets built, but not what it may touch.
|
|
|
|
|
|
|
|
|
|
### 4. Dry-run, then admit
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
idunn up <target> --requested-by "$USER" --no-wait
|
|
|
|
|
idunn status --command <id>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Verify before promotion, not after: the candidate must hold a **distinct UID,
|
|
|
|
|
PID namespace and mount namespace** from the incumbent (`prove_isolation`), and
|
|
|
|
|
signed `warming` presence must be observed before the fence. If the target
|
|
|
|
|
cannot publish signed health yet, that is the work — not a reason to widen the
|
|
|
|
|
trust anchor.
|
|
|
|
|
|
|
|
|
|
### 5. Retire the legacy path for that target
|
|
|
|
|
|
|
|
|
|
Remove its line from the sudoers `Cmnd_Alias`, then its `case` arm, then its
|
|
|
|
|
manifest under `/srv/odin/deploy-manifests/`. Sudoers first: the grant is the
|
|
|
|
|
privileged half and must not outlive its consumer.
|
|
|
|
|
|
|
|
|
|
## Cutting over the authority
|
|
|
|
|
|
|
|
|
|
Idunn last, and not by deploying Idunn with Idunn.
|
|
|
|
|
|
|
|
|
|
1. Build the current Idunn on Linux and stage it beside the running one — do not
|
|
|
|
|
overwrite `/usr/local/bin/idunn` while the old daemon is supervising.
|
|
|
|
|
2. Create `/etc/gamecult/idunn/bindings/` and the per-target brake stores.
|
|
|
|
|
3. Install `deploy/idunn-yggdrasil.service` from this repository. It invokes
|
|
|
|
|
`idunn serve` and names every store explicitly.
|
|
|
|
|
4. Stop the old unit, move the binary into place, `daemon-reload`, start.
|
|
|
|
|
5. Verify continuity actually actuates — kill a managed daemon and watch it come
|
|
|
|
|
back — before trusting the cutover. A control plane that starts is not a
|
|
|
|
|
control plane that supervises.
|
|
|
|
|
|
|
|
|
|
**The window matters.** Between step 4's stop and a verified step 5, nothing is
|
|
|
|
|
supervising the swarm. Do it with the targets already migrated, so the new
|
|
|
|
|
daemon has bindings to load and the window is short.
|
|
|
|
|
|
Retire codex-connector instead of migrating it; correct the recipe claim
The operator is not returning to Codex, which removes the consumer for a
credential-isolated Codex subscription transport. The deployed daemon is
already dead in practice: codex-connector.service on yggdrasil is active but
has been failing 401 token_expired every three minutes against
chatgpt.com/backend-api/codex/models, with nothing connected to port 4103.
It was this document's first migration target; writing a binding for it
would have been work spent on a corpse. gjallar leads now.
Adds a Retiring Codex section with the blast radius in removal order --
the running unit, the sudoers grants, GameCult/CodexConnector,
Epiphany's openai-codex-spine and codex-bridge plus vendored app-server,
VoidBot's Codex model config, and the AGENTS.md doctrine twin maintained
for a second agent runtime.
It also says what NOT to do: Epiphany and Ghostlight still need an
inference transport, and CodexConnector was one implementation of that
seam rather than the seam itself. Deleting the boundary and letting each
mind grow its own HTTP client would re-fork exactly the wire law that
README exists to prevent. Replace the backend, keep the seam, and settle
that before writing epiphany bindings.
Also corrects a false claim I made in the first draft. Odin's recipe is
not the only worked example -- there are eight, including Ghostlight's and
four Ghostlight-worlds variants. Recipe authoring is not the bottleneck
for those targets; bindings and the daemon cutover are.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:51:50 +02:00
|
|
|
## Retiring Codex
|
|
|
|
|
|
|
|
|
|
Decided by the operator 2026-09-05: the estate is not going back to Codex.
|
|
|
|
|
Generic token capacity comes from elsewhere, and anything *served* to third
|
|
|
|
|
parties needs an EU supplier with a DPA — `together.ai` is the current
|
|
|
|
|
direction. That makes the Codex integration a maintenance liability with no
|
|
|
|
|
consumer, and it is deep enough to be worth naming before anyone starts pulling.
|
|
|
|
|
|
2026-09-05 23:55:55 +02:00
|
|
|
**Live state.** `codex-connector.service` was `active (running)` and failing
|
|
|
|
|
`401 token_expired` on a three-minute loop against
|
|
|
|
|
`https://chatgpt.com/backend-api/codex/models`, with nothing connected to port
|
|
|
|
|
`4103`. **Stopped and disabled 2026-09-05**; the port is closed and the loop has
|
|
|
|
|
ended. It had consumed 1min 30s of CPU and peaked at 1.2 GB doing nothing but
|
|
|
|
|
retrying expired credentials.
|
|
|
|
|
|
|
|
|
|
Two loose ends that stop left behind:
|
|
|
|
|
|
|
|
|
|
- `ghostlight-dungeon.service` carries
|
|
|
|
|
`Environment=GHOSTLIGHT_MODEL_CONNECTOR=127.0.0.1:4103`, which now points at
|
|
|
|
|
nothing. It had logged nothing for 24 hours before the stop, so this broke
|
|
|
|
|
no working path — but it is where the provider replacement lands first.
|
|
|
|
|
- `epiphany-model-connector.service` binds **the same port** with
|
|
|
|
|
`--model gpt-5.4 --codex-home ...`. It is inactive and disabled. Two Codex
|
|
|
|
|
connectors were competing for one endpoint, which is duplicate authority of
|
|
|
|
|
exactly the kind the census was looking for; both are now off, and only one
|
|
|
|
|
of them has a repository.
|
Retire codex-connector instead of migrating it; correct the recipe claim
The operator is not returning to Codex, which removes the consumer for a
credential-isolated Codex subscription transport. The deployed daemon is
already dead in practice: codex-connector.service on yggdrasil is active but
has been failing 401 token_expired every three minutes against
chatgpt.com/backend-api/codex/models, with nothing connected to port 4103.
It was this document's first migration target; writing a binding for it
would have been work spent on a corpse. gjallar leads now.
Adds a Retiring Codex section with the blast radius in removal order --
the running unit, the sudoers grants, GameCult/CodexConnector,
Epiphany's openai-codex-spine and codex-bridge plus vendored app-server,
VoidBot's Codex model config, and the AGENTS.md doctrine twin maintained
for a second agent runtime.
It also says what NOT to do: Epiphany and Ghostlight still need an
inference transport, and CodexConnector was one implementation of that
seam rather than the seam itself. Deleting the boundary and letting each
mind grow its own HTTP client would re-fork exactly the wire law that
README exists to prevent. Replace the backend, keep the seam, and settle
that before writing epiphany bindings.
Also corrects a false claim I made in the first draft. Odin's recipe is
not the only worked example -- there are eight, including Ghostlight's and
four Ghostlight-worlds variants. Recipe authoring is not the bottleneck
for those targets; bindings and the daemon cutover are.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:51:50 +02:00
|
|
|
|
|
|
|
|
**Blast radius**, in the order it should come out:
|
|
|
|
|
|
|
|
|
|
| Surface | What it is |
|
|
|
|
|
|---|---|
|
|
|
|
|
| `codex-connector.service` on yggdrasil | running, 401-looping, no consumers |
|
|
|
|
|
| the sudoers `deploy`/`restart codex-connector` grants | privileged half — remove before the script |
|
|
|
|
|
| `GameCult/CodexConnector` | the whole repo; a transport for a provider we no longer buy |
|
|
|
|
|
| `Epiphany/epiphany-openai-codex-spine` | an OpenAI/Codex adapter crate |
|
|
|
|
|
| `Epiphany/epiphany-codex-bridge` + vendored `app-server` | Codex JSON-RPC protocol edge |
|
|
|
|
|
| `VoidBot` config | `turnCodexModel`, `mindCodexModel`, `imaginationCodexModel`, `codexModelReasoningEffort` and their model lists |
|
|
|
|
|
| `~/.codex/AGENTS.md` and per-repo `AGENTS.md` | doctrine maintained for a second agent runtime |
|
|
|
|
|
|
|
|
|
|
**Do not simply delete the Epiphany and Ghostlight side.** Those are minds that
|
|
|
|
|
need *an* inference transport; CodexConnector was one implementation of that
|
|
|
|
|
seam, and the seam is worth keeping. The correct shape is to replace the
|
|
|
|
|
provider behind it, not to remove the boundary and let each mind grow its own
|
|
|
|
|
HTTP client — that would be re-forking the wire law CodexConnector's README
|
|
|
|
|
exists to prevent. Retire the Codex-specific backend; decide deliberately
|
|
|
|
|
whether the transport daemon is rebuilt against the new supplier or whether
|
|
|
|
|
CultNet already covers it.
|
|
|
|
|
|
|
|
|
|
Sequencing note: `epiphany` and `epiphany-capstone-17` are on this migration
|
|
|
|
|
list. Do not write bindings for them until the provider question is settled —
|
|
|
|
|
their deployment shape depends on whether they still front a transport daemon.
|
|
|
|
|
|
Make the public entry point describe the binary that actually ships
The README and unit file I wrote at extraction documented the previous
generation's CLI. Running the deployed ExecStart against a build of this
repository returns `unknown Idunn command "--swarm-profile"`: commit 330e4cd
rebuilt Idunn around typed authority ports and a test now asserts that
--deploy-command, --restart-command and --swarm-profile are rejected. Anyone
following the README would have installed a unit that crashloops on exec
every 5 seconds under Restart=always.
Corrected against the binary, not against the old docs:
- deploy/idunn-yggdrasil.service now invokes `idunn serve` with the real
flags. systemd-analyze verify passes on yggdrasil. /var/lib/gamecult/odin
moved from ReadWritePaths to ReadOnlyPaths -- Idunn only reads Odin's
topology correlation (pull_all_read_only_snapshot, absent store yields
None), and it gates deployment promotion only: continuity never consults
it, per stale_odin_provider_receipt_cannot_gate_continuity_restart.
- README documents the three declarative commands, and adds a section on the
recipe/binding split, which is the security model: capability lives in the
target's repo, privilege lives in the host binding, and a binding that
omits an affordance the recipe derives fails admit().
- Corrected two inherited claims. The distinct-brake check is per-binding
validation ("deployment and lifecycle brakes are identical"), not a
startup check. And the "inputs: nothing else" claim was false -- the Odin
correlation read is a real, deliberate exception and now says so.
The legacy actuator moves to deploy/legacy/ rather than being deleted: it is
what is installed and running, so it is the before-side of the migration.
Its README maps each shell mechanism to the contract that replaced it, and
preserves the eleven-target inventory read out of deployment_target_policy().
Seven of the eleven are pinned to a codex/ branch rather than main.
docs/guide.md is marked as the previous generation rather than silently
carrying dead commands, and docs/migration.md is new: per-target order,
what to fix before carrying a ref forward, and why the authority cuts over
last. Also fixes a broken cross-link in authority-map.md.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 23:15:46 +02:00
|
|
|
## What is not carried forward
|
|
|
|
|
|
|
|
|
|
`Odin@ed48185` ("Supervise Bifrost Persona feedback deployment", 2026-07-18)
|
|
|
|
|
added a hardcoded `bifrost-persona-feedback` target with a `stale-deployment`
|
|
|
|
|
failure contract and `restart_on_missing_publication`. It never reached this
|
|
|
|
|
repository — it landed on Odin `main` after the extraction branch diverged, and
|
|
|
|
|
`330e4cd` deleted the machinery it was written against.
|
|
|
|
|
|
|
|
|
|
It is preserved at the `pre-idunn-extraction-main` tag in Odin. When
|
|
|
|
|
`bifrost-persona-feedback` is migrated, that commit is the specification for
|
|
|
|
|
what its health contract must express — re-expressed as a recipe
|
|
|
|
|
`[service.health]` contract, not restored as Rust.
|