@polymorphism-tech/morph-spec 4.10.9 → 4.11.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.
Files changed (145) hide show
  1. package/CLAUDE.md +3 -3
  2. package/LICENSE +71 -71
  3. package/README.md +5 -11
  4. package/bin/morph-spec.js +23 -1
  5. package/bin/task-manager.js +5 -5
  6. package/claude-plugin.json +1 -1
  7. package/docs/CHEATSHEET.md +1 -1
  8. package/docs/QUICKSTART.md +2 -8
  9. package/framework/agents/README.md +14 -14
  10. package/framework/agents/architecture/standards-architect.md +159 -159
  11. package/framework/agents/frontend/css-specialist.md +1 -1
  12. package/framework/agents/infrastructure/azure-architect.md +149 -149
  13. package/framework/agents/infrastructure/azure-deploy-specialist.md +4 -4
  14. package/framework/agents/infrastructure/infra-architect.md +48 -48
  15. package/framework/commands/morph-apply.md +18 -18
  16. package/framework/commands/morph-preflight.md +3 -3
  17. package/framework/commands/morph-proposal.md +15 -15
  18. package/framework/commands/morph-status.md +3 -3
  19. package/framework/commands/morph-troubleshoot.md +1 -1
  20. package/framework/hooks/README.md +204 -204
  21. package/framework/hooks/claude-code/pre-tool-use/task-tracking-guard.js +2 -2
  22. package/framework/hooks/claude-code/session-start/inject-morph-context.js +1 -1
  23. package/framework/hooks/claude-code/teammate-idle/teammate-idle.js +3 -3
  24. package/framework/hooks/claude-code/user-prompt/enrich-prompt.js +2 -2
  25. package/framework/hooks/git/pre-commit/agents.sh +1 -1
  26. package/framework/hooks/shared/phase-utils.js +139 -139
  27. package/framework/rules/csharp-standards.md +13 -13
  28. package/framework/rules/frontend-standards.md +13 -13
  29. package/framework/rules/infrastructure-standards.md +16 -16
  30. package/framework/rules/testing-standards.md +14 -14
  31. package/framework/skills/level-0-meta/morph-brainstorming/SKILL.md +8 -8
  32. package/framework/skills/level-0-meta/morph-checklist/SKILL.md +3 -3
  33. package/framework/skills/level-0-meta/morph-code-review-nextjs/references/review-example-nextjs.md +254 -254
  34. package/framework/skills/level-0-meta/morph-frontend-review/SKILL.md +1 -1
  35. package/framework/skills/level-0-meta/morph-init/SKILL.md +11 -11
  36. package/framework/skills/level-0-meta/morph-post-implementation/SKILL.md +3 -3
  37. package/framework/skills/level-0-meta/morph-replicate/SKILL.md +1 -1
  38. package/framework/skills/level-0-meta/morph-simulation-checklist/SKILL.md +4 -4
  39. package/framework/skills/level-0-meta/morph-tool-usage-guide/references/tools-per-phase.md +25 -25
  40. package/framework/skills/level-0-meta/morph-verification-before-completion/SKILL.md +8 -8
  41. package/framework/skills/level-1-workflows/morph-phase-clarify/SKILL.md +7 -7
  42. package/framework/skills/level-1-workflows/morph-phase-codebase-analysis/SKILL.md +4 -4
  43. package/framework/skills/level-1-workflows/morph-phase-design/SKILL.md +23 -23
  44. package/framework/skills/level-1-workflows/morph-phase-design/references/architecture-analysis-guide.md +1 -1
  45. package/framework/skills/level-1-workflows/morph-phase-implement/.morph/logs/activity.json +38 -0
  46. package/framework/skills/level-1-workflows/morph-phase-implement/SKILL.md +29 -29
  47. package/framework/skills/level-1-workflows/morph-phase-implement/prompts/implementer-prompt.md +4 -4
  48. package/framework/skills/level-1-workflows/morph-phase-plan/SKILL.md +9 -9
  49. package/framework/skills/level-1-workflows/morph-phase-setup/SKILL.md +17 -17
  50. package/framework/skills/level-1-workflows/morph-phase-tasks/.morph/logs/activity.json +14 -0
  51. package/framework/skills/level-1-workflows/morph-phase-tasks/SKILL.md +12 -12
  52. package/framework/skills/level-1-workflows/morph-phase-uiux/SKILL.md +16 -16
  53. package/framework/skills/level-1-workflows/morph-scope-escalation/SKILL.md +5 -5
  54. package/framework/standards/STANDARDS.json +2338 -2041
  55. package/framework/standards/frontend/nextjs/nextjs-patterns.md +17 -17
  56. package/framework/standards/infrastructure/supabase/supabase-custom-jwt.md +206 -0
  57. package/framework/templates/.idea/morph-templates.xml +92 -0
  58. package/framework/templates/.vscode/morph-templates.code-snippets +186 -0
  59. package/framework/templates/README.md +814 -814
  60. package/framework/templates/code/dotnet/contracts/Commands.cs +74 -74
  61. package/framework/templates/code/dotnet/contracts/Entities.cs +25 -25
  62. package/framework/templates/code/dotnet/contracts/Queries.cs +74 -74
  63. package/framework/templates/code/dotnet/contracts/README.md +74 -74
  64. package/framework/templates/code/dotnet/contracts/api-contracts.cs +173 -173
  65. package/framework/templates/code/dotnet/frontend/component.razor +239 -239
  66. package/framework/templates/code/dotnet/jobs/agent.cs +163 -163
  67. package/framework/templates/code/dotnet/jobs/job.cs +171 -171
  68. package/framework/templates/code/dotnet/test.cs +239 -239
  69. package/framework/templates/code/sql/rls-policy.sql +57 -57
  70. package/framework/templates/code/sql/supabase-migration.sql +100 -100
  71. package/framework/templates/code/sql/supabase-migration.template.sql +113 -113
  72. package/framework/templates/code/typescript/contracts.ts +168 -168
  73. package/framework/templates/context/CONTEXT.md +181 -181
  74. package/framework/templates/docs/proposal.md +182 -182
  75. package/framework/templates/docs/user-stories.md +34 -34
  76. package/framework/templates/examples/design-system-examples.md +357 -357
  77. package/framework/templates/examples/spec-examples.md +90 -90
  78. package/framework/templates/feature/decisions.md +187 -187
  79. package/framework/templates/feature/recap.md +146 -146
  80. package/framework/templates/feature/tasks.md +199 -199
  81. package/framework/templates/infrastructure/azure/README.md +286 -286
  82. package/framework/templates/infrastructure/azure/deploy-checklist.md +426 -426
  83. package/framework/templates/infrastructure/azure/parameters.dev.json +29 -29
  84. package/framework/templates/infrastructure/azure/parameters.prod.json +29 -29
  85. package/framework/templates/infrastructure/azure/parameters.staging.json +29 -29
  86. package/framework/templates/infrastructure/docker/docker-compose.template.yml +67 -67
  87. package/framework/templates/infrastructure/docker/dockerfile-api.dockerfile +38 -38
  88. package/framework/templates/infrastructure/docker/dockerfile-web.dockerfile +48 -48
  89. package/framework/templates/infrastructure/docker/easypanel.template.json +54 -54
  90. package/framework/workflows/README.md +18 -18
  91. package/framework/workflows/docs/enforcement-pipeline.md +1 -1
  92. package/framework/workflows/docs/full-morph.md +2 -2
  93. package/package.json +1 -1
  94. package/src/commands/agents/dispatch-agents.js +17 -0
  95. package/src/commands/agents/index.js +13 -13
  96. package/src/commands/agents/project-metrics.js +74 -0
  97. package/src/commands/project/doctor.js +3 -4
  98. package/src/commands/project/install-plugin-cmd.js +28 -28
  99. package/src/commands/project/setup-infra-cmd.js +12 -12
  100. package/src/commands/project/status.js +8 -1
  101. package/src/commands/scope/escalate.js +5 -3
  102. package/src/commands/standards/context-budget.js +89 -0
  103. package/src/commands/tasks/index.js +4 -4
  104. package/src/commands/templates/index.js +5 -5
  105. package/src/commands/utils/index.js +3 -3
  106. package/src/commands/validation/index.js +4 -4
  107. package/src/commands/validation/validate-feature.js +32 -3
  108. package/src/core/state/phase-state-machine.js +217 -217
  109. package/src/lib/agents/metrics-aggregator.js +56 -0
  110. package/src/lib/generators/design-system-generator.js +298 -298
  111. package/src/lib/generators/index.js +10 -10
  112. package/src/lib/generators/metadata-extractor.js +387 -387
  113. package/src/lib/stack-filter.js +65 -65
  114. package/src/lib/standards/digest-builder.js +57 -3
  115. package/src/lib/standards/index.js +7 -7
  116. package/src/lib/standards/standards-context-injector.js +302 -302
  117. package/src/lib/validators/architecture/architecture-validator.js +387 -387
  118. package/src/lib/validators/architecture/index.js +7 -7
  119. package/src/lib/validators/blazor/blazor-concurrency-analyzer.js +316 -316
  120. package/src/lib/validators/blazor/blazor-state-validator.js +279 -279
  121. package/src/lib/validators/blazor/blazor-validator.js +369 -369
  122. package/src/lib/validators/blazor/index.js +9 -9
  123. package/src/lib/validators/content/content-validator.js +287 -287
  124. package/src/lib/validators/content/index.js +7 -7
  125. package/src/lib/validators/contracts/index.js +7 -7
  126. package/src/lib/validators/css/css-validator.js +352 -352
  127. package/src/lib/validators/css/index.js +7 -7
  128. package/src/lib/validators/design-system/design-system-validator.js +231 -231
  129. package/src/lib/validators/design-system/index.js +7 -7
  130. package/src/lib/validators/nextjs/index.js +6 -6
  131. package/src/lib/validators/nextjs/next-component-validator.js +183 -183
  132. package/src/lib/validators/packages/index.js +7 -7
  133. package/src/lib/validators/packages/package-validator.js +360 -360
  134. package/src/lib/validators/shared/index.js +12 -12
  135. package/src/lib/validators/shared/issue-counter.js +18 -18
  136. package/src/lib/validators/shared/result-formatter.js +124 -124
  137. package/src/lib/validators/ui/index.js +7 -7
  138. package/src/lib/validators/ui/ui-contrast-validator.js +422 -422
  139. package/src/scripts/global-install.js +112 -58
  140. package/src/scripts/install-plugin.js +126 -126
  141. package/src/utils/claude-md-injector.js +90 -90
  142. package/src/utils/file-copier.js +200 -200
  143. package/src/utils/logger.js +32 -32
  144. package/src/utils/skills-installer.js +178 -178
  145. package/src/utils/version-checker.js +169 -175
