Fission-AI/OpenSpec · error · ArchiveBlockedError

archive_tasks_incomplete

archive_tasks_incomplete

Error message

${incompleteTasks} incomplete task(s) found for change '${changeName}'.

What it means

Error "${incompleteTasks} incomplete task(s) found for change '${changeName}'." thrown in Fission-AI/OpenSpec.

Source

Thrown at src/core/archive.ts:1345

        console.log(chalk.yellow(`\n⚠️  WARNING: Skipping validation may archive invalid specs.`));
      }

      console.log(chalk.yellow(`[${timestamp}] Validation skipped for change: ${changeName}`));
      console.log(chalk.yellow(`Affected files: ${changeDir}`));
    }

    // Show progress and check for incomplete tasks
    const progress = await getTaskProgressForChange(changesDir, changeName, path.resolve(changesDir, '..', '..'));
    if (!json) {
      const status = formatTaskStatus(progress);
      console.log(`Task status: ${status}`);
    }

    const incompleteTasks = Math.max(progress.total - progress.completed, 0);
    if (incompleteTasks > 0) {
      if (json) {
        if (!options.yes) {
          throw new ArchiveBlockedError(
            'archive_tasks_incomplete',
            `${incompleteTasks} incomplete task(s) found for change '${changeName}'.`,
            'Complete the tasks or rerun with --yes.'
          );
        }
      } else if (!options.yes) {
        const proceed = await confirmOrBlock(
          {
            message: `Warning: ${incompleteTasks} incomplete task(s) found. Continue?`,
            default: false
          },
          () =>
            new ArchiveBlockedError(
              'archive_tasks_incomplete',
              `${incompleteTasks} incomplete task(s) found for change '${describeChangeName(changeName!)}', and no answer could be read from stdin.`,
              `Complete the tasks or rerun with ${rerunCommand(root, changeName!, options)}`
            )
        );

View on GitHub (pinned to 6926ccb18a)

When it happens

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