mirror of
https://github.com/kuhyx/diet-guard.git
synced 2026-11-19 05:54:33 +01:00
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 |
||
|---|---|---|
| .. | ||
| build_body_fixture.py | ||
| build_claude_relay_fixture.py | ||
| build_kuchnia_credential_fixture.py | ||
| build_kuchnia_fixture.py | ||
| build_meal_schedule_fixture.py | ||
| bump_patch_version.sh | ||
| check_dependency_freshness.sh | ||
| check_file_length.sh | ||
| check_gate_stamp.sh | ||
| check_md_naming.sh | ||
| check_no_crdt_sync_override.sh | ||
| check_patch_targets.py | ||
| check_repo_contract.sh | ||
| check_requirements_sync.py | ||
| ci_mirror.sh | ||
| meal_schedule_cases.py | ||
| probe_kuchnia_auth.py | ||
| probe_kuchnia_details.py | ||
| probe_kuchnia_shape.py | ||
| probe_kuchnia.py | ||
| setup_mcp.sh | ||
| sync_freshness.py | ||
| test_changed.sh | ||
| todo_hooks.sh | ||