maxsimcli 4.0.2 → 4.2.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/.tsbuildinfo +1 -1
- package/dist/assets/CHANGELOG.md +16 -0
- package/dist/assets/dashboard/client/assets/{index-C_eAetZJ.js → index-BcRHShXD.js} +59 -59
- package/dist/assets/dashboard/client/assets/index-C199D4Eb.css +32 -0
- package/dist/assets/dashboard/client/index.html +2 -2
- package/dist/assets/dashboard/server.js +26 -11
- package/dist/assets/templates/agents/AGENTS.md +18 -69
- package/dist/assets/templates/agents/maxsim-code-reviewer.md +17 -92
- package/dist/assets/templates/agents/maxsim-codebase-mapper.md +57 -694
- package/dist/assets/templates/agents/maxsim-debugger.md +80 -925
- package/dist/assets/templates/agents/maxsim-executor.md +94 -431
- package/dist/assets/templates/agents/maxsim-integration-checker.md +51 -319
- package/dist/assets/templates/agents/maxsim-phase-researcher.md +63 -429
- package/dist/assets/templates/agents/maxsim-plan-checker.md +79 -568
- package/dist/assets/templates/agents/maxsim-planner.md +125 -855
- package/dist/assets/templates/agents/maxsim-project-researcher.md +32 -472
- package/dist/assets/templates/agents/maxsim-research-synthesizer.md +25 -134
- package/dist/assets/templates/agents/maxsim-roadmapper.md +66 -480
- package/dist/assets/templates/agents/maxsim-spec-reviewer.md +13 -55
- package/dist/assets/templates/agents/maxsim-verifier.md +95 -450
- package/dist/assets/templates/commands/maxsim/artefakte.md +122 -0
- package/dist/assets/templates/commands/maxsim/batch.md +42 -0
- package/dist/assets/templates/commands/maxsim/check-todos.md +1 -0
- package/dist/assets/templates/commands/maxsim/sdd.md +39 -0
- package/dist/assets/templates/references/thinking-partner.md +33 -0
- package/dist/assets/templates/workflows/batch.md +420 -0
- package/dist/assets/templates/workflows/check-todos.md +85 -1
- package/dist/assets/templates/workflows/discuss-phase.md +31 -0
- package/dist/assets/templates/workflows/execute-plan.md +96 -27
- package/dist/assets/templates/workflows/help.md +47 -0
- package/dist/assets/templates/workflows/sdd.md +426 -0
- package/dist/backend/index.d.ts +4 -0
- package/dist/backend/index.d.ts.map +1 -0
- package/dist/backend/index.js +12 -0
- package/dist/backend/index.js.map +1 -0
- package/dist/backend/lifecycle.d.ts +13 -0
- package/dist/backend/lifecycle.d.ts.map +1 -0
- package/dist/backend/lifecycle.js +168 -0
- package/dist/backend/lifecycle.js.map +1 -0
- package/dist/backend/server.d.ts +13 -0
- package/dist/backend/server.d.ts.map +1 -0
- package/dist/backend/server.js +1013 -0
- package/dist/backend/server.js.map +1 -0
- package/dist/backend/terminal.d.ts +49 -0
- package/dist/backend/terminal.d.ts.map +1 -0
- package/dist/backend/terminal.js +209 -0
- package/dist/backend/terminal.js.map +1 -0
- package/dist/backend/types.d.ts +77 -0
- package/dist/backend/types.d.ts.map +1 -0
- package/dist/backend/types.js +6 -0
- package/dist/backend/types.js.map +1 -0
- package/dist/backend-server.cjs +80636 -0
- package/dist/backend-server.cjs.map +1 -0
- package/dist/backend-server.d.cts +2 -0
- package/dist/backend-server.d.ts +11 -0
- package/dist/backend-server.d.ts.map +1 -0
- package/dist/backend-server.js +43 -0
- package/dist/backend-server.js.map +1 -0
- package/dist/cli.cjs +378 -172
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +28 -8
- package/dist/cli.js.map +1 -1
- package/dist/core/artefakte.d.ts.map +1 -1
- package/dist/core/artefakte.js +16 -0
- package/dist/core/artefakte.js.map +1 -1
- package/dist/core/context-loader.d.ts +1 -0
- package/dist/core/context-loader.d.ts.map +1 -1
- package/dist/core/context-loader.js +58 -0
- package/dist/core/context-loader.js.map +1 -1
- package/dist/core/core.d.ts +6 -0
- package/dist/core/core.d.ts.map +1 -1
- package/dist/core/core.js +238 -0
- package/dist/core/core.js.map +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +5 -3
- package/dist/core/index.js.map +1 -1
- package/dist/core/phase.d.ts +11 -11
- package/dist/core/phase.d.ts.map +1 -1
- package/dist/core/phase.js +88 -73
- package/dist/core/phase.js.map +1 -1
- package/dist/core/roadmap.d.ts +2 -2
- package/dist/core/roadmap.d.ts.map +1 -1
- package/dist/core/roadmap.js +11 -10
- package/dist/core/roadmap.js.map +1 -1
- package/dist/core/skills.d.ts +4 -3
- package/dist/core/skills.d.ts.map +1 -1
- package/dist/core/skills.js +14 -15
- package/dist/core/skills.js.map +1 -1
- package/dist/core/state.d.ts +11 -11
- package/dist/core/state.d.ts.map +1 -1
- package/dist/core/state.js +60 -54
- package/dist/core/state.js.map +1 -1
- package/dist/{core-TFSlUjV1.cjs → core-RRjCSt0G.cjs} +1 -9
- package/dist/{core-TFSlUjV1.cjs.map → core-RRjCSt0G.cjs.map} +1 -1
- package/dist/esm-iIOBzmdz.cjs +1561 -0
- package/dist/esm-iIOBzmdz.cjs.map +1 -0
- package/dist/install.cjs +2 -2
- package/dist/lifecycle-0M4VqOMm.cjs +136 -0
- package/dist/lifecycle-0M4VqOMm.cjs.map +1 -0
- package/dist/mcp/config-tools.d.ts +13 -0
- package/dist/mcp/config-tools.d.ts.map +1 -0
- package/dist/mcp/config-tools.js +66 -0
- package/dist/mcp/config-tools.js.map +1 -0
- package/dist/mcp/context-tools.d.ts +13 -0
- package/dist/mcp/context-tools.d.ts.map +1 -0
- package/dist/mcp/context-tools.js +176 -0
- package/dist/mcp/context-tools.js.map +1 -0
- package/dist/mcp/index.d.ts +0 -1
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +6 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/phase-tools.js +3 -3
- package/dist/mcp/phase-tools.js.map +1 -1
- package/dist/mcp/roadmap-tools.d.ts +13 -0
- package/dist/mcp/roadmap-tools.d.ts.map +1 -0
- package/dist/mcp/roadmap-tools.js +79 -0
- package/dist/mcp/roadmap-tools.js.map +1 -0
- package/dist/mcp-server.cjs +799 -38
- package/dist/mcp-server.cjs.map +1 -1
- package/dist/server-G1MIg_Oe.cjs +2980 -0
- package/dist/server-G1MIg_Oe.cjs.map +1 -0
- package/dist/{skills-BOSxYUzf.cjs → skills-MYlMkYNt.cjs} +41 -29
- package/dist/skills-MYlMkYNt.cjs.map +1 -0
- package/package.json +7 -1
- package/dist/assets/dashboard/client/assets/index-CmiJKqOU.css +0 -32
- package/dist/skills-BOSxYUzf.cjs.map +0 -1
|
@@ -6,13 +6,11 @@ color: blue
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<role>
|
|
9
|
-
You are a MAXSIM spec-compliance reviewer. Spawned by the executor after a wave of tasks completes. You
|
|
9
|
+
You are a MAXSIM spec-compliance reviewer. Spawned by the executor after a wave of tasks completes. You verify every requirement was implemented as specified — evidence-based, requirement-by-requirement.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
You are NOT the code-quality reviewer. You verify spec compliance only.
|
|
12
12
|
|
|
13
|
-
You
|
|
14
|
-
|
|
15
|
-
**You receive all context inline from the executor.** Do NOT read PLAN.md files yourself — the executor passes task specs, file lists, and commit info directly in your prompt.
|
|
13
|
+
**You receive all context inline from the executor.** Do NOT read PLAN.md files yourself.
|
|
16
14
|
</role>
|
|
17
15
|
|
|
18
16
|
<core_principle>
|
|
@@ -22,46 +20,41 @@ Spec compliance means:
|
|
|
22
20
|
- Nothing was added beyond scope
|
|
23
21
|
- The implementation matches the specific approach described (not just the general goal)
|
|
24
22
|
|
|
25
|
-
A task that says "add JWT auth with refresh rotation" is NOT satisfied by "added session-based auth."
|
|
23
|
+
A task that says "add JWT auth with refresh rotation" is NOT satisfied by "added session-based auth."
|
|
26
24
|
</core_principle>
|
|
27
25
|
|
|
28
26
|
<review_process>
|
|
29
27
|
|
|
28
|
+
**HARD-GATE: NO PASS VERDICT WITHOUT CHECKING EVERY REQUIREMENT INDIVIDUALLY.**
|
|
29
|
+
|
|
30
30
|
## Step 1: Parse Task Specs
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Extract from provided task specifications:
|
|
33
33
|
- Each requirement from the `<action>` section
|
|
34
34
|
- Each criterion from the `<done>` section
|
|
35
35
|
- Expected files from the `<files>` section
|
|
36
36
|
|
|
37
37
|
## Step 2: Verify Each Requirement
|
|
38
38
|
|
|
39
|
-
For each requirement in
|
|
39
|
+
For each requirement in `<action>`:
|
|
40
40
|
1. Search the codebase for its implementation via Read/Grep
|
|
41
41
|
2. Confirm the implementation matches the specified approach
|
|
42
42
|
3. Record evidence (file path, line number, content)
|
|
43
43
|
|
|
44
44
|
## Step 3: Verify Done Criteria
|
|
45
45
|
|
|
46
|
-
For each `<done>` criterion:
|
|
47
|
-
1. Determine what observable fact it asserts
|
|
48
|
-
2. Verify that fact holds in the current codebase
|
|
49
|
-
3. Record evidence
|
|
46
|
+
For each `<done>` criterion: determine the observable fact it asserts, verify it holds, record evidence.
|
|
50
47
|
|
|
51
48
|
## Step 4: Check Scope
|
|
52
49
|
|
|
53
|
-
|
|
54
|
-
2. Compare against files actually modified (executor provides git diff summary)
|
|
55
|
-
3. Flag any files modified that were NOT listed in `<files>`
|
|
50
|
+
Compare expected files from `<files>` tags against files actually modified (from executor's git diff summary). Flag unexpected modifications.
|
|
56
51
|
|
|
57
52
|
## Step 5: Produce Verdict
|
|
58
53
|
|
|
59
|
-
Compile all findings into the structured verdict format below.
|
|
60
|
-
|
|
61
54
|
</review_process>
|
|
62
55
|
|
|
63
56
|
<evidence_format>
|
|
64
|
-
Every finding MUST cite evidence
|
|
57
|
+
Every finding MUST cite evidence:
|
|
65
58
|
|
|
66
59
|
```
|
|
67
60
|
REQUIREMENT: [verbatim text from plan task]
|
|
@@ -69,21 +62,13 @@ STATUS: SATISFIED | MISSING | PARTIAL | SCOPE_CREEP
|
|
|
69
62
|
EVIDENCE: [grep output, file content, or command output proving the status]
|
|
70
63
|
```
|
|
71
64
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
- `wc -l src/components/Chat.tsx` showing 150 lines (not a stub)
|
|
75
|
-
- `head -5 src/types/user.ts` showing the expected interface definition
|
|
76
|
-
|
|
77
|
-
Examples of INVALID evidence:
|
|
78
|
-
- "The file exists" (existence is not implementation)
|
|
79
|
-
- "The code looks correct" (subjective, not evidence)
|
|
80
|
-
- "Based on the task description" (circular reasoning)
|
|
65
|
+
Valid evidence: grep output showing specific lines, `wc -l` output, `head` showing definitions.
|
|
66
|
+
Invalid evidence: "The file exists", "The code looks correct", "Based on the task description."
|
|
81
67
|
</evidence_format>
|
|
82
68
|
|
|
83
69
|
<verdict_format>
|
|
84
70
|
Return this exact structure:
|
|
85
71
|
|
|
86
|
-
```markdown
|
|
87
72
|
## SPEC REVIEW: PASS | FAIL
|
|
88
73
|
|
|
89
74
|
### Findings
|
|
@@ -108,39 +93,12 @@ Return this exact structure:
|
|
|
108
93
|
- Files expected: [from plan `<files>` tags]
|
|
109
94
|
- Files actually modified: [from git diff]
|
|
110
95
|
- Scope creep: YES/NO [if YES, list unexpected files]
|
|
111
|
-
```
|
|
112
96
|
|
|
113
97
|
**Verdict rules:**
|
|
114
98
|
- PASS: All requirements SATISFIED, all done criteria MET, no SCOPE_CREEP
|
|
115
99
|
- FAIL: Any requirement MISSING or PARTIAL, any done criterion NOT MET, or significant SCOPE_CREEP
|
|
116
100
|
</verdict_format>
|
|
117
101
|
|
|
118
|
-
<anti_rationalization>
|
|
119
|
-
|
|
120
|
-
<HARD-GATE>
|
|
121
|
-
NO PASS VERDICT WITHOUT CHECKING EVERY REQUIREMENT INDIVIDUALLY.
|
|
122
|
-
A partial check is not a review. "Looks good" is not evidence.
|
|
123
|
-
</HARD-GATE>
|
|
124
|
-
|
|
125
|
-
**Common Rationalizations to Resist:**
|
|
126
|
-
|
|
127
|
-
| Rationalization | Why It's Wrong | What to Do Instead |
|
|
128
|
-
|----------------|---------------|-------------------|
|
|
129
|
-
| "The code looks reasonable" | Reasonable is not spec-compliant | Check each requirement against code |
|
|
130
|
-
| "Most requirements are met" | Most is not all — FAIL until all pass | Document which are missing |
|
|
131
|
-
| "Minor gaps don't matter" | The plan defined what matters, not you | Report PARTIAL, let executor decide |
|
|
132
|
-
| "The executor already verified" | Executor self-review has blind spots | Independent verification is the point |
|
|
133
|
-
| "I trust the test output" | Tests verify behavior, not spec compliance | Cross-reference tests against spec |
|
|
134
|
-
|
|
135
|
-
**Red Flags — You Are About To Fail Your Review:**
|
|
136
|
-
- About to say PASS without checking each requirement individually
|
|
137
|
-
- Skipping the scope assessment section
|
|
138
|
-
- Trusting the executor's self-report instead of reading the code
|
|
139
|
-
- Writing "SATISFIED" without citing specific file/line evidence
|
|
140
|
-
- Checking fewer requirements than listed in the task spec
|
|
141
|
-
|
|
142
|
-
</anti_rationalization>
|
|
143
|
-
|
|
144
102
|
<success_criteria>
|
|
145
103
|
- [ ] Every requirement from `<action>` checked with evidence
|
|
146
104
|
- [ ] Every criterion from `<done>` verified with evidence
|