@planu/cli 4.7.3 → 4.7.5

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 (38) hide show
  1. package/CHANGELOG.md +22 -1
  2. package/README.md +6 -3
  3. package/dist/config/minimal-implementation-gate.json +12 -4
  4. package/dist/engine/cascade-hooks/core/append-releases.d.ts +2 -1
  5. package/dist/engine/cascade-hooks/core/append-releases.js +30 -3
  6. package/dist/engine/context-md-generator.js +5 -4
  7. package/dist/engine/evidence-gates/artifact-reader.js +15 -2
  8. package/dist/engine/evidence-gates/lifecycle-gate.js +14 -2
  9. package/dist/engine/generated-artifact-writer.d.ts +7 -0
  10. package/dist/engine/generated-artifact-writer.js +63 -0
  11. package/dist/engine/handoff-packager.js +6 -49
  12. package/dist/engine/implementation-contract/renderer.js +10 -0
  13. package/dist/engine/next-spec-resolver/session-writer.js +10 -6
  14. package/dist/engine/readiness-checker.js +13 -7
  15. package/dist/engine/session-context-generator.js +9 -5
  16. package/dist/engine/session-state/writer.js +33 -14
  17. package/dist/engine/spec-format/acceptance-criteria.d.ts +5 -0
  18. package/dist/engine/spec-format/acceptance-criteria.js +106 -0
  19. package/dist/engine/spec-migrator/strict-planu-cleanup.js +16 -0
  20. package/dist/engine/universal-rules/catalog.js +2 -0
  21. package/dist/engine/universal-rules/rules/planu-minimal-change.d.ts +3 -0
  22. package/dist/engine/universal-rules/rules/planu-minimal-change.js +44 -0
  23. package/dist/engine/universal-rules/rules/planu-release-policy.js +8 -5
  24. package/dist/native/lightweight-command-catalog.d.ts +1 -1
  25. package/dist/native/lightweight-command-catalog.js +1 -1
  26. package/dist/resources/process.js +3 -2
  27. package/dist/tools/challenge-spec/event-challenge-scenarios.js +10 -6
  28. package/dist/tools/git/hook-ops.js +1 -1
  29. package/dist/tools/init-project/per-client-files-writer.js +2 -1
  30. package/dist/tools/init-project/rules-generator.js +14 -0
  31. package/dist/tools/update-status/evidence-gate.js +5 -9
  32. package/dist/types/cascade-hooks.d.ts +5 -0
  33. package/dist/types/generated-artifacts.d.ts +13 -0
  34. package/dist/types/generated-artifacts.js +3 -0
  35. package/dist/types/spec-format.d.ts +6 -0
  36. package/package.json +16 -16
  37. package/planu-native.json +9 -30
  38. package/planu-plugin.json +7 -35