@@ -1,48 +1,48 @@
1
- ---
2
- name: infra-architect
3
- description: Infrastructure Squad Leader for cloud-agnostic infrastructure coordination. Use when planning deployments, provisioning any cloud resources, setting up CI/CD pipelines, containerizing applications, or designing infrastructure architecture regardless of cloud provider.
4
- allowed-tools: Read, Write, Edit, Bash, Glob, Grep
5
- stacks:
6
- - azure
7
- - docker
8
- ---
9
-
10
- # Infrastructure Squad Leader
11
-
12
- Cloud-agnostic infrastructure coordinator. Delegates to cloud-specific specialists.
13
-
14
- ## Responsabilidades
15
-
16
- 1. **Coordenar especialistas de infra** independente do cloud provider
17
- 2. **Decidir stack de infra** com base no config do projeto
18
- 3. **Garantir IaC** — tudo via código, nada manual
19
- 4. **CI/CD** — pipelines para todos os ambientes
20
-
21
- ## Quando ativar sub-especialistas
22
-
23
- | Cenário | Especialista |
24
- |---------|-------------|
25
- | Deploy em Azure | azure-architect |
26
- | Templates Bicep | bicep-architect (via azure-architect) |
27
- | Pipelines CI/CD | devops-engineer |
28
- | Docker / containers | container-specialist |
29
- | Logs / métricas | observability-expert |
30
- | Auth Microsoft/Entra | azure-identity (via azure-architect) |
31
-
32
- ## Princípio: Infrastructure as Code
33
-
34
- > Nunca criar recursos de infra manualmente. Toda infra via código (Bicep, Terraform, Pulumi, Compose).
35
-
36
- ## Checklist de Infra
37
-
38
- - [ ] Cloud provider definido em config.json
39
- - [ ] IaC templates criados e validados
40
- - [ ] Ambientes dev/staging/prod separados
41
- - [ ] Secrets nunca hardcoded
42
- - [ ] CI/CD pipeline configurado
43
- - [ ] Observability básica (logs + métricas)
44
- - [ ] Estimativa de custos documentada
45
-
46
- ---
47
-
48
- *MORPH-SPEC by Polymorphism Tech*
1
+ ---
2
+ name: infra-architect
3
+ description: Infrastructure Squad Leader for cloud-agnostic infrastructure coordination. Use when planning deployments, provisioning any cloud resources, setting up CI/CD pipelines, containerizing applications, or designing infrastructure architecture regardless of cloud provider.
4
+ allowed-tools: Read, Write, Edit, Bash, Glob, Grep
5
+ stacks:
6
+ - azure
7
+ - docker
8
+ ---
9
+
10
+ # Infrastructure Squad Leader
11
+
12
+ Cloud-agnostic infrastructure coordinator. Delegates to cloud-specific specialists.
13
+
14
+ ## Responsabilidades
15
+
16
+ 1. **Coordenar especialistas de infra** independente do cloud provider
17
+ 2. **Decidir stack de infra** com base no config do projeto
18
+ 3. **Garantir IaC** — tudo via código, nada manual
19
+ 4. **CI/CD** — pipelines para todos os ambientes
20
+
21
+ ## Quando ativar sub-especialistas
22
+
23
+ | Cenário | Especialista |
24
+ |---------|-------------|
25
+ | Deploy em Azure | azure-architect |
26
+ | Templates Bicep | bicep-architect (via azure-architect) |
27
+ | Pipelines CI/CD | devops-engineer |
28
+ | Docker / containers | container-specialist |
29
+ | Logs / métricas | observability-expert |
30
+ | Auth Microsoft/Entra | azure-identity (via azure-architect) |
31
+
32
+ ## Princípio: Infrastructure as Code
33
+
34
+ > Nunca criar recursos de infra manualmente. Toda infra via código (Bicep, Terraform, Pulumi, Compose).
35
+
36
+ ## Checklist de Infra
37
+
38
+ - [ ] Cloud provider definido em config.json
39
+ - [ ] IaC templates criados e validados
40
+ - [ ] Ambientes dev/staging/prod separados
41
+ - [ ] Secrets nunca hardcoded
42
+ - [ ] CI/CD pipeline configurado
43
+ - [ ] Observability básica (logs + métricas)
44
+ - [ ] Estimativa de custos documentada
45
+
46
+ ---
47
+
48
+ *MORPH-SPEC by Polymorphism Tech*
@@ -23,10 +23,10 @@ Implement the feature by executing its task breakdown, tracking progress through
23
23
  |--------|------|-------------|
