From 044862110e0eb00b811675cba39c74c5729534fa Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Fri, 2 Oct 2026 11:21:19 +0800 Subject: [PATCH] docs(agents): clean up after a merged PR --- agents/AGENTS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/agents/AGENTS.md b/agents/AGENTS.md index 3a8ac1b9..b2edba42 100644 --- a/agents/AGENTS.md +++ b/agents/AGENTS.md @@ -103,6 +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. ### Git commits