Fission-AI/OpenSpec · error · Error

Spec inputs for '${update.id}' changed while archive was pre

Error message

Spec inputs for '${update.id}' changed while archive was preparing the preview.

What it means

Error "Spec inputs for '${update.id}' changed while archive was preparing the preview." thrown in Fission-AI/OpenSpec.

Source

Thrown at src/core/archive.ts:1452

          unaccountedContent: string[];
          sourceFingerprint: string;
          sourceContentFingerprint: string;
          targetFingerprint: string;
          targetMovableFingerprint: string;
        }> = [];
        let prepareError: unknown;
        try {
          for (const update of specUpdates) {
            const sourceBeforeBuild = await fingerprintPath(update.source);
            const targetBeforeBuild = await fingerprintPath(update.target);
            const built = await buildUpdatedSpec(update, changeName!, { silent: true });
            const sourceAfterBuild = await fingerprintPath(update.source);
            const targetAfterBuild = await fingerprintPath(update.target);
            if (
              sourceBeforeBuild !== sourceAfterBuild ||
              targetBeforeBuild !== targetAfterBuild
            ) {
              throw new Error(
                `Spec inputs for '${update.id}' changed while archive was preparing the preview.`
              );
            }
            prepared.push({
              update,
              rebuilt: built.rebuilt,
              counts: built.counts,
              outcome: await decideSpecOutcome(
                update,
                built,
                skipValidation,
                retirementDeclared
              ),
              noRequirementBlocks: built.noRequirementBlocks,
              unaccountedContent: built.unaccountedContent,
              sourceFingerprint: sourceAfterBuild,
              sourceContentFingerprint: await fingerprintPortableContent(update.source),
              targetFingerprint: targetAfterBuild,

View on GitHub (pinned to 6926ccb18a)

When it happens

Trigger: Thrown at src/core/archive.ts:1452 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/f7b6c6fa6ab44ca1. Report an issue: GitHub.