Skip to content

[codex] Add monthly budget forecast#4

Merged
majiayu000 merged 1 commit intomainfrom
codex/monthly-budget-forecast
Apr 27, 2026
Merged

[codex] Add monthly budget forecast#4
majiayu000 merged 1 commit intomainfrom
codex/monthly-budget-forecast

Conversation

@majiayu000
Copy link
Copy Markdown
Owner

Summary

  • add --monthly-budget <amount> for monthly reports
  • include monthly budget forecast metadata in JSON and CSV output
  • print a monthly budget forecast table for terminal output
  • validate positive budgets, monthly-only usage, and visible cost output

Budget projection uses --until as the as-of date when provided; otherwise it uses today's date in the selected timezone. Amounts are USD by default, or the displayed currency when --currency is set.

Validation

  • cargo fmt --check
  • cargo test --locked
  • git diff --check

Note: cargo clippy --all-targets -- -D warnings is still blocked by existing unrelated warnings in files outside this feature. New clippy issues introduced by this change were fixed before PR creation.

@majiayu000 majiayu000 force-pushed the codex/monthly-budget-forecast branch from 4b7d65d to 2fedf4f Compare April 27, 2026 09:08
@majiayu000 majiayu000 marked this pull request as ready for review April 27, 2026 09:09
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@majiayu000 majiayu000 merged commit 1dd837e into main Apr 27, 2026
2 checks passed
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