Files: architecture (ADR 0051, proposed) #559

Open
opened 2026-10-17 17:57:24 +00:00 by kayg · 2 comments
Owner

Decided by kayg on 2026-10-17 (grill F1–F12). The Files area had no issue; this one tracks it.

The proposed ADR is docs/adr/0051-files-one-tree-with-smart-views.md. It covers:

  • one real tree, with Notes and Photos as smart views, and a curated root;
  • the watcher plus reconcile scans;
  • uploads (tus and the IETF draft);
  • WebDAV in the calternaldav plugin;
  • sandboxed previews;
  • reflink versions with retention;
  • one Trash;
  • sharing through SH1–SH10;
  • FTS5 search;
  • automatic FIDEDUPERANGE dedupe;
  • offline pins.

F11 (automatic dedupe across users, quota by logical size, no instant upload) still needs kayg's confirmation.

Nothing is built until kayg accepts the ADR.

🤖 Generated with Claude Code

Decided by kayg on 2026-10-17 (grill F1–F12). The Files area had no issue; this one tracks it. The proposed ADR is `docs/adr/0051-files-one-tree-with-smart-views.md`. It covers: - one real tree, with Notes and Photos as smart views, and a curated root; - the watcher plus reconcile scans; - uploads (tus and the IETF draft); - WebDAV in the calternaldav plugin; - sandboxed previews; - reflink versions with retention; - one Trash; - sharing through SH1–SH10; - FTS5 search; - automatic FIDEDUPERANGE dedupe; - offline pins. **F11 (automatic dedupe across users, quota by logical size, no instant upload) still needs kayg's confirmation.** Nothing is built until kayg accepts the ADR. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

ADR 0051 is proposed in PR #561.

ADR 0051 is proposed in PR #561.
Author
Owner

Files + Photos research for the grill (11-05)

full report: decision trees, source/date tables, v0 lessons, outside comparisons, unanswered basics and top 10 risks

files first, photos later. the report is about 6,000 words, so it is attached rather than expanding this thread. sources were checked through 5 november 2026; no builds, tests, installs or vms were used.

  • latest owner answers take precedence; v0 is reference only.
  • #559's F11 confirmation question is stale: T-A2 was answered 28 october, logical quota clarified 29 october. later delivery plan keeps dedupe off pending safety gates.
  • amended ADR 0062 supersedes content-store/hardlink/FIDEDUPERANGE assumptions: two real trees, independent inodes, verified FICLONE per disk.
  • PR #561's Files/Photos ADRs remain proposed. their summaries are not implementation approval.
  • history/quota, migration, actual client needs, folder sharing and attachment identity need a basics grill.
  • #865 is the latest attachment-preview direction; its two-size/libvips choices do not silently replace the full Photos pipeline.
  • later #571/#588 results leave photo search quality and latency unqualified.
  • full PhotoKit resources, XMP, edits and HDR/gainmaps need explicit fidelity and migration acceptance cases.
  • v0's useful inheritance is its deletion guards, upload completion proofs, Finder compatibility and metadata-preservation lessons.
  • archive coverage limit: its API returned no closed PRs, so the report marks unverified integration and uses dated issue/commit evidence instead.

attachment sha256: 26476aaf98145eec0ef6a2552cd886f0b42a8b74598ddce11dc6dafca451e564

## Files + Photos research for the grill (11-05) [full report: decision trees, source/date tables, v0 lessons, outside comparisons, unanswered basics and top 10 risks](https://git.kayg.org/attachments/f8d31656-b942-413d-8645-c4cf766fcd09) files first, photos later. the report is about 6,000 words, so it is attached rather than expanding this thread. sources were checked through 5 november 2026; no builds, tests, installs or vms were used. - latest owner answers take precedence; v0 is reference only. - #559's F11 confirmation question is stale: T-A2 was answered 28 october, logical quota clarified 29 october. later delivery plan keeps dedupe off pending safety gates. - amended ADR 0062 supersedes content-store/hardlink/FIDEDUPERANGE assumptions: two real trees, independent inodes, verified FICLONE per disk. - PR #561's Files/Photos ADRs remain proposed. their summaries are not implementation approval. - history/quota, migration, actual client needs, folder sharing and attachment identity need a basics grill. - #865 is the latest attachment-preview direction; its two-size/libvips choices do not silently replace the full Photos pipeline. - later #571/#588 results leave photo search quality and latency unqualified. - full PhotoKit resources, XMP, edits and HDR/gainmaps need explicit fidelity and migration acceptance cases. - v0's useful inheritance is its deletion guards, upload completion proofs, Finder compatibility and metadata-preservation lessons. - archive coverage limit: its API returned no closed PRs, so the report marks unverified integration and uses dated issue/commit evidence instead. attachment sha256: `26476aaf98145eec0ef6a2552cd886f0b42a8b74598ddce11dc6dafca451e564`
Sign in to join this conversation.
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#559
No description provided.