Skip to content

fix: reject compact budget flags in analyze mode - #30

Merged
royalpinto007 merged 1 commit into
AgentPostmortem:mainfrom
Rayan-and-beyond:fix/25-cli-budget-flags
Sep 16, 2026
Merged

royalpinto007 merged 1 commit into
AgentPostmortem:mainfrom
Rayan-and-beyond:fix/25-cli-budget-flags

Conversation

@Rayan-and-beyond

Copy link
Copy Markdown
Contributor

Fixes #25

--max and --max-tool now fail clearly when used without --compact, instead of being silently ignored.

Validation:

  • fail-first CLI regression reproduced both flags exiting 0 before the fix
  • node --test test/cli.test.mjs: 11 passed
  • npm test: 27 passed
  • git diff --check

@royalpinto007
royalpinto007 merged commit cef71db into AgentPostmortem:main Sep 16, 2026
1 check 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.

CLI silently ignores --max/--max-tool without --compact

2 participants