@faviovazquez/deliberate 0.2.6 → 0.2.7

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/BRAINSTORM.md CHANGED
@@ -36,6 +36,39 @@ Do NOT invoke any implementation skill, write any code, scaffold any project, or
36
36
 
37
37
  ## Process Flow
38
38
 
39
+ ### Phase 0: Model Selection (Claude Code only)
40
+
41
+ **This step runs only on Claude Code.** On Windsurf and Cursor, agents use the active model in the current context — skip this phase entirely.
42
+
43
+ Before doing anything else, ask the user:
44
+
45
+ ```
46
+ ⚙️ Model configuration for this brainstorm:
47
+
48
+ High-tier agents (assumption-breaker, bias-detector, emergence-reader,
49
+ reframer, risk-analyst, safety-frontier) will use:
50
+
51
+ A) Opus + Sonnet — opus for high-tier, sonnet for mid-tier [DEFAULT]
52
+ Best quality. Higher token cost.
53
+ B) Sonnet only — sonnet for all agents
54
+ Faster. Lower cost. Still strong.
55
+
56
+ Which would you prefer? (A/B, or press Enter for default A)
57
+ ```
58
+
59
+ **Wait for the user's response before proceeding.**
60
+
61
+ - If the user selects **A** or presses Enter: `high → opus`, `mid → sonnet`
62
+ - If the user selects **B**: both `high` and `mid` → `sonnet`
63
+
64
+ `opus` and `sonnet` are Claude Code's accepted shorthands for claude-opus-4-6 and claude-sonnet-4-6.
65
+
66
+ Store the resolved model map and use it when dispatching agents in Phase 5 (Divergent Phase). Pass the resolved shorthand as the `model` parameter for each agent subagent call.
67
+
68
+ If `configs/provider-model-slots.yaml` exists in the project root, skip this prompt and use manual overrides from that file.
69
+
70
+ ---
71
+
39
72
  ### Phase 1: Context Exploration
40
73
 
41
74
  Read the relevant context before asking any questions:
package/CHANGELOG.md CHANGED
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.2.7] - 2026-04-04
9
+
10
+ ### Fixed
11
+ - Renamed `model:` to `model_tier:` in all 17 agent frontmatter files — Claude Code's Agent tool was reading `model: mid/high` as a model identifier and rejecting it since `mid`/`high` are not valid model IDs (only `sonnet`, `opus`, `haiku` are accepted). `model_tier` is now treated as metadata only by Claude Code.
12
+
13
+ ### Changed
14
+ - `configs/defaults.yaml`: `anthropic.high` now maps to `claude-opus-4-5` (was `claude-sonnet-4.6`), `anthropic.mid` maps to `claude-sonnet-4-5`. Opus is the default for high-tier agents.
15
+ - `SKILL.md`: Added **Step 0.5 — Model Selection** (Claude Code only). Before any deliberation starts, the coordinator asks whether to use Opus+Sonnet (A, default) or Sonnet-only (B) for all agents. The resolved model map is passed as the `model` parameter when dispatching each subagent via the Agent tool. On Windsurf/Cursor, this step is skipped — the active context model is used.
16
+ - `SKILL.md` Step 4 (Model Routing): Updated to read `model_tier` from agent frontmatter, resolve via the Step 0.5 selection, and pass the resolved model name to the Agent tool. Windsurf/Cursor behavior explicitly documented.
17
+ - `BRAINSTORM.md`: Added **Phase 0 — Model Selection** (Claude Code only), identical logic to SKILL.md Step 0.5.
18
+
8
19
  ## [0.2.6] - 2025-04-03
9
20
 
10
21
  ### Fixed
package/SKILL.md CHANGED
@@ -133,6 +133,37 @@ If `--research` is NOT set, skip this step entirely. Do not spontaneously resear
133
133
 
134
134
  ---
135
135
 
