Identities page shows a plain message instead of a raw RPC error #75

Closed
opened 2026-10-27 13:34:51 +00:00 by sam · 0 comments
Owner

Goal

Without a signed-in person, the tokens card says personal tokens need a signed-in person and the page makes no failing request.

Evidence

Live: GET /api/tokens 400 rendered as 'invalid identity rpc error: code = FailedPrecondition ...'. Fixed for real by archie-core-kgxw.4.

Rules

Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run task check once at the end; if it fails twice on the same problem, comment on this bead and stop.

Stop when

  • Handler maps the error to a plain message; card hidden under shared-token auth until kgxw.4 lands.
    Then commit (Conventional Commits, scoped by package), bd close this bead and stop.

Close reason

Sessions without a personal principal receive a successful availability response without a State Store token request; the card explains that personal tokens need a signed-in person and hides token controls. Direct mutations return the same plain refusal. Regression failed before fix, browser checked absent/present person, and task check passed.


Imported from beads archie-core-4q28.22 · GitHub #1356 · type bug · priority P3 · created 2026-10-05 · closed 2026-10-08

## Goal Without a signed-in person, the tokens card says personal tokens need a signed-in person and the page makes no failing request. ## Evidence Live: GET /api/tokens 400 rendered as 'invalid identity rpc error: code = FailedPrecondition ...'. Fixed for real by archie-core-kgxw.4. ## Rules Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run `task check` once at the end; if it fails twice on the same problem, comment on this bead and stop. ## Stop when - [ ] Handler maps the error to a plain message; card hidden under shared-token auth until kgxw.4 lands. Then commit (Conventional Commits, scoped by package), `bd close` this bead and stop. ### Close reason Sessions without a personal principal receive a successful availability response without a State Store token request; the card explains that personal tokens need a signed-in person and hides token controls. Direct mutations return the same plain refusal. Regression failed before fix, browser checked absent/present person, and task check passed. --- _Imported from beads `archie-core-4q28.22` · GitHub #1356 · type bug · priority P3 · created 2026-10-05 · closed 2026-10-08_
sam added the lowbug labels 2026-10-27 13:34:51 +00:00
sam self-assigned this 2026-10-27 13:34:51 +00:00
sam closed this issue 2026-10-27 13:34:51 +00:00
sam added a new dependency 2026-11-14 14:45:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#75