{"record":{"id":"80cf229861da60fa","repo":"Fission-AI/OpenSpec","slug":"store-root-pointer-declared","errorCode":"store_root_pointer_declared","errorMessage":"This repo's planning is externalized to store '${pointer.value}' (${pointer.filePath}); it is not itself a store root.","messagePattern":"This repo's planning is externalized to store '(.+?)' \\((.+?)\\); it is not itself a store root\\.","errorType":"error_code","errorClass":"StoreError","httpStatus":null,"severity":"error","filePath":"src/core/store/operations.ts","lineNumber":243,"sourceCode":"}\n\nfunction assertNotConfigOnlyPointerRoot(storeRoot: string): void {\n  const { hasPlanningShape, pointer } = classifyOpenSpecDir(storeRoot);\n  if (hasPlanningShape || pointer.filePath === null) return;\n\n  if (pointer.malformed) {\n    throw new StoreError(\n      `The store declaration in ${pointer.filePath} is invalid (${storePointerProblem(pointer.malformed)}).`,\n      'invalid_store_pointer',\n      {\n        target: 'store.pointer',\n        fix: `Fix or remove the store: line in ${pointer.filePath} before registering this path as a store.`,\n      }\n    );\n  }\n\n  if (pointer.value !== undefined) {\n    throw new StoreError(\n      `This repo's planning is externalized to store '${pointer.value}' (${pointer.filePath}); it is not itself a store root.`,\n      'store_root_pointer_declared',\n      {\n        target: 'store.pointer',\n        fix: 'Register the checkout for the declared store, or remove the store: line first to convert this repo into a local store root.',\n      }\n    );\n  }\n}\n\nfunction createdPath(relativePath: string, absolutePath: string, kind: CreatedPathLedgerEntry['kind']): CreatedPathLedgerEntry {\n  return {\n    relativePath,\n    absolutePath,\n    kind,\n  };\n}\n","sourceCodeStart":225,"sourceCodeEnd":261,"githubUrl":"https://github.com/Fission-AI/OpenSpec/blob/6926ccb18afa4ff621112813e9968334576ee11a/src/core/store/operations.ts#L225-L261","documentation":"Error \"This repo's planning is externalized to store '${pointer.value}' (${pointer.filePath}); it is not itself a store root.\" thrown in Fission-AI/OpenSpec.","triggerScenarios":"Thrown at src/core/store/operations.ts:243 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"}