Idunn/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eureka 46ec8241a2 Idunn: StaticRelease target declaration and workload binding
A target may declare [static_release] artifact = "<id>" instead of
[service], and bind driver = "static-release" (release_root, current_link,
one carry source/destination). TargetDeclaration.service becomes Option with
a service() accessor; admission refuses both-or-neither, state/provides/
dependencies/conflicts/route/write lease on a static target, stop-then-start,
retain_releases < 2, a carry destination that is not a single leaf or collides
with an artifact destination, a carry source inside the release root, and a
current link overlapping the release root or an authority path.

Read-only audit of TransactionCompletion::Admitted / admitted_for readers
(cut spec step 2); a static Admitted transaction has no AdmittedGeneration:
- control_plane.rs:1781 (deadline_for_current_activity, Complete): reads the
  variant and drains_incumbent only. Tolerates.
- :1828 (carries_a_deadline): variant only. Tolerates.
- :2086 (is_terminal): variant plus post_commit_cleanup. Tolerates.
- :2550 (validate, Complete): requires Admitted and generation-<tx>; the
  generation record is never read. Tolerates; static gets its own branch.
- :5085 (derived_command_status): variant only. Tolerates.
- :6567 region (command admission; the admitted_for read is at :6587): passes
  an Option incumbent, None for a static target. Tolerates. Anchor drifted by
  ~20 lines; the code matches.
- :8371 (advance_committing): the only writer of Admitted with a generation;
  a static transaction never enters Committing. Unchanged.
Other admitted_for readers (3517 fenced-incumbent check, 4963 render, 5482
incident close, 9571 provider rehydrate, 9654/9712/9777 rebase, continuity,
take_target): all handle None; a static target has no fencing, no incident,
no capability to be a provider.

Fallout: runner_for/workload_for gain a StaticRelease arm (docker runner; the
systemd driver serves install only), and the service-only readers in host.rs,
drivers.rs and deployment_plan.rs go through service()?.

Tests: cargo test -p idunn --lib deployment::tests::static_ (6 passed).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 16:27:56 +00:00
..
bin idunn-launch answers presence only: the splice, the unix child endpoint and --listener are deleted; the child binds the member bind and the probe reaches it over TCP 2026-10-23 01:28:30 +02:00
control_plane.rs Idunn: StaticRelease target declaration and workload binding 2026-11-13 16:27:56 +00:00
deployment.rs Idunn: StaticRelease target declaration and workload binding 2026-11-13 16:27:56 +00:00
deployment_plan.rs Idunn: StaticRelease target declaration and workload binding 2026-11-13 16:27:56 +00:00
drivers.rs Idunn: StaticRelease target declaration and workload binding 2026-11-13 16:27:56 +00:00
host.rs Idunn: StaticRelease target declaration and workload binding 2026-11-13 16:27:56 +00:00
host_actuator.rs Steward orders: refuse Upholds and ConsistsOf units, pin the rule's gaps, README names the residuals 2026-11-02 23:32:30 +01:00
incident.rs Cut c2b: operator-required incident, opened at the decision site and closed when spent 2026-10-19 14:39:42 +02:00
launcher.rs Launcher: presence freshness treats a stamp after the reading as age zero; pin the bound literally 2026-10-23 15:01:56 +02:00
lib.rs Steward orders: typed package, unit and deploy orders from one steward, in a sibling root unit 2026-11-01 02:33:01 +01:00
main.rs Rebuild Idunn around typed authority ports 2026-09-02 23:13:36 +02:00
provisioning.rs idunn-provision prints the derived identity id of an enrolled store 2026-09-11 13:51:50 +02:00
runner_evidence.rs Steward orders: typed package, unit and deploy orders from one steward, in a sibling root unit 2026-11-01 02:33:01 +01:00
steward_orders.rs Steward orders: refuse Upholds and ConsistsOf units, pin the rule's gaps, README names the residuals 2026-11-02 23:32:30 +01:00