docs(adr): ADR-0001 — SSE transport tier-2 evaluation (status-quo)#244
Open
howard-eridani wants to merge 1 commit into
Open
docs(adr): ADR-0001 — SSE transport tier-2 evaluation (status-quo)#244howard-eridani wants to merge 1 commit into
howard-eridani wants to merge 1 commit into
Conversation
Research spike after 21-day prod telemetry window (dep 81f5cec1 deployed 2026-05-21). Key findings: - NATS JetStream MESH_EVENTS already the durable backbone (since 2026-03-13) - pg-writer consumer: 13,228 events, 0 redeliveries, 0 pending — perfect durability - agent_events TTL: 7d (critical) / 24h (others) covers reconnect gaps via cursor replay - 0 lost-event incidents in 21-day observation window Decision: C (status-quo — cursor+replay on existing JetStream+Postgres stack). Option A (per-agent JetStream consumers for SSE) deferred to 50+ agents threshold. Option B (Redis Streams) redundant given JetStream already present. Follow-up: add sse_cursor_410_total + sse_replay_events_total Prometheus counters (F1/F2). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Key Findings
MESH_EVENTSalready the durable write-path backbone (running since 2026-03-13):pg-writerconsumer shows 0 redeliveries, 0 pending across 13,228 events.agent_eventstable retention: 7 days (critical events:task.assigned,task.created,task.mentioned) / 24h (others) — covers all reconnect scenarios within normal operating patterns.Follow-up (non-blocking)
sse_cursor_410_totalPrometheus counter (closes telemetry gap)sse_replay_events_totalcounterTest plan