Skip to content

feat(observer): complete coverage trend enrichment + alert routing - #332

Merged
ProtocolWarden merged 1 commit into
mainfrom
feat/coverage-trend-routing
Jun 18, 2026
Merged

feat(observer): complete coverage trend enrichment + alert routing#332
ProtocolWarden merged 1 commit into
mainfrom
feat/coverage-trend-routing

Conversation

@ProtocolWarden

Copy link
Copy Markdown
Owner

Completes the observer-plane coverage subsystem by wiring its last 5
built-but-unwired public methods into the live _record_coverage_trend path
(the engine #326 began driving):

  • calculate_trend_slope / calculate_volatility_score / get_historical_data
    — each trend record now carries direction (%/day), stability, and history
    depth, so downstream autonomy can distinguish a noisy blip from a sustained
    decline instead of seeing a bare point.
  • categorize_alert + AlertChannelConfig.get_routes_for_alert — every
    generated alert is typed (category) and routed to its delivery channels
    (default → operator), making alerts actionable rather than merely recorded.

Ratchet proof: all 5 names pruned from audit.d12_baseline; the D12/DC10
gate reports 0 — they're genuinely reachable from production now, not
baseline-hidden. New test drives the below-threshold → categorize+route path.
Audit clean; observer suite 1390 passed.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

🤖 Generated with Claude Code

Wires the last 5 built-but-unwired coverage methods into the live
_record_coverage_trend path:
- calculate_trend_slope / calculate_volatility_score / get_historical_data —
  enrich each trend record with direction, stability, and history depth so
  autonomy can tell a noisy blip from a sustained decline.
- categorize_alert + AlertChannelConfig.get_routes_for_alert — every generated
  alert is now typed (category) and routed to its delivery channels (default →
  operator), making alerts actionable rather than just recorded.

Prunes all 5 from audit.d12_baseline; the D12/DC10 gate confirms 0 — proof
they're reachable from production, not baseline-hidden. Adds a test driving the
below-threshold → categorize+route path. Audit clean; observer suite 1390 pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ProtocolWarden
ProtocolWarden merged commit e7930e1 into main Jun 18, 2026
20 checks passed
@ProtocolWarden
ProtocolWarden deleted the feat/coverage-trend-routing branch June 18, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant