{"record":{"id":"f509676bdcfffb93","repo":"Fission-AI/OpenSpec","slug":"unknown-store","errorCode":"unknown_store","errorMessage":"Unknown store '${id}'. Registered stores: ${entries.map((candidate) => candidate.id).join(', ')}.","messagePattern":"Unknown store '(.+?)'\\. Registered stores: (.+?)\\.","errorType":"error_code","errorClass":"RootSelectionError","httpStatus":null,"severity":"error","filePath":"src/core/root-selection.ts","lineNumber":177,"sourceCode":"  } catch (error) {\n    fromStoreError(error);\n  }\n  const entries = registry ? listStoreRegistryEntries(registry) : [];\n  const entry = entries.find((candidate) => candidate.id === id);\n\n  if (!entry) {\n    if (entries.length === 0) {\n      throw new RootSelectionError(\n        `Unknown store '${id}'. No stores are registered.`,\n        'no_registered_stores',\n        {\n          target: 'store.id',\n          fix: `Run openspec store setup ${id} or openspec store register <path> first.`,\n        }\n      );\n    }\n\n    throw new RootSelectionError(\n      `Unknown store '${id}'. Registered stores: ${entries\n        .map((candidate) => candidate.id)\n        .join(', ')}.`,\n      'unknown_store',\n      {\n        target: 'store.id',\n        fix: 'Pass a registered store id, or run openspec store list.',\n      }\n    );\n  }\n\n  const storeRoot = getStoreRootForBackend(entry.backend);\n  const inspection = await inspectRegisteredStore(id, storeRoot);\n\n  switch (inspection.kind) {\n    case 'metadata_error':\n      return fromStoreError(inspection.error);\n    case 'metadata_missing':","sourceCodeStart":159,"sourceCodeEnd":195,"githubUrl":"https://github.com/Fission-AI/OpenSpec/blob/6926ccb18afa4ff621112813e9968334576ee11a/src/core/root-selection.ts#L159-L195","documentation":"Error \"Unknown store '${id}'. Registered stores: ${entries.map((candidate) => candidate.id).join(', ')}.\" thrown in Fission-AI/OpenSpec.","triggerScenarios":"Thrown at src/core/root-selection.ts:177 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"}