pan-wizard 2.8.1 → 2.9.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/README.md +4 -2
- package/bin/install.js +23 -0
- package/commands/pan/focus-design.md +235 -12
- package/commands/pan/focus-doc-audit.md +530 -0
- package/commands/pan/focus-drift-walking.md +525 -0
- package/commands/pan/focus-plan.md +204 -12
- package/commands/pan/profile.md +2 -1
- package/package.json +1 -1
- package/pan-wizard-core/bin/lib/commands.cjs +29 -7
- package/pan-wizard-core/bin/lib/config.cjs +10 -0
- package/pan-wizard-core/bin/lib/core.cjs +168 -21
- package/pan-wizard-core/bin/lib/verify.cjs +283 -4
- package/pan-wizard-core/bin/pan-tools.cjs +11 -2
- package/pan-wizard-core/references/model-profiles.md +191 -62
- package/pan-wizard-core/workflows/help.md +11 -1
- package/pan-wizard-core/workflows/profile.md +8 -1
- package/pan-wizard-core/workflows/settings.md +14 -0
|
@@ -52,6 +52,12 @@ Best for: existing projects, ongoing maintenance, iterative improvement, batch w
|
|
|
52
52
|
/pan:focus-scan # Re-scan to pick up new tasks
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
+
**Documentation quality commands:**
|
|
56
|
+
```
|
|
57
|
+
/pan:focus-drift-walking # Walk project tree, detect doc-code drift
|
|
58
|
+
/pan:focus-doc-audit # Deep document audit with quality scoring
|
|
59
|
+
```
|
|
60
|
+
|
|
55
61
|
---
|
|
56
62
|
|
|
57
63
|
## Brownfield Quick-Start (Adding Features to an Existing Project)
|
|
@@ -202,7 +208,7 @@ The Focus workflow is a **scan → plan → exec → sync** pipeline. Each step
|
|
|
202
208
|
|
|
203
209
|
---
|
|
204
210
|
|
|
205
|
-
## All Commands (
|
|
211
|
+
## All Commands (42)
|
|
206
212
|
|
|
207
213
|
### Getting Started
|
|
208
214
|
| Command | Description |
|
|
@@ -255,7 +261,10 @@ The Focus workflow is a **scan → plan → exec → sync** pipeline. Each step
|
|
|
255
261
|
| `/pan:focus-plan` | Step 2: Budget items into an execution batch |
|
|
256
262
|
| `/pan:focus-exec` | Step 3: Implement, test, verify, commit |
|
|
257
263
|
| `/pan:focus-sync` | Step 4: Synchronize documentation after changes |
|
|
264
|
+
| `/pan:focus-auto` | Continuous scan→plan→exec loop with safety harness |
|
|
258
265
|
| `/pan:focus-design <desc>` | Standalone: Deep feature investigation and spec |
|
|
266
|
+
| `/pan:focus-drift-walking` | Walk project tree, detect doc-code drift, auto-repair |
|
|
267
|
+
| `/pan:focus-doc-audit` | Deep document audit with quality scoring |
|
|
259
268
|
|
|
260
269
|
### System
|
|
261
270
|
| Command | Description |
|
|
@@ -267,6 +276,7 @@ The Focus workflow is a **scan → plan → exec → sync** pipeline. Each step
|
|
|
267
276
|
| `/pan:debug` | Systematic debugging with persistent state |
|
|
268
277
|
| `/pan:todo-add` | Capture idea as todo |
|
|
269
278
|
| `/pan:todo-check` | List and select pending todos |
|
|
279
|
+
| `/pan:audit-deployment <dir>` | Audit a PAN installation for integrity and health |
|
|
270
280
|
|
|
271
281
|
### Community
|
|
272
282
|
| Command | Description |
|
|
@@ -79,7 +79,7 @@ Write updated config back to `.planning/config.json`.
|
|
|
79
79
|
</step>
|
|
80
80
|
|
|
81
81
|
<step name="confirm">
|
|
82
|
-
Display confirmation with model table for selected profile:
|
|
82
|
+
Display confirmation with model table and cost estimate for selected profile:
|
|
83
83
|
|
|
84
84
|
```
|
|
85
85
|
✓ Model profile set to: $ARGUMENTS.profile
|
|
@@ -96,6 +96,13 @@ Example:
|
|
|
96
96
|
| pan-verifier | haiku |
|
|
97
97
|
| ... | ... |
|
|
98
98
|
|
|
99
|
+
Cost estimate:
|
|
100
|
+
[Run: node ~/.claude/pan-wizard-core/bin/pan-tools.cjs estimate-cost]
|
|
101
|
+
Show the average cost multiplier for each profile (quality/balanced/budget)
|
|
102
|
+
and highlight the selected profile. Example:
|
|
103
|
+
quality: 15.0× avg | balanced: 4.3× avg | budget: 2.2× avg
|
|
104
|
+
^^^^^^^^^^^^^^^^ selected
|
|
105
|
+
|
|
99
106
|
Next spawned agents will use the new profile.
|
|
100
107
|
```
|
|
101
108
|
|
|
@@ -30,6 +30,7 @@ Parse current values (default to `true` if not present):
|
|
|
30
30
|
- `workflow.verifier` — spawn verifier during execute-phase
|
|
31
31
|
- `workflow.nyquist_validation` — validation architecture research during plan-phase
|
|
32
32
|
- `model_profile` — which model each agent uses (default: `balanced`)
|
|
33
|
+
- `routing.strategy` — how model tiers are adjusted at runtime (default: `static`)
|
|
33
34
|
- `git.branching_strategy` — branching approach (default: `"none"`)
|
|
34
35
|
</step>
|
|
35
36
|
|
|
@@ -102,6 +103,15 @@ AskUserQuestion([
|
|
|
102
103
|
{ label: "Per Phase", description: "Create branch for each phase (pan/phase-{N}-{name})" },
|
|
103
104
|
{ label: "Per Milestone", description: "Create branch for entire milestone (pan/{version}-{name})" }
|
|
104
105
|
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
question: "Model routing strategy?",
|
|
109
|
+
header: "Routing",
|
|
110
|
+
multiSelect: false,
|
|
111
|
+
options: [
|
|
112
|
+
{ label: "Static (Recommended)", description: "Profile assigns fixed tiers to each agent. Predictable and simple." },
|
|
113
|
+
{ label: "Complexity", description: "Adjust tiers up/down based on task complexity (file count, requirements, architecture). Saves tokens on simple phases." }
|
|
114
|
+
]
|
|
105
115
|
}
|
|
106
116
|
])
|
|
107
117
|
```
|
|
@@ -123,6 +133,9 @@ Merge new settings into existing config.json:
|
|
|
123
133
|
},
|
|
124
134
|
"git": {
|
|
125
135
|
"branching_strategy": "none" | "phase" | "milestone"
|
|
136
|
+
},
|
|
137
|
+
"routing": {
|
|
138
|
+
"strategy": "static" | "complexity"
|
|
126
139
|
}
|
|
127
140
|
}
|
|
128
141
|
```
|
|
@@ -190,6 +203,7 @@ Display:
|
|
|
190
203
|
| Auto-Advance | {On/Off} |
|
|
191
204
|
| Nyquist Validation | {On/Off} |
|
|
192
205
|
| Git Branching | {None/Per Phase/Per Milestone} |
|
|
206
|
+
| Routing Strategy | {Static/Complexity} |
|
|
193
207
|
| Saved as Defaults | {Yes/No} |
|
|
194
208
|
|
|
195
209
|
These settings apply to future /pan:plan-phase and /pan:exec-phase runs.
|