prizmkit 1.1.130 → 1.1.131

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 (88) hide show
  1. package/bundled/VERSION.json +3 -3
  2. package/bundled/dev-pipeline/.env.example +1 -1
  3. package/bundled/dev-pipeline/prizmkit_runtime/checkpoint_state.py +445 -8
  4. package/bundled/dev-pipeline/prizmkit_runtime/runner_classification.py +87 -66
  5. package/bundled/dev-pipeline/prizmkit_runtime/runner_models.py +53 -3
  6. package/bundled/dev-pipeline/prizmkit_runtime/runner_recovery.py +55 -25
  7. package/bundled/dev-pipeline/prizmkit_runtime/runner_status.py +4 -0
  8. package/bundled/dev-pipeline/prizmkit_runtime/runners.py +15 -1
  9. package/bundled/dev-pipeline/scripts/generate-bootstrap-prompt.py +396 -4
  10. package/bundled/dev-pipeline/scripts/generate-bugfix-prompt.py +54 -1
  11. package/bundled/dev-pipeline/scripts/generate-refactor-prompt.py +54 -1
  12. package/bundled/dev-pipeline/scripts/prompt_framework.py +152 -1
  13. package/bundled/dev-pipeline/scripts/update-bug-status.py +53 -0
  14. package/bundled/dev-pipeline/scripts/update-checkpoint.py +294 -69
  15. package/bundled/dev-pipeline/scripts/update-feature-status.py +57 -0
  16. package/bundled/dev-pipeline/scripts/update-refactor-status.py +53 -0
  17. package/bundled/dev-pipeline/templates/bootstrap-prompt.md +2 -2
  18. package/bundled/dev-pipeline/templates/bootstrap-tier3.md +20 -14
  19. package/bundled/dev-pipeline/templates/bugfix-bootstrap-prompt.md +21 -4
  20. package/bundled/dev-pipeline/templates/refactor-bootstrap-prompt.md +18 -0
  21. package/bundled/dev-pipeline/templates/sections/bugfix-phase-diagnose-plan.md +1 -1
  22. package/bundled/dev-pipeline/templates/sections/bugfix-phase-review.md +5 -15
  23. package/bundled/dev-pipeline/templates/sections/bugfix-phase-test.md +21 -0
  24. package/bundled/dev-pipeline/templates/sections/checkpoint-system.md +10 -10
  25. package/bundled/dev-pipeline/templates/sections/headless-commit-authorization.md +16 -0
  26. package/bundled/dev-pipeline/templates/sections/phase-prizmkit-test.md +26 -23
  27. package/bundled/dev-pipeline/templates/sections/phase-review-full.md +12 -8
  28. package/bundled/dev-pipeline/templates/sections/refactor-phase-review.md +1 -1
  29. package/bundled/dev-pipeline/templates/sections/refactor-phase-test.md +21 -0
  30. package/bundled/dev-pipeline/tests/test_checkpoint_state.py +362 -3
  31. package/bundled/dev-pipeline/tests/test_generate_bootstrap_prompt.py +310 -22
  32. package/bundled/dev-pipeline/tests/test_generate_bugfix_prompt.py +132 -0
  33. package/bundled/dev-pipeline/tests/test_generate_refactor_prompt.py +91 -0
  34. package/bundled/dev-pipeline/tests/test_python_runner_parity.py +411 -18
  35. package/bundled/dev-pipeline/tests/test_unified_cli.py +3 -3
  36. package/bundled/skills/_metadata.json +62 -25
  37. package/bundled/skills/app-planner/SKILL.md +4 -3
  38. package/bundled/skills/bug-fix-workflow/SKILL.md +89 -180
  39. package/bundled/skills/bug-planner/SKILL.md +12 -27
  40. package/bundled/skills/bugfix-pipeline-launcher/SKILL.md +131 -220
  41. package/bundled/skills/bugfix-pipeline-launcher/references/configuration.md +36 -90
  42. package/bundled/skills/feature-pipeline-launcher/SKILL.md +129 -271
  43. package/bundled/skills/feature-pipeline-launcher/references/configuration.md +35 -76
  44. package/bundled/skills/feature-planner/SKILL.md +27 -22
  45. package/bundled/skills/feature-planner/assets/planning-guide.md +4 -4
  46. package/bundled/skills/feature-workflow/SKILL.md +94 -121
  47. package/bundled/skills/prizmkit/SKILL.md +130 -94
  48. package/bundled/skills/prizmkit/references/workflow-state-protocol.md +181 -0
  49. package/bundled/skills/prizmkit-code-review/SKILL.md +114 -84
  50. package/bundled/skills/prizmkit-code-review/references/review-report-template.md +1 -1
  51. package/bundled/skills/prizmkit-code-review/references/workflow-state-protocol.md +181 -0
  52. package/bundled/skills/prizmkit-committer/SKILL.md +131 -47
  53. package/bundled/skills/prizmkit-committer/references/workflow-state-protocol.md +181 -0
  54. package/bundled/skills/prizmkit-implement/SKILL.md +99 -73
  55. package/bundled/skills/prizmkit-implement/references/implementation-subagent-procedure.md +1 -1
  56. package/bundled/skills/prizmkit-implement/references/workflow-state-protocol.md +181 -0
  57. package/bundled/skills/prizmkit-init/SKILL.md +5 -5
  58. package/bundled/skills/prizmkit-plan/SKILL.md +132 -105
  59. package/bundled/skills/prizmkit-plan/references/workflow-state-protocol.md +181 -0
  60. package/bundled/skills/prizmkit-retrospective/SKILL.md +111 -53
  61. package/bundled/skills/prizmkit-retrospective/references/knowledge-injection-steps.md +7 -6
  62. package/bundled/skills/prizmkit-retrospective/references/structural-sync-steps.md +5 -4
  63. package/bundled/skills/prizmkit-retrospective/references/workflow-state-protocol.md +181 -0
  64. package/bundled/skills/prizmkit-test/SKILL.md +28 -6
  65. package/bundled/skills/prizmkit-test/references/examples.md +1 -1
  66. package/bundled/skills/prizmkit-test/references/test-report-template.md +1 -1
  67. package/bundled/skills/prizmkit-test/references/workflow-state-protocol.md +181 -0
  68. package/bundled/skills/prizmkit-workflow/SKILL.md +266 -0
  69. package/bundled/skills/prizmkit-workflow/references/workflow-state-protocol.md +181 -0
  70. package/bundled/skills/recovery-workflow/SKILL.md +62 -241
  71. package/bundled/skills/recovery-workflow/evals/evals.json +17 -33
  72. package/bundled/skills/recovery-workflow/references/detection.md +28 -52
  73. package/bundled/skills/recovery-workflow/scripts/detect-recovery-state.py +105 -439
  74. package/bundled/skills/refactor-pipeline-launcher/SKILL.md +136 -275
  75. package/bundled/skills/refactor-pipeline-launcher/references/configuration.md +53 -88
  76. package/bundled/skills/refactor-planner/SKILL.md +12 -57
  77. package/bundled/skills/refactor-planner/references/behavior-preservation.md +111 -230
  78. package/bundled/skills/refactor-planner/references/error-recovery.md +37 -0
  79. package/bundled/skills/refactor-planner/references/planning-phases.md +11 -17
  80. package/bundled/skills/refactor-planner/scripts/validate-and-generate-refactor.py +1 -1
  81. package/bundled/skills/refactor-workflow/SKILL.md +98 -139
  82. package/bundled/templates/project-memory-template.md +4 -4
  83. package/package.json +1 -1
  84. package/src/index.js +4 -0
  85. package/src/prompts.js +10 -3
  86. package/src/scaffold.js +1 -1
  87. package/bundled/dev-pipeline/tests/test-deploy-safety.sh +0 -223
  88. package/bundled/skills/feature-pipeline-launcher/scripts/preflight-check.py +0 -462
@@ -1,29 +1,36 @@
1
1
  {
2
- "version": "1.1.130",
2
+ "version": "1.1.131",
3
3
  "skills": {
4
4
  "prizmkit": {
5
- "description": "Full-lifecycle dev toolkit. Covers spec-driven development, Prizm context docs, code quality, debugging, deployment, and knowledge management.",
5
+ "description": "Framework introduction and navigation for the formal single-requirement lifecycle, project initialization, Prizm docs, and independent deployment.",
6
+ "tier": "foundation",
7
+ "category": "prizmkit-skill",
8
+ "hasAssets": false,
9
+ "hasScripts": false
10
+ },
11
+ "prizmkit-workflow": {
12
+ "description": "Composite L1 workflow for one explicitly requested formal requirement: plan → implement → code-review → test → retrospective → committer, with stable artifact identity and deterministic repair routing.",
6
13
  "tier": "foundation",
7
14
  "category": "prizmkit-skill",
8
15
  "hasAssets": false,
9
16
  "hasScripts": false
10
17
  },
11
18
  "prizmkit-init": {
12
- "description": "Project takeover and bootstrap. Scans any project, generates Prizm docs, configures hooks.",
19
+ "description": "Recommended one-time project initialization. Scans greenfield or brownfield projects, generates Prizm docs and a project brief, and provides soft-prerequisite context for formal requirements.",
13
20
  "tier": "foundation",
14
21
  "category": "prizmkit-skill",
15
22
  "hasAssets": false,
16
23
  "hasScripts": false
17
24
  },
18
25
  "prizmkit-plan": {
19
- "description": "Specify and plan tasks: natural language → spec.md plan.md with architecture and executable tasks.",
26
+ "description": "Formal requirement lifecycle entry: natural language → reviewed spec.md and plan.md with stable artifact identity and workflow-state handoff.",
20
27
  "tier": "1",
21
28
  "category": "prizmkit-skill",
22
29
  "hasAssets": true,
23
30
  "hasScripts": false
24
31
  },
25
32
  "prizmkit-implement": {
26
- "description": "Execute implementation following plan.md Tasks section with TDD approach.",
33
+ "description": "Execute a reviewed formal requirement plan, preserve artifact identity, and route implementation repairs to the correct review or test gate.",
27
34
  "tier": "1",
28
35
  "category": "prizmkit-skill",
29
36
  "hasAssets": false,
@@ -37,14 +44,14 @@
37
44
  "hasScripts": true
38
45
  },
39
46
  "prizmkit-committer": {
40
- "description": "Pure git commit workflow with safety checks. Does NOT modify .prizmkit/prizm-docs/.",
47
+ "description": "Final formal-requirement commit gate: verifies all prior stages, confirms interactive commits or performs authorized L4-headless local commits, and never pushes automatically.",
41
48
  "tier": "1",
42
49
  "category": "prizmkit-skill",
43
50
  "hasAssets": false,
44
51
  "hasScripts": false
45
52
  },
46
53
  "prizmkit-retrospective": {
47
- "description": "Sole .prizmkit/prizm-docs/ maintainer. Structural sync + TRAPS/RULES/DECISIONS injection to architecture index. Run after code review passes, before committing.",
54
+ "description": "Mandatory formal-requirement retrospective: updates durable Prizm docs or records NO_DOC_CHANGE with machine-verifiable result before commit.",
48
55
  "tier": "1",
49
56
  "category": "prizmkit-skill",
50
57
  "hasAssets": true,
@@ -58,21 +65,21 @@
58
65
  "hasScripts": false
59
66
  },
60
67
  "prizmkit-deploy": {
61
- "description": "Universal deployment gateway: auto-discovers project type and target, routes to SSH automation (PM2 + Nginx + blue/green), guided cloud/Docker deployment, or documentation fallback. Also operates existing deployments (status/logs/restart/rollback).",
68
+ "description": "Universal deployment and operations entry point, independent of the six-stage formal requirement lifecycle.",
62
69
  "tier": "1",
63
70
  "category": "prizmkit-skill",
64
71
  "hasAssets": false,
65
72
  "hasScripts": false
66
73
  },
67
74
  "prizmkit-test": {
68
- "description": "Auditable project-native test evidence with request-driven execution, runner-generated receipts, differential proof, replay, and deterministic validation.",
75
+ "description": "Mandatory post-review auditable test evidence with TEST_PASS/TEST_FAIL/TEST_BLOCKED verdicts, repair-scope routing, differential proof, replay, and deterministic validation.",
69
76
  "tier": "1",
70
77
  "category": "prizmkit-skill",
71
78
  "hasAssets": true,
72
79
  "hasScripts": true
73
80
  },
74
81
  "feature-workflow": {
75
- "description": "One-stop entry point for feature development. Orchestrates feature-planner feature-pipeline-launcher background execution. Handles multi-feature batch development from a single request.",
82
+ "description": "Thin feature scenario router. Clarifies whether the request needs direct single-requirement guidance, app planning, feature planning, or command construction from an existing feature list.",
76
83
  "tier": "companion",
77
84
  "category": "orchestration-skill",
78
85
  "subcategory": "workflows",
@@ -80,7 +87,7 @@
80
87
  "hasScripts": false
81
88
  },
82
89
  "refactor-workflow": {
83
- "description": "One-stop entry point for code refactoring. Orchestrates refactor-planner refactor-pipeline-launcher execution.",
90
+ "description": "Thin behavior-preserving refactor scenario router. Clarifies direct guidance, refactor planning, existing-list command construction, or feature rerouting when behavior must change.",
84
91
  "tier": "companion",
85
92
  "category": "orchestration-skill",
86
93
  "subcategory": "workflows",
@@ -88,23 +95,23 @@
88
95
  "hasScripts": false
89
96
  },
90
97
  "bug-planner": {
91
- "description": "Interactive bug planning that produces bug-fix-list.json. Supports stack traces, user reports, failed tests, log patterns, monitoring alerts.",
98
+ "description": "Plan, append, validate, and summarize bug-fix-list.json from user reports, stack traces, failed tests, logs, and monitoring alerts.",
92
99
  "tier": "companion",
93
100
  "category": "orchestration-skill",
94
101
  "subcategory": "pipelines",
95
- "hasAssets": false,
96
- "hasScripts": false
102
+ "hasAssets": true,
103
+ "hasScripts": true
97
104
  },
98
105
  "app-planner": {
99
- "description": "Plan a new application from scratch vision, tech stack, feature decomposition, and validated feature-list.json.",
106
+ "description": "Capture application vision, tech stack, project conventions, infrastructure decisions, development rules, architecture decisions, and project-brief.md without generating feature-list.json.",
100
107
  "tier": "companion",
101
108
  "category": "orchestration-skill",
102
109
  "subcategory": "pipelines",
103
- "hasAssets": true,
104
- "hasScripts": true
110
+ "hasAssets": false,
111
+ "hasScripts": false
105
112
  },
106
113
  "feature-planner": {
107
- "description": "Interactive planning for new apps and incremental features; outputs validated feature-list.json for dev-pipeline.",
114
+ "description": "Plan, append, reprioritize, split, validate, and summarize features for an existing project; outputs validated feature-list.json.",
108
115
  "tier": "companion",
109
116
  "category": "orchestration-skill",
110
117
  "subcategory": "pipelines",
@@ -112,7 +119,7 @@
112
119
  "hasScripts": true
113
120
  },
114
121
  "feature-pipeline-launcher": {
115
- "description": "Launch and manage the dev-pipeline from within an AI CLI session. Start pipeline in background, monitor logs, check status, stop pipeline.",
122
+ "description": "Build feature pipeline start, status, logs, stop, and safe retry commands from a validated feature-list.json without executing them.",
116
123
  "tier": "companion",
117
124
  "category": "orchestration-skill",
118
125
  "subcategory": "pipelines",
@@ -120,7 +127,7 @@
120
127
  "hasScripts": false
121
128
  },
122
129
  "bugfix-pipeline-launcher": {
123
- "description": "Launch and manage the bugfix pipeline from within a CLI session.",
130
+ "description": "Build bugfix pipeline start, status, logs, stop, and safe retry commands from a validated bug-fix-list.json without executing them.",
124
131
  "tier": "companion",
125
132
  "category": "orchestration-skill",
126
133
  "subcategory": "pipelines",
@@ -136,7 +143,7 @@
136
143
  "hasScripts": true
137
144
  },
138
145
  "refactor-pipeline-launcher": {
139
- "description": "Launch and manage the refactor pipeline from within an AI CLI session.",
146
+ "description": "Build refactor pipeline prerequisite, start, status, logs, stop, and safe retry commands from a validated refactor-list.json without executing them.",
140
147
  "tier": "companion",
141
148
  "category": "orchestration-skill",
142
149
  "subcategory": "pipelines",
@@ -144,7 +151,7 @@
144
151
  "hasScripts": false
145
152
  },
146
153
  "bug-fix-workflow": {
147
- "description": "Interactive single-bug fix in current session. Guides triage reproduce fix review commit without background pipeline.",
154
+ "description": "Thin bug scenario router. Performs lightweight diagnosis only to choose direct guidance, bug planning, or command construction from an existing bug list.",
148
155
  "tier": "companion",
149
156
  "category": "orchestration-skill",
150
157
  "subcategory": "workflows",
@@ -152,7 +159,7 @@
152
159
  "hasScripts": false
153
160
  },
154
161
  "recovery-workflow": {
155
- "description": "Recover and resume interrupted feature pipeline sessions. Detects partial work from failed or interrupted sessions and resumes from the correct phase.",
162
+ "description": "Detect whether interrupted work belongs to a direct requirement or autonomous pipeline, select the authoritative owner, and hand off without merging state machines.",
156
163
  "tier": "companion",
157
164
  "category": "orchestration-skill",
158
165
  "subcategory": "workflows",
@@ -165,6 +172,7 @@
165
172
  "description": "All skills: full spec-driven cycle + orchestration + planning + recovery",
166
173
  "skills": [
167
174
  "prizmkit",
175
+ "prizmkit-workflow",
168
176
  "prizmkit-init",
169
177
  "prizmkit-prizm-docs",
170
178
  "prizmkit-plan",
@@ -188,16 +196,45 @@
188
196
  ]
189
197
  },
190
198
  "minimal": {
191
- "description": "Minimal closed-loop workflow: full spec-driven cycle with .prizmkit/prizm-docs/ architecture sync and code review",
199
+ "description": "Minimal single-requirement lifecycle: composite workflow plus all six formal stages and Prizm documentation sync",
200
+ "skills": [
201
+ "prizmkit",
202
+ "prizmkit-workflow",
203
+ "prizmkit-init",
204
+ "prizmkit-prizm-docs",
205
+ "prizmkit-plan",
206
+ "prizmkit-implement",
207
+ "prizmkit-code-review",
208
+ "prizmkit-test",
209
+ "prizmkit-retrospective",
210
+ "prizmkit-committer"
211
+ ]
212
+ },
213
+ "recommended": {
214
+ "description": "Recommended single-requirement lifecycle with optional scenario orchestration; base lifecycle is always complete",
192
215
  "skills": [
193
216
  "prizmkit",
217
+ "prizmkit-workflow",
194
218
  "prizmkit-init",
195
219
  "prizmkit-prizm-docs",
196
220
  "prizmkit-plan",
197
221
  "prizmkit-implement",
198
222
  "prizmkit-code-review",
223
+ "prizmkit-test",
224
+ "prizmkit-retrospective",
199
225
  "prizmkit-committer",
200
- "prizmkit-retrospective"
226
+ "feature-workflow",
227
+ "refactor-workflow",
228
+ "bug-fix-workflow",
229
+ "recovery-workflow",
230
+ "app-planner",
231
+ "feature-planner",
232
+ "bug-planner",
233
+ "refactor-planner",
234
+ "feature-pipeline-launcher",
235
+ "bugfix-pipeline-launcher",
236
+ "refactor-pipeline-launcher",
237
+ "prizmkit-deploy"
201
238
  ]
202
239
  }
203
240
  },
@@ -12,7 +12,7 @@ Plan an application from idea to actionable project context through interactive
12
12
  - Architecture decision capture
13
13
  - Project brief accumulation (`.prizmkit/plans/project-brief.md`)
14
14
 
15
- This skill captures **project-level context only**: vision, tech stack, conventions, architecture decisions, and project brief. It does not do feature decomposition. (See **Scope Boundary** for the authoritative output rules.)
15
+ This skill captures **project-level planning context only**: vision, tech stack, conventions, architecture decisions, and project brief. It defines a new application or completes missing app-level context; it does not decompose features, implement source code, or start execution. (See **Scope Boundary** for the authoritative output rules.)
16
16
 
17
17
  For adding features to an **existing** project that already has a project brief, use `feature-planner` directly.
18
18
 
@@ -27,7 +27,7 @@ If you believe the task is better suited for a different workflow, you MUST:
27
27
 
28
28
  ## Scope Boundary (Hard Rule)
29
29
 
30
- **This skill is PLANNING ONLY.** You must NEVER:
30
+ **This skill is PLANNING ONLY.** It creates or updates only the application-planning artifacts listed below. It must never implement source code or prepare, configure, launch, or monitor an implementation pipeline. You must NEVER:
31
31
  - Create, modify, or delete source code files (*.js, *.ts, *.py, *.go, *.html, *.css, etc.)
32
32
  - Create project scaffolding, directories, or boilerplate (exception: `.prizmkit/rules/` and `.prizmkit/prizm-docs/` directories may be created for dev rules and root.prizm output)
33
33
  - Run build/install/test commands (npm init, pip install, etc.)
@@ -52,8 +52,9 @@ If you believe the task is better suited for a different workflow, you MUST:
52
52
  **After planning is complete**, you MUST:
53
53
  1. Present the summary of captured project-level context (vision, conventions, architecture decisions, project brief)
54
54
  2. List the artifacts produced and suggest possible next steps (e.g., `feature-planner`, `prizmkit-plan`, etc.) — but do NOT auto-invoke any of them
55
- 3. **NEVER auto-execute** the pipeline, feature-planner, or any implementation step
55
+ 3. **NEVER auto-execute** a pipeline, launcher, composite workflow, or any implementation step
56
56
  4. **NEVER generate `feature-list.json`** — that is exclusively `feature-planner`'s responsibility
57
+ 5. Return the completed planning context to the caller. Direct implementation and planned pipeline execution are separate next steps; this planner is not an execution intermediary
57
58
 
58
59
  ## When to Use
59
60