From c0ad3c556d8a41fb934c34fd158e1e54e899f09b Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 9 Apr 2026 09:39:36 +0000 Subject: 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 --- .agent/preferences.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.agent/preferences.md') 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. -- cgit v1.2.3