{"record":{"id":"6db0cddf59d9a9a9","repo":"ruvnet/ruflo","slug":"missing-field","errorCode":"MISSING_FIELD","errorMessage":"Budget configuration is required","messagePattern":"Budget configuration is required","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"v3/@claude-flow/guidance/src/manifest-validator.ts","lineNumber":401,"sourceCode":"      if (policy.preferredLane !== 'native') {\n        return policy.preferredLane;\n      }\n      return 'sandboxed';\n    }\n\n    // High risk gets wasm\n    return 'wasm';\n  }\n\n  /**\n   * Validate budget values: no negatives, within sanity limits.\n   */\n  validateBudgets(budgets: AgentCellManifest['budgets']): ValidationError[] {\n    const errors: ValidationError[] = [];\n\n    if (!budgets) {\n      errors.push({\n        code: 'MISSING_FIELD',\n        field: 'budgets',\n        message: 'Budget configuration is required',\n        severity: 'error',\n      });\n      return errors;\n    }\n\n    const budgetFields: Array<{\n      key: keyof typeof budgets;\n      max: number;\n    }> = [\n      { key: 'maxWallClockSeconds', max: MAX_BUDGET_LIMITS.maxWallClockSeconds },\n      { key: 'maxToolCalls', max: MAX_BUDGET_LIMITS.maxToolCalls },\n      { key: 'maxBytesEgress', max: MAX_BUDGET_LIMITS.maxBytesEgress },\n      { key: 'maxTokensInMtok', max: MAX_BUDGET_LIMITS.maxTokensInMtok },\n      { key: 'maxTokensOutMtok', max: MAX_BUDGET_LIMITS.maxTokensOutMtok },\n      { key: 'maxMemoryWrites', max: MAX_BUDGET_LIMITS.maxMemoryWrites },\n    ];","sourceCodeStart":383,"sourceCodeEnd":419,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/@claude-flow/guidance/src/manifest-validator.ts#L383-L419","documentation":"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.","triggerScenarios":"Thrown at v3/@claude-flow/guidance/src/manifest-validator.ts:401 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide all required parameters listed in the message.","Validate required fields before dispatch and report the full set of missing fields at once."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa13ee4ad60ac2090b1480656eb233521790d640","analyzedAt":"2026-08-18T21:34:22.708Z","contentChangedAt":"2026-08-18T21:34:22.708Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}