Merge spec-reconciliation (9a6bc71: newest version within maker and class) into the discovery merge: routing keeps the vouch, the unproven rule and the free slot beside class order and inheritance; one host-tools file with pattern names; learned and host workers classify like any other. done / next: repeat runs, report
This commit is contained in:
commit
d08d122f7f
32 files changed
+2234
-192
No files matched your search
+3
-1
@@ -81,7 +81,9 @@ wrong work.
|
||||
|
||||
You own the whole outcome; workers are specialists whose reports are evidence for you to judge.
|
||||
Give each task to the least expensive worker that is capable enough, counting rework as cost,
|
||||
and keep your own context for judgement. Use the host's own delegation first. Run independent
|
||||
and keep your own context for judgement. Always use the newest version of a given model
|
||||
(same maker and class) when it is usable, never an older version of it; a newer release of a
|
||||
different model or class is a different thing, so classify models before comparing them. Use the host's own delegation first. Run independent
|
||||
work in parallel when it shortens the critical path. Brief a worker with a contract
|
||||
(`sisi delegate brief`), check what comes back in proportion to the risk, and record the
|
||||
judgement (`sisi delegate judge`). Before delegating, ask `sisi route`, which recommends a worker
|
||||
|
||||
@@ -17,11 +17,6 @@
|
||||
"apply",
|
||||
"insert"
|
||||
],
|
||||
"delegation_tools": [
|
||||
"Agent",
|
||||
"Task",
|
||||
"mcp__t3-code__delegate_task"
|
||||
],
|
||||
"build_kinds": [
|
||||
"impl",
|
||||
"impl-multi",
|
||||
|
||||
@@ -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. `capability` tools list what the host can reach (providers and models, as dotted paths into the tool's result), and a delegation entry that names a `provider` path says where the call carries the provider; both carry `reach`, the label under which what they learn is stored (sisi/discovery.py, read through orchestration.reach_specs). A tool name here may be an exact name or, when it starts with `^`, a pattern. This file is the one description of a host's tools: sisi/orchestration.py and sisi/discovery.py both read it.",
|
||||
"_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. `capability` tools list what the host can reach (providers and models, as dotted paths into the tool's result); a delegation entry that names a `provider` path says where the call carries the provider; both carry `reach`, the label under which what discovery learns is stored (sisi/discovery.py, read through orchestration.reach_specs). This file is the one description of a host's tools: sisi/orchestration.py and sisi/discovery.py both read it.",
|
||||
"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",
|
||||
"title": "title",
|
||||
"async": {
|
||||
"path": "status",
|
||||
"running": [
|
||||
"starting",
|
||||
"running"
|
||||
],
|
||||
"ids": [
|
||||
"taskId",
|
||||
"childThreadId"
|
||||
]
|
||||
},
|
||||
"provider": "target.providerInstanceId",
|
||||
"reach": "t3-code"
|
||||
}
|
||||
|
||||
+13
-14
@@ -33,6 +33,11 @@ present; nothing here names one. Read on demand: `sisi delegate guide`.
|
||||
routine work measured proof outranks a benchmark: the cheapest worker with a judged
|
||||
record wins, and standing decides only when nobody has one. A thin record is a
|
||||
reason for care, not a verdict.
|
||||
- Always use the newest version of a given model (same maker and class) when it is usable, never
|
||||
an older version of it: neither a better old record nor a cheaper old plan brings it back, and a
|
||||
newer release of a different model or class never wins for being newer. A new version starts from its
|
||||
predecessor's record. Never guess maker, class or release date from a name: hand `sisi workers
|
||||
classify` to a cheap worker and record its answer; `sisi workers classes` records a maker's classes.
|
||||
- Ask `sisi route --kind K --difficulty N` before delegating; `--explain` says
|
||||
why. Difficulty is 1 routine, 2 ordinary, 3 hard. Say the guess out loud;
|
||||
the record shows how good the guesses were.
|
||||
@@ -93,20 +98,14 @@ present; nothing here names one. Read on demand: `sisi delegate guide`.
|
||||
|
||||
## Keeping the picture current
|
||||
|
||||
- What exists, what it costs, and how good it is all change. Discovery is
|
||||
`sisi workers`; prices and benchmark standing are worker facts, each with
|
||||
a source and a date, recorded with `sisi workers fact`.
|
||||
- When facts are missing or stale, hand the research itself to a fast, cheap
|
||||
worker: find current prices and software-engineering benchmark standing,
|
||||
then record them. Treat a newly appeared model as unproven: low-stakes
|
||||
tasks first, checked one level more carefully, until its record is thick.
|
||||
- Workers appear after sisi is installed: a new command-line tool is named once at session start
|
||||
(`sisi workers learn NAME` prints the brief for the cheap worker that learns it), and the host's
|
||||
own listing teaches the providers and models it reaches. A new worker is unproven: routine work
|
||||
only, checked with at least the tests or a read of the diff, until its judged record decides.
|
||||
- A tool can carry several providers, each with a plan, an allowance and failure phrases (`sisi
|
||||
workers plan|allowance|signature`). The owner can vouch for a worker (`sisi workers vouch`). A
|
||||
learned tool that switches off approvals, and an allowance probe, wait for the owner's `sisi approve`.
|
||||
- What exists, what it costs and how good it is change. Discovery is `sisi workers`; prices and
|
||||
benchmark standing are worker facts with a source and a date (`sisi workers fact`). When facts are
|
||||
missing or stale, hand the research to a fast, cheap worker. A newly appeared model is unproven:
|
||||
low-stakes tasks first, checked one level more carefully, until its record is thick.
|
||||
- Workers appear after install: a new tool is named once (`sisi workers learn NAME` prints the brief
|
||||
for the cheap worker that learns it) and the host's listing teaches its models; each is unproven
|
||||
until judged. `sisi workers plan|allowance|signature|vouch` record a provider's facts and the
|
||||
owner's word; a learned tool that switches off approvals, and an allowance probe, wait for `sisi approve`.
|
||||
- Orchestration legwork is delegable like any other legwork: discovery,
|
||||
price and benchmark research, routing lookups, first-pass review, and
|
||||
summarising the record can all go to a fast, cheap worker. The judgement
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"_about": "What an UNLISTED host tool is, judged by its name (sisi/orchestration.py `classify`). A name is split into words at punctuation and case changes; a phrase matches when its words appear next to each other. `delegation`: the tool starts a worker, so it is never counted as direct work or refused by the meter. `control`: the tool only reads status, waits, cancels, lists, schedules or messages, so it is not counted. A tool named by neither still counts as direct work. Listed tools (canon/orchestration-tools.json) always win.",
|
||||
"delegation": ["delegate", "delegation", "subagent", "sub_agent", "spawn", "thread_launch"],
|
||||
"control": ["status", "wait", "cancel", "list", "read_thread", "schedule", "scheduled", "notify", "send", "ask"]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"_about": "How a session's FIRST user message says it is a delegated worker (sisi/workerid.py). Each phrase is matched case-insensitively, with white space collapsed, inside the first `window` characters of that one message only; the brief template's own first line always counts too. A phrase later in a long message, or in a later message, never counts: a session a person started is a main thread.",
|
||||
"window": 400,
|
||||
"openings": [
|
||||
"you are a worker",
|
||||
"you are a subagent",
|
||||
"you are a sub-agent",
|
||||
"you are a delegate",
|
||||
"do this task yourself",
|
||||
"do the task yourself",
|
||||
"do not delegate"
|
||||
],
|
||||
"head_bytes": 1048576
|
||||
}
|
||||
Reference in new issue
Block a user