diff options
| author | Claude <noreply@anthropic.com> | 2026-04-09 09:39:36 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-04-09 09:39:36 +0000 |
| commit | c0ad3c556d8a41fb934c34fd158e1e54e899f09b (patch) | |
| tree | b834f55515a2b51858f02ceaa808300275801820 | |
| parent | e109271f563327e461191c7c2988243c75cd58ab (diff) | |
docs(agent): lock in main as canonical default branch
Document that default branch is always main, CI triggers on main,
and master must never be used. Prevents recurrence of the
master/main confusion that broke Firebase distribution.
https://claude.ai/code/session_01HXPjBsogsJVRwCiekDGkJX
| -rw-r--r-- | .agent/preferences.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.agent/preferences.md b/.agent/preferences.md index 7ca21d6..6d1c4bb 100644 --- a/.agent/preferences.md +++ b/.agent/preferences.md @@ -5,3 +5,10 @@ Living record of user preferences for the Nav project. ## 1. Interaction & Workflow - **Safety First:** Cautious and deliberate action. - **Checkpoint Model:** Research -> Strategy -> GO. + +## 2. Repository Conventions — NON-NEGOTIABLE +- **Default branch is `main`.** Always has been, always will be. +- When the user says "main", "master", or "the default branch" they all mean `main`. +- **CI/CD (`.github/workflows/android.yml`) triggers on `main`.** Firebase App Distribution only fires on pushes to `main`. Never change the trigger branch without explicit instruction. +- Before any merge or push, verify: `git branch --show-current` is `main` and `git remote show origin | grep "HEAD branch"` shows `main`. +- Never create or develop on `master`. If `master` ever appears, rename it to `main` immediately. |
