{"record":{"id":"df5709ee54389b71","repo":"Fission-AI/OpenSpec","slug":"store-path-missing","errorCode":"store_path_missing","errorMessage":"Store path does not exist: ${storeRoot}","messagePattern":"Store path does not exist: (.+?)","errorType":"error_code","errorClass":"StoreError","httpStatus":null,"severity":"error","filePath":"src/core/store/operations.ts","lineNumber":744,"sourceCode":"  }\n}\n\nexport async function setupStore(\n  input: SetupStoreInput\n): Promise<StoreMutationResult> {\n  return setupPreparedStore(await prepareStoreSetup(input), {\n    initGit: input.initGit,\n  });\n}\n\nexport async function registerExistingStore(\n  input: RegisterExistingStoreInput\n): Promise<StoreMutationResult> {\n  const storeRoot = resolveRegisterRoot(input.path);\n  const kind = await pathKind(storeRoot);\n\n  if (kind === 'missing') {\n    throw new StoreError(\n      `Store path does not exist: ${storeRoot}`,\n      'store_path_missing',\n      {\n        target: 'store.root',\n        fix: 'Clone or create the store folder before registering it.',\n      }\n    );\n  }\n\n  if (kind !== 'directory') {\n    throw new StoreError(\n      `Store path is not a directory: ${storeRoot}`,\n      'store_path_not_directory',\n      {\n        target: 'store.root',\n        fix: 'Pass an existing store directory.',\n      }\n    );","sourceCodeStart":726,"sourceCodeEnd":762,"githubUrl":"https://github.com/Fission-AI/OpenSpec/blob/6926ccb18afa4ff621112813e9968334576ee11a/src/core/store/operations.ts#L726-L762","documentation":"Error \"Store path does not exist: ${storeRoot}\" thrown in Fission-AI/OpenSpec.","triggerScenarios":"Thrown at src/core/store/operations.ts:744 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"}