maxsimcli 3.2.2 → 3.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
@@ -55,6 +55,41 @@ Add `--local` instead of `--global` for project-scoped installs.
55
55
 
56
56
  ---
57
57
 
58
+ ## Live Dashboard
59
+
60
+ MAXSIM ships with a real-time web dashboard — bundled inside the CLI, no separate setup needed.
61
+
62
+ ```bash
63
+ npx maxsimcli dashboard
64
+ ```
65
+
66
+ The dashboard opens in your browser and updates instantly as `.planning/` files change via WebSocket.
67
+
68
+ **Dashboard features:**
69
+ - **Phase overview** — progress bars, milestone stats, and completion percentage
70
+ - **Phase drill-down** — expand any phase to see individual plan tasks with toggleable checkboxes
71
+ - **Inline Markdown editor** — edit plan files directly in the browser (CodeMirror, Ctrl+S to save)
72
+ - **Todos panel** — create, complete, and delete todos
73
+ - **Blockers panel** — view and resolve blockers from STATE.md
74
+ - **STATE.md editor** — edit project state inline
75
+ - **Auto-launches** during `/maxsim:execute-phase` so you always have a live view
76
+ - **Idempotent** — running the command again when a server is already up does nothing
77
+ - **LAN sharing** — share your dashboard with teammates on the same network
78
+
79
+ ### Network / LAN Sharing
80
+
81
+ ```bash
82
+ npx maxsimcli dashboard --network
83
+ ```
84
+
85
+ Enables LAN sharing so anyone on your local network (or Tailscale VPN) can open the dashboard in their browser. MAXSIM:
86
+
87
+ - Detects your local IP and Tailscale IP automatically
88
+ - Configures firewall rules on Windows (`netsh`) and Linux (`ufw`/`iptables`) with one command
89
+ - Generates a **QR code** so you can open the dashboard on your phone in seconds
90
+
91
+ ---
92
+
58
93
  ## How It Works
59
94
 
60
95
  ### 1. Initialize Project
@@ -128,51 +163,56 @@ Loop **discuss → plan → execute → verify** until done. Archive the milesto
128
163
  |---------|-------------|
129
164
  | `/maxsim:progress` | Where am I? What's next? |
130
165
  | `/maxsim:help` | Show all commands |
131
- | `/maxsim:quick` | Ad-hoc task with atomic commits |
166
+ | `/maxsim:quick` | Ad-hoc task with atomic commits (skips optional agents) |
132
167
  | `/maxsim:debug [desc]` | Systematic debugging with persistent state |
133
- | `/maxsim:map-codebase` | Analyze existing codebase |
168
+ | `/maxsim:map-codebase` | Analyze existing codebase with parallel mapper agents |
134
169
  | `/maxsim:pause-work` | Create handoff when stopping mid-phase |
135
170
  | `/maxsim:resume-work` | Restore from last session |
171
+ | `/maxsim:roadmap` | Display the full project roadmap |
172
+ | `/maxsim:health [--repair]` | Diagnose and auto-repair `.planning/` directory |
173
+ | `/maxsim:update` | Check and install MAXSIM updates |
136
174
 
137
- ### Live Dashboard
175
+ ### Phase Management
138
176
 
139
177
  | Command | Description |
140
178
  |---------|-------------|
141
- | `npx maxsimcli dashboard` | Launch the live project dashboard |
179
+ | `/maxsim:add-phase` | Append phase to roadmap |
180
+ | `/maxsim:insert-phase [N]` | Insert urgent work between phases (decimal numbering) |
181
+ | `/maxsim:remove-phase [N]` | Remove future phase, renumber |
182
+ | `/maxsim:list-phase-assumptions [N]` | Surface Claude's assumptions before planning |
183
+ | `/maxsim:research-phase [N]` | Standalone phase research |
142
184
 
143
- MAXSIM includes a real-time web dashboard that shows phase progress, open tasks, blockers,
144
- and allows inline plan editing.
185
+ ### Milestone & Quality
145
186
 
146
- ```bash
147
- npx maxsimcli dashboard
148
- ```
187
+ | Command | Description |
188
+ |---------|-------------|
189
+ | `/maxsim:audit-milestone` | Audit completion against original intent before archiving |
190
+ | `/maxsim:plan-milestone-gaps` | Create phases for all gaps found by audit |
191
+ | `/maxsim:add-tests <N>` | Generate tests from UAT criteria and implementation |
192
+ | `/maxsim:cleanup` | Archive accumulated phase directories |
193
+
194
+ ### Todos
149
195
 
