Skip to content

Commit e90f129

Browse files
malysclaude
andcommitted
docs: the handoff and the check task say what they do
AGENTS.md gains the continuation handoff so a fresh session inherits the real baseline instead of re-deriving it, README drops a paragraph that restated its own previous sentence, and `mise run check` runs the gates itself rather than depending on three tasks whose ordering it could not guarantee. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent ed1423c commit e90f129

3 files changed

Lines changed: 26 additions & 5 deletions

File tree

‎AGENTS.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,19 @@ the complementary `emulator-car` (Automotive API 33) and `emulator-screen` (API
5050
1920×720) profiles; `mise run run` installs and launches the debug APK. JDK 17 and Android
5151
SDK 36 are used for compilation; the deployed minimum remains API 28. Emulator checks do
5252
not replace a vehicle pass on each supported firmware generation.
53+
54+
## Continuation handoff
55+
56+
- The implemented baseline is the passive dashboard, nullable shared energy snapshot,
57+
parked-only process-local trip recording, bounded atomic trip history, crash diagnostics,
58+
stable/unstable variants, CI gates and the two emulator profiles documented in `README.md`.
59+
- Arrival-SOC prediction, charger routing, background trip recording and energy attribution
60+
are not implemented. Treat each as a separately scoped milestone with explicit evidence
61+
for every input; do not fill missing vehicle signals with inferred measurements.
62+
- Start app work by checking `git status` and the EVHardware submodule branch. Any shared
63+
telemetry model, property, unit, fallback or integration change starts in the standalone
64+
`../EVHardware` repository, is tested and pushed there, then reaches this app through a
65+
submodule pointer update. Never develop library changes inside the nested checkout.
66+
- Before handing off a change, run `mise run check` and `mise run build`. For UI/lifecycle
67+
work, also run the API 28 screen emulator at 1920×720; for vehicle interfaces, record the
68+
remaining on-vehicle validation requirement rather than claiming emulator coverage.

‎README.md‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,8 @@ Recording currently samples only while the dashboard is visible and survives act
6767
recreation only while the process remains alive. Persistent background recording is a later,
6868
separately reviewed milestone. A trip's reported duration is therefore the time actually
6969
covered by usable samples, not wall clock: hiding the dashboard for ten minutes adds nothing
70-
to the duration, the distance or the energy, so the averages divide comparable numbers. Because of that, a trip reports the time its samples actually
71-
cover, not wall clock: hide the dashboard for ten minutes and the recorded time does not
72-
move, so the average consumption stays the quotient of a distance and an energy that were
73-
measured over the same interval.
70+
to the duration, distance or energy, so consumption averages compare values measured over
71+
the same interval.
7472

7573
## Install
7674

‎mise.toml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,14 @@ run = "bash .github/security/check-permissions.sh"
6161

6262
[tasks.check]
6363
description = "What CI runs: permissions + lint + tests"
64-
depends = ["permissions", "lint", "test"]
64+
run = '''
65+
set -e
66+
bash .github/security/check-permissions.sh
67+
./gradlew -Dorg.gradle.java.home=$JAVA_HOME \
68+
:evhardware:testDebugUnitTest \
69+
testStableDebugUnitTest testUnstableDebugUnitTest \
70+
lintStableDebug lintUnstableDebug
71+
'''
6572

6673
[tasks.release]
6774
description = "Build the minified stable release APK"

0 commit comments

Comments
 (0)