package/planu-native.json CHANGED
@@ -1,26 +1,20 @@
1
1
  {
2
2
  "name": "dev.planu.native",
3
3
  "displayName": "Planu Native Lightweight Surface",
4
- "version": "4.7.3",
4
+ "version": "4.7.5",
5
5
  "packageName": "@planu/cli",
6
6
  "modes": {
7
7
  "lightweight": {
8
8
  "requiresMcp": false,
9
9
  "requiresDaemon": false,
10
- "hosts": [
11
- "codex",
12
- "claude-code"
13
- ],
10
+ "hosts": ["codex", "claude-code"],
14
11
  "commands": [
15
12
  {
16
13
  "id": "planu.status",
17
14
  "title": "Project status",
18
15
  "description": "Show the compact Planu project snapshot without loading the MCP tool graph.",
19
16
  "invocation": "planu status",
20
- "hosts": [
21
- "codex",
22
- "claude-code"
23
- ],
17
+ "hosts": ["codex", "claude-code"],
24
18
  "requiresMcp": false,
25
19
  "requiresDaemon": false,
26
20
  "mapsTo": "handlePlanStatus"
@@ -30,10 +24,7 @@
30
24
  "title": "Create spec",
31
25
  "description": "Create a new spec through the CLI-backed SDD contract.",
32
26
  "invocation": "planu spec create \"<title>\"",
33
- "hosts": [
34
- "codex",
35
- "claude-code"
36
- ],
27
+ "hosts": ["codex", "claude-code"],
37
28
  "requiresMcp": false,
38
29
  "requiresDaemon": false,
39
30
  "mapsTo": "handleCreateSpec"
@@ -43,10 +34,7 @@
43
34
  "title": "List specs",
44
35
  "description": "List specs in the current project with optional status/type filters.",
45
36
  "invocation": "planu spec list",
46
- "hosts": [
47
- "codex",
48
- "claude-code"
49
- ],
37
+ "hosts": ["codex", "claude-code"],
50
38
  "requiresMcp": false,
51
39
  "requiresDaemon": false,
52
40
  "mapsTo": "handleListSpecs"
@@ -56,10 +44,7 @@
56
44
  "title": "Validate spec",
57
45
  "description": "Validate a spec against the current codebase from the native CLI surface.",
58
46
  "invocation": "planu spec validate SPEC-001",
59
- "hosts": [
60
- "codex",
61
- "claude-code"
62
- ],
47
+ "hosts": ["codex", "claude-code"],
63
48
  "requiresMcp": false,
64
49
  "requiresDaemon": false,
65
50
  "mapsTo": "handleValidate"
@@ -69,10 +54,7 @@
69
54
  "title": "Audit technical debt",
70
55
  "description": "Run the read-only project audit path for lightweight debt checks.",
71
56
  "invocation": "planu audit debt",
72
- "hosts": [
73
- "codex",
74
- "claude-code"
75
- ],
57
+ "hosts": ["codex", "claude-code"],
76
58
  "requiresMcp": false,
77
59
  "requiresDaemon": false,
78
60
  "mapsTo": "handleAudit"
@@ -80,12 +62,9 @@
80
62
  {
81
63
  "id": "planu.release.check",
82
64
  "title": "Check release readiness",
83
- "description": "Check local branch cleanliness and main/develop/release sync readiness.",
65
+ "description": "Check local-first release readiness, branch cleanliness, and optional gitflow drift.",
84
66
  "invocation": "planu release check",
85
- "hosts": [
86
- "codex",
87
- "claude-code"
88
- ],
67
+ "hosts": ["codex", "claude-code"],
89
68
  "requiresMcp": false,
90
69
  "requiresDaemon": false,
91
70
  "mapsTo": "releaseCommand"
package/planu-plugin.json CHANGED
@@ -2,12 +2,9 @@
2
2
  "name": "dev.planu.cli",
3
3
  "displayName": "Planu — Spec Driven Development",
4
4
  "description": "Manage software specs, estimations, and autonomous SDD workflows. Language-agnostic MCP server for Claude Code.",
5
- "version": "4.7.3",
5
+ "version": "4.7.5",
6
6
  "icon": "assets/plugin/icon.svg",
7
- "command": [
8
- "npx",
9
- "@planu/cli@latest"
10
- ],
7
+ "command": ["npx", "@planu/cli@latest"],
11
8
  "packageName": "@planu/cli",
12
9
  "capabilities": {
13
10
  "tools": [
@@ -26,42 +23,17 @@
26
23
  "create_skill",
27
24
  "skill_search"
28
25
  ],
29
- "resources": [
30
- "planu://specs/list",
31
- "planu://specs/{id}",
32
- "planu://project/status",
33
- "planu://roadmap"
34
- ],
35
- "prompts": [
36
- "create-spec-from-idea",
37
- "review-spec-readiness",
38
- "generate-implementation-plan"
39
- ],
40
- "subagents": [
41
- "sdd-orchestrator",
42
- "spec-challenger",
43
- "test-generator"
44
- ]
26
+ "resources": ["planu://specs/list", "planu://specs/{id}", "planu://project/status", "planu://roadmap"],
27
+ "prompts": ["create-spec-from-idea", "review-spec-readiness", "generate-implementation-plan"],
28
+ "subagents": ["sdd-orchestrator", "spec-challenger", "test-generator"]
45
29
  },
46
30
  "compatibility": {
47
31
  "minimumHostVersion": "1.0.0",
48
- "requiredFeatures": [
49
- "mcp-tools",
50
- "file-editing"
51
- ]
32
+ "requiredFeatures": ["mcp-tools", "file-editing"]
52
33
  },
53
34
  "repository": "https://github.com/planu-dev/planu",
54
35
  "author": "Planu",
55
36
  "license": "MIT",
56
37
  "homepage": "https://planu.dev",
57
- "keywords": [
58
- "sdd",
59
- "spec-driven-development",
60
- "mcp",
61
- "specs",
62
- "planning",
63
- "ai",
64
- "bdd",
65
- "tdd"
66
- ]
38
+ "keywords": ["sdd", "spec-driven-development", "mcp", "specs", "planning", "ai", "bdd", "tdd"]
67
39
  }