150
- The dashboard auto-detects a free port starting from 3333 and opens your browser.
151
- It watches `.planning/` for changes and updates in real-time via WebSocket.
196
+ | Command | Description |
197
+ |---------|-------------|
198
+ | `/maxsim:add-todo` | Capture idea as a todo from current conversation |
199
+ | `/maxsim:check-todos` | List pending todos and select one to work on |
152
200
 
153
- - **Auto-installed** during `npx maxsimcli@latest` -- no separate setup needed
154
- - **Works with both global and local installs**
155
- - **Auto-opens browser** on launch
156
- - **Detects running instances** -- won't start a duplicate server
157
- - **Auto-launches** during `/maxsim:execute-phase`
201
+ ### Live Dashboard
158
202
 
159
- **Features:**
160
- - Real-time updates via WebSocket -- edit a `.planning/` file and the dashboard refreshes instantly
161
- - Phase overview with animated progress bars and milestone stats
162
- - Phase drill-down with plan tasks and toggleable checkboxes
163
- - Inline CodeMirror Markdown editor for plan files (Ctrl+S to save)
164
- - Todos panel -- create, complete, and manage todos
165
- - Blockers panel -- view and resolve blockers from STATE.md
166
- - Swiss Style Design dark theme
203
+ | Command | Description |
204
+ |---------|-------------|
205
+ | `npx maxsimcli dashboard` | Launch the real-time web dashboard |
206
+ | `npx maxsimcli dashboard --network` | Launch with LAN/Tailscale sharing + QR code |
207
+ | `npx maxsimcli dashboard --stop` | Shut down the running dashboard server |
167
208
 
168
- ### Phase Management
209
+ ### Settings
169
210
 
170
211
  | Command | Description |
171
212
  |---------|-------------|
172
- | `/maxsim:add-phase` | Append phase to roadmap |
173
- | `/maxsim:insert-phase [N]` | Insert urgent work between phases |
174
- | `/maxsim:remove-phase [N]` | Remove future phase, renumber |
175
- | `/maxsim:settings` | Configure model profile and workflow agents |
213
+ | `/maxsim:settings` | Configure model profile and workflow agent toggles |
214
+ | `/maxsim:set-profile <profile>` | Switch model profile |
215
+ | `/maxsim:reapply-patches` | Reapply local modifications after a MAXSIM update |
176
216
 
177
217
  ---
178
218
 
@@ -180,15 +220,97 @@ It watches `.planning/` for changes and updates in real-time via WebSocket.
180
220
 
181
221
  Project settings live in `.planning/config.json`, created during `/maxsim:new-project` or editable via `/maxsim:settings`.
182
222
 
183
- **Model Profiles** control which Claude model each agent uses:
223
+ ```json
224
+ {
225
+ "model_profile": "balanced",
226
+ "branching_strategy": "none",
227
+ "commit_docs": true,
228
+ "research": true,
229
+ "plan_checker": true,
230
+ "verifier": true,
231
+ "parallelization": true,
232
+ "brave_search": false
233
+ }
234
+ ```
235
+
236
+ | Key | Values | Default | Description |
237
+ |-----|--------|---------|-------------|
238
+ | `model_profile` | `quality` \| `balanced` \| `budget` \| `tokenburner` | `balanced` | Which models agents use |
239
+ | `branching_strategy` | `none` \| `phase` \| `milestone` | `none` | Git branch creation per phase or milestone |
240
+ | `commit_docs` | boolean | `true` | Commit documentation changes separately |
241
+ | `research` | boolean | `true` | Enable research agent before planning |
242
+ | `plan_checker` | boolean | `true` | Enable plan-checker agent before execution |
243
+ | `verifier` | boolean | `true` | Enable verifier agent after execution |
244
+ | `parallelization` | boolean | `true` | Enable wave-based parallel plan execution |
245
+ | `brave_search` | boolean | `false` | Enable Brave Search API in research agents |
246
+
247
+ ### Model Profiles
248
+
249
+ MAXSIM has **4 model profiles** that control which Claude model each of the 11 specialized agents uses:
184
250
 
