Skip to content

doctor

Read-only setup checks — config paths, cache gitignore, tsconfig/npm drift hints. Exits 0 when healthy, 1 when warnings remain.

bash
expgov doctor
expgov doctor -v

Use validate for full tier enforcement; doctor is for environment hygiene before you run governance commands.

Cache

doctor reports your configured cache dir and how many snapshot folders exist. If a command fails oddly after upgrading expgov, stale on-disk snapshots are usually rebuilt automatically — see Cache flags. To force a rebuild: add -f/--force to inventory, diff, trend, etc.