self-healing

Category: Tools & Productivity | Uploader: psyducklerpsyduckler | Downloads: 0 | Version: v1.0(Latest)

AI self-healing error handler. Use when a cron job fails, a sub-agent crashes, a deploy breaks, a script errors, or any automated process reports a failure. Also use proactively during heartbeats to scan for recent failures. Detects failures, diagnoses root causes, applies fixes (preferring permanent fixes over band-aids), verifies the fix works, and logs everything to a known-fixes database for faster future resolution. Triggers on error handling, failure recovery, self-healing, diagnose error, fix broken, cron failed, deploy failed, sub-agent crashed, script error.

Changelog: Source: GitHub https://github.com/psyduckler/self-healing-agents

Directory Structure

Current level: tree/main/

  • 📁 .github/
    • 📁 workflows/
      • 📄 ci.yml 512 B
  • 📁 demo/
    • 📄 demo-config.yaml 407 B
    • 📄 demo-errors.jsonl 997 B
    • 📄 demo.log 903 B
    • 📄 demo.sh 1.5 KB
  • 📁 references/
    • 📄 error-patterns.md 3.3 KB
  • 📁 scripts/
    • 📄 scan-failures.py 528 B
    • 📄 self-heal.py 442 B
  • 📁 sources/
    • 📄 __init__.py 512 B
    • 📄 base.py 299 B
    • 📄 jsonl.py 299 B
    • 📄 logfile.py 305 B
    • 📄 openclaw.py 308 B
  • 📁 src/
    • 📁 self_healing/
      • 📁 sources/
        • 📄 __init__.py 1.9 KB
        • 📄 base.py 1.2 KB
        • 📄 jsonl.py 4.6 KB
        • 📄 logfile.py 3.8 KB
        • 📄 openclaw.py 5.1 KB
      • 📄 __init__.py 104 B
      • 📄 cli.py 5.4 KB
      • 📄 healer.py 22.5 KB
      • 📄 scanner.py 11.4 KB
  • 📁 tests/
    • 📄 __init__.py 8 B
    • 📄 conftest.py 382 B
    • 📄 test_cascades.py 5.7 KB
    • 📄 test_cli.py 3.2 KB
    • 📄 test_matching.py 5.1 KB
    • 📄 test_notifications.py 2.4 KB
    • 📄 test_risk.py 2.9 KB
    • 📄 test_sources.py 8.9 KB
  • 📄 .gitignore 59 B
  • 📄 known-fixes.example.json 2.8 KB
  • 📄 LICENSE 1.1 KB
  • 📄 pyproject.toml 606 B
  • 📄 README.md 17.0 KB
  • 📄 requirements.txt 12 B
  • 📄 SKILL.md 6.3 KB

SKILL.md

Login to download/like/favorite ❤ 5 | ★ 0
Comments 0

Please login before commenting.

Loading comments...