From 374600c6c09812b9064f24009e8f2077fab65f0f Mon Sep 17 00:00:00 2001 From: error-path <202101475@daiict.ac.in> Date: Sun, 22 Nov 2026 19:24:16 +0530 Subject: [PATCH] docs: AGENTS.md snippet for any coding agent; review dates on comparison and answer pages Co-Authored-By: Claude Opus 5.5 --- docs/ai-pr-review-bottleneck.md | 2 ++ docs/alternatives.md | 2 +- docs/bot-approval-required-reviews.md | 2 ++ docs/cli-and-mcp.md | 15 +++++++++++++++ 4 files changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/ai-pr-review-bottleneck.md b/docs/ai-pr-review-bottleneck.md index f6b1478..62c441d 100644 --- a/docs/ai-pr-review-bottleneck.md +++ b/docs/ai-pr-review-bottleneck.md @@ -11,6 +11,8 @@ Teams usually combine a few of the options below, and each one helps with a diff queue. opendrs, the tool these docs are for, is one of them: it scores each PR's risk from git history without an LLM and can approve the low-risk ones; it does not leave review comments. +Last reviewed: 22 November 2026. + ## The options ### Make pull requests smaller diff --git a/docs/alternatives.md b/docs/alternatives.md index 54226c2..24d312a 100644 --- a/docs/alternatives.md +++ b/docs/alternatives.md @@ -14,7 +14,7 @@ This page compares both kinds and says when each is the better choice, including when opendrs is not. It was written by the opendrs maintainers from each project's public documentation in October and -November 2026. If something here is out of date, please +November 2026, and last checked against them on 22 November 2026. If something here is out of date, please [open an issue](https://github.com/error-path/opendrs/issues). **In short:** if you can say in a rule which PRs are safe (dependency bumps, a bot's PRs, docs diff --git a/docs/bot-approval-required-reviews.md b/docs/bot-approval-required-reviews.md index 4b93e6e..1b68bf7 100644 --- a/docs/bot-approval-required-reviews.md +++ b/docs/bot-approval-required-reviews.md @@ -5,6 +5,8 @@ description: "Why an approval from GitHub Actions, a GitHub App or a coding agen # Why a bot approval does not count as a required review +Last checked against GitHub's documentation: 22 November 2026. + You add a workflow step that approves pull requests, the approval shows up, and the PR still says "Review required", or auto-merge never fires. GitHub checks who approved, what that account wrote, and when, before it counts an approval. This page lists the causes, each with GitHub's own diff --git a/docs/cli-and-mcp.md b/docs/cli-and-mcp.md index 71e91ed..eb09b24 100644 --- a/docs/cli-and-mcp.md +++ b/docs/cli-and-mcp.md @@ -70,3 +70,18 @@ it opens a pull request. Install it from inside Claude Code: The agent skill in [`plugin/skills/opendrs/SKILL.md`](https://github.com/error-path/opendrs/blob/main/plugin/skills/opendrs/SKILL.md) tells an agent to run `opendrs score` before opening a PR and to split changes with a large blast radius. + +## Any coding agent: an AGENTS.md snippet + +Many coding agents read an `AGENTS.md` file at the root of the repository +([agents.md](https://agents.md/)). If your agent does not use the plugin or the MCP server, paste +this section into that file: + +```markdown +## Pull request risk + +Before opening or updating a pull request, run `npx @error-path/opendrs score --markdown` +and put its output in the PR description. If it reports a red tier, or a file with a large +blast radius, consider splitting the change into smaller PRs. Never edit `.opendrs.yml` or +`.opendrs/model.json`, or add files to `paths.ignore`, to lower a score. +```