Files
openclaw/src
RenzoMXD 3f4c64163d fix(agents): narrow self-heal recovery to edit↔write pair
Drop apply_patch from the file-mutating recovery set after clawsweeper
P2 review on PR #79067 noted production apply_patch calls only carry
opaque `input` patch text, so buildToolActionFingerprint never extracts
a `path=` segment from real call args. Including apply_patch only
matched handcrafted fingerprints in tests, not real recoveries, and
the public CHANGELOG claim was unimplemented.

Also drops the now-orphaned `oldpath` segment from
FILE_TARGET_FINGERPRINT_KEYS since edit and write do not produce it,
and replaces the apply_patch test expectation with an explicit
negative assertion that proves the narrowing.

Re-files apply_patch ↔ write recovery as a future enhancement; it
needs single-file patch-target extraction in
buildToolActionFingerprint to be honestly supportable.
2026-05-08 07:00:00 -04:00
..
2026-05-08 10:58:24 +01:00
2026-05-04 07:38:42 +01:00
2026-05-08 05:56:38 +01:00
2026-05-08 09:16:07 +01:00
2026-05-08 05:56:38 +01:00