pi-subagent-manager 1.4.1 → 1.6.0

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/agents/coder.md CHANGED
@@ -7,10 +7,7 @@ color: mdCode
7
7
  modelSuggestions:
8
8
  - sonnet-5.5
9
9
  - gpt-6.1-sol
10
- - muse-spark-1.3
11
- - mimo-v2.6-pro
12
- - glm-5.3
13
- - grok-4.7
10
+ - kimi-k3.1-pro
14
11
  tools:
15
12
  allow:
16
13
  - read
@@ -3,11 +3,9 @@ name: researcher
3
3
  icon: ""
4
4
  description: Evidence-backed local/remote codebase and internet research; source verification, versioned citations, and decision-ready synthesis
5
5
  modelSuggestions:
6
- - gemini-4-argon
7
- - gpt-5.6-sol
8
- - muse-spark-1.3
6
+ - gpt-6.1-terra
9
7
  - sonnet-5.5
10
- thinkingLevel: high
8
+ thinkingLevel: medium
11
9
  color: syntaxVariable
12
10
  tools:
13
11
  allow:
package/agents/tasker.md CHANGED
@@ -6,9 +6,7 @@ thinkingLevel: low
6
6
  color: success
7
7
  modelSuggestions:
8
8
  - gpt-6-luna
9
- - deepseek-v4.1-flash
10
- - gemini-3.5-flash-lite
11
- - gemini-3.8-flash
9
+ - haiku-5.5
12
10
  tools:
13
11
  allow:
14
12
  - read
@@ -2,7 +2,7 @@
2
2
 
3
3
  Six packaged roles are Markdown definitions in `agents/`. User/project definitions can override any role. Retained threads keep their saved definitions until replaced through the normal configuration flow.
4
4
 
5
- The model shortlist was audited **October 4, 2026 local time (October 3 UTC)**. It compares task effectiveness, cost, latency, and evidence quality, not just release recency. Read the [source-backed model audit](research-model-audit-2026-10.md) for measurements and qualifications, and [researcher workflow research](research-researcher-workflow.md) for retrieval guidance. The older [five-role shortlist](research-default-agent-models.md) is historical.
5
+ The original model shortlist was audited **October 4, 2026 local time (October 3 UTC)**. The tasker, researcher, and coder suggestions below reflect subsequent user-selected updates checked against the current Pi model list. Read the [source-backed model audit](research-model-audit-2026-10.md) for historical measurements and qualifications, and [researcher workflow research](research-researcher-workflow.md) for retrieval guidance. The older [five-role shortlist](research-default-agent-models.md) is historical.
6
6
 
7
7
  ## Role routing
8
8
 
@@ -10,7 +10,7 @@ The model shortlist was audited **October 4, 2026 local time (October 3 UTC)**.
10
10
  | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
11
11
  | `architect` | Design, ambiguity, tradeoffs, verifiable plans, and explicitly authorized coordination. Not an implementation mandate or an unlimited research job. | `high` |
12
12
  | `coder` | Iterative implementation, refactoring, debugging, and frontend UI through a checked patch. Not lookup-only work or independent review. | `high` |
13
- | `researcher` | Source-backed local/remote codebase, library/API, and internet research; verification and synthesis. No implementation edits or delegation. | `high` |
13
+ | `researcher` | Source-backed local/remote codebase, library/API, and internet research; verification and synthesis. No implementation edits or delegation. | `medium` |
14
14
  | `reviewer` | Scoped, non-mutating correctness/security review with demonstrable defects and minimal local repair suggestions. No implementation or comment quota. | `high` |
15
15
  | `tasker` | Short bounded diagnostics, extraction, mechanical changes, and targeted repository lookup. Escalate ambiguity or sustained implementation. | `low` |
16
16
  | `writer` | Original or revised prose for a stated audience and voice, using supplied/local evidence. No invented facts or live evidence gathering. | `medium` |
@@ -40,30 +40,30 @@ Suggestions are chosen by task capability, quality, cost, and speed. API formats
40
40
 
41
41
  Every `modelSuggestions` entry is a single plain model-name string suitable for fuzzy search—no parentheticals, tier labels, benchmark scores, or provider paths. Those belong in this guide and the audit. Suggestions are advisory: they **do not select a runtime model**. Defaults inherit the parent/default model until configured. Actual runtime preferences belong in `models` as eligible `provider/model-id` identities and are subject to scoped-model filtering.
42
42
 
43
- | Role | Suggested names, in order | Rationale |
44
- | ---------- | ------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
45
- | architect | `opus-5.5`, `gpt-6-astra`, `fable-5.1`, `kimi-k3` | Heavyweight, quality-first reasoning for ambiguous architecture, difficult constraints, and consequential plans; Kimi is the user-selected long-context alternative. |
46
- | coder | `sonnet-5.5`, `gpt-6.1-sol`, `muse-spark-1.3`, `mimo-v2.6-pro`, `glm-5.3`, `grok-4.7` | Reliable iterative tool use first, then quality/price and additional user-selected implementation alternatives. |
47
- | researcher | `gemini-4-argon`, `gpt-5.6-sol`, `muse-spark-1.3`, `sonnet-5.5` | Compact calibration/research shortlist with a user-selected GPT-5.6 Sol alternative. Hallucination and accuracy scores are in the audit; GPT-6.1 Sol's scores must not be transferred to GPT-5.6 Sol. No matched research-citation tournament is claimed. |
48
- | reviewer | `gpt-6.1-sol`, `sonnet-5.5`, `opus-5.5`, `glm-5.3` | Reasoning and code evidence, without treating premium Astra as necessary for every review. |
49
- | tasker | `gpt-6-luna`, `deepseek-v4.1-flash`, `gemini-3.5-flash-lite`, `gemini-3.8-flash` | Cheap/fast first; stronger Flash only when reliability warrants it. Sonnet is no longer a routine bounded-task suggestion. |
50
- | writer | `opus-5.5`, `gemini-4-argon`, `gemini-3.8-flash`, `fable-5.1`, `muse-spark-1.3` | Quality-sensitive editorial work, creative-writing Arena candidates, low-cost drafting, and a user-selected Muse alternative. |
43
+ | Role | Suggested names, in order | Rationale |
44
+ | ---------- | ------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
45
+ | architect | `opus-5.5`, `gpt-6-astra`, `fable-5.1`, `kimi-k3` | Heavyweight, quality-first reasoning for ambiguous architecture, difficult constraints, and consequential plans; Kimi is the user-selected long-context alternative. |
46
+ | coder | `sonnet-5.5`, `gpt-6.1-sol`, `kimi-k3.1-pro` | User-selected implementation shortlist, with high thinking by default. |
47
+ | researcher | `gpt-6.1-terra`, `sonnet-5.5` | User-selected research shortlist, with medium thinking by default; no matched research-citation tournament is claimed. |
48
+ | reviewer | `gpt-6.1-sol`, `sonnet-5.5`, `opus-5.5`, `glm-5.3` | Reasoning and code evidence, without treating premium Astra as necessary for every review. |
49
+ | tasker | `gpt-6-luna`, `haiku-5.5` | User-selected bounded-task shortlist, with low thinking by default. |
50
+ | writer | `opus-5.5`, `gemini-4-argon`, `gemini-3.8-flash`, `fable-5.1`, `muse-spark-1.3` | Quality-sensitive editorial work, creative-writing Arena candidates, low-cost drafting, and a user-selected Muse alternative. |
51
51
 
52
- These are choices, not an automatic fallback/escalation chain or a universal quality ranking. Gemini 4 Argon is included for its uncertainty calibration and creative-writing evidence despite gated access; preliminary results and source-specific pricing remain disclosed. Haiku 5.5 has no inspected post-release task measurements yet, so it is not added merely on announcement. Deep-research product results are not automatically results for their underlying base models.
52
+ These are choices, not an automatic fallback/escalation chain or a universal quality ranking. Model aliases were checked against `pi --list-models`, including `claude-haiku-5-5`, `claude-sonnet-5-5`, and `moonshotai/kimi-k3.1-pro`; fuzzy suggestions omit provider paths and normalize version separators. The historical audit is not a new benchmark evaluation of these updates. Deep-research product results are not automatically results for their underlying base models.
53
53
 
54
54
  ### Quality, price, and speed are different axes
55
55
 
56
56
  - Prefer independent task measurements alongside official releases/pricing. Arena is preference evidence, not proof of code correctness, security review, factuality, or citation fidelity. Vendor and independent benchmarks with different harnesses or thinking settings are not directly comparable.
57
57
  - Tasker starts with low effort and cheap models; do not spend premium reasoning tokens on a mechanical edit. A fast token rate alone does not measure wall-clock completion: include first-token latency, reasoning, tool round trips, retries, and verification.
58
- - Architect/reviewer/researcher reserve high effort for multi-step reasoning. Researcher's high default targets difficult source tracing and synthesis; configure medium/low effort or use tasker for a narrow retrieval-only job. Low-priced models are economical only if they finish reliably.
58
+ - Architect/reviewer use high effort by default. Researcher defaults to medium for source tracing and synthesis; configure high for difficult investigations or use tasker for a narrow retrieval-only job. Low-priced models are economical only if they finish reliably.
59
59
  - Gemini 3.8 Flash's introductory rates are time-limited; DeepSeek Flash's off-peak rates are not its general price. Distinguish cached input, batch discounts, and reasoning-output tokens. Research adds retrieval/API charges to model spend.
60
- - Researcher prioritizes low hallucination alongside factual accuracy and research/tool capability. AA-Omniscience rates: Argon-high **15.1%**, Muse-max **32.9%**, Sonnet-max-with-fallback **47.0%**; these measure incorrect answers among non-correct responses, not overall error or citation-fabrication rate. Different effort settings are labeled; the scores do not establish the same results at the bundled high effort. See the full audit for accuracy and excluded candidates.
60
+ - Researcher prioritizes low hallucination alongside factual accuracy and research/tool capability. Historical AA-Omniscience rates and their effort settings are recorded in the audit; they do not establish equivalent performance for the current shortlist at medium effort.
61
61
  - DeepSeek's non-reasoning speed does not establish low-effort speed. Direct browsing/codebase benchmarks do not establish citation fidelity. Researcher must abstain on unsupported claims and check claim–passage entailment.
62
62
  - Public latency depends on endpoint, region, load, and serving provider. Open weights do not imply cheap or fast self-hosting. Re-evaluate measured price and speed, and benchmark representative accepted tasks locally before broad adoption.
63
63
 
64
64
  ## Researcher retrieval contract
65
65
 
66
- With the default **Allowed (except blocked)** Tool Filtering mode, the researcher child has `read`, `grep`, `find`, `ls`, `bash`, `agent_update`, and `agent_pause`. A custom allowlist can select exact names of registered non-hidden parent MCP/web tools; broader filtering modes can also make them available. Deferred/codemode tools are discoverable through child-local codemode when permitted. Skills are not automatically loaded. External tools reuse the main session's resources/context, and bridged callable tools remain subject to its tool policy; they are not fresh, isolated extension instances.
66
+ With the **Allowed (except blocked)** Tool Filtering mode, the researcher child has `read`, `grep`, `find`, `ls`, `bash`, `agent_update`, and `agent_pause`. A custom allowlist can select exact names of registered non-hidden parent MCP/web tools; broader filtering modes can also make them available. Deferred/codemode tools are discoverable through child-local codemode when permitted. Skills are not automatically loaded. External tools reuse the main session's resources/context, and bridged callable tools remain subject to its tool policy; they are not fresh, isolated extension instances.
67
67
 
68
68
  Use only actually available authorized retrieval routes. For shell routes:
69
69
 
@@ -79,9 +79,9 @@ The handback gives the answer first, inline evidence, code paths/commit-pinned c
79
79
 
80
80
  ## Tool and authorization boundaries
81
81
 
82
- With the default **Allowed (except blocked)** Tool Filtering mode, only architect has descendant delegation controls, and even architect coordinates or executes only when the assignment authorizes it. Other roles can report progress or pause without starting children. Researcher/reviewer have no `edit`/`write` tools; researcher may write only a caller-authorized evidence artifact via shell. Writer has no bash retrieval route.
82
+ With the **Allowed (except blocked)** Tool Filtering mode, only architect has descendant delegation controls, and even architect coordinates or executes only when the assignment authorizes it. Other roles can report progress or pause without starting children. Researcher/reviewer have no `edit`/`write` tools; researcher may write only a caller-authorized evidence artifact via shell. Writer has no bash retrieval route.
83
83
 
84
- The manager's **Tool Filtering** setting can override these YAML tool boundaries: **All except blocked** ignores allow lists, while **All** ignores both allow and block lists. Tool sets are selected when sessions initialize; already-open sessions retain their tools. These modes do not change the role prompts or authorization requirements.
84
+ The manager's **Tool Filtering** setting can override these YAML tool boundaries: **All except blocked** (the default) ignores allow lists, while **All** ignores both allow and block lists. Tool sets are selected when sessions initialize; already-open sessions retain their tools. These modes do not change the role prompts or authorization requirements.
85
85
 
86
86
  Tool policy is **not an OS sandbox**: bash can mutate files, contact services, or run scripts despite a read-only research/review prompt. Research does not authorize worktree changes, remote writes, setup, installations, or untrusted code execution. Tests/builds can write files and need explicit authorization. Coder must not claim browser/rendering/accessibility checks without tooling that actually ran.
87
87
 
package/docs/settings.md CHANGED
@@ -26,7 +26,7 @@ All keys are optional. Defaults:
26
26
  "housekeepingEnabled": false,
27
27
  "housekeepingModel": "",
28
28
  "modelSelection": "pick-first-scoped",
29
- "toolFiltering": "allowed",
29
+ "toolFiltering": "all-except-blocked",
30
30
  "maxLevels": 3,
31
31
  "maxConcurrent": 16,
32
32
  "maxThreads": 64
@@ -199,11 +199,11 @@ Which model an agent gets when its session starts.
199
199
 
200
200
  How the type's `tools.allow` / `tools.block` lists are applied.
201
201
 
202
- | Option | What it does | Use when |
203
- | -------------------------------------------------- | -------------------------------------------------------------------- | ------------------------------------------ |
204
- | `allowed` — **Allowed (except blocked)** (default) | Only `allow` tools, minus `block`. Empty/missing `allow` = no tools. | Least privilege. Recommended. |
205
- | `all-except-blocked` — **All except blocked** | Ignores `allow`; everything except `block`. | Your definitions only list what to forbid. |
206
- | `all` — **All** | Ignores both lists. | Trusted local experiments. |
202
+ | Option | What it does | Use when |
203
+ | ---------------------------------------------------- | ---------------------------------------------------------------- | ----------------------------------------- |
204
+ | `allowed` — **Allowed (except blocked)** | Only `allow` tools, minus `block`. Empty/missing `allow` = no tools. | Least privilege. Recommended. |
205
+ | `all-except-blocked` — **All except blocked** (default) | Ignores `allow`; everything except `block`. | Your definitions only list what to forbid. |
206
+ | `all` — **All** | Ignores both lists. | Trusted local experiments. |
207
207
 
208
208
  - "All" includes child-local built-in and manager tools plus the main session's registered non-hidden tools. Exact-name allow/block lists apply to this inventory.
209
209
  - Inherited tools retain exposure and active status. Deferred/codemode tools are discoverable through child-local codemode when permitted; direct tools remain model-facing when active.
@@ -211,7 +211,7 @@ How the type's `tools.allow` / `tools.block` lists are applied.
211
211
  - Other custom **model-only** tools fail closed: the SDK cannot bridge them while preserving root permission/result hooks. Run those in the main session.
212
212
  - UI/command-driven resumes after reopening the main session need a main-session `agent_*` tool call to establish the execution bridge; use `agent_steer` rather than the thread dialog.
213
213
  - Applies to newly started sessions (including retained ones reopened after reload). Already-open sessions keep their selected tools, and the main session's tool set is unchanged.
214
- - Non-default modes can expose `agent_spawn` to types that weren't meant to delegate.
214
+ - All except blocked and All can expose `agent_spawn` to types that weren't meant to delegate.
215
215
 
216
216
  ## Max Levels (`maxLevels`)
217
217
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-subagent-manager",
3
- "version": "1.4.1",
3
+ "version": "1.6.0",
4
4
  "description": "Hierarchical, steerable subagent threads for pi",
5
5
  "type": "module",
6
6
  "engines": {
@@ -84,7 +84,7 @@ export const DEFAULT_MANAGER_SETTINGS: ManagerSettings = {
84
84
  maxThreads: 64,
85
85
  modelSelection: "pick-first-scoped",
86
86
  subagentMode: "opportunistic",
87
- toolFiltering: "allowed",
87
+ toolFiltering: "all-except-blocked",
88
88
  widgetMode: "full",
89
89
  costDisplay: "pi-footer-status",
90
90
  costValue: "subagents",