Fission-AI/OpenSpec · error · StoreError

invalid_store_pointer

invalid_store_pointer

Error message

The store declaration in ${pointer.filePath} is invalid (${storePointerProblem(pointer.malformed)}).

What it means

Error "The store declaration in ${pointer.filePath} is invalid (${storePointerProblem(pointer.malformed)})." thrown in Fission-AI/OpenSpec.

Source

Thrown at src/core/store/operations.ts:232

}

function alreadyRegisteredDiagnostic(id: string): StoreDiagnostic {
  return makeStoreDiagnostic(
    'info',
    'store_already_registered',
    `Store '${id}' is already registered at this path.`,
    {
      target: 'store.registry',
    }
  );
}

function assertNotConfigOnlyPointerRoot(storeRoot: string): void {
  const { hasPlanningShape, pointer } = classifyOpenSpecDir(storeRoot);
  if (hasPlanningShape || pointer.filePath === null) return;

  if (pointer.malformed) {
    throw new StoreError(
      `The store declaration in ${pointer.filePath} is invalid (${storePointerProblem(pointer.malformed)}).`,
      'invalid_store_pointer',
      {
        target: 'store.pointer',
        fix: `Fix or remove the store: line in ${pointer.filePath} before registering this path as a store.`,
      }
    );
  }

  if (pointer.value !== undefined) {
    throw new StoreError(
      `This repo's planning is externalized to store '${pointer.value}' (${pointer.filePath}); it is not itself a store root.`,
      'store_root_pointer_declared',
      {
        target: 'store.pointer',
        fix: 'Register the checkout for the declared store, or remove the store: line first to convert this repo into a local store root.',
      }
    );

View on GitHub (pinned to 6926ccb18a)

When it happens

Trigger: Thrown at src/core/store/operations.ts:232 when the library encounters an invalid state.

Common situations: See trigger scenarios.

Understand the failure class


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