SIGN IN SIGN UP

fix(task-history): atomic per-task merge and drop shared index file (#1231) (#1261)

* fix(task-history): prevent concurrent index clobbering

* test(task-history): add regression coverage for self-healing index recovery

* fix(task-history): atomic read-modify-write
  prevents cross-process lost updates

* fix(task-history): atomic read-modify-write
  prevents cross-process lost updates

* fix(task-history): drop _index.json, scan task dirs on read

* refactor(task-history): extract computeDelta and mergeWithDisk helpers

* fix(safeWriteJson): propagate non-ENOENT read errors during merge

* fix(task-history): harden cross-process merge and reconciliation

* fix(task-history): throw DeltaRejectedError on invalid merge and harden edge cases

---------

Co-authored-by: Naved  Merchant <naved.merchant@gmail.com>
E
edelauna committed
21d35c4a96d42b4014e33c9a1085f4dbb533378c
Parent: 63aca68
Committed by GitHub <noreply@github.com> on 8/20/2026, 8:56:32 PM