Fission-AI/OpenSpec · error · RootSelectionError

initiative_option_removed

initiative_option_removed

Error message

--initiative is no longer supported. Normal changes no longer attach to initiatives; --store <id> selects the OpenSpec root.

What it means

Error "--initiative is no longer supported. Normal changes no longer attach to initiatives; --store <id> selects the OpenSpec root." thrown in Fission-AI/OpenSpec.

Source

Thrown at src/commands/workflow/new-change.ts:57

}

interface NewChangeOutput {
  change: {
    id: string;
    path: string;
    metadataPath: string;
    schema: string;
  };
  root: RootOutput;
}

// -----------------------------------------------------------------------------
// Command Implementation
// -----------------------------------------------------------------------------

function assertRemovedOptionsAbsent(options: NewChangeOptions): void {
  if (options.initiative !== undefined) {
    throw new RootSelectionError(
      '--initiative is no longer supported. Normal changes no longer attach to initiatives; --store <id> selects the OpenSpec root.',
      'initiative_option_removed',
      { target: 'change.options' }
    );
  }

  if (options.areas !== undefined) {
    throw new RootSelectionError(
      '--areas is no longer supported. Workspace affected areas are not part of the normal OpenSpec root path.',
      'areas_option_removed',
      { target: 'change.options' }
    );
  }
}

function printCreatedChangeHuman(
  payload: NewChangeOutput,
  root: ResolvedOpenSpecRoot

View on GitHub (pinned to 6926ccb18a)

When it happens

Trigger: Thrown at src/commands/workflow/new-change.ts:57 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/cfacffd43caf9927. Report an issue: GitHub.