ruvnet/ruflo · error

MISSING_FIELD

MISSING_FIELD

Error message

Budget configuration is required

What it means

validateBudgets() found the manifest's budgets object missing entirely (null/undefined). Agent-cell manifests must declare a budget block (tokens, memory writes, etc.); its absence is a MISSING_FIELD validation error collected during manifest validation.

Source

Thrown at v3/@claude-flow/guidance/src/manifest-validator.ts:401

      if (policy.preferredLane !== 'native') {
        return policy.preferredLane;
      }
      return 'sandboxed';
    }

    // High risk gets wasm
    return 'wasm';
  }

  /**
   * Validate budget values: no negatives, within sanity limits.
   */
  validateBudgets(budgets: AgentCellManifest['budgets']): ValidationError[] {
    const errors: ValidationError[] = [];

    if (!budgets) {
      errors.push({
        code: 'MISSING_FIELD',
        field: 'budgets',
        message: 'Budget configuration is required',
        severity: 'error',
      });
      return errors;
    }

    const budgetFields: Array<{
      key: keyof typeof budgets;
      max: number;
    }> = [
      { key: 'maxWallClockSeconds', max: MAX_BUDGET_LIMITS.maxWallClockSeconds },
      { key: 'maxToolCalls', max: MAX_BUDGET_LIMITS.maxToolCalls },
      { key: 'maxBytesEgress', max: MAX_BUDGET_LIMITS.maxBytesEgress },
      { key: 'maxTokensInMtok', max: MAX_BUDGET_LIMITS.maxTokensInMtok },
      { key: 'maxTokensOutMtok', max: MAX_BUDGET_LIMITS.maxTokensOutMtok },
      { key: 'maxMemoryWrites', max: MAX_BUDGET_LIMITS.maxMemoryWrites },
    ];

View on GitHub (pinned to fa13ee4ad6)

Solutions

  1. Provide all required parameters listed in the message.
  2. Validate required fields before dispatch and report the full set of missing fields at once.
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at v3/@claude-flow/guidance/src/manifest-validator.ts:401 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/6db0cddf59d9a9a9. Report an issue: GitHub.