Commit graph Idunn/src
Author SHA1 Message Date
Meta Vens
60697064e7 Stop asserting an empty User on DynamicUser workloads
The workload isolation contract required `User` to be empty. systemd
populates that property with the identity it allocates for a DynamicUser
unit -- the unit name, or a generated `_du…` when the unit name is too long
-- so it is never empty for a running workload. Every workload Idunn starts
failed the check it had just satisfied in every other respect, reported as
"systemd workload isolation properties differ from the Idunn contract"
with no indication of which property differed.

Confirmed against systemd directly rather than reasoned about: a transient
unit with DynamicUser=yes and nothing else reports
User=idunn-user-probe-2869674. All twenty other asserted properties matched
exactly.

The clause could not have distinguished an allocated identity from a pinned
one anyway, since both surface the same way. The invariant it reached for --
the workload does not run as a persistent named account -- is carried by
`dynamic_user` and by Idunn never emitting a User property at all. The
observed value is still recorded, as evidence of which identity ran.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-06 22:03:54 +02:00
Meta Vens
c8c1f400e9 Add idunn validate, so a binding can be checked before it is installed
The migration procedure told operators to dry-run a target, and no dry-run
existed. `up` needs a running daemon and a state store, so the only way to
find out whether a binding was well-formed was to install it and see
whether `serve` refused to start -- on the host, with the authority down.

`idunn validate --recipe PATH [--binding PATH]` runs the same
TargetDeclaration::parse and OperatorBinding::admit the daemon runs at
load. It opens no store, contacts no host, and actuates nothing.

Owner: the existing control-plane CLI, no new module or target. Consumer:
whoever authors a binding, starting with this migration. Invariant: a
binding installed on the host admits against its target's recipe. It
replaces the install-and-see loop rather than adding a layer.

Verified against the real estate: Odin, CodexConnector and Ghostlight
recipes all parse. Negative paths checked too, because a validator that
only ever passes is worse than none -- an unknown recipe field (the
privilege-escalation shape), a missing --recipe, and an unreadable file
all fail with the reason.

A test asserts validate stays declarative and refuses --deploy-command,
matching the guarantee cli_exposes_only_declarative_commands makes for the
rest of the surface. 64 passed / 18 failed, against a 63/18 baseline: one
added pass, no new failures, and the 18 remain the known Windows
absolute-path cases. cargo check for x86_64-unknown-linux-gnu is clean.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-06 00:27:36 +02:00
Meta Vens
d3b237a875 Sever idunn-daemon's last import from odin-core
IdunnDaemonHealthTrustBindingRecord and its schema constant moved to
cultnet-rs (GameCult/CultLib@c13b6ba). odin-core now imports them from
cultnet_rs instead of defining them, and idunn-daemon/provisioning.rs
pulls all six provider-health symbols from cultnet_rs directly, merged
into its existing cultnet_rs use block. Dropped the odin-core path
dependency from idunn-daemon/Cargo.toml — nothing in the crate reaches
odin_core:: anymore. Bumped the CultLib git rev across all six
consuming manifests to the new commit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 17:43:24 +02:00
Meta Vens
391a7e2a3c Land the Idunn projection, UDP route actuation, and the Odin daemon
This had been sitting uncommitted in the worktree. It is real work rather than
stray edits: RouteBinding gains stable_socket and an NginxStreamUdp driver so a
route can be actuated over UDP, control_plane and drivers grow the Idunn-owned
projection and bounded RUDP transport, and crates/odin-daemon arrives as a new
member of the workspace.

The deployment recipe comes with it, including the required_gitlinks fix the
core-stack repoint made necessary: it named vendor/cultnet-rs, which no longer
exists now that CultNet comes from CultLib, so Idunn would have refused to admit
the target. The list is empty because Odin has no submodules left; the core
stack is pinned by revision in Cargo.lock inside the frozen source tree.

Everything except odin-daemon builds here. odin-daemon reads systemd listen
file descriptors through std::os::fd and cannot compile on Windows by design, so
Linux CI is its first real witness. muninn and sleipnir pass 162 tests; the one
failure expects an Unreliable media channel that no CultNet lineage has ever
declared, and predates this.

