Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): keep delegated review rounds on the task API #15115

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/15115/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 7 changed files with 17 additions and 4 deletions (loading 4).

x
0 of 7 viewed, 7 left
11 additions and 0 deletionsapps/server/src/mcp/toolkits/orchestrator/tools.test.tsModified
View file
@@ -4,6 +4,7 @@
import {
CreateThreadsTool,
DelegateTaskTool,
+ OrchestratorToolkit,
ScheduleTaskTool,
ThreadUpdateTool,
} from "./tools.ts";
@@ -17,6 +18,16 @@
assert.include(DelegateTaskTool.description ?? "", "waitTimedOut");
assert.include(DelegateTaskTool.description ?? "", "does not cancel the child");
assert.include(DelegateTaskTool.description ?? "", "keep that taskId");
+ assert.include(DelegateTaskTool.description ?? "", "call delegate_task again");
+ assert.include(DelegateTaskTool.description ?? "", "childThreadId is backing storage");
+ assert.include(
+ OrchestratorToolkit.tools.t3_thread_send.description ?? "",
+ "Do not use a delegated task's childThreadId to start another review round",
+ );
+ assert.include(
+ OrchestratorToolkit.tools.task_cancel.description ?? "",
+ "without interrupting later child-thread runs",
+ );
});
​
it("documents wait timeout as a parent budget, not a child failure", () => {
4 additions and 4 deletionsapps/server/src/mcp/toolkits/orchestrator/tools.tsModified
View file