@sma1lboy/kobe 0.8.71 → 0.8.72
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/dist/cli/index.js +309 -307
- package/dist/skills/kobe/SKILL.md +19 -24
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ name: kobe
|
|
|
3
3
|
description: Use when controlling kobe tasks, parallel coding attempts, hosted agent sessions, task lifecycle, or the daemon-owned issue tracker from a shell.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- kobe-skill-version:
|
|
6
|
+
<!-- kobe-skill-version: 15 — bump in lockstep with KOBE_SKILL_VERSION (src/lib/skill-install.ts). -->
|
|
7
7
|
|
|
8
8
|
# kobe shell control
|
|
9
9
|
|
|
@@ -29,8 +29,9 @@ lifecycle tracking, and an explicit outcome contract.
|
|
|
29
29
|
- Parallel attempts of one prompt → `fan-out`, not N hand-rolled subagents.
|
|
30
30
|
- Delegating a scoped piece of work → `add --prompt`, not a raw `claude -p`
|
|
31
31
|
child the user cannot see or manage.
|
|
32
|
-
- Following up on a task you started → `send`;
|
|
33
|
-
|
|
32
|
+
- Following up on a task you started → `send`; comparing → `collect`;
|
|
33
|
+
finished your own task and were spawned by another → `send` your outcome
|
|
34
|
+
back to the spawner (the first-prompt coda carries the exact command).
|
|
34
35
|
- Messaging another task's agent → `send`, and ONLY `send` — never relay
|
|
35
36
|
through the user, a side file, or a generic peer channel. Sent from
|
|
36
37
|
inside a kobe task, the prompt arrives prefixed `[KOBE PEER] from
|
|
@@ -179,30 +180,24 @@ explicit count. Give each task a scoped prompt, report returned IDs, then use
|
|
|
179
180
|
poll `send` in a tight loop or use it as casual chat; every call is a full
|
|
180
181
|
engine turn.
|
|
181
182
|
|
|
182
|
-
###
|
|
183
|
+
### Completion flows back through chat (`send`)
|
|
183
184
|
|
|
184
|
-
Outcomes are explicit, never inferred
|
|
185
|
+
Outcomes are explicit, never inferred — and they travel as a MESSAGE to the
|
|
186
|
+
spawning agent's chat tab, not as stored state nobody reads.
|
|
185
187
|
|
|
186
|
-
**Worker side** —
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
`workerReport` — it is the worker's claim, not kobe-verified, so verify the
|
|
192
|
-
winner's actual diff before landing.
|
|
188
|
+
**Worker side** — a task created from inside another kobe task gets a coda
|
|
189
|
+
on its first prompt naming its spawner; when the work is finished, run the
|
|
190
|
+
baked-in command: `kobe api send --task-id <spawner> --prompt
|
|
191
|
+
"<succeeded|failed>: <one line> (branch <final branch>)"`. Include the final
|
|
192
|
+
branch name — the spawner needs it to `land`.
|
|
193
193
|
|
|
194
|
-
**Coordinator side** — block
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
(`"timedOut": true`, exit 0) is a CHECKPOINT, not a failure: silence never
|
|
202
|
-
proves a worker died — it may be mid-turn or waiting on a permission prompt.
|
|
203
|
-
On timeout, inspect (`collect`, `get-task`), nudge (`send`), or simply
|
|
204
|
-
`await` again. Never mark an unreported task failed just because it is
|
|
205
|
-
silent, and never auto-retry it.
|
|
194
|
+
**Coordinator side** — do NOT block or poll. Keep working (or end your
|
|
195
|
+
turn); each worker's outcome arrives in your chat as a `[KOBE PEER]` message
|
|
196
|
+
with its task id. What arrives is the worker's claim, not kobe-verified —
|
|
197
|
+
verify the winner's actual diff before landing. Silence never proves a
|
|
198
|
+
worker died (it may be mid-turn or stuck on a permission prompt): peek with
|
|
199
|
+
`collect`/`get-task`, nudge with `send`, and never mark a silent task failed
|
|
200
|
+
or auto-retry it.
|
|
206
201
|
|
|
207
202
|
### Closing a round
|
|
208
203
|
|
package/package.json
CHANGED