Skip to content

v1.108.160 — Multi-checkout "different working tree" responses

Choose a tag to compare

@jgravelle jgravelle released this 23 Jul 14:59

Closes the last open item from the 2026-07-22 benchmark fix list.

A second working tree of an already-indexed repo used to resolve — via git identity — to the sibling checkout's index: resolve_repo reported indexed: true with the OTHER checkout's source_root, and index_file's generic remedy led agents to re-index thousands of files in-run.

Changed

  • resolve_repo flags a git-identity match whose source_root doesn't contain the queried path: working_tree_mismatch: true, a warning naming both checkouts and the remedies, and _meta.working_tree.
  • index_file on a sibling-checkout file returns "Different working tree detected" with the cheap remedy first (query the existing repo id read-only) and the correct indexing remedy (index_folder(path=<this checkout>, identity_mode='local')).

Same-checkout and not-indexed paths byte-identical. No schema, tool-count, or INDEX_VERSION change. Full suite 5498 passed.