Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
544f22b
chore: pass app arguments through the verify sandbox
rigomart Nov 7, 2026
0b049ad
refactor: share the cache file writer
rigomart Nov 7, 2026
5cd5f26
refactor: add a per-repo follow-up step to the scan
rigomart Nov 7, 2026
2f1f0e8
Merge branch 'prep/verify-app-args' into feat/github-pr-proof
rigomart Nov 7, 2026
c3e27e6
Merge branch 'prep/cache-file' into feat/github-pr-proof
rigomart Nov 7, 2026
cf20df2
Merge branch 'prep/scan-follow-up' into feat/github-pr-proof
rigomart Nov 7, 2026
6630915
refactor: let assess settle rows with a forge proof
rigomart Nov 7, 2026
f7cf77d
Merge branch 'prep/forge-proof-verdict' into feat/github-pr-proof
rigomart Nov 7, 2026
e509022
refactor: settle patched rows through assessRow
rigomart Nov 7, 2026
48ca2dd
test: fake gh and a GitHub remote in the sandbox
rigomart Nov 7, 2026
9c920a2
feat: delete the branch of a row proven merged on GitHub
rigomart Nov 7, 2026
bdfa6d4
Merge branch 'prep/fake-gh-sandbox' into feat/github-pr-proof
rigomart Nov 7, 2026
9000d3a
Merge branch 'feat/removal-forge-proof' into feat/github-pr-proof
rigomart Nov 7, 2026
5ab7a11
feat: add --offline and report GitHub in --doctor
rigomart Nov 7, 2026
22ec1cb
feat: check unproven rows against merged GitHub pull requests
rigomart Nov 7, 2026
18d74ca
Merge branch 'feat/github-lookup' into feat/github-pr-proof
rigomart Nov 7, 2026
f7c3c4b
Merge branch 'feat/offline-flag' into feat/github-pr-proof
rigomart Nov 7, 2026
8087a08
fix: pin the GitHub host and require the tip in the merged pull request
rigomart Nov 7, 2026
5522ca4
Merge branch 'fix/github-review' into feat/github-pr-proof
rigomart Nov 7, 2026
3c3acc9
chore: verify pull request proofs in the real app
rigomart Nov 7, 2026
caf25ef
Merge branch 'verify/github-pr-proof' into feat/github-pr-proof
rigomart Nov 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 34 additions & 25 deletions .claude/skills/verify-wt-dash/SKILL.md

Large diffs are not rendered by default.

39 changes: 20 additions & 19 deletions .claude/skills/verify-wt-dash/features/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@

What to prove about each user-visible feature of wt-dash. Prove a change by driving its new behavior and rerunning the checks of every feature it touched. Row names (`api › feature/assets`) refer to the seeded rows listed in SKILL.md.

