Troubleshootingturno doctor
A service account has no read_tools
What turno doctor means by "accounts without read_tools: <no reads>; delegated reads get every tool of th...", 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
! accounts without read_tools: <no reads>; delegated reads get every tool of the account and ask like writes
manual: add read_tools to each of them in <accounts file>It is a warning; warnings do not change the exit code. Words in angle brackets stand for values from your machine.
Why it happens
The accounts bridge runs a delegated read with only the account's read_tools. An account without them has no safe read, so every call gets every tool of the account and asks for your confirmation like a write.
Fix
Add read_tools to each of them in <accounts file>.
No single command fixes this one, so doctor names the manual step.
Then run turno doctor again to see the row turn into ok.
The check lives in packages/turno/src/cli/commands/doctor.ts.