Skip to content

docs(adr): ADR-0062, make each desktop suite app a standalone Flatpak with opt-in lodge (amends ADR-0058 in part) - #171

Merged
bketelsen merged 5 commits into
mainfrom
lucilla/adr-0062-standalone-flatpaks
Oct 27, 2026
Merged

bketelsen merged 5 commits into
mainfrom
lucilla/adr-0062-standalone-flatpaks

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Step 1 of the standalone suite Flatpaks program. Records the product rule Brian settled on 2026-10-27: each suite desktop app works on its own as a Flatpak (UI, daemon and helpers inside; no host daemon, lodge, Tailscale, sysext or other suite app needed). lodge sync or connection is an opt-in, tested mode per app, and data never moves silently.

  • New ADR-0062 (Accepted 2026-10-27, Brian's T324a) amends ADR-0058's desktop side in part:
    • the standalone contract (daemon in the app's sandbox, Background portal for work without a window, own data, a real-desktop clean-install record before flatpak-index lists an app);
    • the 2 lodge modes (sync vs connection), explicit selection, no silent data moves, one engine per data set;
    • a per-app table of what is decided and what is open, from Irulan's ADRs: frostnotes ADR-0026/0031, frostmail ADR-0013/0041/0045, frostread ADR-0004, porter ADR-0003/0005;
    • what in ADR-0058 changes (frostmail's Flatpak carries maild and mailctl; frostread and Porter gain Flatpaks; "not shipped: a desktop maild" no longer holds) and what stays (the whole server/sysext track, Flatpak build and trust rules).
  • ADR-0058 and ADR-0057: one separately labelled Amended in part by: ADR-0062 line each in References (ADR-0033 successor link; the ADR template's Status line has no "Amended" value, so the status lines stay). ADR-0057 is included because its local-mode bullet limits frostmail's local maild to installs outside the owner's tailnet.
  • docs/README.md: index line for 0062.

Not in this PR: docs/plans/0010-suite-packaging.md (core#169 changes it; the scope correction and per-app milestones follow after #169 merges). frostmail, frostread and Porter record their own desktop designs in their repositories. docs/tenets.md untouched.

Porter is out of scope (Brian's T324b): it stays lodge's app (porter ADR-0003); no Porter Flatpak or desktop work is planned.

Risk tier

Risk tier: 1 — docs only (a new ADR, 2 link lines, 1 index line). No code, no live system.

Docs housekeeping

  • New docs started from their category's TEMPLATE.md
  • Every new doc indexed in docs/README.md
  • Cross-links added in both directions (ADR-0062 → ADR-0057/0058 "Amends in part"; ADR-0057/0058 → ADR-0062 "Amended in part by"). Plan 0010's back-link follows with its scope correction after core#169.
  • New significant decision recorded as an ADR first, in this PR
  • New/edited ADRs are fact-only (ADR-0051)
  • Conformance aliases (ADR-0029) untouched

Verification

  • make verify green locally (check-docs: docs_index_coverage 1.000; 84 docs, 791 links; check-organization; check-scripts; 68 tests)
  • Facts checked on 2026-10-27: frostread is public; all 5 service repos have v0.1.0; flatpak-index/apps.json lists Igloo only.

Cross-review

  • Reviewer openai/gpt-6.1-sol, coder Claude Opus. Base 49bbee7, heads 386ab56 (initial) and e81c74e (re-review 1 of 3).
  • Initial review: Not ready, 2 blocking (medium): (1) the listing gate needed an install from the remote before the listing — fixed: the test installs the attested candidate digest from a staged catalogue, and flatpak-index lists the same digest; (2) a Background portal refusal was said to stop all background work — fixed: it stops only the start at login, as frostnotes ADR-0031 says.
  • Re-review at e81c74e: Ready, Blocking: none.
  • Re-review 2 at 3ba96af (range e81c74e..3ba96af: Porter out of scope, status Accepted): Ready, Blocking: none.
  • CI at 3ba96af: docs-gate, fleet-conventions, scaffold-e2e pass.

@frostyard-machines frostyard-machines added ready-for-human Reviewed, CI green: ready for Brian to review and merge and removed ready-for-human Reviewed, CI green: ready for Brian to review and merge labels Oct 27, 2026
@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Oct 27, 2026
@bketelsen
bketelsen merged commit 2c72c0e into main Oct 27, 2026
3 checks passed
@bketelsen
bketelsen deleted the lucilla/adr-0062-standalone-flatpaks branch October 27, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants