HomeBlogPricingCareersDocsGitHubSlack community
Field notes/Community builds/The Undo Button for Agents That Is Not a Fork

The Undo Button for Agents That Is Not a Fork

An agent broke the build across files. Getting back took one push and 1028 ms, with no sandbox running at the time.

SBX-01C4SBX-01E3SBX-0202SBX-0221SBX-0240SBX-025FSBX-027ESBX-029DSBX-02BCSBX-02DBSBX-02FASBX-0319SBX-0338SBX-0357SBX-0376[ RUNTIME: ACTIVE ] P50 2.45S · P99 4.12S · 5M/PROJECT

Sebastian separates two things that often get discussed as one: a sandbox snapshot restores a machine, versioned code restores a tree you chose to record. His agent renames methods in two files and misses the third, and the way back is a push of the original worktree that lands the identical tree hash on a new commit, so the broken state stays in the log where you can read it. The measurement that carries the argument is that the whole rollback ran with no sandbox alive, at 1028 ms against 1390 ms to take a checkpoint and 2018 ms to restore one. The second half is the part to copy: fork a workspace per agent for about 170 ms, gate promotion on a deep merge preflight, and let nothing reach main that something mechanical has not approved.

We didn’t write this one — it’s Sebastian Buzdugan’s piece, published on Data Science Collective. The note above is ours; the full article is theirs.

Read the full piece on Data Science Collective
SB
WRITTEN BYSebastian BuzduganCommunity · Data Science Collective
Read next —FROM THE LOG
◆ THE SANDBOX DIGEST

Subscribe for release notes, benchmarks, deep dives.

One dispatch per month from the Tensorlake team — no spam.