halkyon/packages/halkyon_app/test
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tizian 「ティツィアーン」 7aee78bd87
feat(base,app,learn,todo,train,meditate): agent accounts with tokens
ADR 0044's step 6a (D42, D43, D45): accounts for programs, such as AI
assistants, that an identified person makes from the Profile.

halkyon_base keeps them on the instance's register, which its members
ask: an agent is an account (agent_account: its owner, its name, its
public keys, set by itself once) with one token (agent_token: 32
random bytes, kept as their SHA-256 alone, shown once). agents.create,
mine, newToken, revoke, delete and setKeys serve its owner;
agentSignIn.signIn exchanges the token for an ordinary server-side
session of a day, with the scopes identified and agent, at most 60
sign-ins an hour from a network. Revoking a token or making a new one
ends the agent's sessions; a token unused for 90 days lapses in every
service's pruning. Up to 5 agents a person, where the operator didn't
switch them off (AGENTS=off; said on the privacy page and in
instance.basics). An agent makes no agents, creates or owns no shared
space, is invited and raised as a Viewer alone, is never handed a
space on, is named no operator and granted no assistants; each refusal
has its test. Deleting a person deletes their agents first; an agent's
public profile names whose agent it is.

In the apps, every Profile has an Agents card (halkyon_app's
AgentsSection): made with a name and a handle, its token shown once to
copy, a new token, the token taken back, deleted. Learn's Share sheet
marks an agent among the members and offers it no role above Viewer.

The migrations, the module's and each host's (Learn, Meditate, Todo,
Train), are additive alone: CREATE TABLE "agent_account" with a unique
index on "agentId" (one row an agent account) and one on "ownerId" (a
person's agents, and deleting them with the person), and CREATE TABLE
"agent_token" with unique indexes on "agentId" (one token an agent)
and "tokenHash" (the sign-in finds the token by its hash). No existing
table is touched, so the server before the deploy keeps working on the
migrated database.

Whats-New: Make agents in your Profile: accounts for programs such as AI assistants, which sign in with a token and see only what you share with them.
Whats-New-De: Leg in deinem Profil Agenten an: Konten für Programme wie KI-Assistenten, die sich mit einem Token anmelden und nur sehen, was du mit ihnen teilst.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-11-11 19:56:13 +01:00
..
agent feat(base,app,learn,todo,train,meditate): agent accounts with tokens 2026-11-11 19:56:13 +01:00
app fix(app): a one-word address is refused at once; this machine's is reached over HTTP 2026-11-10 14:22:58 +01:00
assistant feat(learn,app): the field's row as one, its model by name in its provider's colour, the microphone dictating (ADR 0021, D69) 2026-11-05 08:58:37 +01:00
async refactor(app): delayed deletions move into halkyon_app (ADR 0030, D24) 2026-10-30 15:52:50 +01:00
auth feat(app): a wait screen for accounts that wait for the operator (ADR 0021, step 1) 2026-10-26 07:17:05 +01:00
base feat(base,app)!: GitHub signs nobody in any more (ADR 0020, D36) 2026-10-26 07:16:39 +01:00
files refactor(app,learn): people's files on the device shared in halkyon_app 2026-11-11 01:19:40 +01:00
handle/bloc feat(base)!: a handle at password sign-up (ADR 0020, D26, D28–D30) 2026-10-24 19:21:39 +02:00
instance fix(app): a one-word address is refused at once; this machine's is reached over HTTP 2026-11-10 14:22:58 +01:00
l10n halkyon_app: instances, sign-in and sync plumbing for Halkyon's apps 2026-10-19 15:31:40 +02:00
look feat: the rail opens into a sidebar with labels from expanded windows on 2026-11-10 18:04:09 +01:00
operator feat(app): the operator's overview of screens, grants to several people at once with one budget each, assistants by provider 2026-10-26 16:21:53 +01:00
password fix(app): a recovery phrase's and codes' files name the instance 2026-11-05 22:55:28 +01:00
person feat(base,app)!: GitHub signs nobody in any more (ADR 0020, D36) 2026-10-26 07:16:39 +01:00
privacy feat(app): a shared space's content taken from its members' signatures 2026-11-11 14:13:36 +01:00
profile feat(app): one Profile for every app, the person's own tab first, then each app's (ADR 0014) 2026-11-02 11:11:11 +01:00
shared_space feat(base,app,learn,todo,train,meditate): agent accounts with tokens 2026-11-11 19:56:13 +01:00
simplelogin feat(learn,app): explanations wait behind a question mark beside their title 2026-11-04 09:32:05 +01:00
speech feat(learn,todo,meditate): dictate through the phone's voice input app (ADR 0038, D18) 2026-11-08 11:48:42 +01:00
support refactor(app): delayed deletions move into halkyon_app (ADR 0030, D24) 2026-10-30 15:52:50 +01:00
sync feat(app,ui): sync waits on mobile data and asks first 2026-11-10 23:46:29 +01:00
whats_new feat(app): what's new after an update, drafted by the release tool (ADR 0030, D61) 2026-10-31 19:36:20 +01:00
serial_queue_in_widget_tests_test.dart halkyon_app: instances, sign-in and sync plumbing for Halkyon's apps 2026-10-19 15:31:40 +02:00