136
+ ### Step 0.5: Model Selection (Claude Code only)
137
+
138
+ **This step runs only on Claude Code.** On Windsurf and Cursor, agents use the active model in the current context — no selection needed.
139
+
140
+ Before doing anything else, ask the user:
141
+
142
+ ```
143
+ ⚙️ Model configuration for this deliberation:
144
+
145
+ High-tier agents (assumption-breaker, bias-detector, emergence-reader,
146
+ reframer, risk-analyst, safety-frontier) will use:
147
+
148
+ A) Opus + Sonnet — opus for high-tier, sonnet for mid-tier [DEFAULT]
149
+ Best quality. Higher token cost.
150
+ B) Sonnet only — sonnet for all agents
151
+ Faster. Lower cost. Still strong.
152
+
153
+ Which would you prefer? (A/B, or press Enter for default A)
154
+ ```
155
+
156
+ **Wait for the user's response before proceeding.**
157
+
158
+ - If the user selects **A** or presses Enter: resolve `high → opus`, `mid → sonnet` from `configs/defaults.yaml`
159
+ - If the user selects **B**: resolve both `high` and `mid` → `sonnet`
160
+
161
+ Store the resolved model map for use in Step 4. This selection applies for the entire session.
162
+
163
+ If `configs/provider-model-slots.yaml` exists in the project root, skip this prompt entirely and use manual overrides from that file.
164
+
165
+ ---
166
+
136
167
  ### Step 1: Platform Detection
137
168
 
138
169
  Read `configs/defaults.yaml` to determine:
@@ -163,12 +194,18 @@ If auto-detection is ambiguous, present the top 2-3 triad matches and let the us
163
194
 
164
195
  ### Step 4: Model Routing
165
196
 
166
- Read `configs/defaults.yaml` for tier mapping:
167
- - Agents marked `model: high` get the high-tier model
168
- - Agents marked `model: mid` get the mid-tier model
169
- - If `config.yaml` in project root sets `model_tier: mid`, ALL agents use mid tier regardless of their default
197
+ Use the resolved model map from Step 0.5 (Claude Code) or the active context model (Windsurf/Cursor):
198
+
199
+ **Claude Code:**
200
+ - Agents with `model_tier: high` pass `model: opus` (or `model: sonnet` if user chose B) to the Agent tool
201
+ - Agents with `model_tier: mid` → pass `model: sonnet` to the Agent tool
202
+ - `opus` and `sonnet` are Claude Code's accepted shorthands for the current claude-opus-4-6 and claude-sonnet-4-6
203
+ - If `configs/provider-model-slots.yaml` exists, use manual overrides instead
170
204
 
171
- If `configs/provider-model-slots.yaml` exists, use manual overrides instead of auto-routing.
205
+ **Windsurf / Cursor:**
206
+ - All agents run sequentially within the current context window using the model already active in the session
207
+ - `model_tier` in agent frontmatter is treated as metadata only — no model switching occurs
208
+ - No model selection prompt is shown
172
209
 
173
210
  ### Step 5: Visual Companion (optional)
174
211
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-adversarial-strategist
3
3
  description: "Deliberate agent. Use standalone for adversarial strategy, competitive analysis & strategic timing, or via /deliberate for multi-perspective deliberation."
4
- model: mid
4
+ model_tier: mid
5
5
  color: red
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-assumption-breaker
3
3
  description: "Deliberate agent. Use standalone for assumption destruction & dialectical analysis, or via /deliberate for multi-perspective deliberation."
4
- model: high
4
+ model_tier: high
5
5
  color: coral
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-bias-detector
3
3
  description: "Deliberate agent. Use standalone for cognitive bias detection & de-biasing, or via /deliberate for multi-perspective deliberation."
4
- model: high
4
+ model_tier: high
5
5
  color: violet
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-classifier
3
3
  description: "Deliberate agent. Use standalone for categorization & structural analysis, or via /deliberate for multi-perspective deliberation."
4
- model: mid
4
+ model_tier: mid
5
5
  color: amber
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-emergence-reader
3
3
  description: "Deliberate agent. Use standalone for emergence & non-intervention analysis, or via /deliberate for multi-perspective deliberation."
4
- model: high
4
+ model_tier: high
5
5
  color: indigo
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-first-principles
3
3
  description: "Deliberate agent. Use standalone for first-principles debugging & bottom-up derivation, or via /deliberate for multi-perspective deliberation."
