后台子代理任务(task 工具,background=true)完成后,结果以注入(injection)方式回传主会话。在注入落地之前,对同一 task_id 调用 task(resume=...) 会被拒绝:
task
background=true
task_id
task(resume=...)
Background task result delivery is already in flight — resume again after the injection lands
in_flight
task(background=true)
state=completed
No dependencies set.
The note is not visible to the blocked user.
现象
后台子代理任务(
task工具,background=true)完成后,结果以注入(injection)方式回传主会话。在注入落地之前,对同一task_id调用task(resume=...)会被拒绝:影响
期望(任一即可)
in_flight+ 预计注入时间/序号),主会话可据此自调度;环境
task(background=true)编排 QMT 执行工程师子代理,任务本身正常完成(state=completed),问题仅在后继 resume 追加指令的窗口期