docs(alerting): Plan 03 — UI + backfills implementation plan
32 tasks across 10 phases: - Foundation: Vitest, CodeMirror 6, Playwright scaffolding + schema regen. - API: env-scoped query hooks for alerts/rules/silences/notifications. - Components: AlertStateChip, SeverityBadge, NotificationBell (with tab-hidden poll pause), MustacheEditor (CM6 with variable autocomplete + linter). - Routes: /alerts/* section with sidebar accordion; bell mounted in TopBar. - Pages: Inbox / All / History / Rules (with env promotion) / Silences. - Wizard: 5-step editor with kind-specific condition forms + test-evaluate + render-preview + prefill warnings. - CMD-K: alerts + rules sources via LayoutShell extension. - Backend backfills: SSRF guard on outbound URL + 30s AlertingMetrics gauge cache. - Final: Playwright smoke, .claude/rules/ui.md + admin-guide updates, full build/test/PR. Decisions: CM6 over Monaco/textarea (90KB gzipped, ARIA-conformant); CMD-K extension via existing LayoutShell searchData (not a new registry); REST-API-driven tests per project test policy. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
5031
docs/superpowers/plans/2026-04-20-alerting-03-ui.md
Normal file
5031
docs/superpowers/plans/2026-04-20-alerting-03-ui.md
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user