From 986c66270026eef060de8de3c2da62ac5c43e029 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 15 May 2026 22:16:31 +0000 Subject: docs(agent): record Android 16 build target and track storage constraints https://claude.ai/code/session_01DNjbYxiC1cco83dArNGW3G --- .agent/coding_standards.md | 2 ++ 1 file changed, 2 insertions(+) (limited to '.agent/coding_standards.md') 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. -- cgit v1.2.3