Fission-AI/OpenSpec · error

Warning: ignoring invalid store: field in ${configPathForWar

Error message

Warning: ignoring invalid store: field in ${configPathForWarnings(projectRoot)} (must be a single store id string).

What it means

Error "Warning: ignoring invalid store: field in ${configPathForWarnings(projectRoot)} (must be a single store id string)." thrown in Fission-AI/OpenSpec.

Source

Thrown at src/core/project-config.ts:373

    const operations = parseOperations(raw.operations);
    if (operations) {
      config.operations = operations;
    }

    const references = parseDeclarationList(raw.references);
    if (references) {
      config.references = references;
    }

    // Parse store pointer field: a string, or dropped with a warning.
    // (Root resolution does NOT use this parse — it uses readStorePointer
    // below, which errors on malformed pointers instead of dropping.)
    if (raw.store !== undefined) {
      if (typeof raw.store === 'string') {
        config.store = raw.store;
      } else {
        console.warn(
          `Warning: ignoring invalid store: field in ${configPathForWarnings(projectRoot)} (must be a single store id string).`
        );
      }
    }

    // Parse githubCopilot preferences (only cloudAgent is recognized today).
    if (raw.githubCopilot !== undefined) {
      if (
        typeof raw.githubCopilot === 'object' &&
        raw.githubCopilot !== null &&
        !Array.isArray(raw.githubCopilot)
      ) {
        const cloudAgent = (raw.githubCopilot as Record<string, unknown>).cloudAgent;
        if (typeof cloudAgent === 'boolean') {
          config.githubCopilot = { cloudAgent };
        } else if (cloudAgent !== undefined) {
          console.warn(`Invalid 'githubCopilot.cloudAgent' field in config (must be a boolean)`);
        }

View on GitHub (pinned to 6926ccb18a)

When it happens

Trigger: Thrown at src/core/project-config.ts:373 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of Fission-AI/OpenSpec@6926ccb18a (2026-08-25). Data as JSON: /api/errors/e60694a72698d521. Report an issue: GitHub.