{"record":{"id":"d7630c7c86e41758","repo":"deepseek-ai/deepseek-harness","slug":"subagent-parent-unavailable","errorCode":"subagent-parent-unavailable","errorMessage":"parent session \"${parentSessionId}\" is not live","messagePattern":"parent session \"(.+?)\" is not live","errorType":"error_code","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/host/apiproxy/src/api-proxy.ts","lineNumber":2651,"sourceCode":"        const page = historyPage(ctx, events, beforeSeq, maxMessages)\n        return ok(request, { ...page, ...projections === undefined ? {} : { projections } })\n      },\n\n      async prompt(request, signal) {\n        const { parentSessionId, childSessionId, content, clientTimeZone } = request.payload\n        const canonicalTimeZone = clientTimeZone === undefined\n          ? undefined\n          : canonicalClientTimeZone(clientTimeZone)\n        if (clientTimeZone !== undefined && canonicalTimeZone === undefined) {\n          return err(request, {\n            code: 'invalid-time-zone',\n            message: 'clientTimeZone must be UTC or a valid IANA Area/Location name',\n            details: { value: clientTimeZone },\n          })\n        }\n        const parent = ctx.agents.get(parentSessionId)\n        if (parent === undefined) {\n          return err(request, {\n            code: 'subagent-parent-unavailable',\n            message: `parent session \"${parentSessionId}\" is not live`,\n            details: { parentSessionId },\n          })\n        }\n        const verified = await catalogChild(ctx, {\n          parentSessionId, childSessionId, mode: 'continuable',\n        }, signal)\n        if (verified.error !== undefined) return err(request, verified.error)\n        try {\n          const messageId = await ctx.subagents.followup(parent, childSessionId, content, {\n            source: {\n              kind: 'user',\n              rpcId: request.rpcId,\n              ...(canonicalTimeZone === undefined ? {} : { clientTimeZone: canonicalTimeZone }),\n            },\n            signal,\n          })","sourceCodeStart":2633,"sourceCodeEnd":2669,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/host/apiproxy/src/api-proxy.ts#L2633-L2669","documentation":"Error \"parent session \"${parentSessionId}\" is not live\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/host/apiproxy/src/api-proxy.ts:2651 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Resume or restart the parent session before operating on its children."],"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"}