Display the current account at the bottom of the sidebar #33
Labels
No labels
delivered
outstanding
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
kayg/hermternal-apple#33
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope
Add the current account identity as a visible row at the bottom of the sidebar. This is the presentation increment that can ship before the deferred account/profile switching work in #32; it must not expand #32's switching scope.
Identity research / open question
The gateway contract must be checked for the identity it genuinely exposes instead of assuming a human name. Research found that dashboard
GET /api/auth/meexposesuser_id,email,display_name,org_id,provider, and expiry, but the current Hermes Nous provider maps the JWT subject touser_idand leavesemailanddisplay_nameempty—there is no human-facing name/profile in the current provider contract.POST /auth/native/tokenmay also returnprovideranduser_id, whileGET /api/auth/providersexposes provider metadata (name,display_name, and capability flags). The current credential account key remains the gateway's absolute URL. See #1 for the auth/provider contract and #32 for the deferred account/profile model.Acceptance criteria
/api/auth/medisplay_name, then non-empty/api/auth/meemail, then/api/auth/meuser_idrendered as an Account ID (the current provider's genuine identity), then providerdisplay_name/name, then the gateway host (and finally its absolute URL if needed). No fabricated local username is used, and an opaqueuser_idis never mislabeled as a human name.