Idunn/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 903e1c8e63 Key the projection by incarnation; publish Expected after the brake; consume commands once; add cancel
The projection kept one Expected/activation/lease slot per target. A
deployment's Sealing overwrote that slot with the candidate's Expected, the
incumbent failed activation-expected-projection on its next heartbeat and
exited, the deployment was aborted for having killed its incumbent, and the
command -- left resident after its transaction was retired to history --
read as queued and was frozen again. Odin cycled on that every few minutes.

- Topology driver records are keyed {target}@{expected sha}; the incumbent and
  the sealed candidate are projected side by side. One CAS mutation replaces
  the six bespoke loops. withdraw_incarnation removes only one incarnation;
  demote_to_expected_only replaces restore_admitted_expected_only and is used
  only for an incarnation whose process is gone. Legacy target-keyed records
  are retired on the first publish for that target.
- receive() takes the incarnation; the read-as-absence compensator for a
  correlation about another incarnation is gone.
- Candidate Expected is published as Starting's first step, after the brake
  admitted the transaction, not in Sealing before it.
- A pre-fencing abort withdraws only the candidate; a post-fencing abort also
  demotes the stopped incumbent.
- A consumed command is archived with its last transaction; status still
  answers for it from history.
- An engaged lifecycle brake stops continuity being minted instead of parking
  a transaction on the target.
- idunn cancel <command-id> retires a queued command as an operator refusal.

Verified with cargo test --lib in rust:1.95-bookworm on yggdrasil: 114 passed,
2 ignored.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 22:22:46 +02:00
..
authority-map.md Key the projection by incarnation; publish Expected after the brake; consume commands once; add cancel 2026-09-10 22:22:46 +02:00
deployment-authority.md Key the projection by incarnation; publish Expected after the brake; consume commands once; add cancel 2026-09-10 22:22:46 +02:00
guide.md Make the public entry point describe the binary that actually ships 2026-09-05 23:15:46 +02:00
migration.md Correct the status header again: odin IS migrated 2026-09-08 15:47:22 +02:00
signed-daemon-health-authority.md State Idunn's health wire contract where Idunn can own it 2026-09-06 19:27:00 +02:00