sprawl doctor

Diagnostics

Runs system diagnostics to verify tool dependencies and environment health.


📌 1. The Target Problem

1. The Target Problem

"How do I run sanity diagnostics on my developer workstation to check if the path, global core DNA files, and editor settings are intact?"

When troubleshooting configuration issues or setup mismatches, it is difficult to isolate whether the issue is a missing system package, a corrupted DNA registry, or misconfigured IDE bindings.


⚙️ 2. Usage & Options

sprawl doctor

🔍 3. How it Works (Under the Hood)

  1. Inspects local system executables (Python, Git, Node, Cargo) to verify dependency version availability.
  2. Validates directory structure integrity of the global DNA path (~/.sprawl/core/).
  3. Verifies that target IDE settings registries exist and are writable.

🩺 4. Troubleshooting

  • Warning: Node/NPM or Rust/Cargo Not Found
  • Resolution: These are optional dependencies. The CLI will continue to function, but TS/JS or Rust-specific agent skills may fail to compile.

🔗 Related Resources & Tutorials