Fission-AI/OpenSpec · error · RootSelectionError
invalid_store_pointer
invalid_store_pointer
Error message
Invalid store declaration in ${pointer.filePath}: ${problem}. What it means
Error "Invalid store declaration in ${pointer.filePath}: ${problem}." thrown in Fission-AI/OpenSpec.
Source
Thrown at src/core/root-selection.ts:317
async function resolveNearestOrDeclaredRoot(
nearestRoot: string,
globalDataDir?: string
): Promise<ResolvedOpenSpecRoot> {
const { hasPlanningShape, pointer } = classifyOpenSpecDir(nearestRoot);
if (hasPlanningShape) {
if (pointer.value !== undefined) {
console.error(
`Warning: ${pointer.filePath} declares store '${pointer.value}', but this directory is a real OpenSpec root; the declaration is ignored.`
);
}
return makeRoot(nearestRoot, 'nearest');
}
if (pointer.malformed) {
const problem = storePointerProblem(pointer.malformed);
throw new RootSelectionError(
`Invalid store declaration in ${pointer.filePath}: ${problem}.`,
'invalid_store_pointer',
{
target: 'store.pointer',
fix:
pointer.malformed === 'unparseable'
? `Fix the YAML syntax in ${pointer.filePath}.`
: `Edit ${pointer.filePath} so the store key is a registered store id, or remove it.`,
}
);
}
if (pointer.value === undefined) {
return makeRoot(nearestRoot, 'nearest');
}
try {
return await resolveStoreRoot(pointer.value, globalDataDir, 'declared');View on GitHub (pinned to 6926ccb18a)
When it happens
Trigger: Thrown at src/core/root-selection.ts:317 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/5b3841adb3944f9c.
Report an issue: GitHub.