@ferris1225/pi-subagents 4.3.34 → 5.0.1

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +55 -359
  2. package/README.md +163 -553
  3. package/index.ts +28 -3
  4. package/package.json +2 -2
  5. package/skills/workflow/SKILL.md +46 -29
  6. package/src/configuration/config.ts +15 -5
  7. package/src/configuration/setup.ts +79 -228
  8. package/src/configuration/ui.ts +249 -128
  9. package/src/delegation/agents.ts +4 -3
  10. package/src/delegation/builtin-agents.ts +34 -10
  11. package/src/delegation/dispatch.ts +9 -6
  12. package/src/delegation/prompt.ts +13 -9
  13. package/src/execution/cli-run.ts +404 -0
  14. package/src/execution/process-tree.ts +1 -1
  15. package/src/execution/{rpc-control.ts → run-control.ts} +23 -33
  16. package/src/execution/spawn.ts +33 -185
  17. package/src/isolation/cleanup.ts +174 -0
  18. package/src/isolation/temp-hygiene.ts +2 -26
  19. package/src/lifecycle/cancellation.ts +36 -0
  20. package/src/lifecycle/completion.ts +1 -1
  21. package/src/lifecycle/dispatch-core.ts +0 -1
  22. package/src/lifecycle/durable.ts +5 -1
  23. package/src/lifecycle/runtime.ts +42 -29
  24. package/src/lifecycle/stop.ts +176 -0
  25. package/src/lifecycle/thread-lifecycle.ts +14 -14
  26. package/src/lifecycle/thread-restore.ts +12 -15
  27. package/src/lifecycle/thread-shared.ts +2 -0
  28. package/src/lifecycle/tools.ts +145 -181
  29. package/src/presentation/format.ts +2 -5
  30. package/src/presentation/monitor.ts +16 -1
  31. package/src/presentation/widget.ts +141 -175
  32. package/src/workflow/engine.ts +68 -34
  33. package/src/workflow/files.ts +10 -32
  34. package/src/workflow/plan.ts +61 -13
  35. package/src/workflow/state.ts +4 -3
  36. package/src/workflow/tool.ts +23 -12
  37. package/workflows/code-review.md +15 -10
  38. package/workflows/migration.md +14 -26
  39. package/workflows/research.md +6 -5
  40. package/src/execution/rpc-run.ts +0 -889
package/CHANGELOG.md CHANGED
@@ -1,361 +1,57 @@
1
1
  # Changelog
2
2
 
