Delegation records, repeat-failure stop, orchestration in the unit record and rule 6, all-tool hooks with migration and per-host meter notes. done: items 4-7 code and tests / next: item 9 fallback, docs, timing, repeat runs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
80af7b0d0e
commit
9e8f80bbb7
7 files changed
+430
-26
No files matched your search
@@ -1,16 +1,38 @@
|
||||
{
|
||||
"_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. `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.",
|
||||
"claude-code": {
|
||||
"refuse": "json-deny",
|
||||
"evidence": "observed live (tools/live_orchestration_check.py)",
|
||||
"delegation": {
|
||||
"Task": {"model": "model", "brief": "prompt"},
|
||||
"Agent": {"model": "model", "brief": "prompt"}
|
||||
"Task": {
|
||||
"model": "model",
|
||||
"brief": "prompt"
|
||||
},
|
||||
"Agent": {
|
||||
"model": "model",
|
||||
"brief": "prompt"
|
||||
}
|
||||
},
|
||||
"exempt": {
|
||||
"dialog": ["AskUserQuestion"],
|
||||
"planning": ["TodoWrite", "EnterPlanMode", "ExitPlanMode", "TaskCreate", "TaskUpdate", "TaskList", "TaskGet", "TaskOutput", "TaskStop"],
|
||||
"messaging": ["SendMessage", "SendUserMessage", "PushNotification"]
|
||||
"dialog": [
|
||||
"AskUserQuestion"
|
||||
],
|
||||
"planning": [
|
||||
"TodoWrite",
|
||||
"EnterPlanMode",
|
||||
"ExitPlanMode",
|
||||
"TaskCreate",
|
||||
"TaskUpdate",
|
||||
"TaskList",
|
||||
"TaskGet",
|
||||
"TaskOutput",
|
||||
"TaskStop"
|
||||
],
|
||||
"messaging": [
|
||||
"SendMessage",
|
||||
"SendUserMessage",
|
||||
"PushNotification"
|
||||
]
|
||||
}
|
||||
},
|
||||
"codex": {
|
||||
@@ -18,8 +40,12 @@
|
||||
"evidence": "from the host's hook documentation; not run live here",
|
||||
"delegation": {},
|
||||
"exempt": {
|
||||
"dialog": ["request_user_input"],
|
||||
"planning": ["update_plan"],
|
||||
"dialog": [
|
||||
"request_user_input"
|
||||
],
|
||||
"planning": [
|
||||
"update_plan"
|
||||
],
|
||||
"messaging": []
|
||||
}
|
||||
},
|
||||
@@ -28,28 +54,50 @@
|
||||
"evidence": "from the host's hook documentation; not run live here",
|
||||
"delegation": {},
|
||||
"exempt": {
|
||||
"dialog": ["ask_user"],
|
||||
"planning": ["write_todos"],
|
||||
"dialog": [
|
||||
"ask_user"
|
||||
],
|
||||
"planning": [
|
||||
"write_todos"
|
||||
],
|
||||
"messaging": []
|
||||
}
|
||||
},
|
||||
"copilot": {
|
||||
"refuse": "exit-2",
|
||||
"evidence": "from the host's hook documentation; not run live here",
|
||||
"delegation": {"task": {"model": "model", "brief": "prompt"}},
|
||||
"refuse": "none",
|
||||
"evidence": "the host's before-tool refusal contract is not confirmed here; counts only",
|
||||
"delegation": {
|
||||
"task": {
|
||||
"model": "model",
|
||||
"brief": "prompt"
|
||||
}
|
||||
},
|
||||
"exempt": {
|
||||
"dialog": ["ask_user"],
|
||||
"planning": ["update_todo"],
|
||||
"dialog": [
|
||||
"ask_user"
|
||||
],
|
||||
"planning": [
|
||||
"update_todo"
|
||||
],
|
||||
"messaging": []
|
||||
}
|
||||
},
|
||||
"cursor": {
|
||||
"refuse": "exit-2",
|
||||
"evidence": "from the host's hook documentation; not run live here",
|
||||
"delegation": {"Task": {"model": "model", "brief": "prompt"}},
|
||||
"delegation": {
|
||||
"Task": {
|
||||
"model": "model",
|
||||
"brief": "prompt"
|
||||
}
|
||||
},
|
||||
"exempt": {
|
||||
"dialog": ["AskQuestion"],
|
||||
"planning": ["TodoWrite"],
|
||||
"dialog": [
|
||||
"AskQuestion"
|
||||
],
|
||||
"planning": [
|
||||
"TodoWrite"
|
||||
],
|
||||
"messaging": []
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user