notif-envelope
OfficialQueue Teams notifications reliably via Redis
System Documentation
What problem does it solve?
It standardizes how notification “envelopes” are produced and enqueued so downstream consumers can coalesce edits, route announces, and dead-letter failures reliably instead of sending inconsistent or malformed payloads.
Core Features & Use Cases
- Canonical Redis Envelope Production: Builds
{ v, id, ts, expires_at, room, type, message|card, extra, fallback_webhook_url }in the exact shape expected by the notification consumer. - Correct Room Resolution & Safety Guardrails: Ensures
roomis validated throughCHANNELSso thread IDs or unknown rooms are never written into envelopes. - Coalescing, Tracking, and GitHub Event Handling: Supports edit-window merging via
extra.dedup_key, and lets the consumer derive GitHub dedup keys usingextra.event_type,extra.repo, and raw webhookextra.data. - Dead-Letter and Observability Compatibility: Produces envelopes that fail into
notif:deadwith appropriate metadata when errors occur, and can be tested/verified against consumer expectations.
Quick Start
Use notif-envelope to enqueue a correctly shaped notification envelope to the InterServer Redis notif:queue by first resolving your target room through CHANNELS, then constructing the envelope with type: msg or type: card, and finally LPUSHing JSON.stringify(envelope) into k('queue').
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: notif-envelope Download link: https://github.com/interserver/teams-chat-bot/archive/main.zip#notif-envelope Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.