185
- | Profile | Planning | Execution | Verification |
186
- |---------|----------|-----------|--------------|
251
+ | Profile | Planners & Executors | Researchers | Orchestrators |
252
+ |---------|---------------------|-------------|---------------|
187
253
  | `quality` | Opus | Opus | Sonnet |
188
- | `balanced` (default) | Opus | Sonnet | Sonnet |
189
- | `budget` | Sonnet | Sonnet | Haiku |
254
+ | `balanced` *(default)* | Sonnet | Sonnet | Haiku |
255
+ | `budget` | Sonnet | Haiku | Haiku |
256
+ | `tokenburner` | **Opus everywhere** | **Opus everywhere** | **Opus everywhere** |
257
+
258
+ > `tokenburner` assigns Opus to every single agent. Use it when cost is no concern and you want maximum quality end-to-end.
259
+
260
+ Switch profiles at any time:
261
+
262
+ ```bash
263
+ /maxsim:set-profile quality
264
+ /maxsim:set-profile balanced
265
+ /maxsim:set-profile budget
266
+ /maxsim:set-profile tokenburner
267
+ ```
268
+
269
+ You can also override individual agents in `config.json`:
270
+
271
+ ```json
272
+ {
273
+ "model_profile": "balanced",
274
+ "model_overrides": {
275
+ "maxsim-planner": "opus",
276
+ "maxsim-executor": "opus"
277
+ }
278
+ }
279
+ ```
280
+
281
+ ---
282
+
283
+ ## Hook System
284
+
285
+ MAXSIM installs three compiled hooks into Claude Code:
286
+
287
+ | Hook | Function |
288
+ |------|----------|
289
+ | `maxsim-statusline` | Status bar: model · task · directory · context usage bar |
290
+ | `maxsim-context-monitor` | Warns when context window is running low (35% / 25% thresholds) |
291
+ | `maxsim-check-update` | Periodic npm update check with statusline notification |
292
+
293
+ The context bar in the statusline shows a 10-segment progress indicator that turns red and blinks when context is above 95% — giving you a clear signal to spawn a new session before quality degrades.
294
+
295
+ ---
190
296
 
191
- Switch with `/maxsim:set-profile <profile>`.
297
+ ## Agents
298
+
299
+ 11 specialized subagents, each with fresh context and a single responsibility:
300
+
301
+ | Agent | Role |
302
+ |-------|------|
303
+ | `maxsim-phase-researcher` | Researches how to implement a phase |
304
+ | `maxsim-project-researcher` | Domain research before roadmap creation |
305
+ | `maxsim-research-synthesizer` | Synthesizes parallel research outputs |
306
+ | `maxsim-planner` | Creates executable plans with task breakdown |
307
+ | `maxsim-roadmapper` | Creates project roadmaps with phase breakdown |
308
+ | `maxsim-plan-checker` | Verifies plans will achieve the phase goal |
309
+ | `maxsim-executor` | Implements plans with atomic commits |
310
+ | `maxsim-verifier` | Goal-backward verification after execution |
311
+ | `maxsim-debugger` | Scientific-method debugging with persistent state |
312
+ | `maxsim-integration-checker` | Verifies cross-phase integration and E2E flows |
313
+ | `maxsim-codebase-mapper` | Explores codebase and writes structured analysis |
192
314
 
193
315
  ---
194
316
 
@@ -1,3 +1,17 @@
1
+ ## [3.3.1](https://github.com/maystudios/maxsim/compare/v3.3.0...v3.3.1) (2026-02-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **dashboard:** add shutdown button, auto-shutdown after 60s with no clients ([92a545a](https://github.com/maystudios/maxsim/commit/92a545a23576954fe485198e53fd756f6b88a7d2))
7
+
8
+ # [3.3.0](https://github.com/maystudios/maxsim/compare/v3.2.2...v3.3.0) (2026-02-26)
9
+
10
+
11
+ ### Features
12
+
13
+ * **website:** add full /docs documentation page with sidebar navigation ([ca2ed67](https://github.com/maystudios/maxsim/commit/ca2ed674218ed080b40930528c48f3403b4c93bf))
14
+
1
15
  ## [3.2.2](https://github.com/maystudios/maxsim/compare/v3.2.1...v3.2.2) (2026-02-26)
2
16
 
3
17