Skip to content

fix: ensure --budget alias properly overrides yaml config#63

Merged
Keesan12 merged 1 commit into
mainfrom
fix/budget-alias-override
May 23, 2026
Merged

fix: ensure --budget alias properly overrides yaml config#63
Keesan12 merged 1 commit into
mainfrom
fix/budget-alias-override

Conversation

@Keesan12
Copy link
Copy Markdown
Owner

When a martin.config.yaml file is present, the --budget\ CLI alias was ignored because the resolver explicitly only checked for --budget-usd. This adds --budget\ to the check to ensure the CLI flag properly overrides the file defaults.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the resolveGuardrails function in packages/cli/src/index.ts to include a check for the --budget flag alongside the existing --budget-usd flag when assigning the USD budget limit. I have no feedback to provide as no review comments were submitted.

@Keesan12 Keesan12 merged commit 7f7afe2 into main May 23, 2026
3 checks passed
@Keesan12 Keesan12 deleted the fix/budget-alias-override branch May 23, 2026 00:05
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