A killed agent apply can leave a repository half-patched. Tests then pass on an incomplete, unreviewed tree. The durable fix is atomic staging plus a checksum manifest.

This postmortem records a controlled lab reproduction only. The failure is common on shared CI runners. Agent jobs write several files, then lose the process.

Disclosure: This article was prepared as part of MonkeyCode's product outreach.

MonkeyCode provides free model access and a free server option. Those two facts matter only as a constrained sandbox. The sandbox does not remove the need for atomic apply. Teams still need a durable, crash-safe write protocol.

The failure in one line