{"record":{"id":"cfacffd43caf9927","repo":"Fission-AI/OpenSpec","slug":"initiative-option-removed","errorCode":"initiative_option_removed","errorMessage":"--initiative is no longer supported. Normal changes no longer attach to initiatives; --store <id> selects the OpenSpec root.","messagePattern":"--initiative is no longer supported\\. Normal changes no longer attach to initiatives; --store <id> selects the OpenSpec root\\.","errorType":"exception","errorClass":"RootSelectionError","httpStatus":null,"severity":"error","filePath":"src/commands/workflow/new-change.ts","lineNumber":57,"sourceCode":"}\n\ninterface NewChangeOutput {\n  change: {\n    id: string;\n    path: string;\n    metadataPath: string;\n    schema: string;\n  };\n  root: RootOutput;\n}\n\n// -----------------------------------------------------------------------------\n// Command Implementation\n// -----------------------------------------------------------------------------\n\nfunction assertRemovedOptionsAbsent(options: NewChangeOptions): void {\n  if (options.initiative !== undefined) {\n    throw new RootSelectionError(\n      '--initiative is no longer supported. Normal changes no longer attach to initiatives; --store <id> selects the OpenSpec root.',\n      'initiative_option_removed',\n      { target: 'change.options' }\n    );\n  }\n\n  if (options.areas !== undefined) {\n    throw new RootSelectionError(\n      '--areas is no longer supported. Workspace affected areas are not part of the normal OpenSpec root path.',\n      'areas_option_removed',\n      { target: 'change.options' }\n    );\n  }\n}\n\nfunction printCreatedChangeHuman(\n  payload: NewChangeOutput,\n  root: ResolvedOpenSpecRoot","sourceCodeStart":39,"sourceCodeEnd":75,"githubUrl":"https://github.com/Fission-AI/OpenSpec/blob/6926ccb18afa4ff621112813e9968334576ee11a/src/commands/workflow/new-change.ts#L39-L75","documentation":"Error \"--initiative is no longer supported. Normal changes no longer attach to initiatives; --store <id> selects the OpenSpec root.\" thrown in Fission-AI/OpenSpec.","triggerScenarios":"Thrown at src/commands/workflow/new-change.ts:57 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6926ccb18afa4ff621112813e9968334576ee11a","analyzedAt":"2026-08-25T12:29:45.729Z","schemaVersion":2},"datasetVersion":"2026-08-25T16:17:27.014Z"}