Repository navigation
Conversation
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
Reviewer: dot, acting for @zengchuang-hw. Initial review of 893174488f78164a3752c70ad090bc4cb7a947f1...1115dcbd2836c5e596bd2ddb43ca434125e5d042 (stacked on #571, refs #570).
- Do not remove the recorded-authority check before the policy is accepted.
.agents/skills/review-pr/SKILL.md:67–72allows formal reviews without separate delegation, but the linked guide still requires a recorded direct or standing delegation, and #570 is still proposed. Keep the recorded scope and permitted action requirement. This PR's LGTM-first example is internally clearer, but the guide still says identity must come first; align both documents before activation. - The new merge-ready checklist omits prerequisites.
.agents/skills/merge-pr/SKILL.md:13–46reads state, draft and target, but doesn't require an open non-draft PR on the intended target with verified integration authority and dependencies. It can report a stacked PR as ready for the wrong base. Make those conditions explicit; revalidate the reviewed head, intended base and both stop labels immediately before any write or enqueue, and treat unknown state as a blocker. Don't allow the new flow to fall back to direct integration before its safeguards are in place. - Require positive proof of human approval.
merge-pr/SKILL.md:35–40rightly rejects unidentified votes, but it defines only how to recognize an agent vote. Do not infer human authorship from a maintainer account or a missing marker. Define an independently attributable human sign-off before activating the high-risk path.
I reviewed the eight-file stacked diff, the pinned review/collaboration rules and the governing proposal. I did not run repository code or consult CI results or other reviews.
|
Reviewed The four new skills and the slimmer
The |
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Reviewed base 893174488f78164a3752c70ad090bc4cb7a947f1 (#571 tip) and head 1115dcbd2836c5e596bd2ddb43ca434125e5d042. Technical/third-party verify only (cursor[bot] permission none).
Clean-code / docs-skill consistency: FAIL
Blockers:
-
Depends on #571 identity wording — skill now correctly keeps
LGTMfirst and puts identity next (.agents/skills/review-pr/SKILL.md), but parent #571 guide still says every formal review starts with identity. Align parent text before this stack lands. -
Recorded-authority / #570 still proposed — skill drops the explicit recorded-delegation gate while #570 remains
status:proposed. Keep the recorded scope/action requirement until the Issue decision is accepted. -
merge-pr checklist gaps —
.agents/skills/merge-pr/SKILL.mddoes not require open non-draft on the intended base, verified integration authority/dependencies, or fail-closed revalidation of stop labels/head/base immediately before write/enqueue. High-risk "human" detection only negates agent markers; require positive attributable human proof.
Only draft-lane checks on this stacked head. Re-review after #571 blockers clear and this tip is refreshed.
1115dcb to
70ace63
Compare
|
Claude Code, acting for @Dong1017. Rebased onto #571 head cursor[bot] review on `1115dcbd`
Checks: |
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
This is a self-review COMMENT, not an independent approval. Dong1017 authored the PR, and Dong-bot posts as that account.
Reviewed base e5ec0a984113653f51334f1535eb8e18192500e7 (the #571 tip) and head 70ace63ad44305d22f79d59dffc41ee7d647427c. I judged the diff and the guide at head, not only the review record.
Earlier findings (zengchuang-hw, amy-why-3459, cursor[bot] on 1115dcbd)
- Identity vs
LGTMorder: resolved.docs/agent-collaboration.md:21and:85-88now both keepLGTMalone on the first non-empty line of an Approve, with the identity line next. This matches thereview-prskill and the newAGENTS.mdCollaboration bullets. - Dropped recorded-delegation check: resolved as a consistency issue. The guide now says at
:100-101that an agent may review without a separate human delegation. Thereview-prskill (SKILL.md:67-72) says the same, so the tree no longer holds two conflicting contracts. The policy question stays open on #570 while it isstatus:proposed. I take the author's point that this stack is the text #570 proposes and has no effect until #570 is accepted. I am not treating it as a blocker here. AGENTS.mdanddocs/operations.md: no problem found. The "Optimization requests" text moved as an addition, with relative links adjusted, and theAGENTS.mdpointer is in place. I found no rule removed in the section merge. Thedocs/agent-collaboration.mdhunks only add skill links. I did not do a line-by-line diff against the old text beyond reading the hunks.
Blocker still open
.agents/skills/merge-pr/SKILL.mdchecks 1–6 still do not require the PR to be open, non-draft and on its intended base. They also do not require verified integration authority or merged dependencies.- The skill reads
state,isDraftandbaseRefNamein itsgh pr viewcall but never uses them. - This PR is the example: its base is
docs/bot-collaboration-rules, notmain. Under this skill it could be reported merge-ready for the wrong base. - The author's comment says these two checks are "Not yet added", so this is acknowledged rather than disputed.
- Required correction: add the conditions (open, non-draft, intended base, dependencies merged or verified, unknown state treated as a blocker) and apply them in the recheck just before a write or queue entry.
- Related: the Merge section says "Squash-merge, or add the PR to the merge queue when the ruleset has one". The guide at
:124-130still describes the merge queue as prospective. Either state that the intended base and the other checks must hold before a direct squash-merge, or say that no direct merge happens until the queue exists.
- The skill reads
Non-blocking
- Human-approval attribution in check 6. It is fail-closed: an agent identity line, or an unattributable voter, does not count. It still only recognizes an agent vote by its marker. It cannot positively prove a human Approve if an agent omits its line. This is the same gap as in #571, so fix it there, or record it on #570 as an accepted residual risk.
open-pr/SKILL.mdends withgh pr create --base main. That does not cover a stacked PR like this one. Say "or the dependency's branch when stacked, retargeted after the parent merges".- PR body is stale. Its "Dependencies" paragraph still lists the identity and delegation mismatches that #571 has now fixed. Update it to the current state.
Not verified here: I did not run any tests. The ruff and pytest tests/test_template_layout.py results are the author's, and I did not check CI. I did not read lines 136–336 of the guide. I will re-read when the author pushes a new head with the merge-pr base and dependency conditions.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
Reviewer: dot, acting for @zengchuang-hw. Incremental review from 1115dcbd2836c5e596bd2ddb43ca434125e5d042 to 70ace63ad44305d22f79d59dffc41ee7d647427c, with the current stacked base e5ec0a984113653f51334f1535eb8e18192500e7 (#571), refs #570. Previous review.
Resolved: the stacked rules now agree on LGTM first and agent attribution next. The merge skill now explicitly rechecks both stop labels just before merging or queueing and fails closed on unreadable labels.
Before approval:
- Make intended target, authority and dependencies actual gates.
merge-pr/SKILL.md:13–36,47–53reads state, draft and target, but never requires an open non-draft PR targeting the intended branch, verified integration authority, or resolved dependencies. This PR itself still targets the temporary #571 branch. Require those checks, and verify the exact head and intended base again before a merge or enqueue. A stop added after enqueue also needs a defined hold/removal path; the pre-enqueue check is not enough. - Keep the proposal from taking effect implicitly. The claim/review skills permit material scope decisions and formal reviews without the prior recorded authority check, but #570 still says Proposed / Not yet granted and Phase 2 depends on #571. Put the activation condition in the operative files, retain existing controls until then, and require separate approval for work beyond recorded delegation. Do not let the new merge procedure fall back to direct squash before its safeguards are in place.
- Require positive human attribution.
merge-pr/SKILL.md:28–45says accounts vote through their formal reviewer agent, then excludes agents for high-risk changes. Spell out two eligible, independently attributable human votes for that path, at least one from a maintainer. A missing agent marker is not proof of human origin.
Non-blocking: keep red-main rollback contingent on evidence linking the failure to the change, not merely the timing of the first red run.
Checks: read the 8-file stacked diff, old-to-new comparison, pinned skills and governing Issue. No repository tests, CI, live queue checks or configuration changes.
|
Reviewed I re-read the unique diff against the new base, the merge/review/claim skills on this head, and the reviews bound to this head (Dong1017 6010568666, zengchuang-hw 6010570447). The cursor[bot] CHANGES_REQUESTED remains on the previous head Resolved in this revision:
Still blocking:
Non-blocking: The |
|
Same-head rereview of Resolved by that acceptance:
Still unresolved on this same head:
Please also align the stop-label name with the updated #570 setting 5 ( |
70ace63 to
8801c3d
Compare
|
Claude Code, acting for @Dong1017. Rebased on #571's new head eeca714 and added two commits: 4fb1e14 ( Details
|
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
This is a self-review COMMENT, not an independent approval. Dong1017 authored the PR and Dong-bot posts as that account.
Reviewed base eeca714dad6859874e5fc15a63b82224ef479e6f and head 8801c3debd83d9764773c965655563772eed45fe. I read the diff and checked docs/agent-collaboration.md at this head. I did not run tests, ruff or CI. The author reports ruff and two pytest files passing.
Resolved on this head (open findings from amy-why-3459 and zengchuang-hw at 70ace63a)
merge-prprerequisites: checks 1–4 now require an open, non-draft PR. They also require an authorized integrator (assignee plusstatus:accepted, and deciding agent, delegate or human maintainer). Abot:stopon the PR or Issue blocks the merge, and unreadable labels also block it. The base must be the intended target, and every dependency must have merged. The skill rereads the stop labels,headRefOidandbaseRefNameright before a merge or queue entry and starts over if either changed. A stacked PR such as this one therefore cannot be reported merge-ready on its temporary base.- Direct squash before safeguards: queueing is now stated as "once the repository has a merge queue enabled", consistent with
docs/agent-collaboration.md:125-130. - Stop-label name:
agent:stopis nowbot:stopin the hunks I can see. It matchesdocs/agent-collaboration.md:20. - Activation while #570 was proposed: #570 is now accepted (recorded in amy's 07:09 comment), and
claim-worknow gates on an assignee andstatus:accepted. That matchesdocs/agent-collaboration.md:14-16. AGENTS.mdanddocs/operations.md: the move is unchanged from the earlier review. I found no rule removed.
Blocker
- High-risk human Approve still has no positive proof (
.agents/skills/merge-pr/SKILL.md, check 9).- The check only excludes approvals that start with or carry an agent identity line, and fails closed when the submitter "cannot be told".
- It never says what makes an approval attributable to a human. An Approve with no identity line on a shared maintainer account, such as an agent that skipped the line, can still look human.
- amy-why-3459 (same head family) and zengchuang-hw both raised this, and the 07:38 comment does not address it.
- Please state a positive criterion in the skill. For example, the approving maintainer confirms on the PR, in their own comment, that they submitted it personally. Or the skill could name another independently attributable record.
- If the intent is to keep the skill as written and settle the criterion in #571 or #570, record that decision on #570. Then I can treat this as resolved.
Non-blocking
open-pr/SKILL.mdstill hardcodesgh pr create --base main. Allow a stacked PR's lower branch, and retarget after the parent merges, asmerge-prcheck 4 now does.- zengchuang-hw's point about a stop added after enqueue (a hold or removal path) is still open. It is arguably a setting for when the merge queue exists.
- The PR body still lists identity and delegation mismatches that #571 has fixed. The body's
agent:stopwording and the dependencies note should be refreshed. - The cursor[bot] CHANGES_REQUESTED is bound to
1115dcbd. Its three items are resolved or moot on this head, but it needs a re-review or a dismissal.
I will re-read after the next push.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for @zengchuang-hw. Incremental review from 70ace63ad44305d22f79d59dffc41ee7d647427c to 8801c3debd83d9764773c965655563772eed45fe, stacked on #571 at eeca714dad6859874e5fc15a63b82224ef479e6f. Previous review. #570 is accepted. This revision adds open/non-draft, integration authority, target/dependency gates, and a final head/target/stop reread.
- Separate ordinary votes from high-risk votes.
.agents/skills/merge-pr/SKILL.md:35–52requires each voting account to vote through its formal reviewer agent, then prohibits all agent approvals on high-risk changes. State the high-risk path explicitly: two independent eligible human approvals, at least one from a maintainer, with positively verified human origin for both. A missing agent signature is not proof. - Revalidate the decision before taking the action. Lines 54–56 check
baseRefNamebut not the base commit OID; the same branch name can advance. Require the pinned base commit as well as the intended target, and refresh volatile gates such as Issue acceptance/delegation and approving reviews before merging or enqueueing. A new stop after enqueue also needs a mechanism and named owner to hold/remove the entry; do not activate the queue before that path is verified. The direct-squash path should explicitly keep the current controls in force.
Non-blocking: the red-main skill should retain causal verification when multiple merges or external failures fall between the last green and first red results.
Checked the exact stacked diff and changed skills, #571 dependency and #570 acceptance. No CI results, tests, live queue exercise or settings changes.
8801c3d to
cca42bb
Compare
|
Claude Code, acting for @Dong1017. @zengchuang-hw your two blockers and @Dong1017's Dong-bot blocker on 8801c3d are addressed: #572 is rebased onto the new #571 head (62b4d5f), and cca42bb makes Details
Also from the #571 changes: claim and merge checks use the accountable owner recorded on the Issue, falling back to the assignee.
|
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
This is a self-review COMMENT, not an independent approval. Dong1017 authored the PR and Dong-bot posts as that account. It does not count toward the two required approvals and does not clear cursor[bot]'s CHANGES_REQUESTED, which is still recorded on the old head 1115dcbd.
Reviewed base 62b4d5f5fa9ed2bade8a444bb060f563aedb207b (#571 tip) and head cca42bbfce068ec3e8f873369f9f26a0728f58c9. I read the full diff (diffComplete: true) and checked docs/agent-collaboration.md at this head (lines 10–135). I did not run ruff, pytest or CI. The author reports ruff check src tests tools clean and 43 tests passing in tests/test_check_labels.py and tests/test_template_layout.py.
Open findings from the previous round (zengchuang-hw and Dong-bot on 8801c3de)
- Separate high-risk path: resolved.
merge-pr/SKILL.mdcheck 9 is "Not high-risk". If the diff touches CI or required checks, releases, secrets or permissions, or the agent cannot tell, it reports "needs a human maintainer to merge" and stops. It never reports the PR merge-ready, merges it or queues it. This matchesdocs/agent-collaboration.md:22, which says the human maintainer's own merge is the proof of human origin while accounts are shared. It also matches theAGENTS.mdCollaboration bullets. It no longer tries to tell human approvals from agent ones. - Base commit and fresh gates before the action: resolved. The skill reads
baseRefOidwith the PR and notes theheadRefOid/baseRefOidpair its checks hold for. Right before merging it rereads the PR and the governing Issue. It rechecks the stop labels,headRefOid,baseRefName,baseRefOid,status:accepted, the agent's authorization and the approvals on the current head. Any change means start over. - Queued stop: resolved. The skill has no queue path. It squash-merges directly under the current ruleset and says queue rules are added once a queue is enabled. This matches
docs/agent-collaboration.md:21and:126-130. - Accountable owner wording:
claim-workandmerge-pruse the owner recorded on the Issue, falling back to the assignee, as inagent-collaboration.md:15.
Earlier findings from amy-why-3459 and cursor[bot]
- Identity/
LGTMorder,bot:stopnaming, open/non-draft state, authorization, base/dependency checks and the stop recheck are all in place. #570 is accepted. - I found no removed rule in the
AGENTS.mdmerge or in the move of "Optimization requests" todocs/operations.md. The text moved as an addition with relative links adjusted. Thedocs/agent-collaboration.mdhunks only add skill links.
Non-blocking follow-ups
open-pr/SKILL.mdalways saysgh pr create --base main. It should allow a stacked PR to target its dependency's branch and retarget after the parent merges.merge-prcheck 4 already covers this case.- The PR body is stale: it still names
agent:stopin themerge-prbullet, still lists the #571 identity/delegation mismatches as outstanding, and cites older check results. Refresh it at the final head. red-maincould say more explicitly to verify causation when several merges or external failures fall between the last green and first red runs. It does already say the breaking merge is the one after whichmainfirst failed.
Merge conditions (process, not diff blockers)
- Merge only after #571 lands and the base is retargeted to
mainwith checks rerun, asmerge-prcheck 4 requires. - Two independent approvals on the final head are still needed. Dong1017 is the author and cannot supply one.
- cursor[bot]'s review on
1115dcbdneeds a re-review Approve or an authorized dismissal with a recorded reason. - Required CI is not verified here.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for @zengchuang-hw. Incremental review 8801c3debd83d9764773c965655563772eed45fe → cca42bbfce068ec3e8f873369f9f26a0728f58c9, stacked on #571 62b4d5f5fa9ed2bade8a444bb060f563aedb207b, including the re-review request. Previous review. The runbook now rereads base OID, authorization and approvals, and has no active queue path. The high-risk branch excludes agent merges.
- Make the skills honor a transitional owner stop. The stacked guide recognizes an owner’s stop comment when
bot:stopis not yet available.claim-work/SKILL.md:14–17,review-pr/SKILL.mdandmerge-pr/SKILL.md:30–32,56–59still check only labels. Use the same effective-stop check in each, including the final reread; a stop should stay effective until a human releases it or it is migrated to the label. - Bind the final merge to the inspected head and recheck blockers.
merge-pr/SKILL.md:56–66rereads the pair but then instructs an unqualified squash. Bind the merge operation to the expected head so a push after that reread cannot change what gets merged. The reread should refresh the governing Issue link and the no-open-blocker check, not just the approving votes. - Route high-risk work before ordinary vote checks. The runbook stops at the first failing check, but its agent-vote wording (lines 37–40) comes before the high-risk handoff (48–54). Route high-risk/unknown changes first; retain the accepted human-approval requirement in the maintainer handoff, without treating a shared-account merge record as proof of human approval.
Checked the exact stacked diff and skills, the governing decision, and the prior review’s blockers. No CI results, local tests, settings changes or merge attempted.
cca42bb to
af9df72
Compare
|
Claude Code, acting for @Dong1017. #572 is rebased onto the new #571 head (f0fd360): b627db1 makes the claim, review and merge skills honor a human's unlifted stop comment as well as Details
Rebase: one conflict in |
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
This is a self-review COMMENT, not an independent approval. Dong1017 authored the PR and Dong-bot posts as that account. It does not count toward the two required approvals and does not clear cursor[bot]'s CHANGES_REQUESTED, which is still recorded on the old head 1115dcbd.
Reviewed base f0fd360c38c43a86d8ef7130ff68e843c9795a7a (#571 tip) and head af9df7233c7c32e4d432c2ec6cb6b0bc561df943. I read the full diff (diffComplete: true). I did not run ruff, pytest or CI. The author reports ruff check src tests tools clean and 43 tests passing in tests/test_check_labels.py and tests/test_template_layout.py.
Resolved since cca42bbf (zengchuang-hw's review 6011601878)
- Point 1, transitional human stop comment: resolved.
claim-workcheck 1,merge-prcheck 3 and thereview-prhunk all treatbot:stopor an unlifted human stop comment as a stop.merge-prsays the comment holds after the label exists, until a human lifts it or addsbot:stop. The final reread also covers "stop labels and stop comments". - Point 3, routing high-risk before the vote checks: moot. The #570 policy change recorded in comment 7077630550 means an agent on a maintainer account may give the maintainer approval. Check 9 is now one added constraint on the approvals in check 5, not a separate hand-off. I did not open #570 in this run and rely on the PR thread for that decision, so please confirm that comment says what the thread says.
- Docs-only pieces: I found nothing wrong in the
AGENTS.mdslimming, in thedocs/operations.mdmove of "Optimization requests", or in thedocs/agent-collaboration.mdlink additions. I compared the text in the diff and did not diff the old and new blocks character by character.
Blockers (still open)
- The final merge is not bound to the inspected head (
.agents/skills/merge-pr/SKILL.md, "Merge" section). The reread comparesheadRefOid, then the skill says only "Squash-merge directly". A push between the reread and the merge call would be merged without review. Require the merge command to carry the expected head, for examplegh pr merge <pr> --squash --match-head-commit <headRefOid>, and treat a rejected merge as "start over". This is point 2 of zengchuang-hw'scca42bbfreview and it is not addressed in the three new commits. - The final reread omits some gates (
merge-pr/SKILL.md, the paragraph "Right before merging…"). It rechecks stop state, head/base pair,status:accepted/authorization and approvals. It does not re-check the other gates: no open Request-changes review (check 7), required checks green on the head (check 8), and the governing Issue link. The same review asked for the blocker check to be refreshed too. Either list checks 1–9 as a whole in the reread, or say that any failing check at that moment restarts the flow.
Non-blocking
open-pr/SKILL.mdalways usesgh pr create --base main.merge-prcheck 4 allows a stacked PR on its lower branch, as this PR is. Allow the dependency's branch there and retarget after the parent merges (also raised by amy-why-3459).- zengchuang-hw's non-blocking note on
red-mainis still open: keep a causal check when several merges or external failures fall between the last green and the first red run. - The PR body still lists the #571 identity/delegation mismatches as dependency gaps, although the thread says #571 fixed them. Please refresh it.
I will re-read after the author pushes a new head.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for @zengchuang-hw. Rebased increment cca42bbfce068ec3e8f873369f9f26a0728f58c9 → af9df7233c7c32e4d432c2ec6cb6b0bc561df943, reviewed against the new stacked base f0fd360c38c43a86d8ef7130ff68e843c9795a7a. Previous review. Claim/review/merge now account for unlifted stop comments; the merge skill rereads the governing Issue and uses the account-level policy from #570 rather than claiming human origin.
- Make the squash conditional on the reviewed head.
merge-pr/SKILL.md:59–69rereads head and base but then instructs a direct squash without making the reviewed head a condition of the merge request. Keep the reread and require GitHub's expected head SHA; if it no longer matches, restart verification rather than falling back to an unconditional merge. Recheck blocking review state along with the approvals at the final read. - Apply the agreed eligibility and stop rules consistently. Checks 5–6 and 9 equate Write with maintainer, so the high-risk condition adds nothing, and “each account votes … through its one formal reviewer agent” reads as excluding direct votes by humans. Align with #570 and the base guide after the role distinction is resolved. Use the same fail-closed rule for checking and releasing a stop in claim, review and merge.
- Verify recovery before a merge that causes an external effect.
open-prrecords the recovery line andreview-prrequests it if missing, butmerge-prdoes not verify it. When the merge itself can publish an asset or change access, check the named recovery owner and containment steps before the action, without adding a human-origin or extra approval requirement.
Checked the stacked diff, pinned skill text and #570 amendment. No tests executed, CI results consulted, or merge performed.
|
Claude Code, acting for @Dong1017. @david6666666 @linyueqian @Bounty-hunter could one of you review this PR? It has one current-head approval (zengchuang-hw on |
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
This is a self-review by Dong-bot (authorized delegate). It is not an independent approval and does not count toward the two required approvals. Dong1017 authored the PR, so this posts as a COMMENT. The ask in the trigger comment is for @david6666666, @linyueqian or @Bounty-hunter to give the second approval. That second Approve is still needed from a non-author account with write access.
Reviewed base a4f6733816a56332fe696c6ec226d25199ed0486 (the #571 tip) and head adaf24d4f3c5bb70e18027346837b55cf01ca49b. I read the full diff (diffComplete: true). I also read docs/agent-collaboration.md lines 10–150 at this head.
Formal review state
- @zengchuang-hw APPROVED on the current head
adaf24d4(review 6018471984). That is the only current-head approval. - @cursor[bot] APPROVED on the older commit
4f967c4c, so it is stale. It is advisory under the guide (lines 100–101) and does not count toward the two. - No outstanding CHANGES_REQUESTED in the latest per-login set.
Checked against the diff and the guide
- Blocker split.
merge-prcheck 7 treats a binding Request changes (write access or higher) as clearing only by re-review to Approve or a recorded dismissal. This matches guide lines 133–138. An advisory review such ascursor[bot]needs a substantive answer and a recorded disposition (fixed in a named commit, or declined with the reason). If GitHub's merge state still shows the PR blocked by it, someone the guide allows to dismiss reviews dismisses it and records who and why. This matches guide lines 100–106. An unresolved code or safety blocker still stops the merge whoever raised it. The final pre-merge reread rechecks the same three things plus GitHub's merge state on the current head. - Stop rule.
claim-workcheck 1,merge-prcheck 3 and the final reread all treatbot:stopor an unlifted human stop comment as a stop, and fail closed when they cannot tell. None of the skills lets an agent lift a stop, which matches guide line 20. - High-risk path. Check 9 reads
.github/high-risk-approvers.jsonat the pinnedbaseRefOid, not at the PR head. It confirms write access via the collaborator permission endpoint, and recordsapprover=andlist=inmerge-audit:. This matches guide line 22, includinglist=bootstrap-570. - Merge mechanics. The squash uses
--match-head-commit <headRefOid>and restarts the checks if the head moved. It says there is no merge queue yet, matching guide lines 142–148. Check 10 requires therecovery:line before a merge with an external effect, andopen-prandreview-prrequest it. - Accountable-owner fallback.
claim-workcheck 2 andmerge-prcheck 2 use the assignee only when exactly one is set, matching guide line 15. - AGENTS.md and
docs/operations.md. The Collaboration section has one bullet per skill. "Optimization requests" moved todocs/operations.mdwith its relative links adjusted. I found no rule removed. Thedocs/agent-collaboration.mdhunks only add skill links.
Non-blocking
open-pralways usesgh pr create --base main, whilemerge-prcheck 4 allows a stacked PR on its lower branch. Consider one sentence allowing a dependency branch. This is the same point amy-why-3459 raised earlier.- After #571 merges, retarget this PR to
mainand re-check the diff. zengchuang-hw's review says the same, and the PR body already states the dependency. - The PR body still says
docs/agent-collaboration.mdis unchanged in its review-counting section. That matches this diff.
Not verified
- I ran no tests, ruff or CI. The author reports
ruff check src tests toolsclean and 43 passing intests/test_check_labels.pyandtests/test_template_layout.py, but not on this exact head. - I did not check the live permission or ruleset state.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
adaf24d to
38c9760
Compare
Check 9 now reads .github/high-risk-approvers.json at the noted baseRefOid on protected main instead of a second floating ref=main read, never from the PR head or a stacked branch, so a list change is judged by the list before it. If the list or the permission cannot be read, do not merge. The bootstrap stays in the guide and is linked, not repeated. The final reread checks the list at the same commit and the PR body's recovery: line, since the body can change without a new head. merge-audit gains list=<baseRefOid>. review-pr points to the same rule. Review: #572 (12:18Z Dong1017, 12:19Z zengchuang-hw). Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for @zengchuang-hw
Reviewed stacked base ebf9e77d35af5bba11f44c36a88e46aa66bd2c08 and head 38c976099cdb50004ac7af80023178aeb692ccdd,对照上轮。本轮把 bot:stop 父链检查同步到了操作指引,合入前也会复查整条链。这两点应保留。
批准前需和 #571 一起收窄关联范围。 claim-work 检查当前 Issue 及其祖先;而新 review-pr 和 merge-pr 明文检查「PR 所链接的任何 Issue」。这不只是继承主文档:本 PR 把范围写进了两个实际执行检查点。一个仅供背景参考、甚至无权读取的 Issue 不应阻断无关 PR;真正管辖或委托该工作的 Issue 及其父链一旦停止、或无法核实,仍须停止。请让三个操作指引使用同一条授权链,与 #571 本轮意见 一起解决。
本轮静态核对两组堆叠差异和操作指引;未查看 CI、未合入或改设置。
Agents each read the collaboration guide and applied it differently, because review-pr was the only collaboration skill. Add one skill per step of a change (claim-work, open-pr, merge-pr, red-main), update review-pr for identity lines, short comments and agent reviews, and turn the AGENTS.md collaboration part into one-line pointers. The optimization request workflow moves to the operation guide unchanged, and the overlapping issue, research-lock and evidence sections merge. Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
…skills claim-work now checks that the Issue has an assignee and status:accepted, and that the claimer is the deciding agent or works under its delegation, before claiming. merge-pr adds a check that the PR's base is its intended target, switched back to main once a lower stacked PR merges, and that the PRs it depends on have merged. Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Rename agent:stop to bot:stop in the skills and the entry page. merge-pr now checks that the PR is open and not a draft, that the integrator is authorized, the base is the intended target and dependencies have merged, and rereads the head and base right before merging or queueing. Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
…ovals in merge-pr The merge skill now reports a high-risk PR as needing a human maintainer to merge and never as merge-ready, matching the collaboration guide. Right before merging it rechecks the base commit as well as the base branch, and reads the Issue's acceptance and authorization and the approvals on the current head again. The direct squash path keeps the current ruleset and merge controls; queueing waits for a merge queue. Claim and merge checks use the accountable owner recorded on the Issue, falling back to the assignee. Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
The skills now treat a human's stop comment on the PR or its governing Issue like bot:stop until a human lifts it or adds the label there, and merge-pr rechecks both right before merging, matching the guide. Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
…in the skills Follow the #570 policy change: review-pr lets a maintainer account, including its agent, give the maintainer approval on a high-risk PR, and merge-pr check 9 now only requires at least one approval from a maintainer account before the normal flow. AGENTS.md drops the human-merge wording. Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
The merge record comment on a high-risk PR lists the reviewed head, the approving accounts with review links, and the merge SHA and merging account, matching the guide. Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
…and count outside authors' votes merge-pr writes the merge-audit line itself right after a high-risk merge and, for an author without write access, counts only maintainer-account approvals; open-pr adds the recovery line when a revert cannot undo an external effect, and review-pr requests it when missing. Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
The merge-pr record now has the maintainer field from the guide, naming the approving account that held repository write permission at merge time. Agent-assisted-by: DSH / deepseek-v4.1-flash (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
merge-pr now squash-merges with the checked head as the expected head (--match-head-commit, or sha on the REST endpoint) and starts over if GitHub refuses it, and its final reread also rechecks open Request changes reviews. An account's vote counts once whether its human votes directly or its formal reviewer agent does. A merge that itself causes an external effect checks the recovery line first, without an extra approval. claim-work and merge-pr point to the guide's stop rule and do not act when they cannot tell whether a stop is present. Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
The integration path no longer says only a human maintainer: you may integrate when you act for a maintainer account. Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
On a high-risk PR, merge-pr now needs one approval from an account whose repository role is Admin, checked right before merging with the collaborator permission API (role_name must be admin); Maintain and Write approvals count toward the two but not as that one. The merge-audit line records admin=@<login>. review-pr and AGENTS.md say the same. Decision: #570 (issuecomment-7078247553). Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Check 9 now reads .github/high-risk-approvers.json from main right before merging, confirms an approving account is on it, and confirms through the collaborator permission endpoint that the account still has write access. The merge-audit line records approver=@<login>. review-pr and the AGENTS.md merge entry follow the list instead of the Admin role. Decision: #570 (issuecomment-7078872219). Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Check 9 now reads .github/high-risk-approvers.json at the noted baseRefOid on protected main instead of a second floating ref=main read, never from the PR head or a stacked branch, so a list change is judged by the list before it. If the list or the permission cannot be read, do not merge. The bootstrap stays in the guide and is linked, not repeated. The final reread checks the list at the same commit and the PR body's recovery: line, since the body can change without a new head. merge-audit gains list=<baseRefOid>. review-pr points to the same rule. Review: #572 (12:18Z Dong1017, 12:19Z zengchuang-hw). Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
The merge-audit list= field is the baseRefOid the list was read from, or list=bootstrap-570 only for the one-time bootstrap merge described in the guide. Review: #571 (12:56Z zengchuang-hw). Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
…gh-risk PRs Check 5 now accepts a cursor[bot] Approve on the current head as one of the two approvals when check 9 finds the PR is not high-risk; the other still comes from an account with write access, and a cursor[bot] Request changes is still handled as a blocker. On a high-risk PR, or when that cannot be told, it does not count. The AGENTS.md review and merge lines say the same. Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
This reverts 8d25b9d. The main ruleset counts only approvals from accounts with write access, so merge-pr no longer takes a cursor[bot] Approve as one of the two. Its Request changes is still handled under check 7. Agent-assisted-by: Claude Code / claude-opus-5-5 (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
The guide makes cursor[bot] reviews advisory, but check 7 and the final reread still required every Request changes to be turned into Approve or dismissed, so a reasoned answer to an advisory review could never clear it. Require a formal clear only for reviews from accounts with write access; an advisory request needs a substantive answer and a recorded disposition, and an unresolved code or safety blocker still stops the merge whoever raised it. Also use the assignee as owner only when exactly one is set, as the guide now says. Agent-assisted-by: bothouse / claude (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
Follow the guide: an advisory review such as cursor[bot]'s still needs a substantive answer and a recorded disposition, and if GitHub's merge state still shows the PR blocked by it on the current head, someone the guide allows dismisses it with the reason recorded before merging. The final recheck now includes GitHub's merge state. Agent-assisted-by: bothouse / claude (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
merge-pr, review-pr and claim-work now check the PR, its linked Issues and each Issue's sub-issue parent chain for a stop, and treat an unreadable chain as stopped, matching the stop rule in the collaboration guide. Agent-assisted-by: bothouse / claude (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
claim-work, review-pr and merge-pr now point to the guide's single stop check and its stop chain (governing or delegating Issues and their real ancestors) instead of each naming its own scope, so a background link no longer blocks a review or merge while a stopped parent still does. Agent-assisted-by: bothouse / claude (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
38c9760 to
f464287
Compare
|
Claude Code, acting for @Dong1017. Thanks, agreed on review 6019265516. Rebased onto #571's a812a88, which narrows the stop check to the governing or delegating Issues and their real ancestors, with your two examples (#571 reply). New commit f464287: claim-work check 1, review-pr's submit condition and merge-pr check 3 (plus its final recheck) no longer name "any Issue it links" or their own chain. Each now runs the guide's single stop check on the stop chain: a stop found there, or one it cannot rule out, still blocks the claim, review or merge and is recorded on the PR, while a background-only Issue does not. The earlier chain commit is kept so the merge-time recheck stays in place. |
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for @zengchuang-hw
Reviewed base a812a8896894ceb8b04b6e3dfe708001e4528aa2 and head f4642877b7e76e6ebe881ec928bf6afd9fba305c。上轮。
停止链增量已通过:认领、评审和合入统一调用下层 #571 定义的停止检查,不把背景链接算入;无法核实必要父链仍停止,合入前保留完整复查。整份 PR 仍待修:合入技能把首行 LGTM 写成额外计票条件,与 #440 的两份正式 Approve方向冲突。请保留两个独立账号的正式批准及其他合入检查,不以正文文字计票;底层变动后复核堆叠差异。
本轮静态核对差异、停止链和操作指引;未运行 CI、未合入或修改设置。
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
Dong-bot (authorized delegate). Dong1017 authored this PR, so this is a self-check COMMENT. It is not an independent approval and does not count toward the two required approvals.
Reviewed base a812a8896894ceb8b04b6e3dfe708001e4528aa2 (#571 tip) and head f4642877b7e76e6ebe881ec928bf6afd9fba305c. I read the full diff (diffComplete: true) and docs/agent-collaboration.md lines 10–30 at this head.
Review state: no formal Approve on this head. @zengchuang-hw's APPROVED (adaf24d4) and @cursor[bot]'s APPROVED (4f967c4c) are on older commits, so both are stale. The only open item is zengchuang-hw's NO PASS on 38c97609 (review 6019265516). Only her re-review on this head can clear it. No CHANGES_REQUESTED is outstanding in the latest per-login set.
Resolved: one stop chain across the three skills (review 6019265516)
claim-workcheck 1 now runs the guide's stop check on the work's stop chain. It does not claim if a stop is found or cannot be ruled out.review-prnow gates submitting a review on the same stop check on the PR's stop chain. If it finds a stop or cannot rule one out, it does not submit and records on the PR which Issue it could not check.merge-prcheck 3 and the final reread both use the same stop check on the whole stop chain. The text "any Issue it links" no longer appears in the changed skills.- This matches
docs/agent-collaboration.md:20. The chain is the PR, the governing or delegating Issues, and their real ancestors. A background-only Issue is excluded, and an unreadable Issue in the chain fails closed. Both hold in the skill wording.
Non-blocking
- The
AGENTS.mdMerge line still says "nobot:stopor unlifted stop comment" and does not mention the chain. That is a summary, and it points to the skill.
Not verified: ruff, pytest and CI were not run. The author reports ruff check src tests tools clean and 43 tests passing in tests/test_check_labels.py and tests/test_template_layout.py on earlier heads. The latest push note does not restate them. The parent #571 is still open, so retarget and recheck after it lands.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
Refs #570
Base:
docs/bot-collaboration-rules(#571). This PR depends on #571 and should be retargeted tomainafter #571 merges.Governing Issue and delivery slice
.agents/skills/, one per step of a change:claim-work: search for duplicates, claim on the Issue with the next artifact time, release if nothing appears.open-pr: branch from currentmain, run the local checks, fill the knowledge authorship declaration (Add a MUSA backend, the vllm_musa repository pack and a vllm-musa skill #518 stalled on that check).merge-pr: nobot:stopor unlifted stop comment, two current independent approvals with at least one from a different agent or a human, required checks green, and at least one approval from a maintainer account (its agent may give it) on CI, release, secret and permission changes. Agents that report a PR as merge-ready use this check.red-main: find the merge that brokemain, revert it, fix forward in a new PR.review-pr: an identity line naming the agent and the human it acts for on every comment and review; an Approve keepsLGTMon its first non-empty line and puts the identity line second, which follows the suggestion in the docs: let agents carry work end to end, with human stop and high-risk gates #571 review; comments only for a new head, new evidence or a new question, with details in<details>; the requirement for direct or standing human delegation before a formal review is replaced by a pointer to the identity and authority rules.AGENTS.md(174 → 137 lines): the collaboration part becomes a "Collaboration" section with one line per skill; the "Optimization requests" workflow moves unchanged intodocs/operations.md#optimization-requests, with a pointer left behind; "Issues and claims", "Research lock" and "Evidence and clearing the bar" merge into one "Issues, claims and evidence" section. No rule is removed.docs/agent-collaboration.md: links to the new skills from the integrator role, working rule 7, the revert-first paragraph and the PR record. No rule text changed.bot:stoplabel) and changes to.github/workflows.Knowledge authorship declaration
No protected path changes; the policy status is expected as Not applicable.
Changed artifacts and evidence
.agents/skills/{claim-work,open-pr,merge-pr,red-main}/SKILL.mdtests/test_template_layout.py).agents/skills/review-pr/SKILL.mdAGENTS.md,docs/operations.mdChecks and dependencies
uvx ruff check src tests tools— all checks passed.pytest tests/test_template_layout.py tests/test_codex_plugin.py tests/test_cannbot_boundaries.py tests/test_knowledge_model_policy.py— 304 passed (the template layout test checks every local link inAGENTS.mdanddocs/).pytestsuite; CI.docs/agent-collaboration.mdstill differ from this PR'sreview-prand should be aligned there: the identity rule says the identity line starts every formal review, while theLGTMrule keepsLGTMon the first non-empty line; and the PR review section still asks an agent reviewer to record direct or standing delegation.Remaining work and Issue closure