Reference · Reeve
Reeve's rounds: the jobs, the digest and alerts
What each of Reeve's scheduled jobs does once you turn his rounds on, which ones change repositories and how to turn them on safely, approving job scripts, and how alerts reach you.
- Article
- 1204
- Applies to
- Reeve 0.20.4
- Last reviewed
- For
- For developers
How the rounds run#
The rounds run only while Rounds is on, the first switch in Reeve's Settings (or reeve rounds on). A new install starts with it off, so hiring Reeve for his tools changes nothing in your repositories: his page says Tools only, with a Turn rounds on button. With Rounds off, a merge on GitHub isn't followed into your clone either: it shows as waiting until you turn Rounds on or update the clone yourself.
While it's on, Windows' Task Scheduler runs \Reeve (<account>)\Rounds every 30 minutes, which runs the jobs that are due. His heaviest work (keeping clones current, search indexing) waits its turn while the PC is full of other checks, rather than running beside them. Each job is a small script, listed with its interval; its result (ok, warn or alert) is decided by code, and written to the digest (%USERPROFILE%\.reeve\digest.md). Your AI assistant reads the digest with Reeve's digest tool, and Reeve's page shows it on the Jobs tab.
Off duty (Stop on Reeve's card in Castellan), no round runs. Reeve's MCP tools and the page still work.
Pace for your clones and worktrees, in Reeve's Settings, sets how fast the rounds follow your work:
- AI developers (the default), for a PC where AI sessions open and merge pull requests all day: clones follow a merge within minutes, and a finished worktree goes the round after its pull request merges.
- Human developers: clones are brought up to date hourly, and worktrees are kept for days.
The jobs#
| Job | Every | What it does | Changes repositories |
|---|---|---|---|
fast-forward | round (hour, at the human developers' pace) | Fetches every repository Reeve finds, and fast-forwards each checkout of main, master, release/* or origin's default branch that's safe to move, and brings a clone left on a finished branch back to the default branch (below). Warns naming each one it left alone, and why. | yes |
repo-sync | hour | Keeps Reeve's own checkout of each project current (on the newest release/* branch, else origin's default), and reinstalls its packages when the lockfile changed. Warns when one of your checked-out branches is behind GitHub. A clone of one branch or tag only is skipped, with no warning. | its own checkouts only |
worktree-tidy | round | Removes worktrees whose work is safe elsewhere and leftover folders, and deletes merged local branches (below). | yes |
project-branches | hour | Deletes the branches merged into each of your own repositories' branch, here, and on GitHub where you allow it (below). | yes |
git-hygiene | round, right after worktree-tidy | Every repository and worktree: uncommitted changes (warns after 3 days), branches ahead of upstream, gone upstreams, worktrees already merged. It warns only about work that's nowhere else, and lists what needs you first. With worktree-tidy off, it runs by itself, as often. | no |
ai-use | hour | Whether the AI sessions that worked in a repository today used Reeve; alerts under 65%, and says why. See Connect your AI coding assistant to Reeve. | no |
docs-refresh | 6 hours | Fetches version-pinned docs when a project's lockfile changed. | no |
dependency-health | 6 hours | Per project: security alerts, deprecated APIs in use, and upgrades whose breaking changes touch the code. Alerts on a new high or critical security alert. | no |
npu-health | hour | The NPU driver's and model servers' versions. Alerts when the NPU driver changes. | no |
screens | hour | Layout checks on new UI-test screenshots. Off by default. | no |
A round comes every 30 minutes. A job runs in the first round it's due.
A project is a repository with a lockfile Reeve reads (npm, pnpm, yarn, Cargo, Go, pinned requirements.txt). Projects get Reeve's own checkout, docs and dependency health; every repository gets the git jobs. See Your repositories in Reeve.
Jobs that change repositories#
Four jobs change repositories: fast-forward, repo-sync, worktree-tidy and project-branches.
- On a new install each is off. The rounds skip it, and it isn't offered for approval.
- Turn one on with Turn on beside it on the Jobs tab of Reeve's page. Turn off turns it off again.
- Its first run is a dry run. It changes nothing; its report says exactly what it would have done. It acts from the run after. Turned off and on again, it starts with a dry run again.
- Off, it still shows what it would do: Dry run on the page runs it once, changing nothing.
What fast-forward moves
A checkout of main, master, a release branch or origin's default branch is moved to what GitHub has (git merge --ff-only) only when all of these hold:
- no local commits;
- no uncommitted changes to tracked files, staged or not;
- no merge, rebase, cherry-pick, revert or bisect under way, and no other git command running there;
- no file marked assume-unchanged or skip-worktree, whose local edit git would hide.
A detached HEAD and every other branch are never moved: they're fetched for, nothing more.
One exception: a clone left on a finished branch. When a repository's own clone (never a linked worktree) is on a work branch whose every commit is already in origin's default branch, hasn't been touched for a day, and passes the checks above, it's switched back to the default branch (git switch), which is then fast-forwarded with the rest. The work branch is kept. A clone on a branch with commits of its own is never moved; once it has sat a week, the result names it, so you can finish or drop that work.
It never commits, resets, stashes, cleans, pushes, deletes or prunes. When a lockfile changed in the commits it brought, it says to reinstall packages there; it never installs anything in your checkouts.
What worktree-tidy removes
Every linked worktree on the PC (never a repository's main one), a desktop AI app's and hand-made ones too, goes when its work is safe elsewhere:
- Merged into origin's default or newest release branch, or rebased or cherry-picked in: it goes at the first round that sees it once all its own commits are in, else after 12 hours untouched (2 days at the human developers' pace).
- Only pushed to one of origin's branches: after 3 days untouched (7). Its branch stays.
And only when:
git statusshows nothing changed, staged or untracked;- it holds no git-ignored file but build output (
node_modules,dist,.next,bin,obj,targetand the like): a.envor a local database keeps it. An empty folder, an AI assistant's ownsettings.local.json, a copy of a file from your main checkout, or the repository's own tool output doesn't; - nothing is under way in it, it isn't locked, and no AI session or program is working in it.
A worktree kept for work that's only on this PC is named in the round's details, so you can see why it stays.
It removes with git worktree remove, never --force, so git refuses if anything could be lost. It also clears leftover folders where worktrees are made: no longer a worktree, and holding only build output, or nothing.
A merged local branch goes with git branch -d once its tip is on origin's default (or newest release) branch and 1 day old (2 at the human developers' pace). So does one rebased or cherry-picked in, once its pull request is done and its commits are on GitHub. It never touches the staff's own working folders, and never deletes a remote branch.
What project-branches deletes
For each of your own repositories listed in Castellan (whose Clean up merged branches is checked): it fetches origin, then deletes the local branches fully merged into the repository's branch. It keeps the repository's branch, main, master, develop, gh-pages, release/*, hotfix/*, any branch checked out, and any with an open pull request.
On GitHub it deletes only for repositories you list under Delete merged branches on GitHub too in Reeve's settings, and only a branch whose pull request was merged at its very tip, at most 20 a round. Squash-merged branches it didn't delete, and branches with no commit for 30 days, are only reported.
Every deletion is logged with its tip, and Reeve's page shows the last ones with the command that puts each back:
git -C "C:\Projects\Example" branch feature/x 1a2b3c4d...
git -C "C:\Projects\Example" push origin 1a2b3c4d...:refs/heads/feature/xApproving job scripts#
A job's script runs only while its SHA-256 matches the one you approved, so an edited script never runs unseen. A script that's new, or changed by an update, waits under Needs you on Reeve's page, with what it does, View the script, and the fingerprint approving pins.
- Approve all read-only jobs approves the read-only ones together.
- A job that changes repositories has its own card and its own Approve.
- A script changed since the page showed it is refused, and nothing is approved.
While Rounds is on, Castellan's Needs you says so too: one item for the scripts waiting for you, and one for the jobs that change repositories still off. Each links to Reeve's page, and goes once you've approved them or turned them on.
Alerts, and how they reach you#
A job whose last result is an alert is open until a round's result for it isn't one. Warnings stay on Reeve's page and in the digest.
- On Reeve's page: At a glance counts the new ones; Mark seen marks them seen.
- In Castellan: each open alert is in Needs you at once, while Reeve is on duty. See Needs you, notifications and quiet hours.
- One Windows notification for each new alert, never two for the same one. Never while Castellan's Notify me is off, or during quiet hours.
- For your assistant: the
digesttool lists the alerts not yet acknowledged. At the start of a session, a line in its instructions has it mention any for the repository it's in.
Acknowledging (jobs ack, or Mark seen) clears the digest's list, not the alert itself: it stays open until it's put right.
Running a job yourself#
Reeve's jobs run by themselves. On Reeve's page, on the Jobs tab: Pause and Resume, Turn on and Turn off for a job that changes things, Dry run for one that's off, and each job's log. Under a job that needs you, Check again runs it once you've put it right. From a terminal, see Reeve's command line.
Related articles
Is this page right?
If something on it is wrong or out of date, tell us and we'll fix the page.
Still stuck? Write to support@castellan-software.com and mention article 1204. Every version of Reeve, and what changed in it, is in its release notes.