READ-ONLYmacOS · CLI + HTML

Find your worktrees.
Know what to keep.

Review the checkouts taking up disk space and the work they contain, with the evidence behind each verdict.

Runs locally without a model or worktree removal.

report.html · synthetic demo
Native report showing four synthetic worktrees: three kept and one cleanup candidate.The same native report in dark theme.
Report capture · 8 Oct 2026 · worktree use still to check.
Git · explicit targetsHTML · offline reportAPFS · measured size ≠ recoverable space

01 / START WITH A QUESTION

Find worktrees and the work they contain.

Agent sessions leave checkouts behind. Examine them for local changes and work that needs to be kept.

01

Find the forgotten checkouts

Choose your project folders. See Git families and their worktrees, including registered paths outside those roots.

Choose a scope
02

See what takes up space

Measure worktrees and shared Git storage. Read logical and allocated sizes with their coverage and limits.

Read disk measurements
03

Keep the work that matters

A matching commit can coexist with a local note. Check files, index and private history before judging a worktree.

Understand the evidence

02 / THE REPORT

Review worktrees by project.

Open the HTML report to find a Git family, read its verdicts and inspect the evidence in its detail sections.

  • Grouped by project

    Search or copy paths, filter verdicts and sort worktrees by measured size.

  • Evidence stays attached

    Files, index, history, missing conditions and collection gaps remain readable.

  • Totals keep their scope

    Source review, CLI selection and browser filters are separate views.

Synthetic fixtures only. Dated captures do not demonstrate later disk targeting or discovery checkpoints. Capture record

Evidence, row by rowHTML
Expanded evidence for the synthetic Git family.Expanded evidence in dark theme.
Verdicts and their reasons from the same test fixture.

03 / THREE VERDICTS

What each verdict means.

Deterministic rules judge the collected evidence. Age, a closed PR or an AI suggestion do not prove integration.

keep

Keep it

Observed work or a retention reason takes priority: local edits, untracked files, private commits or the main checkout.

Next: preserve and understand this work.

verify

Complete the evidence

One or more decision conditions are missing. The report names the gap instead of treating unknown evidence as empty.

Next: follow the missing condition and focus the next review.

cleanup_candidate

Review its current use

The current C1–C5 conditions are established. This is a candidate for a later decision, with usage still to check.

Next: check agents, terminals and tasks that still need it.

No verdict authorizes removal. apply remains unavailable. Read the decision conditions

04 / THE WORKFLOW

Choose → Collect → Read → Focus

  1. Choose the scope

    Explicit roots and confirmed full integration refs. No guessed default branch.

  2. Collect current evidence

    Run review. Add disk measurement when it helps prioritize. Budgets stay finite.

  3. Read the saved report

    Inspect verdicts, coverage and next checks. Keep JSON and the receipt alongside HTML.

  4. Focus the next check

    Narrow Git evidence with --worktree and disk scope with --disk-root. Their budgets are separate.

05 / GET STARTED

Start with a temporary test repo.

Build from source and run the documented demo to see how a local note changes the verdict.

CLAUDE CODE / CODEX

Read the evidence with an assistant

Open your session in the wt-sweep checkout containing the bundled skill. The CLI remains the source of verdicts.

$wt-sweep Start with the disposable demo in docs/getting-started.md. Verify the compiled CLI, run only the temporary fixture, then read its HTML report. Explain keep, verify and cleanup_candidate. Preserve unknown evidence and distinguish measured size from recoverable disk space. Do not scan my machine or delete anything.

Codex: $wt-sweep. Claude Code: /wt-sweep. Native discovery depends on the client and project trust.

Assistant guide →

06 / EVIDENCE BOUNDARIES

What the report does not establish.

A completed walk is not a machine-wide snapshot. A successful command can still contain partial evidence.

Read coverage and limits →

Measured is not recoverable.

Disk totals include shared storage and report incomplete measurements. APFS allocation is not an estimate of bytes freed by deletion.

Writer exclusion, durable backup and independent restore still need their own proof. Until then, apply refuses.

07 / FAQ

Before your first review.

Current source version : 0.1.0-alpha.3.
Download the Apple Silicon alpha.

What’s new →
Does wt-sweep delete worktrees?

No. The current CLI discovers, measures and reviews. apply refuses every request. Backup, restore and removal are unavailable.

Do I need an AI assistant?

No. The CLI and offline HTML report work without a model, daemon or GitHub/GitLab credentials. Claude Code and Codex can help read the same evidence.

Does measured size mean recoverable space?

No. Logical and allocated bytes are observations. APFS clones, shared Git objects, snapshots and incomplete coverage prevent a reliable recovery estimate.

Why does a clean worktree still say verify?

A clean working directory is only one condition. Targets, complete local evidence, private history and current controls may still be missing.

How do I install it today?

Download the Apple Silicon alpha and verify SHA256SUMS, or build the public source checkout with the pinned Rust toolchain. The installation guide covers both paths.

wt-sweep

Review your worktrees before your next cleanup.

Start with the demo. Then choose your roots and targets.