Fission-AI/OpenSpec · error · StoreError

store_root_pointer_declared

store_root_pointer_declared

Error message

This repo's planning is externalized to store '${pointer.value}' (${pointer.filePath}); it is not itself a store root.

What it means

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.

Source

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

}

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.',
      }
    );
  }
}

function createdPath(relativePath: string, absolutePath: string, kind: CreatedPathLedgerEntry['kind']): CreatedPathLedgerEntry {
  return {
    relativePath,
    absolutePath,
    kind,
  };
}

View on GitHub (pinned to 6926ccb18a)

When it happens

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

Common situations: See trigger scenarios.


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