Common issues with per-session readiness, runtime config, hook enforcement, fallback behavior, and AGENTS.md — with fixes. If you need the reader map, start with Start Here.
Cause: The OpenAI Codex CLI is not installed, is not on PATH, or the command resolves to Kay's compatibility alias instead of the real Codex CLI.
Fix:
which codex and codex --version.codex exec --help includes --ask-for-approval./sidekick:codex-delegate. This verifies the real Codex CLI before Sidekick routes implementation work to it.Cause: The Kay runtime is not installed, not on PATH, or the installed runtime predates the kay binary name.
Fix:
kay --version to verify the primary binary is available.kay exec --help to verify non-interactive execution is available.Cause: Kay's OpenCode Go provider route is unavailable because the Kay runtime has no provider credentials.
Fix: Use Kay's native login flow:
Cause: Missing binary, Kay alias masquerading as Codex, unauthenticated CLI, unsupported codex exec options, no network access, or provider-side service issue.
Fix:
which codex, codex --version, and codex exec --help.codex --version does not identify Kay.codex exec --help includes --ask-for-approval.Fix: Verify kay --version, kay exec --help, and provider login. If provider routing is wrong, start Kay with /sidekick:kay-delegate xiaomi, /sidekick:kay-delegate ocg, or set SIDEKICK_KAY_PROVIDER.
Fix: Use the explicit activation form for the session:
Cause: Codex sidekick mode intentionally pins gpt-5.4-mini with extra-high reasoning.
Fix: Use Kay mode if you need Kay provider routing. Use Codex mode when you specifically want the local OpenAI Codex CLI sidekick.
Cause: This is expected. The matching PreToolUse hook is active while the sidekick session marker exists. The shared active-sidekick selector suppresses the opposite sidekick for that host session.
Fix: Delegate through the active sidekick. Use kay exec in Kay mode or codex exec in Codex mode; Sidekick manages the runtime flags.
Cause: The project-local .kay/conversations.idx or .codex/conversations.idx path is missing, unwritable, or symlinked outside the project.
Fix: Remove any symlinked audit path, fix permissions, then reactivate the sidekick.
Cause: The active runtime may be trying the same fix repeatedly or working from an ambiguous prompt.
Symptoms: Output shows the same file being edited multiple times with no net change, or the same error appearing after each attempt.
Fix:
Cause: A sidekick success message is not proof. The host found one or more failure classes during verification.
Fix: The host should relaunch the active sidekick with the original task, failure code, evidence, relevant files/tests, and exact success criteria. Common failure codes include MISSED_REQUIREMENT, INTEGRATION_ERROR, REGRESSION, WRONG_LOGIC, SYNTAX_ERROR, and WRONG_FILE.
Fix: Classify as EXECUTION_ERROR_EXTERNAL or API_FAILURE, retry after the dependency is available, or report the blocker with evidence. Do not mark the task complete from partial output.
Cause: The deduplication check found a semantically similar entry already exists.
This is correct behavior — the dedup prevents duplicate entries. If you believe the new instruction is genuinely different, ask the host to add it with explicit phrasing that distinguishes it from existing entries.
Fix: Edit ./AGENTS.md directly. Keep it focused on current Sidekick: Kay and Codex only, canonical workflows under skills/, generated host bundles under agents/, and host-owned verification.
Fix: Stop the current sidekick, then activate the one you want:
To do a clean reinstall of Sidekick from the host plugin surface (preserves AGENTS.md and session logs):
To reset a runtime credential or login, use the runtime's own login flow, then reactivate the sidekick for the current session.