Troubleshooting

Back to the checklist

agentdrive doctor (the same command as python -m core doctor) checks four things, then the adapter:

python -m core doctor --secrets-dir ~/.config/agentdrive --public-key-url "https://<username>.github.io/.well-known/appspecific/com.tesla.3p.public-key.pem"
Check Pass means If it fails
config config/regions.yaml and config/vehicles.yaml load, with North America and Europe Fix the YAML so those two regions load.
private_key The private key file exists and, on macOS and Linux, is not group-readable Set AGENTDRIVE_KEY_FILE or key_file in $AGENTDRIVE_HOME/runtime.yaml. A placeholder Windows path is C:\Users\<you>\agentdrive-key\private-key.pem. On macOS or Linux, chmod 600 the file. On Windows, limit the file ACL to your user.
public_key The HTTPS URL returns a public key Re-run the publish script. A 404 means the well-known path is wrong. HTTP 403 can mean a CDN or bot-protection rule is blocking non-browser clients.
token The access token is still in date, or the refresh token is Sign in again only when the refresh token is dead.
adapter A single host was detected or you set an override If it says ambiguous, re-run with --adapter.

Other stops:

Expected result

Doctor prints pass for config, the private key, the public key, and the token, plus one adapter line that names grokbot, muse, template, or unknown.