{"record":{"id":"a6cd9da2a3bbaaae","repo":"Fission-AI/OpenSpec","slug":"store-remove-cancelled","errorCode":"store_remove_cancelled","errorMessage":"Store remove cancelled.","messagePattern":"Store remove cancelled\\.","errorType":"exception","errorClass":"StoreError","httpStatus":null,"severity":"error","filePath":"src/commands/store.ts","lineNumber":354,"sourceCode":"  if (options.json || !isInteractive()) {\n    throw new StoreError(\n      'Pass --yes to delete store files non-interactively.',\n      'store_remove_confirmation_required',\n      {\n        target: 'store.root',\n        fix: `openspec store remove ${id} --yes`,\n      }\n    );\n  }\n\n  const { confirm } = await import('@inquirer/prompts');\n  const confirmed = await confirm({\n    message: `Delete local store folder ${formatPathForHuman(root)}?`,\n    default: false,\n  });\n\n  if (!confirmed) {\n    throw new StoreError(\n      'Store remove cancelled.',\n      'store_remove_cancelled',\n      {\n        target: 'store.root',\n        fix: 'Run \"openspec store unregister <id>\" if you only want to forget the local registration.',\n      }\n    );\n  }\n}\n\nfunction isRegisterIdentityConfirmationError(error: unknown): boolean {\n  return (\n    error instanceof StoreError &&\n    error.diagnostic.code === 'store_register_identity_confirmation_required'\n  );\n}\n\nasync function confirmRegisterConversion(error: unknown): Promise<void> {","sourceCodeStart":336,"sourceCodeEnd":372,"githubUrl":"https://github.com/Fission-AI/OpenSpec/blob/6926ccb18afa4ff621112813e9968334576ee11a/src/commands/store.ts#L336-L372","documentation":"Error \"Store remove cancelled.\" thrown in Fission-AI/OpenSpec.","triggerScenarios":"Thrown at src/commands/store.ts:354 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6926ccb18afa4ff621112813e9968334576ee11a","analyzedAt":"2026-08-25T12:29:45.729Z","schemaVersion":2},"datasetVersion":"2026-08-25T16:17:27.014Z"}