ruvnet/ruflo · error
BUDGET_EXCEED
BUDGET_EXCEED
Error message
Budget field "${key}" exceeds maximum (${value} > ${max}) What it means
validateBudgets() found a budget field exceeding its MAX_BUDGET_LIMITS sanity cap (e.g. absurd token or memory-write ceilings). BUDGET_EXCEED error: the manifest asks for more than the platform allows; value and max are both reported.
Source
Thrown at v3/@claude-flow/guidance/src/manifest-validator.ts:454
field: `budgets.${key}`,
message: `Budget field "${key}" must be a number`,
severity: 'error',
});
continue;
}
if (value < 0) {
errors.push({
code: 'BUDGET_NEGATIVE',
field: `budgets.${key}`,
message: `Budget field "${key}" must not be negative (got ${value})`,
severity: 'error',
});
}
if (value > max) {
errors.push({
code: 'BUDGET_EXCEED',
field: `budgets.${key}`,
message: `Budget field "${key}" exceeds maximum (${value} > ${max})`,
severity: 'error',
});
}
}
return errors;
}
/**
* Validate tool policy: network allowlist must not contain wildcards
* unless the cell explicitly has Bash (privileged).
*/
validateToolPolicy(toolPolicy: AgentCellManifest['toolPolicy']): ValidationError[] {
const errors: ValidationError[] = [];
if (!toolPolicy) {View on GitHub (pinned to fa13ee4ad6)
Solutions
- Reduce the input size/depth below the documented limit, or batch the input into smaller chunks.
- Validate the limit before processing and report the measured versus allowed value to the caller.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at v3/@claude-flow/guidance/src/manifest-validator.ts:454 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ruvnet/ruflo@fa13ee4ad6 (2026-08-18).
Data as JSON: /api/errors/96246d1237ed0d1c.
Report an issue: GitHub.