3
- Release notes for `@ferris1225/pi-subagents`. Only the most recent releases
4
- are kept here; every published version is preserved as a GitHub Release.
5
-
6
- ## 4.3.34
7
-
8
- - Reject a workflow that would reuse a phase this session already owns, before
9
- any node starts, and name each owning run with the way out. A settled phase
10
- stays owned once it settles, and an interrupted one keeps its claim across
11
- reloads, so "re-run it in a new session" was wrong: the graph previously failed
12
- its first node and blocked the rest.
13
- - Say the same thing for a per-run duplicate: a parked owner is told to retire
14
- the phase with `subagent_stop({ id })` instead of being told to let it finish.
15
-
16
- ## 4.3.33
17
-
18
- - Add `subagent_workflow`: declare a graph of phases with `dependsOn` and the
19
- runtime dispatches each node the moment its prerequisites settle and a process
20
- slot frees, without a parent model turn between waves. The graph is validated
21
- before the first child starts (unique ids, existing dependencies, no cycles,
22
- resolvable `{{id}}` placeholders, no declared writer-scope overlap between
23
- nodes no dependency orders), so an invalid plan costs zero child processes.
24
- - Nodes are ordinary one-shot runs: same dispatcher, admission, isolation,
25
- durable checkpointing, and usage accounting. A node's result registers only
26
- after its worktree is integrated, so a dependent reads what its prerequisite
27
- actually left behind.
28
- - A node completion is quiet; the graph reports once. The summary names
29
- completed, failed, and never-ran nodes with the reason, inlines each node's
30
- answer (clipped, with a full-report artifact when anything was cut), and adds a
31
- per-model tally. A failed node blocks only its dependents.
32
- - Saved definitions: `.pi/workflows/<name>.json` or `.md` in a trusted project,
33
- `~/.pi/agent/workflows/` for the user, and `code-review`, `research`, and
34
- `migration` templates shipped with the package. Markdown definitions carry
35
- prose plus one `json` fenced block.
36
- - `subagent_status` accepts `workflow` and reports graph nodes, wait reasons, and
37
- retained graphs; `subagent_stop` accepts `workflow` and stops a graph without
38
- starting its idle dependents. An unfinished graph's shape is retained on disk
39
- for the next session's notice instead of resuming automatically.
40
- - Ship a `workflow` skill with the authoring guidance, and describe the graph
41
- tool in the delegation contract.
42
- ## 4.3.32
43
-
44
- - Derive a role's tools from the live catalog instead of a hardcoded name list.
45
- No role file names extension, MCP, or vendor tools any more: `scout` keeps
46
- every active tool the host proves read-only (`annotations.readOnlyHint`, plus
47
- pi's own `read`, `grep`, `find`, `ls`), so any retrieval extension or MCP
48
- search server works for it without being named. The former `anysearch`,
49
- `anchor_grep`, `web_search`, and `fetch_content` entries are gone.
50
- - Keep a tool that reaches other tools out of a read-only role. `codemode` and
51
- `tool_search` can reach a writer, so scout never receives them even when they
52
- are annotated read-only; broad roles still inherit the session's live surface,
53
- codemode included, and a code-mode parent therefore produces code-mode
54
- children under the same `codemode.mode`.
55
- - Reach read-only MCP tools without reconfiguring the server. A server left at
56
- pi's default `codemode` exposure keeps its tools out of the model's
57
- declarations, so scout previously got nothing from it. It now receives the
58
- read-only ones directly — exactly those, since a named MCP tool also filters the
59
- rest — so a script-only search server works for scout with no `mcp.json` edit,
60
- and the child still cannot reach an MCP writer.
61
- - Keep MCP tools out of a child that names none. pi keeps MCP tools unless a
62
- `--tools` entry names one, so a resolved child list that names none now adds
63
- `mcp__*` to the excluded tools; scout's read-only boundary can no longer leak
64
- an MCP writer.
65
- - Treat tools without a read-only annotation as write-capable for worktree and
66
- repository-lane decisions, instead of trusting a built-in name list.
67
- - Ship the two built-in role prompts as code and drop `agents/` from the
68
- package. Custom role files are gone entirely: nothing is discovered from
69
- `~/.pi/agent/agents/` or `.pi/agents/` any more, `scout` and `artisan` are
70
- always enabled, and a role can no longer declare its own tool list or
71
- isolation default.
72
- - Reduce the config file to `agentModels` and `agentThinkingLevels`.
73
- `enabledAgents`, `knownAgents`, `agentScope`, `maxConcurrentAgents`,
74
- `idleTimeoutSec`, and `maxResultLines` are removed — capacity, idle timeout,
75
- and result length are fixed constants — and obsolete keys in an older file
76
- are dropped on load. `/subagents-setup` now lists the two fixed roles with
77
- their current route and walks model then thinking for one or both.
78
- - Show a code-mode script's first meaningful line in the activity trail instead
79
- of a bare tool name, and drop the remaining vendor tool names from the
80
- formatter.
81
- - Default to delegating instead of requiring a proven benefit first. The
82
- delegation directive and the `subagent` tool description now tell main to
83
- dispatch independent or self-contained work — parallel phases usually beat a
84
- serialized main — and keep only what needs conversation context or is too
85
- small to brief.
86
- - Development dependencies track Pi 1.4.0. The unused
87
- `@earendil-works/pi-server` and `@earendil-works/pi-agent-core` peer and
88
- development dependencies are removed, and the source no longer uses parameter
89
- properties, so `npm test` runs without an experimental flag on Node 26 as well
90
- as Node 22 and 24.
91
- - Drop dead code and tighten the module surface: stale re-exports
92
- (`matchRunIds`, `runInManagedRepositoryLane`, the `rpc-run` passthroughs) and
93
- the never-read `WorktreeSetupError.retainedPaths` are gone, and internal
94
- helpers and tuning constants are no longer exported. No behavior change.
95
-
96
- ## 4.3.31
97
-
98
- - Write the config on first start instead of prompting. A missing
99
- `pi-subagents.json` is created with both roles enabled and no model overrides,
100
- so scout and artisan follow the main model immediately. Session start announces
101
- `/subagents-setup` once; the file's presence keeps later sessions silent. The
102
- first-run confirm dialog is gone.
103
-
104
- ## 4.3.30
105
-
106
- - Restore pi's own footer. The extension no longer replaces the built-in
107
- consumption line with a per-model cost footer, so session spend is shown
108
- exactly as pi reports it.
109
- - Ask for configuration on a fresh install. When `pi-subagents.json` does not
110
- exist, session start announces `/subagents-setup` and offers to open the
111
- wizard immediately instead of only printing a hint.
112
- - The full setup asks each enabled role's thinking level right after its model,
113
- the same model-then-thinking order as _Configure an agent_, instead of leaving
114
- the role default unexamined.
115
-
116
- ## 4.3.29
117
-
118
- - Remove the leftover `steward` and `sentinel` routing. Those roles are no
119
- longer shipped, yet a custom file with either name still received a special
120
- routing rule and lease label; it is now an ordinary custom role, listed by
121
- its catalog line only. Configs without adoption tracking now assume the
122
- shipped two-role catalog.
123
-
124
- ## 4.3.28
125
-
126
- - Deliver a child's whole final answer. When the last assistant message split
127
- its answer into several text blocks (for example around interleaved
128
- thinking), only the first block reached main; every block is now joined.
129
- - Keep only the newest 32k characters of a child's stderr. A chatty or
130
- crash-looping child no longer grows parent memory without bound, and error
131
- toasts are capped to one line; completion blocks and result files still carry
132
- the diagnostic tail.
133
- - Model handoff prompts put the objective in its own block, so a multi-line
134
- brief stays intact instead of being spliced mid-sentence.
135
- - The routing contract's preference line no longer restates the scout and
136
- artisan catalog descriptions word for word.
137
- - Performance: RPC stdout framing is linear in the chunk size, identical
138
- streamed thinking/text deltas no longer re-render the widget, the durable
139
- manifest is rewritten only when a run's session or child pids change instead
140
- of on every child turn, and session-start hygiene validates manifests once.
141
- - Session-start sweeps fail closed: an unreadable manifest skips the deleting
142
- sweeps instead of treating every directory as unclaimed.
143
- - Internal cleanup: one shared process-tree terminator, a single result-row
144
- renderer, and shared usage formatting.
145
-
146
- ## 4.3.27
147
-
148
- - Let `scout` use the `anysearch`/`anysearch_extract` web-retrieval tools. The
149
- role's known-safe read-only set already carried one search extension's tool
150
- ids (`web_search`/`fetch_content`); adding the AnySearch pair lets scout
151
- search and read decisive pages on installs that run that extension instead.
152
- Both tools stay behind the strict intersection with Main's active tools.
153
- - Raise the idle-watchdog default from 90 to 1800 seconds (clamp ceiling 600 →
154
- 3600). A child that goes silent on a long fetch or slow provider is no longer
155
- terminated mid-work; a saved config with the old `idleTimeoutSec` value keeps
156
- overriding the default until edited.
157
-
158
- ## 4.3.26
159
-
160
- - Track Pi 1.3.0 development dependencies. Pi 1.2.0 fires `before_agent_start`
161
- for runs triggered by `sendMessage` too, which this extension already handles
162
- idempotently, and fixes Pi 1.0.x dropping extension-installed system prompt
163
- sections after the first tool call of such a run.
164
- - Narrow `scout` to search only. Its role file and the parent routing line now
165
- say read-only code, documentation, and web lookup with no shell; work that
166
- needs execution stays in main instead of being briefed to a child that cannot
167
- run commands.
168
- - Deliver long results exactly once. A completion that exceeds
169
- `maxResultLines` (or has lines wider than 200 characters) no longer inlines a
170
- truncated copy: the notice states the true size and routes main to the full
171
- Markdown artifact, so the same content never enters the main context twice.
172
- - `subagent_status` answers progress with an activity trail of what each run
173
- has been doing, and no longer dangles child session paths in the
174
- model-facing text. Actionable paths — a truncated run's full-result file and
175
- retained worktree/patch artifacts — remain.
176
- - Remove the advisory `subagent_risk` tool. A path-name classifier cannot
177
- out-judge main reading the integrated diff, and the tool added a call without
178
- adding evidence.
179
-
180
- ## 4.3.24
181
-
182
- - Remove the live `tok/s` throughput figure from the per-model cost footer.
183
- Dividing the message's output tokens by wall-clock stream time could not be
184
- made trustworthy across providers (reasoning tokens, time-to-first-token,
185
- and per-chunk usage semantics differ), and no mainstream agent CLI ships a
186
- comparable live rate. The footer keeps exactly-reported facts only: per-model
187
- token flow, cost, context share, and thinking level.
188
-
189
- ## 4.3.23
190
-
191
- - Track Pi 1.0.3. The extension API, RPC command types, and the child
192
- `registerProvider` path are unchanged. Pi renamed the Azure provider from
193
- `azure-openai-responses` to `azure`; a stored agent model override follows
194
- whichever of those ids the live catalog still lists, and is rewritten to
195
- `azure/<id>` once that is the one Pi reports.
196
-
197
- ## 4.3.22
198
-
199
- - Use a subagent when the work can run independently in parallel, its boundary
200
- is clear, and delegation will actually reduce cost or improve completion
201
- quality. Role choice still prefers scout or artisan when that gate is met.
202
-
203
- ## 4.3.21
204
-
205
- - Ship `scout` and `artisan` only. Scout is the lightweight read-only researcher;
206
- artisan implements one substantial change. Remove the built-in steward and
207
- sentinel roles, their setup profiles, and the sentinel review gate.
208
- - Rewrite the role prompts and the parent delegation section for GPT-6 Astra:
209
- the brief outranks role text, authorized work finishes without a first-draft
210
- pause, and checks stay proportional to the change.
211
- - Ask main to prefer scout and artisan when a fresh context or an independent
212
- parallel phase would help, and to keep small understood edits. Free slots are
213
- not a reason to open another phase.
214
- - Report `subagent_risk` as elevated path risk for main to inspect.
215
-
216
- ## 4.3.20
217
-
218
- - Install the delegation contract as a `<subagents>` prompt section and live
219
- phase leases as `<subagent_leases>`. Pi 1.0 appends a section delta only when
220
- that text changes, so an unchanged turn keeps the cached system prefix.
221
- Hosts without a section map still append the combined directive.
222
- - Declare `subagent`, `subagent_status`, `subagent_stop`, and `subagent_risk`
223
- as `model-only`, with read-only or destructive annotations. Codemode scripts
224
- cannot call them, and they stay declared even when codemode hides `direct`
225
- tools. Dispatch and stop run sequentially so one assistant message cannot
226
- race phase admission.
227
- - Register the child no-retry provider override with the model's `api`. Pi 1.0
228
- rejects a `streamSimple` registration that omits it, which left provider
229
- retries at the user's setting.
230
- - Require Pi 1.0.0. Development dependencies track 1.0.2.
231
-
232
- ## 4.3.19
233
-
234
- - Scope session-start thread restore and recovery notices to the current
235
- checkout. A second pi window in another project no longer announces the first
236
- project's retained worktree, retries its leftover cleanup, or restores and
237
- stops its interrupted children.
238
- - Cover sibling-window isolation with recovery announcement, leftover-cleanup,
239
- and parked-thread restore checks across two checkouts that share one agent dir.
240
-
241
- ## 4.3.18
242
-
243
- - Keep known-context local changes in main and delegate only substantial,
244
- bounded work with a concrete context, exploration, or parallelism benefit.
245
- Available roles and process slots are capacity rather than a team-size target.
246
- - Reserve Steward for remaining cross-cutting cleanup and Sentinel for fresh
247
- verification of concrete concerns. Reuse completed local hygiene and checks.
248
- - Add `maxConcurrentAgents`: `0` preserves automatic host capacity (4–6), and
249
- `1`–`6` selects an explicit process limit. Apply changes at the next dispatch;
250
- lowering capacity drains active work without aborting it. Existing queue,
251
- write-scope, leaf, and recovery protections remain in force.
252
- - Document controlled workload comparisons that include final acceptance,
253
- parent and child costs, integration, failed attempts, and rework.
254
-
255
- ## 4.3.15
256
-
257
- - Fix the cost footer's stale-context crash after reload, new session, resume,
258
- or fork. Remove the module-global event context cache and render against
259
- the installed footer's own live session context. Existing shutdown cleanup
260
- removes the footer and its subscriptions before that context is invalidated.
261
- - Cover replacement-session rendering with Pi's real context invalidation,
262
- subscription cleanup, and live model/thinking/context/session-name updates.
263
-
264
- ## 4.3.13
265
-
266
- - Remove the `subagents N running · …` activity-count line from the footer.
267
- Live progress stays visible in the above-editor widget, per-run completion
268
- notifications, and `subagent_status`; the footer is reserved for the
269
- per-model cost tally.
270
-
271
- ## 4.3.12
272
-
273
- - Replace pi's built-in consumption line with a per-model cost footer for the
274
- main window: each `provider/model` keeps its own token flow, cost, context
275
- share, thinking level, and live `tok/s` throughput, directly under the
276
- current-project line. Settled models rank by spend, cap at three rows, and
277
- drop token flow before truncating under width pressure. The tally reseeds
278
- from the session file on reload.
279
- - Stop attaching awaited children's usage to the `subagent` tool result: pi
280
- folds tool-result usage into one session total, which merged every model's
281
- spend into the main window's consumption. Children keep reporting usage per
282
- run with their model ref when they settle.
283
- - Group parallel completion totals per model instead of summing different
284
- models' costs into one number.
285
-
286
- ## 4.3.11
287
-
288
- - Simplify parent delegation and built-in role prompts using OpenAI's GPT-6 Astra
289
- guidance and Eric Provencher's prompting experience. Keep role descriptions in
290
- the catalog and brief details in tool parameters instead of repeating both.
291
- - Replace fixed search routines, research fan-out, exhaustive cleanup itineraries,
292
- and mandatory per-test red/green demonstrations with outcome-driven work and
293
- change-appropriate verification. Required project gates and meaningful tests remain.
294
- - Clarify that children receive normal Pi project instructions in addition to their
295
- brief. Let writers resolve routine implementation details and complete authorized
296
- work, while preserving explicit scope/approval boundaries and read-only roles.
297
- - Retain one-shot phase ownership, tool restrictions, admission checks, isolation,
298
- cancellation, and recovery. Make stop's destructive, non-resumable behavior explicit
299
- in its own tool description. Model selection and thinking defaults are unchanged.
300
-
301
- ## 4.3.10
302
-
303
- - Add read-only `subagent_status`: list current-session runs or inspect an exact id,
304
- including progress, elapsed time, terminal diagnostics, and retained artifact paths.
305
- Runtime facts use Pi's existing `details.runs`; children do not need strict JSON reports.
306
- - Remove `subagent_control` and all steer/park/resume entry points, continuation
307
- admission, session forking, and resume widget markers. Main handles failed or
308
- incomplete phases; new deliverables get new briefs. Dispatch, automatic completion
309
- delivery, destructive stop, RPC cancellation, and manual worktree recovery remain.
310
- - Keep interrupted worktree edits even when the retained Pi session file is missing.
311
- Manual recovery no longer depends on model context; managed-path validation and
312
- index-preserving Git integration stay intact.
313
- - Record child exits before RPC settlement with their exit code or signal instead
314
- of returning only partial output. Clear stale provider errors after successful Pi
315
- retries, expose missing diagnostic evidence explicitly, and keep individual failed
316
- tool calls separate from a terminal run failure. Preserve safe pre-prompt startup
317
- retries and keep the last recorded cause when that retry budget is exhausted.
318
- - Require Pi 0.85.0 and reuse its exported RPC command/response types. Include its
319
- official server package as a peer and development dependency: the unbundled SDK
320
- and CLI require it at runtime, not only in tests.
321
- - Discover actual built-in/custom role definitions in setup, respecting project
322
- trust. Saving selection removes unavailable names and overrides without retired-role
323
- aliases or config migration; real disabled and never-configured custom roles remain selectable.
324
-
325
- ## 4.3.9
326
-
327
- - Add optional bounded stable `phaseId` and exact declarative write `scope` claims to single
328
- and parallel dispatches. Phase identity is immutable across task rewrites and resume; scope
329
- is monotonic across retained generations and survives durable v1 restore. Exact task+cwd
330
- remains the compatibility fallback.
331
- - Reject deterministic duplicates and declared writer-scope conflicts before parallel batch
332
- allocation. Fresh single and resumed writers also reject normalized absolute scope overlap
333
- with active leases, without requiring equal caller cwd. Parallel calls that omit scope remain
334
- compatible and explicitly report `independence not verified`; declared claims do not prove
335
- natural-language task independence. Scope is conflict metadata, not permissions or a sandbox.
336
- - Add the advisory-only `subagent_risk` tool. Without a model call it resolves the repository
337
- root, reads root-relative tracked and untracked changes from `HEAD`, and applies fixed
338
- explainable rules for concurrency, trust-boundary, persistence-compatibility, and
339
- failure-cancellation risk. It propagates cancellation, and suggests but never dispatches or
340
- requires a Sentinel review.
341
-
342
- ## 4.3.8
343
-
344
- - Restore `sentinel` as an optional fresh-context reviewer instead of the mandatory
345
- pre-commit loop retired in 4.3.5. It reads a completed diff with no memory of how the
346
- change was written, attacks behavior, trust boundaries, failure and cancellation paths,
347
- concurrency, persistence, portability, and whether each test would fail without the
348
- change, runs only the smallest check that proves a suspected defect, and returns
349
- evidence-backed findings as `SEVERITY path:line — failure scenario; evidence; smallest
350
- fix` or `No findings.`
351
- - Route sentinel by risk, not ritual: the delegation directive dispatches it after cleanup
352
- and before commit only for diffs touching concurrency, trust boundaries,
353
- persistence/compatibility, or failure/cancellation paths, or when checks cannot prove
354
- the change, and treats a finding as evidence to route back to the owning thread via
355
- `resume` or fix inline. Artisan keeps proving its own change; main keeps the final gate.
356
- - Sentinel runs on the current main model unless `/subagents-setup` picks one, defaults to
357
- `high` thinking, stays on the shared checkout whose uncommitted diff it reviews (an
358
- explicit `isolation: worktree` is rejected), and holds the repository lane while it
359
- reviews.
360
- - Drop the 4.3.5 retirement filter: configs written by 4.3.5–4.3.7 adopt `sentinel` once
361
- through the built-in adoption rule, and a deliberate disable in setup remains disabled.
3
+ ## 5.0.1
4
+
5
+ ### Changes
6
+
7
+ - Add independent `reviewer` and `critic` roles with their own model and
8
+ thinking settings. `artisan` now owns implementation only; reviews report the
9
+ smallest fix per confirmed defect so the same turn can apply it and confirm
10
+ only that fix.
11
+ - Replace the nested `/subagents-setup` screens with a role grid: one row per
12
+ role, Model / Thinking / Reset as columns.
13
+ - Run children through Pi RPC so a running child can be steered. Add
14
+ `subagent_message`: `context: "session"` continues a private copy of the
15
+ retained session for rework (same prompt-cache key); `context: "summary"`
16
+ starts a new next step from a bounded summary of objective, result and
17
+ touched files.
18
+ - Fix `subagent_stop` ignoring `all` when an unknown `workflow` was also sent,
19
+ and remove stopped runs and graphs from the widget instead of showing them as
20
+ failures.
21
+ - Stop restore from signalling recorded child or owner PIDs, so another Pi
22
+ window or project is never disturbed.
23
+ - Add `/subagents-cleanup` (and `dry-run`) to report per-project usage and
24
+ reclaim unclaimed sessions, worktrees and result artifacts while keeping
25
+ parked recovery work.
26
+ ## 5.0.0
27
+
28
+ ### Breaking changes
29
+
30
+ - Run children through Pi's native `--mode json` CLI instead of the custom RPC
31
+ transport. Pi owns provider adapters, retries, and session persistence.
32
+ - Cancelling the parent stops its child work. Aborted awaited results no longer
33
+ return through background completion.
34
+ - Conversation-tree navigation stops unfinished work. New/resume/fork/reload
35
+ ends old children and retains interrupted artifacts for manual recovery.
36
+
37
+ ### Changes
38
+
39
+ - Restore ordinary subagent completion delivery.
40
+ - Fix workflow isolation, transitive result interpolation, output limits, and
41
+ failure propagation. Checkpoint live graphs and reserve pending phases.
42
+ - Share cancellation and worktree finalization across runs and graphs. Stop all
43
+ writers before waiting for cleanup.
44
+ - Redesign the widget as a 10-line task board with an overview, workflow
45
+ groups, stable status/time columns, and secondary activity/model details.
46
+ Keep task identities and failures visible before optional telemetry; collapse
47
+ completed nodes into progress and share space between groups.
48
+ - Choose delegation from task structure and coordination cost. Keep small work
49
+ in main, use parallel tasks for independent work, and proactively choose a
50
+ workflow for substantial phases with known dependencies. Reassess after
51
+ discovery instead of imposing a research/implementation/review pipeline.
52
+ Keep fixes with their tests and use command-capable roles for reproduction.
53
+ - Replace the setup wizard with a grouped role panel. Edit model and thinking
54
+ separately, restore defaults per role, preserve focus, and show effective
55
+ reasoning levels. Add native input handling for search, paste, and IME.
56
+ - Validate saved definitions before dispatch, reject unfilled templates, and
57
+ honor call-level name and description overrides.