-
-
1-click Shift Handoff Packet with auto-redacted credentials, SHA audit digest, and #handoff= URL.
-
Single-step EFB execution console with live {{variable}} binding and Destructive Safety Gate.
-
Real GitHub EC2 runbook compiled into 10 single-step cards with <EC2_IP> variable extraction.
-
Four-layer deterministic AST parser, safety gate analyzer, secret redactor, and handoff compiler.
-
Stage 3.5 benchmark: 100% pass across 18 real GitHub & adversarial runbooks in 0.48ms latency.
-
WCAG AAA Daylight Paper contrast mode with Dyslexia-friendly spacing and live ARIA speech monitor.
Inspiration
Work should fit people—not force people to fit the tool.
Whether you are an on-call student SRE debugging a Kubernetes outage at 3:00 AM, a database engineer running a primary-to-standby switchover, or an evening university teaching assistant locking down a wet-lab cryo-freezer, operational work relies on multi-step Markdown runbooks (DEPLOY.md, INCIDENT_TRIAGE.md, LAB_SHUTDOWN.md).
Yet in practice, static Markdown checklists fail people at the exact moment they are under stress or cognitive fatigue:
- The Wall-of-Text Barrier: Scrolling a 400-line wiki page while tired causes skipped steps and executive overload.
- Copy-Paste Variable Errors: Manually replacing
<NAMESPACE>,<SUSPECT_NODE>, or<EC2_IP>across 15 shell blocks leads to typos and production mistakes. - Unchecked Destructive Commands: In a static Markdown file,
kubectl drain --forceorrm -rflooks identical to a read-onlykubectl get pods. - Painful Manual Shift Handoffs: When a shift ends at Step 3 of 5, responders spend 6 to 10 minutes re-summarizing what ran, what output was observed, and what remains blocked—often accidentally pasting raw terminal logs containing database passwords or API keys into Slack or GitHub Issues.
- Inaccessible Workflow Tooling: Existing desktop notebook runners require local installation, lack static shift-handoff exports (
atuinsh/desktop#182,runmedev/runme#701), and omit high-contrast / dyslexia-friendly / screen-reader-monitored single-step execution.
We built RelayForge to solve these exact productivity and access barriers for one clear user persona: the stressed responder or lab operator executing a multi-step routine and handing off mid-shift.
What it does
RelayForge is an Electronic Flight Bag (EFB) style Auditable Single-Step Runbook Runner & Deterministic Shift-Handoff Compiler:
- Single-Step Focus Isolation (
-88.8%Visual Clutter): Compiles any standard Markdown runbook into an isolated active step card while keeping peripheral progress in a compact rail—reducing visible text on screen by an average of 88.8% across our 18-runbook validation corpus. - Live Parameter Injection (
{{var}},${VAR},<UPPER_VAR>): Extracts variables automatically into a sticky Live Parameter Injection Strip. Bind a parameter once and every command and verification check across all steps updates in real time with color-coded bound/unbound token badges. - Destructive Operation Safety Interlocks: Static command analysis automatically flags high-risk operations (
rm -rf,kubectl delete/drain --force,redis-cli FLUSHALL,aws s3 rb --force,DROP DATABASE,patronictl failover, and physical lab safety overrides) with a mandatory Destructive Safety Gate checkbox before the step can be marked complete. - Zero-Leak Automatic Credential Redactor: When operators paste terminal outputs into the step evidence box, RelayForge automatically scrubs 6 families of sensitive credentials in under 5ms (
postgres:///mysql:///redis://URI passwords, AWSAKIA...keys, GitHubghp_...PATs, Bearer JWTs, OpenAI/Stripesk-...keys, and PEM private keys). - 1-Click Deterministic Shift Handoff Packet (
[H]): At any point mid-routine, pressingHcompiles a verified Shift Handoff Packet containing a cryptographicrf-sha-...audit digest, bound variables table, completed step timestamps, redacted outputs, active blocker summary, a copy-ready Slack/GitHub Markdown report, and a self-contained 1-Click Resumption URL (#handoff=...) so the incoming responder resumes at the exact active step in 2 seconds. - Built-In Visual, Cognitive & Motor Accessibility:
- 3 WCAG-Compliant Contrast Themes: Phosphor Slate (Dark Ops), Daylight Paper (WCAG AAA 16.8:1 contrast), and Night-Shift Amber (3 AM Zero-Blue-Light mode).
- Dyslexia-Friendly Reading Spacing Toggle: Expands letter, word, and line spacing (
data-dyslexia="true") on demand. - Zero-Mouse Keyboard Command Grammar: Full keyboard execution (
[J]/[K]next/previous step,[Space]verify & complete step,[C]copy interpolated command,[H]forge handoff,[?]shortcut overlay). - Live ARIA Screen-Reader Speech Monitor: A persistent bottom telemetry bar displays real-time
aria-live="polite"announcements so both blind and sighted teammates can verify accessibility state transitions.
How we built it
We built RelayForge using TypeScript, React 18, Vite, Node.js, Vitest, and Playwright around a deterministic, zero-hallucination compiler architecture (src/engine/):
- Hybrid Markdown AST Compiler (
src/engine/runbookCompiler.ts): Parses#,##, and###Markdown hierarchies,@varheader directives, checklists, verification gates, and fenced code blocks in0.48msaverage compile time without relying on external LLM APIs. - Comment-Aware Static Safety Analyzer (
analyzeCommandSafety): Strips shell#and//comments before matching 7 operational risk rules (FS_RECURSIVE_DELETE,K8S_DESTRUCTIVE_MUTATION,SQL_DROP_OR_TRUNCATE,CACHE_OR_STORAGE_PURGE,DB_FAILOVER_PROMOTE,INFRA_DESTROY_OR_FORCE,HARDWARE_HV_OR_CRYO_CUTOFF). - Six-Family Secret Redactor (
src/engine/redactor.ts): Scrubs sensitive tokens inline while preserving surrounding log diagnostics. - Shift-Handoff Serializer (
src/engine/handoffCompiler.ts): Computes a synchronous FNV-1a/hexrf-sha-...audit digest and encodes compact session state into Base64URL#handoff=...fragments as well as portable JSON and Slack/GitHub Markdown.
Challenges we ran into
When we tested RelayForge against 12 real-world public Markdown runbooks from GitHub (including Auth0 tenant restore runbooks, payment incident playbooks, Linux SSH/disk troubleshooting guides, and EC2 deployment runbooks) plus 6 adversarial cases, our initial parser only passed 9 of 18 samples (50.0%):
- Hybrid
##and###Section Loss: Real-world runbooks likepayment-incident.md(445 lines) mix##sections that have###children alongside##sections that have no###children. Our initial globalhasH3Headingscheck dropped the standalone##sections. We re-engineered the section flusher (flushCurrentSection()) to preserve every non-empty##and###section. - Unclosed Code Fences in Real GitHub Runbooks: In a real public EC2 deployment runbook (
sanjeeb-zerotheft/zerotheft-sprintops), Step 6 opened a```bashblock and forgot the closing```before### 7. Configure NGINX, causing Steps 7–9 to be swallowed. We added automatic heading-boundary fence recovery (AUTO_CLOSED_CODE_FENCE). - False-Positive Safety Alarms on Warnings & Comments: A Linux disk-space runbook (
CptAYounes/it-operations-library) included prose saying "do not recursively delete logs" and read-only PowerShellGet-ChildItem -Force. We refined our analyzer to strip shell comments, ignore prose warnings for shell rules, and distinguish--forcefrom PowerShell-Force.
After these fixes, RelayForge achieved 18 / 18 (100.0%) pass rate across the real-world and adversarial corpus (evidence/stage-3.5-validation/report.md).
Accomplishments that we're proud of
- 100% Pass Rate on Real-World & Adversarial Corpus: Validated across 18 test cases (12 real public GitHub runbooks + 6 edge/negative/adversarial cases) with 0 false-positive destructive gates and 0 false-positive secret redactions.
- 24 / 24 Real-Browser Playwright QA Scenarios Passed: Verified in headless Firefox across Desktop (
1440x900) and Mobile (390x844,scrollWidth = 390px) on both local and live Vercel deployments with zero console or network errors. - Immediate Tangibility: First-time users land directly in an active mid-incident Kubernetes rollback scenario (
INC-2026-0402at Step 3 of 5) and can experience variable binding, safety gating, secret scrubbing, and handoff compilation in under 60 seconds.
What we learned
- Deterministic Compilers Beat Unpredictable Chatbots for High-Stakes Routines: At 3:00 AM during an outage or lab shutdown, responders cannot afford hallucinated steps or altered shell flags. Deterministic AST parsing, static safety gates, and regex redaction run in
0.48msoffline and never alter command semantics. - Real-World Markdown Is Messy: Testing on real GitHub repositories immediately exposed unclosed code fences,
<ANGLE_BRACKET>variables, and mixed heading depths that synthetic unit tests missed.
Honest Limitations & Disclosure
- Browser-Safe Command Execution Model: For security reasons, RelayForge intentionally does not execute arbitrary root shell commands on remote servers directly from the browser; operators copy the verified, variable-bound command (
[C]) and paste terminal output back into the auto-redacting evidence box. - URL Hash Size Bound: Self-contained
#handoff=...resumption links store compressed state in the URL fragment and are designed for typical 5–25 step procedures (< 16 KBof pasted logs); larger log dumps should use the Portable JSON State or Markdown Report export. - Pre-Existing Work & AI Assistance Disclosure: All RelayForge source code, AST compiler rules, secret redaction patterns, UI design tokens, and tests were created originally during the Taskforge hackathon period with AI coding & narration TTS assistance (
OpenCode,edge-tts). Open-source libraries used: React 18 (MIT), Vite (MIT), Vitest (MIT), Playwright (Apache-2.0). External validation corpus files are attributed with full repository URLs and licenses inevidence/stage-3.5-validation/report.md.
What's next for RelayForge
- VS Code & Terminal Companion CLI: Sync
#handoff=...state packets directly with a local terminal wrapper that capturesstdout/stderrexit codes automatically. - GitHub Action Runbook Linter: Run RelayForge's static safety gate & unclosed-fence linter in CI on every pull request touching
runbooks/*.md.
Built With
- accessibility
- css3
- markdown
- node.js
- playwright
- react
- typescript
- vercel
- vite
- vitest