﻿# Qwen Code surfaces child-session failures before runtime binding when inherited extensions cannot load

Track child creation, configuration read, runtime binding and terminal outcome separately; a committed child session can fail before any runtime exists.

Author: Retrivium team
Updated: 2026-11-15
Canonical URL: https://retrivium.ai/journal/week46-agent-qwen-child-extension-committed-state/
Language: en

Qwen Code v0.27.4, released on November 15, fixes managed child sessions reading inherited extension configuration at its committed state. The implementation also makes a pre-runtime terminal failure visible to the relay. A durable child launch therefore needs a separate outcome check: committed creation does not establish that the child acquired a runtime or produced useful output.

## Creation is only the first checkpoint

Use a packaged synthetic child agent with one inherited extension and a recognizable harmless tool. Record durable launch, configuration access, runtime acquisition and first output. The fixture should not mark the child successful when creation returns. This exposes the silent-hang shape where the parent sees a committed child but no subsequent progress, and it establishes which lifecycle stage should carry the failure back to the caller.

## Committed publication state must match resource kind

Prepare inherited configuration with the resource kinds actually used by the extension package. Inspect supported reads after publication rather than assuming all kinds share one terminal-state rule. The implementation centralizes that decision to avoid drift across readers. Application acceptance should compare the child’s effective contributions with the parent’s intended bundle, using synthetic identities so a reused resource identifier cannot hide a stale or incomplete package view.

## Pre-admission failure needs an observable end

Force a controlled configuration-read failure before the child binds a runtime. Assert the relay returns the child’s terminal error rather than retrying binding indefinitely. Keep a live child without a binding as a separate control, because waiting can still be correct before admission completes. The distinction prevents a repair from turning every temporary absence of runtime information into a false terminal failure.

## Parent deadlines should not obscure the child cause

Compare the child’s returned failure identity with the parent’s final task state. A generic parent deadline should not be the only evidence when the child already decided failure. Record retry count and final status using harmless fixtures. The release is a configuration-read and error-propagation correction; it does not guarantee every extension is compatible or that every durable launch succeeds. The useful result is a diagnosable lifecycle with no invented child output.

## Sources

- [Qwen Code v0.27.4 release notes](https://github.com/QwenLM/qwen-code/releases/tag/v0.27.4)
- [Qwen Code implementation and review #17281](https://github.com/QwenLM/qwen-code/pull/17281)

## Related reading

- [Subagent permissions: delegation does not add authority](/journal/frontier-space-subagent-permission-inheritance/)
- [Flyte 2 traces: a successful helper checkpoint is different from a failed external attempt](/journal/fg2-flyte-two-trace-success-checkpoint-replay-boundary/)
