signal-bot/fake_signal/scenarios/food_today.yaml
Krzysztof kuhy Rudnicki 77795ee6f8
Some checks are pending
CI / check (push) Waiting to run
CI / web (push) Waiting to run
Today's food and workout logs, read from where diet_guard and screen_locker keep them
Two commands, food_today and workout_today, each printing the current
Warsaw day out of a log another program owns: every meal with its time,
calories and source plus the day's total and macros; every workout with
every field it carries. Three workout fields are withheld (a reservation
phone number, a screenshot path, the sync record id), and the food budget
is never printed -- diet_guard keeps that number on the machine on purpose.

The spellings the group uses carry a surname, so they are custom aliases in
the state directory; aliases.json ships only plain words. The suite points
both logs at absent temp files so it can never read the operator's own,
and the e2e run writes one invented entry of each under today's date.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-04 22:07:46 +02:00

8 lines
350 B
YAML

# The operator's food log for today, read from the file the run wrote
# rather than the real one: the meal is invented, the day is real.
name: "!co_jadł lists what the food log holds for today"
inject:
- { text: "!co_jadł", uuid: uuid-alice, name: Alice }
expect:
- { kind: text, to: reply, contains: "carbonara — 350 g, 550 kcal (manual)" }