Weekly reset
Run weekly across local repos to surface stale branches and uncommitted work
Scan all Git repositories in this folder and bring me up to date.
Phase 1: Inspect only
- Report repo name, current branch, working tree status, uncommitted changes, local branches, tracking status, ahead/behind status, stale branches, and branches whose upstream no longer exists.
- Fetch remotes safely and identify stale remote-tracking refs that can be pruned.
- Do not modify anything yet.
Phase 2: Summarize
- Summarize per repo:
- uncommitted work needing a decision
- safe cleanup candidates
- recommended actions
Rules
- Do not discard code, stash, reset, delete branches, or push without my approval.
- Do not touch protected branches: main, master, develop, dev, release, production.
- Never delete the current branch.
After I approve:
- prune stale remote-tracking refs
- delete only safe local branches that are already merged and no longer have an upstream
- refresh main branches using fetch + fast-forward only