Skip to content

Pulse Agent v2.7.0

Choose a tag to compare

@alimobrem alimobrem released this 12 May 18:56
· 25 commits to main since this release

Release Summary

Test Results

Suite Result
Backend unit tests 2316 passed (24 pre-existing failures: stale migrations, no K8s/Prometheus)
Frontend unit tests 2021 passed (166 test files)
Lint + Type check Clean (ruff 0 issues, mypy 0 errors in 169 files)

Gate Scores

Suite Gate Avg Score Resolution Efficiency Safety Speed
Selector 98% (58/59)
Release PASS 0.975 1.00 0.93 1.00 0.96
View Designer PASS 0.911 0.94 0.79 1.00 0.99

Prompt Token Budget

Mode Tokens
SRE 746
Security 639

Baseline Regressions

None detected (0 regressions, 0 improvements, 19 unchanged)

Changes since v2.6.0

Features

  • Prometheus /metrics endpoint — Token usage, estimated USD cost, investigation budget, scanner runs, autofix outcomes exposed as Prometheus counters/gauges for alerting via cluster monitoring stack
  • Budget API (GET /analytics/budget) — Real-time investigation budget (used/remaining) and optional cost budget status
  • Cost Forecast — 30-day projected spend based on last 7 days of daily token totals in /analytics/cost
  • Cost Budget Enforcement — Optional daily dollar-amount cap (PULSE_AGENT_COST_BUDGET_USD) pauses investigations when exceeded
  • ServiceMonitor Helm template — Prometheus Operator scraping support (metrics.serviceMonitor.enabled)
  • observability.py — Centralized Prometheus metrics registry with record_token_metrics() helper

Fixes

  • Exclude resolved items from Needs Attention list and count
  • Atomic claim, trend degraded finding, MCP shutdown race
  • Inbox dedup — reopen recently-resolved items instead of creating duplicates
  • Auto-resolve inbox items when all referenced resources are gone
  • Inbox resolution falls back to correlation_key when finding_id misses
  • MCP toolset 'observability' → 'metrics' + 'openshift'
  • disconnect_all unregisters tools, clear _mcp_shutdown on restart

New Config

Variable Default Description
PULSE_AGENT_COST_BUDGET_USD 0 (disabled) Daily cost budget in USD
PULSE_AGENT_COST_BUDGET_WARNING_PCT 80 Warning threshold percentage

Tests

  • 12 new observability tests
  • Total: 2372 backend tests, 2021 frontend tests