4
- model: mid
4
+ model_tier: mid
5
5
  color: orange
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-formal-verifier
3
3
  description: "Deliberate agent. Use standalone for formal systems & computational analysis, or via /deliberate for multi-perspective deliberation."
4
- model: mid
4
+ model_tier: mid
5
5
  color: cyan
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-incentive-mapper
3
3
  description: "Deliberate agent. Use standalone for power dynamics & incentive analysis, or via /deliberate for multi-perspective deliberation."
4
- model: mid
4
+ model_tier: mid
5
5
  color: dark-red
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-inverter
3
3
  description: "Deliberate agent. Use standalone for multi-model reasoning & inversion analysis, or via /deliberate for multi-perspective deliberation."
4
- model: mid
4
+ model_tier: mid
5
5
  color: gold
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-pragmatic-builder
3
3
  description: "Deliberate agent. Use standalone for pragmatic engineering & shipping analysis, or via /deliberate for multi-perspective deliberation."
4
- model: mid
4
+ model_tier: mid
5
5
  color: yellow
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-reframer
3
3
  description: "Deliberate agent. Use standalone for perspective dissolution & reframing, or via /deliberate for multi-perspective deliberation."
4
- model: high
4
+ model_tier: high
5
5
  color: purple
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-resilience-anchor
3
3
  description: "Deliberate agent. Use standalone for resilience & moral clarity analysis, or via /deliberate for multi-perspective deliberation."
4
- model: mid
4
+ model_tier: mid
5
5
  color: silver
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-risk-analyst
3
3
  description: "Deliberate agent. Use standalone for antifragility & tail risk analysis, or via /deliberate for multi-perspective deliberation."
4
- model: high
4
+ model_tier: high
5
5
  color: black
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-design-lens
3
3
  description: "Deliberate specialist agent. Activated for design/UX triads. Use standalone for user-centered design & simplicity analysis."
4
- model: mid
4
+ model_tier: mid
5
5
  color: white-smoke
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-ml-intuition
3
3
  description: "Deliberate specialist agent. Activated for AI/ML triads. Use standalone for neural network intuition & empirical ML analysis."
4
- model: mid
4
+ model_tier: mid
5
5
  color: green
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-safety-frontier
3
3
  description: "Deliberate specialist agent. Activated for AI safety triads. Use standalone for scaling frontier & AI safety analysis."
4
- model: high
4
+ model_tier: high
5
5
  color: ice-blue
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: deliberate-systems-thinker
3
3
  description: "Deliberate agent. Use standalone for systems thinking & feedback loop analysis, or via /deliberate for multi-perspective deliberation."
4
- model: mid
4
+ model_tier: mid
5
5
  color: teal
6
6
  tools: ["Read", "Grep", "Glob", "Bash", "WebSearch", "WebFetch"]
7
7
  deliberate:
@@ -8,12 +8,12 @@
8
8
 
9
9
  tiers:
10
10
  anthropic:
11
- high: claude-sonnet-4.6
12
- mid: claude-sonnet-4.6
13
- # NOTE: Opus is NOT used by default. To enable:
14
- # 1. Copy provider-model-slots.example.yaml
15
- # 2. Set high: claude-opus-4.6
16
- # 3. Accept that this will consume significantly more tokens/credits
11
+ high: opus # Claude Code shorthand — resolves to claude-opus-4-6
12
+ mid: sonnet # Claude Code shorthand — resolves to claude-sonnet-4-6
13
+ # Opus is used for high-tier agents by default.
14
+ # At startup, the coordinator asks the user whether to keep opus (high)
15
+ # or switch all agents to sonnet. The user's choice overrides this mapping
16
+ # for the session. See SKILL.md Step 0.5 for the selection prompt.
17
17
 
18
18
  openai:
19
19
  high: gpt-5.4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faviovazquez/deliberate",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Multi-agent deliberation skill for AI coding assistants. Agreement is a bug.",
5
5
  "license": "MIT",
6
6
  "author": "Favio Vazquez",