diff options
Diffstat (limited to '.agent/coding_standards.md')
| -rw-r--r-- | .agent/coding_standards.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.agent/coding_standards.md b/.agent/coding_standards.md index 3d43e88..e95c92d 100644 --- a/.agent/coding_standards.md +++ b/.agent/coding_standards.md @@ -3,10 +3,12 @@ Technical standards for the **Nav** (Sailing Companion) project. ## 1. Android (Kotlin) +- **Build Target: Android 16 (API 36).** All fixes and feature work must be correct for API 36. Do not add workarounds or intent-filters targeting older Android versions. - **Architecture:** MVVM with ViewBinding/DataBinding. - **UI:** Glanceable, high-contrast, cockpit-friendly design. - **Persistence:** Room for local database; offline-first approach. - **Async:** Kotlin Coroutines for non-blocking UI. +- **Track Storage:** GPX files go to `Documents/Nav/` via MediaStore (API 29+). They must survive app uninstall — `getExternalFilesDir()` is never acceptable. ## 2. Boating Domain - **Safety First:** MOB and Anchor Alarm features are critical. |
