| name | debug |
| description | Troubleshoot WAO development issues. Diagnoses port conflicts, stale processes, missing dependencies, and common errors. Use when builds stall, tests hang, ports conflict, or user says 'something is broken', 'tests are stuck', or 'help debug'. Not for test failures — use /test or /test-hb to re-run tests. |
| argument-hint | [issue-type] |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Grep |
Troubleshoot WAO development issues.
If $ARGUMENTS is provided, focus on that specific issue type (timeout, port, wasm, signature).
Steps
-
Read docs/debug.md for known issues and their fixes.
-
Check port conflicts:
lsof -ti :10000-10010 2>/dev/null
lsof -ti :6363 2>/dev/null
- Check for stale beam.smp processes:
ps aux | grep beam.smp | grep -v grep
- Check HyperBEAM directory exists:
ls ./HyperBEAM/rebar.config 2>/dev/null && echo "HyperBEAM: OK" || echo "HyperBEAM: NOT FOUND"
- Verify wallet exists:
ls .wallet.json 2>/dev/null && echo "Wallet: OK" || echo "Wallet: NOT FOUND"
-
If argument provided, focus on that specific issue type:
timeout — check ports, kill stale processes, verify HyperBEAM
port — show all processes on relevant ports
wasm — check Node.js flags and WASM modules
signature — check for authority field conflicts, linkify_mode
-
If no specific issue, run a minimal connectivity test:
pkill -f beam.smp 2>/dev/null || true
lsof -ti :10000-10010 | xargs -r kill -9 2>/dev/null || true
-
Cross-reference any error messages with the Common Error Messages table in docs/debug.md.
-
Report findings with specific fix recommendations.