Agent records keep their worktree history across saves, so lineage info no longer gets wiped.
What's wrong with this entry?
Persisting an agent record no longer loses the worktree lineage fields that were set by an earlier write.
- A new persistence wrapper reloads the previous agent record before writing.
- It carries over
parentAgentId,inheritedWorktreePath,spawnedWithWorktreeandworktreeCleanlyRemoved. worktreePathandworktreeBranchare deleted when the prior record had none.
inheritedWorktreePath
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.239
worktree.locationsetting for Desktop SSH sessionsBoth mention worktree
-
v2.1.246
Worktree cleanup only removes directories Claude Code created
Both mention worktree
-
v2.1.247
Cloud-session seeding names linked worktrees and split git layouts as un-seedable
Both mention worktree