@polymorphism-tech/morph-spec 9.6.0 → 9.8.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 (50) hide show
  1. package/CLAUDE.md +1 -1
  2. package/README.md +2 -2
  3. package/bin/morph-spec.js +13 -6
  4. package/claude-plugin.json +1 -1
  5. package/docs/CHEATSHEET.md +1 -1
  6. package/docs/QUICKSTART.md +1 -1
  7. package/framework/agents.json +3 -3
  8. package/framework/docs/CLI.md +53 -16
  9. package/framework/evals/review-checklist.md +5 -5
  10. package/framework/hooks/claude-code/core/README.md +4 -0
  11. package/framework/hooks/claude-code/core/test-budget.js +89 -0
  12. package/framework/hooks/shared/e2e-check.js +0 -0
  13. package/framework/hooks/shared/heavy-command.js +60 -1
  14. package/framework/hooks/shared/heavy-slots.js +41 -4
  15. package/framework/hooks/shared/host-services.js +433 -0
  16. package/framework/schemas/config.schema.json +54 -2
  17. package/framework/skills/core/create-umbraco-lp/SKILL.md +1 -1
  18. package/framework/skills/core/migrate-lp-to-umbraco/SKILL.md +1 -1
  19. package/framework/skills/core/morph-apply/SKILL.md +2 -2
  20. package/framework/skills/core/morph-hotfix/SKILL.md +1 -1
  21. package/framework/skills/core/morph-machine/SKILL.md +1 -1
  22. package/framework/skills/core/morph-media/SKILL.md +1 -1
  23. package/framework/skills/core/morph-plan/SKILL.md +3 -3
  24. package/framework/skills/core/morph-review/SKILL.md +3 -2
  25. package/framework/skills/core/morph-standards/SKILL.md +1 -1
  26. package/framework/skills/core/morph-uiux/SKILL.md +1 -1
  27. package/framework/standards/STANDARDS.json +2 -1
  28. package/framework/standards/infrastructure/docker/local-compose-isolation.md +14 -1
  29. package/package.json +1 -1
  30. package/src/commands/e2e/e2e.js +47 -24
  31. package/src/commands/observability/cost.js +12 -0
  32. package/src/commands/project/worktree.js +31 -5
  33. package/src/commands/state/advance.js +3 -0
  34. package/src/commands/state/create.js +3 -3
  35. package/src/commands/state/delete.js +1 -1
  36. package/src/commands/state/finish.js +46 -2
  37. package/src/commands/state/report-check.js +36 -1
  38. package/src/commands/validation/plan-check.js +1 -0
  39. package/src/commands/validation/verify.js +3 -0
  40. package/src/lib/e2e/stack-teardown.js +19 -4
  41. package/src/lib/heavy/gate.js +22 -1
  42. package/src/lib/review-reports.js +23 -10
  43. package/src/lib/tasks/test-nodes.js +24 -6
  44. package/src/lib/tasks/test-runner.js +43 -1
  45. package/src/lib/telemetry/metrics.js +47 -3
  46. package/src/lib/validators/packages/package-validator.js +2 -2
  47. package/src/lib/validators/verify-runner.js +50 -12
  48. package/src/utils/agents-installer.js +5 -2
  49. package/src/utils/file-copier.js +26 -4
  50. package/src/utils/hooks-installer.js +4 -4
@@ -5,7 +5,7 @@ import { homedir } from 'os';
5
5
  import { execSync } from 'child_process';
6
6
  import { realEffects } from '../lib/installers/effects.js';
7
7
 
8
- const HOOKS_VERSION = '3.13.0';
8
+ const HOOKS_VERSION = '3.14.0';
9
9
 
10
10
  const OLD_DISPATCH_COMMAND = 'node framework/hooks/agent-teams/dispatch.js';
11
11
 
@@ -64,7 +64,7 @@ const MORPH_HOOKS = [
64
64
  hooks: [{
65
65
  type: 'command',
66
66
  command: 'node framework/hooks/claude-code/core/chain.js',
67
- args: ['pre-bash-denylist', 'conventional-commit', 'block-destructive-worktree-removal', 'block-raw-worktree-add', 'warn-bash-source-write', 'heavy-gate', 'worktree-env-inject']
67
+ args: ['pre-bash-denylist', 'test-budget', 'conventional-commit', 'block-destructive-worktree-removal', 'block-raw-worktree-add', 'warn-bash-source-write', 'heavy-gate', 'worktree-env-inject']
68
68
  }]
69
69
  },
70
70
 
@@ -117,7 +117,7 @@ const MORPH_HOOKS = [
117
117
  hooks: [{
118
118
  type: 'command',
119
119
  command: 'node framework/hooks/claude-code/core/chain.js',
120
- args: ['telemetry-log', 'loop-detect', 'graph-refresh-kick', 'heavy-release'],
120
+ args: ['telemetry-log', 'loop-detect', 'graph-refresh-kick', 'heavy-release', 'test-budget'],
121
121
  timeout: 10
122
122
  }]
123
123
  },
@@ -129,7 +129,7 @@ const MORPH_HOOKS = [
129
129
  hooks: [{
130
130
  type: 'command',
131
131
  command: 'node framework/hooks/claude-code/core/chain.js',
132
- args: ['telemetry-log', 'heavy-release'],
132
+ args: ['telemetry-log', 'heavy-release', 'test-budget'],
133
133
  timeout: 5,
134
134
  async: true
135
135
  }]