Forgia

forgia doctor

forgia doctor

Checks that the vault, tools, and configuration are set up correctly. Always exits 0 — it reports issues without failing, so it's safe to run in CI as a diagnostic step.

Output format

=== Forgia Doctor ===

  ✓ vault — .forgia/ found and valid
  ✓ config — config.toml parsed
  ✓ guardrails — deny.toml parsed
  ✓ git
  ✓ claude
  ○ docker — not found (optional)
  ○ bd — not found (optional)
  ○ fswatch — not found (optional)
  ○ yq — not found (optional)
  ○ openhands image — docker not available
  ○ openhands container — stopped
  ✓ claude-commands — 12 commands
  ○ beads circuit-breaker — no circuit breaker files
  ✓ llm api key
  ○ codebase-memory-mcp — not installed (optional)

All checks passed.

Icons: pass, fail, skipped/optional.

Checks

CheckRequiredPurpose
vaultYes.forgia/ exists and is readable
configYesconfig.toml parses without error
guardrailsYesdeny.toml parses without error
gitYesgit is in PATH
claudeYesclaude CLI is in PATH
dockerOptionalNeeded for OpenHands autonomous agents
bdOptionalBeads task tracker
fswatchOptionalFile watcher for forgia watch
yqOptionalYAML processing
openhands imageOptionalDocker image pulled for OpenHands
openhands containerOptionalOpenHands container currently running
claude-commands/fd-* and /sdd-* slash commands installed
beads circuit-breakerBeads circuit breaker is closed (not tripped)
llm api keyYesANTHROPIC_API_KEY or OPENAI_API_KEY is set
codebase-memory-mcpOptionalKnowledge layer for codebase indexing

Common fixes

claude not found

Install Claude Code: claude.ai/claude-code

claude-commands not installed

mise run claude:install

Docker not running

Start Docker Desktop, or on Linux:

sudo systemctl start docker

OpenHands image not pulled

mise run openhands:install

llm api key missing

export ANTHROPIC_API_KEY=sk-ant-...

Running forgia doctor after fixing issues confirms everything is in order before you start work.