docs: the key store keeps every key at sign-out; the three parts of open question 10 and the duties of the GPUI client (Phase 2 task 34)

docs/architecture.md, "Identities": the sign-out wording follows the trait of
c5bb6b9 (the device key stays, unbound, whether it predates the account or not;
the account record and the synced copies are what it deletes; the release is
the service's operation and the same local sign-out; the deletion of an account
releases every device key and the same sign-out is its local half), and records
the screens' duties as the GPUI client's: the sign-out dialog with "Forget this
device's identity" and an export first, the release in Settings -> Account, and
the delete-account dialog, which must warn that the account's servers become
unreachable and offer an export of the device keys first. The reasons of the
refusal of a synced device key and of the checkpoint are reworded to match
keystore.rs.

docs/session-seam.md 17.6: a bullet for the key store's follow-up, with what it
did and what it did not need (no release call, no "released" record).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Sonnet 5.5 committed 2026-10-25 07:02:31 +03:00
1 parent ca142fd3f2
commit 412f909d18
2 files changed
+102 -22

No files matched your search

+20
View File
@@ -1733,6 +1733,26 @@ were fresh compose projects (`down -v`, `up -d`) for each smoke run.
`Command::ObserveGateway` link `ts::identity::to_blob`,
`VoiceOptions::client_version` links `ts::versions::resolve`.
- **The key store follows task 34 (`phase4/keystore-task34`).** Open question 10
of the accounts design (answered by the owner on 2026-10-24) made
`KeyStore::sign_out` keep every device key, and VoelinProtocol `main`
(`c5bb6b9`) has it. `SqliteKeyStore` runs that trait method, so the follow-up
that Phase 2 task 34 leaves to this repository ("Note for VoelinClient") is
the pin of the three protocol crates, the tests that asserted the deletion
of a key made for the account (now kept, unbound, byte for byte; only
`DeviceKeyChoice::Forget` deletes a key of the device), and the documents:
`keystore.rs` and `docs/architecture.md`, "Identities", which has the three
parts of the question and the duties of the GPUI client (the sign-out
dialog's wording with "Forget this device's identity" and an export first,
the release in Settings → Account, and the delete-account dialog, which
warns that the account's servers become unreachable and offers an export of
the device keys first). A sign-out still deletes the synced copies and the
account record, so `SignOutPass` stays for their one checkpoint, and the
refusal of a device key stored as a synced copy stays, with its reason
reworded: the sign-out keeps the key but deletes every synced copy before it
reads the record. The store gained no release call and no "released" record:
`AccountClient::release` ends in `sign_out` with `Auto`, and the design asks
the client to remember nothing of a release.
- **The same leak in `voelin-store`, not closed.** `Store::identity` and
`Store::identities` read the stored JSON of a TeamSpeak identity with `?`, so
an `Error::Json` whose text is the `serde_json` message, which quotes a key