Skip to content

feat(t3): handle delegate results that arrive mid-turn under a Claude lead - #97

Merged
aayushbtw merged 2 commits into
mainfrom
feat/t3-midturn-wake
Nov 20, 2026
Merged

aayushbtw merged 2 commits into
mainfrom
feat/t3-midturn-wake

Conversation

@aayushbtw

Copy link
Copy Markdown
Owner

Why

Plan for the T3 Code update that delivers a delegate_task child's result inside the parent's running Claude turn, so orbit's T3 adapter matches what T3 now does.

What changed

  • t3-code.md, Where a child runs step 6, defines the wake once. Under a Claude lead it is a notice inside the running turn, beside the next tool result, and it quotes the child's result. Under another lead it is a new run after the turn ends.
  • A Claude lead keeps working while other work is left and ends the turn only when none is left. This matches T3's own next text.
  • A wake that arrives mid-step waits until that step is done. Each wake is handled once.
  • t3-seats.md, t3-other-lead.md and the pending-question paragraph point at step 6 instead of restating it.
  • Version 0.69.0, with a CHANGELOG entry.

Scope

Docs only. Codex and other leads keep the old behavior, because T3 changed only its Claude adapter (pingdotgg/t3code#39528). Whether a child's pending question also arrives mid-turn is not known, so the docs make no claim about it.

Verification

  • Live probe in a Claude lead in T3 Code, nightly 0.1.11-nightly.20261120.4979. The lead started an async delegate_task child on Haiku that replied PROBE_CHILD_DONE, then ran one Read. The notice Delegated task … (probe mid-turn delivery) in child thread … [completed]: PROBE_CHILD_DONE arrived with that Read's result, in the same turn. task_status then returned workState: result_available with the same summary, and settle succeeded.
  • Check passed: both claude plugin validate runs, 95 bun tests, and the typecheck.

… lead

T3 now delivers a delegate_task child's result inside a running Claude turn (pingdotgg/t3code#39528). Step 6 of Where a child runs defines the wake for both cases. Bump to 0.69.0.
Diff review of #97: step 6 now says a Claude lead with no turn running gets the wake as a new run, and pstack-differences.md records the change with its evidence.
@aayushbtw

Copy link
Copy Markdown
Owner Author

Verifier: PASS+NOTES at 5223cd3 (patch-id e0a0b37faa66b44aaccbd793245e338cde0a3914), by a fresh orbit:verifier child on claude-opus-5-5. Notes: live mid-turn delivery not driven by the verifier (relies on the recorded probe); step 9's second sentence could say "before its wake"; two cases stay unknown, as pstack-differences.md records.

@aayushbtw
aayushbtw merged commit 1c9af85 into main Nov 20, 2026
1 check passed
@aayushbtw
aayushbtw deleted the feat/t3-midturn-wake branch November 20, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant