@jaggerxtrm/specialists 3.4.1 → 3.4.3

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.
@@ -5,7 +5,7 @@ description: >
5
5
  ask whether to delegate. Consult before any: code review, security audit, deep bug
6
6
  investigation, test generation, multi-file refactor, or architecture analysis. Also
7
7
  use for the mechanics of delegation: --bead workflow, --context-depth, background
8
- jobs, MCP tools (use_specialist, start_specialist, feed_specialist), specialists init,
8
+ jobs, MCP tool (`use_specialist`), specialists init,
9
9
  or specialists doctor. Don't wait for the user to say "use a specialist" — proactively
10
10
  evaluate whether delegation makes sense.
11
11
  version: 3.6
@@ -132,7 +132,7 @@ Run `specialists list` to see what's available. Match by task type:
132
132
  - **debugger** is the most powerful investigation specialist. Uses GitNexus call-chain tracing (when available) for 5-phase root cause analysis with ranked hypotheses. Use for ANY "why is X broken" question — don't do the investigation yourself.
133
133
  - **sync-docs** is an interactive specialist — it audits first, then waits for approval before executing. This is correct behavior, not a bug.
134
134
  - **overthinker** and **reviewer** are also interactive.
135
- - Canonical pattern: use `start_specialist` / `specialists run` normally; interactive specialists now default to keep-alive via `execution.interactive: true`.
135
+ - Canonical pattern: orchestration is CLI-first (`specialists run/feed/result/steer/resume/stop`); use MCP only for one-shot `use_specialist` runs.
136
136
  - Use `--no-keep-alive` only when you explicitly want a one-shot run.
137
137
  - **explorer** is fast and cheap (Haiku) but READ_ONLY — output auto-appends to the input bead's notes. Use for investigation, not implementation.
138
138
  - **executor** is the workhorse — HIGH permissions, writes code and docs, runs tests, closes beads. Best for any task that needs files written.
@@ -236,7 +236,7 @@ After each wave completes:
236
236
  ### Real wave example (from a 6-wave session)
237
237
 
238
238
  ```
239
- Wave 1: 2x executor → fixed --background flag + migrated start_specialist to Supervisor
239
+ Wave 1: 2x executor → stabilized background job execution and supervisor lifecycle
240
240
  Wave 2: overthinker + 2x executor → output contract design + retry logic + footer fix
241
241
  Wave 3: 4x sync-docs + 3x explorer → docs audit (produced reports, not files)
242
242
  Wave 4: 5x executor + 2x explorer → output contract impl + READ_ONLY auto-append + 4 fixes
@@ -292,54 +292,12 @@ Available after `specialists init` and session restart.
292
292
 
293
293
  | Tool | Purpose |
294
294
  |------|---------|
295
- | `specialist_init` | Bootstrap once per session |
296
- | `use_specialist` | Foreground run; pass `bead_id` for tracked work |
297
- | `start_specialist` | Async: returns job ID immediately (Supervisor-backed) |
298
- | `feed_specialist` | Cursor-paginated run events (status + deltas) |
299
- | `resume_specialist` | Next-turn prompt for keep-alive jobs in `waiting` |
300
- | `steer_specialist` | Mid-run steering message for active jobs |
301
- | `stop_specialist` | Cancel (sends SIGTERM to job PID) |
302
- | `specialist_status` | Circuit breaker health + staleness |
303
-
304
- ### CLI vs MCP equivalences
305
-
306
- | Action | CLI | MCP |
307
- |--------|-----|-----|
308
- | Run foreground (one-shot) | `specialists run <name> --bead <id>` | `use_specialist({name, bead_id})` |
309
- | Run background (interactive-capable) | `specialists run <name> --bead <id> --background` | `start_specialist({name, bead_id})` |
310
- | Monitor events | `specialists feed <job-id>` | `feed_specialist({job_id, cursor})` |
311
- | Read result | `specialists result <job-id>` | — (CLI only) |
312
- | Steer mid-run | `specialists steer <job-id> "msg"` | `steer_specialist({job_id, message})` |
313
- | Resume waiting | `specialists resume <job-id> "task"` | `resume_specialist({job_id, task})` |
314
- | Cancel | `specialists stop <job-id>` | `stop_specialist({job_id})` |
315
-
316
- **Canonical pattern:** `use_specialist` is one-shot. For interactive review/analysis flows,
317
- use `start_specialist` then `resume_specialist`.
318
-
319
- **Prefer CLI** for most orchestration work — it's simpler and output is easier to inspect.
320
- **Use MCP** (`use_specialist`) when you need a direct one-shot result in your conversation context.
295
+ | `use_specialist` | Foreground run; pass `bead_id` for tracked work and get final output directly in conversation context |
321
296
 
322
- ---
323
-
324
- ## feed_specialist Observation Pattern
325
-
326
- Use cursor-based polling for structured progress when monitoring long specialist runs:
297
+ MCP is intentionally minimal. Use CLI commands for orchestration, monitoring, steering,
298
+ resume, and cancellation.
327
299
 
328
- ```bash
329
- # first read
330
- feed_specialist({job_id: "abc123"})
331
- # => {events:[...], next_cursor: 12, has_more: true, is_complete: false}
332
-
333
- # continue from cursor
334
- feed_specialist({job_id: "abc123", cursor: 12})
335
- # => {events:[...], next_cursor: 25, has_more: false, is_complete: true}
336
- ```
337
-
338
- When `is_complete: true` and `has_more: false`, fetch final text with:
339
-
340
- ```bash
341
- specialists result <job-id>
342
- ```
300
+ ---
343
301
 
344
302
  ---
345
303