{"record":{"id":"ea6e899975a46ecf","repo":"deepseek-ai/deepseek-harness","slug":"internal-ea6e89","errorCode":"internal","errorMessage":"subagent prompt failed","messagePattern":"subagent prompt failed","errorType":"error_code","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/host/apiproxy/src/api-proxy.ts","lineNumber":879,"sourceCode":"        return err(request, {\n          code: 'subagent-unauthorized',\n          message: 'subagent does not belong to this parent',\n          details: { childSessionId },\n        })\n      case 'DRAINING':\n      case 'ACTIVATION_CLOSING':\n      case 'CONTINUATION_UNAVAILABLE':\n      case 'PERSISTENCE_UNAVAILABLE':\n        return err(request, {\n          code: 'subagent-delivery-unavailable',\n          message: 'subagent follow-up is temporarily unavailable',\n          details: { childSessionId },\n        })\n      default:\n        break\n    }\n  }\n  return err(request, { code: 'internal', message: 'subagent prompt failed', details: {} })\n}\n\n/** Stable RPC face of the missing projections capability, shared by every catalog read path. */\nfunction projectionsUnavailableError(): RpcError {\n  return {\n    code: 'internal',\n    message: 'subagent catalog is unavailable: this deployment does not mount the sessionProjections registry (load @deepseek-ai/dsh-session-projection)',\n    details: {},\n  }\n}\n\n/** Verify one address and mode against the complete direct-child catalog. */\nasync function catalogChild(\n  ctx: Context,\n  address: SubagentAddress,\n  signal?: AbortSignal,\n): Promise<{\n  entry?: Extract<CatalogSubagentListEntry, { kind: 'child' }>","sourceCodeStart":861,"sourceCodeEnd":897,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/host/apiproxy/src/api-proxy.ts#L861-L897","documentation":"Error \"subagent prompt failed\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/host/apiproxy/src/api-proxy.ts:879 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the underlying cause of the subagent prompt failure in the logs and fix it before retrying."],"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"}