jjaylabs/sweep-git-reposv0.6.2Public
Sweep git repos
You have a folder of repos and no idea which hold work that exists only on your laptop.
Read the full description
On the machine this was built on, one sweep found 83 repositories and 35 branches living only there. It walks every repo under one folder, reads unpushed commits, uncommitted changes, stashes and upstream-less branches, names any repository whose history carries a secret-shaped file, asks GitHub whether that work is on origin, compares with the last sweep and writes a digest. An unreadable repo is listed as unknown, not dropped. Without a GitHub token that leg is skipped with the fix named, and the sweep completes. Your repositories are only ever read from; it writes a baseline, drift record and digest outside them.
Before you run it2 local tools
Everything here is checked on your machine when rote inspects the play. This page never learns what you have installed or which credentials you hold.
- ○python3local tool
Requires >=3.9. Run rote play inspect to check your host; unverified versions remain unknown.
- ○gitlocal tool
Must be on your PATH when used. minimum version undeclared.
Inputs9, all optional
rote asks for these before running and shows the defaults it will use.
- Base dir
base_dirFolder to sweep. A tilde path like ~/code is expanded to your home folder. Give an absolute path otherwise. A relative one resolves against the run workspace rather than your shell, so it will usually not be found.
optionalstringdefault~/Documentsexample~/Documentscustom value allowed - Max depth
max_depthHow many folder levels below base_dir to search. Must be a whole number; clamped to 1..6. Anything else falls back to 3 and the run says so. Keep it small on big trees.
optionalstringdefault3example3custom value allowed - State dir
state_dirWhere to keep the baseline this play compares against. Leave empty to use the play's own run workspace. Nothing is ever written inside a repository either way.
optionalstringdefaultexample~/.rote/sweep-git-repos-statecustom value allowed - Emails
emailsExtra addresses that count as yours, comma separated. Your repo-level and global git user.email already count; this is for the other addresses you commit under.
optionalstringdefaultexampleyou@work.com, you@users.noreply.github.comcustom value allowed - Only
onlySweep only the repositories whose path under base_dir contains this text, case-insensitive. The baseline still records everything found, so a filtered run cannot make the next full run think the rest disappeared.
optionalstringdefaultexampleapicustom value allowed - Max repos
max_reposStop after this many repositories, in path order. 0 means no cap. Must be a whole number; anything else is ignored as no cap and the run says so.
optionalstringdefault0example20custom value allowed - Format
formatHow the briefing reads. The value text is the aligned terminal view, markdown a table you can paste into a document, json the same object the result view carries.
optionalstringdefaulttextexamplemarkdown3 choices
textmarkdownjson
- Github
githubWhich route checks unpushed and upstream-less branches. The value auto tries the gh CLI, then the rote github adapter, then skips and says why. The values gh and adapter each insist on one. The value never keeps the sweep local. No token is needed to run; without one the leg is skipped and the receipt prints the rote token set command that enables it. GET only.
optionalstringdefaultautoexampleadapter4 choices
autoghadapternever
- Webhook url
webhook_urlWhere to post the run digest. Leave empty and no socket is opened at all. An https URL is posted to; plain http is refused unless it is loopback, which is how the packaged test proves delivery without leaving the machine. A webhook that is down is reported, never allowed to lose the sweep.
optionalstringdefaultexamplehttps://hooks.slack.com/services/T000/B000/xxxxcustom value allowed
What it changes
discover_repossweep_repo
rote shows these writes again and asks for consent before running.
Credentials remain in the recipient's local rote vault; this page and the publisher never receive them.
Runtime details
- rote CLIversion 0.91.0 or newer
- Servicesnone declared
- Digest
sha256:90ac55f51465c475f5639ffc5601ff31ce7145f9bf471432cc77e86ac6febce3 - Archive size79310 bytes
- Published2026-09-06T18:00:27.625102+00:00
- Published withrote 0.75.0
Credential values and current readiness remain local. Opening this page never prompts for a credential, opens an authorization browser, or calls a service this play uses.
A play is a published, versioned automation package that runs on your own machine through rote, a free command-line tool. Opening this page installs nothing and runs nothing.