Skip to content

docs(core): ADR 0060, the change journal names the records each write changed - #4567

Merged
datlechin merged 1 commit into
mainfrom
docs/core-adr-0060-journal-and-stores
Nov 25, 2026
Merged

datlechin merged 1 commit into
mainfrom
docs/core-adr-0060-journal-and-stores

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

  • New ADR 0060 amends 0054 with the three gaps the store models lane (feat(core): store models, change journal and store generation #4560) found.
  • The change journal names, per committed write, the kind with the ids written and deleted; the downgrade mirror writes them as dirty and tombstone keys and never diffs a whole store against its bases.
  • A store is one file with one generation and write sequence, so a restored history.db refills every kind it holds.
  • A host's restore path calls the store's start_new_generation in the core.
  • 0054's Status and index row name 0060.

Test plan

  • Docs only. scripts/check-banned-words.sh on the three files: clean.

@datlechin
datlechin merged commit 01be1a3 into main Nov 25, 2026
2 checks passed
@datlechin
datlechin deleted the docs/core-adr-0060-journal-and-stores 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