Fission-AI/OpenSpec · error · StoreError
invalid_store_id
invalid_store_id
Error message
${folderProblem} What it means
Error "${folderProblem}" thrown in Fission-AI/OpenSpec.
Source
Thrown at src/core/store/foundation.ts:99
export function getStoreRegistryPath(options: StorePathOptions = {}): string {
return joinStorePath(getStoresDir(options), STORE_REGISTRY_FILE_NAME);
}
export function getStoreMetadataDir(storeRoot: string): string {
return joinStorePath(storeRoot, STORE_METADATA_DIR_NAME);
}
export function getStoreMetadataPath(storeRoot: string): string {
return joinStorePath(
getStoreMetadataDir(storeRoot),
STORE_METADATA_FILE_NAME
);
}
export function validateStoreId(id: string): string {
const folderProblem = folderStyleNameProblem(id, 'Store id');
if (folderProblem !== null) {
throw new StoreError(folderProblem, 'invalid_store_id', {
target: 'store.id',
fix: KEBAB_ID_FIX,
});
}
if (!isKebabId(id)) {
throw new StoreError(
`Store id ${KEBAB_ID_DESCRIPTION}`,
'invalid_store_id',
{
target: 'store.id',
fix: KEBAB_ID_FIX,
}
);
}
return id;
}View on GitHub (pinned to 6926ccb18a)
When it happens
Trigger: Thrown at src/core/store/foundation.ts:99 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/a8d04b535c23622e.
Report an issue: GitHub.