NeuralCodeDOCS
Core workflow

Diff viewer

Every change an agent makes shows up as a reviewable diff before you merge — per file, with additions and deletions, hunk headers, and jump-to navigation.

NeuralCode
Mpage.tsxapp/+1 2
Acipher.cssstyles/+14
Mnav.tsxcomponents/+3 1
app/page.tsx+1 −2
@@ -247,8 +247,7 @@ export default function IndexPage() {
247 {/* Headline */}
248 <h1 className="hero-display mt-7">
249- <span>I</span> that works without the complexity.
249+ <span>I</span> that works.
250 </h1>
251 {/* Subtext */}
The diff viewer: a file rail with status badges and ± counts on the left, the unified diff on the right.

How the diff is built#

The diff is computed against the workspace's HEAD, including untracked files (added with intent so new files appear). It refreshes automatically whenever a run finishes, and you can refresh manually with the refresh button.

The file rail#

The left column lists every changed file. Each row shows a colored status badge and per-file line counts:

BadgeStatusColor
AAddedgreen
MModifiedblue
DDeletedred
RRenamedamber

Additions show as +N and deletions as −N. Clicking a file smooth-scrolls the code column to that file's section.

The code column#

The unified diff renders with line-level coloring:

  • Hunk headers (@@ … @@) in accent blue.
  • Additions on a soft-green background.
  • Deletions on a soft-red background.
  • Context lines plain, with original/new line numbers in the gutter.

Each file has a sticky header you can click to collapse or expand that file's hunks. Diff text is selectable for copying.

Tabs & full screen#

The right panel toggles between the Diff tab (with a badge showing the changed-file count) and the Files tab. The expand button opens the diff full-screen for a focused review, with its own refresh and exit controls.

Review before you merge
Pair the diff with the automatic self-review & checks — a second agent flags bugs and your tests run — so you only merge changes that have been vetted.