{"record":{"id":"849012fdd6a0f01a","repo":"Fission-AI/OpenSpec","slug":"areas-option-removed","errorCode":"areas_option_removed","errorMessage":"--areas is no longer supported. Workspace affected areas are not part of the normal OpenSpec root path.","messagePattern":"--areas is no longer supported\\. Workspace affected areas are not part of the normal OpenSpec root path\\.","errorType":"exception","errorClass":"RootSelectionError","httpStatus":null,"severity":"error","filePath":"src/commands/workflow/new-change.ts","lineNumber":65,"sourceCode":"  };\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\n): void {\n  // A relative path is only honest when the root is where the user\n  // stands; a distant ancestor root gets the absolute path.\n  const location =\n    !isStoreSelectedRoot(root) && root.path === process.cwd()\n      ? formatChangeLocation(toPlanningHome(root), payload.change.id)\n      : payload.change.path;\n  console.log(`Created change '${payload.change.id}' at ${location}/`);","sourceCodeStart":47,"sourceCodeEnd":83,"githubUrl":"https://github.com/Fission-AI/OpenSpec/blob/6926ccb18afa4ff621112813e9968334576ee11a/src/commands/workflow/new-change.ts#L47-L83","documentation":"Error \"--areas is no longer supported. Workspace affected areas are not part of the normal OpenSpec root path.\" thrown in Fission-AI/OpenSpec.","triggerScenarios":"Thrown at src/commands/workflow/new-change.ts:65 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"}