go-prod-change-registry
A lightweight, append-only change registry that records deployments, feature-flag changes, infrastructure mutations, and other production events. It exposes them through a REST API and HTML dashboard, designed specifically for incident correlation and change tracking.
Design Principles
- Immutable event model — events cannot be modified or deleted after creation. State changes are tracked through meta-events, maintaining a complete audit trail with timestamps and attribution.
- Idempotency support — an optional external ID acts as an idempotency key, allowing CI/CD pipelines and automation to safely retry requests without creating duplicates.
- Time-window queries — filter changes around an incident timestamp (e.g., “show me everything that changed within 30 minutes of this alert”) to support root-cause analysis.
- Zero-trust auth — all requests require bearer token or session authentication by default.
- Single-binary deployment — SQLite-backed with automatic migrations, configurable for Docker or Kubernetes environments.