Skip to content

[v2] Implement InvariantEvolver #666

Description

@SHAURYASANYAL3

Phase 6: Invariant Evolution

The Context

Static invariants are powerful, but they can produce false positives on novel, safe workflows. The system needs a feedback loop to automatically tune its boundaries.

Tasks

  • Implement InvariantEvolver class.
  • Track blocked actions and near-misses during execution.
  • Provide APIs (suggest_relaxation(invariant), suggest_tightening(invariant)) that can adjust threshold parameters dynamically based on historical false-positive markers.
  • (Optional) Persist evolved invariant configurations to disk for future sessions.

Part of Epic #651

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions