[
  {
    "Name": "Git worktrees",
    "VerifiedVersion": "Git 2.55.0.windows.3; machine-format fixtures and local execution, 2026-10-11",
    "Documentation": [
      "https://git-scm.com/docs/git-worktree"
    ],
    "Purpose": "Bounded worktree records and complete streaming counts",
    "Module": "GitWorktrees-OPumper.psm1",
    "Commands": [
      {
        "Example": "Invoke-PumpGitWorktrees -WorkingDirectory $repo -MaxItems 2",
        "Function": "Invoke-PumpGitWorktrees",
        "Parameters": [
          "WorkingDirectory"
        ],
        "Route": {
          "Tokens": [
            "worktree",
            "list"
          ],
          "Executable": "git",
          "Positional": null,
          "Options": {},
          "Multiple": false
        },
        "When": "Count all worktrees while retaining a bounded preview of their state.",
        "Id": "gitworktrees.list"
      }
    ],
    "IdentityMarkdown": "Read-only git worktree list --porcelain -z. Data contains WorktreeCount (null if incomplete), ObservedWorktreeCount, Complete and bounded Items: Path, Head, Branch, Detached, Bare, Locked, Prunable, LockReason and PruneReason. A small preview does not stop counting. State retains only counters, one current record and at most MaxItems completed records. Unsupported arguments fail before native execution. No automatic retry.",
    "Id": "gitworktrees"
  }
]