-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Milestone
Description
Description
Default self-healing mode. When approved tests break after code changes, suggests fixes for human approval.
Module
src/cognova/healing/healer.py
Flow
- Classify failure (structural vs assertion)
- Diff code-under-test (what changed since test was approved)
- Generate fix suggestion with explanation
- Present to user for approval
- If approved: update test, keep in LanceDB
- If rejected: user fixes manually
Healed test metadata
- Tagged
{ healed: true, healed_at: timestamp } - Excluded from LanceDB few-shot retrieval until re-approved
Class: TestHealer
diagnose(test_path, failure_output) -> HealingDiagnosissuggest_fix(diagnosis) -> HealingSuggestionapply_fix(suggestion) -> HealingResult
MCP Tool
heal_test
Status
Placeholder (32 lines, class docstring + pass)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Projects
Status
Backlog