Repository navigation
docs: the move from a host notesd to the Flatpak (plan 0008, G4) - #115
Merged
Merged
Conversation
The steps are in design/app.md's operational notes: let the host notesd finish its sync, leave the hub there, stop it, open and join each vault again from the Flatpak as a new device, revoke the old device, then remove the host notesd. Leaving comes first because both notesd keep the device token in one Secret Service item. The plan records the test run of 2026-10-28 in a copy of Phase 3's VM.
…eletes or reverts (cross-review)
bketelsen
approved these changes
Oct 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plan 0008, gap G4: a desktop that ran notesd from a build or the
.debhas another data directory and socket, so the host notesd and the Flatpak's can both run and watch one vault folder. The plan asks for the move to be explicit and written down, and tested once.What changes (docs only)
docs/design/app.md, Operational notes: "Moving from a host notesd", 6 steps: finish the host sync (sync status,sync verify),sync leavethere, stop and disable the host notesd, open and join each vault again in the Flatpak (a new device; files match by history), revoke the old device on the hub, remove the host notesd and~/.local/share/frostnotes.hub/<hub ID>/token,internal/secrets.HubToken), so the Flatpak's pairing replaces the host's token; a host notesd still joined would sync with it as that device.docs/plans/0008-…: G4's status and the test record; G1's status (PR feat(app): join a hub, leave it and pair again from the app (G1) #111 merged).docs/design/sync.md: a back-link in Operational notes.The test run (2026-10-28) in a copy of Phase 3 run 1's VM (snapshot
after-item-4; the snapshot is unchanged): host notesd from mainb7bf450as a usernotesd.service, a loopback hub, the Flatpak0.2.0, a real Secret Service. Before the move, both notesd ran at once. After the steps: the Flatpak joined as a new device, the hub's log stayed at 6 revisions (every file matched by history), no conflict, files byte for byte unchanged,sync verifyok; edits crossed both ways; the old device showedrevoked; an unpushed line merged with no conflict; removing the host data directory did not affect the Flatpak. Not tested: the move through the app's Sync section and against lodge over HTTPS (Phase 3, item 6).Checks:
make checkpasses. No code change.