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
Thrown by assertNotConfigOnlyPointerRoot when the target folder holds a valid store: pointer to an external store. Such a folder delegates its planning to the referenced store and is not itself a store root, so it cannot be registered or set up as one.
Solutions
- Register the referenced store path (the pointer value) instead of this folder
- Remove the store: pointer from the config if this folder should become its own store root
Defensive patterns
Strategy: validation
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.
Appendix: 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)