Skip to content

fix(bench): reject negative TaskArgs.extra_tool_calls - #869

Open
Bartok9 wants to merge 1 commit into
RobotecAI:mainfrom
Bartok9:aerial/fix-taskargs-extra-tool-calls-nonneg
Open

fix(bench): reject negative TaskArgs.extra_tool_calls#869
Bartok9 wants to merge 1 commit into
RobotecAI:mainfrom
Bartok9:aerial/fix-taskargs-extra-tool-calls-nonneg

Conversation

@Bartok9

@Bartok9 Bartok9 commented Aug 1, 2026

Copy link
Copy Markdown

Negative extra_tool_calls could inflate tool-calling pass budgets. Validate >= 0 and reject bool before coercion.

AI-assisted; human-reviewed.

Claim: bartok
Operator: bartok
Campaign: aerial-drone

Fail-closed validation so pass budgets cannot be inflated with negative
extra tool-call allowances. Reject bool (int subclass) before coercion.

Signed-off-by: Bartok9 <183148895+Bartok9@users.noreply.github.com>
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.

2 participants