RelayGuard

Crash-safe memory for incident agents

Incident

API latency spike in us-east-1, primary health checks failing

ff8d161e-4a7c-4894-9f8d-5759bd32504e

Selected: Escalate to humanSelector: Amazon BedrockConfidence: 0.75

High severity incident with conflicting signals: current runbook supports standby routing, but historical precedent requires human review before acting. Three prior similar actions failed (DNS cutover, pod drain, restart). Given the blocked evidence and caution flag, human judgment is needed to determine if standby routing is safe or if a different approach is required.

Selected action
Escalate to human
ESCALATE_TO_HUMAN
Committed actions
1
Stale commits rejected
1
Invariants
PASS

MemoryGate verdicts

Similarity retrieved candidates. MemoryGate blocked unsafe memory before action.

Memory labelScoreVerdictReason
failed_action_dns_cutover0.448AVOIDprior action failed and must not be repeated
historical_incident0.362INSPECTrelated historical incident requires human review
failed_action_pod_drain0.340AVOIDprior action failed and must not be repeated
current_runbook0.323USEactive runbook approved for current incident response
failed_action_similar_restart0.281AVOIDprior action failed and must not be repeated

Execution timeline

EventWorkerEpochSummaryCreated
incident.created——API latency spike in us-east-1, primary health checks failing2026-07-05 21:47:29
memories.seeded——seeded 63 memories2026-07-05 21:47:29
lease.claimedworker-a1incident lease claimed2026-07-05 21:48:24
memory.retrievedworker-a1retrieved 5 memories2026-07-05 21:48:24
memory.classifiedworker-a1failed_action_dns_cutover -> AVOID2026-07-05 21:48:24
memory.classifiedworker-a1historical_incident -> INSPECT2026-07-05 21:48:24
memory.classifiedworker-a1failed_action_pod_drain -> AVOID2026-07-05 21:48:24
memory.classifiedworker-a1current_runbook -> USE2026-07-05 21:48:24
memory.classifiedworker-a1failed_action_similar_restart -> AVOID2026-07-05 21:48:24
checkpoint.memories_classifiedworker-a1checkpoint checkpoint.memories_classified2026-07-05 21:48:24
action.selectedworker-a1ESCALATE_TO_HUMAN via bedrock2026-07-05 21:48:27
action_intent.reservedworker-a1reserved ESCALATE_TO_HUMAN2026-07-05 21:48:27
checkpoint.action_reservedworker-a1checkpoint checkpoint.action_reserved2026-07-05 21:48:30
lease.claimedworker-b2incident lease claimed2026-07-05 21:48:38
action.committedworker-b2committed ESCALATE_TO_HUMAN2026-07-05 21:48:39
checkpoint.completedworker-b2checkpoint checkpoint.completed2026-07-05 21:48:40
action.commit_rejectedworker-a1rejected stale commit (already_committed)2026-07-05 21:48:42

Action ledger

Action typeIdempotency keyStatusResult ID
ESCALATE_TO_HUMANff8d161e-4a7c-4894-9f8d-5759bd32504e:ESCALATE_TO_HUMAN:v1committed5039afe3-3cbb-4f5d-956d-fe9ae78d9765

CockroachDB-backed audit proof

Committed actions
1
Stale rejections
1
Memories retrieved
5
Memories blocked
3
Invariants
PASS

Similarity retrieves candidates. MemoryGate decides which memories are safe. CockroachDB stores the execution state, fencing epoch, action ledger, and audit trail.