24
24
  | Read spec, tasks, contracts | **Read** all outputs | — |
25
25
  | Detect architecture style | **Bash** `cat .morph/config/config.json \| grep architecture` | — |
26
- | Agent dispatch config | **Bash** `npx morph-spec dispatch-agents $ARGUMENTS implement` | — |
26
+ | Agent dispatch config | **Bash** `morph-spec dispatch-agents $ARGUMENTS implement` | — |
27
27
  | Parallel task execution | **Agent** subagent per task group | Sequential fallback |
28
28
  | Look up implementation patterns | **Context7 MCP** `query_docs()` | **WebSearch** |
29
- | Track progress | **Bash** `npx morph-spec state get $ARGUMENTS` | — |
29
+ | Track progress | **Bash** `morph-spec state get $ARGUMENTS` | — |
30
30
 
31
31
  ---
32
32
 
@@ -37,9 +37,9 @@ Before writing any code, verify all prior phases are complete. This gate prevent
37
37
  ### 1. Check state and approvals
38
38
 
39
39
  ```bash
40
- npx morph-spec state get $ARGUMENTS
41
- npx morph-spec approval-status $ARGUMENTS
42
- npx morph-spec validate-feature $ARGUMENTS
40
+ morph-spec state get $ARGUMENTS
41
+ morph-spec approval-status $ARGUMENTS
42
+ morph-spec validate-feature $ARGUMENTS
43
43
  ```
