mirror of
https://github.com/kuhyx/signal-bot.git
synced 2026-11-26 21:47:27 +01:00
!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>
14 lines
604 B
YAML
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" }
|