Skip to content

intutic doctor

Runs a series of health checks to verify that all Intutic components are properly configured and reachable. Each check prints ✓ or ✗ with a one-line remediation if something is wrong.

Usage

bash
intutic doctor

No flags required — the command reads workspace configuration from ~/.intutic/.

Checks

The doctor runs these checks in order:

#CheckWhat it verifiesPass condition
1ProxyGET http://127.0.0.1:4000/healthHTTP 200 within 3s
2Control Plane AuthGET {controlPlaneUrl}/api/v1/health with stored API keyHTTP 200 (non-401/403)
3Sync DaemonPID file at ~/.intutic/daemon.pid, or process scanProcess is alive
4Harness ConfigsSHA-256 hashes vs ~/.intutic/integrity.jsonAll hashes match
5Daemon Log~/.intutic/daemon.log exists and is readableFile is readable
6ValkeyProxy /health valkey field, or TCP probe port 6379Connection succeeds within 2s
7Cert Trust~/.intutic/ca.crt exists and is in OS trust storemacOS: security verify-cert; Linux: system CA dir

Example output

Intutic Doctor — Workspace Health Check

  ✓ Proxy — Reachable at http://127.0.0.1:4000/health (HTTP 200)
  ✓ Control Plane Auth — Authenticated at http://localhost:3001
  ✓ Sync Daemon — Running (PID 42156)
  ✓ Harness Configs — 3 file(s) intact — no drift detected
  ✓ Daemon Log — Readable at /Users/dev/.intutic/daemon.log (847 lines)
  ✓ Valkey — Reachable at 127.0.0.1:6379 (direct TCP probe)
  ✓ Cert Trust — CA cert exists and is trusted by macOS Keychain

✔ All 7 checks passed — workspace is healthy.

When a check fails:

  ✗ Proxy — Not reachable — fetch failed
    → Start the proxy: ensure `intutic connect` is running or the proxy binary is started.
  ✗ Sync Daemon — Not running
    → Start with `intutic connect` or install as a service with `intutic daemon install`.

Remediation commands

CheckFix
Proxy not reachableintutic connect
No credentialsintutic login
Auth failed (401/403)intutic login (re-authenticate)
Daemon not runningintutic connect or intutic daemon install
No workspace configintutic init
Config drift detectedintutic connect (auto-corrects drift)
Daemon log not foundStart daemon first with intutic connect
Valkey not reachabledocker compose up -d valkey or install locally
CA cert not foundintutic connect (auto-generates on first run)
CA cert not trusted (macOS)sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/.intutic/ca.crt
CA cert not trusted (Linux)sudo cp ~/.intutic/ca.crt /usr/local/share/ca-certificates/intutic-ca.crt && sudo update-ca-certificates

Source

The circuit breaker for AI agents