llm-orchestrator 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +137 -680
- package/SKILL.md +23 -3
- package/adapters/agents.mjs +13 -0
- package/adapters/commands.mjs +13 -0
- package/adapters/hooks.mjs +15 -7
- package/agents/code-simplifier.md +1 -0
- package/agents/orchestrator.md +1 -1
- package/agents/route-data-flow-tracer.md +1 -0
- package/bin/dispatch.mjs +181 -0
- package/bin/doctor.mjs +5 -2
- package/bin/gate.mjs +2 -1
- package/bin/llm-orchestrator.mjs +9 -1
- package/bin/tools.mjs +84 -0
- package/commands/task.md +13 -0
- package/docs/REFERENCE.md +628 -0
- package/lib/first-run.mjs +30 -3
- package/lib/flow-gate.mjs +315 -9
- package/lib/tool-use.mjs +348 -0
- package/package.json +2 -1
- package/policies/capabilities.md +65 -4
- package/policies/dispatch.md +20 -0
- package/policies/learning.md +3 -0
- package/registries/agent-roles.json +1 -1
- package/registries/core-profile.json +255 -46
- package/registries/preferred-tools.json +9 -3
- package/registries/tool-use.json +230 -0
- package/schemas/flow-ledger.schema.json +35 -0
|
@@ -31,6 +31,21 @@
|
|
|
31
31
|
"inline_after_nudge": { "type": "boolean", "description": "This run replaced one that had already received a dispatch reminder, and declared --inline: a retroactive justification." },
|
|
32
32
|
"live_calls": { "type": "integer", "minimum": 0, "description": "Main-thread calls that read a live source (ssh, remote databases, cluster/cloud CLIs, HTTP clients)." },
|
|
33
33
|
"stop_continues": { "type": "integer", "minimum": 0, "description": "Turn ends this run answered with a forced continuation: the last message announced more work while the run was open." },
|
|
34
|
+
"route_calls": { "type": "integer", "minimum": 0 },
|
|
35
|
+
"decide_calls": { "type": "integer", "minimum": 0 },
|
|
36
|
+
"spend_calls": { "type": "integer", "minimum": 0 },
|
|
37
|
+
"spend_credit": { "type": "integer", "minimum": 0 },
|
|
38
|
+
"dispatch_calls": { "type": "integer", "minimum": 0 },
|
|
39
|
+
"unrouted_dispatches": { "type": "integer", "minimum": 0 },
|
|
40
|
+
"denied_dispatches": { "type": "integer", "minimum": 0 },
|
|
41
|
+
"routing_nudged": { "type": "boolean" },
|
|
42
|
+
"frontier_uses": { "type": "integer", "minimum": 0 },
|
|
43
|
+
"captures": { "type": "integer", "minimum": 0 },
|
|
44
|
+
"close_bounced": { "type": "boolean" },
|
|
45
|
+
"closed_without": { "type": "array", "items": { "type": "string" } },
|
|
46
|
+
"nudged_at_calls": { "type": "integer", "minimum": 0 },
|
|
47
|
+
"plain_questions": { "type": "integer", "minimum": 0 },
|
|
48
|
+
"tool_use": { "type": "object", "description": "Tool-use reminders: rule ids only, never tool inputs.", "additionalProperties": false, "properties": { "used": { "type": "object", "additionalProperties": { "type": "integer", "minimum": 0 } }, "due": { "type": "array", "items": { "type": "string" } }, "nudged": { "type": "array", "items": { "type": "string" } }, "followed": { "type": "array", "items": { "type": "string" } }, "skipped": { "type": "array", "items": { "type": "string" } }, "code_searches": { "type": "integer", "minimum": 0 }, "nudged_at": { "type": "object", "additionalProperties": { "type": "integer", "minimum": 0 } } } },
|
|
34
49
|
"stop_continues_prompt": { "type": "integer", "minimum": 0, "maximum": 2, "description": "The same count for the current prompt; it bounds forced continuations and resets on the next prompt." }
|
|
35
50
|
}
|
|
36
51
|
},
|
|
@@ -50,6 +65,12 @@
|
|
|
50
65
|
"entrypoint_loaded": { "type": "boolean", "description": "Per prompt: the entrypoint was loaded since the last prompt, so discovery reads before run start are not a deviation." },
|
|
51
66
|
"entrypoint_announced": { "type": "boolean", "description": "Per session: the load-the-skill notice was sent. Absent in session files written before the notice existed." },
|
|
52
67
|
"entrypoint_seen": { "type": "boolean", "description": "Per session: the entrypoint was loaded at least once, so the notice is never sent and the work nudge stops asking for the skill." },
|
|
68
|
+
"tool_session": { "type": "array", "items": { "type": "string" }, "description": "Rules satisfied once for the whole session." },
|
|
69
|
+
"denied_dispatches": { "type": "integer", "minimum": 0 },
|
|
70
|
+
"pre_tool_use": { "type": "object", "description": "Tool-use reminders: rule ids only, never tool inputs.", "additionalProperties": false, "properties": { "used": { "type": "object", "additionalProperties": { "type": "integer", "minimum": 0 } }, "due": { "type": "array", "items": { "type": "string" } }, "nudged": { "type": "array", "items": { "type": "string" } }, "followed": { "type": "array", "items": { "type": "string" } }, "skipped": { "type": "array", "items": { "type": "string" } }, "code_searches": { "type": "integer", "minimum": 0 }, "nudged_at": { "type": "object", "additionalProperties": { "type": "integer", "minimum": 0 } } } },
|
|
71
|
+
"asked_natively": { "type": "boolean" },
|
|
72
|
+
"ask_nudged": { "type": "boolean" },
|
|
73
|
+
"denials": { "type": "object", "description": "Refusals per reason, this session.", "additionalProperties": { "type": "integer", "minimum": 0 } },
|
|
53
74
|
"seen": { "type": "array", "items": { "type": "string" } }
|
|
54
75
|
}
|
|
55
76
|
},
|
|
@@ -78,6 +99,20 @@
|
|
|
78
99
|
"role_dispatches": { "type": "integer", "minimum": 0 },
|
|
79
100
|
"generic_dispatches": { "type": "integer", "minimum": 0 },
|
|
80
101
|
"stop_continues": { "type": "integer", "minimum": 0 },
|
|
102
|
+
"dispatch_calls": { "type": "integer", "minimum": 0 },
|
|
103
|
+
"unrouted_dispatches": { "type": "integer", "minimum": 0 },
|
|
104
|
+
"denied_dispatches": { "type": "integer", "minimum": 0 },
|
|
105
|
+
"plain_questions": { "type": "integer", "minimum": 0 },
|
|
106
|
+
"frontier_uses": { "type": "integer", "minimum": 0 },
|
|
107
|
+
"captures": { "type": "integer", "minimum": 0 },
|
|
108
|
+
"closed_without": { "type": "array", "items": { "type": "string" } },
|
|
109
|
+
"route_calls": { "type": "integer", "minimum": 0 },
|
|
110
|
+
"decide_calls": { "type": "integer", "minimum": 0 },
|
|
111
|
+
"spend_calls": { "type": "integer", "minimum": 0 },
|
|
112
|
+
"tool_use": { "type": "object", "description": "Calls per tool-use rule that the run made.", "additionalProperties": { "type": "integer", "minimum": 0 } },
|
|
113
|
+
"tool_nudges": { "type": "array", "items": { "type": "string" } },
|
|
114
|
+
"tool_followed": { "type": "array", "items": { "type": "string" } },
|
|
115
|
+
"tool_skipped": { "type": "array", "items": { "type": "string" } },
|
|
81
116
|
"closed_by": { "enum": ["run_close", "next_prompt", "succession", "turn_end", "session_end"] }
|
|
82
117
|
}
|
|
83
118
|
}
|