@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.
- package/CLAUDE.md +3 -3
- package/LICENSE +71 -71
- package/README.md +5 -11
- package/bin/morph-spec.js +23 -1
- package/bin/task-manager.js +5 -5
- package/claude-plugin.json +1 -1
- package/docs/CHEATSHEET.md +1 -1
- package/docs/QUICKSTART.md +2 -8
- package/framework/agents/README.md +14 -14
- package/framework/agents/architecture/standards-architect.md +159 -159
- package/framework/agents/frontend/css-specialist.md +1 -1
- package/framework/agents/infrastructure/azure-architect.md +149 -149
- package/framework/agents/infrastructure/azure-deploy-specialist.md +4 -4
- package/framework/agents/infrastructure/infra-architect.md +48 -48
- package/framework/commands/morph-apply.md +18 -18
- package/framework/commands/morph-preflight.md +3 -3
- package/framework/commands/morph-proposal.md +15 -15
- package/framework/commands/morph-status.md +3 -3
- package/framework/commands/morph-troubleshoot.md +1 -1
- package/framework/hooks/README.md +204 -204
- package/framework/hooks/claude-code/pre-tool-use/task-tracking-guard.js +2 -2
- package/framework/hooks/claude-code/session-start/inject-morph-context.js +1 -1
- package/framework/hooks/claude-code/teammate-idle/teammate-idle.js +3 -3
- package/framework/hooks/claude-code/user-prompt/enrich-prompt.js +2 -2
- package/framework/hooks/git/pre-commit/agents.sh +1 -1
- package/framework/hooks/shared/phase-utils.js +139 -139
- package/framework/rules/csharp-standards.md +13 -13
- package/framework/rules/frontend-standards.md +13 -13
- package/framework/rules/infrastructure-standards.md +16 -16
- package/framework/rules/testing-standards.md +14 -14
- package/framework/skills/level-0-meta/morph-brainstorming/SKILL.md +8 -8
- package/framework/skills/level-0-meta/morph-checklist/SKILL.md +3 -3
- package/framework/skills/level-0-meta/morph-code-review-nextjs/references/review-example-nextjs.md +254 -254
- package/framework/skills/level-0-meta/morph-frontend-review/SKILL.md +1 -1
- package/framework/skills/level-0-meta/morph-init/SKILL.md +11 -11
- package/framework/skills/level-0-meta/morph-post-implementation/SKILL.md +3 -3
- package/framework/skills/level-0-meta/morph-replicate/SKILL.md +1 -1
- package/framework/skills/level-0-meta/morph-simulation-checklist/SKILL.md +4 -4
- package/framework/skills/level-0-meta/morph-tool-usage-guide/references/tools-per-phase.md +25 -25
- package/framework/skills/level-0-meta/morph-verification-before-completion/SKILL.md +8 -8
- package/framework/skills/level-1-workflows/morph-phase-clarify/SKILL.md +7 -7
- package/framework/skills/level-1-workflows/morph-phase-codebase-analysis/SKILL.md +4 -4
- package/framework/skills/level-1-workflows/morph-phase-design/SKILL.md +23 -23
- package/framework/skills/level-1-workflows/morph-phase-design/references/architecture-analysis-guide.md +1 -1
- package/framework/skills/level-1-workflows/morph-phase-implement/.morph/logs/activity.json +38 -0
- package/framework/skills/level-1-workflows/morph-phase-implement/SKILL.md +29 -29
- package/framework/skills/level-1-workflows/morph-phase-implement/prompts/implementer-prompt.md +4 -4
- package/framework/skills/level-1-workflows/morph-phase-plan/SKILL.md +9 -9
- package/framework/skills/level-1-workflows/morph-phase-setup/SKILL.md +17 -17
- package/framework/skills/level-1-workflows/morph-phase-tasks/.morph/logs/activity.json +14 -0
- package/framework/skills/level-1-workflows/morph-phase-tasks/SKILL.md +12 -12
- package/framework/skills/level-1-workflows/morph-phase-uiux/SKILL.md +16 -16
- package/framework/skills/level-1-workflows/morph-scope-escalation/SKILL.md +5 -5
- package/framework/standards/STANDARDS.json +2338 -2041
- package/framework/standards/frontend/nextjs/nextjs-patterns.md +17 -17
- package/framework/standards/infrastructure/supabase/supabase-custom-jwt.md +206 -0
- package/framework/templates/.idea/morph-templates.xml +92 -0
- package/framework/templates/.vscode/morph-templates.code-snippets +186 -0
- package/framework/templates/README.md +814 -814
- package/framework/templates/code/dotnet/contracts/Commands.cs +74 -74
- package/framework/templates/code/dotnet/contracts/Entities.cs +25 -25
- package/framework/templates/code/dotnet/contracts/Queries.cs +74 -74
- package/framework/templates/code/dotnet/contracts/README.md +74 -74
- package/framework/templates/code/dotnet/contracts/api-contracts.cs +173 -173
- package/framework/templates/code/dotnet/frontend/component.razor +239 -239
- package/framework/templates/code/dotnet/jobs/agent.cs +163 -163
- package/framework/templates/code/dotnet/jobs/job.cs +171 -171
- package/framework/templates/code/dotnet/test.cs +239 -239
- package/framework/templates/code/sql/rls-policy.sql +57 -57
- package/framework/templates/code/sql/supabase-migration.sql +100 -100
- package/framework/templates/code/sql/supabase-migration.template.sql +113 -113
- package/framework/templates/code/typescript/contracts.ts +168 -168
- package/framework/templates/context/CONTEXT.md +181 -181
- package/framework/templates/docs/proposal.md +182 -182
- package/framework/templates/docs/user-stories.md +34 -34
- package/framework/templates/examples/design-system-examples.md +357 -357
- package/framework/templates/examples/spec-examples.md +90 -90
- package/framework/templates/feature/decisions.md +187 -187
- package/framework/templates/feature/recap.md +146 -146
- package/framework/templates/feature/tasks.md +199 -199
- package/framework/templates/infrastructure/azure/README.md +286 -286
- package/framework/templates/infrastructure/azure/deploy-checklist.md +426 -426
- package/framework/templates/infrastructure/azure/parameters.dev.json +29 -29
- package/framework/templates/infrastructure/azure/parameters.prod.json +29 -29
- package/framework/templates/infrastructure/azure/parameters.staging.json +29 -29
- package/framework/templates/infrastructure/docker/docker-compose.template.yml +67 -67
- package/framework/templates/infrastructure/docker/dockerfile-api.dockerfile +38 -38
- package/framework/templates/infrastructure/docker/dockerfile-web.dockerfile +48 -48
- package/framework/templates/infrastructure/docker/easypanel.template.json +54 -54
- package/framework/workflows/README.md +18 -18
- package/framework/workflows/docs/enforcement-pipeline.md +1 -1
- package/framework/workflows/docs/full-morph.md +2 -2
- package/package.json +1 -1
- package/src/commands/agents/dispatch-agents.js +17 -0
- package/src/commands/agents/index.js +13 -13
- package/src/commands/agents/project-metrics.js +74 -0
- package/src/commands/project/doctor.js +3 -4
- package/src/commands/project/install-plugin-cmd.js +28 -28
- package/src/commands/project/setup-infra-cmd.js +12 -12
- package/src/commands/project/status.js +8 -1
- package/src/commands/scope/escalate.js +5 -3
- package/src/commands/standards/context-budget.js +89 -0
- package/src/commands/tasks/index.js +4 -4
- package/src/commands/templates/index.js +5 -5
- package/src/commands/utils/index.js +3 -3
- package/src/commands/validation/index.js +4 -4
- package/src/commands/validation/validate-feature.js +32 -3
- package/src/core/state/phase-state-machine.js +217 -217
- package/src/lib/agents/metrics-aggregator.js +56 -0
- package/src/lib/generators/design-system-generator.js +298 -298
- package/src/lib/generators/index.js +10 -10
- package/src/lib/generators/metadata-extractor.js +387 -387
- package/src/lib/stack-filter.js +65 -65
- package/src/lib/standards/digest-builder.js +57 -3
- package/src/lib/standards/index.js +7 -7
- package/src/lib/standards/standards-context-injector.js +302 -302
- package/src/lib/validators/architecture/architecture-validator.js +387 -387
- package/src/lib/validators/architecture/index.js +7 -7
- package/src/lib/validators/blazor/blazor-concurrency-analyzer.js +316 -316
- package/src/lib/validators/blazor/blazor-state-validator.js +279 -279
- package/src/lib/validators/blazor/blazor-validator.js +369 -369
- package/src/lib/validators/blazor/index.js +9 -9
- package/src/lib/validators/content/content-validator.js +287 -287
- package/src/lib/validators/content/index.js +7 -7
- package/src/lib/validators/contracts/index.js +7 -7
- package/src/lib/validators/css/css-validator.js +352 -352
- package/src/lib/validators/css/index.js +7 -7
- package/src/lib/validators/design-system/design-system-validator.js +231 -231
- package/src/lib/validators/design-system/index.js +7 -7
- package/src/lib/validators/nextjs/index.js +6 -6
- package/src/lib/validators/nextjs/next-component-validator.js +183 -183
- package/src/lib/validators/packages/index.js +7 -7
- package/src/lib/validators/packages/package-validator.js +360 -360
- package/src/lib/validators/shared/index.js +12 -12
- package/src/lib/validators/shared/issue-counter.js +18 -18
- package/src/lib/validators/shared/result-formatter.js +124 -124
- package/src/lib/validators/ui/index.js +7 -7
- package/src/lib/validators/ui/ui-contrast-validator.js +422 -422
- package/src/scripts/global-install.js +112 -58
- package/src/scripts/install-plugin.js +126 -126
- package/src/utils/claude-md-injector.js +90 -90
- package/src/utils/file-copier.js +200 -200
- package/src/utils/logger.js +32 -32
- package/src/utils/skills-installer.js +178 -178
- package/src/utils/version-checker.js +169 -175
package/CLAUDE.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# Project
|
|
2
|
-
|
|
3
|
-
@.claude/CLAUDE.md
|
|
1
|
+
# Project
|
|
2
|
+
|
|
3
|
+
@.claude/CLAUDE.md
|
package/LICENSE
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
Proprietary License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024-2025 Polymorphism Tech
|
|
4
|
-
All rights reserved.
|
|
5
|
-
|
|
6
|
-
MORPH-SPEC Framework - Proprietary Software License
|
|
7
|
-
|
|
8
|
-
1. GRANT OF LICENSE
|
|
9
|
-
|
|
10
|
-
Subject to the terms and conditions of this License, Polymorphism Tech ("Licensor")
|
|
11
|
-
grants you a limited, non-exclusive, non-transferable license to:
|
|
12
|
-
|
|
13
|
-
a) Install and use the MORPH-SPEC CLI tool for personal or commercial projects
|
|
14
|
-
b) Use the generated templates and code in your own projects
|
|
15
|
-
c) Modify generated code for your specific use cases
|
|
16
|
-
|
|
17
|
-
2. RESTRICTIONS
|
|
18
|
-
|
|
19
|
-
You may NOT:
|
|
20
|
-
|
|
21
|
-
a) Redistribute, sell, lease, or sublicense the MORPH-SPEC framework itself
|
|
22
|
-
b) Modify, decompile, reverse engineer, or create derivative works of the framework
|
|
23
|
-
c) Remove or modify any copyright notices or proprietary markings
|
|
24
|
-
d) Use the framework to create competing products or services
|
|
25
|
-
e) Publicly fork or redistribute the source code
|
|
26
|
-
f) Share access credentials to private repositories
|
|
27
|
-
|
|
28
|
-
3. OWNERSHIP
|
|
29
|
-
|
|
30
|
-
The MORPH-SPEC framework, including all code, documentation, templates, and
|
|
31
|
-
associated materials, remains the exclusive property of Polymorphism Tech.
|
|
32
|
-
|
|
33
|
-
4. GENERATED CODE
|
|
34
|
-
|
|
35
|
-
Code and projects generated using MORPH-SPEC are yours to use, modify, and
|
|
36
|
-
distribute as you see fit, including commercial use.
|
|
37
|
-
|
|
38
|
-
5. SUPPORT AND UPDATES
|
|
39
|
-
|
|
40
|
-
- CLI tool updates are provided via npm registry
|
|
41
|
-
- Support is available at: support@polymorphism.tech
|
|
42
|
-
- Documentation updates are included with each release
|
|
43
|
-
|
|
44
|
-
6. WARRANTY DISCLAIMER
|
|
45
|
-
|
|
46
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
47
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
48
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
49
|
-
|
|
50
|
-
7. LIMITATION OF LIABILITY
|
|
51
|
-
|
|
52
|
-
IN NO EVENT SHALL POLYMORPHISM TECH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
53
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
54
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
55
|
-
SOFTWARE.
|
|
56
|
-
|
|
57
|
-
8. TERMINATION
|
|
58
|
-
|
|
59
|
-
This license is effective until terminated. Your rights under this license will
|
|
60
|
-
terminate automatically without notice if you fail to comply with any term of
|
|
61
|
-
this license.
|
|
62
|
-
|
|
63
|
-
9. CONTACT
|
|
64
|
-
|
|
65
|
-
For licensing inquiries, custom licenses, or commercial support:
|
|
66
|
-
Email: contact@polymorphism.com.br
|
|
67
|
-
Website: https://polymorphism.com.br
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
MORPH-SPEC by Polymorphism Tech
|
|
1
|
+
Proprietary License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024-2025 Polymorphism Tech
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
MORPH-SPEC Framework - Proprietary Software License
|
|
7
|
+
|
|
8
|
+
1. GRANT OF LICENSE
|
|
9
|
+
|
|
10
|
+
Subject to the terms and conditions of this License, Polymorphism Tech ("Licensor")
|
|
11
|
+
grants you a limited, non-exclusive, non-transferable license to:
|
|
12
|
+
|
|
13
|
+
a) Install and use the MORPH-SPEC CLI tool for personal or commercial projects
|
|
14
|
+
b) Use the generated templates and code in your own projects
|
|
15
|
+
c) Modify generated code for your specific use cases
|
|
16
|
+
|
|
17
|
+
2. RESTRICTIONS
|
|
18
|
+
|
|
19
|
+
You may NOT:
|
|
20
|
+
|
|
21
|
+
a) Redistribute, sell, lease, or sublicense the MORPH-SPEC framework itself
|
|
22
|
+
b) Modify, decompile, reverse engineer, or create derivative works of the framework
|
|
23
|
+
c) Remove or modify any copyright notices or proprietary markings
|
|
24
|
+
d) Use the framework to create competing products or services
|
|
25
|
+
e) Publicly fork or redistribute the source code
|
|
26
|
+
f) Share access credentials to private repositories
|
|
27
|
+
|
|
28
|
+
3. OWNERSHIP
|
|
29
|
+
|
|
30
|
+
The MORPH-SPEC framework, including all code, documentation, templates, and
|
|
31
|
+
associated materials, remains the exclusive property of Polymorphism Tech.
|
|
32
|
+
|
|
33
|
+
4. GENERATED CODE
|
|
34
|
+
|
|
35
|
+
Code and projects generated using MORPH-SPEC are yours to use, modify, and
|
|
36
|
+
distribute as you see fit, including commercial use.
|
|
37
|
+
|
|
38
|
+
5. SUPPORT AND UPDATES
|
|
39
|
+
|
|
40
|
+
- CLI tool updates are provided via npm registry
|
|
41
|
+
- Support is available at: support@polymorphism.tech
|
|
42
|
+
- Documentation updates are included with each release
|
|
43
|
+
|
|
44
|
+
6. WARRANTY DISCLAIMER
|
|
45
|
+
|
|
46
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
47
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
48
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
49
|
+
|
|
50
|
+
7. LIMITATION OF LIABILITY
|
|
51
|
+
|
|
52
|
+
IN NO EVENT SHALL POLYMORPHISM TECH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
53
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
54
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
55
|
+
SOFTWARE.
|
|
56
|
+
|
|
57
|
+
8. TERMINATION
|
|
58
|
+
|
|
59
|
+
This license is effective until terminated. Your rights under this license will
|
|
60
|
+
terminate automatically without notice if you fail to comply with any term of
|
|
61
|
+
this license.
|
|
62
|
+
|
|
63
|
+
9. CONTACT
|
|
64
|
+
|
|
65
|
+
For licensing inquiries, custom licenses, or commercial support:
|
|
66
|
+
Email: contact@polymorphism.com.br
|
|
67
|
+
Website: https://polymorphism.com.br
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
MORPH-SPEC by Polymorphism Tech
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> Spec-driven development framework for multi-stack projects. Turns feature requests into implementation-ready code through structured, AI-orchestrated phases.
|
|
4
4
|
|
|
5
5
|
**Package:** `@polymorphism-tech/morph-spec`
|
|
6
|
-
**Version:** 4.
|
|
6
|
+
**Version:** 4.11.0
|
|
7
7
|
**Requires:** Node.js 18+, Claude Code
|
|
8
8
|
|
|
9
9
|
---
|
|
@@ -312,17 +312,11 @@ After updating, run `morph-spec doctor` to confirm the installation is healthy.
|
|
|
312
312
|
|
|
313
313
|
### `morph-spec: command not found`
|
|
314
314
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
```bash
|
|
318
|
-
npx @polymorphism-tech/morph-spec init
|
|
319
|
-
```
|
|
320
|
-
|
|
321
|
-
Or add the npm global bin to your PATH:
|
|
315
|
+
The installer automatically adds the npm global directory to your PowerShell `$PROFILE`. Open a **new terminal** after installing. If it still doesn't work, add it manually:
|
|
322
316
|
|
|
323
317
|
```bash
|
|
324
318
|
npm config get prefix
|
|
325
|
-
# Add {prefix}
|
|
319
|
+
# Add {prefix} to your PATH
|
|
326
320
|
```
|
|
327
321
|
|
|
328
322
|
### `morph-spec doctor` reports issues
|
|
@@ -354,7 +348,7 @@ npm config set prefix %APPDATA%\npm-global
|
|
|
354
348
|
npm install -g @polymorphism-tech/morph-spec
|
|
355
349
|
```
|
|
356
350
|
|
|
357
|
-
1.
|
|
351
|
+
1. Open a new terminal (the installer adds npm to your PATH automatically)
|
|
358
352
|
|
|
359
353
|
### Hook not triggering on SessionStart
|
|
360
354
|
|
|
@@ -376,4 +370,4 @@ Code generated by morph-spec (contracts, templates, implementation output) belon
|
|
|
376
370
|
|
|
377
371
|
---
|
|
378
372
|
|
|
379
|
-
*morph-spec v4.
|
|
373
|
+
*morph-spec v4.11.0 by [Polymorphism Tech](https://polymorphism.tech)*
|
package/bin/morph-spec.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { program } from 'commander';
|
|
4
4
|
import chalk from 'chalk';
|
|
@@ -56,6 +56,12 @@ import { mcpSetupCommand } from '../src/commands/mcp/mcp-setup.js';
|
|
|
56
56
|
// Trust commands
|
|
57
57
|
import { trustStatusCommand, trustSetCommand } from '../src/commands/trust/trust.js';
|
|
58
58
|
|
|
59
|
+
// Project metrics
|
|
60
|
+
import { projectMetricsCommand } from '../src/commands/agents/project-metrics.js';
|
|
61
|
+
|
|
62
|
+
// Standards context budget
|
|
63
|
+
import { contextBudgetCommand } from '../src/commands/standards/context-budget.js';
|
|
64
|
+
|
|
59
65
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
60
66
|
const pkg = JSON.parse(readFileSync(join(__dirname, '..', 'package.json'), 'utf8'));
|
|
61
67
|
|
|
@@ -406,4 +412,20 @@ agentCommand
|
|
|
406
412
|
.option('--force', 'Skip confirmation prompt')
|
|
407
413
|
.action((id, options) => agentRemoveCommand(id, options));
|
|
408
414
|
|
|
415
|
+
// Project-level metrics
|
|
416
|
+
program
|
|
417
|
+
.command('project-metrics')
|
|
418
|
+
.description('Aggregate project-level metrics from state.json')
|
|
419
|
+
.option('--json', 'Output as JSON')
|
|
420
|
+
.option('--save', 'Save metrics to .morph/metrics.json')
|
|
421
|
+
.action((options) => projectMetricsCommand(options));
|
|
422
|
+
|
|
423
|
+
// Standards context budget
|
|
424
|
+
program
|
|
425
|
+
.command('context-budget')
|
|
426
|
+
.description('Show estimated token usage for agent standards briefings')
|
|
427
|
+
.option('--phase <phase>', 'Phase to compute (default: implement)')
|
|
428
|
+
.option('--json', 'Output as JSON')
|
|
429
|
+
.action((options) => contextBudgetCommand(options));
|
|
430
|
+
|
|
409
431
|
program.parse();
|
package/bin/task-manager.js
CHANGED
|
@@ -408,7 +408,7 @@ class TaskManager {
|
|
|
408
408
|
// This is fail-open by design: a broken validator shouldn't block commits.
|
|
409
409
|
// Common cause: missing optional deps.
|
|
410
410
|
console.log(chalk.yellow(`\n⚠️ Validation skipped (${error.message})`));
|
|
411
|
-
console.log(chalk.gray(` Run manually:
|
|
411
|
+
console.log(chalk.gray(` Run manually: morph-spec validate-feature ${featureName}`));
|
|
412
412
|
return { passed: true, validators: {}, passRate: 1.0 };
|
|
413
413
|
}
|
|
414
414
|
}
|
|
@@ -850,7 +850,7 @@ async function main() {
|
|
|
850
850
|
const taskIds = filteredArgs.slice(2);
|
|
851
851
|
|
|
852
852
|
if (!featureName || taskIds.length === 0) {
|
|
853
|
-
console.error(chalk.red('Usage:
|
|
853
|
+
console.error(chalk.red('Usage: morph-spec task done <feature> <task-id> [task-id...] [--skip-validation] [--dry-run]'));
|
|
854
854
|
process.exit(1);
|
|
855
855
|
}
|
|
856
856
|
|
|
@@ -870,7 +870,7 @@ async function main() {
|
|
|
870
870
|
const rangeArg = filteredArgs[2]; // e.g. T001..T082
|
|
871
871
|
|
|
872
872
|
if (!featureName) {
|
|
873
|
-
console.error(chalk.red('Usage:
|
|
873
|
+
console.error(chalk.red('Usage: morph-spec task bulk-done <feature> [--all | --from T001 --to T053 | T001..T082] [--skip-validation] [--dry-run]'));
|
|
874
874
|
process.exit(1);
|
|
875
875
|
}
|
|
876
876
|
|
|
@@ -886,7 +886,7 @@ async function main() {
|
|
|
886
886
|
const taskId = args[2];
|
|
887
887
|
|
|
888
888
|
if (!featureName || !taskId) {
|
|
889
|
-
console.error(chalk.red('Usage:
|
|
889
|
+
console.error(chalk.red('Usage: morph-spec task start <feature> <task-id>'));
|
|
890
890
|
process.exit(1);
|
|
891
891
|
}
|
|
892
892
|
|
|
@@ -898,7 +898,7 @@ async function main() {
|
|
|
898
898
|
const featureName = args[1];
|
|
899
899
|
|
|
900
900
|
if (!featureName) {
|
|
901
|
-
console.error(chalk.red('Usage:
|
|
901
|
+
console.error(chalk.red('Usage: morph-spec task next <feature>'));
|
|
902
902
|
process.exit(1);
|
|
903
903
|
}
|
|
904
904
|
|
package/claude-plugin.json
CHANGED
package/docs/CHEATSHEET.md
CHANGED
package/docs/QUICKSTART.md
CHANGED
|
@@ -6,13 +6,7 @@
|
|
|
6
6
|
npm install -g @polymorphism-tech/morph-spec
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npx @polymorphism-tech/morph-spec init
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
> **Windows / nvm-windows:** Global installs may not appear on PATH. Use `npx` or add the npm prefix to PATH manually: `npm config get prefix`, then add `{prefix}` to your PATH.
|
|
9
|
+
> The installer automatically configures your PowerShell PATH on Windows. If `morph-spec` is not found, open a new terminal window.
|
|
16
10
|
|
|
17
11
|
---
|
|
18
12
|
|
|
@@ -203,4 +197,4 @@ morph-spec doctor
|
|
|
203
197
|
|
|
204
198
|
---
|
|
205
199
|
|
|
206
|
-
*morph-spec v4.
|
|
200
|
+
*morph-spec v4.11.0 by Polymorphism Tech*
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
# Level 2: Domains
|
|
2
|
-
|
|
3
|
-
Domain expertise skills organized by squad.
|
|
4
|
-
|
|
5
|
-
**Purpose:** Skills that provide deep domain knowledge (backend, frontend, infra, quality, ai-agents, integrations).
|
|
6
|
-
|
|
7
|
-
**Squads:**
|
|
8
|
-
- backend/ - Backend Squad (led by dotnet-senior)
|
|
9
|
-
- frontend/ - Frontend Squad (led by ui-designer)
|
|
10
|
-
- infrastructure/ - Infrastructure Squad (led by infra-architect)
|
|
11
|
-
- quality/ - Quality Squad (coordinated by standards-architect)
|
|
12
|
-
- ai-agents/ - AI/Agent specialists
|
|
13
|
-
- integrations/ - External integration specialists
|
|
14
|
-
- architecture/ - Architecture and planning
|
|
1
|
+
# Level 2: Domains
|
|
2
|
+
|
|
3
|
+
Domain expertise skills organized by squad.
|
|
4
|
+
|
|
5
|
+
**Purpose:** Skills that provide deep domain knowledge (backend, frontend, infra, quality, ai-agents, integrations).
|
|
6
|
+
|
|
7
|
+
**Squads:**
|
|
8
|
+
- backend/ - Backend Squad (led by dotnet-senior)
|
|
9
|
+
- frontend/ - Frontend Squad (led by ui-designer)
|
|
10
|
+
- infrastructure/ - Infrastructure Squad (led by infra-architect)
|
|
11
|
+
- quality/ - Quality Squad (coordinated by standards-architect)
|
|
12
|
+
- ai-agents/ - AI/Agent specialists
|
|
13
|
+
- integrations/ - External integration specialists
|
|
14
|
+
- architecture/ - Architecture and planning
|