From 92f786a0b302f797d5172dccbfbad488e3e13b8b Mon Sep 17 00:00:00 2001 From: Sweets Sweetman Date: Fri, 3 Jul 2026 11:14:16 -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 | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index be9f4a453..57746da65 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -10,26 +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`**: - -```bash -git checkout test && git pull origin test && git fetch origin main && git merge origin/main && git push origin test -``` - -Then checkout main, pull latest, and create your feature branch from there: +Branch from the latest `main`: ```bash git checkout main && git pull origin main && git checkout -b ``` -The sync step is the **only** time you should push directly to `test`. - ## Build Commands ```bash