This project has dedicated specifications to keep implementation work aligned and to prevent agent drift.
Before changing code, read the documentation that matches the touched area:
Documentation/API Reference/README.md
Entry point for entity, operation, invariant, and test expectations.Documentation/API Reference/UI_ALIGNMENT.md
UI-to-spec mapping and known alignment gaps.Documentation/Project Structure and Naming.md
Folder, naming, and view-organization rules.Documentation/Research Resources/README.md
Vendor manuals, protocol notes, and reverse-engineering material.MUST items in Documentation/API Reference/ as required behavior.SHOULD items as expected behavior; regressions need a reason and documentation update.Documentation/API Reference/Meter.md, BluetoothDiscovery.md, Operations.mdChargedDevice.md, ChargingMonitoring.md, ChargeCurveIsolation.md, ChargeCurveStorage.mdCapacityMeasurement.md, ConsumptionMeasurement.md, IdleConsumptionMeasurement.mdPowerbank.mdCloudKitSync.md, Charge Session Integrity and Conflict Healing.mdUI_ALIGNMENT.md and the relevant operation/entity page