smartspec doctor

Self-check for the smartspec runtime. Use it after install or when an audit fails for unclear reasons.

Synopsis

smartspec doctor

What it checks

  • The binary is on $PATH and matches the latest local install.
  • The Node runtime (for the npm install path) is supported (≥ 20).
  • Outbound HTTPS works (smartspec must fetch pages and llms.txt).
  • Write permission on the working directory (for -o file writes).

Each check prints a green or red line. A non-zero exit code means at least one check failed.

Example

$ smartspec doctor
✓ smartspec on PATH (0.1.0)
✓ Node 20.18.0
✓ Outbound HTTPS reachable
✓ Write permission on .