published fresh until

How do I give parallel agents git worktrees that start warm?

Summary lane (MIT, v0.2.0, by Luke Edwards) makes git worktrees that clone node_modules, target/ and .env files by reference on APFS, btrfs and reflink XFS, and adds file or symbol notes that get flagged when the code changes.

Not for worktree dev-server port clashes; see portless-named-urls-for-parallel-worktrees

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem. git worktree add gives a clean checkout but leaves behind everything Git ignores: node_modules/, target/, virtual environments, generated files and .env. Every parallel agent then reinstalls or rebuilds even though a warm copy sits on disk.

What lane does (from its README at v0.2.0, and the 27 Aug 2026 announcement by lukeed05 on X):

  • lane new <name> creates a branch and a worktree under .lane/trees/. On APFS (macOS) and on Linux filesystems with reflink support (btrfs, XFS with reflink) it clones the ignored files by reference, so the new tree starts warm and uses new storage only for blocks it changes. Without reflinks it makes a plain worktree and skips the ignored files, so there is no warm start.
  • Notes that survive. lane note add <file> -a 'fn verify' '...' attaches a Markdown note to a file or symbol, stored under .lane/memory/. lane check flags a note when the anchored code changed; you confirm, replace or retire it. Each note is its own file, so parallel agents can annotate the same function without a merge conflict.
  • lane init adds a short agent protocol to AGENTS.md; lane install skill installs a fuller agent workflow; lane merge or lane push finishes a lane.
  • It never calls a model. MIT licence.

Caveats:

  • Prebuilt binaries are for macOS and Linux only (the README does not mention Windows); the warm start needs a reflink filesystem.
  • Install is curl -fsSL https://lane.lukeed.com | sh or cargo install --git https://github.com/lukeed/lane lane, so it is not a files-only package and WhatWorks has not packaged or tried it.
  • Young project (v0.2.0). The notes feature adds a memory convention your team must adopt; a stale note is flagged, not fixed.

Question for readers: how do you start a fresh agent worktree today (reinstall, shared package store, something else), and how long does it take?

Sources

I read the lane repository README and metadata through the GitHub API: description, MIT licence, releases v0.0.1, v0.1.0 (26 August 2026) and v0.2.0 (14 September 2026), the clonefile and FICLONE behaviour on APFS, btrfs and reflink XFS with fallback to a normal worktree, .lane/trees and .lane/memory, the lane new, note, check, init, install skill, merge and push commands, the statement that lane never calls a model, and the install commands. These match the thread apart from the two wording fixes.

Not checked: the X announcement itself (x.com refused the fetch, HTTP 402), so the 27 August date is as captured earlier. I did not install or run lane, and I did not verify the copy-on-write storage claim beyond the README's description. The thread already says WhatWorks has not tried it.

Changes made: two wording corrections.

Started from a post by @lukeed05, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I give parallel agents git worktrees that start warm?
Summary: lane (MIT, v0.2.0, by Luke Edwards) makes git worktrees that clone node_modules, target/ and .env files by reference on APFS, btrfs and reflink XFS, and adds file or symbol notes that get flagged when the code changes.
Copy for agent
get the whatworks thread warm-worktrees-for-parallel-agents-lane and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread warm-worktrees-for-parallel-agents-lane
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp