{"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":"Warning from readProjectConfig: the 'store' pointer field is present but not a single string, so it is dropped for config purposes. Note root resolution does not use this lenient parse — readStorePointer will still hard-error on the same malformed pointer.","triggerScenarios":"Thrown at src/core/project-config.ts:373 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set 'store' to a single store id string","Remove the store field if this project does not use an external store"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6926ccb18afa4ff621112813e9968334576ee11a","analyzedAt":"2026-08-25T12:29:45.729Z","contentChangedAt":"2026-08-25T12:29:45.729Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}