{"record":{"id":"e60694a72698d521","repo":"Fission-AI/OpenSpec","slug":"warning-ignoring-invalid-store-field-in-config","errorCode":null,"errorMessage":"Warning: ignoring invalid store: field in ${configPathForWarnings(projectRoot)} (must be a single store id string).","messagePattern":"Warning: ignoring invalid store: field in (.+?) \\(must be a single store id string\\)\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/core/project-config.ts","lineNumber":373,"sourceCode":"\n    const operations = parseOperations(raw.operations);\n    if (operations) {\n      config.operations = operations;\n    }\n\n    const references = parseDeclarationList(raw.references);\n    if (references) {\n      config.references = references;\n    }\n\n    // Parse store pointer field: a string, or dropped with a warning.\n    // (Root resolution does NOT use this parse — it uses readStorePointer\n    // below, which errors on malformed pointers instead of dropping.)\n    if (raw.store !== undefined) {\n      if (typeof raw.store === 'string') {\n        config.store = raw.store;\n      } else {\n        console.warn(\n          `Warning: ignoring invalid store: field in ${configPathForWarnings(projectRoot)} (must be a single store id string).`\n        );\n      }\n    }\n\n    // Parse githubCopilot preferences (only cloudAgent is recognized today).\n    if (raw.githubCopilot !== undefined) {\n      if (\n        typeof raw.githubCopilot === 'object' &&\n        raw.githubCopilot !== null &&\n        !Array.isArray(raw.githubCopilot)\n      ) {\n        const cloudAgent = (raw.githubCopilot as Record<string, unknown>).cloudAgent;\n        if (typeof cloudAgent === 'boolean') {\n          config.githubCopilot = { cloudAgent };\n        } else if (cloudAgent !== undefined) {\n          console.warn(`Invalid 'githubCopilot.cloudAgent' field in config (must be a boolean)`);\n        }","sourceCodeStart":355,"sourceCodeEnd":391,"githubUrl":"https://github.com/Fission-AI/OpenSpec/blob/6926ccb18afa4ff621112813e9968334576ee11a/src/core/project-config.ts#L355-L391","documentation":"Error \"Warning: ignoring invalid store: field in ${configPathForWarnings(projectRoot)} (must be a single store id string).\" thrown in Fission-AI/OpenSpec.","triggerScenarios":"Thrown at src/core/project-config.ts:373 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"}