{
  "head": "1b3b634297c4f12ead8d0325e6ba1e14c5e9b852",
  "transport": "in-process real GitVcsDriver -> JSON and VcsListRefsResult schema -> production mobile helper",
  "uiVerified": false,
  "scenarios": [
    {
      "scenario": "root project, historical branch",
      "outcome": "selected",
      "branch": "feature/a",
      "worktreePath": "/tmp/20825-headless-eNRI0d/held"
    },
    {
      "scenario": "root project, direct picker",
      "outcome": "selected",
      "branch": "feature/a",
      "worktreePath": "/tmp/20825-headless-eNRI0d/held"
    },
    {
      "scenario": "matching slash-containing remote",
      "outcome": "selected",
      "branch": "feature/a",
      "worktreePath": "/tmp/20825-headless-eNRI0d/held"
    },
    {
      "scenario": "symlinked root project, direct picker",
      "outcome": "selected",
      "branch": "feature/a",
      "worktreePath": "/tmp/20825-headless-eNRI0d/held"
    },
    {
      "scenario": "nested project, historical",
      "outcome": "rejected",
      "message": "Error: This project is a repository subdirectory. Choose another branch or add the repository root as a project to reuse this worktree."
    },
    {
      "scenario": "nested project, picker",
      "outcome": "rejected",
      "message": "Error: This project is a repository subdirectory. Choose another branch or add the repository root as a project to reuse this worktree."
    },
    {
      "scenario": "older server missing root metadata",
      "outcome": "rejected",
      "message": "Error: The server did not report whether this project is at the repository root, so this worktree cannot be reused safely. Update the server or choose another branch."
    },
    {
      "scenario": "nested project, already-current historical branch",
      "outcome": "selected",
      "branch": "main",
      "worktreePath": null
    },
    {
      "scenario": "different upstream uses actual server switchRef",
      "outcome": "selected",
      "branch": "upstream/feature/a",
      "worktreePath": null
    },
    {
      "scenario": "free historical branch clears its previous worktree path",
      "outcome": "selected",
      "branch": "feature/a",
      "worktreePath": null
    }
  ],
  "assertions": "all passed; reused/rejected paths never switched original checkout; mismatched-remote and free-branch fallbacks used real switchRef; held worktree contents unchanged"
}
