You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remote Action tasks finish before their awaited background result #579
On installed 0.1.7-nightly.20261102.4066 (source 4f02affcfee2e153af8450461a58b2e0a60596f2), an app-owned remote Claude child completed a resumable Action, then started a native background command and explicitly marked it awaited with t3_background_wait.
The logical task correctly stayed unfinished after the foreground Action continuation ended. When the background command finished, the source task was completed using that continuation's earlier waiting reply. The actual background-result response ran afterward in the child, without the original remote delegation association, and did not replace the parent's final result.
Reproduction
Delegate an app-owned remote Claude child on the identified installed checkpoint.
Have it launch one harmless opted-in resumable Action and end its turn.
In the genuine automatic continuation, start a harmless native background command, mark its actual task ID awaited with t3_background_wait, then end unfinished.
Verify the logical source task is still running while the awaited command is pending.
Complete the command normally and let its real native completion notification run.
Compare the source task's final result with the child's subsequent background-result response and its run's delegation association.
Evidence and expected behavior
The isolated run recorded one successful Action, its exact automatic continuation, a matched awaited-background receipt, and a later truthful final response. The source task instead retained the earlier unfinished/waiting response as successful completion. The later child run had no remote delegation selector. No parent polling or result relay was used.
An Action task that explicitly awaits subsequent work must retain ownership through the actual final response and deliver that result once. Preserve the ordinary policy that unawaited commands/watchers do not hold completion, and preserve unrelated later task rounds.
Part of #482. This blocks Phase 3 installed acceptance; source review and earlier passing scenarios do not waive it. No Phase 4 acceptance is claimed.
Activity
fix(codex): deliver awaited command results to the delegated task
fix(codex): deliver awaited command results to the delegated task
fix(codex): deliver awaited command results to the delegated task