- A folder found sharing somewhere other than its settings say is set back
(every 30 s, under the vault's op lock). Two programs racing — the 0.1.1
CLI upload against the 0.1.2 app's check-in — had left Brain's settings on
the hub and its folder on Gitea, so it kept "syncing" to the wrong place.
- Leaving hands over to the vault's own hub, never to wherever the folder
points. If the hub refuses the history (an older entry has a possible
secret), the device hands over its current notes as one entry with those
lines replaced, instead of retrying forever with the folder read-only.
- The app says "leaving" while that's in progress instead of "Synced".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The Lune window shows Upload on a vault that isn't on a team, for the team
owner and anyone who manages a vault there. The hub now lets those people
create vaults too (was owner only); /api/me and the canvas say can_create.
- A vault on its own remote (GitHub, GitLab, Gitea…) must be detached first
(`lunesync vault detach`, or the Upload sheet's Detach): it shares what's
waiting one last time, then lives on this device only. Upload refuses
anything else, and a check-in no longer silently moves a same-named vault
off its own remote onto the hub.
- Upload logic moved from the CLI into core (lune_core::upload).
- Canvas: "1 person loses access".
- License: AGPL-3.0-only. README and SPEC §8 updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A hub test unset LUNE_HOME for the whole test run, so later tests saved
into the real user's config. Tests now always keep their own settings
folder.
- Leaving a team: `lunesync leave` and the app's Leave hand over and remove
this device there; a hub that's gone can be forgotten (folders stay).
- Deleting a vault (owner): everyone is removed the usual way, the history
is archived on the hub and the name is freed. Canvas asks first.
- Connect this Mac says what to do when Lune isn't installed.
- Update checks skip http hubs instead of failing for all of them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A device named like "Sen setup (CLI)" made kept-both copies unreadable:
the name was cut at the inner bracket, so tidying wrote the kept version
into a new note instead of the original. Copy names are now read by
matching brackets, and names with unpaired brackets are refused.
Opening Lune again while it runs brings its window back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Tauri menu-bar app runs the same sync engine as `lunesync run`. It
connects from the website with no code typed (lune://join and
lune://pair links), shows status in the menu bar, and lets a person
resolve held secrets, held big changes and kept-both notes side by
side. Uninstall shares and hands over first, then removes only what
Lune created.
Releases are signed on the hub that holds the key (`lunehub release
keygen/publish`); other hubs `release import` them. Apps verify the
signature and the signed version. Clients older than the previous
release are asked to update and keep saving locally.
A device can now be on several hubs at once (own and workplace), each
with its own key; the CLI takes --team when it matters. The supervisor
and status summary moved into core, shared by the CLI and the app.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Devices report freshness per vault every 30 s (counts only); the canvas
shows current / behind / offline, held secrets in red, and a Nudge that
reaches the device at its next check-in. Notes kept in two versions can
be compared side by side and tidied on the hub's copy. Handovers are
reviewed in the vault panel; people can be removed from the team and
restored with a one-time link.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The hub now serves a React canvas (web/, embedded at build time):
grant by dragging a vault onto a person, revoke by pulling a ribbon
until it snaps with an 8 s Undo the hub honours before anything reaches
devices, invites (including vaults dropped on invitees), device rename
and removal, Float/Dock, and panels with a button for every gesture.
Sign-in without passwords (SPEC §8): `lunesync open` one-time link or
a pairing code typed on the hub; 30-day HttpOnly session cookie plus an
X-Lune header on every canvas request.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Removing someone from a vault, a device, or the team opens departures
on the hub. Each device stops syncing, saves, goes read-only, hands
unshared work over (secrets redacted), and deletes the folder only if
the app created it. Managers review handovers (show/keep/discard/skip);
removed devices may only hand over, then their key is retired. Adds the
delete-from-devices vault setting and team restore.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lunehub serves accounts, invites, pairing codes, memberships, devices
and vaults as plain bare repos (SPEC §8), checks device key and role on
every Git request, refuses secrets in a pre-receive hook (P3) and logs
every access change. Ships as one container (Dockerfile, compose.yaml).
lunesync gains join, login, pair, vault new/upload, invite, grant,
members and hub log; `run` picks up new vaults and roles from the hub.
Read members' edits stay local.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>