{"record":{"id":"987f24d961e20b25","repo":"Fission-AI/OpenSpec","slug":"store-not-found","errorCode":"store_not_found","errorMessage":"Unknown store '${selectedId}'.","messagePattern":"Unknown store '(.+?)'\\.","errorType":"error_code","errorClass":"StoreError","httpStatus":null,"severity":"error","filePath":"src/core/store/operations.ts","lineNumber":1200,"sourceCode":"\n  return {\n    id: entry.id,\n    root,\n    metadataPath,\n    openspecRoot,\n    metadata,\n    git,\n    diagnostics,\n  };\n}\n\nexport async function doctorStores(id?: string): Promise<StoreDoctorResult> {\n  const selectedId = id !== undefined ? validateStoreId(id) : undefined;\n  const registry = await readStoreRegistryState();\n\n  if (!registry) {\n    if (selectedId !== undefined) {\n      throw new StoreError(`Unknown store '${selectedId}'.`, 'store_not_found', {\n        target: 'store.id',\n        fix: 'Run openspec store list to see registered stores.',\n      });\n    }\n\n    return { stores: [], diagnostics: [] };\n  }\n\n  const entries = listStoreRegistryEntries(registry);\n  const selected = selectedId\n    ? entries.filter((entry) => entry.id === selectedId)\n    : entries;\n\n  if (selectedId && selected.length === 0) {\n    throw new StoreError(`Unknown store '${selectedId}'.`, 'store_not_found', {\n      target: 'store.id',\n      fix: 'Run openspec store list to see registered stores.',\n    });","sourceCodeStart":1182,"sourceCodeEnd":1218,"githubUrl":"https://github.com/Fission-AI/OpenSpec/blob/6926ccb18afa4ff621112813e9968334576ee11a/src/core/store/operations.ts#L1182-L1218","documentation":"Error \"Unknown store '${selectedId}'.\" thrown in Fission-AI/OpenSpec.","triggerScenarios":"Thrown at src/core/store/operations.ts:1200 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"}