Self-Healing
The self-healing loop is the "Magic" of SpecSoloist.
When a test fails, specsoloist fix executes the following loop:
- Analyze: Feed the Spec, the Code, the Test, and the Failure Log to a Senior Engineer LLM agent.
- Diagnose: The agent determines if the error is in the Code (logic bug) or the Test (hallucinated expectation).
- Patch: The agent provides a minimal patch to resolve the discrepancy.
- Verify: The human can then run
specsoloist testto confirm the fix.