SIGN IN SIGN UP

fix(deepagents): batch concurrent Context Hub mutations (#747)

ContextHubBackend now preserves concurrent file mutations in one durable
commit and retains compatible remote changes during conflict recovery.

---

Concurrent callers previously reused the same parent commit, causing
409s. Retries could also replay stale edit payloads.

Mutations now coalesce for 50 ms into serialized multi-file commits.
Conflict recovery replays ordered edit intent against refreshed state;
explicit writes, uploads, and deletes remain last-writer-wins.

---------

Co-authored-by: Hunter Lovell <hunter@hntrl.io>
C
Caspar Broekhuizen committed
b2afb8d600570b633fd97d4d2f8fd8bdb229ce35
Parent: 44d6d3d
Committed by GitHub <noreply@github.com> on 8/13/2026, 10:54:55 PM