From e53a3109774c2ca6e90c4400400bdbc0f3cdc32c Mon Sep 17 00:00:00 2001 From: Christopher Tso Date: Sun, 21 Jun 2026 09:55:22 +0200 Subject: [PATCH] docs(agents): require PR-based merges --- .agents/workflow.md | 5 ++++- AGENTS.md | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.agents/workflow.md b/.agents/workflow.md index 98f7ba48b..9f95f7f16 100644 --- a/.agents/workflow.md +++ b/.agents/workflow.md @@ -77,6 +77,7 @@ Issue and tracker workflow: - Mark tracker items complete only after the scoped work is complete, verified, merged to `main` through a PR, and documented with verification evidence. - If the work intentionally remains on an ongoing branch, open a draft PR and record the branch name, PR URL, worktree path, current head commit, and remaining scope in the parent tracker item. Keep the child item open or in progress until the PR is merged or explicitly superseded. - If a commit is a self-contained unit of completed, verified work, push it directly to its assigned remote branch instead of leaving it local for handoff. This does not override the rule against pushing directly to `main`. +- Do not merge feature, worker, or integration branches into local `main` to stage completion. If multiple branches need integration, create an integration branch, push it, and review it through a PR. GitHub issue flow: @@ -97,7 +98,7 @@ gh pr create --draft --title "(scope): description" --body "Closes #(scope): description" --body "Closes #