Fission-AI/OpenSpec · error · Error

The delta for '${proposed.update.id}' changed before the cha

Error message

The delta for '${proposed.update.id}' changed before the change could be archived.

What it means

Error "The delta for '${proposed.update.id}' changed before the change could be archived." thrown in Fission-AI/OpenSpec.

Source

Thrown at src/core/archive.ts:1910

            specsUpdated = wroteAny;
            totals = writeTotals;
            if (!json) {
            console.log(
              `Totals: + ${writeTotals.added}, ~ ${writeTotals.modified}, - ${writeTotals.removed}, → ${writeTotals.renamed}`
            );
            console.log(
              wroteAny
                ? 'Specs updated successfully.'
                : 'Specs already in sync; no files changed.'
            );
            }

            for (const proposed of prepared) {
              if (
                (await fingerprintPath(proposed.update.source)) !==
                proposed.sourceFingerprint
              ) {
                throw new Error(
                  `The delta for '${proposed.update.id}' changed before the change could be archived.`
                );
              }
            }
            if (hasRetirements) {
              await assertRetirementAuthorization(
                changeDir,
                retirementAuthorizationFingerprint!
              );
            }
            const verifyArchivedDeltas = async (
              stagedSource?: string
            ): Promise<void> => {
              if (hasRetirements) {
                await assertRetirementAuthorization(
                  archivePath,
                  retirementAuthorizationFingerprint!,
                  // Archived changes are nested one level deeper than active

View on GitHub (pinned to 6926ccb18a)

When it happens

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