Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
8931744
docs: let agents carry work end to end, with human stop and high-risk…
Dong1017 Nov 21, 2026
ff1132c
docs: bound agent decisions, define stop scope and align approval format
Dong1017 Nov 22, 2026
e5ec0a9
docs: keep the non-waivable list to the key gates and add decider rules
Dong1017 Nov 22, 2026
ab6d09c
docs: tie Issue governance to assignee and status labels
Dong1017 Nov 22, 2026
eeca714
docs: rename the stop label to bot:stop, adopt bot:reviewed and make …
Dong1017 Nov 22, 2026
c73dca3
docs: keep the external-labels exception until the label migration
Dong1017 Nov 22, 2026
62b4d5f
docs: have maintainers merge high-risk PRs and settle when bot:stop a…
Dong1017 Nov 22, 2026
d258ef0
docs: keep comment stop requests in effect until lifted or moved to b…
Dong1017 Nov 22, 2026
f1e546c
docs: count maintainer-account approvals on high-risk PRs and track t…
Dong1017 Nov 22, 2026
b711b80
docs: list the audit fields for high-risk merges and record recovery …
Dong1017 Nov 22, 2026
f0fd360
docs: make the audit and recovery lines agent-written fixed fields an…
Dong1017 Nov 22, 2026
df56e5a
docs: record the maintainer approver in the merge-audit line
Dong1017 Nov 22, 2026
420094c
docs: check stop comments in review-pr and say who lifts a stop
Dong1017 Nov 22, 2026
e692781
docs: require an Admin-role approval on high-risk PRs
Dong1017 Nov 22, 2026
0f81d79
docs: take the high-risk approval from a named approver list
Dong1017 Nov 22, 2026
9577a11
docs: pin the effective approver list and align who lifts a stop
Dong1017 Nov 22, 2026
b448fba
docs: keep lifting a stop human-only and say what list= records at bo…
Dong1017 Nov 22, 2026
71777a0
docs: let a cursor[bot] approval count as one vote on non-high-risk PRs
Dong1017 Nov 23, 2026
bdef0f1
docs: add Bounty-hunter to the high-risk approver list
Dong1017 Nov 23, 2026
da07c31
docs: give each issue one parent and its own completion condition
Dong1017 Nov 23, 2026
dffc773
docs: keep cursor[bot] reviews advisory and out of the two approvals
Dong1017 Nov 23, 2026
6dc2bca
docs: add linyueqian to the high-risk approver list
Dong1017 Nov 23, 2026
cbfef1d
Revert "docs: give each issue one parent and its own completion condi…
Dong1017 Nov 23, 2026
98ae71a
docs: fall back to the assignee as owner only when exactly one is set
Dong1017 Nov 23, 2026
a4f6733
docs: recheck GitHub's merge state for an advisory Request changes
Dong1017 Nov 23, 2026
46964d3
Merge origin/main into docs/bot-collaboration-rules
Dong1017 Nov 23, 2026
ebf9e77
docs: check a stop on every ancestor Issue before acting
Dong1017 Nov 23, 2026
a812a88
docs: limit the stop check to the governing chain and its real ancestors
Dong1017 Nov 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 24 additions & 7 deletions .agents/skills/review-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ description: Independently review a pull request targeting InferMatrixLab/InferR
# Review an InferRSI pull request

Use the [review eligibility and merge rules](../../../docs/agent-collaboration.md#pr-review-and-merge)
and the [contribution evidence rules](../../../docs/contributing.md). If you
and the [contribution evidence rules](../../../docs/contributing.md). Start
every comment and review with one line naming the acting agent and the human
it acts for, for example `<agent name>, acting for @<human>.`; an **Approve**
keeps `LGTM` on its first non-empty line and puts that line next. If you
authored or materially contributed to the change or were its accountable
parent, label your assessment as a self-check and hand the formal review to an
independent reviewer.
Expand Down Expand Up @@ -45,21 +48,35 @@ case-sensitive token `LGTM`. For example:

```text
LGTM
<agent name>, acting for @<human>.

PR review verdict — PASS
Reviewed base <base_sha> and head <head_sha>.
Verified <specific check or evidence>.
```

For DO NOT PASS, select **Request changes**. Start the body with
**PR review verdict — DO NOT PASS** and state what must change or be verified
For DO NOT PASS, select **Request changes**. After the identity line, start
with **PR review verdict — DO NOT PASS** and state what must change or be verified
before re-review. Keep optional suggestions separate from the blockers.

Use GitHub **Comment** (`COMMENTED`) for non-voting interim feedback. A completed
formal review still requires **Approve** or **Request changes**.

Submit a formal review only from an eligible independent account with recorded
direct or standing delegation covering that PR and review action. Before
formal review still requires **Approve** or **Request changes**, also on a
high-risk PR (CI, releases, secrets, permissions); there an **Approve** from an
account on the [high-risk approver list](../../../.github/high-risk-approvers.json)
as it stands on protected `main` (not the PR head or a stacked branch; see the
[high-risk rule](../../../docs/agent-collaboration.md#identity-and-authority)),
including its agent, counts as the required listed approval. Other approvals
count toward the two but not as that one.

Agents may submit formal reviews without a separate human delegation; see
[identity and authority](../../../docs/agent-collaboration.md#identity-and-authority).
Submit one only from an eligible independent account, and only as that
account's formal reviewer agent; other agents under the account report in
comments. Never submit one on your own PR,
and not while the PR or its governing Issue carries `bot:stop` or has a
human's stop comment that has not been lifted there (see the
[stop rule](../../../docs/agent-collaboration.md#identity-and-authority)).
If you cannot tell whether a stop is present, do not submit. Before
submitting, confirm that the PR is open and the reviewed target, base and head
are still current.
If the revision changed, reassess the affected diff and evidence before submitting.
Expand Down
9 changes: 9 additions & 0 deletions .github/high-risk-approvers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
"david6666666",
"zengchuang-hw",
"amy-why-3459",
"Dong1017",
"hsliuustc0106",
"Bounty-hunter",
"linyueqian"
]
5 changes: 5 additions & 0 deletions .github/labels.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
[
{
"name": "bot:stop",
"group": "bot",
"description": "Human stop switch: agents make no changes, reviews or merges here until a human lifts it"
},
{
"name": "area:knowledge",
"group": "area",
Expand Down
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ ruff check src tests
2. Prefer minimal diffs; match existing layout and naming.
3. Do not reopen closed campaign work or add pins to shared automation without explicit human direction.
4. Work Issue-first: confirm the governing Issue's accepted scope before changing code, keep each change a bounded delegated slice with independent review, and report PR readiness and Issue completion separately — see [agent collaboration](docs/agent-collaboration.md).
5. Agents may carry work end to end; humans set direction through Issues and stop work with `bot:stop`. Identify yourself on every comment and review (on an Approve, after the `LGTM` line), never approve your own PR, merge a high-risk PR (CI, releases, secrets, permissions) only with at least one of its two approvals from an account on the high-risk approver list in `.github/high-risk-approvers.json` (its agent may give it), claim work only on an Issue with an accountable owner (recorded on the Issue, or else its only assignee) labeled `status:accepted` (the agent acting for its accountable owner decides there), keep comments short, and revert a merge that turns `main` red before fixing forward — see [identity and authority](docs/agent-collaboration.md#identity-and-authority) and working rules 7–8 in [agent collaboration](docs/agent-collaboration.md#working-rules).

## Privacy and security

Expand Down
Loading
Loading