Skip to content

docs(core): 0054 drop rule, generations without S, head times, fork bytes and the state MAC key - #4504

Merged
datlechin merged 1 commit into
mainfrom
docs/core-adr-0054-g0-round-5
Nov 25, 2026
Merged

datlechin merged 1 commit into
mainfrom
docs/core-adr-0054-g0-round-5

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

  • Follow-up to docs(core): 0054's key versions count from the chain, reset generations and pending own statements #4501, matching 0053's round 5 (docs(core): ADR 0053 G0 round 5, equivocation-only forks, new generations, revoke_add #4502).
  • A refused own statement is dropped once another statement applied at its seq, or a log whose head it names (dh, ih, a team statement's by.ih and by.dh) applied past that head. A push refused for a stale head no longer deadlocks.
  • retired is also set when a generation started without S activates.
  • key_floors and envelope_counters are keyed by generation, so a retired generation's floors and counters never bind the new one.
  • key_heads and key_pins carry each head's taken_at, and so does the anchored checkpoint. A log extends an anchored head only with the same hash and taken_at.
  • key_heads keeps the other fork statement verbatim, with its taken_at and receipt, so the app still shows both after a restart.
  • The state MAC key is named: 32 random bytes per state file in the anchor's class, device-only. Losing it opens the file as one with no anchor.

Test plan

  • scripts/check-banned-words.sh --base origin/main: clean.
  • lychee --offline --include-fragments 'core/**/*.md': 0 errors.

@datlechin
datlechin merged commit 836625e into main Nov 25, 2026
2 checks passed
@datlechin
datlechin deleted the docs/core-adr-0054-g0-round-5 branch November 27, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant