RC RANDOM CHAOS

Zed's DeltaDB Versions Every Edit, Pairing Code With the AI Chats That Wrote It

· via Hacker News

Original source

Software Is Made Between Commits

Hacker News →

Zed is building DeltaDB, a version control system that records every editing operation rather than just commit snapshots. Each fine-grained delta gets a stable identity, so any moment in a file’s evolution can be referenced even as the code keeps changing. The system pairs each agent message with the edit it produced, treating the conversation that generated the code as part of the versioned artifact itself. A beta is expected within weeks.

The design responds to a shift Zed’s founders see in how software gets written: with AI agents doing more of the typing, the prompts and discussions driving the code carry the real intent, and Git’s commit-centric model can’t link them durably. DeltaDB anchors references to deltas instead of line numbers, so annotations survive refactors — from any line of code you can trace back to the conversation that produced it, and agents can query that history to understand why code looks the way it does.

The larger ambition is to dissolve pull-request ceremony. Because DeltaDB embeds conflict-free replicated worktrees, multiple people and agents can edit the same files simultaneously across machines, and teammates can review or annotate work in progress without waiting for a commit and push. Git and CI remain for running checks and interoperating with the wider ecosystem, but collaboration moves into the live, shared workspace. It’s a notable bet that the unit of software history is becoming the conversation, not the commit.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.