docs: ADR 0062 amendment — storage tiering (#731) #732

Closed
kayg wants to merge 0 commits from docs/adr-0062-tiers into dev
Owner

Record kayg’s 28 October storage decisions in ADRs 0062, 0063 and 0064. T-A1 fails closed on disk loss; T-A2 uses server-wide physical dedupe only after full independent uploads, with no existence signal and mandatory multi-user, side-channel, route/plugin and independent isolation gates; T-A3 waits for verified absence of outside writers and offers an offline pass. No tiering questions remain.

FO1 keeps SSD-state acknowledgements, gates durable Home catch-up at one second with home-materialization-1s, and requires empty-state reconstruction from a validated Home. Home roles and installation UUID must match an expected identity pinned outside state; protected Home snapshots preserve current account/access records and unfinished recovery intent. The ADR states the bounded pending-edit window explicitly: after catch-up Home-only recovery loses only history; edits still pending inside that window require state.

Original contact cards live beside notes as .calternal-contact-<calternal-id>.vcf. The existing contact format module owns association and coordinated writes, moves, Trash, undo and recovery. Companions stay out of note lists; state copies become rebuildable caches. Break-test and perf plans cover the decisions, and all three ADRs have 2026-10-28 changelog entries.

Only ADR files changed. Implementation, crash, isolation and performance gates are specified, not executed. No merge or deploy.

Updated review: PR #736. This original draft remains at 0840c7036d74082ce045035507a79e8626ca3f9e; the complete amendment is on docs/adr-0062-answers at a4ad276127bcc8a772bfc2a19002eb789f8c2e5a. The job hard rule says updates to an open PR branch are ignored, so the follow-up uses a new branch and PR. Review the replacement PR for the final diff.

Refs #731 and #642.

Validation of the replacement head:

PASS Markdown: 0062-user-files-on-hdd-app-data-on-ssd.md: Forgejo GFM HTTP 200, 16 headings, 1 tables.
PASS Markdown: 0063-contact-notes-keep-original-vcard-lines.md: Forgejo GFM HTTP 200, 5 headings, 0 tables.
PASS Markdown: 0064-contacts-sync-over-carddav.md: Forgejo GFM HTTP 200, 26 headings, 0 tables.
PASS Links/anchors: 18 relative file links and 1 heading fragments resolve against Forgejo rendering.
PASS git diff --check: exit 0 (against origin/dev).
PASS Scope: only ADR 0062, ADR 0063 and ADR 0064 changed; no untracked repository files.
PASS Decisions: T-A1–T-A3 and FO1 recorded; no tiering questions remain; every changed ADR has a 2026-10-28 changelog.
NOTE Docs only: implementation, crash, isolation and performance gates are specified, not executed.
Record kayg’s 28 October storage decisions in ADRs 0062, 0063 and 0064. T-A1 fails closed on disk loss; T-A2 uses server-wide physical dedupe only after full independent uploads, with no existence signal and mandatory multi-user, side-channel, route/plugin and independent isolation gates; T-A3 waits for verified absence of outside writers and offers an offline pass. No tiering questions remain. FO1 keeps SSD-state acknowledgements, gates durable Home catch-up at one second with `home-materialization-1s`, and requires empty-state reconstruction from a validated Home. Home roles and installation UUID must match an expected identity pinned outside state; protected Home snapshots preserve current account/access records and unfinished recovery intent. The ADR states the bounded pending-edit window explicitly: after catch-up Home-only recovery loses only history; edits still pending inside that window require state. Original contact cards live beside notes as `.calternal-contact-<calternal-id>.vcf`. The existing contact format module owns association and coordinated writes, moves, Trash, undo and recovery. Companions stay out of note lists; state copies become rebuildable caches. Break-test and perf plans cover the decisions, and all three ADRs have 2026-10-28 changelog entries. Only ADR files changed. Implementation, crash, isolation and performance gates are specified, not executed. No merge or deploy. Updated review: [PR #736](https://git.kayg.org/kayg/calternal/pulls/736). This original draft remains at `0840c7036d74082ce045035507a79e8626ca3f9e`; the complete amendment is on `docs/adr-0062-answers` at `a4ad276127bcc8a772bfc2a19002eb789f8c2e5a`. The job hard rule says updates to an open PR branch are ignored, so the follow-up uses a new branch and PR. Review the replacement PR for the final diff. Refs #731 and #642. Validation of the replacement head: ```text PASS Markdown: 0062-user-files-on-hdd-app-data-on-ssd.md: Forgejo GFM HTTP 200, 16 headings, 1 tables. PASS Markdown: 0063-contact-notes-keep-original-vcard-lines.md: Forgejo GFM HTTP 200, 5 headings, 0 tables. PASS Markdown: 0064-contacts-sync-over-carddav.md: Forgejo GFM HTTP 200, 26 headings, 0 tables. PASS Links/anchors: 18 relative file links and 1 heading fragments resolve against Forgejo rendering. PASS git diff --check: exit 0 (against origin/dev). PASS Scope: only ADR 0062, ADR 0063 and ADR 0064 changed; no untracked repository files. PASS Decisions: T-A1–T-A3 and FO1 recorded; no tiering questions remain; every changed ADR has a 2026-10-28 changelog. NOTE Docs only: implementation, crash, isolation and performance gates are specified, not executed. ```
docs: amend ADR 0062 for storage tiering (#731)
Some checks failed
CI / server (pull_request) Successful in 1m8s
CI / rust (pull_request) Successful in 13m16s
CI / web (pull_request) Failing after 1h31m30s
0840c7036d
Author
Owner

Superseded by #736 (this amendment plus kayg's answers), merged into dev as d83e54db. Closing.

Superseded by #736 (this amendment plus kayg's answers), merged into dev as d83e54db. Closing.
kayg closed this pull request 2026-10-28 17:44:54 +00:00
Some checks failed
CI / server (pull_request) Successful in 1m8s
CI / rust (pull_request) Successful in 13m16s
CI / web (pull_request) Failing after 1h31m30s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!732
No description provided.