Files
passepartout/org
Amr Gharbeia 7431121d42
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 2s
v0.4.0: gateway integration tests — Telegram/Signal send, poll, HITL
RED: Messaging suite had only 1 test (5 checks). No Telegram or Signal
integration tests existed.

GREEN: 4 new tests, 12 new checks (5 → 17):

test-telegram-send-format: verifies URL/body construction for
telegram-send — URL contains sendMessage + token, body encodes
chat_id + text as JSON.

test-telegram-poll-hits-interception: verifies HITL commands
(/approve, /deny, /approve <token>) are intercepted before
signal injection. Non-HITL messages pass through.

test-signal-send-format: verifies signal-send constructs correct
CLI args for signal-cli (account, send, -m, text, chat-id).

test-signal-poll-json-parse: verifies signal-cli JSON output is
parsed correctly — extracts envelope source and dataMessage text.

Test: 123/0 across 13 suites (messaging 17/0).
2026-05-06 20:31:52 -04:00
..