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 label | Score | Verdict | Reason |
|---|---|---|---|
| failed_action_dns_cutover | 0.448 | AVOID | prior action failed and must not be repeated |
| historical_incident | 0.362 | INSPECT | related historical incident requires human review |
| failed_action_pod_drain | 0.340 | AVOID | prior action failed and must not be repeated |
| current_runbook | 0.323 | USE | active runbook approved for current incident response |
| failed_action_similar_restart | 0.281 | AVOID | prior action failed and must not be repeated |
Execution timeline
| Event | Worker | Epoch | Summary | Created |
|---|---|---|---|---|
| incident.created | — | — | API latency spike in us-east-1, primary health checks failing | 2026-07-05 21:47:29 |
| memories.seeded | — | — | seeded 63 memories | 2026-07-05 21:47:29 |
| lease.claimed | worker-a | 1 | incident lease claimed | 2026-07-05 21:48:24 |
| memory.retrieved | worker-a | 1 | retrieved 5 memories | 2026-07-05 21:48:24 |
| memory.classified | worker-a | 1 | failed_action_dns_cutover -> AVOID | 2026-07-05 21:48:24 |
| memory.classified | worker-a | 1 | historical_incident -> INSPECT | 2026-07-05 21:48:24 |
| memory.classified | worker-a | 1 | failed_action_pod_drain -> AVOID | 2026-07-05 21:48:24 |
| memory.classified | worker-a | 1 | current_runbook -> USE | 2026-07-05 21:48:24 |
| memory.classified | worker-a | 1 | failed_action_similar_restart -> AVOID | 2026-07-05 21:48:24 |
| checkpoint.memories_classified | worker-a | 1 | checkpoint checkpoint.memories_classified | 2026-07-05 21:48:24 |
| action.selected | worker-a | 1 | ESCALATE_TO_HUMAN via bedrock | 2026-07-05 21:48:27 |
| action_intent.reserved | worker-a | 1 | reserved ESCALATE_TO_HUMAN | 2026-07-05 21:48:27 |
| checkpoint.action_reserved | worker-a | 1 | checkpoint checkpoint.action_reserved | 2026-07-05 21:48:30 |
| lease.claimed | worker-b | 2 | incident lease claimed | 2026-07-05 21:48:38 |
| action.committed | worker-b | 2 | committed ESCALATE_TO_HUMAN | 2026-07-05 21:48:39 |
| checkpoint.completed | worker-b | 2 | checkpoint checkpoint.completed | 2026-07-05 21:48:40 |
| action.commit_rejected | worker-a | 1 | rejected stale commit (already_committed) | 2026-07-05 21:48:42 |
Action ledger
| Action type | Idempotency key | Status | Result ID |
|---|---|---|---|
| ESCALATE_TO_HUMAN | ff8d161e-4a7c-4894-9f8d-5759bd32504e:ESCALATE_TO_HUMAN:v1 | committed | 5039afe3-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.