Autonomous Software Diagnosis and Repair
Investigate how AI systems can identify, repair, and validate software defects safely inside constrained, reproducible environments.
- Idea
- In progress
- Experimental
- Completed
- Published
- AI Agents
- Static Analysis
- Automated Testing
- Sandboxed Execution
Research question
Under what guardrails and verification constraints can an AI system diagnose a real software defect, propose a minimal patch, and verify the fix without introducing regressions or unsafe changes?
Background
Automated bug-fixing tools often generate plausible-looking patches that pass narrow checks while missing edge cases, weakening security invariants, or modifying unrelated code. Distinguishing genuine defect repair from superficial test-fitting requires structured diagnosis and independent validation.
Hypothesis
Separating diagnosis, minimal patch synthesis, and isolated verification (unit tests, security invariants, and diff-scope checks) reduces false-positive repairs compared with single-pass code generation.
Proposed methodology
- Assemble a small, reproducible corpus of real defects with failing tests and explicit security/behavioural invariants.
- Run controlled repair trials inside isolated containers with no external network access.
- Require every candidate patch to pass the original test suite, newly added regression checks, and a strict diff-size review.
- Record failure modes alongside successes, including hallucinated root causes and partial fixes.
Experimental environment (planned)
- Isolated container runner with pinned language runtimes and deterministic test suites.
- Version-controlled evaluation harness and logged transcripts for every run.
Observations & results
None yet. This entry is at the Idea stage and documents a planned investigation; no benchmarks or experiments have been executed.
Limitations & current status
- Stage: Idea (proposed research direction).
- No claims of performance, accuracy, or production readiness are made here.
Revision history
- r1 (25 Nov 2026): initial proposed research direction published at Idea stage.
Related