P/umadevis1/improve remediations - #1089
Conversation
|
This PR has a set of fixes that improve the remediation process. But this does not guarantee that remediation will always work yet due to multiple nuances to overcome. As a part of fixing this, the PR also rearchitects the RemediationProcessor to separate classes to pave way for more fixes. P2 — Canonical hash, both sides ( 3 — Identity dedup at hunk level, INCLUDING near-identical (whitespace/comment) matching. Before attempting to place a hunk, fcli checks whether its target content already matches what a prior remediation in this run wrote. A remediation is The identity key is built from 4 — Patch-style application with an offset map. This is the core structural change, replacing "always text-search":
5 — Multi-file remediation atomicity (landed this session, on top of the above). One Literal-alias normalization ( Boundary Token De dup Change: in Exact Line disambiguation Changed |
PR updated with all the changes needed.