Implement closed-loop workspace follow-ups

This commit is contained in:
2026-07-15 23:48:12 +04:00
parent 3a48ecd24f
commit ed7efb6072
51 changed files with 702 additions and 54 deletions
@@ -0,0 +1,12 @@
# Capability accretion
Make run N+1 better through deterministic, replay-safe facts mined from validated prior runs—not model training or mutable hidden memory.
Promote a validated failure-to-fix pair by a reusable class key: gate, evaluator/toolchain kind, and normalized failure fingerprint. Store a reference to the validated fix artifact/diff and the evidence that it passed.
1. Extend the concept rails to retain `classKey`, `fixRef`, confidence, and contradiction state.
2. Deliver high-confidence facts deterministically at plan compilation (contract/gate tightening) or as a bounded stage instruction. L3 remains an instance-recall fallback.
3. Mine positive patterns separately: successful plan shapes, resolved commands, and useful retrievals.
4. Revoke or decay facts when later recorded evidence contradicts them.
Every promotion and delivery is event-derived and recorded; replay never re-mines live state.