diet-guard/docs
Krzysztof kuhy Rudnicki d9b3d57900 docs: record the phone-side catering import, verified on device
Documents the Dart mirror, the phone's two triggers (guarded log screen,
unguarded settings button — the same split as the gate vs the CLI), and the
device-local fetch marker on both sides.

The three parity traps are written where the next reader will hit them,
because each survived review once: `_ENERGY_TOLERANCE` is 0.35 and the "~1%"
elsewhere describes the captured day, not the threshold; `jsonEncode(435)`
emits `435` where Python emits `435.0`; and Dart's `List.sort` is unstable
where Python's `sorted` is stable.

Also states plainly what the shared fixture does *not* prove: that the two
implementations agree on a fixed payload, not that they agree against the live
panel.

**That second claim is now observed rather than inferred.** On 2026-08-23,
with the credential synced to the phone and nothing typed on it, the phone
logged into the live panel and banked 5 dishes. Pulling that back to the PC
left all five curated-bank records carrying their original 08:00:03 PC
timestamps, unchanged — the phone's records were byte-identical, so its
idempotency guard wrote nothing. Any disagreement would instead have re-added
them with fresh stamps and started the republish flood.

Split into a second file for the 250-line cap.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QQpCiPaSbyRpwsLkH3dgsX
2026-08-23 09:17:30 +02:00
..
explanations Add change explanation: desktop-web-build 2026-07-20 17:27:42 +02:00
design.md Extract diet_guard from testsAndMisc as a standalone repo 2026-06-22 12:18:39 +02:00
flutter-rules-design.md Automate CLAUDE.md's structural rules, then cut it to 189 lines 2026-08-15 16:39:57 +02:00
flutter-rules-language.md Automate CLAUDE.md's structural rules, then cut it to 189 lines 2026-08-15 16:39:57 +02:00
flutter-rules-state-and-data.md Automate CLAUDE.md's structural rules, then cut it to 189 lines 2026-08-15 16:39:57 +02:00
flutter-rules-testing-and-assets.md Automate CLAUDE.md's structural rules, then cut it to 189 lines 2026-08-15 16:39:57 +02:00
flutter-rules-ui.md Automate CLAUDE.md's structural rules, then cut it to 189 lines 2026-08-15 16:39:57 +02:00
kuchnia-wikinga-phone.md docs: record the phone-side catering import, verified on device 2026-08-23 09:17:30 +02:00
kuchnia-wikinga.md docs: record the phone-side catering import, verified on device 2026-08-23 09:17:30 +02:00
meal-schedule.md Document the configurable meal schedule 2026-08-16 15:03:59 +02:00
sync-latency.md docs: track AGENTS.md and split the sync-latency rules into docs/ 2026-08-21 13:42:11 +02:00