44
44
 
45
45
  **All three must pass.** If any fails:
@@ -87,13 +87,13 @@ cat .morph/config/config.json | grep -A3 '"architecture"'
87
87
  ### 4. Get agent dispatch config
88
88
 
89
89
  ```bash
90
- npx morph-spec dispatch-agents $ARGUMENTS implement --table
90
+ morph-spec dispatch-agents $ARGUMENTS implement --table
91
91
  ```
92
92
 
93
93
  This shows which agents are active for implementation and how tasks can be grouped. If agent teams are enabled and tasks have no dependencies between groups, consider dispatching parallel agents:
94
94
 
95
95
  ```bash
96
- npx morph-spec dispatch-agents $ARGUMENTS implement
96
+ morph-spec dispatch-agents $ARGUMENTS implement
97
97
  ```
98
98
 
99
99
  The JSON output includes `shouldDispatch`, `agents[]`, and `taskGroups` for multi-agent coordination.
@@ -105,7 +105,7 @@ The JSON output includes `shouldDispatch`, `agents[]`, and `taskGroups` for mult
105
105
  ### Step 1: Advance to implement phase
106
106
 
107
107
  ```bash
108
- npx morph-spec phase advance $ARGUMENTS
108
+ morph-spec phase advance $ARGUMENTS
109
109
  ```
