signal-bot/fake_signal/scenarios/per_group_isolation.yaml
Krzysztof kuhy Rudnicki bb72f0ae93 fix: commit the five modules the last commit only referenced
The wrap-up script stages dirty *tracked* files, so every newly created
file in the multi-group change -- the group-id module, the membership
verifier, their tests, the isolation scenario and prime_profile.sh --
was listed as untracked and then left behind. The tree compiled locally
because the files exist on disk; CI checked out a repo where config.py
imported signal_bot.groups and nothing provided it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013yaBT45KhHqxTKVCTA87iy
2026-08-29 15:05:18 +02:00

13 lines
636 B
YAML

# The whole point of watching more than one group: a command is answered in
# the group that asked and nowhere else, and one group's rate limiting does
# not reach into another. Gina asks in both groups inside one cooldown
# window; a shared cooldown would turn the second image into "BEEP BOOP",
# and a fixed reply target would post both into the same group.
name: "a command is answered only in the group that asked"
inject:
- { text: "!cat", group: watched, uuid: uuid-gina, name: Gina }
- { text: "!cat", group: second, uuid: uuid-gina, name: Gina }
expect:
- { kind: image, to: reply }
- { kind: image, to: second_reply }