chore: prune stale branches, worktrees, and dangling references#712
Merged
Conversation
- docs/HANDOFF-sandboxr-runtime-decision.md: continuation prompt pointed at feat/sandboxr-two-layer-design, a branch that no longer exists; point at the merged PRs instead. - src/chezmoi/dot_config/mise/AGENTS.md: locking script was renamed (run_after_onchange_06_... -> run_onchange_after_06_...) and its MISE_LOCKED value flipped 1->0 per #574 (relax locking) without the doc being updated; repo-root .mise.toml was also renamed to mise.toml. - docs/DESIGN-keybindings.md: managed-files table had stale paths for zellij config, Ghostty conf.d files, and VS Code/Cursor keybindings (referenced a modify_ prefix that was never shipped). - Delete the claude_statusline and agent_run tombstone entries from the BOM and local_bin_tools catalog: both were retired via rename (termstatus, sandboxr respectively) over 2 weeks ago and confirmed applied on all machines.
docs/HANDOFF-sandboxr-runtime-decision.md was a session-continuation artifact from PR #695 ("Audience: fresh agent session executing follow-ups"), not curated documentation. Every follow-up it listed is resolved (#706, #707, #708, #709); the decision rationale it recorded is already duplicated in memory. Repoint the two comment references that cited it at the actual PR instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Dedicated pruning pass across three areas, per request. Each branch/worktree/remote
deletion below was verified against the actual merged PR record (not raw
git logreachability, which false-negatives on squash merges) plus content diffs before deletion —
none were guessed from names or dates alone.
1. Local branches and worktrees (already executed, no diff here)
Deleted 56 local branches and removed 3 worktrees (
chezmoi-fix-tmux-url-popup,chezmoi-fix-zellij-term,chezmoi-gemini-bump). Every branch was confirmed merged, orclosed-but-superseded by different work that did merge:
fix-tmux-url-popup-...— PR feat(tmux): add hotkey to extract and open URLs using fzf #395 closed unmerged; the tmux URL-open feature wasreimplemented as
termbud tmux open-url(merged via feat(tmux): refactor python module into termbud with typer #421/feat(termbud): add zellij open-url subcommand #433/⚡ [performance] Move re.compile to module level in tmux.py #504).fix/zellij-term-and-tests— PR fix(zellij): use tmux-256color for tmux and leave TERM for zellij #415 merged; confirmed byte-identical content, worktree'sone uncommitted change was a local
uv.lockregen artifact, not real work.jules-14732888419114859918-fdd80705— PR refactor(jules-cli): split main.py into domain specific files #594 closed; re-landed and merged 8 minuteslater as PR fix(jules-cli): move get_api_key to config.py to avoid circular/inline imports #621 (same file set).
jules-5367206502345479309-8ec6b406— PR feat: Add deterministic Windows font management via Chezmoi #386 closed; used the flat.chezmoiexternal.toml.tmplform this repo's AGENTS.md explicitly disallows; superseded by the properly merged feat(wsl): deterministic Windows font and terminal font setup #442.
gh pr listsweeponly covered the most recent 300 of 704 total PRs, which produced false "no PR" negatives
for anything merged before Refactor tmux config to use chezmoitemplates #408 — re-ran against the full history to confirm).
2. Remote branches (already executed, no diff here)
Deleted 10 remote stragglers GitHub didn't auto-clean (8 map to closed/merged PRs, one
Bazel-era revert, and
review-593-fixup— a manual review branch with real but abandonedtermbud scrollback-extraction work from a closed PR, confirmed abandoned and approved for
deletion).
3. Dangling references (this diff)
docs/HANDOFF-sandboxr-runtime-decision.md— deleted outright. It was a session-handoffartifact from PR sandboxr: srt-primary sandbox runtime (design, decision, backend) #695 ("Audience: fresh agent session executing follow-ups"), not curated
documentation; every follow-up it listed is now resolved (feat(sandboxr): add opt-in --timeout to bound sandboxed invocations #706/fix(sandboxr): close unrestricted-egress gap on the default autonomous profile #707/fix(sandboxr): validate CLI overrides and re-expose agent sockets under srt #708/chore(sandboxr): delete the seatbelt.py macOS stub #709) and its
decision rationale is already duplicated in memory. Repointed the two comment references
that cited it (
sandbox.toml,bin/mise.toml) at PR sandboxr: srt-primary sandbox runtime (design, decision, backend) #695 instead.src/chezmoi/dot_config/mise/AGENTS.md— documented a script name andMISE_LOCKEDvalue that drifted after chore(mise): transition to pinned global versions and relax locking #574 relaxed locking; also a stale
.mise.tomlfilename(repo root file is
mise.toml, no leading dot).docs/DESIGN-keybindings.md— managed-files table had stale paths for the zellij config,Ghostty
conf.d/files, and VS Code/Cursor keybindings (referenced amodify_prefixthat was never shipped).
4. Retired catalog/BOM entries (this diff)
Deleted the
claude_statuslineandagent_runtombstone entries (BOM +local_bin_tools.toml) — both were retired via rename (→termstatus, →sandboxr)over 2 weeks ago; confirmed applied on all machines.
Test plan
chezmoi execute-template --initrenders the BOM template cleanly with no leftoverreferences to the deleted keys
uv run pytest tests/integration/test_local_bin_tools.py tests/integration/test_chezmoi_data.py— same 4 pre-existing failures with and without this diff (local dev-venv PATH
shadowing, unrelated to this change)
git branch -a/git worktree listconfirm a clean final staterg -l "HANDOFF-sandboxr-runtime-decision"confirms zero remaining references afterdeletion
🤖 Generated with Claude Code