Skip to content

AI: Re-sending message to agent reverts files on disk! (checkpoints) #37623

@niemeyer

Description

@niemeyer

Summary

After mysteriously losing changes in a few different cases, I finally found out that Zed has been reverting files on disk to a prior state, when re-running a thread from an earlier point.

The problem is easier to convey (and believe) with a video:

Screencast.From.2025-09-05.10-54-52.webm

Expected Behavior:

Never ever silently revert content in files, even more after they've been written down to disk.

Zed Version and System Specs

Zed: v0.203.1 (Zed Preview)
OS: Linux Wayland ubuntu 25.04
Memory: 30.3 GiB
Architecture: x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:aiImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI featuresarea:ai/agent threadFeedback for the agent threadstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions