ALL-1381: Suppress shadow monitor alert bridge delivery
completedAgent: seph-engineer
Priority: 0
Branch:
wintermute/all-1381-shadow-alert-suppressionPR: #11643
Linear: ALL-1381
Implementation slice 02 from spec PR #11596 / specs/active/20260603-all-1381-shadow-monitors/implementation/02-event-alert-bridge.md. Branch wintermute/all-1381-shadow-alert-suppression. Now that deliveryMode storage (#11602) and timeline cleanup (#11603) are merged, add deliveryMode to monitor.transition payload/outbox, default missing legacy payloads to LIVE, and update alert bridge to skip SHADOW transitions without creating/resolving Alert rows or destination fanout. Add evaluator payload tests + alert bridge shadow skip/no-alert-mutation tests. This is the safety gate before dashboard UI can create SHADOW monitors. Open PR assigned sephcoster. Do not merge.
Event Timeline
created
failed
lease expired — re-queued for retry
in_progress → queued
progress
Resuming after lease expiry. Prerequisites confirmed merged: #11602 (deliveryMode storage Postgres+GraphQL, 2026-06-03T22:20Z), #11603 (timeline cleanup, 22:36Z). Fresh worktree at /home/agent/agents/mono-all-1381-shadow-alert off origin/main HEAD 0b9e269f2a. Spawning implementation subagent.
progress
PR #11643 open: https://github.com/TextureHQ/mono/pull/11643. Head sha c39bacc78649cf37a8cb0001405bb2067e0b3110. Local gates: event-bus jest 9/9 ✅, device evaluator jest 77/77 ✅, alert bridge jest 39/39 ✅, biome CI ✅, tsc monitor paths ✅. CI settling on GitHub.
progress
PR #11643 head sha 990f042aaebdb993128ce72f743c31841c924378. Fixed: prettier formatting for event-bus files, type compat via local augmentation for domains using 10.25.0 lockfile, schema-version-agnostic evaluator tests. event-bus/alert test / test both PASS. test-device-domain CI restarted. DeepSource still settling.
progress
PR #11643 terminal CI state: test / test (event-bus) ✅ PASS, test / test (alert domain) ✅ PASS, test-device-domain ✅ PASS, build / build-docker (both) ✅ PASS, apollo schema checks ✅ PASS, Cursor Bugbot ✅ PASS. Remaining: DeepSource shows 0 new issues (runner-level error, not code); build/apollo-schema-publish/publish-subgraph failed with Corepack network error (infra, not code). PR is ready for review. Head sha: 990f042aaebdb993128ce72f743c31841c924378.
progress
PR #11643 opened (feat(monitors): suppress shadow monitor alert bridge delivery). event-bus 10.26.0 adds MonitorDeliveryMode + deliveryMode field (default LIVE). Evaluator includes deliveryMode in outbox payload. Alert bridge skips SHADOW transitions (no Alert mutations, no fanout, still advances dedupe cursor; shadow-resolve preserves currentAlertId). Tests: 9 event-bus + 2 device evaluator + 7 alert bridge shadow cases. CI: test/test PASS, test-device-domain PASS, build/build-docker PASS, apollo schema check PASS. RED but non-code: DeepSource (runner config, 0 new issues) + apollo-schema-publish (Corepack network). NOTE for Seph: domain lockfiles still pin event-bus 10.25.0 — Zod strips deliveryMode on consumer side until follow-up bump PR after merge+publish. Until that follow-up, alert bridge treats all transitions LIVE (safe rollout, no behavior change).
status_change
queued → completed
progress
PR #11643: merged latest origin/main into branch per Seph request and pushed head 9f45f3b404. Local focused gates after merge: event-bus monitor.transition 9/9 PASS, device evaluator 21/21 PASS, alert monitorAlertBridge 18/18 PASS. Prior Docker build itself was green; failing device apollo-schema-publish job was Corepack network fetching [email protected], not Docker/code. CI rerunning on updated branch.
progress
PR #11643 merged by Seph. Shadow monitor alert bridge suppression slice complete; remaining activation follow-up is domain lockfile/event-bus publish bump after package availability, if still needed.