Repository navigation
Releases
rtfd 0.1.0-rc.2
The second release candidate of v0. Ahead of v1, Azure DevOps and Bitbucket repos, and Copilot CLI
as the agent next to Claude Code. Starting serve at logon (install-service) still comes before
0.1.0.
Added
- Azure DevOps. A repo with
provider: azure_devopsandrepo: organization/project/repository
works withrun,serve,validate,statusand follow-ups, as a GitHub repo does.authors
are Azure DevOps sign-in names. auth: azure_cli, with an optionaltenant, gets an Azure DevOps token from the Azure CLI instead
of a variable, and renews it before it expires, soservekeeps running. A CLI that isn't logged
in keeps the repo trying until you runaz login; no restart needed. A PAT intoken_envworks
too.- On Azure DevOps a review is a resolved summary comment and a thread per inline comment, and the
verdict is a vote: approve gives "Approved", request changes "Waiting for author". There's no vote
on your own PR or on a draft. A crash partway through a review posts only the comments that
didn't land. - Bitbucket Cloud. A repo with
provider: bitbucketandrepo: workspace/repositoryworks with
run,serve,validate,statusand follow-ups.token_envnames a variable holding
email:token, an Atlassian API token, andauthorsare Bitbucket nicknames. - On Bitbucket a review is a summary comment and a comment per inline comment, and the verdict is
Bitbucket's Approve or Request changes, never on your own PR. Each comment ends with a line
Bitbucket doesn't show, so rtfd can rebuild what it reviewed if its state is lost, and a crash
partway through posts only the comments that didn't land. - Copilot CLI agents. An agent whose
commandrunscopilotreviews like a claude one, with
run,serveandvalidate;modelandeffortare optional. Its tools are file reads in the
checkout and rtfd-git only, the built-in GitHub MCP server is off, and it writes no files: rtfd
reads the findings from its answer. The command may add only--model,--reasoning-effort,
--context,--auto-tier,--max-ai-credits,--disable-client-telemetryand--no-color. - A copilot agent never sees your
~/.copilot. Eachaccountgets a Copilot home of its own,
copilot/<account>in the data folder, which you log in once withcopilot login(rtfd validateprints the command), and each review runs in a fresh home holding only that login,
with hooks off. Until it's logged in, reviews stop the repo with that command. - Copilot never gets the GitHub CLI's login: rtfd puts a
ghthat refuses first on the agent's
PATH, andrtfd validatechecks Copilot's log for it. - A usage limit that says how long to wait ("try again in 2 hours") pauses for that long; patterns
can capture it asduration. Copilot's rate limits and spent quota are built in. - A copilot agent's model that your plan can't use stops the repo instead of being retried.
- Agent configuration Copilot loads from a PR is reset to the base branch:
.github/hooks/,
.github/skills/,.agents/skills/,.claude/skills/,.github/agents/,.github/mcp.json,
.mcp.json,CLAUDE.md,GEMINI.mdand nestedAGENTS.md, besides what was listed before.
Install: download the archive for your platform, unpack it anywhere and put the folder on
your PATH. Copy examples/rtfd.yaml and examples/prompts/ into ~/.rtfd (or the folder
RTFD_HOME names), edit them, and run rtfd validate. You need git and a logged-in Claude
Code; nothing else. SHA256SUMS lists every archive's checksum. The README has the rest.
rtfd 0.1.0-rc.1
The first release candidate of v0: GitHub and Claude Code. rtfd run reviews one PR now, and
rtfd serve watches your repos and reviews each new head once. Starting serve at logon
(install-service) comes before 0.1.0. The design is docs/spec.md and the build order
docs/plan.md, in the repository.
Added
rtfd validate [--config <path>]checks a config: every mistake with its line number, what
this build doesn't support yet (hooks, the untrusted tier, Bitbucket, Copilot, context tools),
and the guards a config can't loosen (an agent's isolation and tools, flags rtfd sets itself,
a token pasted where its variable's name belongs, which is refused without being shown).- The config lives in
~/.rtfd/rtfd.yaml, or underRTFD_HOME.examples/is a home to copy. rtfd --version. The other commands say which phase of the plan brings them.rtfd run <repo> --pr <n> --dry-runreviews one GitHub PR with Claude Code and prints what it
would post: the inputs, each attempt, the review with its inline comments, redactions, and the
verdict with why.--verbose,--keepand--inputs-onlyshow more. Nothing is posted yet.- The agent only reads: no shell, no provider token, an environment built from an allowlist,
nothing from your Claude Code setup (plugins, MCP servers, skills, CLAUDE.md), and git history
only through rtfd's own read-onlyrtfd-gittools with checked arguments. - Agent configuration in the PR (
.claude/,.mcp.json,CLAUDE.md,AGENTS.md) is reset to the
base branch before the agent starts. A PR that changes it gets a Should (settings that can run
code) or a note (instructions). - Every comment is checked for secrets with gitleaks' rules and the tokens rtfd holds. A credential
the PR commits is redacted and gets a Should; anything else blocks the review. - rtfd decides the verdict from the findings and writes the review's first line itself ("Not
ready: 1 Should open." or "Ready to merge from my side."). - A usage limit is recognised, with its reset time and zone, and doesn't count as a failed attempt.
rtfd validatenow checks each repo with GitHub (the token works, the repo is reachable, who
rtfd posts as, andauthors: ["*"]refused on a public repo) and each agent: it starts Claude
exactly as a review would, prints everything Claude reports it loaded, and fails on any tool,
MCP server, plugin or skill beyond rtfd's own. It stops Claude before any model call.
--config-onlyskips both.rtfd runwithout--dry-runposts the review to the PR, on the reviewed commit, and reads it
back to confirm the summary, the event and every inline comment arrived as sent. It posts once
per head: after a crash the next run finds the review by the hash of its text instead of posting
it twice, or posts what it had recorded if it never landed. State lives instate.dbin the data
folder.- Each head gets
max_attemptsagent runs.rtfd retry <repo> --pr <n>gives them back, and lifts
the block on a head whose review held a secret that wasn't in the diff. - Follow-ups. On a PR rtfd reviewed before,
rtfd runreviews only what the author changed since
the last review (the interdiff, without changes merged in from the base branch, even after a
rebase), replies "Looks good now." on its own threads that are fixed and resolves them, and leaves
the rest alone. The verdict counts rtfd's earlier threads that are still open. A push that only
merges the base branch isn't reviewed. - A Should resolved by hand counts as closed and is reported once in the next summary;
human_resolve_closes: falsekeeps it counting until rtfd resolves it. - A lost
state.dbis rebuilt from the hidden markers in rtfd's reviews on GitHub, so a lost store
neither loses rtfd's threads nor posts a second review of a head. - The hidden marker in each review now names the head's merge base too.
rtfd servewatches every configured repo and reviews each new head once: afterquiet_period
with no new push (five quick pushes, one review) and once CI has finished orci_max_waithas
passed (the summary then says CI hadn't finished). Drafts, forks and authors outsideauthorsare
skipped. A log line for every poll, in a file per day underlogs/, kept 14 days. One serve per
data folder; Ctrl+C stops it without cutting a post short.- A usage limit pauses every repo on that agent account until the reset time, without spending an
attempt, and serve resumes by itself.rtfd runrecords the pause too. - An agent that isn't logged in, or isn't installed, stops the repo until
rtfd resume <repo>.
A failing PR backs off, fromintervalup to an hour. rtfd statussays whether serve is running, stopped or hung, and per repo the last poll and every
open PR's state; with serve stopped, what the store knows. It exits 0 only while serve runs.rtfd pause <repo>andrtfd resume <repo>stop and restart watching one repo, without a restart.rtfd runwaits for a repo serve is reviewing, and says so after 15 seconds.- A killed serve leaves nothing running: on Windows its agent goes with it, and the next start
deletes the leftover run folders and worktrees (not--keepones). - Polls of GitHub are conditional, so an unchanged PR list or CI state doesn't count against the
rate limit. - Releases. Each one on GitHub has a ready-to-use archive per platform (Windows x64, Linux x64,
macOS arm64): the binary with its SQLite library, the sample home to copy, the README, this
changelog and the licences, plus their checksums. The release notes are this changelog's section
for the version.
Install: download the archive for your platform, unpack it anywhere and put the folder on
your PATH. Copy examples/rtfd.yaml and examples/prompts/ into ~/.rtfd (or the folder
RTFD_HOME names), edit them, and run rtfd validate. You need git and a logged-in Claude
Code; nothing else. SHA256SUMS lists every archive's checksum. The README has the rest.