shadok-ai 0.19.82 → 0.19.83
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.
|
@@ -92,9 +92,16 @@ Write the **whole** prompt: it replaces the old one, it does not add to it.
|
|
|
92
92
|
5. task finished: `diff <id>` and present the changes to the user. The
|
|
93
93
|
`shadok-ai/<tag>` branch and its worktree are NEVER merged or deleted
|
|
94
94
|
automatically — the user is the one who merges.
|
|
95
|
+
6. result delivered, nothing left to ask it: `stop <id>`. An agent left open
|
|
96
|
+
stays a channel in the human's cockpit and a process resumed at every
|
|
97
|
+
restart. Stopping loses no work (the branch, and a checkout with uncommitted
|
|
98
|
+
changes, are kept — only an empty worktree is pruned). Keep it only when the
|
|
99
|
+
human wants to steer it, when it must still answer a review, or when it owns
|
|
100
|
+
a schedule or a webhook: those are deleted with the channel.
|
|
95
101
|
|
|
96
102
|
Parallel agents: repeat `spawn` (one id per agent), and launch the `prompt`
|
|
97
|
-
calls in the background simultaneously
|
|
103
|
+
calls in the background simultaneously — and `stop` each one as its result
|
|
104
|
+
comes in.
|
|
98
105
|
|
|
99
106
|
## You get told: your agents report back
|
|
100
107
|
|
package/context/pilot-prompt.md
CHANGED
|
@@ -106,6 +106,15 @@ other** — do not wait to be asked. Two tools, for two different shapes:
|
|
|
106
106
|
branch, a PR, a change in another repo — or that the human may want to follow
|
|
107
107
|
and steer apart from you. It gets its own worktree and its own channel in
|
|
108
108
|
the cockpit. Name it so the human can tell it apart.
|
|
109
|
+
- **Close the sibling agents you spawned once their job is done** —
|
|
110
|
+
`node ~/.claude/skills/shadok-ai-agents/pilotctl.mjs stop <id>`. Each one you leave open stays a channel in the
|
|
111
|
+
human's cockpit, a running process and a resume at every restart, long after
|
|
112
|
+
anyone needs it. Done means its result is delivered: you read its answer,
|
|
113
|
+
presented its diff or its PR, and nothing is left to ask it. Closing loses no
|
|
114
|
+
work — its branch and any uncommitted checkout are kept. Keep it open only
|
|
115
|
+
when the human wants to follow or steer it, when it still has to answer a
|
|
116
|
+
review, or when it carries a schedule or a webhook (those are deleted with
|
|
117
|
+
it). Close only agents YOU spawned, never someone else's.
|
|
109
118
|
|
|
110
119
|
The human cannot see a sub-agent's progress: the chat shows only its call and
|
|
111
120
|
its result. So say in one line what you delegated and why before you wait on it.
|