{
  "agent": "Deterministic ACP agent; real injected thread MCP credential",
  "pathNotation": "$CHECKOUT denotes the synthetic project checkout; only its absolute prefix is redacted",
  "events": [
    {
      "elapsedMs": 6,
      "step": "Initial external Git state",
      "result": {
        "branch": "main",
        "head": "2c3b20b6e320da6337833c89be511418ea063bec"
      }
    },
    {
      "elapsedMs": 106,
      "step": "1. Warm local ref snapshot",
      "result": {
        "content": [
          {
            "type": "text",
            "text": "{\"isAtRepositoryRoot\":true,\"refs\":[{\"name\":\"main\",\"isRemote\":false,\"current\":true,\"isDefault\":false,\"worktreePath\":\"$CHECKOUT\"}],\"isRepo\":true,\"hasPrimaryRemote\":false,\"nextCursor\":null,\"totalCount\":1}"
          }
        ],
        "structuredContent": {
          "isAtRepositoryRoot": true,
          "refs": [
            {
              "name": "main",
              "isRemote": false,
              "current": true,
              "isDefault": false,
              "worktreePath": "$CHECKOUT"
            }
          ],
          "isRepo": true,
          "hasPrimaryRemote": false,
          "nextCursor": null,
          "totalCount": 1
        },
        "isError": false
      }
    },
    {
      "elapsedMs": 112,
      "step": "2. External terminal: git switch -c feature/outside",
      "result": {
        "branch": "feature/outside"
      }
    },
    {
      "elapsedMs": 173,
      "step": "3. Immediately list local refs again; no refresh or T3 Git mutation",
      "result": {
        "content": [
          {
            "type": "text",
            "text": "{\"isAtRepositoryRoot\":true,\"refs\":[{\"name\":\"feature/outside\",\"isRemote\":false,\"current\":true,\"isDefault\":false,\"worktreePath\":\"$CHECKOUT\"},{\"name\":\"main\",\"isRemote\":false,\"current\":false,\"isDefault\":false,\"worktreePath\":null}],\"isRepo\":true,\"hasPrimaryRemote\":false,\"nextCursor\":null,\"totalCount\":2}"
          }
        ],
        "structuredContent": {
          "isAtRepositoryRoot": true,
          "refs": [
            {
              "name": "feature/outside",
              "isRemote": false,
              "current": true,
              "isDefault": false,
              "worktreePath": "$CHECKOUT"
            },
            {
              "name": "main",
              "isRemote": false,
              "current": false,
              "isDefault": false,
              "worktreePath": null
            }
          ],
          "isRepo": true,
          "hasPrimaryRemote": false,
          "nextCursor": null,
          "totalCount": 2
        },
        "isError": false
      }
    },
    {
      "elapsedMs": 182,
      "step": "4. External terminal: git switch --orphan feature/unborn",
      "result": {
        "branch": "feature/unborn",
        "hasRef": false
      }
    },
    {
      "elapsedMs": 230,
      "step": "5. List local refs on unborn branch",
      "result": {
        "content": [
          {
            "type": "text",
            "text": "{\"isAtRepositoryRoot\":true,\"refs\":[{\"name\":\"main\",\"isRemote\":false,\"current\":false,\"isDefault\":false,\"worktreePath\":null}],\"isRepo\":true,\"hasPrimaryRemote\":false,\"nextCursor\":null,\"totalCount\":1}"
          }
        ],
        "structuredContent": {
          "isAtRepositoryRoot": true,
          "refs": [
            {
              "name": "main",
              "isRemote": false,
              "current": false,
              "isDefault": false,
              "worktreePath": null
            }
          ],
          "isRepo": true,
          "hasPrimaryRemote": false,
          "nextCursor": null,
          "totalCount": 1
        },
        "isError": false
      }
    }
  ]
}