diff --git a/docs/architecture.md b/docs/architecture.md index 1eb06a9..486509f 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -425,13 +425,13 @@ of its accounts design, answered by the owner on 2026-10-24). The device key stays, unbound and byte for byte, whether it was in use before the account existed or the client made it for the account: at every host without accounts that the user reached with it, it is the user's identity, and deleting it would -lose their servers, roles and memberships there. `AccountRecord.bound_existing_key` -stays in the record for the client's wording, and no rule reads it. The -sign-out unbinds the identities only this device holds and deletes what is not -a key of the device: the account record, and the synced copies of integration -secrets, which the account service holds. It does not release the device key at -the service. The engine and the UI do not use the key store yet; accounts, -sign-in and the integrations page are later steps. +lose their servers, roles and memberships there. +`AccountRecord.bound_existing_key` stays in the record for the client's wording, +and no rule reads it. The sign-out unbinds the identities only this device holds +and deletes what is not a key of the device: the account record, and the synced +copies of integration secrets, which the account service holds. It does not +release the device key at the service. The engine and the UI do not use the key +store yet; accounts, sign-in and the integrations page are later steps. The three parts of open question 10, and what each asks of the store and of the client: @@ -451,8 +451,8 @@ client: check) followed by the same local sign-out with `Auto`, which keeps the key, unbound. The store has nothing to add and the client remembers nothing of the release: the service holds the registration of the key, and a sign-in or a - sign-up refused with `CONFLICT`, field `device`, is how the client learns that - the key is still registered with an account it signed out of. + sign-up refused with `CONFLICT`, field `device`, is how the client learns + that the key is still registered with an account it signed out of. 3. **The deletion of an account releases every device key of it.** The service writes a DEVICE and a RELEASED entry for each key, the hosts that adopted a key end their record of it at their next poll, and the account's users on diff --git a/docs/session-seam.md b/docs/session-seam.md index b30b2ad..a97e7c9 100644 --- a/docs/session-seam.md +++ b/docs/session-seam.md @@ -1767,13 +1767,13 @@ were fresh compose projects (`down -v`, `up -d`) for each smoke run. line, column }` says malformed, cut short, not an identity or unreadable (`IdentityDamage`), and where, and never the text. The key store (`keystore.rs`) was checked line by line and does not leak: `check_teamspeak` - and `Columns::level` drop the parse error (`let Ok(..) else` and `map_or`), and - the binding warning names the row's kind and uid, not its data. A test with six - damaged rows (a key that does not import, a field of the wrong type, syntax, - a cut text, bytes that are no UTF-8 as a BLOB and as TEXT) calls everything - of the store and of the key store that reads or writes the row and looks - through the errors (text, `Debug` and sources) and the logs at TRACE for any - 8 characters in a row of what the row held + and `Columns::level` drop the parse error (`let Ok(..) else` and `map_or`), + and the binding warning names the row's kind and uid, not its data. A test + with six damaged rows (a key that does not import, a field of the wrong type, + syntax, a cut text, bytes that are no UTF-8 as a BLOB and as TEXT) calls + everything of the store and of the key store that reads or writes the row and + looks through the errors (text, `Debug` and sources) and the logs at TRACE for + any 8 characters in a row of what the row held (`crates/voelin-store/tests/identity_text.rs`); it fails with the reader's message put back. - The bookmark tests of `link/connect.rs` that still sit in