diff --git a/docs/web-ui/dashboard.md b/docs/web-ui/dashboard.md index 9609acd8..06006d81 100644 --- a/docs/web-ui/dashboard.md +++ b/docs/web-ui/dashboard.md @@ -227,9 +227,9 @@ password?, token?` → `2xx { ok, user_id }` on success or the agent's `matrixAccounts..tokenFile` via the same privileged write path as the hive-internal `matrix-token`; the token is **never** echoed back, and the page clears the secret inputs on submit -regardless of outcome. Because a bad credential can currently disturb -the agent's whole matrix session until per-account failure isolation -lands on the daemon, the form carries an explicit experimental notice. +regardless of outcome. The account list reflects what is *provisioned* +(an account with a stored token), so a config-declared-but-unprovisioned +account appears only once it has been provisioned through the form. ## P3RM1SS10NS tab diff --git a/frontend/packages/dashboard/src/matrix-accounts.css b/frontend/packages/dashboard/src/matrix-accounts.css index 240e5942..8a253e6e 100644 --- a/frontend/packages/dashboard/src/matrix-accounts.css +++ b/frontend/packages/dashboard/src/matrix-accounts.css @@ -9,17 +9,6 @@ padding: 1rem 1.25rem 3rem; } -.ma-experimental { - border: 1px solid var(--amber); - background: color-mix(in srgb, var(--amber) 10%, transparent); - color: var(--fg); - padding: 0.6rem 0.85rem; - border-radius: 6px; - margin: 0.8rem 0 1.4rem; - font-size: 0.9rem; - line-height: 1.4; -} - .ma-field { display: flex; flex-direction: column; diff --git a/frontend/packages/dashboard/src/matrix-accounts.html b/frontend/packages/dashboard/src/matrix-accounts.html index 7aa6d516..3958a784 100644 --- a/frontend/packages/dashboard/src/matrix-accounts.html +++ b/frontend/packages/dashboard/src/matrix-accounts.html @@ -22,18 +22,14 @@

provision or log in an external matrix account for an agent and store its access token. the token is written to the agent's matrixAccounts.<account>.tokenFile by the host coordinator — it is never displayed back on this page.

-
- ⚠ experimental. a wrong password or token entered here can currently disrupt the target agent's whole matrix session until per-account failure isolation lands on the daemon. use with care on a live agent. -
-

◇ agent

-

◇ configured accounts

-

status reflects whether a token is stored, not a live session — a true online/offline indicator is a follow-up that needs the daemon's account registry.

+

◇ provisioned accounts

+

accounts that have a stored token (provision one below to add it here); a config-declared account that hasn't been provisioned yet won't appear until it has a token. status reflects whether a token is stored, not a live session — a true online/offline indicator is a follow-up that needs the daemon's account registry.

select an agent to see its matrix accounts.

◇ provision / log in

diff --git a/frontend/packages/dashboard/src/matrix-accounts.js b/frontend/packages/dashboard/src/matrix-accounts.js index d9c1e053..9fa354be 100644 --- a/frontend/packages/dashboard/src/matrix-accounts.js +++ b/frontend/packages/dashboard/src/matrix-accounts.js @@ -17,12 +17,9 @@ // // Live up/down (a true green/red dot) needs the daemon's account // registry; until that follow-up lands the dot only reflects whether a -// token is STORED, labelled "token stored" rather than "online". -// -// Hard dependency: per-account failure isolation on the matrix daemon. -// Until that lands a bad credential entered here can crash the agent's -// whole matrix session, so the form carries an explicit experimental -// notice in the markup. +// token is STORED, labelled "token stored" rather than "online". The +// account list shows what is provisioned (has a stored token), so a +// config-declared-but-unprovisioned account appears only once provisioned. import { $, el, esc, renderServerWarnings } from './common.js';