{"record":{"id":"943b599bde89f573","repo":"Fission-AI/OpenSpec","slug":"store-register-identity-confirmation-required","errorCode":"store_register_identity_confirmation_required","errorMessage":"Turn this OpenSpec root into store '${id}'?","messagePattern":"Turn this OpenSpec root into store '(.+?)'\\?","errorType":"error_code","errorClass":"StoreError","httpStatus":null,"severity":"error","filePath":"src/core/store/operations.ts","lineNumber":815,"sourceCode":"    const registeredElsewhere =\n      currentRegistry?.stores?.[metadata.id] !== undefined &&\n      !isRegisteredAtPath(currentRegistry, metadata.id, storeRoot);\n\n    throw new StoreError(\n      `Store metadata id '${metadata.id}' does not match --id '${explicitId}'. The id comes from the store's committed .openspec-store/store.yaml.`,\n      'store_metadata_id_mismatch',\n      {\n        target: 'store.id',\n        fix: registeredElsewhere\n          ? `One checkout per store id is supported, and '${metadata.id}' is already registered. Run openspec store unregister ${metadata.id} first to register this checkout instead.`\n          : `Use --id ${metadata.id} or register a different folder.`,\n      }\n    );\n  }\n\n  const id = metadata?.id ?? explicitId ?? inferStoreIdFromPath(storeRoot);\n  if (!metadata && !input.allowCreateIdentity) {\n    throw new StoreError(\n      `Turn this OpenSpec root into store '${id}'?`,\n      'store_register_identity_confirmation_required',\n      {\n        target: 'store.metadata',\n        fix: `Run interactively or pass --yes to create ${getStoreMetadataPath(storeRoot)}.`,\n      }\n    );\n  }\n\n  const backend = await resolveBackendWithObservedOrigin(storeRoot);\n  const registry = await readStoreRegistryState();\n  assertNoRegisteredStoreConflict(registry, id, backend);\n  const createdFiles: string[] = [];\n  const isRepository = await isGitRepositoryAtRoot(storeRoot);\n\n  const registered = await commitStoreRegistration({\n    id,\n    backend,","sourceCodeStart":797,"sourceCodeEnd":833,"githubUrl":"https://github.com/Fission-AI/OpenSpec/blob/6926ccb18afa4ff621112813e9968334576ee11a/src/core/store/operations.ts#L797-L833","documentation":"Error \"Turn this OpenSpec root into store '${id}'?\" thrown in Fission-AI/OpenSpec.","triggerScenarios":"Thrown at src/core/store/operations.ts:815 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"}