{"record":{"id":"4a182ad5d33bfae2","repo":"deepseek-ai/deepseek-harness","slug":"no-catalogued-event-named-name-4a182a","errorCode":null,"errorMessage":"no catalogued event named \"${name}\"","messagePattern":"no catalogued event named \"(.+?)\"","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/extensions/tool-cordis/src/inspect.ts","lineNumber":318,"sourceCode":"  if (name === undefined) {\n    lines.push('inherited ctx API:')\n    for (const entry of inherited) lines.push(`- ${entry.name} — ${entry.summary}`)\n  }\n  return lines\n}\n\n/**\n * The `events` section: every harness event with its dispatch mode, one-line\n * summary, and exact signature, closed by the waterfall caution.\n * @param events - the event catalog (the generated one by default; injectable for tests).\n * @param name - exact event name whose signature should include its structured contract; omitted for the compact catalog.\n * @returns the section lines.\n */\nexport function describeEvents(events: readonly EventApiEntry[] = EVENT_API, name?: string): string[] {\n  let selected = events\n  if (name !== undefined) {\n    const event = events.find(candidate => candidate.name === name)\n    if (!event) throw new Error(`no catalogued event named \"${name}\"`)\n    selected = [event]\n  }\n  const lines = selected.flatMap((event) => {\n    const entry = [`- ${event.name} [${event.mode}] — ${event.summary}`]\n    if (name !== undefined) {\n      entry.push(`    ${event.description}`)\n      for (const parameter of event.parameters) entry.push(`    @param ${parameter.name} — ${parameter.description}`)\n    }\n    entry.push(`    ${event.signature}`)\n    return entry\n  })\n  lines.push('waterfall listeners receive a trailing next() and MUST call it to delegate — returning without next() short-circuits the chain.')\n  return lines\n}\n","sourceCodeStart":300,"sourceCodeEnd":333,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/extensions/tool-cordis/src/inspect.ts#L300-L333","documentation":"Error \"no catalogued event named \"${name}\"\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/extensions/tool-cordis/src/inspect.ts:318 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":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}