Skip to content

chore(maintenance): branch-cleanup inventory + gitignore for ephemeral lists#375

Merged
alrimarleskovar merged 2 commits into
mainfrom
chore/gitignore-cleanup-inventory
May 17, 2026
Merged

chore(maintenance): branch-cleanup inventory + gitignore for ephemeral lists#375
alrimarleskovar merged 2 commits into
mainfrom
chore/gitignore-cleanup-inventory

Conversation

@alrimarleskovar
Copy link
Copy Markdown
Owner

@alrimarleskovar alrimarleskovar commented May 17, 2026

Summary

Two housekeeping items bundled:

1. .gitignore update — add .cleanup-branches-*.txt so future locally-generated ephemeral inventories don't trip the stop-hook untracked-files check.

2. scripts/maintenance/branch-cleanup-2026-05-17.txt — tracked inventory of 304 remote branches safe to delete (post wave-5 doc refresh). Composition:

Class Count Notes
Squash-merge orphans (PR merged) 261 Git --merged misses these because squash rewrites commit hashes
Truly merged (Git-detectable) 37 Reachable from main HEAD via --merged main
PR closed without merging 2 claude/video-pitch-script (#183), fix/anchor-idl-build-payload-newtype (#358)
No-PR historical (absorbed/abandoned) 4 riptide-spike, tests-mocha-tsx-loader, setup-copilot-api-config, web3-security-audit
Total 304

Excluded from this list (KEEP): 11 OPEN PRs (7 dependabot + #319, #280, #279, #357), claude/implement-roundfi-desktop-SRV6l (session branch), main, plus 1 RESCUE candidate: chore/protocol-config-decoder-helper contains unique unmerged work (scripts/devnet/dump-protocol-config.ts — 304-line ProtocolConfig PDA decoder useful for the pre-Fase-5 realloc diagnostic that surfaced in the 2026-05-16 Squads rehearsal).

3. scripts/maintenance/README.md — usage doc with the run command + retirement policy.

Methodology: cross-referenced 279 --no-merged remote branches against 347 paged GitHub PRs to identify squash-merge orphans. Classification breakdown in the README.

How to run

cd ~/RoundFinancial
git pull origin main
xargs -L1 git push origin --delete < scripts/maintenance/branch-cleanup-2026-05-17.txt

Expected result: remote branch count 317 → 13.

Test plan

  • wc -l scripts/maintenance/branch-cleanup-2026-05-17.txt = 304
  • After running the deletion, git fetch --prune && git branch -r | wc -l ≈ 13
  • .gitignore covers future .cleanup-branches-*.txt patterns

https://claude.ai/code/session_01YapZy1Z5gzbV5EammBkSQm

@vercel
Copy link
Copy Markdown

vercel Bot commented May 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
round_financial Ignored Ignored May 17, 2026 0:58am

Pattern .cleanup-branches-*.txt is generated locally for one-shot bulk
deletion runs (output of 'git branch -r --merged main' classification
against GitHub PR state). Not meant to be committed — adding to
.gitignore so it doesn't trip the stop-hook untracked-files check.

https://claude.ai/code/session_01YapZy1Z5gzbV5EammBkSQm
@alrimarleskovar alrimarleskovar force-pushed the chore/gitignore-cleanup-inventory branch from e62f0af to 59aca35 Compare May 17, 2026 00:59
@vercel
Copy link
Copy Markdown

vercel Bot commented May 17, 2026

Deployment failed with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/alrimarleskovars-projects?upgradeToPro=build-rate-limit

@alrimarleskovar alrimarleskovar changed the title chore: ignore ephemeral branch-cleanup inventories chore(maintenance): branch-cleanup inventory + gitignore for ephemeral lists May 17, 2026
@alrimarleskovar alrimarleskovar merged commit 66aac18 into main May 17, 2026
4 of 5 checks passed
@alrimarleskovar alrimarleskovar deleted the chore/gitignore-cleanup-inventory branch May 17, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants