Full implementation of the autonomous self-healing code agent:
- LangGraph state machine with Generator → QA → Executor → Debugger → Memory → Repair loop
- Unified LLM Router with Ollama (local), HuggingFace Transformers (GPU), and Mock providers
- Async Python execution sandbox with subprocess isolation and timeout enforcement
- Rolling memory summarizer capping lessons at 5 bullets to prevent context overflow
- JSON schema validation with automatic retry on malformed LLM output
- YAML-based prompt templates for all agent roles (generator, qa_adversarial, debugger, memory_summarizer)
- Event-driven streaming architecture for live Gradio UI updates
- Gradio demo with two tabs: Run Live Agent (streaming) and Performance (precomputed charts)
- 8-task benchmark suite covering interval merging, data normalization, log processing, and boundary conditions
- 30 tests passing covering sandbox, schema validation, prompt loading, event bus, and full graph integration
Co-Authored-By: Claude Opu…