Skip to content

feat(rules): add forecasted budget breach guardrail - #179

Merged
dannysteenman merged 1 commit into
mainfrom
codex/forecasted-budget-breach
Aug 30, 2026
Merged

feat(rules): add forecasted budget breach guardrail#179
dannysteenman merged 1 commit into
mainfrom
codex/forecasted-budget-breach

Conversation

@axonstone

Copy link
Copy Markdown
Contributor

Summary

CloudBurn can now flag a budget whose same-unit forecast is above its limit while actual spend hasn't crossed the limit yet. It doesn't emit the forecast finding after the budget has already breached, because COSTGUARDRAILS-3 covers that state.

This PR reuses the budget data CloudBurn already loads, so it doesn't add AWS calls or IAM permissions. Per-budget evaluation evidence is wired to the same resource set as the existing exceeded-budget rule.

Notification and subscriber coverage isn't included in this slice and remains open in #167.

Scope

  • cloudburn (cli)
  • @cloudburn/sdk
  • @cloudburn/rules
  • docs/community files

Release Notes

  • Added a .changeset/*.md file for published package changes
  • No published package changes in this PR

Verification

  • pnpm lint
  • pnpm typecheck
  • pnpm test
  • pnpm build
  • pnpm verify
  • pnpm docs:test

Boundary Checks

  • No engine/parser/provider logic added to @cloudburn/rules
  • CLI delegates scan logic to SDK
  • README/CONTRIBUTING/docs updated when behavior changed

Related Issues

Part of #167.

@axonstone axonstone added the enhancement New feature or request label Aug 30, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 30, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-30T19:40:41.781087Z a5beb30 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@axonstone

Copy link
Copy Markdown
Contributor Author

Re: comment 5470824706

No action required: this is a review status update, not a code finding.

@towardsthecloud-ci

Copy link
Copy Markdown

roborev: Combined Review (a5beb30)

No issues found.


Reviewers: 2 done | Synthesis: claude-code | Total: 38s

@dannysteenman
dannysteenman merged commit 442bf8b into main Aug 30, 2026
8 checks passed
@dannysteenman
dannysteenman deleted the codex/forecasted-budget-breach branch August 30, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants