diff --git a/CLAUDE.md b/CLAUDE.md index dd58e3a..b44a252 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,5 +1,10 @@ # Navi — Project Context for Claude +## Working rules + +- **No unapproved steps.** Before implementing a change, propose the approach and wait for user confirmation. Do not make architectural decisions, add dependencies, or modify external interfaces without explicit approval. +- **Check external libraries first.** When a task involves a third-party library (e.g. `gnexus-auth-client-py`), read the library source/docs before assuming behavior or inventing functionality. + ## What this is Personal modular AI agent system. FastAPI backend + vanilla JS client. The agent is named Navi — female, loyal, uncensored personal assistant. Runs locally via Ollama. diff --git a/navi/auth/deps.py b/navi/auth/deps.py index 7990db9..e85dd4c 100644 --- a/navi/auth/deps.py +++ b/navi/auth/deps.py @@ -97,7 +97,7 @@ id=auth_user.user_id, email=auth_user.email, display_name=auth_user.profile.get("display_name") or auth_user.email, - avatar_url=auth_user.profile.get("picture") or auth_user.profile.get("avatar_url") or None, + avatar_url=auth_user.avatar_url, role=role, permissions=permissions, )