playrote.play.v1

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.

  • Published 6 Sep 2026
  • Downloads 5
  • Needs rote 0.91.0+
  • Digest sha256:90ac55f51465…
  • Reference jaylabs/sweep-git-repos@0.6.2

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 dirbase_dir

    Folder 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 depthmax_depth

    How 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.

    optionalstringdefault 3example 3custom value allowed
  • State dirstate_dir

    Where 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.

    optionalstringdefault example ~/.rote/sweep-git-repos-statecustom value allowed
  • Emailsemails

    Extra 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.

    optionalstringdefault example you@work.com, you@users.noreply.github.comcustom value allowed
  • Onlyonly

    Sweep 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.

    optionalstringdefault example apicustom value allowed
  • Max reposmax_repos

    Stop 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.

    optionalstringdefault 0example 20custom value allowed
  • Formatformat

    How 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.

    optionalstringdefault textexample markdown
    3 choices
    • text
    • markdown
    • json
  • Githubgithub

    Which 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.

    optionalstringdefault autoexample adapter
    4 choices
    • auto
    • gh
    • adapter
    • never
  • Webhook urlwebhook_url

    Where 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.

    optionalstringdefault example https://hooks.slack.com/services/T000/B000/xxxxcustom value allowed

What it changes

  • discover_repos
  • sweep_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
  • Digestsha256: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.