docs: record storage tiering answers and Home recovery #736

Closed
kayg wants to merge 0 commits from docs/adr-0062-answers 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.

This replaces the draft in #732 on a new branch because this forge ignores pushes to an open PR branch. Includes the original tiering amendment. Refs #731 and #642.

Validation at a4ad276127bcc8a772bfc2a19002eb789f8c2e5a:

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. This replaces the draft in #732 on a new branch because this forge ignores pushes to an open PR branch. Includes the original tiering amendment. Refs #731 and #642. Validation at `a4ad276127bcc8a772bfc2a19002eb789f8c2e5a`: ```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
docs: record storage answers and Home contact recovery
Some checks failed
CI / server (pull_request) Successful in 1m18s
CI / rust (pull_request) Successful in 16m58s
CI / web (pull_request) Has been cancelled
a4ad276127
Author
Owner

Merged into dev as d83e54db (kayg decided T-A1–T-A3 and FO1 on 28 Oct). Closing by hand if Forgejo does not flag it.

Merged into dev as d83e54db (kayg decided T-A1–T-A3 and FO1 on 28 Oct). Closing by hand if Forgejo does not flag it.
kayg closed this pull request 2026-10-28 17:44:52 +00:00
Some checks failed
CI / server (pull_request) Successful in 1m18s
CI / rust (pull_request) Successful in 16m58s
CI / web (pull_request) Has been cancelled

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!736
No description provided.