{"record":{"id":"3fc430825751ea2d","repo":"ruvnet/ruflo","slug":"prompt-not-found-name","errorCode":null,"errorMessage":"Prompt not found: ${name}","messagePattern":"Prompt not found: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"v3/@claude-flow/mcp/src/prompt-registry.ts","lineNumber":129,"sourceCode":"    const result: PromptListResult = { prompts };\n\n    if (endIndex < allPrompts.length) {\n      result.nextCursor = this.encodeCursor({ offset: endIndex });\n    }\n\n    return result;\n  }\n\n  /**\n   * Get a prompt with arguments\n   */\n  async get(\n    name: string,\n    args: Record<string, string> = {}\n  ): Promise<PromptGetResult> {\n    const prompt = this.prompts.get(name);\n    if (!prompt) {\n      throw new Error(`Prompt not found: ${name}`);\n    }\n\n    // Validate required arguments\n    if (this.options.validateArguments && prompt.arguments) {\n      for (const arg of prompt.arguments) {\n        if (arg.required && !(arg.name in args)) {\n          throw new Error(`Missing required argument: ${arg.name}`);\n        }\n      }\n    }\n\n    const messages = await prompt.handler(args);\n\n    this.emit('prompt:get', { name, argCount: Object.keys(args).length });\n\n    return {\n      description: prompt.description,\n      messages,","sourceCodeStart":111,"sourceCodeEnd":147,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/@claude-flow/mcp/src/prompt-registry.ts#L111-L147","documentation":"PromptRegistry.get() found no registered prompt under the requested name in its prompts map. The lookup happens before argument validation, so an unknown prompt name is reported as such rather than as a missing-argument problem.","triggerScenarios":"Thrown at v3/@claude-flow/mcp/src/prompt-registry.ts:129 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Register the prompt with prompt-registry before requesting it by name.","Check for typos in the prompt name; list registered prompts to confirm the exact name."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa13ee4ad60ac2090b1480656eb233521790d640","analyzedAt":"2026-08-18T21:34:22.708Z","contentChangedAt":"2026-08-18T21:34:22.708Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}