Troubleshootingturno doctor
default or fallback names a profile that is not Claude Code
What turno doctor means by "<role> = "<name>" is for <label>, but <name> is a <label> profile", and the fix.
This page is for when turno doctor reports the finding below: what it means and how to fix it.
What you see
! <role> = "<name>" is for <label>, but <name> is a <label> profileIt is a warning; warnings do not change the exit code. Words in angle brackets stand for values from your machine.
Why it happens
The top-level default and fallback keys are for Claude Code profiles. The profile they name belongs to another agent; its default goes under [agents.<agent>].
Fix
Edit config.toml at the line doctor names (or run turno config edit) and move the key to [agents.<agent>].
Then run turno doctor again to see the row turn into ok.
The check lives in packages/turno/src/core/profiles.ts.