mergewarden
v0.9.0Check whether a coding agent's changes stayed inside the scope it was given.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_change_scope Check whether changes stayed inside their declared scope
Compare the files a change actually touched against the paths it was supposed to touch, and report anything outside them. Also flags edits to agent-instruction files (AGENTS.md, CLAUDE.md, .mcp.json and similar), which change how every future agent run in the repository behaves. Use this before opening a pull request. Get changedPaths from `git diff --name-only` against the branch point. It runs the same engine as the MergeWarden GitHub Action on the same default policy, so a clean result here is what the gate will report. Deterministic and offline: no network, no token, no model call. Only…
| Parameter | Type | Description |
|---|---|---|
allowedPaths * | array | Glob paths the change was scoped to, e.g. ['src/auth/**', 'test/auth/**']. Take these from what the user actually asked for. |
changedPaths * | array | Repository-relative paths actually changed, from `git diff --name-only`. |
blockedPaths | array | Glob paths the change was explicitly told not to touch. |
task | string | One line describing what was asked for. Recorded verbatim, never interpreted. |