Agent Roast

v0.28.0
io.github.Nari-Ab/agent-roast Checked 4 hours ago Published 15 days ago

Offline, read-only review that flags agent changes weakening tests, assertions, coverage or CI.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

review_worktree Review uncommitted changes

Compare everything not committed yet (staged, unstaged and untracked files) with HEAD and report changes that make tests, assertions, coverage thresholds, lint rules or CI easier to pass instead of fixing the code. Read-only and offline: nothing is run, written or sent.

ParameterTypeDescription
pathstringA directory inside the project. Defaults to the project the server was started in.

review_changes Review a range of commits

Compare two committed revisions, for example a branch against main, and report changes that weaken tests, assertions, coverage thresholds, lint rules or CI. The rules come from the base revision, so the change under review cannot switch them off. Read-only and offline.

ParameterTypeDescription
base *stringThe revision to compare against, for example main or origin/main.
headstringThe revision under review. Defaults to HEAD.
pathstringA directory inside the project. Defaults to the project the server was started in.

stop_hook Stop hook adapter

Runs the same check as `agent-roast hook run` for plugin hooks of type mcp_tool and answers with the hook's JSON: it sends an agent back once when its changes weaken checks. Meant to be called by a hook, not by hand.

ParameterTypeDescription
cwdstringA directory inside the project. Defaults to the project the server was started in.
loop_countstringHow many times the agent was already sent back, for agents that count.
stop_hook_activestring"true" when the agent is already continuing because of a Stop hook.