maxsimcli 4.8.0 → 4.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/dist/assets/CHANGELOG.md +13 -0
- package/dist/assets/hooks/maxsim-check-update.cjs +38 -0
- package/dist/assets/hooks/maxsim-check-update.cjs.map +1 -1
- package/dist/assets/hooks/maxsim-statusline.cjs +116 -48
- package/dist/assets/hooks/maxsim-statusline.cjs.map +1 -1
- package/dist/assets/hooks/maxsim-sync-reminder.cjs +117 -0
- package/dist/assets/hooks/maxsim-sync-reminder.cjs.map +1 -0
- package/dist/assets/templates/agents/AGENTS.md +78 -106
- package/dist/assets/templates/agents/executor.md +101 -0
- package/dist/assets/templates/agents/planner.md +86 -0
- package/dist/assets/templates/agents/researcher.md +71 -0
- package/dist/assets/templates/agents/verifier.md +88 -0
- package/dist/assets/templates/commands/maxsim/debug.md +7 -7
- package/dist/assets/templates/commands/maxsim/execute.md +45 -0
- package/dist/assets/templates/commands/maxsim/go.md +29 -0
- package/dist/assets/templates/commands/maxsim/help.md +2 -2
- package/dist/assets/templates/commands/maxsim/init.md +52 -0
- package/dist/assets/templates/commands/maxsim/plan.md +50 -0
- package/dist/assets/templates/commands/maxsim/progress.md +4 -3
- package/dist/assets/templates/commands/maxsim/quick.md +6 -4
- package/dist/assets/templates/commands/maxsim/settings.md +4 -3
- package/dist/assets/templates/references/continuation-format.md +16 -16
- package/dist/assets/templates/references/model-profile-resolution.md +1 -1
- package/dist/assets/templates/references/model-profiles.md +12 -19
- package/dist/assets/templates/rules/conventions.md +51 -0
- package/dist/assets/templates/rules/verification-protocol.md +57 -0
- package/dist/assets/templates/skills/agent-system-map/SKILL.md +92 -0
- package/dist/assets/templates/skills/brainstorming/SKILL.md +48 -36
- package/dist/assets/templates/skills/code-review/SKILL.md +40 -61
- package/dist/assets/templates/skills/commit-conventions/SKILL.md +75 -0
- package/dist/assets/templates/skills/evidence-collection/SKILL.md +87 -0
- package/dist/assets/templates/skills/handoff-contract/SKILL.md +70 -0
- package/dist/assets/templates/skills/input-validation/SKILL.md +51 -0
- package/dist/assets/templates/skills/maxsim-batch/SKILL.md +41 -45
- package/dist/assets/templates/skills/maxsim-simplify/SKILL.md +37 -90
- package/dist/assets/templates/skills/memory-management/SKILL.md +32 -67
- package/dist/assets/templates/skills/research-methodology/SKILL.md +137 -0
- package/dist/assets/templates/skills/roadmap-writing/SKILL.md +40 -58
- package/dist/assets/templates/skills/sdd/SKILL.md +34 -69
- package/dist/assets/templates/skills/systematic-debugging/SKILL.md +20 -26
- package/dist/assets/templates/skills/tdd/SKILL.md +25 -33
- package/dist/assets/templates/skills/tool-priority-guide/SKILL.md +80 -0
- package/dist/assets/templates/skills/using-maxsim/SKILL.md +42 -73
- package/dist/assets/templates/skills/verification-before-completion/SKILL.md +12 -24
- package/dist/assets/templates/skills/verification-gates/SKILL.md +169 -0
- package/dist/assets/templates/templates/UAT.md +3 -3
- package/dist/assets/templates/templates/VALIDATION.md +1 -1
- package/dist/assets/templates/templates/context.md +4 -4
- package/dist/assets/templates/templates/debug-subagent-prompt.md +3 -3
- package/dist/assets/templates/templates/discovery.md +2 -2
- package/dist/assets/templates/templates/phase-prompt.md +2 -2
- package/dist/assets/templates/templates/planner-subagent-prompt.md +7 -7
- package/dist/assets/templates/templates/project.md +1 -1
- package/dist/assets/templates/templates/research.md +1 -1
- package/dist/assets/templates/templates/state.md +2 -2
- package/dist/assets/templates/templates/summary.md +41 -0
- package/dist/assets/templates/workflows/batch.md +5 -5
- package/dist/assets/templates/workflows/diagnose-issues.md +2 -2
- package/dist/assets/templates/workflows/discovery-phase.md +3 -3
- package/dist/assets/templates/workflows/discuss-phase.md +11 -11
- package/dist/assets/templates/workflows/execute-phase.md +205 -11
- package/dist/assets/templates/workflows/execute-plan.md +299 -34
- package/dist/assets/templates/workflows/execute.md +421 -0
- package/dist/assets/templates/workflows/go.md +250 -0
- package/dist/assets/templates/workflows/health.md +5 -5
- package/dist/assets/templates/workflows/help.md +165 -435
- package/dist/assets/templates/workflows/init-existing.md +23 -23
- package/dist/assets/templates/workflows/init.md +205 -0
- package/dist/assets/templates/workflows/new-milestone.md +9 -9
- package/dist/assets/templates/workflows/new-project.md +26 -26
- package/dist/assets/templates/workflows/plan-create.md +298 -0
- package/dist/assets/templates/workflows/plan-discuss.md +347 -0
- package/dist/assets/templates/workflows/plan-phase.md +29 -29
- package/dist/assets/templates/workflows/plan-research.md +177 -0
- package/dist/assets/templates/workflows/plan.md +231 -0
- package/dist/assets/templates/workflows/progress.md +46 -42
- package/dist/assets/templates/workflows/quick.md +195 -14
- package/dist/assets/templates/workflows/research-phase.md +5 -5
- package/dist/assets/templates/workflows/sdd.md +20 -12
- package/dist/assets/templates/workflows/settings.md +18 -14
- package/dist/assets/templates/workflows/verify-phase.md +1 -1
- package/dist/assets/templates/workflows/verify-work.md +16 -16
- package/dist/cli.cjs +496 -91
- package/dist/cli.cjs.map +1 -1
- package/dist/core-D5zUr9cb.cjs.map +1 -1
- package/dist/install.cjs +234 -17
- package/dist/install.cjs.map +1 -1
- package/dist/mcp-server.cjs +21 -2
- package/dist/mcp-server.cjs.map +1 -1
- package/dist/skills-CjFWZIGM.cjs.map +1 -1
- package/package.json +1 -1
- package/dist/assets/hooks/maxsim-context-monitor.cjs +0 -121
- package/dist/assets/hooks/maxsim-context-monitor.cjs.map +0 -1
- package/dist/assets/templates/agents/maxsim-code-reviewer.md +0 -239
- package/dist/assets/templates/agents/maxsim-codebase-mapper.md +0 -214
- package/dist/assets/templates/agents/maxsim-debugger.md +0 -572
- package/dist/assets/templates/agents/maxsim-drift-checker.md +0 -522
- package/dist/assets/templates/agents/maxsim-executor.md +0 -504
- package/dist/assets/templates/agents/maxsim-integration-checker.md +0 -273
- package/dist/assets/templates/agents/maxsim-phase-researcher.md +0 -305
- package/dist/assets/templates/agents/maxsim-plan-checker.md +0 -343
- package/dist/assets/templates/agents/maxsim-planner.md +0 -610
- package/dist/assets/templates/agents/maxsim-project-researcher.md +0 -359
- package/dist/assets/templates/agents/maxsim-research-synthesizer.md +0 -263
- package/dist/assets/templates/agents/maxsim-roadmapper.md +0 -324
- package/dist/assets/templates/agents/maxsim-spec-reviewer.md +0 -245
- package/dist/assets/templates/agents/maxsim-verifier.md +0 -393
- package/dist/assets/templates/commands/maxsim/add-phase.md +0 -43
- package/dist/assets/templates/commands/maxsim/add-tests.md +0 -41
- package/dist/assets/templates/commands/maxsim/add-todo.md +0 -57
- package/dist/assets/templates/commands/maxsim/artefakte.md +0 -122
- package/dist/assets/templates/commands/maxsim/audit-milestone.md +0 -36
- package/dist/assets/templates/commands/maxsim/batch.md +0 -42
- package/dist/assets/templates/commands/maxsim/check-drift.md +0 -56
- package/dist/assets/templates/commands/maxsim/check-todos.md +0 -46
- package/dist/assets/templates/commands/maxsim/cleanup.md +0 -18
- package/dist/assets/templates/commands/maxsim/complete-milestone.md +0 -136
- package/dist/assets/templates/commands/maxsim/discuss-phase.md +0 -87
- package/dist/assets/templates/commands/maxsim/discuss.md +0 -70
- package/dist/assets/templates/commands/maxsim/execute-phase.md +0 -41
- package/dist/assets/templates/commands/maxsim/health.md +0 -22
- package/dist/assets/templates/commands/maxsim/init-existing.md +0 -46
- package/dist/assets/templates/commands/maxsim/insert-phase.md +0 -32
- package/dist/assets/templates/commands/maxsim/list-phase-assumptions.md +0 -46
- package/dist/assets/templates/commands/maxsim/map-codebase.md +0 -71
- package/dist/assets/templates/commands/maxsim/new-milestone.md +0 -44
- package/dist/assets/templates/commands/maxsim/new-project.md +0 -46
- package/dist/assets/templates/commands/maxsim/pause-work.md +0 -38
- package/dist/assets/templates/commands/maxsim/plan-milestone-gaps.md +0 -34
- package/dist/assets/templates/commands/maxsim/plan-phase.md +0 -44
- package/dist/assets/templates/commands/maxsim/realign.md +0 -39
- package/dist/assets/templates/commands/maxsim/reapply-patches.md +0 -110
- package/dist/assets/templates/commands/maxsim/remove-phase.md +0 -31
- package/dist/assets/templates/commands/maxsim/research-phase.md +0 -189
- package/dist/assets/templates/commands/maxsim/resume-work.md +0 -40
- package/dist/assets/templates/commands/maxsim/roadmap.md +0 -19
- package/dist/assets/templates/commands/maxsim/sdd.md +0 -39
- package/dist/assets/templates/commands/maxsim/set-profile.md +0 -34
- package/dist/assets/templates/commands/maxsim/update.md +0 -37
- package/dist/assets/templates/commands/maxsim/verify-work.md +0 -38
- package/dist/assets/templates/workflows/add-phase.md +0 -111
- package/dist/assets/templates/workflows/add-tests.md +0 -351
- package/dist/assets/templates/workflows/add-todo.md +0 -247
- package/dist/assets/templates/workflows/audit-milestone.md +0 -297
- package/dist/assets/templates/workflows/check-drift.md +0 -248
- package/dist/assets/templates/workflows/check-todos.md +0 -261
- package/dist/assets/templates/workflows/cleanup.md +0 -153
- package/dist/assets/templates/workflows/complete-milestone.md +0 -701
- package/dist/assets/templates/workflows/discuss.md +0 -343
- package/dist/assets/templates/workflows/insert-phase.md +0 -129
- package/dist/assets/templates/workflows/list-phase-assumptions.md +0 -178
- package/dist/assets/templates/workflows/map-codebase.md +0 -315
- package/dist/assets/templates/workflows/pause-work.md +0 -122
- package/dist/assets/templates/workflows/plan-milestone-gaps.md +0 -274
- package/dist/assets/templates/workflows/realign.md +0 -288
- package/dist/assets/templates/workflows/remove-phase.md +0 -154
- package/dist/assets/templates/workflows/resume-project.md +0 -306
- package/dist/assets/templates/workflows/roadmap.md +0 -130
- package/dist/assets/templates/workflows/set-profile.md +0 -81
- package/dist/assets/templates/workflows/transition.md +0 -544
- package/dist/assets/templates/workflows/update.md +0 -220
|
@@ -5,521 +5,251 @@ Display the complete MAXSIM command reference. Output ONLY the reference content
|
|
|
5
5
|
<reference>
|
|
6
6
|
# MAXSIM Command Reference
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
MAXSIM is a spec-driven development system for Claude Code. It structures work into milestones, phases, plans, and tasks -- each backed by state-machine logic that tracks progress and resumes automatically.
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## Table of Contents
|
|
11
11
|
|
|
12
|
-
1.
|
|
13
|
-
2.
|
|
14
|
-
3.
|
|
12
|
+
1. [Getting Started](#getting-started)
|
|
13
|
+
2. [Commands](#commands)
|
|
14
|
+
3. [Plan Flow](#plan-flow)
|
|
15
|
+
4. [Execute Flow](#execute-flow)
|
|
16
|
+
5. [Project Structure](#project-structure)
|
|
17
|
+
6. [Quick Reference](#quick-reference)
|
|
15
18
|
|
|
16
|
-
|
|
19
|
+
---
|
|
17
20
|
|
|
18
|
-
|
|
21
|
+
## Getting Started
|
|
19
22
|
|
|
20
|
-
|
|
21
|
-
npx maxsimcli@latest
|
|
22
|
-
```
|
|
23
|
+
**First time?** Run `/maxsim:init` to initialize your project.
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
**Returning?** Run `/maxsim:go` to auto-detect where you left off.
|
|
25
26
|
|
|
27
|
+
**Core loop:**
|
|
26
28
|
```
|
|
27
|
-
/maxsim:
|
|
29
|
+
/maxsim:init --> /maxsim:plan 1 --> /maxsim:execute 1 --> /maxsim:plan 2 --> ...
|
|
28
30
|
```
|
|
29
31
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
**`/maxsim:new-project`**
|
|
33
|
-
Initialize new project through unified flow.
|
|
34
|
-
|
|
35
|
-
One command takes you from idea to ready-for-planning:
|
|
36
|
-
- Deep questioning to understand what you're building
|
|
37
|
-
- Optional domain research (spawns 4 parallel researcher agents)
|
|
38
|
-
- Requirements definition with v1/v2/out-of-scope scoping
|
|
39
|
-
- Roadmap creation with phase breakdown and success criteria
|
|
40
|
-
|
|
41
|
-
Creates all `.planning/` artifacts:
|
|
42
|
-
- `PROJECT.md` — vision and requirements
|
|
43
|
-
- `config.json` — workflow mode (interactive/yolo)
|
|
44
|
-
- `research/` — domain research (if selected)
|
|
45
|
-
- `REQUIREMENTS.md` — scoped requirements with REQ-IDs
|
|
46
|
-
- `ROADMAP.md` — phases mapped to requirements
|
|
47
|
-
- `STATE.md` — project memory
|
|
48
|
-
|
|
49
|
-
Usage: `/maxsim:new-project`
|
|
50
|
-
|
|
51
|
-
**`/maxsim:map-codebase`**
|
|
52
|
-
Map an existing codebase for brownfield projects.
|
|
53
|
-
|
|
54
|
-
- Analyzes codebase with parallel Explore agents
|
|
55
|
-
- Creates `.planning/codebase/` with 7 focused documents
|
|
56
|
-
- Covers stack, architecture, structure, conventions, testing, integrations, concerns
|
|
57
|
-
- Use before `/maxsim:new-project` on existing codebases
|
|
58
|
-
|
|
59
|
-
Usage: `/maxsim:map-codebase`
|
|
60
|
-
|
|
61
|
-
### Phase Planning
|
|
62
|
-
|
|
63
|
-
**`/maxsim:discuss-phase <number>`**
|
|
64
|
-
Help articulate your vision for a phase before planning.
|
|
65
|
-
|
|
66
|
-
- Captures how you imagine this phase working
|
|
67
|
-
- Creates CONTEXT.md with your vision, essentials, and boundaries
|
|
68
|
-
- Use when you have ideas about how something should look/feel
|
|
69
|
-
|
|
70
|
-
Usage: `/maxsim:discuss-phase 2`
|
|
71
|
-
|
|
72
|
-
**`/maxsim:research-phase <number>`**
|
|
73
|
-
Comprehensive ecosystem research for niche/complex domains.
|
|
74
|
-
|
|
75
|
-
- Discovers standard stack, architecture patterns, pitfalls
|
|
76
|
-
- Creates RESEARCH.md with "how experts build this" knowledge
|
|
77
|
-
- Use for 3D, games, audio, shaders, ML, and other specialized domains
|
|
78
|
-
- Goes beyond "which library" to ecosystem knowledge
|
|
79
|
-
|
|
80
|
-
Usage: `/maxsim:research-phase 3`
|
|
81
|
-
|
|
82
|
-
**`/maxsim:list-phase-assumptions <number>`**
|
|
83
|
-
See what Claude is planning to do before it starts.
|
|
84
|
-
|
|
85
|
-
- Shows Claude's intended approach for a phase
|
|
86
|
-
- Lets you course-correct if Claude misunderstood your vision
|
|
87
|
-
- No files created - conversational output only
|
|
88
|
-
|
|
89
|
-
Usage: `/maxsim:list-phase-assumptions 3`
|
|
90
|
-
|
|
91
|
-
**`/maxsim:plan-phase <number>`**
|
|
92
|
-
Create detailed execution plan for a specific phase.
|
|
93
|
-
|
|
94
|
-
- Generates `.planning/phases/XX-phase-name/XX-YY-PLAN.md`
|
|
95
|
-
- Breaks phase into concrete, actionable tasks
|
|
96
|
-
- Includes verification criteria and success measures
|
|
97
|
-
- Multiple plans per phase supported (XX-01, XX-02, etc.)
|
|
98
|
-
|
|
99
|
-
Usage: `/maxsim:plan-phase 1`
|
|
100
|
-
Result: Creates `.planning/phases/01-foundation/01-01-PLAN.md`
|
|
32
|
+
---
|
|
101
33
|
|
|
102
|
-
|
|
34
|
+
## Commands
|
|
103
35
|
|
|
104
|
-
|
|
105
|
-
Execute all plans in a phase.
|
|
36
|
+
### /maxsim:init
|
|
106
37
|
|
|
107
|
-
|
|
108
|
-
- Plans within each wave run in parallel via Task tool
|
|
109
|
-
- Verifies phase goal after all plans complete
|
|
110
|
-
- Updates REQUIREMENTS.md, ROADMAP.md, STATE.md
|
|
38
|
+
Initialize a new project or manage milestone lifecycle.
|
|
111
39
|
|
|
112
|
-
|
|
40
|
+
- **New project:** Deep questioning, optional domain research, requirements definition, roadmap creation
|
|
41
|
+
- **Existing project:** Scans codebase, creates planning docs from existing code
|
|
42
|
+
- **Active project:** Detects current state, offers milestone lifecycle options (complete, start new)
|
|
113
43
|
|
|
114
|
-
|
|
115
|
-
Execute a phase using Spec-Driven Dispatch — fresh agent per task with 2-stage review.
|
|
44
|
+
Usage: `/maxsim:init` or `/maxsim:init --auto`
|
|
116
45
|
|
|
117
|
-
|
|
118
|
-
- Mandatory two-stage review (spec compliance + code quality) between every task
|
|
119
|
-
- No task starts until the previous passes both review stages
|
|
120
|
-
- Fix agents spawned for failed reviews (up to 3 attempts)
|
|
46
|
+
---
|
|
121
47
|
|
|
122
|
-
|
|
48
|
+
### /maxsim:plan [N]
|
|
123
49
|
|
|
124
|
-
|
|
50
|
+
Plan a phase through three stages: Discussion, Research, Planning.
|
|
125
51
|
|
|
126
|
-
|
|
127
|
-
|
|
52
|
+
- **Discussion:** Gather implementation decisions via conversation, creates CONTEXT.md
|
|
53
|
+
- **Research:** Spawn researcher agent for domain analysis, creates RESEARCH.md
|
|
54
|
+
- **Planning:** Spawn planner agent to create executable PLAN.md files
|
|
55
|
+
- Auto-detects current stage and resumes from there
|
|
56
|
+
- Gate confirmation between each stage
|
|
128
57
|
|
|
129
|
-
|
|
130
|
-
- Validates no file overlap between units
|
|
131
|
-
- Each unit runs in its own worktree with its own branch and PR
|
|
132
|
-
- Tracks progress via status table, handles failures with retries
|
|
58
|
+
Usage: `/maxsim:plan 3` or `/maxsim:plan` (auto-detects next unplanned phase)
|
|
133
59
|
|
|
134
|
-
|
|
60
|
+
Flags: `--force-research` (re-run research), `--skip-verify` (skip plan verification)
|
|
135
61
|
|
|
136
|
-
|
|
62
|
+
---
|
|
137
63
|
|
|
138
|
-
###
|
|
64
|
+
### /maxsim:execute [N]
|
|
139
65
|
|
|
140
|
-
|
|
141
|
-
Execute small, ad-hoc tasks with MAXSIM guarantees but skip optional agents.
|
|
66
|
+
Execute all plans in a phase with auto-verification.
|
|
142
67
|
|
|
143
|
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
-
|
|
68
|
+
- Runs plans in wave order (parallel within waves)
|
|
69
|
+
- Auto-verifies after execution completes
|
|
70
|
+
- Retries failed verification (max 2 retries, 3 total attempts)
|
|
71
|
+
- On final failure, reports what failed and lets you decide
|
|
147
72
|
|
|
148
|
-
|
|
73
|
+
Usage: `/maxsim:execute 3`
|
|
149
74
|
|
|
150
|
-
|
|
151
|
-
Result: Creates `.planning/quick/NNN-slug/PLAN.md`, `.planning/quick/NNN-slug/SUMMARY.md`
|
|
75
|
+
---
|
|
152
76
|
|
|
153
|
-
###
|
|
77
|
+
### /maxsim:go
|
|
154
78
|
|
|
155
|
-
|
|
156
|
-
Add new phase to end of current milestone.
|
|
79
|
+
Auto-detect project state and dispatch to the right command.
|
|
157
80
|
|
|
158
|
-
-
|
|
159
|
-
-
|
|
160
|
-
-
|
|
81
|
+
- Deep context analysis: project state, git status, recent commits
|
|
82
|
+
- Surfaces problems proactively before suggesting actions
|
|
83
|
+
- Show + Act pattern: displays what was detected, then acts immediately
|
|
84
|
+
- No arguments -- pure auto-detection
|
|
161
85
|
|
|
162
|
-
Usage: `/maxsim:
|
|
86
|
+
Usage: `/maxsim:go`
|
|
163
87
|
|
|
164
|
-
|
|
165
|
-
Insert urgent work as decimal phase between existing phases.
|
|
88
|
+
---
|
|
166
89
|
|
|
167
|
-
|
|
168
|
-
- Useful for discovered work that must happen mid-milestone
|
|
169
|
-
- Maintains phase ordering
|
|
90
|
+
### /maxsim:progress
|
|
170
91
|
|
|
171
|
-
|
|
172
|
-
Result: Creates Phase 7.1
|
|
92
|
+
View project progress and milestone status.
|
|
173
93
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
-
|
|
178
|
-
- Renumbers all subsequent phases to close the gap
|
|
179
|
-
- Only works on future (unstarted) phases
|
|
180
|
-
- Git commit preserves historical record
|
|
181
|
-
|
|
182
|
-
Usage: `/maxsim:remove-phase 17`
|
|
183
|
-
Result: Phase 17 deleted, phases 18-20 become 17-19
|
|
184
|
-
|
|
185
|
-
### Milestone Management
|
|
186
|
-
|
|
187
|
-
**`/maxsim:new-milestone <name>`**
|
|
188
|
-
Start a new milestone through unified flow.
|
|
189
|
-
|
|
190
|
-
- Deep questioning to understand what you're building next
|
|
191
|
-
- Optional domain research (spawns 4 parallel researcher agents)
|
|
192
|
-
- Requirements definition with scoping
|
|
193
|
-
- Roadmap creation with phase breakdown
|
|
194
|
-
|
|
195
|
-
Mirrors `/maxsim:new-project` flow for brownfield projects (existing PROJECT.md).
|
|
196
|
-
|
|
197
|
-
Usage: `/maxsim:new-milestone "v2.0 Features"`
|
|
198
|
-
|
|
199
|
-
**`/maxsim:complete-milestone <version>`**
|
|
200
|
-
Archive completed milestone and prepare for next version.
|
|
201
|
-
|
|
202
|
-
- Creates MILESTONES.md entry with stats
|
|
203
|
-
- Archives full details to milestones/ directory
|
|
204
|
-
- Creates git tag for the release
|
|
205
|
-
- Prepares workspace for next version
|
|
206
|
-
|
|
207
|
-
Usage: `/maxsim:complete-milestone 1.0.0`
|
|
208
|
-
|
|
209
|
-
### Progress Tracking
|
|
210
|
-
|
|
211
|
-
**`/maxsim:progress`**
|
|
212
|
-
Check project status and intelligently route to next action.
|
|
213
|
-
|
|
214
|
-
- Shows visual progress bar and completion percentage
|
|
215
|
-
- Summarizes recent work from SUMMARY files
|
|
216
|
-
- Displays current position and what's next
|
|
217
|
-
- Lists key decisions and open issues
|
|
218
|
-
- Offers to execute next plan or create it if missing
|
|
219
|
-
- Detects 100% milestone completion
|
|
94
|
+
- Phase completion overview with visual progress
|
|
95
|
+
- Recent activity summary from SUMMARY files
|
|
96
|
+
- Current position and what comes next
|
|
97
|
+
- Offers milestone completion when all phases are done
|
|
220
98
|
|
|
221
99
|
Usage: `/maxsim:progress`
|
|
222
100
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
**`/maxsim:resume-work`**
|
|
226
|
-
Resume work from previous session with full context restoration.
|
|
227
|
-
|
|
228
|
-
- Reads STATE.md for project context
|
|
229
|
-
- Shows current position and recent progress
|
|
230
|
-
- Offers next actions based on project state
|
|
231
|
-
|
|
232
|
-
Usage: `/maxsim:resume-work`
|
|
233
|
-
|
|
234
|
-
**`/maxsim:pause-work`**
|
|
235
|
-
Create context handoff when pausing work mid-phase.
|
|
236
|
-
|
|
237
|
-
- Creates .continue-here file with current state
|
|
238
|
-
- Updates STATE.md session continuity section
|
|
239
|
-
- Captures in-progress work context
|
|
101
|
+
---
|
|
240
102
|
|
|
241
|
-
|
|
103
|
+
### /maxsim:debug [description]
|
|
242
104
|
|
|
243
|
-
### Debugging
|
|
244
|
-
|
|
245
|
-
**`/maxsim:debug [issue description]`**
|
|
246
105
|
Systematic debugging with persistent state across context resets.
|
|
247
106
|
|
|
248
|
-
-
|
|
249
|
-
-
|
|
250
|
-
-
|
|
251
|
-
-
|
|
252
|
-
- Archives resolved issues to `.planning/debug/resolved/`
|
|
253
|
-
|
|
254
|
-
Usage: `/maxsim:debug "login button doesn't work"`
|
|
255
|
-
Usage: `/maxsim:debug` (resume active session)
|
|
256
|
-
|
|
257
|
-
### Todo Management
|
|
258
|
-
|
|
259
|
-
**`/maxsim:add-todo [description]`**
|
|
260
|
-
Capture idea or task as todo from current conversation.
|
|
261
|
-
|
|
262
|
-
- Extracts context from conversation (or uses provided description)
|
|
263
|
-
- Creates structured todo file in `.planning/todos/pending/`
|
|
264
|
-
- Infers area from file paths for grouping
|
|
265
|
-
- Checks for duplicates before creating
|
|
266
|
-
- Updates STATE.md todo count
|
|
267
|
-
|
|
268
|
-
Usage: `/maxsim:add-todo` (infers from conversation)
|
|
269
|
-
Usage: `/maxsim:add-todo Add auth token refresh`
|
|
270
|
-
Usage: `/maxsim:add-todo --discuss Refactor auth module` (collaborative discussion before filing)
|
|
107
|
+
- Scientific method: gather symptoms, hypothesize, test, verify
|
|
108
|
+
- Persistent debug sessions in `.planning/debug/` -- survives `/clear`
|
|
109
|
+
- Spawns isolated debugger agent (fresh 200K context per investigation)
|
|
110
|
+
- Run with no args to resume an active session
|
|
271
111
|
|
|
272
|
-
|
|
273
|
-
List pending todos and select one to work on.
|
|
112
|
+
Usage: `/maxsim:debug login form returns 500` or `/maxsim:debug` (resume)
|
|
274
113
|
|
|
275
|
-
|
|
276
|
-
- Optional area filter (e.g., `/maxsim:check-todos api`)
|
|
277
|
-
- Loads full context for selected todo
|
|
278
|
-
- Routes to appropriate action (work now, add to phase, brainstorm)
|
|
279
|
-
- Moves todo to done/ when work begins
|
|
114
|
+
---
|
|
280
115
|
|
|
281
|
-
|
|
282
|
-
Usage: `/maxsim:check-todos api`
|
|
116
|
+
### /maxsim:quick [--full]
|
|
283
117
|
|
|
284
|
-
|
|
118
|
+
Ad-hoc tasks with MAXSIM guarantees.
|
|
285
119
|
|
|
286
|
-
|
|
287
|
-
|
|
120
|
+
- Atomic commits, state tracking, todo capture
|
|
121
|
+
- `--full` flag enables plan-checking and verification agents
|
|
122
|
+
- "Save for later" captures ideas as todos for future work
|
|
288
123
|
|
|
289
|
-
|
|
290
|
-
- With type (`decisions`, `acceptance-criteria`, `no-gos`): view specific document
|
|
291
|
-
- With `--phase N`: scope to phase-level artefakte
|
|
292
|
-
- Interactive: add entries, view documents, switch between types
|
|
124
|
+
Usage: `/maxsim:quick` or `/maxsim:quick --full`
|
|
293
125
|
|
|
294
|
-
|
|
295
|
-
- `DECISIONS.md` — Architectural and design decisions with rationale
|
|
296
|
-
- `ACCEPTANCE-CRITERIA.md` — Conditions that must be met for deliverables
|
|
297
|
-
- `NO-GOS.md` — Things explicitly out of scope or forbidden
|
|
126
|
+
---
|
|
298
127
|
|
|
299
|
-
|
|
300
|
-
Usage: `/maxsim:artefakte decisions`
|
|
301
|
-
Usage: `/maxsim:artefakte no-gos --phase 3`
|
|
128
|
+
### /maxsim:settings
|
|
302
129
|
|
|
303
|
-
|
|
130
|
+
Configure MAXSIM workflow and model profile.
|
|
304
131
|
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
- Extracts testable deliverables from SUMMARY.md files
|
|
309
|
-
- Presents tests one at a time (yes/no responses)
|
|
310
|
-
- Automatically diagnoses failures and creates fix plans
|
|
311
|
-
- Ready for re-execution if issues found
|
|
312
|
-
|
|
313
|
-
Usage: `/maxsim:verify-work 3`
|
|
314
|
-
|
|
315
|
-
### Milestone Auditing
|
|
316
|
-
|
|
317
|
-
**`/maxsim:audit-milestone [version]`**
|
|
318
|
-
Audit milestone completion against original intent.
|
|
319
|
-
|
|
320
|
-
- Reads all phase VERIFICATION.md files
|
|
321
|
-
- Checks requirements coverage
|
|
322
|
-
- Spawns integration checker for cross-phase wiring
|
|
323
|
-
- Creates MILESTONE-AUDIT.md with gaps and tech debt
|
|
324
|
-
|
|
325
|
-
Usage: `/maxsim:audit-milestone`
|
|
326
|
-
|
|
327
|
-
**`/maxsim:plan-milestone-gaps`**
|
|
328
|
-
Create phases to close gaps identified by audit.
|
|
329
|
-
|
|
330
|
-
- Reads MILESTONE-AUDIT.md and groups gaps into phases
|
|
331
|
-
- Prioritizes by requirement priority (must/should/nice)
|
|
332
|
-
- Adds gap closure phases to ROADMAP.md
|
|
333
|
-
- Ready for `/maxsim:plan-phase` on new phases
|
|
334
|
-
|
|
335
|
-
Usage: `/maxsim:plan-milestone-gaps`
|
|
336
|
-
|
|
337
|
-
### Configuration
|
|
338
|
-
|
|
339
|
-
**`/maxsim:settings`**
|
|
340
|
-
Configure workflow toggles and model profile interactively.
|
|
341
|
-
|
|
342
|
-
- Toggle researcher, plan checker, verifier agents
|
|
343
|
-
- Select model profile (quality/balanced/budget)
|
|
132
|
+
- Model profile: quality, balanced, or budget
|
|
133
|
+
- Toggle agents: researcher, plan checker, verifier
|
|
134
|
+
- Branching strategy configuration
|
|
344
135
|
- Updates `.planning/config.json`
|
|
345
136
|
|
|
346
137
|
Usage: `/maxsim:settings`
|
|
347
138
|
|
|
348
|
-
|
|
349
|
-
Quick switch model profile for MAXSIM agents.
|
|
139
|
+
---
|
|
350
140
|
|
|
351
|
-
|
|
352
|
-
- `balanced` — Opus for planning, Sonnet for execution (default)
|
|
353
|
-
- `budget` — Sonnet for writing, Haiku for research/verification
|
|
141
|
+
### /maxsim:help
|
|
354
142
|
|
|
355
|
-
Usage: `/maxsim:set-profile budget`
|
|
356
|
-
|
|
357
|
-
### Utility Commands
|
|
358
|
-
|
|
359
|
-
**`/maxsim:cleanup`**
|
|
360
|
-
Archive accumulated phase directories from completed milestones.
|
|
361
|
-
|
|
362
|
-
- Identifies phases from completed milestones still in `.planning/phases/`
|
|
363
|
-
- Shows dry-run summary before moving anything
|
|
364
|
-
- Moves phase dirs to `.planning/milestones/v{X.Y}-phases/`
|
|
365
|
-
- Use after multiple milestones to reduce `.planning/phases/` clutter
|
|
366
|
-
|
|
367
|
-
Usage: `/maxsim:cleanup`
|
|
368
|
-
|
|
369
|
-
**`/maxsim:help`**
|
|
370
143
|
Show this command reference.
|
|
371
144
|
|
|
372
|
-
|
|
373
|
-
Update MAXSIM to latest version with changelog preview.
|
|
374
|
-
|
|
375
|
-
- Shows installed vs latest version comparison
|
|
376
|
-
- Displays changelog entries for versions you've missed
|
|
377
|
-
- Highlights breaking changes
|
|
378
|
-
- Confirms before running install
|
|
379
|
-
- Better than raw `npx maxsimcli`
|
|
145
|
+
Usage: `/maxsim:help`
|
|
380
146
|
|
|
381
|
-
|
|
147
|
+
---
|
|
382
148
|
|
|
383
|
-
##
|
|
149
|
+
## Plan Flow
|
|
384
150
|
|
|
385
151
|
```
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
│ └── v1.0-phases/ # Archived phase dirs (via /maxsim:cleanup or --archive-phases)
|
|
403
|
-
│ ├── 01-foundation/
|
|
404
|
-
│ └── 02-core-features/
|
|
405
|
-
├── codebase/ # Codebase map (brownfield projects)
|
|
406
|
-
│ ├── STACK.md # Languages, frameworks, dependencies
|
|
407
|
-
│ ├── ARCHITECTURE.md # Patterns, layers, data flow
|
|
408
|
-
│ ├── STRUCTURE.md # Directory layout, key files
|
|
409
|
-
│ ├── CONVENTIONS.md # Coding standards, naming
|
|
410
|
-
│ ├── TESTING.md # Test setup, patterns
|
|
411
|
-
│ ├── INTEGRATIONS.md # External services, APIs
|
|
412
|
-
│ └── CONCERNS.md # Tech debt, known issues
|
|
413
|
-
└── phases/
|
|
414
|
-
├── 01-foundation/
|
|
415
|
-
│ ├── 01-01-PLAN.md
|
|
416
|
-
│ └── 01-01-SUMMARY.md
|
|
417
|
-
└── 02-core-features/
|
|
418
|
-
├── 02-01-PLAN.md
|
|
419
|
-
└── 02-01-SUMMARY.md
|
|
152
|
+
/maxsim:plan N
|
|
153
|
+
|
|
|
154
|
+
v
|
|
155
|
+
Discussion -- gather decisions via conversation
|
|
156
|
+
|
|
|
157
|
+
| Gate: "N decisions captured. Continue?"
|
|
158
|
+
v
|
|
159
|
+
Research -- spawn researcher agent
|
|
160
|
+
|
|
|
161
|
+
| Gate: "Research complete. Continue?"
|
|
162
|
+
v
|
|
163
|
+
Planning -- spawn planner agent
|
|
164
|
+
|
|
|
165
|
+
| Gate: "N plans in M waves. Ready?"
|
|
166
|
+
v
|
|
167
|
+
Done -- CONTEXT.md + RESEARCH.md + PLAN.md files created
|
|
420
168
|
```
|
|
421
169
|
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
Set during `/maxsim:new-project`:
|
|
425
|
-
|
|
426
|
-
**Interactive Mode**
|
|
427
|
-
|
|
428
|
-
- Confirms each major decision
|
|
429
|
-
- Pauses at checkpoints for approval
|
|
430
|
-
- More guidance throughout
|
|
431
|
-
|
|
432
|
-
**YOLO Mode**
|
|
433
|
-
|
|
434
|
-
- Auto-approves most decisions
|
|
435
|
-
- Executes plans without confirmation
|
|
436
|
-
- Only stops for critical checkpoints
|
|
170
|
+
**Artifacts produced at each stage:**
|
|
437
171
|
|
|
438
|
-
|
|
172
|
+
| Stage | Artifact | Contains |
|
|
173
|
+
|-------|----------|----------|
|
|
174
|
+
| Discussion | CONTEXT.md | Locked decisions, constraints, boundaries |
|
|
175
|
+
| Research | RESEARCH.md | Domain findings, patterns, recommendations |
|
|
176
|
+
| Planning | PLAN.md (1+) | Executable tasks with verification criteria |
|
|
439
177
|
|
|
440
|
-
|
|
178
|
+
**Re-entry:** Running `/maxsim:plan` on an already-planned phase shows status and offers options (view plans, re-plan, execute).
|
|
441
179
|
|
|
442
|
-
|
|
180
|
+
---
|
|
443
181
|
|
|
444
|
-
|
|
445
|
-
- `true`: Planning artifacts committed to git (standard workflow)
|
|
446
|
-
- `false`: Planning artifacts kept local-only, not committed
|
|
447
|
-
|
|
448
|
-
When `commit_docs: false`:
|
|
449
|
-
- Add `.planning/` to your `.gitignore`
|
|
450
|
-
- Useful for OSS contributions, client projects, or keeping planning private
|
|
451
|
-
- All planning files still work normally, just not tracked in git
|
|
452
|
-
|
|
453
|
-
**`planning.search_gitignored`** (default: `false`)
|
|
454
|
-
- `true`: Add `--no-ignore` to broad ripgrep searches
|
|
455
|
-
- Only needed when `.planning/` is gitignored and you want project-wide searches to include it
|
|
456
|
-
|
|
457
|
-
Example config:
|
|
458
|
-
```json
|
|
459
|
-
{
|
|
460
|
-
"planning": {
|
|
461
|
-
"commit_docs": false,
|
|
462
|
-
"search_gitignored": true
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
```
|
|
466
|
-
|
|
467
|
-
## Common Workflows
|
|
468
|
-
|
|
469
|
-
**Starting a new project:**
|
|
182
|
+
## Execute Flow
|
|
470
183
|
|
|
471
184
|
```
|
|
472
|
-
/maxsim:
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
185
|
+
/maxsim:execute N
|
|
186
|
+
|
|
|
187
|
+
v
|
|
188
|
+
Execute -- run plans in wave order
|
|
189
|
+
| (parallel within waves)
|
|
190
|
+
v
|
|
191
|
+
Verify -- spawn verifier agent
|
|
192
|
+
|
|
|
193
|
+
+--> PASS --> Phase complete!
|
|
194
|
+
|
|
|
195
|
+
+--> FAIL --> Retry (max 2)
|
|
196
|
+
|
|
|
197
|
+
v
|
|
198
|
+
Fix --> Re-verify
|
|
199
|
+
|
|
|
200
|
+
+--> PASS --> Done
|
|
201
|
+
+--> FAIL --> Report to user
|
|
477
202
|
```
|
|
478
203
|
|
|
479
|
-
**
|
|
204
|
+
**Wave execution:** Plans declare wave numbers in their frontmatter. All plans in wave 1 run first (in parallel), then wave 2, etc. This respects dependencies between plans.
|
|
480
205
|
|
|
481
|
-
|
|
482
|
-
/maxsim:progress # See where you left off and continue
|
|
483
|
-
```
|
|
484
|
-
|
|
485
|
-
**Adding urgent mid-milestone work:**
|
|
486
|
-
|
|
487
|
-
```
|
|
488
|
-
/maxsim:insert-phase 5 "Critical security fix"
|
|
489
|
-
/maxsim:plan-phase 5.1
|
|
490
|
-
/maxsim:execute-phase 5.1
|
|
491
|
-
```
|
|
206
|
+
---
|
|
492
207
|
|
|
493
|
-
|
|
208
|
+
## Project Structure
|
|
494
209
|
|
|
495
210
|
```
|
|
496
|
-
/
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
211
|
+
.planning/
|
|
212
|
+
PROJECT.md # Project vision and context
|
|
213
|
+
REQUIREMENTS.md # Scoped requirements with IDs
|
|
214
|
+
ROADMAP.md # Phase structure and progress
|
|
215
|
+
STATE.md # Project memory: decisions, blockers, metrics
|
|
216
|
+
config.json # Workflow preferences
|
|
217
|
+
phases/
|
|
218
|
+
01-foundation/
|
|
219
|
+
01-CONTEXT.md # Discussion decisions
|
|
220
|
+
01-RESEARCH.md # Domain research
|
|
221
|
+
01-01-PLAN.md # Execution plan
|
|
222
|
+
01-01-SUMMARY.md # Completion record
|
|
223
|
+
02-features/
|
|
224
|
+
...
|
|
225
|
+
debug/ # Active debug sessions
|
|
226
|
+
quick/ # Quick task plans and summaries
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
## Quick Reference
|
|
232
|
+
|
|
233
|
+
| Want to... | Run |
|
|
234
|
+
|------------|-----|
|
|
235
|
+
| Start a new project | `/maxsim:init` |
|
|
236
|
+
| Resume where you left off | `/maxsim:go` |
|
|
237
|
+
| Plan next phase | `/maxsim:plan` |
|
|
238
|
+
| Plan a specific phase | `/maxsim:plan N` |
|
|
239
|
+
| Execute a phase | `/maxsim:execute N` |
|
|
240
|
+
| Check progress | `/maxsim:progress` |
|
|
241
|
+
| Debug an issue | `/maxsim:debug description` |
|
|
242
|
+
| Quick ad-hoc task | `/maxsim:quick` |
|
|
243
|
+
| Change settings | `/maxsim:settings` |
|
|
244
|
+
| See this help | `/maxsim:help` |
|
|
245
|
+
|
|
246
|
+
---
|
|
502
247
|
|
|
503
|
-
|
|
504
|
-
/maxsim:add-todo # Capture from conversation context
|
|
505
|
-
/maxsim:add-todo Fix modal z-index # Capture with explicit description
|
|
506
|
-
/maxsim:check-todos # Review and work on todos
|
|
507
|
-
/maxsim:check-todos api # Filter by area
|
|
508
|
-
```
|
|
248
|
+
## Staying Updated
|
|
509
249
|
|
|
510
|
-
|
|
250
|
+
Update MAXSIM to the latest version:
|
|
511
251
|
|
|
252
|
+
```bash
|
|
253
|
+
npx maxsimcli@latest
|
|
512
254
|
```
|
|
513
|
-
/maxsim:debug "form submission fails silently" # Start debug session
|
|
514
|
-
# ... investigation happens, context fills up ...
|
|
515
|
-
/clear
|
|
516
|
-
/maxsim:debug # Resume from where you left off
|
|
517
|
-
```
|
|
518
|
-
|
|
519
|
-
## Getting Help
|
|
520
|
-
|
|
521
|
-
- Read `.planning/PROJECT.md` for project vision
|
|
522
|
-
- Read `.planning/STATE.md` for current context
|
|
523
|
-
- Check `.planning/ROADMAP.md` for phase status
|
|
524
|
-
- Run `/maxsim:progress` to check where you're up to
|
|
525
255
|
</reference>
|