summaryrefslogtreecommitdiff
path: root/.agent/preferences.md
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-05-26 08:07:50 +0000
committerClaude <noreply@anthropic.com>2026-05-26 08:07:50 +0000
commitf564e06338f846930300c366774efb97c042a5fb (patch)
tree369ec57c831fb3b3de7220f4ba06fb3cb6d32440 /.agent/preferences.md
parentbbfcb667d9510e604676ac92cecc69f9bc39e440 (diff)
parent3673ed0ef79d776c6da3bfa0db9de8b08326fd32 (diff)
Merge claude/whats-next-0XCO3: fix ANR, tack detection, empty-state flash
Diffstat (limited to '.agent/preferences.md')
-rw-r--r--.agent/preferences.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/.agent/preferences.md b/.agent/preferences.md
index c0c76da..9ae92fa 100644
--- a/.agent/preferences.md
+++ b/.agent/preferences.md
@@ -12,7 +12,12 @@ Living record of user preferences for the Nav project.
- **Pragmatic about implementation quality.** One-off solutions and temporary hacks are acceptable — just flag them clearly and ensure they get cleaned up in a follow-up.
- **Debug logging:** The in-app debug log (`NavLogger`) is the primary debugging tool. ADB (`adb logcat`) is occasionally available but should not be assumed. Log anything useful to `NavLogger`, not just to Android's `Log`.
-## 2. Repository Conventions — NON-NEGOTIABLE
+## 2. Merge Policy — NON-NEGOTIABLE
+- **Merge to `main` after every complete unit of work.** Nothing counts until it lands on `main` — that's when the user can test it. Don't batch up multiple tasks across a session and merge at the end. Each self-contained piece (a feature, a bug fix, a redesign) merges to `main` as soon as it's working and tested.
+- Feature branches are short-lived and merge-forward aggressively. Push the branch, then immediately merge it to `main` and push `main`.
+- **Merge immediately when a task is done — not at session end, not during cleanup.** "Prep for new session" should never be the moment work first lands on main.
+
+## 3. 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.