prizmkit 1.1.6 → 1.1.8
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/bundled/VERSION.json +3 -3
- package/bundled/dev-pipeline/README.md +65 -65
- package/bundled/dev-pipeline/assets/feature-list-example.json +2 -2
- package/bundled/dev-pipeline/launch-bugfix-daemon.sh +11 -10
- package/bundled/dev-pipeline/launch-feature-daemon.sh +12 -11
- package/bundled/dev-pipeline/launch-refactor-daemon.sh +11 -10
- package/bundled/dev-pipeline/reset-bug.sh +305 -0
- package/bundled/dev-pipeline/reset-feature.sh +9 -8
- package/bundled/dev-pipeline/reset-refactor.sh +10 -9
- package/bundled/dev-pipeline/retry-bugfix.sh +7 -6
- package/bundled/dev-pipeline/retry-feature.sh +7 -6
- package/bundled/dev-pipeline/retry-refactor.sh +7 -6
- package/bundled/dev-pipeline/run-bugfix.sh +71 -23
- package/bundled/dev-pipeline/run-feature.sh +30 -21
- package/bundled/dev-pipeline/run-refactor.sh +21 -17
- package/bundled/dev-pipeline/scripts/cleanup-logs.py +2 -2
- package/bundled/dev-pipeline/scripts/detect-stuck.py +3 -3
- package/bundled/dev-pipeline/scripts/generate-bootstrap-prompt.py +26 -14
- package/bundled/dev-pipeline/scripts/generate-bugfix-prompt.py +6 -6
- package/bundled/dev-pipeline/scripts/generate-refactor-prompt.py +6 -6
- package/bundled/dev-pipeline/scripts/init-bugfix-pipeline.py +4 -4
- package/bundled/dev-pipeline/scripts/init-pipeline.py +26 -12
- package/bundled/dev-pipeline/scripts/init-refactor-pipeline.py +4 -4
- package/bundled/dev-pipeline/scripts/update-bug-status.py +10 -10
- package/bundled/dev-pipeline/scripts/update-feature-status.py +31 -31
- package/bundled/dev-pipeline/scripts/update-refactor-status.py +8 -8
- package/bundled/dev-pipeline/templates/bug-fix-list-schema.json +111 -31
- package/bundled/dev-pipeline/templates/feature-list-schema.json +91 -25
- package/bundled/dev-pipeline/templates/refactor-list-schema.json +107 -28
- package/bundled/dev-pipeline/tests/test_auto_skip.py +1 -1
- package/bundled/skills/_metadata.json +10 -2
- package/bundled/skills/app-planner/SKILL.md +24 -13
- package/bundled/skills/app-planner/references/project-brief-guide.md +1 -1
- package/bundled/skills/bug-fix-workflow/SKILL.md +7 -5
- package/bundled/skills/bug-planner/SKILL.md +80 -25
- package/bundled/skills/bug-planner/scripts/validate-bug-list.py +3 -3
- package/bundled/skills/bugfix-pipeline-launcher/SKILL.md +38 -33
- package/bundled/skills/feature-pipeline-launcher/SKILL.md +33 -33
- package/bundled/skills/feature-pipeline-launcher/scripts/preflight-check.py +3 -3
- package/bundled/skills/feature-planner/SKILL.md +96 -24
- package/bundled/skills/feature-planner/references/error-recovery.md +9 -9
- package/bundled/skills/feature-planner/scripts/validate-and-generate.py +25 -24
- package/bundled/skills/feature-workflow/SKILL.md +23 -20
- package/bundled/skills/prizmkit-committer/SKILL.md +1 -0
- package/bundled/skills/prizmkit-deploy/SKILL.md +1 -0
- package/bundled/skills/prizmkit-deploy/assets/deploy-template.md +1 -1
- package/bundled/skills/prizmkit-implement/SKILL.md +1 -1
- package/bundled/skills/prizmkit-implement/references/deploy-guide-protocol.md +4 -4
- package/bundled/skills/prizmkit-plan/SKILL.md +3 -3
- package/bundled/skills/prizmkit-retrospective/SKILL.md +40 -3
- package/bundled/skills/prizmkit-verify/SKILL.md +281 -0
- package/bundled/skills/prizmkit-verify/scripts/verify-light.py +402 -0
- package/bundled/skills/recovery-workflow/SKILL.md +15 -14
- package/bundled/skills/recovery-workflow/evals/evals.json +5 -5
- package/bundled/skills/recovery-workflow/scripts/detect-recovery-state.py +43 -10
- package/bundled/skills/refactor-pipeline-launcher/SKILL.md +38 -34
- package/bundled/skills/refactor-planner/SKILL.md +74 -24
- package/bundled/skills/refactor-planner/scripts/validate-and-generate-refactor.py +17 -17
- package/bundled/skills/refactor-workflow/SKILL.md +24 -20
- package/package.json +1 -1
- package/src/clean.js +4 -4
- package/src/gitignore-template.js +7 -8
- package/src/scaffold.js +4 -2
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "Dev-Pipeline Bug Fix List",
|
|
4
|
-
"description": "Schema for bug-fix-list.json
|
|
4
|
+
"description": "Schema for .prizmkit/plans/bug-fix-list.json \u2014 standardized input for the Bug Fix Pipeline",
|
|
5
5
|
"type": "object",
|
|
6
|
-
"required": [
|
|
6
|
+
"required": [
|
|
7
|
+
"$schema",
|
|
8
|
+
"project_name",
|
|
9
|
+
"bugs"
|
|
10
|
+
],
|
|
7
11
|
"properties": {
|
|
8
12
|
"$schema": {
|
|
9
13
|
"type": "string",
|
|
@@ -29,9 +33,14 @@
|
|
|
29
33
|
"items": {
|
|
30
34
|
"type": "object",
|
|
31
35
|
"required": [
|
|
32
|
-
"id",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
36
|
+
"id",
|
|
37
|
+
"title",
|
|
38
|
+
"description",
|
|
39
|
+
"severity",
|
|
40
|
+
"error_source",
|
|
41
|
+
"verification_type",
|
|
42
|
+
"acceptance_criteria",
|
|
43
|
+
"status"
|
|
35
44
|
],
|
|
36
45
|
"properties": {
|
|
37
46
|
"id": {
|
|
@@ -42,7 +51,7 @@
|
|
|
42
51
|
"title": {
|
|
43
52
|
"type": "string",
|
|
44
53
|
"minLength": 1,
|
|
45
|
-
"description": "Bug title
|
|
54
|
+
"description": "Bug title \u2014 brief description of the symptom"
|
|
46
55
|
},
|
|
47
56
|
"description": {
|
|
48
57
|
"type": "string",
|
|
@@ -51,17 +60,29 @@
|
|
|
51
60
|
},
|
|
52
61
|
"severity": {
|
|
53
62
|
"type": "string",
|
|
54
|
-
"enum": [
|
|
63
|
+
"enum": [
|
|
64
|
+
"critical",
|
|
65
|
+
"high",
|
|
66
|
+
"medium",
|
|
67
|
+
"low"
|
|
68
|
+
],
|
|
55
69
|
"description": "critical=crash/data-loss; high=core-feature-broken; medium=workaround-exists; low=cosmetic"
|
|
56
70
|
},
|
|
57
71
|
"priority": {
|
|
58
72
|
"type": "string",
|
|
59
|
-
"enum": [
|
|
60
|
-
|
|
73
|
+
"enum": [
|
|
74
|
+
"critical",
|
|
75
|
+
"high",
|
|
76
|
+
"medium",
|
|
77
|
+
"low"
|
|
78
|
+
],
|
|
79
|
+
"description": "Fix priority. Pipeline processes critical before high before medium before low; within same level, array order determines sequence."
|
|
61
80
|
},
|
|
62
81
|
"error_source": {
|
|
63
82
|
"type": "object",
|
|
64
|
-
"required": [
|
|
83
|
+
"required": [
|
|
84
|
+
"type"
|
|
85
|
+
],
|
|
65
86
|
"description": "Structured error source information extracted from various input formats",
|
|
66
87
|
"properties": {
|
|
67
88
|
"type": {
|
|
@@ -92,7 +113,9 @@
|
|
|
92
113
|
},
|
|
93
114
|
"reproduction_steps": {
|
|
94
115
|
"type": "array",
|
|
95
|
-
"items": {
|
|
116
|
+
"items": {
|
|
117
|
+
"type": "string"
|
|
118
|
+
},
|
|
96
119
|
"description": "User-reported reproduction steps (when type=user_report)"
|
|
97
120
|
}
|
|
98
121
|
}
|
|
@@ -104,28 +127,44 @@
|
|
|
104
127
|
},
|
|
105
128
|
"affected_modules": {
|
|
106
129
|
"type": "array",
|
|
107
|
-
"items": {
|
|
130
|
+
"items": {
|
|
131
|
+
"type": "string"
|
|
132
|
+
},
|
|
108
133
|
"description": "Known affected module names (optional, triage will auto-detect)"
|
|
109
134
|
},
|
|
110
135
|
"environment": {
|
|
111
136
|
"type": "object",
|
|
112
137
|
"description": "Environment where the bug occurs",
|
|
113
138
|
"properties": {
|
|
114
|
-
"os": {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
"
|
|
139
|
+
"os": {
|
|
140
|
+
"type": "string"
|
|
141
|
+
},
|
|
142
|
+
"runtime": {
|
|
143
|
+
"type": "string"
|
|
144
|
+
},
|
|
145
|
+
"browser": {
|
|
146
|
+
"type": "string"
|
|
147
|
+
},
|
|
148
|
+
"version": {
|
|
149
|
+
"type": "string"
|
|
150
|
+
}
|
|
118
151
|
}
|
|
119
152
|
},
|
|
120
153
|
"verification_type": {
|
|
121
154
|
"type": "string",
|
|
122
|
-
"enum": [
|
|
155
|
+
"enum": [
|
|
156
|
+
"automated",
|
|
157
|
+
"manual",
|
|
158
|
+
"hybrid"
|
|
159
|
+
],
|
|
123
160
|
"description": "automated=unit/integration-test; manual=human-UAT; hybrid=both"
|
|
124
161
|
},
|
|
125
162
|
"acceptance_criteria": {
|
|
126
163
|
"type": "array",
|
|
127
164
|
"minItems": 1,
|
|
128
|
-
"items": {
|
|
165
|
+
"items": {
|
|
166
|
+
"type": "string"
|
|
167
|
+
},
|
|
129
168
|
"description": "Conditions that must be met for the bug to be considered fixed"
|
|
130
169
|
},
|
|
131
170
|
"status": {
|
|
@@ -142,6 +181,23 @@
|
|
|
142
181
|
"skipped"
|
|
143
182
|
],
|
|
144
183
|
"description": "Bug fix status, maps to pipeline phases"
|
|
184
|
+
},
|
|
185
|
+
"critic": {
|
|
186
|
+
"type": "boolean",
|
|
187
|
+
"description": "Enable adversarial critic review for this bug fix. Default: true for high severity bugs, false for others.",
|
|
188
|
+
"default": false
|
|
189
|
+
},
|
|
190
|
+
"critic_count": {
|
|
191
|
+
"type": "integer",
|
|
192
|
+
"description": "Number of parallel critic agents. 1 = single critic, 3 = multi-critic voting. Default: 1 for high severity, omit for others.",
|
|
193
|
+
"enum": [
|
|
194
|
+
1,
|
|
195
|
+
3
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
"model": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"description": "AI model ID for this bug fix. Overrides $MODEL env var."
|
|
145
201
|
}
|
|
146
202
|
}
|
|
147
203
|
}
|
|
@@ -150,19 +206,43 @@
|
|
|
150
206
|
"type": "object",
|
|
151
207
|
"description": "Global context for all bug fixes in this batch",
|
|
152
208
|
"properties": {
|
|
153
|
-
"tech_stack": {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
"
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
"
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
"
|
|
163
|
-
|
|
164
|
-
|
|
209
|
+
"tech_stack": {
|
|
210
|
+
"type": "string"
|
|
211
|
+
},
|
|
212
|
+
"language": {
|
|
213
|
+
"type": "string"
|
|
214
|
+
},
|
|
215
|
+
"runtime": {
|
|
216
|
+
"type": "string"
|
|
217
|
+
},
|
|
218
|
+
"frontend_framework": {
|
|
219
|
+
"type": "string"
|
|
220
|
+
},
|
|
221
|
+
"frontend_styling": {
|
|
222
|
+
"type": "string"
|
|
223
|
+
},
|
|
224
|
+
"backend_framework": {
|
|
225
|
+
"type": "string"
|
|
226
|
+
},
|
|
227
|
+
"database": {
|
|
228
|
+
"type": "string"
|
|
229
|
+
},
|
|
230
|
+
"orm": {
|
|
231
|
+
"type": "string"
|
|
232
|
+
},
|
|
233
|
+
"testing_strategy": {
|
|
234
|
+
"type": "string"
|
|
235
|
+
},
|
|
236
|
+
"bundler": {
|
|
237
|
+
"type": "string"
|
|
238
|
+
},
|
|
239
|
+
"project_type": {
|
|
240
|
+
"type": "string"
|
|
241
|
+
},
|
|
242
|
+
"ci_pipeline": {
|
|
243
|
+
"type": "string"
|
|
244
|
+
}
|
|
165
245
|
}
|
|
166
246
|
}
|
|
167
247
|
}
|
|
168
|
-
}
|
|
248
|
+
}
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "Dev-Pipeline Feature List",
|
|
4
|
-
"description": "Schema for .
|
|
4
|
+
"description": "Schema for .prizmkit/plans/feature-list.json",
|
|
5
5
|
"type": "object",
|
|
6
|
-
"required": [
|
|
6
|
+
"required": [
|
|
7
|
+
"$schema",
|
|
8
|
+
"project_name",
|
|
9
|
+
"features"
|
|
10
|
+
],
|
|
7
11
|
"properties": {
|
|
8
12
|
"$schema": {
|
|
9
13
|
"type": "string",
|
|
10
14
|
"const": "dev-pipeline-feature-list-v1"
|
|
11
15
|
},
|
|
12
|
-
"
|
|
16
|
+
"project_name": {
|
|
13
17
|
"type": "string",
|
|
14
18
|
"minLength": 1
|
|
15
19
|
},
|
|
16
|
-
"
|
|
20
|
+
"project_description": {
|
|
17
21
|
"type": "string"
|
|
18
22
|
},
|
|
19
23
|
"created_at": {
|
|
@@ -31,7 +35,15 @@
|
|
|
31
35
|
"minItems": 1,
|
|
32
36
|
"items": {
|
|
33
37
|
"type": "object",
|
|
34
|
-
"required": [
|
|
38
|
+
"required": [
|
|
39
|
+
"id",
|
|
40
|
+
"title",
|
|
41
|
+
"description",
|
|
42
|
+
"priority",
|
|
43
|
+
"dependencies",
|
|
44
|
+
"acceptance_criteria",
|
|
45
|
+
"status"
|
|
46
|
+
],
|
|
35
47
|
"properties": {
|
|
36
48
|
"id": {
|
|
37
49
|
"type": "string",
|
|
@@ -47,12 +59,21 @@
|
|
|
47
59
|
},
|
|
48
60
|
"priority": {
|
|
49
61
|
"type": "string",
|
|
50
|
-
"enum": [
|
|
51
|
-
|
|
62
|
+
"enum": [
|
|
63
|
+
"critical",
|
|
64
|
+
"high",
|
|
65
|
+
"medium",
|
|
66
|
+
"low"
|
|
67
|
+
],
|
|
68
|
+
"description": "Feature priority. Pipeline processes critical before high before medium before low; within same level, array order determines sequence."
|
|
52
69
|
},
|
|
53
70
|
"estimated_complexity": {
|
|
54
71
|
"type": "string",
|
|
55
|
-
"enum": [
|
|
72
|
+
"enum": [
|
|
73
|
+
"low",
|
|
74
|
+
"medium",
|
|
75
|
+
"high"
|
|
76
|
+
]
|
|
56
77
|
},
|
|
57
78
|
"dependencies": {
|
|
58
79
|
"type": "array",
|
|
@@ -70,18 +91,34 @@
|
|
|
70
91
|
},
|
|
71
92
|
"status": {
|
|
72
93
|
"type": "string",
|
|
73
|
-
"enum": [
|
|
94
|
+
"enum": [
|
|
95
|
+
"pending",
|
|
96
|
+
"in_progress",
|
|
97
|
+
"completed",
|
|
98
|
+
"failed",
|
|
99
|
+
"skipped",
|
|
100
|
+
"split",
|
|
101
|
+
"auto_skipped"
|
|
102
|
+
]
|
|
74
103
|
},
|
|
75
104
|
"session_granularity": {
|
|
76
105
|
"type": "string",
|
|
77
|
-
"enum": [
|
|
106
|
+
"enum": [
|
|
107
|
+
"feature",
|
|
108
|
+
"sub_feature",
|
|
109
|
+
"auto"
|
|
110
|
+
],
|
|
78
111
|
"default": "feature"
|
|
79
112
|
},
|
|
80
113
|
"sub_features": {
|
|
81
114
|
"type": "array",
|
|
82
115
|
"items": {
|
|
83
116
|
"type": "object",
|
|
84
|
-
"required": [
|
|
117
|
+
"required": [
|
|
118
|
+
"id",
|
|
119
|
+
"title",
|
|
120
|
+
"description"
|
|
121
|
+
],
|
|
85
122
|
"properties": {
|
|
86
123
|
"id": {
|
|
87
124
|
"type": "string",
|
|
@@ -110,7 +147,10 @@
|
|
|
110
147
|
"critic_count": {
|
|
111
148
|
"type": "integer",
|
|
112
149
|
"description": "Number of parallel critic agents. 1 = single critic, 3 = multi-critic voting. Default: 1.",
|
|
113
|
-
"enum": [
|
|
150
|
+
"enum": [
|
|
151
|
+
1,
|
|
152
|
+
3
|
|
153
|
+
]
|
|
114
154
|
},
|
|
115
155
|
"browser_interaction": {
|
|
116
156
|
"type": "object",
|
|
@@ -137,7 +177,9 @@
|
|
|
137
177
|
"default": true
|
|
138
178
|
}
|
|
139
179
|
},
|
|
140
|
-
"required": [
|
|
180
|
+
"required": [
|
|
181
|
+
"url"
|
|
182
|
+
]
|
|
141
183
|
}
|
|
142
184
|
}
|
|
143
185
|
}
|
|
@@ -145,18 +187,42 @@
|
|
|
145
187
|
"global_context": {
|
|
146
188
|
"type": "object",
|
|
147
189
|
"properties": {
|
|
148
|
-
"tech_stack": {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
"
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
"
|
|
158
|
-
|
|
159
|
-
|
|
190
|
+
"tech_stack": {
|
|
191
|
+
"type": "string"
|
|
192
|
+
},
|
|
193
|
+
"language": {
|
|
194
|
+
"type": "string"
|
|
195
|
+
},
|
|
196
|
+
"runtime": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
},
|
|
199
|
+
"frontend_framework": {
|
|
200
|
+
"type": "string"
|
|
201
|
+
},
|
|
202
|
+
"frontend_styling": {
|
|
203
|
+
"type": "string"
|
|
204
|
+
},
|
|
205
|
+
"backend_framework": {
|
|
206
|
+
"type": "string"
|
|
207
|
+
},
|
|
208
|
+
"database": {
|
|
209
|
+
"type": "string"
|
|
210
|
+
},
|
|
211
|
+
"orm": {
|
|
212
|
+
"type": "string"
|
|
213
|
+
},
|
|
214
|
+
"design_system": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
"testing_strategy": {
|
|
218
|
+
"type": "string"
|
|
219
|
+
},
|
|
220
|
+
"bundler": {
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
"project_type": {
|
|
224
|
+
"type": "string"
|
|
225
|
+
}
|
|
160
226
|
}
|
|
161
227
|
}
|
|
162
228
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "Dev-Pipeline Refactor List",
|
|
4
|
-
"description": "Schema for refactor-list.json
|
|
4
|
+
"description": "Schema for .prizmkit/plans/refactor-list.json \u2014 standardized input for the Refactor Pipeline",
|
|
5
5
|
"type": "object",
|
|
6
|
-
"required": [
|
|
6
|
+
"required": [
|
|
7
|
+
"$schema",
|
|
8
|
+
"project_name",
|
|
9
|
+
"refactors"
|
|
10
|
+
],
|
|
7
11
|
"properties": {
|
|
8
12
|
"$schema": {
|
|
9
13
|
"type": "string",
|
|
@@ -29,9 +33,17 @@
|
|
|
29
33
|
"items": {
|
|
30
34
|
"type": "object",
|
|
31
35
|
"required": [
|
|
32
|
-
"id",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
36
|
+
"id",
|
|
37
|
+
"title",
|
|
38
|
+
"description",
|
|
39
|
+
"scope",
|
|
40
|
+
"type",
|
|
41
|
+
"priority",
|
|
42
|
+
"complexity",
|
|
43
|
+
"behavior_preservation",
|
|
44
|
+
"acceptance_criteria",
|
|
45
|
+
"dependencies",
|
|
46
|
+
"status"
|
|
35
47
|
],
|
|
36
48
|
"properties": {
|
|
37
49
|
"id": {
|
|
@@ -42,7 +54,7 @@
|
|
|
42
54
|
"title": {
|
|
43
55
|
"type": "string",
|
|
44
56
|
"minLength": 1,
|
|
45
|
-
"description": "Refactor title
|
|
57
|
+
"description": "Refactor title \u2014 brief description of the change"
|
|
46
58
|
},
|
|
47
59
|
"description": {
|
|
48
60
|
"type": "string",
|
|
@@ -55,39 +67,65 @@
|
|
|
55
67
|
"properties": {
|
|
56
68
|
"files": {
|
|
57
69
|
"type": "array",
|
|
58
|
-
"items": {
|
|
70
|
+
"items": {
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
59
73
|
"description": "File paths affected by this refactor"
|
|
60
74
|
},
|
|
61
75
|
"modules": {
|
|
62
76
|
"type": "array",
|
|
63
|
-
"items": {
|
|
77
|
+
"items": {
|
|
78
|
+
"type": "string"
|
|
79
|
+
},
|
|
64
80
|
"description": "Module names affected by this refactor"
|
|
65
81
|
}
|
|
66
82
|
}
|
|
67
83
|
},
|
|
68
84
|
"type": {
|
|
69
85
|
"type": "string",
|
|
70
|
-
"enum": [
|
|
86
|
+
"enum": [
|
|
87
|
+
"extract",
|
|
88
|
+
"rename",
|
|
89
|
+
"restructure",
|
|
90
|
+
"simplify",
|
|
91
|
+
"decouple",
|
|
92
|
+
"migrate"
|
|
93
|
+
],
|
|
71
94
|
"description": "extract=extract-function/module; rename=rename-symbols; restructure=move/reorganize; simplify=reduce-complexity; decouple=remove-dependencies; migrate=tech-migration"
|
|
72
95
|
},
|
|
73
96
|
"priority": {
|
|
74
97
|
"type": "string",
|
|
75
|
-
"enum": [
|
|
98
|
+
"enum": [
|
|
99
|
+
"critical",
|
|
100
|
+
"high",
|
|
101
|
+
"medium",
|
|
102
|
+
"low"
|
|
103
|
+
],
|
|
76
104
|
"description": "Refactor priority. Pipeline processes critical before high before medium before low; within same level, array order determines sequence."
|
|
77
105
|
},
|
|
78
106
|
"complexity": {
|
|
79
107
|
"type": "string",
|
|
80
|
-
"enum": [
|
|
108
|
+
"enum": [
|
|
109
|
+
"low",
|
|
110
|
+
"medium",
|
|
111
|
+
"high"
|
|
112
|
+
],
|
|
81
113
|
"description": "Estimated complexity of the refactor"
|
|
82
114
|
},
|
|
83
115
|
"behavior_preservation": {
|
|
84
116
|
"type": "object",
|
|
85
|
-
"required": [
|
|
117
|
+
"required": [
|
|
118
|
+
"strategy"
|
|
119
|
+
],
|
|
86
120
|
"description": "Strategy for ensuring no behavior changes",
|
|
87
121
|
"properties": {
|
|
88
122
|
"strategy": {
|
|
89
123
|
"type": "string",
|
|
90
|
-
"enum": [
|
|
124
|
+
"enum": [
|
|
125
|
+
"test-gate",
|
|
126
|
+
"snapshot",
|
|
127
|
+
"manual"
|
|
128
|
+
],
|
|
91
129
|
"description": "test-gate=existing-tests-must-pass; snapshot=before/after-snapshot-comparison; manual=human-verification"
|
|
92
130
|
},
|
|
93
131
|
"existing_tests": {
|
|
@@ -96,7 +134,9 @@
|
|
|
96
134
|
},
|
|
97
135
|
"new_tests_needed": {
|
|
98
136
|
"type": "array",
|
|
99
|
-
"items": {
|
|
137
|
+
"items": {
|
|
138
|
+
"type": "string"
|
|
139
|
+
},
|
|
100
140
|
"description": "New tests that should be written before refactoring"
|
|
101
141
|
}
|
|
102
142
|
}
|
|
@@ -104,7 +144,9 @@
|
|
|
104
144
|
"acceptance_criteria": {
|
|
105
145
|
"type": "array",
|
|
106
146
|
"minItems": 1,
|
|
107
|
-
"items": {
|
|
147
|
+
"items": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
},
|
|
108
150
|
"description": "Conditions that must be met for the refactor to be considered complete"
|
|
109
151
|
},
|
|
110
152
|
"dependencies": {
|
|
@@ -133,6 +175,19 @@
|
|
|
133
175
|
"estimated_lines": {
|
|
134
176
|
"type": "integer",
|
|
135
177
|
"description": "Estimated number of lines affected by this refactor"
|
|
178
|
+
},
|
|
179
|
+
"critic": {
|
|
180
|
+
"type": "boolean",
|
|
181
|
+
"description": "Enable adversarial critic review for this refactor. Default: true for critical/high priority refactors, false for others.",
|
|
182
|
+
"default": false
|
|
183
|
+
},
|
|
184
|
+
"critic_count": {
|
|
185
|
+
"type": "integer",
|
|
186
|
+
"description": "Number of parallel critic agents. 1 = single critic, 3 = multi-critic voting. Default: 3 for critical, 1 for high, omit for others.",
|
|
187
|
+
"enum": [
|
|
188
|
+
1,
|
|
189
|
+
3
|
|
190
|
+
]
|
|
136
191
|
}
|
|
137
192
|
}
|
|
138
193
|
}
|
|
@@ -141,19 +196,43 @@
|
|
|
141
196
|
"type": "object",
|
|
142
197
|
"description": "Global context for all refactors in this batch",
|
|
143
198
|
"properties": {
|
|
144
|
-
"tech_stack": {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
"
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
"
|
|
154
|
-
|
|
155
|
-
|
|
199
|
+
"tech_stack": {
|
|
200
|
+
"type": "string"
|
|
201
|
+
},
|
|
202
|
+
"language": {
|
|
203
|
+
"type": "string"
|
|
204
|
+
},
|
|
205
|
+
"runtime": {
|
|
206
|
+
"type": "string"
|
|
207
|
+
},
|
|
208
|
+
"frontend_framework": {
|
|
209
|
+
"type": "string"
|
|
210
|
+
},
|
|
211
|
+
"frontend_styling": {
|
|
212
|
+
"type": "string"
|
|
213
|
+
},
|
|
214
|
+
"backend_framework": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
"database": {
|
|
218
|
+
"type": "string"
|
|
219
|
+
},
|
|
220
|
+
"orm": {
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
"testing_strategy": {
|
|
224
|
+
"type": "string"
|
|
225
|
+
},
|
|
226
|
+
"bundler": {
|
|
227
|
+
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
"project_type": {
|
|
230
|
+
"type": "string"
|
|
231
|
+
},
|
|
232
|
+
"ci_pipeline": {
|
|
233
|
+
"type": "string"
|
|
234
|
+
}
|
|
156
235
|
}
|
|
157
236
|
}
|
|
158
237
|
}
|
|
159
|
-
}
|
|
238
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.1.
|
|
2
|
+
"version": "1.1.8",
|
|
3
3
|
"skills": {
|
|
4
4
|
"prizm-kit": {
|
|
5
5
|
"description": "Full-lifecycle dev toolkit. Covers spec-driven development, Prizm context docs, code quality, debugging, deployment, and knowledge management.",
|
|
@@ -71,6 +71,13 @@
|
|
|
71
71
|
"hasAssets": true,
|
|
72
72
|
"hasScripts": false
|
|
73
73
|
},
|
|
74
|
+
"prizmkit-verify": {
|
|
75
|
+
"description": "Automated framework verification for PrizmKit's 4-layer architecture. Checks structural integrity, contract consistency, and cross-scenario alignment.",
|
|
76
|
+
"tier": "1",
|
|
77
|
+
"category": "prizmkit-skill",
|
|
78
|
+
"hasAssets": false,
|
|
79
|
+
"hasScripts": true
|
|
80
|
+
},
|
|
74
81
|
"feature-workflow": {
|
|
75
82
|
"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.",
|
|
76
83
|
"tier": "companion",
|
|
@@ -184,7 +191,8 @@
|
|
|
184
191
|
"refactor-planner",
|
|
185
192
|
"refactor-pipeline-launcher",
|
|
186
193
|
"bug-fix-workflow",
|
|
187
|
-
"recovery-workflow"
|
|
194
|
+
"recovery-workflow",
|
|
195
|
+
"prizmkit-verify"
|
|
188
196
|
]
|
|
189
197
|
},
|
|
190
198
|
"minimal": {
|