{"record":{"id":"d767a782f4408875","repo":"Fission-AI/OpenSpec","slug":"unknown-field-s-in-operations-operationid","errorCode":null,"errorMessage":"Unknown field(s) in 'operations.${operationId}': ${unknownFields.join(', ')}. Supported fields: guidance","messagePattern":"Unknown field\\(s\\) in 'operations\\.(.+?)': (.+?)\\. Supported fields: guidance","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/core/project-config.ts","lineNumber":152,"sourceCode":"    if (!supported.has(operationId)) {\n      console.warn(\n        `Unknown operation ID '${operationId}' in config. Supported operation IDs: ${OPERATION_IDS.join(', ')}`\n      );\n      continue;\n    }\n\n    const typedOperationId = operationId as OperationId;\n    if (!value || typeof value !== 'object' || Array.isArray(value)) {\n      console.warn(\n        `Invalid 'operations.${operationId}' field in config (must be object), ignoring this operation`\n      );\n      continue;\n    }\n\n    const operation = value as Record<string, unknown>;\n    const unknownFields = Object.keys(operation).filter((field) => field !== 'guidance');\n    if (unknownFields.length > 0) {\n      console.warn(\n        `Unknown field(s) in 'operations.${operationId}': ${unknownFields.join(', ')}. Supported fields: guidance`\n      );\n    }\n\n    if (operation.guidance === undefined) {\n      continue;\n    }\n\n    const guidanceResult = z.array(z.string()).safeParse(operation.guidance);\n    if (!guidanceResult.success) {\n      console.warn(\n        `Guidance for operation '${operationId}' must be an array of strings, ignoring this operation's guidance`\n      );\n      continue;\n    }\n\n    const guidance = guidanceResult.data.filter((entry) => entry.length > 0);\n    if (guidance.length < guidanceResult.data.length) {","sourceCodeStart":134,"sourceCodeEnd":170,"githubUrl":"https://github.com/Fission-AI/OpenSpec/blob/6926ccb18afa4ff621112813e9968334576ee11a/src/core/project-config.ts#L134-L170","documentation":"Error \"Unknown field(s) in 'operations.${operationId}': ${unknownFields.join(', ')}. Supported fields: guidance\" thrown in Fission-AI/OpenSpec.","triggerScenarios":"Thrown at src/core/project-config.ts:152 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6926ccb18afa4ff621112813e9968334576ee11a","analyzedAt":"2026-08-25T12:29:45.729Z","schemaVersion":2},"datasetVersion":"2026-08-25T16:17:27.014Z"}