AGENTS.md: amadan branch merge has -squash; use it instead of squashing the branch by hand
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+7
−8
AGENTS.md+7 −8
CI passed — run details
diff --git a/AGENTS.md b/AGENTS.md| index a05cc3c01..0bb7326b0 100644 |
| --- a/AGENTS.md |
| +++ b/AGENTS.md |
| @@ -113,16 +113,15 @@ The steps, for agents and people alike: |
| amadan branch describe carlos/platform <branch> -body - |
| -3. **Squash it to one commit** before landing, with a message that says |
| - what the change is and why. `amadan branch merge` has no squash mode, |
| - so this is done on the branch: `main` then gets the hub's merge commit |
| - and exactly one change commit under it, not the branch's iterations. |
| - The iterations are not lost: the description and the reviews record |
| - them. Squashing moves the tip, so CI runs again on it. |
| -4. **Land it once CI is green on that tip:** |
| +3. **Land it as one commit** with `amadan branch merge -squash` (Paul, |
| + 2026-09-22: no branch histories on `main`). The hub squashes, so |
| + don't squash or force-push the branch yourself. The message says what |
| + the change is and why. The iterations are not lost: the branch page |
| + keeps its commits, description and reviews after the merge. |
| +4. **Land it once CI is green on the tip:** |
| amadan ci status carlos/platform -branch <branch> |
| - amadan branch merge carlos/platform <branch> -expect <tip> -message "..." |
| + amadan branch merge carlos/platform <branch> -squash -expect <full 40-char tip> -message "..." |
| The merge refuses a branch whose CI is not green (exit 2) and, with |
| `-expect`, one that moved after you checked it. That ordering is the |