Fission-AI/OpenSpec · error · StoreError
store_remove_cancelled
store_remove_cancelled
Error message
Store remove cancelled.
What it means
Error "Store remove cancelled." thrown in Fission-AI/OpenSpec.
Source
Thrown at src/commands/store.ts:354
if (options.json || !isInteractive()) {
throw new StoreError(
'Pass --yes to delete store files non-interactively.',
'store_remove_confirmation_required',
{
target: 'store.root',
fix: `openspec store remove ${id} --yes`,
}
);
}
const { confirm } = await import('@inquirer/prompts');
const confirmed = await confirm({
message: `Delete local store folder ${formatPathForHuman(root)}?`,
default: false,
});
if (!confirmed) {
throw new StoreError(
'Store remove cancelled.',
'store_remove_cancelled',
{
target: 'store.root',
fix: 'Run "openspec store unregister <id>" if you only want to forget the local registration.',
}
);
}
}
function isRegisterIdentityConfirmationError(error: unknown): boolean {
return (
error instanceof StoreError &&
error.diagnostic.code === 'store_register_identity_confirmation_required'
);
}
async function confirmRegisterConversion(error: unknown): Promise<void> {View on GitHub (pinned to 6926ccb18a)
When it happens
Trigger: Thrown at src/commands/store.ts:354 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/a6cd9da2a3bbaaae.
Report an issue: GitHub.