| Feature | Behavior | Not covered |
| ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| [Projects screen](projects-screen.md) | Opens on the projects, most worktrees first, with each project's counts, free space and details. | A scan that finds only one project (opens it directly); a scan error banner |
| [Worktree list and verdicts](worktree-list-and-verdicts.md) | Each project's rows sit in Safe, Review, Busy and Broken sections with their status and reason. | Status unknown; unrelated history; behind main; Linux ages (backdated worktrees read as new) |
| [Filter, search and sort](filter-search-sort.md) | Tabs 1–6, `/` search, `s`/`S` sort and `v` grouping narrow and order the list. | Search from the projects screen; `g`/`G`, PageUp/PageDown |
| [Selection and a](selection.md) | Space selects one row, `a` every Safe row in view or project, Esc clears; selections carry across screens and resizes. | Selection surviving a rescan |
| [Remove dialog and removal](remove-dialog.md) | One dialog lists what goes, warns about discarded changes, names worktrees with running processes, toggles D and e, and removes in the background. | Esc stopping a running removal; queuing a second removal; the stale-confirmation recheck; a failed removal |
| [Blocked rows](blocked-rows.md) | Locked, Busy and Broken rows cannot be selected or removed and say what to do; Broken offers a prune. | Status unknown |
| [Leftover branches](leftover-branches.md) | Local branches without a worktree are listed as "branch" rows; unmerged ones are deleted only with D. | A branch whose name matches a worktree folder; a branch with a recent agent mark |
| [Details i](details.md) | `i` shows a row's full details, including its commits beyond main, notes, agent marks, running processes and the tool that made it; the strip shows a summary. | `R` remeasure; details of a branch row |
| [Orphaned folders](orphaned-folders.md) | Worktree folders no repository knows are listed under "Orphaned folders" with their size and reason, and wt-dash deletes them itself. | A `.claude/worktrees` orphan; the t3 folders; a folder a scanned repo still records (moved repo) |
| [Rescan r](rescan.md) | `r` rescans every repository and picks up changes made outside the app. | A repository deleted between scans; scan errors |
| [Remembered repositories](remembered-repos.md) | Every repository found is saved; a run without folders lists the saved ones too, and gone ones are dropped. | Two runs writing the file at once; a saved repository on an unmounted disk |
| [Narrow table layout](narrow-table.md) | Below 100 columns the projects fill a table with a column per verdict, and Enter opens one. | Widths under 64 (short tab labels) and under 40 |
| Keys overlay `?` | Lists every key. | No checks yet |
| Quit `q` / Ctrl-C | Leaves the terminal. | No checks yet |
| [First run without folders](first-run.md) | With no folder, scans the usual code folders that exist and follows agents' worktrees to their repos; an empty scan names its folders. | Cursor, Conductor and the other agent folders; `--depth` on the default folders |
| [Setups a first run meets](setups.md) | Worktrunk missing, old or built from source, Git missing, a folder that can't be scanned, small terminals and a light theme each get a clear result. | Linux; Git present but broken (Apple's `git` stub without the command line tools) |
| `--depth`, `--wt-path`, several scan folders | Command-line options. | `--wt-path` errors are in [setups](setups.md); the rest has no checks yet |
| Feature | Behavior | Not covered |
| ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| [Projects screen](projects-screen.md) | Opens on the projects, most worktrees first, with each project's counts, free space and details. | A scan that finds only one project (opens it directly); a scan error banner |
| [Worktree list and verdicts](worktree-list-and-verdicts.md) | Each project's rows sit in Safe, Review, Busy and Broken sections with their status and reason. | Status unknown; unrelated history; behind main; Linux ages (backdated worktrees read as new) |
| [Filter, search and sort](filter-search-sort.md) | Tabs 1–6, `/` search, `s`/`S` sort and `v` grouping narrow and order the list. | Search from the projects screen; `g`/`G`, PageUp/PageDown |
| [Selection and a](selection.md) | Space selects one row, `a` every Safe row in view or project, Esc clears; selections carry across screens and resizes. | Selection surviving a rescan |
| [Remove dialog and removal](remove-dialog.md) | One dialog lists what goes, warns about discarded changes, names worktrees with running processes, toggles D and e, and removes in the background. | Esc stopping a running removal; queuing a second removal; the stale-confirmation recheck; a failed removal |
| [Pull requests merged on GitHub](pull-requests.md) | Rows Git can't prove merged are checked with `gh`; a merged pull request makes them Safe and lets removal delete the branch, `--offline` skips it. | gh not installed (the app's note); bad credentials, a timeout, a repository GitHub doesn't know; fork heads; a remote on another host |
| [Blocked rows](blocked-rows.md) | Locked, Busy and Broken rows cannot be selected or removed and say what to do; Broken offers a prune. | Status unknown |
| [Leftover branches](leftover-branches.md) | Local branches without a worktree are listed as "branch" rows; unmerged ones are deleted only with D. | A branch whose name matches a worktree folder; a branch with a recent agent mark |
| [Details i](details.md) | `i` shows a row's full details, including its commits beyond main, notes, agent marks, running processes and the tool that made it; the strip shows a summary. | `R` remeasure; details of a branch row |
| [Orphaned folders](orphaned-folders.md) | Worktree folders no repository knows are listed under "Orphaned folders" with their size and reason, and wt-dash deletes them itself. | A `.claude/worktrees` orphan; the t3 folders; a folder a scanned repo still records (moved repo) |
| [Rescan r](rescan.md) | `r` rescans every repository and picks up changes made outside the app. | A repository deleted between scans; scan errors |
| [Remembered repositories](remembered-repos.md) | Every repository found is saved; a run without folders lists the saved ones too, and gone ones are dropped. | Two runs writing the file at once; a saved repository on an unmounted disk |
| [Narrow table layout](narrow-table.md) | Below 100 columns the projects fill a table with a column per verdict, and Enter opens one. | Widths under 64 (short tab labels) and under 40 |
| Keys overlay `?` | Lists every key. | No checks yet |
| Quit `q` / Ctrl-C | Leaves the terminal. | No checks yet |
| [First run without folders](first-run.md) | With no folder, scans the usual code folders that exist and follows agents' worktrees to their repos; an empty scan names its folders. | Cursor, Conductor and the other agent folders; `--depth` on the default folders |
| [Setups a first run meets](setups.md) | Worktrunk missing, old or built from source, Git missing, a folder that can't be scanned, small terminals and a light theme each get a clear result. | Linux; Git present but broken (Apple's `git` stub without the command line tools) |
| `--depth`, `--wt-path`, several scan folders | Command-line options. | `--wt-path` errors are in [setups](setups.md); the rest has no checks yet |
2 changes: 1 addition & 1 deletion .claude/skills/verify-wt-dash/features/details.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
5. Notes left on a branch show in both places. After `git config branch.<branch>.description` and `wt config state vars set <key>=<value> --branch <branch>` as the instance's user, and `r`: the strip shows a line under the commits line with the description's first line and each var, joined by `·` (`Spike: try GraphQL` for `leftover/spike`); `i` shows `DESCRIPTION` with every non-blank line of the description, then `VARS` with one `key: value` per line. A row with no notes has no such line or fields.
6. On a marked row that also has notes, such as `api › agent/old-session` after `wt config state vars set task=cleanup --branch agent/old-session`, the strip still shows `Agent mark from 3d ago, likely stale.`, above `nothing uncommitted`.
7. For `api › feature/locked`, details read `Locked: agent session` and `Can't be removed: it's locked (agent session); unlock it first`.
8. The tool comes from the worktree's folder (#43). After `git worktree add -b feature/t3 "$HOME/.t3/worktrees/api/feature" main` as the instance's user and `r`, the strip for `api › feature/t3` reads `t3 · last commit <age> · <sha> · clean · no tracking branch` in both variants, `i` reads `CREATED BY t3`, `api`'s sidebar details read `other 7 · t3 1 · no workt…`, and the narrow "All projects" strip reads `MADE BY other 16 · t3 1 · no worktree 2`. The seeded worktrees stay `other` even when the checkout itself sits under `~/.t3/worktrees`.
8. The tool comes from the worktree's folder (#43). After `git worktree add -b feature/t3 "$HOME/.t3/worktrees/api/feature" main` as the instance's user and `r`, the strip for `api › feature/t3` reads `t3 · last commit <age> · <sha> · clean · no tracking branch` in both variants, `i` reads `CREATED BY t3`, `api`'s sidebar details read `other 7 · t3 1 · no workt…`, and the narrow "All projects" strip reads `MADE BY other 22 · t3 1 · no worktree 3`. The seeded worktrees stay `other` even when the checkout itself sits under `~/.t3/worktrees`.
9. Processes running in a worktree show in both places (#44). Start a server in `api › feature/assets` as the instance's user, outside the app (`cd <path> && nohup python3 -m http.server 8765 >/dev/null 2>&1 &`, noting its pid), and an interactive shell in `api › feature/login` from a tmux server of your own (`tmux -L <own socket> new-session -d -c <path> zsh -f`), then `r`. The strip for `feature/assets` reads `1 process · :8765` on its own line between the commits line and `nothing uncommitted`, and `i` reads `PROCESSES Python -m http.server 8765 :8765` (macOS names Homebrew's and python.org's Python `Python`). `feature/login` reads `1 process` and `PROCESSES zsh -f (terminal)`. A marked row with a process, such as `agent/old-session`, shows the mark line above the process line. Both rows stay `● Safe · merged`, and rows with nothing running have no such line or field. In both variants. Stop both afterwards (`kill <pid>`, `tmux -L <own socket> kill-server`).

10. File details load while background work or a toast is active (audit #4). In a list, select Safe rows with `a`, then immediately focus a worktree whose files have not loaded. While `Selected …` is still visible, `checking files…` becomes `nothing uncommitted` or the row's uncommitted/ignored file summary; `i` shows the same files. Repeat in "All projects" and both variants. File inspection also proceeds during scanning, sizing, and removals. Rapid focus movement still waits until focus rests for 150 ms; a rescan starts a fresh inspection and results from an older scan never replace the current files. Branch and orphan rows never run a file inspection.
Expand Down
4 changes: 2 additions & 2 deletions .claude/skills/verify-wt-dash/features/filter-search-sort.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ In a worktree list, 1–6 show All, Safe, Review, Busy, Broken or Orphaned; `/`
## Checks

1. In `api`, `3` leaves only `? REVIEW 4 worktrees and 1 branch`; `5` shows `No Broken worktrees. Press 1 to see all.`; `1` shows every section again.
2. `/` opens the search: line 2 ends with `/ 9 of 18` (rows in view of all rows). Typing `spike` (send it with `send-keys -l`) leaves one row, `leftover/spike`, the tabs read `All 1 Safe 0 Review 1 Busy 0 Broken 0 Orphaned 0`, and line 2 ends `/ spike 1 of 18`.
2. `/` opens the search: line 2 ends with `/ 9 of 25` (rows in view of all rows). Typing `spike` (send it with `send-keys -l`) leaves one row, `leftover/spike`, the tabs read `All 1 Safe 0 Review 1 Busy 0 Broken 0 Orphaned 0`, and line 2 ends `/ spike 1 of 25`.
3. Enter keeps the search: line 2 ends with `/ spike esc clears`. Esc alone clears it: line 2 ends with `/ search` and the tabs are back to `All 9`.
4. `s` cycles the footer label `s sort: size ↓` → `s sort: age ↓` → `s sort: repo ↑` → `s sort: size ↓`; `S` turns `size ↓` into `size ↑`.
5. With `size ↓` on "All projects", the Safe section starts `feature/assets` (12.0 MB) then `feature/bundle` (4.0 MB); with `size ↑` it starts `docs/typos`, and `leftover/hotfix` (branch) stays last either way.
5. With `size ↓` on "All projects", the Safe section starts `feature/assets` (12.0 MB) then `feature/bundle` (4.0 MB); with `size ↑` it starts `docs/typos`, `fix/header`, `feature/squashed` (12 KB each), and the branch rows `leftover/hotfix` then `leftover/squashed` stay last either way.
6. `v` on "All projects" replaces the verdict sections with repo groups, the first reading `▸ api 7 worktrees and 2 branches · 12.2 MB 4 safe 5 review`, each row with a colored `●`, and the footer shows `v by repo`; `v` again restores them. In a single project, `v` shows the toast `Grouping by repo works in the all-projects view`.
7. Search matches the name a tool is shown by (#43). After `git worktree add -b try/gemini <api>/.gemini/worktrees/try-gemini main` as the instance's user and `r`, typing `gemini cli` leaves one row, `try/gemini`, and line 2 ends `/ gemini cli 1 of <all rows>`. The path holds `.gemini` but not `gemini cli`, so only the tool's name matches.

Expand Down
Loading
Loading