brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
openai-codex-multi-oauthManage and debug multiple OpenAI Codex OAuth profiles inside OpenClaw, including native multi-profile auth stores and external-router setups where one active slot is backed by a repository of multiple OAuth identities. Use when fixing Codex profile switching, session `authProfileOverride` sync, `/status` or usage mismatches, auth.order behavior, active-slot…
Independent GitHub snapshot · Automated classification · Original documentation governs
authProfileOverride sync, /status or usage mismatches, auth.order behavior, active-slot routing, broken-token recovery, or same-email different-account/workspace selection bugs.Support and debug more than one openai-codex OAuth login inside OpenClaw.
python3 scripts/summarize_codex_profiles.py.If the target setup includes a local helper command or router script, reproduce through that real entrypoint at least once. Synthetic env-injected tests can miss session-sync bugs.
Treat these as separate layers:
codex_profile_idorder.openai-codex in the auth storeauthProfileOverride for the current chat/sessionDo not assume these layers always match.
OpenClaw stores multiple openai-codex:* profiles directly in auth-profiles.json, and runtime resolves selection from auth order plus session override.
A local repo of Codex OAuth identities exists outside normal runtime selection, and a helper/router copies one selected profile into an active slot such as openai-codex:default.
In that design, verify all of these separately:
authProfileOverride/status oauth label/status usage sourceCheck in this order:
order.openai-codexauthProfileOverride/codex_profile-style helper switches profile, but /status does not followCheck:
If the helper is real, re-test through the real command path, not only manual edits.
/status oauth changes, but usage does notCheck:
authProfileOverrideCheck:
Check:
accountId exists in another store or backup/status, display labels, and runtime truth disagreeDecide which semantic each surface should represent:
Then verify every layer against that semantic before patching.
accountId before email when possible.openai-codex:defaultopenai-codex:secondaryopenai-codex:tertiaryopenai-codex:account-NAfter each change, verify all of these:
authProfileOverride is what you expect/status shows the intended semanticreferences/runtime-files.md for the file families that usually matter.references/workflows.md for concrete repair workflows and rollback points.scripts/summarize_codex_profiles.py before and after changes.