halkyon/packages
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tizian 「ティツィアーン」 7f1f07883a
feat(base,app,learn): a shared space's key rolls once a member goes
What is written in a shared space after a member went takes a key they
never get (Halkyon's ADR 0044, D22). The instance marks the space as one
of its members goes, removed, leaving or deleted (`keyRollDue` on
`shared_space`, set in `removeMember`, through which each of them
passes); an invitation taken back never had a key and marks nothing, nor
does a new role. The Owner's or an Editor's device that next keeps its
keys up after a sync is told so (`sharedSpaceKeys.rollDue`, never true
for a Viewer, who seals no key) and makes a new key, sealed to those who
stay (D33). The first seal bringing a key ID the space never had clears
the mark in the same transaction (D34); members the rolling device
missed get it later as newcomers do. Earlier rows keep the key they had,
which whoever went had read already.

The migration, the same in the module and in each server including it
(Learn, Meditate, Todo, Train):

  ALTER TABLE "shared_space"
    ADD COLUMN "keyRollDue" boolean NOT NULL DEFAULT false;

It adds the column with false for every space there is, so no space is
due a roll from it; PostgreSQL adds a column with a constant default
without rewriting the table. The server before the switch reads and
writes the table naming its own columns, so it keeps working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-11-11 16:57:49 +01:00
..
halkyon_app feat(base,app,learn): a shared space's key rolls once a member goes 2026-11-11 16:57:49 +01:00
halkyon_base_client feat(base,app,learn): a shared space's key rolls once a member goes 2026-11-11 16:57:49 +01:00
halkyon_base_server feat(base,app,learn): a shared space's key rolls once a member goes 2026-11-11 16:57:49 +01:00
halkyon_core refactor(core,keys): BIP-39's English list moves into halkyon_core 2026-10-26 07:17:05 +01:00
halkyon_editor fix(editor): a rich text field focused without a cursor puts it at the end 2026-11-10 14:22:55 +01:00
halkyon_interop build: Melos, a Dart check and every path for the single repository 2026-10-22 18:11:04 +02:00
halkyon_keys feat(base,app,keys): keys of shared spaces, sealed to each member 2026-11-11 11:35:42 +01:00
halkyon_llm feat(llm): a request carries how much the model thinks, in each provider's field 2026-10-26 16:21:53 +01:00
halkyon_oidc_client feat(oidc): a Serverpod module for signing in with OpenID Connect, SimpleLogin a preset (ADR 0023) 2026-10-24 09:17:47 +02:00
halkyon_oidc_flutter feat(app): signing in with SimpleLogin on the device, its data layer (ADR 0020) 2026-10-24 09:17:50 +02:00
halkyon_oidc_server feat(base): SimpleLogin's sign-in comes back by the app's scheme or the loopback (ADR 0020, D9 corrected) 2026-10-24 09:17:49 +02:00
halkyon_ui feat(app,ui): sync waits on mobile data and asks first 2026-11-10 23:46:29 +01:00