{"slug":"git-worktree-isolation","article":{"kind":"article","title":"Git worktree isolation","category":"AI Engineering Subjects","entityType":"pattern","homepage":"https://chronoscope.hopperlabs.ai/#/git-worktree-isolation","summary":"Git worktrees give concurrent software tasks separate working directories while sharing a repository’s history.","sources":["source:public-8dd904d0032d5d9f","source:public-889baf326563314c","source:public-220470baa0518cee","source:public-090239e18071dba2"],"relations":[{"rel":"covered-in","to":"article:ai-engineering"},{"to":"article:codex-app","rel":"shares-milestones"},{"to":"article:openai","rel":"shares-milestones"},{"to":"article:parallel-coding-agents","rel":"shares-milestones"}],"id":"article:git-worktree-isolation","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},"sections":[{"kind":"section","article":"article:git-worktree-isolation","title":"Git 2.5 introduces linked worktrees","text":"A single Git repository could have several checked-out working trees. This provides the mechanism later used to isolate simultaneous agent edits.","order":0,"sources":["source:public-8dd904d0032d5d9f","source:public-889baf326563314c"],"id":"section:chronoscope-git-worktree-isolation","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"}],"events":[{"kind":"event","title":"Git 2.5 introduces linked worktrees","date":"2015-07-29","articles":["article:git-worktree-isolation"],"detail":"A single Git repository could have several checked-out working trees. This provides the mechanism later used to isolate simultaneous agent edits.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2015-git-2-5-introduces-linked-worktrees","sources":["source:public-889baf326563314c"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2015-git-2-5-introduces-linked-worktrees","version":"29199f6068c0848e5fab","digest":"sha256:bce70474a3d3272097b39d1902bf31bb58ffc25ca00f69baa299f6a6e2c54714"},"id":"event:chronoscope-55863fd77b0443cb","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"event","title":"Git adds repair for moved linked worktrees","date":"2020-10-19","articles":["article:git-worktree-isolation"],"detail":"Git 2.29 added a worktree repair command that reconnects administrative records after the main repository or a linked checkout has been moved. This addressed a recovery problem for developers using several isolated checkouts.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2020-git-adds-repair-for-moved-linked-worktrees","sources":["source:public-220470baa0518cee"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2020-git-adds-repair-for-moved-linked-worktrees","version":"29199f6068c0848e5fab","digest":"sha256:c65001e9dca60614d79912bd072692e64ecd035b50ffc4aa3f1a995671881202"},"id":"event:chronoscope-75ab3b70f94153f0","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"event","title":"Claude Code adds declarative worktree isolation for agents","date":"2026-02-20","articles":["article:git-worktree-isolation"],"detail":"An agent definition could request a temporary Git worktree, keeping its edits separate from the invoking session.","chronoscope":"https://chronoscope.hopperlabs.ai/#/ai-engineering/x/2026-claude-code-adds-declarative-worktree-isolation-for-agents","sources":["source:public-090239e18071dba2"],"ownerRef":{"schemaVersion":"hopper.exact-resource-ref.v1","productId":"hopper.domain-app.chronoscope","resourceType":"chronoscope.pack-entry","resourceId":"ai-engineering:2026-claude-code-adds-declarative-worktree-isolation-for-agents","version":"29199f6068c0848e5fab","digest":"sha256:280d2fc7da53ff175c70f8de04baadeea43be1562b95a105911822a414cd2b76"},"id":"event:chronoscope-85433f922ceed13d","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"}],"examples":[],"links":[],"sources":[{"kind":"source","title":"Git worktree isolation in Chronoscope","url":"https://chronoscope.hopperlabs.ai/#/git-worktree-isolation","id":"source:public-8dd904d0032d5d9f","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"source","title":"Git 2.5 introduces linked worktrees","url":"https://github.blog/open-source/git/git-2-5-including-multiple-worktrees-and-triangular-workflows/","id":"source:public-889baf326563314c","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"source","title":"Git adds repair for moved linked worktrees","url":"https://raw.githubusercontent.com/git/git/v2.29.0/Documentation/RelNotes/2.29.0.txt","id":"source:public-220470baa0518cee","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"},{"kind":"source","title":"Claude Code adds declarative worktree isolation for agents","url":"https://raw.githubusercontent.com/anthropics/claude-code/3ad3231f0f3a9ff4e1be18d20cbea1e9955d0047/CHANGELOG.md","id":"source:public-090239e18071dba2","from":"2026-11-25","revision":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z"}],"related":[{"slug":"ai-engineering","title":"AI Engineering","category":"Agent engineering","entityType":"collection","rel":"covered-in"},{"slug":"codex-app","title":"Codex app","category":"AI Engineering Subjects","entityType":"app","rel":"shares-milestones"},{"slug":"openai","title":"OpenAI","category":"AI Engineering Subjects","entityType":"organization","rel":"shares-milestones"},{"slug":"parallel-coding-agents","title":"Parallel coding agents","category":"AI Engineering Subjects","entityType":"pattern","rel":"shares-milestones"}],"backlinks":[{"slug":"theo-browne","title":"Theo Browne","category":"AI Engineering Subjects","entityType":"person","rel":"shares-milestones"}],"history":[{"id":"405c0d3100644b45371216365dfb9f064a149b9b3157883345d69c9fa5816808","recordedAt":"2026-11-25T12:18:13.336Z","message":"Publish the illustrated encyclopedia and connect verified public subject catalogs"}]}
