Skip to content

feat: Cost alerting thresholds #20

@Abernaughty

Description

@Abernaughty

Summary

Add system-level cost alerting beyond per-task token budgets. Track daily/monthly spend across all orchestrator runs with configurable thresholds and Slack/email alerts.

Context

Per the Final Architecture (Section 6), cost alerting thresholds should include daily and monthly spend limits, per-agent cost tracking, and automatic workflow pause when budgets are exhausted.

Acceptance Criteria

  • Daily and monthly spend thresholds configurable in .env or config file
  • Per-agent cost tracking (Architect, Lead Dev, QA breakdown)
  • Slack/email alert when thresholds are hit (webhook-based)
  • Budget exhaustion auto-pauses the workflow
  • Cost data persisted to local JSON or SQLite for historical tracking
  • Dashboard integration (issue feat: SvelteKit Dashboard v1 (read-only + memory approvals) #17) reads this data for the Cost Tracker panel

Effort

Small (1 session)

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status
    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions