maxsimcli 5.0.6 → 5.1.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 +316 -288
- package/dist/assets/CHANGELOG.md +14 -0
- package/dist/assets/hooks/maxsim-capture-learnings.cjs +128 -0
- package/dist/assets/hooks/maxsim-capture-learnings.cjs.map +1 -0
- package/dist/assets/hooks/maxsim-check-update.cjs +126 -88
- package/dist/assets/hooks/maxsim-check-update.cjs.map +1 -1
- package/dist/assets/hooks/maxsim-notification-sound.cjs +87 -43
- package/dist/assets/hooks/maxsim-notification-sound.cjs.map +1 -1
- package/dist/assets/hooks/maxsim-statusline.cjs +45 -171
- package/dist/assets/hooks/maxsim-statusline.cjs.map +1 -1
- package/dist/assets/hooks/maxsim-stop-sound.cjs +86 -43
- package/dist/assets/hooks/maxsim-stop-sound.cjs.map +1 -1
- package/dist/assets/hooks/maxsim-sync-reminder.cjs +72 -21
- package/dist/assets/hooks/maxsim-sync-reminder.cjs.map +1 -1
- package/dist/assets/templates/agents/AGENTS.md +62 -51
- package/dist/assets/templates/agents/executor.md +44 -59
- package/dist/assets/templates/agents/planner.md +36 -31
- package/dist/assets/templates/agents/researcher.md +35 -43
- package/dist/assets/templates/agents/verifier.md +29 -31
- package/dist/assets/templates/commands/maxsim/debug.md +20 -154
- package/dist/assets/templates/commands/maxsim/execute.md +19 -33
- package/dist/assets/templates/commands/maxsim/go.md +21 -20
- package/dist/assets/templates/commands/maxsim/help.md +5 -14
- package/dist/assets/templates/commands/maxsim/init.md +18 -40
- package/dist/assets/templates/commands/maxsim/plan.md +22 -37
- package/dist/assets/templates/commands/maxsim/progress.md +15 -16
- package/dist/assets/templates/commands/maxsim/quick.md +18 -29
- package/dist/assets/templates/commands/maxsim/settings.md +18 -26
- package/dist/assets/templates/references/continuation-format.md +2 -4
- package/dist/assets/templates/references/model-profiles.md +2 -2
- package/dist/assets/templates/references/planning-config.md +10 -11
- package/dist/assets/templates/references/self-improvement.md +120 -0
- package/dist/assets/templates/rules/conventions.md +1 -1
- package/dist/assets/templates/rules/verification-protocol.md +1 -1
- package/dist/assets/templates/skills/brainstorming/SKILL.md +35 -26
- package/dist/assets/templates/skills/code-review/SKILL.md +78 -55
- package/dist/assets/templates/skills/commit-conventions/SKILL.md +70 -36
- package/dist/assets/templates/skills/github-operations/SKILL.md +142 -0
- package/dist/assets/templates/skills/handoff-contract/SKILL.md +62 -28
- package/dist/assets/templates/skills/maxsim-batch/SKILL.md +68 -42
- package/dist/assets/templates/skills/maxsim-simplify/SKILL.md +65 -40
- package/dist/assets/templates/skills/project-memory/SKILL.md +121 -0
- package/dist/assets/templates/skills/research/SKILL.md +126 -0
- package/dist/assets/templates/skills/roadmap-writing/SKILL.md +71 -68
- package/dist/assets/templates/skills/systematic-debugging/SKILL.md +37 -25
- package/dist/assets/templates/skills/tdd/SKILL.md +36 -39
- package/dist/assets/templates/skills/using-maxsim/SKILL.md +69 -55
- package/dist/assets/templates/skills/verification/SKILL.md +167 -0
- package/dist/assets/templates/workflows/batch.md +249 -268
- package/dist/assets/templates/workflows/diagnose-issues.md +225 -151
- package/dist/assets/templates/workflows/execute-plan.md +191 -981
- package/dist/assets/templates/workflows/execute.md +350 -309
- package/dist/assets/templates/workflows/go.md +119 -138
- package/dist/assets/templates/workflows/health.md +71 -114
- package/dist/assets/templates/workflows/help.md +85 -147
- package/dist/assets/templates/workflows/init-existing.md +180 -1373
- package/dist/assets/templates/workflows/init.md +53 -165
- package/dist/assets/templates/workflows/new-milestone.md +91 -334
- package/dist/assets/templates/workflows/new-project.md +165 -1384
- package/dist/assets/templates/workflows/plan-create.md +182 -73
- package/dist/assets/templates/workflows/plan-discuss.md +89 -82
- package/dist/assets/templates/workflows/plan-research.md +191 -85
- package/dist/assets/templates/workflows/plan.md +122 -58
- package/dist/assets/templates/workflows/progress.md +76 -310
- package/dist/assets/templates/workflows/quick.md +70 -495
- package/dist/assets/templates/workflows/sdd.md +231 -221
- package/dist/assets/templates/workflows/settings.md +90 -120
- package/dist/assets/templates/workflows/verify-phase.md +296 -258
- package/dist/cli.cjs +17 -23465
- package/dist/cli.cjs.map +1 -1
- package/dist/install.cjs +356 -8358
- package/dist/install.cjs.map +1 -1
- package/package.json +16 -22
- package/dist/assets/templates/skills/agent-system-map/SKILL.md +0 -92
- package/dist/assets/templates/skills/evidence-collection/SKILL.md +0 -87
- package/dist/assets/templates/skills/github-artifact-protocol/SKILL.md +0 -67
- package/dist/assets/templates/skills/github-tools-guide/SKILL.md +0 -89
- package/dist/assets/templates/skills/input-validation/SKILL.md +0 -51
- package/dist/assets/templates/skills/memory-management/SKILL.md +0 -75
- package/dist/assets/templates/skills/research-methodology/SKILL.md +0 -137
- package/dist/assets/templates/skills/sdd/SKILL.md +0 -91
- package/dist/assets/templates/skills/tool-priority-guide/SKILL.md +0 -80
- package/dist/assets/templates/skills/verification-before-completion/SKILL.md +0 -71
- package/dist/assets/templates/skills/verification-gates/SKILL.md +0 -169
- package/dist/assets/templates/workflows/discuss-phase.md +0 -683
- package/dist/assets/templates/workflows/research-phase.md +0 -73
- package/dist/assets/templates/workflows/verify-work.md +0 -572
- package/dist/core-D5zUr9cb.cjs +0 -4305
- package/dist/core-D5zUr9cb.cjs.map +0 -1
- package/dist/skills-CjFWZIGM.cjs +0 -6824
- package/dist/skills-CjFWZIGM.cjs.map +0 -1
|
@@ -1,379 +1,145 @@
|
|
|
1
1
|
<purpose>
|
|
2
|
-
|
|
2
|
+
Show project status from GitHub Issues (sole source of truth) and recommend the next action based on live board state.
|
|
3
3
|
</purpose>
|
|
4
4
|
|
|
5
|
-
<required_reading>
|
|
6
|
-
Read all files referenced by the invoking prompt's execution_context before starting.
|
|
7
|
-
</required_reading>
|
|
8
|
-
|
|
9
5
|
<process>
|
|
10
6
|
|
|
11
|
-
|
|
12
|
-
**Load progress context (paths only):**
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
INIT=$(node ~/.claude/maxsim/bin/maxsim-tools.cjs init progress)
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
Extract from init JSON: `project_exists`, `roadmap_exists`, `state_exists`, `phases`, `current_phase`, `next_phase`, `milestone_version`, `completed_count`, `phase_count`, `paused_at`, `state_path`, `roadmap_path`, `project_path`, `config_path`.
|
|
19
|
-
|
|
20
|
-
If `project_exists` is false (no `.planning/` directory):
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
No planning structure found.
|
|
24
|
-
|
|
25
|
-
Run /maxsim:init to start a new project.
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Exit.
|
|
29
|
-
|
|
30
|
-
If missing STATE.md: suggest `/maxsim:init`.
|
|
31
|
-
|
|
32
|
-
**If ROADMAP.md missing but PROJECT.md exists:**
|
|
33
|
-
|
|
34
|
-
This means a milestone was completed and archived. Go to **Route F** (between milestones).
|
|
35
|
-
|
|
36
|
-
If missing both ROADMAP.md and PROJECT.md: suggest `/maxsim:init`.
|
|
37
|
-
</step>
|
|
38
|
-
|
|
39
|
-
<step name="load">
|
|
40
|
-
**Load local project context (always from local files per WIRE-02):**
|
|
41
|
-
|
|
42
|
-
Use targeted tools to get data needed for the report:
|
|
43
|
-
- `STATE=$(node ~/.claude/maxsim/bin/maxsim-tools.cjs state-snapshot)`
|
|
44
|
-
|
|
45
|
-
Read local files for project context:
|
|
46
|
-
- `.planning/config.json` — model profile, workflow flags
|
|
47
|
-
- `.planning/PROJECT.md` — project name and vision
|
|
48
|
-
- `.planning/REQUIREMENTS.md` — requirements context
|
|
49
|
-
- `.planning/STATE.md` — decisions, blockers, metrics
|
|
50
|
-
|
|
51
|
-
This minimizes orchestrator context usage.
|
|
52
|
-
</step>
|
|
53
|
-
|
|
54
|
-
<step name="live_github_phase_overview">
|
|
55
|
-
**Get live phase status from GitHub (primary source — always-live, no cached state):**
|
|
56
|
-
|
|
57
|
-
Run `github all-progress` to get progress for all phases. This returns live data from GitHub Issues:
|
|
58
|
-
|
|
59
|
-
```bash
|
|
60
|
-
node ~/.claude/maxsim/bin/maxsim-tools.cjs github all-progress
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
Returns: `phase_number`, `title`, `issue_number`, `total_tasks`, `completed_tasks`, `remaining_tasks`, `status` (the GitHub board column: To Do / In Progress / In Review / Done)
|
|
64
|
-
|
|
65
|
-
Display as formatted table:
|
|
66
|
-
|
|
67
|
-
```
|
|
68
|
-
## GitHub Issues Progress (Live)
|
|
69
|
-
|
|
70
|
-
| Phase | Title | Issue | Completed | Total | Remaining | Status |
|
|
71
|
-
|-------|-------|-------|-----------|-------|-----------|--------|
|
|
72
|
-
| 01 | ... | #12 | 3 | 5 | 2 | In Progress |
|
|
73
|
-
| 02 | ... | #13 | 0 | 4 | 4 | To Do |
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
**Also get board column view:**
|
|
77
|
-
|
|
78
|
-
Run `github query-board` with the project number (from init context / config). Group items by status column (To Do, In Progress, In Review, Done). Display column counts and issue details:
|
|
7
|
+
## Step 1: Query GitHub Project Board
|
|
79
8
|
|
|
80
9
|
```bash
|
|
81
|
-
node ~/.claude/maxsim/bin/maxsim-tools.cjs github
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
```
|
|
85
|
-
## Board Status (Live)
|
|
86
|
-
|
|
87
|
-
| Column | Count | Issues |
|
|
88
|
-
|-------------|-------|--------|
|
|
89
|
-
| To Do | 2 | #13, #14 |
|
|
90
|
-
| In Progress | 1 | #12 |
|
|
91
|
-
| In Review | 0 | — |
|
|
92
|
-
| Done | 3 | #9, #10, #11 |
|
|
10
|
+
node ~/.claude/maxsim/bin/maxsim-tools.cjs github status
|
|
93
11
|
```
|
|
94
12
|
|
|
95
|
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
|
|
13
|
+
Parse JSON response for:
|
|
14
|
+
- `project_name` — project title
|
|
15
|
+
- `phases[]` — array of `{ number, title, issue_number, status, tasks_total, tasks_done }`
|
|
16
|
+
- `milestone` — `{ title, due_date, open_issues, closed_issues }`
|
|
17
|
+
- `blockers[]` — open issues with label "type:blocker" or "type:bug"
|
|
99
18
|
|
|
100
|
-
|
|
101
|
-
**Per-phase detail (when user requests or for current phase):**
|
|
19
|
+
If the command fails (GitHub unreachable), display:
|
|
102
20
|
|
|
103
|
-
For the current active phase (or any phase requested by user):
|
|
104
|
-
- Run `github phase-progress` with the phase issue number to get task-level progress
|
|
105
|
-
- Run `github list-sub-issues` to get individual task status with sub-issue details
|
|
106
|
-
- Display task breakdown with status indicators (✓ done / ⏳ in progress / ○ to do)
|
|
107
|
-
|
|
108
|
-
```bash
|
|
109
|
-
node ~/.claude/maxsim/bin/maxsim-tools.cjs github phase-progress --phase-issue-number N
|
|
110
|
-
node ~/.claude/maxsim/bin/maxsim-tools.cjs github list-sub-issues --phase-issue-number N
|
|
111
21
|
```
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
After reading phase data from GitHub, run `github detect-external-edits` for each phase with the stored `body_hash`. Warn in the Issues Detected section if modifications were detected outside the normal workflow.
|
|
116
|
-
|
|
117
|
-
```bash
|
|
118
|
-
node ~/.claude/maxsim/bin/maxsim-tools.cjs github detect-external-edits --phase-number "XX"
|
|
22
|
+
GitHub is unavailable. Cannot show progress.
|
|
23
|
+
Run: gh auth status — to check authentication
|
|
119
24
|
```
|
|
120
|
-
</step>
|
|
121
25
|
|
|
122
|
-
|
|
123
|
-
**Parse current position from init context and live GitHub data:**
|
|
26
|
+
Stop. Do not fall back to local files.
|
|
124
27
|
|
|
125
|
-
|
|
126
|
-
- Note `paused_at` if work was paused (from `$STATE`)
|
|
127
|
-
- Check for interrupted phases via `github detect-interrupted`
|
|
28
|
+
---
|
|
128
29
|
|
|
129
|
-
|
|
130
|
-
node ~/.claude/maxsim/bin/maxsim-tools.cjs github detect-interrupted --phase-issue-number N
|
|
131
|
-
```
|
|
132
|
-
</step>
|
|
30
|
+
## Step 2: Get milestone progress
|
|
133
31
|
|
|
134
|
-
|
|
135
|
-
**Generate progress bar from maxsim-tools, then present rich status report:**
|
|
32
|
+
Calculate from phases:
|
|
136
33
|
|
|
137
|
-
```bash
|
|
138
|
-
# Get formatted progress bar (local computation)
|
|
139
|
-
PROGRESS_BAR=$(node ~/.claude/maxsim/bin/maxsim-tools.cjs progress phase-bars --raw)
|
|
140
34
|
```
|
|
35
|
+
total_phases = phases.length
|
|
36
|
+
done_phases = phases where status == "Done"
|
|
37
|
+
overall_pct = (done_phases / total_phases) * 100
|
|
141
38
|
|
|
142
|
-
|
|
143
|
-
|
|
39
|
+
milestone_open = milestone.open_issues
|
|
40
|
+
milestone_closed = milestone.closed_issues
|
|
41
|
+
milestone_pct = (milestone_closed / (milestone_open + milestone_closed)) * 100
|
|
144
42
|
```
|
|
145
|
-
# [Project Name]
|
|
146
|
-
|
|
147
|
-
**Progress:** {PROGRESS_BAR}
|
|
148
|
-
**Profile:** [quality/balanced/budget]
|
|
149
|
-
|
|
150
|
-
## GitHub Issues Progress (Live)
|
|
151
|
-
[formatted table from github all-progress — see live_github_phase_overview step]
|
|
152
|
-
|
|
153
|
-
## Board Status (Live)
|
|
154
|
-
[column view from github query-board — see live_github_phase_overview step]
|
|
155
|
-
|
|
156
|
-
## Current Position
|
|
157
|
-
Phase [N] of [total]: [phase-name]
|
|
158
|
-
GitHub Status: [board column from live data]
|
|
159
|
-
CONTEXT: [✓ if has_context | - if not]
|
|
160
|
-
|
|
161
|
-
## Key Decisions Made
|
|
162
|
-
- [extract from $STATE.decisions[]]
|
|
163
|
-
- [e.g. jq -r '.decisions[].decision' from state-snapshot]
|
|
164
43
|
|
|
165
|
-
|
|
166
|
-
- [extract from $STATE.blockers[]]
|
|
167
|
-
- [e.g. jq -r '.blockers[].text' from state-snapshot]
|
|
44
|
+
---
|
|
168
45
|
|
|
169
|
-
##
|
|
170
|
-
(Only show if gaps found during analysis)
|
|
171
|
-
- Phase [N]: [issue description, e.g., "External edit detected — body_hash mismatch"]
|
|
172
|
-
- Phase [M]: [issue description, e.g., "Local: complete, GitHub: In Progress — discrepancy"]
|
|
46
|
+
## Step 3: Display summary
|
|
173
47
|
|
|
174
|
-
## What's Next
|
|
175
|
-
[Next phase/plan objective from live GitHub data and local roadmap]
|
|
176
48
|
```
|
|
49
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
50
|
+
MAXSIM ► $project_name
|
|
51
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
177
52
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
When displaying the performance metrics table from STATE.md (the `## Performance Metrics` section):
|
|
181
|
-
- Show only the **last 20 entries** (most recent) by default.
|
|
182
|
-
- If there are more than 20 metric entries in STATE.md, add a note above the table: `Showing last 20 of {total} metrics entries.`
|
|
183
|
-
- This is a **display-time truncation only** — STATE.md retains all metrics as the source of truth. Do not modify or remove older entries from STATE.md.
|
|
184
|
-
- If there are 20 or fewer entries, show all without any truncation note.
|
|
53
|
+
Overall: [$overall_pct%] $done_phases of $total_phases phases complete
|
|
185
54
|
|
|
186
|
-
|
|
55
|
+
## Phases
|
|
187
56
|
|
|
188
|
-
|
|
189
|
-
|
|
57
|
+
| # | Title | Issue | Status | Tasks |
|
|
58
|
+
|---|-------|-------|--------|-------|
|
|
59
|
+
| 01 | [name] | #12 | Done | 5/5 |
|
|
60
|
+
| 02 | [name] | #13 | In Progress | 3/5 |
|
|
61
|
+
| 03 | [name] | #14 | To Do | 0/4 |
|
|
190
62
|
|
|
191
|
-
|
|
63
|
+
## Milestone: $milestone.title
|
|
192
64
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
- Phases with status "To Do" (not yet started)
|
|
196
|
-
- Phases with status "Done"
|
|
65
|
+
Completion: $milestone_pct% ($milestone_closed closed / $milestone_open open)
|
|
66
|
+
Due: $milestone.due_date (or "No due date")
|
|
197
67
|
|
|
198
|
-
|
|
68
|
+
## Blockers
|
|
199
69
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
```bash
|
|
203
|
-
node ~/.claude/maxsim/bin/maxsim-tools.cjs github detect-interrupted --phase-issue-number N
|
|
70
|
+
[List each item from blockers[] as: - #N: title]
|
|
71
|
+
(If empty: "None")
|
|
204
72
|
```
|
|
205
73
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
| Condition | Meaning | Action |
|
|
209
|
-
|-----------|---------|--------|
|
|
210
|
-
| Interrupted phase detected | Work was cut off | Go to **Route A** (resume) |
|
|
211
|
-
| Phase "In Progress" with remaining tasks | Unfinished execution | Go to **Route A** (continue) |
|
|
212
|
-
| Phase "To Do" | Phase not yet started | Go to **Route B** |
|
|
213
|
-
| All phases "Done" | Milestone complete | Go to **Route D** |
|
|
214
|
-
|
|
215
|
-
---
|
|
216
|
-
|
|
217
|
-
**Route A: Phase in progress or interrupted — continue execution**
|
|
218
|
-
|
|
219
|
-
Identify the in-progress or interrupted phase (from `github all-progress` or `github detect-interrupted`).
|
|
74
|
+
Board column breakdown (from `github status` output):
|
|
220
75
|
|
|
221
76
|
```
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
`/maxsim:execute {phase}`
|
|
229
|
-
|
|
230
|
-
<sub>`/clear` first → fresh context window</sub>
|
|
231
|
-
|
|
232
|
-
---
|
|
77
|
+
| Column | Count |
|
|
78
|
+
|-------------|-------|
|
|
79
|
+
| To Do | N |
|
|
80
|
+
| In Progress | N |
|
|
81
|
+
| In Review | N |
|
|
82
|
+
| Done | N |
|
|
233
83
|
```
|
|
234
84
|
|
|
235
85
|
---
|
|
236
86
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
Check if a `<!-- maxsim:type=context -->` comment exists on the phase GitHub Issue.
|
|
87
|
+
## Step 4: Recommend next action
|
|
240
88
|
|
|
241
|
-
|
|
89
|
+
Evaluate phase statuses in order:
|
|
242
90
|
|
|
91
|
+
**If any phase is "In Progress":**
|
|
243
92
|
```
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
## ▶ Next Up
|
|
93
|
+
## Next Action
|
|
247
94
|
|
|
248
|
-
|
|
249
|
-
<sub>✓ Context gathered, ready to plan</sub>
|
|
95
|
+
Phase [N] — [Title] is in progress.
|
|
250
96
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
<sub>`/clear` first → fresh context window</sub>
|
|
254
|
-
|
|
255
|
-
---
|
|
97
|
+
/maxsim:execute [N] — continue execution
|
|
98
|
+
/maxsim:plan [N] — review or revise plans
|
|
256
99
|
```
|
|
257
100
|
|
|
258
|
-
**If
|
|
259
|
-
|
|
101
|
+
**If all phases are "To Do" (nothing started):**
|
|
260
102
|
```
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
## ▶ Next Up
|
|
264
|
-
|
|
265
|
-
**Phase {N}: {Name}** — {Goal from ROADMAP.md}
|
|
266
|
-
<sub>No context comment yet — /maxsim:plan will start with discussion</sub>
|
|
103
|
+
## Next Action
|
|
267
104
|
|
|
268
|
-
|
|
105
|
+
No phases started yet.
|
|
269
106
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
---
|
|
107
|
+
/maxsim:plan 1 — begin planning the first phase
|
|
273
108
|
```
|
|
274
109
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
**Route C: Phase complete, more phases remain**
|
|
278
|
-
|
|
279
|
-
Read ROADMAP.md to get the next phase's name and goal.
|
|
280
|
-
|
|
110
|
+
**If first unstarted phase exists (some phases Done, next is To Do):**
|
|
281
111
|
```
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
## ✓ Phase {Z} Complete
|
|
285
|
-
|
|
286
|
-
## ▶ Next Up
|
|
287
|
-
|
|
288
|
-
**Phase {Z+1}: {Name}** — {Goal from ROADMAP.md}
|
|
112
|
+
## Next Action
|
|
289
113
|
|
|
290
|
-
|
|
114
|
+
Phase [N] — [Title] is next.
|
|
291
115
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
---
|
|
116
|
+
/maxsim:plan [N] — plan this phase
|
|
295
117
|
```
|
|
296
118
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
**Route D: Milestone complete**
|
|
300
|
-
|
|
301
|
-
All phases are "Done" on the GitHub board. Offer milestone completion interactively:
|
|
302
|
-
|
|
119
|
+
**If all phases are "Done":**
|
|
303
120
|
```
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
## Milestone Complete!
|
|
121
|
+
## Next Action
|
|
307
122
|
|
|
308
|
-
All
|
|
123
|
+
All phases complete! Ready to wrap up the milestone.
|
|
309
124
|
|
|
310
|
-
|
|
311
|
-
2. Start new milestone → `/maxsim:init` (starts new milestone flow)
|
|
312
|
-
3. Just show me the progress (stay on this screen)
|
|
313
|
-
|
|
314
|
-
<sub>`/clear` first → fresh context window</sub>
|
|
315
|
-
|
|
316
|
-
---
|
|
125
|
+
/maxsim:init — close milestone and start the next
|
|
317
126
|
```
|
|
318
127
|
|
|
319
|
-
If
|
|
320
|
-
If user chooses option 3: display progress report only, no routing.
|
|
321
|
-
|
|
322
|
-
---
|
|
323
|
-
|
|
324
|
-
**Route F: Between milestones (ROADMAP.md missing, PROJECT.md exists)**
|
|
325
|
-
|
|
326
|
-
A milestone was completed and archived. Ready to start the next milestone cycle.
|
|
327
|
-
|
|
328
|
-
Read MILESTONES.md to find the last completed milestone version.
|
|
329
|
-
|
|
128
|
+
**If blockers exist:** Prepend to next-action section:
|
|
330
129
|
```
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
## ✓ Milestone v{X.Y} Complete
|
|
334
|
-
|
|
335
|
-
Ready to plan the next milestone.
|
|
336
|
-
|
|
337
|
-
## ▶ Next Up
|
|
338
|
-
|
|
339
|
-
**Start Next Milestone** — questioning → research → requirements → roadmap
|
|
130
|
+
## Blockers to Resolve First
|
|
340
131
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
<sub>`/clear` first → fresh context window</sub>
|
|
344
|
-
|
|
345
|
-
---
|
|
132
|
+
- #N: [title] — resolve before continuing
|
|
346
133
|
```
|
|
347
134
|
|
|
348
|
-
</step>
|
|
349
|
-
|
|
350
|
-
<step name="edge_cases">
|
|
351
|
-
**Handle edge cases:**
|
|
352
|
-
|
|
353
|
-
- Phase complete but next phase not planned → offer `/maxsim:plan [next]`
|
|
354
|
-
- All work complete → offer milestone completion via `/maxsim:init`
|
|
355
|
-
- Blockers present → highlight before offering to continue
|
|
356
|
-
- External edits detected → surface in Issues Detected section before routing
|
|
357
|
-
- Discrepancy between local ROADMAP and GitHub board → surface in Issues Detected (GitHub is authoritative)
|
|
358
|
-
- GitHub not available (CLI calls fail) → show error: "GitHub integration required for progress tracking. Run `/maxsim:init` to configure GitHub." Do NOT fall back to local file scanning.
|
|
359
|
-
</step>
|
|
360
|
-
|
|
361
135
|
</process>
|
|
362
136
|
|
|
363
137
|
<success_criteria>
|
|
364
|
-
|
|
365
|
-
- [ ]
|
|
366
|
-
- [ ]
|
|
367
|
-
- [ ]
|
|
368
|
-
- [ ]
|
|
369
|
-
- [ ]
|
|
370
|
-
- [ ]
|
|
371
|
-
|
|
372
|
-
- [ ] Current position clear with visual progress
|
|
373
|
-
- [ ] What's next clearly explained
|
|
374
|
-
- [ ] Smart routing: /maxsim:execute if in progress, /maxsim:plan if not started
|
|
375
|
-
- [ ] Milestone completion offered when all phases done
|
|
376
|
-
- [ ] User confirms before any action
|
|
377
|
-
- [ ] Seamless handoff to appropriate maxsim command
|
|
378
|
-
</success_criteria>
|
|
379
|
-
</output>
|
|
138
|
+
- [ ] GitHub project board queried via maxsim-tools (not local files)
|
|
139
|
+
- [ ] Overall progress percentage shown
|
|
140
|
+
- [ ] Phases displayed by status (To Do / In Progress / In Review / Done)
|
|
141
|
+
- [ ] Current milestone and its completion % shown
|
|
142
|
+
- [ ] Open blockers/bugs listed
|
|
143
|
+
- [ ] Next action recommended based on live board state
|
|
144
|
+
- [ ] Graceful error if GitHub is unavailable
|
|
145
|
+
</success_criteria>
|