All videosOther topics0:36

Workspace, worktrees, and sandboxing

Isolation separates Git state, filesystem, processes, and resources; final integration revalidates the combined state.

Links containing ?t= open the video at a specific second.

Video summary

The ideas to retain

01

Five objects worth naming separately

Before designing concurrency or security, make the vocabulary explicit.

02

1. Repository and base revision

The repository contains history, refs, Git objects, configuration, and one or more working trees. An agentic task also needs an identifiable base revision, normally a commit SHA.

03

2. Context view

The model does not automatically receive every byte in the repository. The harness selects, or lets the model retrieve, files, symbols, instructions, diffs, logs, and history.

Key moments

Jump directly to a section

  1. One task, one observable state
  2. Isolate execution resources too
  3. Integrate against the current target