Checking your setup¶
aegis doctor checks that Aegis is set up properly on this computer and can reach your
organisation.
Each line is one check, marked PASS, WARN, FAIL or SKIP:
✓ [PASS] config present — /home/tanya/.config/aegis.json
✓ [PASS] config mode 0600
✓ [PASS] API key file present — /home/tanya/.config/aegis/api_key
✓ [PASS] API key file mode 0600
✓ [PASS] server reachable — https://acme.aegis.krathos.systems
✓ [PASS] API key accepted — server recognized key, granted general access
✓ [PASS] up to date — v2.9.1
WARN and SKIP don't mean anything is broken. Fix anything marked FAIL.
What each check means¶
| Check | If it doesn't pass | What to do |
|---|---|---|
| config present | You haven't logged in on this computer | Run aegis login |
| config mode 0600 | Other people on this computer can read your settings file. A warning only | Run chmod 600 ~/.config/aegis.json |
| API key file present | The file holding your key is missing | Run aegis login again |
| API key file mode 0600 | Other people on this computer could read your key | Run chmod 600 ~/.config/aegis/api_key |
| server reachable | Nothing answered at the saved address | Check the address and your connection |
| API key accepted | Your organisation didn't accept the key | Ask your administrator for a new key, then use it |
| update available | A newer version of Aegis is out. A warning only | Run aegis update |
The two file permission checks are skipped on Windows.
Troubleshooting explains each error message.
Other things it reports¶
Depending on your setup, aegis doctor may also tell you:
- that Aegis isn't managing your home-folder files yet. See
aegis manage. - which delivered files you've edited. See If you edited a delivered file.
- which delivered files are also committed to the repository, with the command that stops git tracking them.
In Claude Code¶
With the plugin installed, /aegis:doctor runs the same checks and explains the result.