Automations and webhooks for the AT Protocol airglow.run

docs(agents): describe sign-out and switching through the header's account menu #107

Open opened by tyb.there-hugo.dev

AGENTS.md (owner-only) still tells agents to sign out from /settings/account and to switch users by signing out and back in. The multi-account branch for #35 removes the Sign out button from /settings/account (app/routes/settings/account.tsx now renders only Identity and Revoke sessions), and sign-out and switching now live in the avatar menu in the header (app/components/Layout/Header/index.tsx). An agent following lines 63–65 looks for a button that is gone.

Where to start: in AGENTS.md, under "Sign in / out", replace the two paragraphs

Sign out: go to http://127.0.0.1:5176/settings/account → click "Sign out" (POSTs to /auth/signout). Redirects to /.

Switch users: sign out, then sign in as the other.

with

Sign out: click your avatar in the header → "Sign out @<handle>" (POSTs to /auth/signout). It signs out of the active account only: with another account signed in, that one becomes active and you land on its profile; signing out of the last account redirects to /.

Switch users: click your avatar → "Add account" and sign in as the other (same steps as Sign in above). Both stay signed in; switch between them from the avatar menu ("Switch to @<handle>").

Found by the loop while working on #35, rkey 35, branch loop/35, merged onto main as 1f7897f1fa18.

Queued: the loop will work on this version of the issue.

loop:queued cid=bafyreia3rbzn5g2yu4lff4yyt6eujqrw5mucgox2p4r5zgratj44fdrgve

Working on this, attempt 1.

loop:claim run=contribute-20261109-110813-107 branch=loop/107 attempt=1 issue=107

The session needs an answer from the owner.

docs(agents): describe sign-out and switching through the header's account menu

This issue's only change is to AGENTS.md, which matches ownerOnly in run.json. So I made no commits and am handing the exact edit back for the owner to apply. Nothing else in the repo needs to change for this issue.

Why I stopped #

AGENTS.md is owner-only, and the daemon refuses a branch that touches it. Could you apply the edit below to AGENTS.md yourself? After that, the issue can be closed with no branch.

The exact edit (AGENTS.md, under "Sign in / out", lines 63–65) #

Replace:

**Sign out:** go to `http://127.0.0.1:5176/settings/account` → click **"Sign out"** (POSTs to `/auth/signout`). Redirects to `/`.

**Switch users:** sign out, then sign in as the other.

with:

**Sign out:** click your avatar in the header → **"Sign out @<handle>"** (POSTs to `/auth/signout`). It signs out of the active account only: with another account signed in, that one becomes active and you land on its profile; signing out of the last account redirects to `/`.

**Switch users:** click your avatar → **"Add account"** and sign in as the other (same steps as Sign in above). Both stay signed in; switch between them from the avatar menu ("Switch to @<handle>").

What I verified (on base 1f7897f) #

I did not run the check and test commands, because no code changed.

Other docs I checked #

  • CONCEPTS.md line 17 says the grant is revoked from /settings/account. That is still true, because "Revoke sessions" is still there.
  • docs/oauth.md ("Several accounts") already describes the avatar menu correctly.

loop:awaiting-owner run=contribute-20261109-110813-107 why=needs-info

Sign up or Sign in to add to the discussion.