agentx doctor before your first install, or whenever something looks wrong.
Read the report
If any row iswarn or fail, the report ends with a list of issues in place of ✓ No issues detected. Each issue has its fix on a hint: line:
System: git and the home directory.App: agentx’s own state.Clients: every detected agent configuration, with the count in the title.
What it checks
The
source_remotes and staged_imports rows appear only when the account repo exists and opens.
Add --verbose to see every git command doctor ran and what git printed.
Exit codes
doctor exits0 even when some rows warn or fail. Only the git and account_repo checks, or a stop, give another code. See Exit codes for what each code means.
0: any other result, including warnings and other failed rows.2: git is missing or older than 2.40. The hint names the fix. Ubuntu 22.04 ships git 2.34: install a newer git, or upgrade the distribution. Until you fix git, every other command exceptversionandhelprefuses to run.8: agentx cannot readaccount.gitin agentx home as a git repository. Check the directory, or move it aside.9: you stopped the run with Ctrl-C, or something sent it aSIGTERM. See Exit codes.