{"record":{"id":"565cd020b1cd39c1","repo":"Fission-AI/OpenSpec","slug":"change-changename-not-found-at-proposalpath","errorCode":null,"errorMessage":"Change \"${changeName}\" not found at ${proposalPath}","messagePattern":"Change \"(.+?)\" not found at (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"src/commands/change.ts","lineNumber":86,"sourceCode":"        });\n        changeName = selected;\n      } else {\n        if (changes.length === 0) {\n          console.error('No change specified. No active changes found.');\n        } else {\n          console.error(`No change specified. Available IDs: ${changes.join(', ')}`);\n        }\n        console.error('Hint: use \"openspec change list\" to view available changes.');\n        process.exitCode = 1;\n        return;\n      }\n    }\n\n    const changeDir = path.join(changesPath, changeName);\n    const proposalPath = path.join(changeDir, 'proposal.md');\n\n    if (!isChangeDirectoryName(changesPath, changeDir)) {\n      throw new Error(`Change \"${changeName}\" not found at ${proposalPath}`);\n    }\n\n    try {\n      await fs.access(proposalPath);\n    } catch {\n      // A change can exist without a proposal: `openspec new change` scaffolds\n      // only .openspec.yaml, and a custom schema need not define a proposal\n      // artifact. Say which of the two cases this is instead of reporting a\n      // change that does exist as missing. A stray file under changes/ is not a\n      // change, and naming it one would point the user at a `status --change`\n      // call that cannot work.\n      const isChangeDirectory = await fs\n        .stat(changeDir)\n        .then((stats) => stats.isDirectory())\n        .catch(() => false);\n      if (isChangeDirectory) {\n        throw new Error(\n          `Change \"${changeName}\" has no proposal.md yet. ` +","sourceCodeStart":68,"sourceCodeEnd":104,"githubUrl":"https://github.com/Fission-AI/OpenSpec/blob/6926ccb18afa4ff621112813e9968334576ee11a/src/commands/change.ts#L68-L104","documentation":"Error \"Change \"${changeName}\" not found at ${proposalPath}\" thrown in Fission-AI/OpenSpec.","triggerScenarios":"Thrown at src/commands/change.ts:86 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"}