From 1d43fd2802ed3efda032561c986b3210d2b67ec5 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Fri, 2 Oct 2026 11:24:18 +0800 Subject: [PATCH] docs(agents): label the post-merge cleanup rule --- agents/AGENTS.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agents/AGENTS.md b/agents/AGENTS.md index b2edba42..95c33915 100644 --- a/agents/AGENTS.md +++ b/agents/AGENTS.md @@ -103,9 +103,9 @@ For an impactful change, follow these steps in order, scaled to its risk: - Documentation should be self-contained for its reader and omit irrelevant history. - Verify in proportion to risk. Agents MUST NOT claim a check passed without running it, or make it pass by weakening what it verifies (e.g. mocking the code under test). -- When a PR the agent opened is merged, finish up as part of that task: delete the local branch and - worktrees it created, and fast-forward the default branch if the checkout is free. Touch nothing - it did not create; skip and report instead of forcing. +- Cleanup: when a PR the agent opened is merged, finish up as part of that task: delete the local + branch and worktrees it created and fast-forward the default branch if the checkout is free. Touch + nothing it did not create; skip and report instead of forcing. ### Git commits