Skip to content

docs(core): 0054's key versions count from the chain, reset generations and pending own statements - #4501

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

  • G0 round 5 follow-up to docs(core): ADR 0054, one sync engine in the core for TablePro Sync and iCloud #4486 for 0054's state file.
  • key_floors: the floor only limits which versions a write may use. A new version is one above the last statement on its chain that names the key, as 0051 and 0053 allocate it, so client and server agree after a removal raises the floor (Codex H5).
  • A stale-file rebuild refuses writes under the floor, and the chain's newest version still opens what it sealed while a rotation is pending.
  • key_heads gains generation and retired: a reset proven with S starts the next generation of an identity log and retires the frozen row before it, which stays as the record of the fork. The anchor keeps both.
  • A statement this holder signed that the server refused stays pending in key_statements, never moves a head, and the holder signs no second statement at its seq.
  • Tests for each.

Test plan

  • scripts/check-banned-words.sh on the file: clean.
  • lychee --offline --include-fragments 'core/**/*.md': 0 errors.

…w generation, and refused own statements stay pending
@datlechin
datlechin merged commit c9ded5a into main Nov 25, 2026
2 checks passed
@datlechin
datlechin deleted the docs/core-adr-0054-g0-round-5 branch November 25, 2026 11:01
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