diet-guard/docs
Krzysztof kuhy Rudnicki 3ce43b56df Add the Claude relay contract
Contract for the phone "send to Claude" button, written before any code:
docs/DOCS-claude-relay.md, the shared Python/Dart fixture and its
builder script. No code runs from this commit.

Failure paths named in the contract:
- locked sync / locked e2e key: fail closed, worker writes nothing, the
  request stays pending (phone keeps its hourglass)
- invalid body, request older than 24 h, Claude timeout/failure/invalid
  JSON: fail closed, an error result is written and nothing is logged
- duplicate event, expired lease or crash replay: idempotent by rid (entry
  id is uuid5 of the rid, checked before the Claude call)
- due mode with nothing due: not an error, falls back to slot_for_log

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWZHWP4KZ6x5TcXDBFC
2026-11-17 20:55:50 +01:00
..
explanations Add change explanation: desktop-web-build 2026-07-20 17:27:42 +02:00
DOCS-body.md Ideal weight: drop Broca family and Hamwi 2026-11-01 18:54:38 +01:00
DOCS-claude-relay.md Add the Claude relay contract 2026-11-17 20:55:50 +01:00
DOCS-design.md Adopt the four markdown namespaces and gate them 2026-08-24 15:57:20 +02:00
DOCS-flutter-rules-design.md Adopt the four markdown namespaces and gate them 2026-08-24 15:57:20 +02:00
DOCS-flutter-rules-language.md Adopt the four markdown namespaces and gate them 2026-08-24 15:57:20 +02:00
DOCS-flutter-rules-state-and-data.md Adopt the four markdown namespaces and gate them 2026-08-24 15:57:20 +02:00
DOCS-flutter-rules-testing-and-assets.md Adopt the four markdown namespaces and gate them 2026-08-24 15:57:20 +02:00
DOCS-flutter-rules-ui.md Adopt the four markdown namespaces and gate them 2026-08-24 15:57:20 +02:00
DOCS-kuchnia-wikinga-phone.md Update app/diet_guard (17 files) 2026-10-10 13:49:58 +02:00
DOCS-kuchnia-wikinga.md Catering: answer the panel's CSRF 403 at login; kuchnia --log publishes 2026-10-17 12:42:13 +02:00
DOCS-meal-schedule.md gate: HH:MM spinboxes instead of comboboxes for the meal schedule 2026-10-10 20:13:03 +02:00
DOCS-sick-days.md Sick days: diet stands down only when the day does not keep it 2026-10-16 15:12:59 +02:00
DOCS-sync-latency.md Adopt the four markdown namespaces and gate them 2026-08-24 15:57:20 +02:00
DOCS-textgate-keep.md Icon-only date and time pickers 2026-11-11 12:05:11 +01:00