Skip to content

Git Status Scanner ​

Monitors local Git repositories for old uncommitted work, remote-behind branches, stashes, and merge conflicts. Repositories are rotated across polls to keep work bounded.

Pollen Types ​

TypeDescription
uncommitted_warningTracked or untracked changes remained dirty past the configured age
branch_behindThe current branch is behind its configured upstream
stash_reminderThe repository has a stash
merge_conflictGit reports unmerged paths

Prerequisites ​

The git executable must be available. No network request is made by the scanner: behind status uses existing local remote-tracking refs, so run git fetch separately when freshness matters.

Configuration ​

json
{
  "git_status": {
    "enabled": true,
    "watch_dirs": ["."],
    "warn_uncommitted_after_minutes": 60,
    "warn_branch_behind": true,
    "repos_per_poll": 5
  }
}
FieldDefaultDescription
enabledtrueEnable this scanner
watch_dirs["."]Up to 100 unique relative, absolute, or ~-prefixed directories
warn_uncommitted_after_minutes60Dirty-age threshold; zero reports on the first post-baseline dirty observation
warn_branch_behindtrueCompare HEAD with its local upstream ref
repos_per_poll5Repositories checked per poll, from 1 to 20

Temporarily unavailable configured paths retain their dirty-age state, avoiding a false reset when a mount disappears.

Released under the Apache 2.0 + Commons Clause License.