From c70ed4b06711948f904f3d8bec4ec4bb972c23e2 Mon Sep 17 00:00:00 2001 From: Sweets Sweetman Date: Fri, 3 Jul 2026 11:14:11 -0500 Subject: [PATCH] docs: PRs target main; retire the test-branch PR flow All PRs now open against main. The test branch is no longer a PR target and the sync-test-with-main task-start ritual is removed. Context: recoupable/chat#1841 process cleanup. Co-Authored-By: Claude Fable 5 --- AGENTS.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index e7190b8ae..cf8275c07 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -10,22 +10,18 @@ This file provides guidance to coding agents like Claude Code (claude.ai/code) a 2. Push commits to the current feature branch 3. **NEVER push directly to `main` or `test` branches** - always use feature branches and PRs 4. Before pushing, verify the current branch is not `main` or `test` -5. **Open PRs against the `test` branch**, not `main` -6. After pushing, check if a PR exists for the branch. If not, create one with `gh pr create --base test` +5. **Open PRs against `main`** (the `test` branch is retired as a PR target; never target it) +6. After pushing, check if a PR exists for the branch. If not, create one with `gh pr create --base main` 7. **After creating a PR, always wait for explicit user approval before merging.** Never merge PRs autonomously. ### Starting a New Task -When starting a new task, **first sync the `test` branch with `main`**: +Branch from the latest `main`: ```bash -git checkout test && git pull origin test && git fetch origin main && git merge origin/main && git push origin test +git checkout main && git pull origin main && git checkout -b ``` -Then checkout main, pull latest, and create your feature branch from there. - -This is the **only** time you should push directly to `test`. - ## Build Commands ```bash