You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A standardized, minimal, redacted fatal-error payload format for Node.js process crashes.
Status: Draft | Version: 2 (alpha) | 2026-06-22
Implementation: @misaka-net/fatal-guard
Purpose
Define a portable, versioned, redacted-by-default JSON contract for reporting process crashes from a parent wrapper (or preload hook) to an external handler (syslog, webhook, custom script). The protocol is language-agnostic but the reference implementation targets Node.js.
Core Design Principles
Principle
Rationale
Redacted by default
No stack traces, env vars, or secrets. The handler decides what to enrich.
Backward compatible
New fields are additive. schemaVersion signals the shape. Consumers that only read known fields never break.
Lightweight
Payload < 1KB in typical scenarios. No blocking I/O during collection.
Self-describing
schemaVersion + reason alone are enough for basic alert routing.