Skip to content

Commit f1adae4

Browse files
committed
Make review lesson capture a merge gate
1 parent 15e926d commit f1adae4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎AGENTS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ Every reproduced race requires a failing-before and passing-after regression. As
4646
- Before requesting automated review, report the current head, CI state, mergeability, unresolved threads, and deferred follow-up issues.
4747
- Reproduce summary-only review concerns or turn them into a concrete follow-up issue. Do not repeatedly patch vague wording without a failure case.
4848
- For each review round, record what changed, what was declined and why, and the regression evidence. Re-request review until a round returns no new findings.
49-
- Before closing or merging a PR, extract the highest-value, broadly reusable lessons from its review and add concise rules to this file. Omit one-off implementation details and rules already covered here.
49+
- Treat review-lesson extraction as a merge gate. Before invoking merge, classify every review finding in the PR body as: covered by an existing rule (cite it), captured by a new rule in this branch (cite it), or one-off (record why). Do not merge until this audit is complete and every required `AGENTS.md` update is included in the reviewed head. Omit rules that merely repeat existing guidance.

0 commit comments

Comments
 (0)