deepseek-ai/deepseek-harness · error
subagent-claude-code "${this.name}": child run failed (${sto
Error message
subagent-claude-code "${this.name}": child run failed (${stopReason}): %o What it means
Error "subagent-claude-code "${this.name}": child run failed (${stopReason}): %o" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/subagent/subagent-claude-code/src/index.ts:114
throw new Error(
'subagent-claude-code: request was aborted before SDK startup',
)
}
const failure = claudeCodeStartupFailure(error)
this.ctx.logger.warn(
`subagent-claude-code "${this.name}": child start failed: %o`,
failure,
)
throw failure
}
const spec: ClaudeCodeRunSpec = {
cwd,
permissionMode: this.config.permissionMode,
env: this.config.env,
disposeGraceMs: this.config.disposeGraceMs,
spawn: spawnSpec => this.ctx.subprocess.spawn(spawnSpec),
onError: (error, stopReason) => {
this.ctx.logger.warn(
`subagent-claude-code "${this.name}": child run failed (${stopReason}): %o`,
error,
)
},
}
return startClaudeCodeRun(request, spec)
}
}
/**
* Register one Profile-named Claude Code provider.
* @param ctx - context carrying shared subagent and subprocess services.
* @param config - registry name, permission mode, child environment, and disposal grace.
*/
export function apply(ctx: Context, config: Config): void {
const resolved: ResolvedConfig = {
providerName: config.providerName ?? DEFAULT_PROVIDER_NAME,
env: config.env as Record<string, string>,View on GitHub (pinned to b150a551b8)
Solutions
- Review the child run output for the reported stopReason; fix the child agent error and retry the subagent task.
When it happens
Trigger: Thrown at packages/subagent/subagent-claude-code/src/index.ts:114 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/cf379e72e320e13c.
Report an issue: GitHub.