110
110
 
111
111
  This validates phase eligibility and emits a SKILL DISPATCH block listing required skills for implementation (verification-before-completion, morph-checklist, etc.).
@@ -113,7 +113,7 @@ This validates phase eligibility and emits a SKILL DISPATCH block listing requir
113
113
  ### Step 2: Initialize state tracking
114
114
 
115
115
  ```bash
116
- npx morph-spec state set $ARGUMENTS tasks.total {N}
116
+ morph-spec state set $ARGUMENTS tasks.total {N}
117
117
  ```
118
118
 
119
119
  Where `{N}` is the number of tasks in tasks.md (e.g., 6 for T001-T006).
@@ -124,7 +124,7 @@ For each task in the breakdown, follow this cycle:
124
124
 
125
125
  ```bash
126
126
  # 1. Start the task (activates task-tracking guard)
127
- npx morph-spec task start $ARGUMENTS {task-id}
127
+ morph-spec task start $ARGUMENTS {task-id}
128
128
 
129
129
  # 2. Implement the task
130
130
  # - Follow spec.md and contracts
@@ -136,7 +136,7 @@ npx morph-spec task start $ARGUMENTS {task-id}
136
136
  # matches the spec and contracts before marking done
137
137
 
138
138
  # 4. Complete the task (triggers Tier-4 validators automatically)
139
- npx morph-spec task done $ARGUMENTS {task-id}
139
+ morph-spec task done $ARGUMENTS {task-id}
140
140
  ```
