Verify a Scoped Telegram Handoff
Lab Objective
Verify that a handoff route is bound to its prepared source, session, destination, and owner, and that excluded routes fail before side effects.
Lab Environment
Use the synthetic verifier and prepared evidence bundle in /Users/juribuora/ai-agent-laptop. This lab performs no real Telegram or WhatsApp send.
Steps
-
Run the bounded verifier:
python3 -B /Users/juribuora/ai-agent-laptop/scripts/verify-hermes-telegram-handoff-owner.py -
Confirm the positive path switches the actual synthetic session and restores the expected scope.
-
Confirm that an excluded route is rejected before effects.
-
Run or inspect the negative mutants for a skipped session switch and an omitted callback join.
-
Verify that cleanup completes before the resource is released.
Expected Evidence
The verifier reports the bounded positive path and the exact mutants as failures. It does not claim live authentication, production activation, or successful real delivery.
Security Takeaways
Internal routing is still an authorization boundary. A persisted row or a shared process does not grant a route authority over another platform's session.