@sma1lboy/kobe 0.8.71 → 0.8.73

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.
@@ -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: 14 — bump in lockstep with KOBE_SKILL_VERSION (src/lib/skill-install.ts). -->
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`; waiting on results →
33
- `await`; comparing `collect`; reporting your own verdict → `report`.
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
- ### Supervising a round (report / await)
183
+ ### Completion flows back through chat (`send`)
183
184
 
184
- Outcomes are explicit, never inferred. The contract has two sides:
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** — every fan-out prompt should end with an instruction like:
187
- "when finished, run `kobe api report --outcome succeeded --summary '<one
188
- line>'` (or `--outcome failed`)". Inside a task the target resolves
189
- automatically ($KOBE_TASK_ID, else the cwd's worktree); pass `--task-id`
190
- only from outside. The verdict is stored verbatim on the task as
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 until the round settles instead of polling:
195
-
196
- ```bash
197
- kobe api await --task-ids <id1>,<id2>,<id3> --timeout-secs 900
198
- ```
199
-
200
- Returns every task's outcome as JSON once all have reported. A timeout
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@sma1lboy/kobe",
4
- "version": "0.8.71",
4
+ "version": "0.8.73",
5
5
  "description": "TUI orchestrator for Claude Code (codename)",
6
6
  "type": "module",
7
7
  "packageManager": "bun@1.3.13",