Committed rather than left in flight. rustfmt reports 94 files across the repo,
which predates this work, so formatting is left for its own pass instead of
being buried in a 4,000-line diff.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 15:13:38 +02:00
Meta Vens
84c25d22c2 Reject pre-OpenFile control records 2026-09-03 06:05:23 +02:00
Meta Vens
c7aefb1e5a Fence parent-only runtime signing credentials 2026-09-03 06:02:54 +02:00
Meta Vens
1fc0dadec3 Rebuild Idunn deployment transaction authority 2026-09-03 05:23:06 +02:00
Meta Vens
676f6eeb80 Freeze exact deployment source before actuation 2026-09-03 00:28:29 +02:00
Meta Vens
5b0b59049e Harden Idunn native authority drivers 2026-09-02 23:54:20 +02:00
Meta Vens
821a8d0646 Rebuild Idunn around typed authority ports 2026-09-02 23:13:36 +02:00
Meta Vens
49e8b18f78 Simplify Idunn deployment authority contracts 2026-09-02 21:02:30 +02:00
Meta Vens
d67a6b2429 Define Idunn deployment authority contract 2026-09-02 18:31:13 +02:00
Meta Vens
77ad17d588 Encode a genuinely noncanonical admission fixture 2026-09-02 14:21:04 +02:00
Meta Vens
732c44000a Keep canonical origin output alive for validation 2026-09-02 14:16:48 +02:00
Meta Vens
ba1973090c Bind Idunn deployment and runtime admission 2026-09-02 13:53:07 +02:00
Meta Vens
46699e6ada Align capstone release with package identity 2026-08-25 12:28:36 +02:00
Meta Vens
c06e107320 Rename Epiphany capstone target 2026-08-25 12:11:43 +02:00
Meta Vens
13999872f2 Add isolated Epiphany container target 2026-08-25 04:33:18 +02:00
Meta Vens
0c6cba0664 Retire Nightwing Gjallar from active state 2026-08-25 04:29:07 +02:00
Meta Vens
927b56dd41 Give Codex Connector an independent Idunn target 2026-08-24 21:19:13 +02:00
Meta Vens
2a8488f5f8 Let systemd own unsigned Gjallar continuity 2026-08-24 20:58:33 +02:00
Meta Vens
a2393d79c1 Move Gjallar supervision to Yggdrasil 2026-08-24 20:40:19 +02:00
Meta Vens
afce135731 Bound Idunn operational history 2026-08-23 00:54:06 +02:00
Meta Vens
010c359dfd Bound Idunn authenticated health history 2026-08-23 00:40:52 +02:00
Meta Vens
40e73566d6 Expose Idunn deployment brake denial causes 2026-08-22 16:09:20 +02:00
Meta Vens
3ba969155e Let Idunn lock deployment brake snapshots 2026-08-22 15:57:02 +02:00
Meta Vens
08b578db05 Authorize Epiphany unit promotion 2026-08-22 13:00:07 +02:00
Meta Vens
6659aff65c Validate generic signed health admissions 2026-08-22 09:45:55 +02:00
Meta Vens
e358a46a1d Authorize Ghostlight deployment surfaces 2026-08-22 03:00:49 +02:00
Meta Vens
da18109ec7 Admit root-authorized health signer rotation 2026-08-22 02:56:36 +02:00
Meta Vens
3d258affa4 Rotate one provider health trust signer 2026-08-22 02:37:57 +02:00
Meta Vens
055a352835 Witness Heimdall source-selected releases 2026-08-22 02:17:55 +02:00
Meta Vens
6f107e1b9d Preserve millisecond health admission time 2026-08-21 21:33:01 +02:00
Meta Vens
7a41cb54bc Select deployable source revisions 2026-08-21 21:15:58 +02:00
Meta Vens
733273d65a Admit Ghostlight to Idunn continuity 2026-08-21 21:02:20 +02:00
Meta Vens
345c3e69d1 Give Idunn Epiphany source change authority 2026-08-21 20:59:11 +02:00
Meta Vens
cb11552536 Fix signed daemon health schema admission 2026-08-21 20:14:15 +02:00
Meta Vens
d245a77af7 Remove Odin runtime from Idunn bootstrap inputs 2026-08-21 20:07:57 +02:00
Meta Vens
86058c72a9 Admit Odin as a signed Idunn target 2026-08-21 19:50:24 +02:00
Meta Vens
0577f26f05 Separate Idunn continuity from deployment state 2026-08-21 19:34:32 +02:00
Meta Vens
d2c0a4f952 Respect coarse ingress timestamp precision 2026-08-20 20:29:46 +02:00
Meta Vens
5b0163e153 Keep Idunn UDP listeners alive across interrupted receives 2026-08-20 20:19:24 +02:00
Meta Vens
73b27cf967 Decouple Idunn runtime from Epiphany 2026-08-20 19:14:45 +02:00
Meta Vens
ce6c28ac15 Make Idunn deployment brake read-only 2026-07-20 00:07:04 +01:00
Meta Vens
f5f50b2327 Gate Idunn actuation with typed deployment brake 2026-07-19 23:56:42 +01:00
Meta Vens
d4672a87aa Fix concurrent trust append assertion 2026-07-19 22:24:59 +01:00
Meta Vens
6759e4a2a1 Test concurrent Idunn trust binding append 2026-07-19 22:24:44 +01:00
Meta Vens
469cb0848c Add atomic Idunn trust binding append 2026-07-19 22:21:54 +01:00
Meta Vens
49422630c5 Add read-only Idunn public health query listener 2026-07-19 22:00:46 +01:00
Meta Vens
dc656f1659 Add native Idunn trust provisioning 2026-07-19 21:04:21 +01:00