141
141
 
142
142
  **If validation fails on `task done`:**
@@ -153,8 +153,8 @@ If `dispatch-agents` identified parallelizable task groups and agent teams are e
153
153
  After every 3 completed tasks, save a checkpoint:
154
154
 
155
155
  ```bash
156
- npx morph-spec checkpoint-save $ARGUMENTS "after-T003"
157
- npx morph-spec state get $ARGUMENTS
156
+ morph-spec checkpoint-save $ARGUMENTS "after-T003"
157
+ morph-spec state get $ARGUMENTS
158
158
  ```
159
159
 
160
160
  Checkpoints validate architecture compliance, check package versions, scan for security issues, and save a restorable snapshot. The cadence is every 3 tasks — for 6 tasks: checkpoint after T003 and T006. For 10 tasks: after T003, T006, T009, and at completion.
@@ -162,7 +162,7 @@ Checkpoints validate architecture compliance, check package versions, scan for s
162
162
  After each checkpoint, check progress:
163
163
 
164
164
  ```bash
165
- npx morph-spec state list
165
+ morph-spec state list
166
166
  ```
167
167
 
168
168
  ### Step 5: Finalize implementation
@@ -171,16 +171,16 @@ After all tasks are complete:
171
171
 
172
172
  ```bash
173
173
  # Final validation
174
- npx morph-spec validate-feature $ARGUMENTS
174
+ morph-spec validate-feature $ARGUMENTS
175
175
 
176
176
  # Generate recap (auto-marks 'recap' output in state)
177
- npx morph-spec generate recap $ARGUMENTS
177
+ morph-spec generate recap $ARGUMENTS
178
178
 
179
179
  # Verify final state
180
- npx morph-spec state get $ARGUMENTS
180
+ morph-spec state get $ARGUMENTS
181
181
 
182
182
  # Advance to next phase
183
- npx morph-spec phase advance $ARGUMENTS
183
+ morph-spec phase advance $ARGUMENTS
184
184
  ```
185
185
 
186
186
  ### Step 6: Post-implementation review
@@ -26,9 +26,9 @@ These checks verify that the morph-spec workflow is complete for the feature bei
26
26
 
27
27
  ```bash
28
28
  # Verify implementation is complete
29
- npx morph-spec state get {feature}
30
- npx morph-spec approval-status {feature}
31
- npx morph-spec validate-feature {feature}
29
+ morph-spec state get {feature}
30
+ morph-spec approval-status {feature}
31
+ morph-spec validate-feature {feature}
32
32
  ```
33
33
 
34
34
  | Check | Command | Pass Criteria |
@@ -15,7 +15,7 @@ Guide a feature through the full planning pipeline (proposal through tasks) with
15
15
  Check if the feature already has state:
16
16
 
17
17
  ```bash
18
- npx morph-spec state get {feature-name}
18
+ morph-spec state get {feature-name}
19
19
  ```
20
20
 
21
21
  - **Exists:** Read the current phase and resume from where it stopped (skip completed phases)
