Repository navigation
fix(server): agents continue a stopped delegated task in its own thread - #204
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
|
Independent review (GPT-6 Luna) against server code at base |
…ad (#204) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
What: Chromeria's agent instructions now say: to continue the same delegated job after it stopped (question answered, access granted, blocker cleared), send to its
childThreadIdwitht3_thread_sendand wait witht3_thread_wait; start a newdelegate_taskonly for independent work such as a fresh review round.Why: The instructions only covered review rounds, so agents restarted blocked jobs in a fresh child and lost its context (App Store Connect setup, 2026-10-09).
So what: Ready for the user's merge approval; it takes effect for agents after the next Chromeria build.
Closes #203.
How
Three text changes, keeping upstream's wording and appending the continuation rule: the injected orchestration instructions, the short tool-use block, and the
t3_thread_senddescription. They state upstream's contract that follow-up results land intask_status.latestTerminal*and do not wake the parent (pingdotgg/t3code#13490; the wake change in #14030 was closed for lacking a scope ruling), so the parent waits on the thread itself.Proof
apps/server/src/mcp/delegatedTaskContinuation.test.tsasserts the rule in all three texts: 1 passed. Upstream test files are untouched (first push edited them and failed CI's fork check).vp lint/vp fmton changed files: no errors.tsc --noEmitforapps/server: passed (only existing suggestions).fork-check --base 12069eefd7on the committed head: OK (25 features).Elon record
Requirements and who asked: User asked to fix inside Chromeria that agents restart instead of continuing a delegated job.
Deleted: Implementing follow-up wakes (upstream contract), a new tool parameter.
Bottleneck: Agents follow injected instructions, which only covered review rounds.
Checked myself: Instruction sources,
t3_thread_senddescription, upstream triage on #13490, test and typecheck output.Model: Claude Opus 5.5 in Claude Code (Chromeria thread).
🤖 Generated with Claude Code