hero_agent: replace hardcoded anonymous user with real auth identity #92
Loading…
Add table
Add a link
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?
Context
Deferred from #45 (Phase 3: User Identity).
The OSIS storage migration is complete (v0.7.2-dev), but all operations use hardcoded
"anonymous"as the user_id. This means:What needs to happen
"anonymous". Need middleware or helper to extract user identity from the auth token/session (hero_auth provides SSO sessions)routes.rs→agent.handle_message()→osis_store.*()— the plumbing exists (user_sidparameter) but is always"anonymous"list_conversations(),list_memories(),get_stats()already filter byuser_id— just needs real valuesFiles to modify
hero_agent_server/src/routes.rs"anonymous"hero_agent_server/src/main.rsRelated
Signed-off-by: mik-tf