Troubleshooting
Skills not visible in host UI
- Run:
pnpm run cli -- sync --scope all - Reload/restart host app session
- Verify
AGENTS.mdskills table matches.agents/skills/*/SKILL.md
Worktree checkout missing provider links
- Run:
pnpm run worktree:init - This command installs dependencies, builds the workspace, and runs
oat sync --scope project.
Codex appears detected but no skill sync actions are listed
Expected for native-read skill mappings. Codex can read canonical skills without mirrored provider writes.
sync reports provider config mismatch
- For interactive runs, select detected providers to enable when prompted.
- For non-interactive runs, configure providers explicitly:
oat providers set --scope project --enabled <providers> --disabled <providers>
- Re-run
oat sync --scope projectafter updating config.
instructions validate reports missing, content_mismatch, or stray
- Run
oat instructions sync --dry-runto preview changes. - Run
oat instructions sync --strategy pointer|symlink|copyto apply the expectedCLAUDE.mdshape. - If mismatched
CLAUDE.mdfiles should be overwritten, runoat instructions sync --force(or combine it with--strategyif needed). - If
strayis reported,oat instructions syncwill adopt the Claude-only file intoAGENTS.mdand then regenerateCLAUDE.md. - If a broken or unreadable instruction path is reported, fix the underlying file or symlink target first; sync will intentionally skip manual-repair cases instead of forcing recovery.
- If a directory you expected to see is missing from the scan, confirm it is not under
.git,.oat,.worktrees, ornode_modules. - Re-run
oat instructions validateand confirm status isok.
Use Instruction Sync for the full strategy matrix and state model.
doctor warns about canonical directories
- Run
oat initfor the relevant scope. - Re-run
oat doctorafter initialization.
doctor warns about outdated installed OAT skills
- Run
oat init toolsto install/update bundled OAT tool packs. - In TTY mode, select which outdated skills to update when prompted.
- In non-interactive mode, rerun the relevant pack subcommand with
--forceif you want to overwrite outdated installed skills.
Manifest not found or invalid
- Missing manifest: run
syncorinit - Invalid manifest: repair/remove file and rerun
Status/output mismatches with lifecycle expectations
- Reconcile
state.md,plan.mdreview table, andimplementation.md. - Ensure phase/review status has been updated after reviews and fix cycles.
Reference artifacts
.oat/projects/<scope>/<project>/implementation.md.oat/projects/<scope>/<project>/reviews/packages/cli/src/commands/doctor/index.tspackages/cli/src/commands/instructions/