{"record":{"id":"7aec08c80dee190d","repo":"deepseek-ai/deepseek-harness","slug":"no-catalogued-service-named-name","errorCode":null,"errorMessage":"no catalogued service named \"${name}\"","messagePattern":"no catalogued service named \"(.+?)\"","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/extensions/tool-cordis/src/inspect.ts","lineNumber":278,"sourceCode":" * @param inherited - inherited `ctx` entries, replaceable in tests.\n * @param types - public type shapes, replaceable in tests.\n * @returns the section lines.\n */\nexport function describeApi(\n  ctx: Context,\n  api: readonly ServiceApiEntry[] = SERVICE_API,\n  name?: string,\n  inherited: readonly InheritedApiEntry[] = INHERITED_CTX_API,\n  types: readonly TypeApiEntry[] = TYPE_API,\n): string[] {\n  const live = liveServices(ctx, api)\n  const byKey = new Map(api.map(entry => [entry.key, entry]))\n  const lines: string[] = []\n  let selected = live.filter(service => service.catalogued)\n  let documented: readonly ServiceApiMethod[] = []\n  if (name !== undefined) {\n    const entry = byKey.get(name)\n    if (entry === undefined) throw new Error(`no catalogued service named \"${name}\"`)\n    const service = live.find(candidate => candidate.name === name)\n    if (service === undefined) throw new Error(`catalogued service \"${name}\" is not running`)\n    selected = [service]\n    documented = entry.methods\n  }\n  for (const service of selected) lines.push(...serviceLines(service, documented))\n  if (name === undefined) {\n    for (const service of live.filter(candidate => !candidate.catalogued)) {\n      lines.push(`- ${service.name} (provided by ${service.owner}) — running, but this catalog has no signature for it;`\n        + ` inject: ['${service.name}'] still reaches it`)\n    }\n    const notRunning = absentServices(ctx, api)\n    if (notRunning.length > 0) lines.push(`not running (loadable services with no live provider): ${notRunning.join(', ')}`)\n  }\n  const shapes = typeClosure(selected.flatMap(service => [...service.methods]), types)\n  if (shapes.length > 0) {\n    lines.push('type shapes (referenced by the signatures above — read these before assuming a field is a string):')\n    for (const shape of shapes) {","sourceCodeStart":260,"sourceCodeEnd":296,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/extensions/tool-cordis/src/inspect.ts#L260-L296","documentation":"Error \"no catalogued service named \"${name}\"\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/extensions/tool-cordis/src/inspect.ts:278 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"}