signal-bot/fake_signal/scenarios/pack_add_disabled.yaml
Krzysztof kuhy Rudnicki 3107a9e55f
Some checks are pending
CI / check (push) Waiting to run
CI / web (push) Waiting to run
feat: no photo reaches the album from the chat until somebody approves it
!dodaj is unwired: register_add_command is no longer called, its aliases
are gone from aliases.json, and the word is an unknown one like any
other -- answered with "Nie znam !dodaj", storing nothing. The ingest
path itself (pack_add, pack_ingest, pack_store, the stripper) stays,
tested at 100%, because the approval queue that replaces the direct
write will reuse every piece of it: !dodaj lands in pending/, and the
tagger view gets approve / reject.

The eight e2e scenarios that proved the direct write, the media
generation step and prove_the_add_photo_invariants leave with it;
64852ae has them for the queue to bring back in their new shape. One
scenario takes their place and pins the disabled state.

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

14 lines
604 B
YAML

# Adding a photo from the chat is switched off until an approval queue
# exists (2026-09-04): a photo somebody posts must not reach the album
# unreviewed. Unwired rather than gated, so !dodaj is an unknown word like
# any other -- answered, and never storing anything. The eight scenarios
# that proved the ingest path are at 64852ae, for the queue to bring back.
name: "!dodaj is not a command while photos cannot be approved"
inject:
- {
text: "!dodaj alfa", uuid: uuid-add-off, name: AddOff,
attachment: att-off,
}
expect:
- { kind: text, to: reply, contains: "Nie znam !dodaj" }