-
-
Notifications
You must be signed in to change notification settings - Fork 52.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Had codex do an investigation, its output-
Verification of clawdbot configure auth write path:
- The configure flow writes creds via
writeOAuthCredentials/setAnthropicApiKeyinsrc/commands/onboard-auth.ts, which callupsertAuthProfilewithout anagentDiroverride. upsertAuthProfileresolves the auth store path viaresolveClawdbotAgentDir()(src/agents/auth-profiles.ts), which defaults toresolveConfigDir()/agent(src/agents/agent-paths.ts+src/utils.ts).- The new per-agent path is
stateDir/agents/<id>/agent(src/agents/agent-scope.ts), but the configure code doesn’t use that (and doesn’t passagentDir).
Conclusion: yes — unless CLAWDBOT_AGENT_DIR or PI_CODING_AGENT_DIR is set in the environment, clawdbot configure is still writing auth creds to the legacy [config_dir]/agent location instead of [config_dir]/agents/<id>/agent.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working