Fission-AI/OpenSpec · error · Error

Main spec '${proposed.update.id}' changed while archive was

Error message

Main spec '${proposed.update.id}' changed while archive was awaiting confirmation. No files were changed; review the new content and rerun.

What it means

Error "Main spec '${proposed.update.id}' changed while archive was awaiting confirmation. No files were changed; review the new content and rerun." thrown in Fission-AI/OpenSpec.

Source

Thrown at src/core/archive.ts:1562

                  throw new Error(
                    `Spec inputs for '${proposed.update.id}' changed while archive was awaiting confirmation. ` +
                      'No files were changed; review the new content and rerun.'
                  );
                }
                const rebuilt = await buildUpdatedSpec(current, changeName!, { silent: true });
                const outcome = await decideSpecOutcome(
                  current,
                  rebuilt,
                  skipValidation,
                  retirementDeclared
                );
                if (
                  current.exists !== proposed.update.exists ||
                  rebuilt.rebuilt !== proposed.rebuilt ||
                  JSON.stringify(rebuilt.counts) !== JSON.stringify(proposed.counts) ||
                  outcome !== proposed.outcome
                ) {
                  throw new Error(
                    `Main spec '${proposed.update.id}' changed while archive was awaiting confirmation. ` +
                      'No files were changed; review the new content and rerun.'
                  );
                }
              }
            } catch (error) {
              prepareError = error;
            }
          }

          if (prepareError !== undefined) {
            const message =
              prepareError instanceof Error ? prepareError.message : String(prepareError);
            if (json) {
              throw new ArchiveBlockedError(
                'archive_spec_update_failed',
                message,
                'Fix the change delta specs and rerun. No files were changed.'

View on GitHub (pinned to 6926ccb18a)

When it happens

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