What happens when an engineering team needs to communicate a production incident to customers, internal engineers and the general public at the same time?
Different audiences need different information. But maintaining multiple communication channels manually can introduce inconsistencies, accidental information disclosure and misleading updates.
That's the problem I explored while building RELAY for Unlayer's Hyper Elements Template Challenge.
One incident. Every channel. One source of truth.
The Problem
During a software outage, engineering teams may need to maintain:
- A public incident status page.
- Customer notification emails.
- Internal engineering reports.
- Public announcement graphics.
Creating these independently introduces several risks:
- Contradictory metrics across communication channels.
- Accidental disclosure of internal engineering information.
- Unconfirmed hypotheses presented as established facts.
- Repeated manual work.
- Missing or incorrectly represented telemetry.
I wanted to explore whether one structured incident record could power all these outputs while preserving their individual information boundaries.
Introducing RELAY
RELAY is an open-source, schema-driven incident communication system built using React, TypeScript and Hyper Elements.
It transforms a single validated incident record into four native Hyper Elements outputs.
| Native Root | Generated Output |
|---|---|
| Page | Responsive public incident status page |
| Customer notification email with HTML and plain-text versions | |
| Document | Internal engineering PDF report |
| Canvas | Square and landscape announcement graphics |
However, generating four different formats is only half of the problem.
The more interesting challenge is deciding what information each audience should receive.
The Publication Firewall
RELAY classifies incident information according to its declared visibility and confidence.
Visibility:
- Public
- Customer
- Internal
Confidence:
- Confirmed
- Suspected
- Unknown
Before rendering any template, the system validates the canonical incident record and applies explicit audience-specific publication rules.
This ensures that statements marked as internal or unconfirmed are withheld from inappropriate external communication channels.
Instead of passing the entire incident record to every template, RELAY constructs separate audience-specific data projections.
Architecture
The core architecture follows this sequence:
Canonical Incident Record | Runtime Validation | Publication Firewall | Audience Projections | Native Hyper Elements Templates | HTML / Email / PDF / PNG This separation allows validation, information classification and rendering to remain independently testable.
It also allows individual templates to be reused without depending on the RELAY Studio interface.
Publication X-Ray
A publication policy becomes difficult to trust if developers cannot understand its decisions.
That's why RELAY includes Publication X-Ray, an interactive interface for inspecting how information is allowed, withheld or segregated across different audiences.
Rather than simply hiding information, the system exposes the reasons behind its publication decisions.
Interactive Validation Lab
I also wanted reviewers to be able to challenge the actual validation logic rather than simply look at screenshots.
The Validation Lab includes ten fictional edge-case scenarios covering situations such as:
- Invalid incident chronology.
- Unsafe URLs.
- Impossible telemetry values.
- Missing resolution timestamps.
- Internal-only observations.
- Unconfirmed claims.
- Zero versus missing metrics.
Users can modify structured incident payloads and inspect how the runtime validation and audience projection rules respond.
Why Hyper Elements?
Hyper Elements provided a common React-based approach to defining reusable templates across four different rendering formats.
RELAY uses native template contracts, structured properties, reusable themes and native rendering APIs.
This allowed the application to maintain shared data contracts while respecting the different layout and rendering requirements of webpages, emails, PDFs and graphics.
The customer email template also supports a verified Unlayer Builder design round-trip.
Technology Stack
- React
- TypeScript
- Hyper Elements
- Vite
- Playwright
- GitHub Actions
- Vercel
Testing and Reliability
The published release passed:
- 34 core automated tests.
- 5 Studio verification tests.
- Native validation for all four Hyper Elements templates.
- Responsive browser verification.
- Accessibility scans of tested application states.
- GitHub Actions verification on Node.js 22 and 24.
Important Limitations
RELAY is an experimental open-source project, not a production-ready incident management platform.
Its publication rules depend on correctly declared visibility and confidence classifications. It does not independently determine whether an incident statement is factually true.
The interactive Studio uses fictional incident data and does not provide production authentication or role-based access control.
These are areas that would require further consideration before real-world deployment.
Try It Yourself
RELAY is MIT licensed, and the source code, native templates, documentation, example datasets and verification scripts are available on GitHub.
git clone https://github.com/Udit-Agarwal20/RELAY.git cd RELAY npm ci npm run build:studio npm run preview:studio GitHub: https://github.com/Udit-Agarwal20/RELAY
Live demo: https://relay-gold-nine.vercel.app/
I'd Love Your Feedback
I'm currently a second-year Computer Science student exploring software engineering, AI engineering and open-source development.
Building RELAY was an opportunity to explore structured content generation, runtime validation, information boundaries and multi-format rendering.
I'm particularly interested in hearing from developers who work with incident management, SRE, DevOps or reusable template systems.
- Would this approach be useful in real incident communication workflows?
- What important architectural or security considerations am I missing?
- How would you approach audience-specific communication differently?
I'd appreciate honest feedback, suggestions and contributions.
Thanks for reading!
Disclosure: AI coding assistants were used extensively during development, alongside my project planning, direction and testing. This article was also prepared with AI assistance.




