NemoClaw
NemoClaw copied to clipboard
[Feature] Validate TELEGRAM_ALLOWED_IDS allowlist enforcement
Problem Statement
M11c in test-messaging-providers.sh validates that allowFrom in openclaw.json contains at least one expected user ID. While the encoding pipeline is atomic (all IDs are serialized as one JSON blob - if one survives, all do), the test should exercise multiple IDs and assert all are present for clarity and defense in depth.
Proposed Design
In test/e2e/test-messaging-providers.sh:
- Change the default TELEGRAM_IDS from "123456789" to "123456789,987654321" so the test exercises multiple IDs through the full pipeline (env var → TS parsing → base64 → Docker build arg → Python decoder → openclaw.json).
- Strengthen M11c to verify all expected IDs are present in allowFrom, not just the first match. Report which IDs are missing on failure.
Alternatives Considered
No response
Category
enhancement: feature
Checklist
- [x] I searched existing issues and this is not a duplicate
- [x] This is a design proposal, not a "please build this" request