feat(agent): add --doctor preflight self-test mode with structured checks

This commit is contained in:
patrick committed 2026-03-05 20:49:37 -05:00
1 parent d2fdd5be44
commit be92bb2493
5 files changed
+311 -2

No files matched your search

+7
View File
@@ -91,6 +91,13 @@ Supported env overrides:
tail -f /root/threat-engine-agent/logs/threat-agent.log
```
4. Preflight Self-Test:
```bash
# Run startup diagnostics without entering the main loop
python3 agent.py --doctor
```
## 🔍 Troubleshooting
If you see a "Heal Loop" in the logs: