pi-subagent-manager 0.3.0 → 0.3.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.
package/README.md CHANGED
@@ -238,18 +238,14 @@ The code is deliberately layered:
238
238
 
239
239
  ## Publishing
240
240
 
241
- Releases are published manually from a clean checkout of the version tag. Tag pushes
242
- only validate the release and upload an npm tarball in GitHub Actions; they never
243
- publish to npm.
241
+ Pushing a `v<version>` tag runs [`.github/workflows/release.yml`](.github/workflows/release.yml)
242
+ to verify the tag matches `package.json`, typecheck, test, upload an npm tarball,
243
+ and publish to npm with provenance using GitHub Actions OIDC. No `NPM_TOKEN` secret
244
+ is required.
244
245
 
245
- ```sh
246
- npm ci
247
- npm run check
248
- npm test
249
- npm pack --dry-run
250
- npm login
251
- npm publish --access public
252
- ```
246
+ Configure an npm trusted publisher for `pi-subagent-manager` with GitHub owner
247
+ `championswimmer`, repository `pi-subagent-manager`, and workflow filename
248
+ `release.yml`. Leave the environment field empty (the workflow uses no environment).
253
249
 
254
250
  `npm publish` automatically reruns typechecking and tests via `prepublishOnly`. The
255
251
  package ships TypeScript sources and bundled agent definitions; pi loads them directly,
@@ -257,6 +253,6 @@ so no build step is needed. Check the `files` list in `package.json` when adding
257
253
 
258
254
  For the next release, update `package.json` and `package-lock.json` together (for
259
255
  example, `npm version minor --no-git-tag-version`), validate, commit, create an
260
- annotated `v<version>` tag, and push the commit and tag before publishing.
256
+ annotated `v<version>` tag, and push the commit and tag to trigger publishing.
261
257
 
262
258
  The initial design is kept in [`.agents/plans`](https://github.com/championswimmer/pi-subagent-manager/tree/main/.agents/plans); superseded review snapshots have been removed. Research came before implementation: [Claude](docs/research-claude.md) and [Codex](docs/research-codex.md).
@@ -6,7 +6,8 @@ thinkingLevel: high
6
6
  modelSuggestions:
7
7
  - opus-5.5
8
8
  - gpt-6-astra
9
- - gpt-6.1-sol
9
+ - fable-5.1
10
+ - kimi-k3
10
11
  tools:
11
12
  allow:
12
13
  - read
package/agents/coder.md CHANGED
@@ -7,6 +7,7 @@ modelSuggestions:
7
7
  - sonnet-5.5
8
8
  - gpt-6.1-sol
9
9
  - muse-spark-1.3
10
+ - mimo-v2.6-pro
10
11
  tools:
11
12
  allow:
12
13
  - read
@@ -6,6 +6,8 @@ color: warning
6
6
  modelSuggestions:
7
7
  - gpt-6.1-sol
8
8
  - gpt-6-astra
9
+ - opus-5.5
10
+ - glm-5.3
9
11
  tools:
10
12
  allow:
11
13
  - read
package/agents/tasker.md CHANGED
@@ -4,8 +4,10 @@ description: Complete short, bounded jobs with clear acceptance criteria, includ
4
4
  thinkingLevel: low
5
5
  color: success
6
6
  modelSuggestions:
7
+ - gemini-3.8-flash
8
+ - sonnet-5.5
9
+ - deepseek-v4.1-flash
7
10
  - gpt-6-luna
8
- - deepseek-4.1-flash
9
11
  tools:
10
12
  allow:
11
13
  - read
package/agents/writer.md CHANGED
@@ -5,8 +5,8 @@ thinkingLevel: medium
5
5
  color: mdQuote
6
6
  modelSuggestions:
7
7
  - opus-5.5
8
- - gemini-4-argon
9
- - gpt-6-astra
8
+ - gemini-3.8-flash
9
+ - fable-5.1
10
10
  tools:
11
11
  allow:
12
12
  - read
@@ -1,6 +1,6 @@
1
1
  # Default agents
2
2
 
3
- Five bundled roles. `modelSuggestions` are advisory display aliases for evaluation, not runtime pins and not a ranking. Research cutoff for the notes below is **2026-10-03**. Guidance dated **2026-10-02** is historical and is not restated here as a current result. Full sourced notes: [coding roles](research-model-roles-coding.md) and [writing and evidence research](research-model-roles-writing.md).
3
+ Five bundled roles. `modelSuggestions` are advisory display aliases for evaluation, not runtime pins and not a ranking. Research cutoff for the notes below is **2026-10-03**. Guidance dated **2026-10-02** is historical and is not restated here as a current result. Current shortlist and benchmark, Arena, and serving-speed evidence: [default-agent model research](research-default-agent-models.md). Earlier source packets: [coding roles](research-model-roles-coding.md) and [writing and evidence research](research-model-roles-writing.md). The current shortlist supersedes their initial model suggestions.
4
4
 
5
5
  Public names do not guarantee access in a particular account, region, Pi adapter, or harness. Confirm a live identity before adding `models`. These aliases do not select a model and do not bypass scoped runtime preferences.
6
6
 
@@ -65,40 +65,47 @@ Bundled definitions omit `models` and `model`. They inherit the effective parent
65
65
 
66
66
  Same-name user definitions override bundled ones. Trusted project definitions override user ones. An override keeps the suggestions it declares; it still does not select a model unless it also sets `models` or `model`.
67
67
 
68
- The lists below are the initial advisory aliases. They are provisional display names for humans and editors. They are not verified winners, not availability guarantees, and not pins.
68
+ The lists below are the researched advisory shortlist from the 13 requested candidates. They are provisional display names for humans and editors, not verified role-specific winners, availability guarantees, or runtime pins.
69
69
 
70
- | Role | Advisory display aliases |
71
- | ----------- | --------------------------------------------- |
72
- | `architect` | `opus-5.5`, `gpt-6-astra`, `gpt-6.1-sol` |
73
- | `coder` | `sonnet-5.5`, `gpt-6.1-sol`, `muse-spark-1.3` |
74
- | `reviewer` | `gpt-6.1-sol`, `gpt-6-astra` |
75
- | `tasker` | `gpt-6-luna`, `deepseek-4.1-flash` |
76
- | `writer` | `opus-5.5`, `gemini-4-argon`, `gpt-6-astra` |
70
+ | Role | Advisory display aliases |
71
+ | ----------- | --------------------------------------------------------------------- |
72
+ | `architect` | `opus-5.5`, `gpt-6-astra`, `fable-5.1`, `kimi-k3` |
73
+ | `coder` | `sonnet-5.5`, `gpt-6.1-sol`, `muse-spark-1.3`, `mimo-v2.6-pro` |
74
+ | `reviewer` | `gpt-6.1-sol`, `gpt-6-astra`, `opus-5.5`, `glm-5.3` |
75
+ | `tasker` | `gemini-3.8-flash`, `sonnet-5.5`, `deepseek-v4.1-flash`, `gpt-6-luna` |
76
+ | `writer` | `opus-5.5`, `gemini-3.8-flash`, `fable-5.1` |
77
77
 
78
- How to read them, without treating them as configuration:
78
+ Why these candidates, without treating them as configuration:
79
79
 
80
- - `opus-5.5` and `sonnet-5.5` are display aliases for Claude Opus 5.5 and Claude Sonnet 5.5. Official docs, as recorded on 2026-10-03, use `claude-opus-5-5` and `claude-sonnet-5-5`.
81
- - `gpt-6.1-sol`, `gpt-6-astra`, and `gpt-6-luna` match the official model-reference IDs recorded in that research. Sol's launch page was not directly readable then (HTTP 403); identity also rests on the model reference.
82
- - `muse-spark-1.3` is the requested Muse Spark 1.3 candidate for coder. It is not a writing suggestion. The wording `must-spark` is not a verified product name. Standard and Contributor tiers differ in data-use terms and available reasoning effort: max is Standard-only. Do not silently pick Contributor for confidential work.
83
- - `deepseek-4.1-flash` is a display alias only. The documented direct-provider ID is `deepseek-flash` (DeepSeek-V4.1-Flash). A guessed `deepseek-v4.1-flash` is not that ID. Legacy `deepseek-v4-flash` is an alias that routes to the current Flash model, not a second product.
84
- - `gemini-4-argon` is an advisory display name for Gemini 4 Argon. The announcement describes phased, restricted access. Use it only if it is actually available. No API ID was verified for this alias. Guessed `gemini-3.8-pro` is not suggested.
85
- - Fable names appear in writing benchmarks. A provider route was not verified, so Fable is not suggested.
80
+ - Architect favors sustained reasoning and planning quality over streaming speed. Opus/Astra are quality-first choices; Fable and Kimi are deliberate alternatives with integration caveats.
81
+ - Coder balances repository/terminal evidence, frontend preferences, and iteration speed. Sonnet/Sol are strong starting points; Muse offers high throughput, and MiMo is a quality-first alternate with slower first-party serving.
82
+ - Reviewer now includes Claude and GLM alongside GPT, expanding the earlier GPT-only preference for this cross-family request. No matched reviewer-precision or false-positive benchmark establishes a winner. The smallest-local-repair and non-mutating contracts remain unchanged.
83
+ - Tasker favors full few-call latency, not just decoder tok/sec. Sonnet has direct low-effort quality and first-answer measurements; Gemini has low-effort support and fast high-mode serving. DeepSeek's provider route matters, and Luna belongs on mechanical jobs with acceptance checks. Exact low-mode speeds remain unverified for Gemini/DeepSeek.
84
+ - Writer favors creative-writing preferences among the requested candidates. Opus, Gemini Flash, and Fable have stronger collected writing evidence than Muse or Astra, but tested Arena efforts differ from the shipped medium setting. Preference does not prove voice preservation or citation fidelity.
86
85
 
87
- Reviewer's list is GPT-only because that was the requested second-family preference, together with a minimal-solution review contract. It is not a claim that GPT models have the best review precision, and not a claim that GPT models always write less code. Conciseness is not a family invariant; control it in the review task.
86
+ Alias and compatibility notes:
88
87
 
89
- Coder's Muse entry is a pilot candidate for implementation, not the writing research winner. Writer's list prefers Opus 5.5 as a generally documented model, Argon only when accessible, and Astra as another documented candidate. None of these lists is a universal winner.
88
+ - Claude display aliases resolve to official IDs `claude-opus-5-5`, `claude-sonnet-5-5`, and `claude-fable-5-1`. The new research verifies Fable 5.1's exact route; earlier uncertainty about Fable availability is superseded.
89
+ - The three GPT aliases match their official references; GPT-6.1 Sol is distinct from GPT-6 Sol. Keep the API compatibility checks below.
90
+ - `gemini-3.8-flash` is a verified stable API ID, with low/medium/high thinking support. It replaces Argon here because Argon is outside this request's candidate list.
91
+ - `deepseek-v4.1-flash` is the requested advisory alias, replacing the earlier `deepseek-4.1-flash` spelling. DeepSeek's direct API calls this version `deepseek-flash`; the advisory string is not a guessed runtime ID.
92
+ - Standard `muse-spark-1.3` differs from `muse-spark-1.3-contributor` in data-use terms. Do not silently substitute Contributor for confidential code.
93
+ - GLM/Kimi document low/high/max; MiMo's low/medium/high enum was not verified. Validate adapter mappings before pinning. Kimi also requires correct historical-thinking replay and cautions about excessive proactiveness.
94
+ - Grok 4.7 was researched, not silently omitted. Its benchmark/preference/latency balance did not displace a finalist; it remains a credible alternate rather than a demonstrated failure.
90
95
 
91
- ## Evidence checked 2026-10-03
96
+ The [full research note](research-default-agent-models.md) records all 13 models, measured effort, provider-specific tok/sec, Arena scores and dates, contradictory samples, benchmark harnesses, and unmeasured role outcomes.
92
97
 
93
- This is a short index of the two research reports, not a new benchmark run. Live pages can change. Release dates below are dates those reports recorded from sources, not independently redeployed timestamps. Do not merge vendor scores, secondary leaderboards, and human-preference Elo into one ranking.
98
+ ## Earlier research context (2026-10-03)
99
+
100
+ This is a short index of the two earlier research reports, not a new benchmark run. Their initial shortlist is superseded by the current research linked above. Live pages can change. Release dates below are dates those reports recorded from sources, not independently redeployed timestamps. Do not merge vendor scores, secondary leaderboards, and human-preference Elo into one ranking.
94
101
 
95
102
  **Official identity pages.** Claude Opus 5.5 and Sonnet 5.5: [Opus docs](https://platform.claude.com/docs/en/models/opus-5-5/overview), [Sonnet docs](https://platform.claude.com/docs/en/models/sonnet-5-5/overview), [Sonnet launch](https://www.anthropic.com/claude-sonnet-5-5). OpenAI references: [Sol](https://developers.openai.com/api/docs/models/gpt-6.1-sol), [Astra](https://developers.openai.com/api/docs/models/gpt-6-astra), [Luna](https://developers.openai.com/api/docs/models/gpt-6-luna). Muse Spark 1.3: [Meta models](https://dev.meta.ai/docs/models), [product page](https://developer.meta.com/ai/models/muse-spark/). DeepSeek-V4.1-Flash: [Sep 10, 2026 release](https://api-docs.deepseek.com/news/news260910). Gemini 4 Argon: [announcement](https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-4-argon/). Argon access is phased and restricted; the name is not an API pin.
96
103
 
97
104
  **Terminal-Bench and DeepSWE do not transfer across harnesses.** Anthropic's Sep 28, 2026 Sonnet launch reports Terminal-Bench 4.0 results under that table's settings, including Sonnet 5.5 at 70.6% and Opus 5.5 at 66.4% subject to the launch footnote. DeepSeek's model card reports different Terminal-Bench versions on its own harness: 90.6 on 2.1, 30.0 on 3.0, and 31.2 on 4.0. Those figures are not one test and must not be compared as if they were. The same card reports DeepSWE v1.1 at 74.2 with mini-SWE at maximum reasoning effort, versus 66.2 in Pi, 65.6 in Codex, and 69.8 in Claude Code. Harness and effort dominate narrow gaps. Strong max-effort scores do not establish cheap low-effort tasker behavior. Secondary DeepSWE rows are not a verified common-harness ranking. No version-matched SWE-bench set for this shortlist was established. Boards: [Terminal-Bench](https://www.tbench.ai/leaderboard), [DeepSWE](https://deepswe.datacurve.ai/), [DeepSeek card](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash). Detail and dropped sources: [coding research](research-model-roles-coding.md).
98
105
 
99
- **Human preference is not citation fidelity.** Arena's creative-writing index, freshest dated snapshot found **2026-10-02**, measures blind human preference. Indexed figures placed `gemini-4-argon-high` and `claude-opus-5.5-high` close together, with overlapping intervals. The original child obtained those numbers from a source-linked index; the parent subsequently confirmed the primary creative-writing table through Exa MCP fetch on 2026-10-03, and `high` is a tested configuration rather than proof of an API name. EQ-Bench's fetched JS snapshot is a different instrument: LLM-judged short-form Elo, another scale, and no verified evaluation date on the asset. It ranked GPT-6 Astra and Claude Fable 5.1 above Claude Opus 5.5. That does not make Fable an available route, and it does not measure source support. DeepResearch Bench separates report quality from citation accuracy; its historical agent-system results are not an October 2026 ranking of these aliases. BrowseComp is difficult web answering, not faithful report writing. No source established a universal writing-plus-citation winner. [Arena creative writing](https://arena.ai/leaderboard/text/creative-writing), [EQ-Bench](https://eqbench.com/creative_writing.html), [DeepResearch Bench](https://deepresearch-bench.github.io/). Detail: [writing and evidence research](research-model-roles-writing.md).
106
+ **Human preference is not citation fidelity.** Arena's creative-writing index, freshest dated snapshot found **2026-10-02**, measures blind human preference. Indexed figures placed `gemini-4-argon-high` and `claude-opus-5.5-high` close together, with overlapping intervals. The original child obtained those numbers from a source-linked index; the parent subsequently confirmed the primary creative-writing table through Exa MCP fetch on 2026-10-03, and `high` is a tested configuration rather than proof of an API name. EQ-Bench's fetched JS snapshot is a different instrument: LLM-judged short-form Elo, another scale, and no verified evaluation date on the asset. It ranked GPT-6 Astra and Claude Fable 5.1 above Claude Opus 5.5. That earlier comparison did not by itself verify an available Fable route; the current shortlist research now verifies Fable 5.1's exact identity. Neither comparison measures source support. DeepResearch Bench separates report quality from citation accuracy; its historical agent-system results are not an October 2026 ranking of these aliases. BrowseComp is difficult web answering, not faithful report writing. No source established a universal writing-plus-citation winner. [Arena creative writing](https://arena.ai/leaderboard/text/creative-writing), [EQ-Bench](https://eqbench.com/creative_writing.html), [DeepResearch Bench](https://deepresearch-bench.github.io/). Detail: [writing and evidence research](research-model-roles-writing.md).
100
107
 
101
- **Review.** No matched review-precision result supports a Sol or Astra win over other families. The GPT-only suggestion list is a user preference for a second perspective, plus the smallest-local-repair contract above. It is not a SOTA precision or conciseness claim.
108
+ **Review.** No matched review-precision result supports a Sol or Astra win over other families. The earlier GPT-only list reflected a second-family preference, not a SOTA precision or conciseness claim. The current cross-family shortlist preserves the smallest-local-repair contract.
102
109
 
103
110
  **API and pricing compatibility.** Sol tools require Responses API; Luna's Chat Completions function calling requires `reasoning_effort=none`. Check the actual harness before selecting either. OpenAI prices in the coding report are Standard short-context rates, with higher long-context rates; Luna applies its higher tier above 272K input tokens. Meta Contributor cannot use max reasoning. These constraints do not affect advisory metadata or automatically select a runtime. [Sol reference](https://developers.openai.com/api/docs/models/gpt-6.1-sol), [Luna reference](https://developers.openai.com/api/docs/models/gpt-6-luna), [pricing](https://developers.openai.com/api/docs/pricing), [Meta reasoning](https://ai.developer.meta.com/docs/reasoning/).
104
111
 
@@ -0,0 +1,119 @@
1
+ # Default-agent model shortlist
2
+
3
+ Research date: **2026-10-03**. This note compares only the 13 candidates requested for the five bundled roles. Suggestions are advisory display aliases, not runtime model IDs, pins, or availability guarantees. Model/role suitability is an inference from public evidence, not a local agent benchmark.
4
+
5
+ ## How the evidence is used
6
+
7
+ - **Architect:** prioritize reasoning, requirements coverage, tool use, and long-context reliability; accept slower generation for consequential decisions.
8
+ - **Coder:** prioritize repository implementation and terminal/tool benchmarks, then interactive latency. Arena Code is a useful frontend preference signal, not proof that a patch passes tests.
9
+ - **Reviewer:** prioritize careful code reasoning and independent verification. Coding benchmarks are indirect evidence; without a matched defect-detection/false-positive evaluation, do not claim a review-precision winner.
10
+ - **Tasker:** prioritize complete few-step latency and adequate instruction/tool reliability. High-effort flagship benchmark results do not establish fast behavior at the bundled `low` setting.
11
+ - **Writer:** prioritize creative-writing preference and voice-preserving edits. General reasoning and coding scores are secondary, and writing preference does not establish factual or citation accuracy.
12
+
13
+ ### Speed and benchmark caveats
14
+
15
+ [Artificial Analysis performance methodology](https://artificialanalysis.ai/methodology/performance-benchmarking) describes rolling 72-hour median speed measurements and normalized token counts. Its website default workload is 10K input tokens; a model page or provider route can use different settings. Record the endpoint, effort, and workload when disclosed. Output tok/sec excludes time-to-first-token; for reasoning models, first token is not necessarily first answer token. Unspecified settings remain unspecified.
16
+
17
+ For a tool-driven job, the useful approximation is the sum over calls of initial latency plus generated tokens divided by output speed, plus tool execution and retries. A fast decoder can still lose on total latency through a large reasoning budget, slow startup, or repeated failed calls. Do not confuse aggregate hardware throughput or AA-AgentPerf service-level thresholds with measured per-request output speed.
18
+
19
+ [Arena's ranking method](https://arena.ai/blog/ranking-method) reports raw scores/ranks alongside confidence intervals and rank spreads. Overlapping rank spreads imply ties; a small raw-score lead is not a reliable win. [Arena's FAQ](https://arena.ai/faq) describes blind human preference and Bradley–Terry ratings. Compare within the same category and snapshot, never creative-writing scores directly against Code scores. Style and verbosity can influence preference.
20
+
21
+ Vendor benchmark tables are labeled as such. Different benchmark versions, agent harnesses, effort settings, and token budgets are not a common tournament. Missing measurements are not zero scores, and predecessor results do not become evidence for an unverified exact model name.
22
+
23
+ ## Candidate evidence
24
+
25
+ Four parallel researchers used Exa discovery and primary-page retrieval. The parent re-fetched the creative-writing leaderboard, Claude effort comparison, and Gemini/DeepSeek provider tables. All 13 exact identities were found; no predecessor was substituted. Arena snapshots below are **October 1 (WebDev)** and **October 2 (Text/creative writing), 2026**. AA figures are retrieval-time observations without a frozen measurement timestamp.
26
+
27
+ ### Independent quality and first-party output speed
28
+
29
+ AA Intelligence Index figures refer to the current **v4.3.2** scale. Effort is explicit: these are **not all the same configuration**. Output speeds are approximate observations, not guarantees or an average across unlike providers. Source links in each row supply the measurements; the shared Claude comparison supplies both Claude rows.
30
+
31
+ | Requested alias | AA Intelligence Index and effort | First-party output tok/sec | Serving source / setting |
32
+ | --------------------- | -------------------------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
33
+ | `opus-5.5` | 54 high; 58 max | 73 high / medium | [Anthropic, adaptive/default fallback](https://artificialanalysis.ai/models/releases/comparisons/claude-sonnet-5-5-vs-claude-opus-5-5) |
34
+ | `sonnet-5.5` | 47 high; 36 low; 56 max | 98 high; 88 low | [Anthropic, adaptive/default fallback](https://artificialanalysis.ai/models/releases/comparisons/claude-sonnet-5-5-vs-claude-opus-5-5) |
35
+ | `gpt-6.1-sol` | 50 high; 52 max | 63 high; 60 low | [OpenAI provider table](https://artificialanalysis.ai/providers/openai), [quality comparison](https://artificialanalysis.ai/models/releases/comparisons/gpt-6-1-sol-vs-gpt-6-astra) |
36
+ | `gpt-6-astra` | 51 high; 53 max | 45 high / medium | [OpenAI provider table](https://artificialanalysis.ai/providers/openai), [quality comparison](https://artificialanalysis.ai/models/releases/comparisons/gpt-6-1-sol-vs-gpt-6-astra) |
37
+ | `gpt-6-luna` | 21 low; 37 max | 134 low | [OpenAI provider table](https://artificialanalysis.ai/providers/openai); another indexed comparison says 38 max, a snapshot discrepancy |
38
+ | `fable-5.1` | 51 high; 49 medium; 53 max | About 51–54 high; 67.8 max | [Anthropic high](https://artificialanalysis.ai/models/claude-fable-5-1-high), [max](https://artificialanalysis.ai/models/claude-fable-5-1), [effort comparison](https://artificialanalysis.ai/models/releases/claude-fable-5-1) |
39
+ | `muse-spark-1.3` | 48 max; 45 xhigh | 202.3 max; 212.1 xhigh | [Meta max](https://artificialanalysis.ai/models/muse-spark-1-3/providers), [xhigh](https://artificialanalysis.ai/models/muse-spark-1-3-xhigh) |
40
+ | `grok-4.7` | 46 xhigh | 73.9 xhigh | [SpaceXAI/xAI API](https://artificialanalysis.ai/models/grok-4-7) |
41
+ | `glm-5.3` | 45 max | 71.9 max | [Z AI API](https://artificialanalysis.ai/models/glm-5-3) |
42
+ | `kimi-k3` | 44 max | 36.4 max | [Kimi API](https://artificialanalysis.ai/models/kimi-k3) |
43
+ | `deepseek-v4.1-flash` | 39 max; 25 non-reasoning | 209 max | [DeepSeek provider table](https://artificialanalysis.ai/models/deepseek-v4-1-flash/providers), [quality comparison](https://artificialanalysis.ai/models/releases/deepseek-v4-1-flash) |
44
+ | `gemini-3.8-flash` | 41 high; 40 medium; 33 low | About 236–249 high | [Google AI Studio](https://artificialanalysis.ai/models/gemini-3-8-flash/providers), [quality comparison](https://artificialanalysis.ai/models/releases/gemini-3-8-flash) |
45
+ | `mimo-v2.6-pro` | 46, effort unspecified | About 37–46, effort unspecified | [Xiaomi model page](https://artificialanalysis.ai/models/mimo-v2-6-pro), [provider page](https://artificialanalysis.ai/models/mimo-v2-6-pro/providers) |
46
+
47
+ **Latency changes the practical choice.** The Claude comparison reports Sonnet-low first-answer latency **1.28s**, medium **1.34s**, and high **12.20s**; Opus-high is **35.17s**, medium **24.45s**. Its first-token and first-answer rows duplicate those values, so do not treat them as independent streaming measurements. The OpenAI table displays **2.45s for Luna-low**, **57.26s for Sol-high**, and **58.39s for Astra-high** in a TTFT column; use these only as an answer-latency proxy, not verified raw TTFT. Exact input workload was not established for these Claude/OpenAI extracts.
48
+
49
+ Muse-max's provider page distinguishes **24.99s first chunk** from **34.87s first answer** despite its excellent 202.3 tok/sec throughput. Fable-max's provider/model pages report **247.63s first chunk/FAQ-labelled TTFT** at a **10K-input** workload. These are reasons not to choose either as an unqualified low-latency tasker. Muse workload and matched low/high speeds were not established.
50
+
51
+ Gemini-high's **10K-input** provider page is internally inconsistent across extracted sections: the table gives **236 tok/sec and 21.76s median first chunk**, while its FAQ gives **248.6 tok/sec and 16.13s first answer**; the researcher's earlier table gave 242 tok/sec. Preserve them as differing displayed samples, not a combined latency decomposition. Low/medium speeds were not verified. DeepSeek's **10K-input** table labels its first-party row **209 tok/sec, 0.95s median first chunk, 12.89s total response, 9.55s reasoning time**; 0.95s is not answer latency.
52
+
53
+ For Grok/GLM/Kimi, the model-page FAQs label startup **40.82s / 3.14s / 3.95s** as TTFT respectively, but first-answer delay and selected input workload were not established. MiMo's model page labels **3.78s TTFT**, while its provider FAQ separately reports **47.86s first answer**. Do not compare these unlike startup metrics as one latency ranking.
54
+
55
+ **Provider route matters.** DeepSeek's provider FAQ reports **716.9 tok/sec / 3.30s first answer** on LithosAI ULTRA CHAT, versus 209 tok/sec first-party; its separate table shows a different 701 tok/sec sample. MiMo's provider FAQ reports **269 tok/sec / 8.12s first answer** on PrimaLabs, but that extract did not establish workload or effort. These are optional route-specific observations requiring endpoint-equivalence checks, not typical speed for every deployment. The separately named `mimo-v2.6-pro-ultraspeed` and Grok fast variant were excluded.
56
+
57
+ ### Arena preference evidence
58
+
59
+ WebDev scores measure frontend preferences, while Text Arena's coding subset measures preferences on coding conversations. Their ranks are **not interchangeable**. Dashes mean not established in the collected packet, not an absent model or zero score. Creative-writing entries for every candidate were checked against the same [October 2 table](https://arena.ai/leaderboard/text/creative-writing). Gemini and Fable writing intervals overlap; raw ranks do not establish a winner between them.
60
+
61
+ | Requested alias / tested Arena effort | Coding-related Arena category: rank, score | Creative writing: rank, score |
62
+ | --------------------------------------- | ------------------------------------------ | ----------------------------- |
63
+ | `opus-5.5` max (coding), high (writing) | WebDev #1, 1815 ±16 | #2, 1516 ±20 |
64
+ | `sonnet-5.5` xhigh | WebDev #3, 1786 ±18; high #6, 1715 ±13 | #42, 1447 ±24 |
65
+ | `gpt-6.1-sol` max | WebDev #4, 1758 ±17 | #27, 1460 ±24 |
66
+ | `gpt-6-astra` max | WebDev #2, 1788 ±10 | #39, 1449 ±14 |
67
+ | `gpt-6-luna` max | — | #90, 1413 ±14 |
68
+ | `fable-5.1` max | WebDev #5, 1749 ±10 | #10, 1482 ±13 |
69
+ | `muse-spark-1.3` max | WebDev #14, 1657 ±9 | #28, 1459 ±12 |
70
+ | `grok-4.7` xhigh | Text coding #96, 1488 ±16 | #64, 1436 ±16 |
71
+ | `glm-5.3` max | Text coding #34, 1521 ±9 | #34, 1454 ±10 |
72
+ | `kimi-k3` max | Text coding #9, 1541 ±8 | #26, 1460 ±9 |
73
+ | `deepseek-v4.1-flash` max | Text coding #26, 1528 ±12 | #60, 1440 ±15 |
74
+ | `gemini-3.8-flash` high | Text coding #22, 1530 ±8, preliminary | #7, 1485 ±9, preliminary |
75
+ | `mimo-v2.6-pro`, effort unspecified | Text coding #10, 1540 ±18 | #47, 1446 ±21 |
76
+
77
+ Sources: [WebDev](https://arena.ai/leaderboard/code), [WebDev explicit route](https://arena.ai/leaderboard/code/webdev), [Text coding](https://arena.ai/leaderboard/text/coding), [open-weight coding filter](https://arena.ai/leaderboard/text/coding?license=open-source). Filtered MiMo and DeepSeek rows use the **overall category** rank, not their open-weight ranks of 2 and 3.
78
+
79
+ ### Task benchmarks and harness effects
80
+
81
+ - **Matched independent terminal evidence:** the [AA Claude comparison](https://artificialanalysis.ai/models/releases/comparisons/claude-sonnet-5-5-vs-claude-opus-5-5) reports Terminal-Bench **4.0** at **high**: Opus **56.6%**, Sonnet **43.9%**; at **max**: Opus **59.6%**, Sonnet **63.6%**. The [Sol/Astra comparison](https://artificialanalysis.ai/models/releases/comparisons/gpt-6-1-sol-vs-gpt-6-astra) reports high **51.5% / 54.0%**, max **56.1% / 59.1%**. Sonnet's vendor **70.6%** is not this independent score. Prefer Opus for hard correctness-first work; Sonnet's speed makes it attractive for interactive iteration, not universally stronger at high effort.
82
+ - **Matched independent repository evidence:** [DeepSWE](https://deepswe.datacurve.ai/), updated September 22, runs a common mini-swe-agent harness. GLM-max **69% ±3%** and Kimi-max **69% ±5%** overlap. Neither is a demonstrated winner over the other. Vendor releases instead report **66.9 / 67.5**, with their own harnesses and settings. GLM's [official card](https://huggingface.co/zai-org/GLM-5.3/raw/main/README.md) also reports **84.5 CyberGym / 54.4 ExploitBench**; vulnerability-discovery evidence is not a review false-positive evaluation.
83
+ - **Muse:** [AA's launch analysis](https://artificialanalysis.ai/articles/muse-spark-1-3) reports Terminal-Bench **2.1** at **85% xhigh / 86% max**, versus Meta's vendor **88.8 max**. Meta's [official scorecard](https://research.meta.ai/articles/introducing-muse-1-3/benchmarks/benchmark-scorecard-v6.webp) gives DeepSWE **75.4**, AutomationBench **49.6**, DeepSearchQA **90.3** at max. Do not mix the launch article's old index **61/62** with the current **45/48** scale.
84
+ - **Fable:** [Anthropic's launch](https://www.anthropic.com/claude-fable-and-mythos-5-1) reports Terminal-Bench **4.0 55.8%**, CursorBench **3.2.0 73.4%**, HLE with tools **65.0%**. Production safeguards can fall back to other Claude models on some security/biology interventions; these are not necessarily pure-model results.
85
+ - **DeepSeek:** [official card](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash/raw/main/README.md), maximum effort, reports DeepSWE **74.2** and Terminal-Bench **2.1 90.6**, but **4.0 31.2**. Its Pi-harness scores are **66.2 DeepSWE / 86.1 Terminal-Bench 2.1**, with multi-sample settings. Pi-specific evidence is useful, but is not a prediction for a low-effort, few-call tasker.
86
+ - **Gemini:** [official card](https://deepmind.google/models/model-cards/gemini-3-8-flash/) reports DeepSWE **73.7%**, Terminal-Bench **2.1 89.4%**, **4.0 19.1%**; effort/harness was not established from the fetched table. The separately named Cyber variant was excluded.
87
+ - **MiMo:** [official checkpoint card](https://huggingface.co/XiaomiMiMo/MiMo-V2.6-Pro-RL/raw/main/README.md) reports DeepSWE **71.9**, Terminal-Bench **4.0 34.9**, Toolathlon-Verified **76.9**, CyberGym **94.0**. API/checkpoint equivalence was not independently established; the release article's RL trajectory ends at **72.6 DeepSWE**, a separate reported result.
88
+ - **Grok:** [vendor launch](https://x.ai/news/grok-4-7) reports DeepSWE **71.0% high**, Terminal-Bench **4.0 37.6%** in a mostly xhigh table. Another model-card excerpt says **38.0%** terminal; retain that discrepancy. No Grok row was found on the fetched independent DeepSWE board.
89
+
90
+ Official Sol announcement: [API launch post](https://community.openai.com/t/gpt-6-1-sol-in-the-api-a-meaningful-cost-performance-step/1402388), **75.2% DeepSWE high**. Its main launch page was blocked; [the model reference](https://developers.openai.com/api/docs/models/gpt-6.1-sol) confirms the exact identity. Astra's [launch](https://openai.com/index/gpt-6-astra/) was also blocked to direct retrieval; indexed vendor reasoning claims were not needed to decide the shortlist. Luna's weak low-effort index and [Agent Arena](https://arena.ai/leaderboard/agent/overall) max net improvement **1.35% ±1.07%, #25** argue for acceptance-tested mechanical work only; that metric is not task success or Elo.
91
+
92
+ ## Role mapping
93
+
94
+ These are evaluation shortlists, not runtime routing rules or a claim that every alternate beats every omitted model. Different roles deliberately reuse models. Keep the shipped thinking levels unchanged.
95
+
96
+ | Default role | Suggested aliases | Rationale and limitations |
97
+ | ------------------ | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
98
+ | `architect` / high | `opus-5.5`, `gpt-6-astra`, `fable-5.1`, `kimi-k3` | Opus has the strongest collected high-effort general index and sustained-reasoning evidence; Astra is a strong independent family. Fable offers comparable high-effort reasoning and long-horizon capability, accepting slower serving. Kimi is a long-context, independently capable repository alternative, not an index winner. |
99
+ | `coder` / high | `sonnet-5.5`, `gpt-6.1-sol`, `muse-spark-1.3`, `mimo-v2.6-pro` | Sonnet combines fast iteration with strong terminal/frontend evidence; Sol is a quality-first software option. Muse offers useful tool/coding evidence and high output throughput, with substantial startup time. MiMo is a quality-first, multimodal/tool alternative; its slow first-party serving and effort mapping require validation. |
100
+ | `reviewer` / high | `gpt-6.1-sol`, `gpt-6-astra`, `opus-5.5`, `glm-5.3` | Sol/Astra/Opus have concrete code-reasoning evidence. GLM adds an open-weight candidate with independent repository results and vendor security evidence. **None has a matched review false-positive or non-mutating precision evaluation here.** Tool restrictions and reproducible findings remain mandatory. |
101
+ | `tasker` / low | `gemini-3.8-flash`, `sonnet-5.5`, `deepseek-v4.1-flash`, `gpt-6-luna` | Gemini supports low effort and fast high-mode streaming; exact low-mode speed is unverified. Sonnet has the clearest measured low-effort quality/first-answer balance. DeepSeek is a provider-sensitive throughput option; low effort is unverified. Luna is a cheaper fast option only for mechanical work with explicit checks. |
102
+ | `writer` / medium | `opus-5.5`, `gemini-3.8-flash`, `fable-5.1` | These have the strongest collected creative-writing preferences among the requested candidates. Opus is the quality-first starting point; Gemini is the throughput-oriented alternative; Fable is deliberate, premium prose. Arena evaluated high/max, **not medium or voice-preserving edits**, so this is a transfer hypothesis. |
103
+
104
+ **Why Grok is not in a final four:** it remains a credible coder/architect alternative with high-effort vendor DeepSWE evidence, but its independent coding/writing preferences and xhigh startup observation did not displace these finalists. This is not a claim that Grok fails those jobs. Kimi is also a credible coder alternate; DeepSeek and MiMo can be security-investigation alternates without proving reviewer precision. Muse's strong coding signals did not make it a top-three writer; Astra's high reasoning index did not override its weaker collected writing preferences.
105
+
106
+ ## Exact identity and adapter caveats
107
+
108
+ - Claude aliases resolve to `claude-opus-5-5`, `claude-sonnet-5-5`, and `claude-fable-5-1` in official docs: [Opus](https://platform.claude.com/docs/en/models/opus-5-5/overview), [Sonnet](https://www.anthropic.com/claude/sonnet), [Fable](https://platform.claude.com/docs/en/models/fable-5-1/overview). The exact **Fable 5.1** route is verified in this research; predecessor Fable 5 scores were excluded.
109
+ - OpenAI references confirm [Sol](https://developers.openai.com/api/docs/models/gpt-6.1-sol), [Astra](https://developers.openai.com/api/docs/models/gpt-6-astra), and [Luna](https://developers.openai.com/api/docs/models/gpt-6-luna). GPT-6.1 Sol is not GPT-6 Sol.
110
+ - [Gemini documentation](https://ai.google.dev/gemini-api/docs/models/gemini-3.8-flash) confirms `gemini-3.8-flash` and low/medium/high support; `minimal` is unsupported.
111
+ - The requested `deepseek-v4.1-flash` is now used consistently as the **advisory alias**. [DeepSeek's API](https://api-docs.deepseek.com/) calls this version `deepseek-flash`; do not pin the advisory string as a guessed direct-provider ID. Its numeric effort controls require the adapter's actual mapping.
112
+ - [GLM](https://huggingface.co/zai-org/GLM-5.3/raw/main/README.md) and [Kimi](https://forum.moonshot.ai/t/kimi-k3-is-here-our-most-capable-model/480) document low/high/max, not a literal medium. [Kimi's limitations](https://www.kimi.com/blog/kimi-k3) warn about excessive proactiveness and unstable quality if historical thinking is not replayed. That matters for architect delegation and the smallest-change contract.
113
+ - [Grok docs](https://docs.x.ai/developers/models/grok-4.7) support low/medium/high/xhigh, default high. Do not substitute its fast variant.
114
+ - [MiMo API docs](https://mimo.mi.com/models/en-US/mimo-v2.6-pro) confirm the exact model and thinking on/off; a low/medium/high enum was not verified. Check adapter support before applying the coder's high label.
115
+ - [Meta's model page](https://developer.meta.com/ai/models/muse-spark/) distinguishes standard `muse-spark-1.3` from `muse-spark-1.3-contributor`, whose requests can improve products. Do not silently substitute the contributor tier for confidential code. [The updated release](https://research.meta.ai/blog/introducing-muse-spark-1-3) confirms max availability; launch-time access statements can be stale.
116
+
117
+ ## Availability and validation
118
+
119
+ Resolve an actual provider/model ID and supported tool/effort configuration before pinning anything. These advisory lists do not alter the existing thinking levels, tool policies, or runtime selection. Validate finalists on representative local jobs: accepted patches for coder, confirmed defects and false positives for reviewer, plan coverage for architect, exact acceptance checks and full latency for tasker, and blind voice-preservation preferences for writer.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-subagent-manager",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Hierarchical, steerable subagent threads for pi",
5
5
  "type": "module",
6
6
  "engines": {