@@ -40,7 +40,7 @@ Read `framework/agents.json` (or `.morph/framework/agents.json` in client projec
40
40
 
41
41
  Register each selected agent:
42
42
  ```bash
43
- npx morph-spec state add-agent {feature-name} {agent-id}
43
+ morph-spec state add-agent {feature-name} {agent-id}
44
44
  ```
45
45
 
46
46
  ### Step 3: Determine if UI/UX phase is needed
@@ -70,9 +70,9 @@ Fill every section of the template. In particular:
70
70
  ### Step 5: Register state
71
71
 
72
72
  ```bash
73
- npx morph-spec state init {feature-name}
74
- npx morph-spec state set {feature-name} status draft
75
- npx morph-spec state mark-output {feature-name} proposal
73
+ morph-spec state init {feature-name}
74
+ morph-spec state set {feature-name} status draft
75
+ morph-spec state mark-output {feature-name} proposal
76
76
  ```
77
77
 
78
78
  ### MANDATORY PAUSE
@@ -88,8 +88,8 @@ Options: Approve proposal / Request changes / Reject
88
88
 
89
89
  After approval:
90
90
  ```bash
91
- npx morph-spec approve {feature-name} proposal
92
- npx morph-spec phase advance {feature-name}
91
+ morph-spec approve {feature-name} proposal
92
+ morph-spec phase advance {feature-name}
93
93
  ```
94
94
 
95
95
  ---
@@ -112,8 +112,8 @@ Check if `ui-designer` is in `activeAgents`:
112
112
 
113
113
  After approval:
114
114
  ```bash
115
- npx morph-spec approve {feature-name} uiux
116
- npx morph-spec phase advance {feature-name}
115
+ morph-spec approve {feature-name} uiux
116
+ morph-spec phase advance {feature-name}
117
117
  ```
118
118
 
119
119
  ---
@@ -130,8 +130,8 @@ Present: spec, contracts, decisions, effort estimate. Use `AskUserQuestion` with
130
130
 
131
131
  After approval:
132
132
  ```bash
133
- npx morph-spec approve {feature-name} design
134
- npx morph-spec phase advance {feature-name}
133
+ morph-spec approve {feature-name} design
134
+ morph-spec phase advance {feature-name}
135
135
  ```
136
136
 
137
137
  ---
@@ -158,8 +158,8 @@ Present: implementation plan with recommended strategy. Use `AskUserQuestion` wi
158
158
 
159
159
  After approval:
160
160
  ```bash
161
- npx morph-spec approve {feature-name} plan
162
- npx morph-spec phase advance {feature-name}
161
+ morph-spec approve {feature-name} plan
162
+ morph-spec phase advance {feature-name}
163
163
  ```
164
164
 
165
165
  ---
@@ -176,8 +176,8 @@ Present: task breakdown, execution order, total estimate. Use `AskUserQuestion`
176
176
 
177
177
  After approval:
178
178
  ```bash
179
- npx morph-spec approve {feature-name} tasks
180
- npx morph-spec phase advance {feature-name}
179
+ morph-spec approve {feature-name} tasks
180
+ morph-spec phase advance {feature-name}
181
181
  ```
182
182
 
183
183
  ---
@@ -13,7 +13,7 @@ Show the current MORPH project status and features in development.
13
13
  **ALWAYS** use the state-manager CLI to get status:
14
14
 
15
15
  ```bash
16
- npx morph-spec state list
16
+ morph-spec state list
17
17
  ```
18
18
 
19
19
  This command automatically shows:
@@ -35,7 +35,7 @@ This command automatically shows:
35
35
  To get detailed JSON for a feature:
36
36
 
37
37
  ```bash
38
- npx morph-spec state get {feature-name}
38
+ morph-spec state get {feature-name}
39
39
  ```
40
40
 
41
41
  ### 3. Archived Features
@@ -51,7 +51,7 @@ Check `.morph/specs/` for consolidated specs.
51
51
 
52
52
  ## Output
53
53
 
54
- The `npx morph-spec state list` command automatically generates a formatted dashboard:
54
+ The `morph-spec state list` command automatically generates a formatted dashboard:
55
55
 
56
56
  ```
57
57
  ╔════════════════════════════════════════════════════════════════╗
@@ -72,7 +72,7 @@ site:learn.microsoft.com/azure {error}
72
72
  **WebSearch usage example:**
73
73
 
74
74
  If the user asks about a SignalR error:
75
- 1. First: `npx morph-spec troubleshoot SignalR connection`
75
+ 1. First: `morph-spec troubleshoot SignalR connection`
76
76
  2. If not found: WebSearch with `site:github.com/dotnet/aspnetcore SignalR connection closed`
77
77
  3. Return formatted relevant links
78
78