A background delegation stays pending until its completion message; data entry for *delegate_task; tests. done: item 6 / next: full suite, repeats, timing

This commit is contained in:
swaits committed 2026-11-23 16:33:24 -07:00
1 parent fd97cf88f4
commit 1cd7ab1446
4 files changed
+216 -11

No files matched your search

+15 -3
View File
@@ -1,5 +1,5 @@
{
"_about": "Host tool names the orchestration meter needs (sisi/orchestration.py). Per host: `delegation` tools start a worker (where the call carries the model and the brief text, as dotted paths into the tool's input); `exempt` tools are never counted as direct work (the question dialog, planning and to-do tools, messaging tools). Any other tool, including one named nowhere here, counts. `refuse` says how the host's before-tool hook refuses a call: `json-deny` prints the host's permission-deny JSON, `exit-2` exits with status 2 and the reason on standard error, `none` means the meter only counts there. `evidence` says how sure this entry is.",
"_about": "Host tool names the orchestration meter needs (sisi/orchestration.py). Per host: `delegation` tools start a worker (where the call carries the model and the brief text, as dotted paths into the tool's input); `exempt` tools are never counted as direct work (the question dialog, planning and to-do tools, messaging tools). Any other tool, including one named nowhere here, counts. `refuse` says how the host's before-tool hook refuses a call: `json-deny` prints the host's permission-deny JSON, `exit-2` exits with status 2 and the reason on standard error, `none` means the meter only counts there. `evidence` says how sure this entry is. A delegation entry's name may be a shell-style pattern (`*delegate_task`). `async` says how the tool's result marks a background launch: the dotted `path` into the result, the `running` values meaning \"still running\", and the `ids` paths whose values the later completion message will carry; `title` is the input path of the task's title, the other way that message names it. A listed tool with no `async` is a launch when its call returned in under five seconds with no report in the result.",
"claude-code": {
"refuse": "json-deny",
"evidence": "observed live (tools/live_orchestration_check.py)",
@@ -12,9 +12,21 @@
"model": "model",
"brief": "prompt"
},
"mcp__t3-code__delegate_task": {
"*delegate_task": {
"model": "target.model",
"brief": "task"
"brief": "task",
"title": "title",
"async": {
"path": "status",
"running": [
"starting",
"running"
],
"ids": [
"taskId",
"childThreadId"
]
}
}
},
"exempt": {