{"record":{"id":"6eb7d221ff075a5b","repo":"Fission-AI/OpenSpec","slug":"spec-inputs-for-p-update-id-changed-before-ar-6eb7d2","errorCode":null,"errorMessage":"Spec inputs for '${p.update.id}' changed before archive could retire them.","messagePattern":"Spec inputs for '(.+?)' changed before archive could retire them\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"src/core/archive.ts","lineNumber":1788,"sourceCode":"              mainSpecsDir,\n              {\n                silent: json,\n                deferDelete: true,\n                beforeMutate: async () => {\n                  if (retirementAuthorizationFingerprint === undefined) {\n                    throw new Error(\n                      `The ${METADATA_FILENAME} retirement authorization is unavailable.`\n                    );\n                  }\n                  await assertRetirementAuthorization(\n                    changeDir,\n                    retirementAuthorizationFingerprint\n                  );\n                  if (\n                    (await fingerprintSpecInputs(p.update)) !==\n                    `${p.sourceFingerprint}\\n${p.targetFingerprint}`\n                  ) {\n                    throw new Error(\n                      `Spec inputs for '${p.update.id}' changed before archive could retire them.`\n                    );\n                  }\n                  mutationAttempts.add(p.update.target);\n                },\n                verifyDisplaced: async (displacedPath) => {\n                  await assertRetirementAuthorization(\n                    changeDir,\n                    retirementAuthorizationFingerprint!\n                  );\n                  if (\n                    (await fingerprintMovablePath(displacedPath)) !==\n                    p.targetMovableFingerprint\n                  ) {\n                    throw new Error(\n                      `Main spec '${p.update.id}' changed while archive was securing it for retirement.`\n                    );\n                  }","sourceCodeStart":1770,"sourceCodeEnd":1806,"githubUrl":"https://github.com/Fission-AI/OpenSpec/blob/6926ccb18afa4ff621112813e9968334576ee11a/src/core/archive.ts#L1770-L1806","documentation":"Error \"Spec inputs for '${p.update.id}' changed before archive could retire them.\" thrown in Fission-AI/OpenSpec.","triggerScenarios":"Thrown at src/core/archive.ts:1788 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"}