prizmkit 1.1.100 → 1.1.101

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 (309) hide show
  1. package/bin/create-prizmkit.js +4 -4
  2. package/bundled/VERSION.json +3 -3
  3. package/bundled/dev-pipeline/.env.example +3 -3
  4. package/bundled/dev-pipeline/README.md +110 -90
  5. package/bundled/dev-pipeline/assets/prizm-dev-team-integration.md +1 -1
  6. package/bundled/dev-pipeline/cli.py +27 -0
  7. package/bundled/dev-pipeline/prizmkit_runtime/__init__.py +13 -0
  8. package/bundled/dev-pipeline/prizmkit_runtime/__main__.py +9 -0
  9. package/bundled/dev-pipeline/prizmkit_runtime/cli.py +193 -0
  10. package/bundled/dev-pipeline/prizmkit_runtime/commands.py +313 -0
  11. package/bundled/dev-pipeline/prizmkit_runtime/compat.py +32 -0
  12. package/bundled/dev-pipeline/prizmkit_runtime/config.py +410 -0
  13. package/bundled/dev-pipeline/prizmkit_runtime/daemon.py +478 -0
  14. package/bundled/dev-pipeline/prizmkit_runtime/gitops.py +734 -0
  15. package/bundled/dev-pipeline/prizmkit_runtime/heartbeat.py +256 -0
  16. package/bundled/dev-pipeline/prizmkit_runtime/interoperability.py +109 -0
  17. package/bundled/dev-pipeline/prizmkit_runtime/paths.py +110 -0
  18. package/bundled/dev-pipeline/prizmkit_runtime/processes.py +373 -0
  19. package/bundled/dev-pipeline/prizmkit_runtime/reset.py +389 -0
  20. package/bundled/dev-pipeline/prizmkit_runtime/runner_bookkeeping.py +51 -0
  21. package/bundled/dev-pipeline/prizmkit_runtime/runner_classification.py +179 -0
  22. package/bundled/dev-pipeline/prizmkit_runtime/runner_models.py +345 -0
  23. package/bundled/dev-pipeline/prizmkit_runtime/runner_prompts.py +118 -0
  24. package/bundled/dev-pipeline/prizmkit_runtime/runner_recovery.py +187 -0
  25. package/bundled/dev-pipeline/prizmkit_runtime/runner_status.py +147 -0
  26. package/bundled/dev-pipeline/prizmkit_runtime/runners.py +422 -0
  27. package/bundled/dev-pipeline/prizmkit_runtime/sessions.py +552 -0
  28. package/bundled/dev-pipeline/prizmkit_runtime/status.py +71 -0
  29. package/bundled/dev-pipeline/scripts/generate-bootstrap-prompt.py +38 -23
  30. package/bundled/dev-pipeline/scripts/generate-bugfix-prompt.py +20 -5
  31. package/bundled/dev-pipeline/scripts/generate-recovery-prompt.py +2 -2
  32. package/bundled/dev-pipeline/scripts/parse-stream-progress.py +39 -0
  33. package/bundled/dev-pipeline/templates/agent-prompts/dev-implement.md +7 -1
  34. package/bundled/dev-pipeline/templates/bootstrap-prompt.md +4 -0
  35. package/bundled/dev-pipeline/templates/bootstrap-tier1.md +12 -3
  36. package/bundled/dev-pipeline/templates/bootstrap-tier2.md +13 -3
  37. package/bundled/dev-pipeline/templates/bootstrap-tier3.md +13 -3
  38. package/bundled/dev-pipeline/templates/sections/context-budget-rules.md +2 -0
  39. package/bundled/dev-pipeline/templates/sections/log-size-awareness.md +9 -30
  40. package/bundled/dev-pipeline/templates/sections/phase-context-snapshot-agent-suffix.md +15 -7
  41. package/bundled/dev-pipeline/templates/sections/phase-implement-agent.md +42 -29
  42. package/bundled/dev-pipeline/templates/sections/phase-implement-full.md +41 -39
  43. package/bundled/dev-pipeline/templates/sections/test-failure-recovery-agent.md +4 -0
  44. package/bundled/dev-pipeline/templates/sections/test-failure-recovery-lite.md +4 -0
  45. package/bundled/dev-pipeline/tests/test_auto_skip.py +436 -14
  46. package/bundled/dev-pipeline/tests/test_generate_bootstrap_prompt.py +104 -0
  47. package/bundled/dev-pipeline/tests/test_generate_bugfix_prompt.py +40 -0
  48. package/bundled/dev-pipeline/tests/test_python_runner_parity.py +1138 -0
  49. package/bundled/dev-pipeline/tests/test_unified_cli.py +1045 -0
  50. package/bundled/skills/_metadata.json +1 -1
  51. package/bundled/skills/bugfix-pipeline-launcher/SKILL.md +29 -34
  52. package/bundled/skills/bugfix-pipeline-launcher/references/configuration.md +6 -5
  53. package/bundled/skills/feature-pipeline-launcher/SKILL.md +29 -35
  54. package/bundled/skills/feature-pipeline-launcher/references/configuration.md +7 -6
  55. package/bundled/skills/feature-workflow/SKILL.md +3 -6
  56. package/bundled/skills/recovery-workflow/SKILL.md +23 -32
  57. package/bundled/skills/refactor-pipeline-launcher/SKILL.md +29 -35
  58. package/bundled/skills/refactor-pipeline-launcher/references/configuration.md +7 -6
  59. package/bundled/skills/refactor-workflow/SKILL.md +3 -6
  60. package/bundled/templates/hooks/commit-intent.json +2 -2
  61. package/bundled/templates/hooks/diff-prizm-docs.py +226 -0
  62. package/bundled/templates/hooks/prizm-pre-commit.py +45 -0
  63. package/bundled/templates/hooks/validate-prizm-docs.py +240 -0
  64. package/package.json +1 -1
  65. package/src/config.js +33 -12
  66. package/src/index.js +3 -6
  67. package/src/manifest.js +3 -2
  68. package/src/metadata.js +7 -18
  69. package/src/prompts.js +0 -12
  70. package/src/runtimes.js +18 -11
  71. package/src/scaffold.js +133 -116
  72. package/src/upgrade.js +1 -1
  73. package/bundled/dev-pipeline/launch-bugfix-daemon.sh +0 -500
  74. package/bundled/dev-pipeline/launch-feature-daemon.sh +0 -657
  75. package/bundled/dev-pipeline/launch-refactor-daemon.sh +0 -502
  76. package/bundled/dev-pipeline/lib/branch.sh +0 -326
  77. package/bundled/dev-pipeline/lib/common.sh +0 -1476
  78. package/bundled/dev-pipeline/lib/heartbeat.sh +0 -469
  79. package/bundled/dev-pipeline/reset-bug.sh +0 -425
  80. package/bundled/dev-pipeline/reset-feature.sh +0 -436
  81. package/bundled/dev-pipeline/reset-refactor.sh +0 -423
  82. package/bundled/dev-pipeline/run-bugfix.sh +0 -1430
  83. package/bundled/dev-pipeline/run-feature.sh +0 -1718
  84. package/bundled/dev-pipeline/run-recovery.sh +0 -648
  85. package/bundled/dev-pipeline/run-refactor.sh +0 -1463
  86. package/bundled/dev-pipeline/tests/test-path-resolution.sh +0 -100
  87. package/bundled/dev-pipeline-windows/.env.example +0 -36
  88. package/bundled/dev-pipeline-windows/README.md +0 -30
  89. package/bundled/dev-pipeline-windows/SCHEMA_ANALYSIS.md +0 -533
  90. package/bundled/dev-pipeline-windows/assets/feature-list-example.json +0 -146
  91. package/bundled/dev-pipeline-windows/assets/prizm-dev-team-integration.md +0 -137
  92. package/bundled/dev-pipeline-windows/launch-bugfix-daemon.ps1 +0 -9
  93. package/bundled/dev-pipeline-windows/launch-feature-daemon.ps1 +0 -9
  94. package/bundled/dev-pipeline-windows/launch-refactor-daemon.ps1 +0 -9
  95. package/bundled/dev-pipeline-windows/lib/branch.ps1 +0 -235
  96. package/bundled/dev-pipeline-windows/lib/common.ps1 +0 -991
  97. package/bundled/dev-pipeline-windows/lib/daemon.ps1 +0 -140
  98. package/bundled/dev-pipeline-windows/lib/pipeline.ps1 +0 -1051
  99. package/bundled/dev-pipeline-windows/lib/reset.ps1 +0 -121
  100. package/bundled/dev-pipeline-windows/reset-bug.ps1 +0 -10
  101. package/bundled/dev-pipeline-windows/reset-feature.ps1 +0 -10
  102. package/bundled/dev-pipeline-windows/reset-refactor.ps1 +0 -10
  103. package/bundled/dev-pipeline-windows/run-bugfix.ps1 +0 -9
  104. package/bundled/dev-pipeline-windows/run-feature.ps1 +0 -9
  105. package/bundled/dev-pipeline-windows/run-recovery.ps1 +0 -179
  106. package/bundled/dev-pipeline-windows/run-refactor.ps1 +0 -9
  107. package/bundled/dev-pipeline-windows/scripts/check-session-status.py +0 -301
  108. package/bundled/dev-pipeline-windows/scripts/continuation.py +0 -374
  109. package/bundled/dev-pipeline-windows/scripts/detect-stuck.py +0 -530
  110. package/bundled/dev-pipeline-windows/scripts/generate-bootstrap-prompt.py +0 -2279
  111. package/bundled/dev-pipeline-windows/scripts/generate-bugfix-prompt.py +0 -763
  112. package/bundled/dev-pipeline-windows/scripts/generate-recovery-prompt.py +0 -805
  113. package/bundled/dev-pipeline-windows/scripts/generate-refactor-prompt.py +0 -841
  114. package/bundled/dev-pipeline-windows/scripts/init-bugfix-pipeline.py +0 -316
  115. package/bundled/dev-pipeline-windows/scripts/init-dev-team.py +0 -134
  116. package/bundled/dev-pipeline-windows/scripts/init-pipeline.py +0 -382
  117. package/bundled/dev-pipeline-windows/scripts/init-refactor-pipeline.py +0 -399
  118. package/bundled/dev-pipeline-windows/scripts/parse-stream-progress.py +0 -1362
  119. package/bundled/dev-pipeline-windows/scripts/patch-completion-notes.py +0 -191
  120. package/bundled/dev-pipeline-windows/scripts/prizmkit-test-gate.py +0 -446
  121. package/bundled/dev-pipeline-windows/scripts/update-bug-status.py +0 -1121
  122. package/bundled/dev-pipeline-windows/scripts/update-checkpoint.py +0 -173
  123. package/bundled/dev-pipeline-windows/scripts/update-feature-status.py +0 -1789
  124. package/bundled/dev-pipeline-windows/scripts/update-refactor-status.py +0 -1327
  125. package/bundled/dev-pipeline-windows/scripts/utils.py +0 -542
  126. package/bundled/dev-pipeline-windows/templates/agent-prompts/critic-plan-challenge.md +0 -7
  127. package/bundled/dev-pipeline-windows/templates/agent-prompts/dev-fix.md +0 -7
  128. package/bundled/dev-pipeline-windows/templates/agent-prompts/dev-implement.md +0 -65
  129. package/bundled/dev-pipeline-windows/templates/agent-prompts/dev-resume.md +0 -5
  130. package/bundled/dev-pipeline-windows/templates/agent-prompts/reviewer-review.md +0 -7
  131. package/bundled/dev-pipeline-windows/templates/bootstrap-prompt.md +0 -73
  132. package/bundled/dev-pipeline-windows/templates/bootstrap-tier1.md +0 -589
  133. package/bundled/dev-pipeline-windows/templates/bootstrap-tier2.md +0 -710
  134. package/bundled/dev-pipeline-windows/templates/bootstrap-tier3.md +0 -791
  135. package/bundled/dev-pipeline-windows/templates/bug-fix-list-schema.json +0 -263
  136. package/bundled/dev-pipeline-windows/templates/bugfix-bootstrap-prompt.md +0 -326
  137. package/bundled/dev-pipeline-windows/templates/feature-list-schema.json +0 -237
  138. package/bundled/dev-pipeline-windows/templates/refactor-bootstrap-prompt.md +0 -340
  139. package/bundled/dev-pipeline-windows/templates/refactor-list-schema.json +0 -270
  140. package/bundled/dev-pipeline-windows/templates/sections/ac-verification-checklist.md +0 -7
  141. package/bundled/dev-pipeline-windows/templates/sections/checkpoint-system.md +0 -91
  142. package/bundled/dev-pipeline-windows/templates/sections/context-budget-rules.md +0 -34
  143. package/bundled/dev-pipeline-windows/templates/sections/critical-paths-agent.md +0 -10
  144. package/bundled/dev-pipeline-windows/templates/sections/critical-paths-full.md +0 -12
  145. package/bundled/dev-pipeline-windows/templates/sections/critical-paths-lite.md +0 -7
  146. package/bundled/dev-pipeline-windows/templates/sections/directory-convention-agent.md +0 -8
  147. package/bundled/dev-pipeline-windows/templates/sections/directory-convention-full.md +0 -9
  148. package/bundled/dev-pipeline-windows/templates/sections/directory-convention-lite.md +0 -6
  149. package/bundled/dev-pipeline-windows/templates/sections/failure-capture.md +0 -21
  150. package/bundled/dev-pipeline-windows/templates/sections/feature-context.md +0 -21
  151. package/bundled/dev-pipeline-windows/templates/sections/log-size-awareness.md +0 -41
  152. package/bundled/dev-pipeline-windows/templates/sections/phase-browser-verification-auto.md +0 -283
  153. package/bundled/dev-pipeline-windows/templates/sections/phase-browser-verification-opencli.md +0 -112
  154. package/bundled/dev-pipeline-windows/templates/sections/phase-browser-verification.md +0 -168
  155. package/bundled/dev-pipeline-windows/templates/sections/phase-commit-full.md +0 -82
  156. package/bundled/dev-pipeline-windows/templates/sections/phase-commit.md +0 -75
  157. package/bundled/dev-pipeline-windows/templates/sections/phase-context-snapshot-agent-suffix.md +0 -23
  158. package/bundled/dev-pipeline-windows/templates/sections/phase-context-snapshot-base.md +0 -14
  159. package/bundled/dev-pipeline-windows/templates/sections/phase-context-snapshot-lite-suffix.md +0 -19
  160. package/bundled/dev-pipeline-windows/templates/sections/phase-critic-plan-full.md +0 -63
  161. package/bundled/dev-pipeline-windows/templates/sections/phase-critic-plan.md +0 -42
  162. package/bundled/dev-pipeline-windows/templates/sections/phase-implement-agent.md +0 -44
  163. package/bundled/dev-pipeline-windows/templates/sections/phase-implement-full.md +0 -59
  164. package/bundled/dev-pipeline-windows/templates/sections/phase-implement-lite.md +0 -39
  165. package/bundled/dev-pipeline-windows/templates/sections/phase-plan-agent.md +0 -27
  166. package/bundled/dev-pipeline-windows/templates/sections/phase-plan-lite.md +0 -27
  167. package/bundled/dev-pipeline-windows/templates/sections/phase-prizmkit-test.md +0 -39
  168. package/bundled/dev-pipeline-windows/templates/sections/phase-review-agent.md +0 -35
  169. package/bundled/dev-pipeline-windows/templates/sections/phase-review-full.md +0 -35
  170. package/bundled/dev-pipeline-windows/templates/sections/phase-specify-plan-full.md +0 -73
  171. package/bundled/dev-pipeline-windows/templates/sections/phase0-init.md +0 -13
  172. package/bundled/dev-pipeline-windows/templates/sections/phase0-test-baseline.md +0 -21
  173. package/bundled/dev-pipeline-windows/templates/sections/session-context.md +0 -5
  174. package/bundled/dev-pipeline-windows/templates/sections/subagent-timeout-recovery.md +0 -6
  175. package/bundled/dev-pipeline-windows/templates/sections/task-contract.md +0 -34
  176. package/bundled/dev-pipeline-windows/templates/sections/test-failure-recovery-agent.md +0 -48
  177. package/bundled/dev-pipeline-windows/templates/sections/test-failure-recovery-lite.md +0 -48
  178. package/bundled/dev-pipeline-windows/templates/session-status-schema.json +0 -83
  179. package/bundled/skills-windows/app-planner/SKILL.md +0 -296
  180. package/bundled/skills-windows/app-planner/assets/app-design-guide.md +0 -101
  181. package/bundled/skills-windows/app-planner/references/architecture-decisions.md +0 -52
  182. package/bundled/skills-windows/app-planner/references/brainstorm-guide.md +0 -101
  183. package/bundled/skills-windows/app-planner/references/frontend-design-guide.md +0 -71
  184. package/bundled/skills-windows/app-planner/references/infrastructure-convention-discovery.md +0 -108
  185. package/bundled/skills-windows/app-planner/references/project-brief-guide.md +0 -82
  186. package/bundled/skills-windows/app-planner/references/project-conventions-discovery.md +0 -59
  187. package/bundled/skills-windows/app-planner/references/project-state-detection.md +0 -90
  188. package/bundled/skills-windows/app-planner/references/red-team-checklist.md +0 -40
  189. package/bundled/skills-windows/app-planner/references/rules/backend/derivation-rules.md +0 -619
  190. package/bundled/skills-windows/app-planner/references/rules/backend/fixed-rules.md +0 -285
  191. package/bundled/skills-windows/app-planner/references/rules/backend/question-bank.md +0 -249
  192. package/bundled/skills-windows/app-planner/references/rules/backend/question-manifest.json +0 -46
  193. package/bundled/skills-windows/app-planner/references/rules/backend/template.md +0 -173
  194. package/bundled/skills-windows/app-planner/references/rules/database/derivation-rules.md +0 -382
  195. package/bundled/skills-windows/app-planner/references/rules/database/fixed-rules.md +0 -211
  196. package/bundled/skills-windows/app-planner/references/rules/database/question-bank.md +0 -184
  197. package/bundled/skills-windows/app-planner/references/rules/database/question-manifest.json +0 -39
  198. package/bundled/skills-windows/app-planner/references/rules/database/template.md +0 -158
  199. package/bundled/skills-windows/app-planner/references/rules/frontend/derivation-rules.md +0 -820
  200. package/bundled/skills-windows/app-planner/references/rules/frontend/fixed-rules.md +0 -188
  201. package/bundled/skills-windows/app-planner/references/rules/frontend/question-bank.md +0 -319
  202. package/bundled/skills-windows/app-planner/references/rules/frontend/question-manifest.json +0 -51
  203. package/bundled/skills-windows/app-planner/references/rules/frontend/template.md +0 -339
  204. package/bundled/skills-windows/app-planner/references/rules/mobile/derivation-rules.md +0 -649
  205. package/bundled/skills-windows/app-planner/references/rules/mobile/fixed-rules.md +0 -290
  206. package/bundled/skills-windows/app-planner/references/rules/mobile/question-bank.md +0 -232
  207. package/bundled/skills-windows/app-planner/references/rules/mobile/question-manifest.json +0 -47
  208. package/bundled/skills-windows/app-planner/references/rules/mobile/template.md +0 -175
  209. package/bundled/skills-windows/app-planner/references/rules-configuration.md +0 -46
  210. package/bundled/skills-windows/bug-fix-workflow/SKILL.md +0 -379
  211. package/bundled/skills-windows/bug-fix-workflow/references/bug-diagnosis.md +0 -41
  212. package/bundled/skills-windows/bug-planner/SKILL.md +0 -402
  213. package/bundled/skills-windows/bug-planner/assets/bug-confirmation-template.md +0 -43
  214. package/bundled/skills-windows/bug-planner/references/critic-and-verification.md +0 -44
  215. package/bundled/skills-windows/bug-planner/references/error-recovery.md +0 -73
  216. package/bundled/skills-windows/bug-planner/references/input-formats.md +0 -53
  217. package/bundled/skills-windows/bug-planner/references/schema-validation.md +0 -25
  218. package/bundled/skills-windows/bug-planner/references/severity-rules.md +0 -16
  219. package/bundled/skills-windows/bug-planner/scripts/validate-bug-list.py +0 -322
  220. package/bundled/skills-windows/bugfix-pipeline-launcher/SKILL.md +0 -304
  221. package/bundled/skills-windows/bugfix-pipeline-launcher/references/configuration.md +0 -84
  222. package/bundled/skills-windows/feature-pipeline-launcher/SKILL.md +0 -381
  223. package/bundled/skills-windows/feature-pipeline-launcher/references/configuration.md +0 -67
  224. package/bundled/skills-windows/feature-pipeline-launcher/scripts/preflight-check.py +0 -462
  225. package/bundled/skills-windows/feature-planner/SKILL.md +0 -397
  226. package/bundled/skills-windows/feature-planner/assets/evaluation-guide.md +0 -64
  227. package/bundled/skills-windows/feature-planner/assets/planning-guide.md +0 -214
  228. package/bundled/skills-windows/feature-planner/references/browser-interaction.md +0 -59
  229. package/bundled/skills-windows/feature-planner/references/completeness-review.md +0 -57
  230. package/bundled/skills-windows/feature-planner/references/decomposition-patterns.md +0 -75
  231. package/bundled/skills-windows/feature-planner/references/error-recovery.md +0 -90
  232. package/bundled/skills-windows/feature-planner/references/incremental-feature-planning.md +0 -112
  233. package/bundled/skills-windows/feature-planner/references/new-project-planning.md +0 -85
  234. package/bundled/skills-windows/feature-planner/scripts/validate-and-generate.py +0 -1020
  235. package/bundled/skills-windows/feature-workflow/SKILL.md +0 -374
  236. package/bundled/skills-windows/feature-workflow/references/brainstorm-guide.md +0 -137
  237. package/bundled/skills-windows/prizm-kit/SKILL.md +0 -93
  238. package/bundled/skills-windows/prizmkit-code-review/SKILL.md +0 -161
  239. package/bundled/skills-windows/prizmkit-code-review/references/dev-agent-prompt.md +0 -30
  240. package/bundled/skills-windows/prizmkit-code-review/references/review-report-template.md +0 -31
  241. package/bundled/skills-windows/prizmkit-code-review/references/reviewer-agent-prompt.md +0 -66
  242. package/bundled/skills-windows/prizmkit-code-review/scripts/check_loop.py +0 -186
  243. package/bundled/skills-windows/prizmkit-committer/SKILL.md +0 -89
  244. package/bundled/skills-windows/prizmkit-deploy/SKILL.md +0 -444
  245. package/bundled/skills-windows/prizmkit-deploy/references/ci-cd-workflows.md +0 -115
  246. package/bundled/skills-windows/prizmkit-deploy/references/cloud-platform-deploy.md +0 -93
  247. package/bundled/skills-windows/prizmkit-deploy/references/data-safety-examples.md +0 -120
  248. package/bundled/skills-windows/prizmkit-deploy/references/database-setup.md +0 -46
  249. package/bundled/skills-windows/prizmkit-deploy/references/deploy-config-schema.md +0 -148
  250. package/bundled/skills-windows/prizmkit-deploy/references/deploy-history-schema.md +0 -62
  251. package/bundled/skills-windows/prizmkit-deploy/references/deployment-modes.md +0 -50
  252. package/bundled/skills-windows/prizmkit-deploy/references/direct-upload.md +0 -26
  253. package/bundled/skills-windows/prizmkit-deploy/references/dns-setup.md +0 -42
  254. package/bundled/skills-windows/prizmkit-deploy/references/docker-deploy.md +0 -31
  255. package/bundled/skills-windows/prizmkit-deploy/references/firewall-setup.md +0 -37
  256. package/bundled/skills-windows/prizmkit-deploy/references/live-validation-notes.md +0 -21
  257. package/bundled/skills-windows/prizmkit-deploy/references/nginx-blue-green.md +0 -59
  258. package/bundled/skills-windows/prizmkit-deploy/references/ssh-bootstrap-flow.md +0 -49
  259. package/bundled/skills-windows/prizmkit-deploy/references/ssh-execution-flow.md +0 -41
  260. package/bundled/skills-windows/prizmkit-deploy/references/ssh-takeover.md +0 -20
  261. package/bundled/skills-windows/prizmkit-deploy/references/ssl-setup.md +0 -56
  262. package/bundled/skills-windows/prizmkit-implement/SKILL.md +0 -71
  263. package/bundled/skills-windows/prizmkit-init/SKILL.md +0 -356
  264. package/bundled/skills-windows/prizmkit-init/assets/project-brief-template.md +0 -82
  265. package/bundled/skills-windows/prizmkit-init/references/config-schema.md +0 -70
  266. package/bundled/skills-windows/prizmkit-init/references/rules/layer-detection.md +0 -41
  267. package/bundled/skills-windows/prizmkit-init/references/tech-stack-catalog.md +0 -13
  268. package/bundled/skills-windows/prizmkit-init/references/update-supplement.md +0 -9
  269. package/bundled/skills-windows/prizmkit-plan/SKILL.md +0 -102
  270. package/bundled/skills-windows/prizmkit-plan/assets/plan-template.md +0 -115
  271. package/bundled/skills-windows/prizmkit-plan/assets/spec-template.md +0 -73
  272. package/bundled/skills-windows/prizmkit-plan/references/clarify-guide.md +0 -67
  273. package/bundled/skills-windows/prizmkit-plan/references/examples.md +0 -85
  274. package/bundled/skills-windows/prizmkit-plan/references/verification-checklist.md +0 -60
  275. package/bundled/skills-windows/prizmkit-prizm-docs/SKILL.md +0 -129
  276. package/bundled/skills-windows/prizmkit-prizm-docs/assets/prizm-docs-format.md +0 -613
  277. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-init.md +0 -45
  278. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-rebuild.md +0 -15
  279. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-status.md +0 -14
  280. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-update.md +0 -19
  281. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-validate.md +0 -17
  282. package/bundled/skills-windows/prizmkit-retrospective/SKILL.md +0 -87
  283. package/bundled/skills-windows/prizmkit-retrospective/references/knowledge-injection-steps.md +0 -50
  284. package/bundled/skills-windows/prizmkit-retrospective/references/structural-sync-steps.md +0 -43
  285. package/bundled/skills-windows/prizmkit-test/SKILL.md +0 -227
  286. package/bundled/skills-windows/prizmkit-test/references/boundary-coverage-protocol.md +0 -220
  287. package/bundled/skills-windows/prizmkit-test/references/examples.md +0 -143
  288. package/bundled/skills-windows/prizmkit-test/references/service-boundary-test-catalog.md +0 -225
  289. package/bundled/skills-windows/prizmkit-test/references/test-generation-steps.md +0 -109
  290. package/bundled/skills-windows/prizmkit-test/references/test-report-template.md +0 -111
  291. package/bundled/skills-windows/prizmkit-test/scripts/validate_boundary_report.py +0 -347
  292. package/bundled/skills-windows/recovery-workflow/SKILL.md +0 -355
  293. package/bundled/skills-windows/recovery-workflow/evals/evals.json +0 -46
  294. package/bundled/skills-windows/recovery-workflow/references/detection.md +0 -58
  295. package/bundled/skills-windows/recovery-workflow/scripts/detect-recovery-state.py +0 -544
  296. package/bundled/skills-windows/refactor-pipeline-launcher/SKILL.md +0 -346
  297. package/bundled/skills-windows/refactor-pipeline-launcher/references/configuration.md +0 -72
  298. package/bundled/skills-windows/refactor-planner/SKILL.md +0 -398
  299. package/bundled/skills-windows/refactor-planner/assets/planning-guide.md +0 -292
  300. package/bundled/skills-windows/refactor-planner/references/behavior-preservation.md +0 -301
  301. package/bundled/skills-windows/refactor-planner/references/fast-path.md +0 -59
  302. package/bundled/skills-windows/refactor-planner/references/planning-phases.md +0 -135
  303. package/bundled/skills-windows/refactor-planner/references/refactor-scoping-guide.md +0 -221
  304. package/bundled/skills-windows/refactor-planner/scripts/validate-and-generate-refactor.py +0 -858
  305. package/bundled/skills-windows/refactor-workflow/SKILL.md +0 -343
  306. package/bundled/skills-windows/refactor-workflow/references/brainstorm-guide.md +0 -116
  307. package/bundled/templates/hooks/diff-prizm-docs.sh +0 -158
  308. package/bundled/templates/hooks/prizm-pre-commit.sh +0 -108
  309. package/bundled/templates/hooks/validate-prizm-docs.sh +0 -139
@@ -1,84 +0,0 @@
1
- # Configuration Reference — Bugfix Pipeline Launcher (Windows)
2
-
3
- Environment variable mappings for the bugfix launcher.
4
-
5
- ## Environment Variable Mapping
6
-
7
- Translating user responses to env vars:
8
-
9
- | Config choice | Environment variable |
10
- |-----------|---------------------|
11
- | Verbose: Off | `VERBOSE=0` |
12
- | Verbose: On | `VERBOSE=1` |
13
- | Max retries: N | `MAX_RETRIES=N` |
14
- | Critic: On | `ENABLE_CRITIC=1` |
15
- | Stop on failure: On | `STOP_ON_FAILURE=1` |
16
- | Deploy: Yes | `ENABLE_DEPLOY=1` |
17
- | Effort: value | `PRIZMKIT_EFFORT=<value>` |
18
-
19
- ## Advanced Environment Variables
20
-
21
- Not exposed in interactive menu, pass via `--env`:
22
-
23
- | Variable | Default | Purpose |
24
- |----------|---------|---------|
25
- | `MODEL` | (none) | AI model override (e.g. `claude-opus-4.6`) |
26
- | `AUTO_PUSH` | `0` | Auto-push to remote after successful bug fix (`1` to enable) |
27
- | `DEV_BRANCH` | auto-generated | Custom dev branch name (default: `bugfix/pipeline-{run_id}`) |
28
- | `HEARTBEAT_INTERVAL` | `30` | Heartbeat log interval in seconds |
29
- | `HEARTBEAT_STALE_THRESHOLD` | `600` | Max seconds without heartbeat before marking stale |
30
-
31
- ## Interactive Configuration Options
32
-
33
- Present these via `AskUserQuestion` in step 5. Round 1 is one `AskUserQuestion` call with all 4 questions; round 2 only runs if the user picks "Yes" to Advanced config.
34
-
35
- ### Round 1 (always asked)
36
-
37
- **Question 1 — Verbose logging** (multiSelect: false):
38
- - On (default) — Detailed AI session logs including tool calls and subagent activity
39
- - Off — Minimal logging
40
-
41
- **Question 2 — Max retries** (multiSelect: false):
42
- - 3 (default)
43
- - 1
44
- - 5
45
-
46
- **Question 3 — Critic review** (multiSelect: false):
47
- - Off (default) — Skip adversarial review (`ENABLE_CRITIC=0`)
48
- - On — Enable adversarial critic review (`ENABLE_CRITIC=1`): an independent AI agent reviews the diagnosis/plan for completeness and the fix for defects, edge cases, and regression risks. Adds ~5-10 min per bug.
49
-
50
- **Question 4 — Advanced config?** (multiSelect: false):
51
- - No (default) — Use defaults for failure behavior
52
- - Yes — Configure stop-on-failure, and reasoning effort options
53
-
54
- Note: Bug filter defaults to all bugs (by severity order). Default Critic to Off unless bugs have `severity: "critical"` or `severity: "high"` (in which case default to On). If the user selects "Other" on any option, handle their custom input.
55
-
56
- ### Round 2 (only if Advanced config = Yes)
57
-
58
- **Question 1 — Stop on failure** (multiSelect: false):
59
- - Off (default) — Pipeline continues to next task after failure
60
- - On — Pipeline halts immediately when a task exhausts all retries (`STOP_ON_FAILURE=1`)
61
-
62
- **Question 2 — Reasoning effort** (multiSelect: false):
63
- - Default (none) — Use CLI default
64
- - low — Minimize reasoning, fastest output (`PRIZMKIT_EFFORT=low`)
65
- - medium — Moderate reasoning (`PRIZMKIT_EFFORT=medium`)
66
- - high — Thorough reasoning for complex tasks (`PRIZMKIT_EFFORT=high`)
67
- - xhigh — Extensive reasoning (`PRIZMKIT_EFFORT=xhigh`)
68
- - max — Maximum reasoning, Claude Code only (`PRIZMKIT_EFFORT=max`)
69
-
70
- ## Error Handling
71
-
72
- | Error | Action |
73
- |-------|--------|
74
- | `.prizmkit/plans/bug-fix-list.json` not found | Tell user to run `bug-planner` skill first |
75
- | JSON parsing failed | Use the bundled Python validation/status scripts instead of external JSON tools |
76
- | AI CLI not in PATH | Check Codex (`codex`), Claude (`claude`), or CodeBuddy (`cbc`) installation |
77
- | Bugfix pipeline already running | Show status, ask if user wants to stop and restart |
78
- | PID file stale (process dead) | `launch-bugfix-daemon.ps1` auto-cleans, retry start |
79
- | Launch failed (process died immediately) | Show last 20 lines of log: `Get-Content -Tail 20 .prizmkit/state/daemon/bugfix-daemon.log` |
80
- | All bugs blocked/failed/needs-info | Show status, suggest retrying or providing more info |
81
- | `playwright-cli` not installed | Browser verification skipped for playwright bugs (non-blocking). Suggest: `npm install -g @playwright/cli@latest; playwright-cli install --skills` |
82
- | `opencli` not installed | Browser verification skipped for opencli bugs (non-blocking). Install opencli for Chrome session-based browser verification |
83
- | Deploy session failed | Pipeline completed but deploy session exited non-zero. Check `.prizmkit/state/bugfix/deploy/<session_id>/logs/session.log`. Retry manually: `/prizmkit-deploy`. |
84
- | PowerShell execution policy blocks script | Run `Set-ExecutionPolicy -Scope Process Bypass` for the current terminal |
@@ -1,381 +0,0 @@
1
- ---
2
- name: "feature-pipeline-launcher"
3
- description: "Launch and manage the dev-pipeline from within an AI CLI session. Start pipeline in background, monitor logs, check status, stop pipeline. Use this skill whenever the user wants to start building features, run the pipeline, check pipeline progress, retry features, or stop the pipeline. Trigger on: 'run pipeline', 'start pipeline', 'start building', 'pipeline status', 'stop pipeline', 'retry feature', 'launch pipeline', 'start implementing', 'check pipeline status', 'stop the pipeline'. (project)"
4
- ---
5
-
6
- # Dev-Pipeline Launcher
7
-
8
- Launch the autonomous development pipeline from within an AI CLI conversation. The pipeline runs as a fully detached background process -- closing the AI CLI session does NOT stop the pipeline.
9
-
10
- Three execution modes are available (Foreground / Background daemon / Manual); they are defined authoritatively in **Intent A, step 5** below.
11
-
12
- ### When to Use
13
-
14
- **Start pipeline** -- User says:
15
- - "run feature pipeline", "run pipeline", "start building features", "launch feature pipeline"
16
- - "start implementing", "execute feature list", "build all features"
17
- - After feature-planner completes: "build them", "start building from the list"
18
- - Supports running a feature subset (e.g. "run only F-001 to F-005", "run features F-001,F-003").
19
-
20
- **Check status** -- User says:
21
- - "pipeline status", "feature progress", "check the pipeline", "how's the build going"
22
-
23
- **Stop pipeline** -- User says:
24
- - "stop pipeline", "stop the pipeline", "halt pipeline", "pause the build"
25
-
26
- **Show logs** -- User says:
27
- - "pipeline logs", "show pipeline logs", "what's building"
28
-
29
- **Retry single feature** -- User says:
30
- - "retry F-001", "re-run F-001", "retry this feature"
31
-
32
- **Do NOT use this skill when:**
33
- - User wants to plan features (use `feature-planner` instead)
34
- - User wants to implement a single feature manually within current session (use `prizmkit-implement`)
35
- - User wants to define specs/plan (use `prizmkit-plan`)
36
-
37
- ### Prerequisites
38
-
39
- Before any action, validate:
40
-
41
- 1. **dev-pipeline exists**: Confirm `.\.prizmkit\dev-pipeline\launch-feature-daemon.ps1` is present and executable
42
- 2. **For start**: `.prizmkit/plans/feature-list.json` must exist in `.prizmkit/plans/` (or user-specified path)
43
- 3. **Dependencies**: `python` or the Windows `py` launcher, `git`, and one AI CLI (`codex`, `claude`, or `cbc`) must be in PATH
44
- 4. **Python version**: Requires Python 3.8+ for dev-pipeline scripts
45
- 5. **Browser tools** (optional): If any feature has `browser_interaction` field, check the corresponding tool is available. Features may specify `tool: "playwright-cli"`, `tool: "opencli"`, or `tool: "auto"` (AI chooses at runtime).
46
-
47
- Quick check:
48
- ```powershell
49
- function Invoke-PrizmPython {
50
- param([Parameter(ValueFromRemainingArguments = $true)][string[]]$Arguments)
51
- $python = Get-Command python -ErrorAction SilentlyContinue
52
- if ($python) {
53
- & $python.Source -c 'import sys; raise SystemExit(0 if sys.version_info[0] == 3 else 1)' *> $null
54
- if ($LASTEXITCODE -eq 0) {
55
- & $python.Source @Arguments
56
- return
57
- }
58
- }
59
- $py = Get-Command py -ErrorAction SilentlyContinue
60
- if ($py) {
61
- & $py.Source -3 -c 'import sys; raise SystemExit(0 if sys.version_info[0] == 3 else 1)' *> $null
62
- if ($LASTEXITCODE -eq 0) {
63
- & $py.Source -3 @Arguments
64
- return
65
- }
66
- }
67
- throw "Python 3 is required. Install Python and ensure python or py is in PATH."
68
- }
69
- try {
70
- $prizmPythonPath = Invoke-PrizmPython -c "import sys; print(sys.executable)"
71
- "Python OK: $prizmPythonPath"
72
- } catch {
73
- "Missing Python: install Python 3 and ensure python or py is in PATH"
74
- }
75
- Get-Command git
76
- $aiCli = @("codex", "claude", "cbc") | Where-Object { Get-Command $_ -ErrorAction SilentlyContinue } | Select-Object -First 1
77
- if ($aiCli) { "AI CLI OK: $aiCli" } else { "Missing AI CLI: install codex, claude, or cbc" }
78
- # Optional: browser interaction support (check both tools — features may use either)
79
- if (Get-Command playwright-cli -ErrorAction SilentlyContinue) { "playwright-cli OK" } else { "playwright-cli not found (playwright browser verification will be skipped)" }
80
- if (Get-Command opencli -ErrorAction SilentlyContinue) { "opencli OK" } else { "opencli not found (opencli browser verification will be skipped)" }
81
- ```
82
-
83
- If `.prizmkit/plans/feature-list.json` is missing, inform user:
84
- > "No .prizmkit/plans/feature-list.json found. Run the `feature-planner` skill first to generate one, or provide a path to your feature list."
85
-
86
- ### Workflow
87
-
88
- Detect user intent from their message, then follow the corresponding workflow:
89
-
90
- ---
91
-
92
- #### Intent A: Start Pipeline
93
-
94
- > **Execution model**: The pipeline processes features **sequentially** (one at a time, in order). The `dependencies` field in feature-list.json is reserved for future parallel execution support and does NOT affect current execution order.
95
-
96
- 1. **Check prerequisites**:
97
- ```powershell
98
- if (Test-Path .prizmkit/plans/feature-list.json) { "Found" } else { "Missing" }
99
- ```
100
-
101
- 2. **Check not already running**:
102
- ```powershell
103
- .\.prizmkit\dev-pipeline\launch-feature-daemon.ps1 status
104
- ```
105
- If running, inform user and ask: "Pipeline is already running. Want to restart it, check status, or view logs?"
106
-
107
- 3. **Show feature summary** (so user knows what will be built):
108
- ```powershell
109
- $data = Get-Content .prizmkit\plans\feature-list.json -Raw | ConvertFrom-Json
110
- $features = @($data.features)
111
- "Total features: $($features.Count)"
112
- foreach ($feature in $features) {
113
- $title = if ($feature.title) { $feature.title } else { "untitled" }
114
- " $($feature.id): $title"
115
- }
116
- ```
117
- If pipeline state already exists, use the status command instead:
118
- ```powershell
119
- Invoke-PrizmPython .prizmkit/dev-pipeline/scripts/update-feature-status.py `
120
- --feature-list .prizmkit/plans/feature-list.json `
121
- --state-dir .prizmkit/state/features `
122
- --action status
123
- ```
124
-
125
- 4. **Run environment preflight checks** (database connectivity, migrations, dev server):
126
-
127
- Run the preflight script to auto-detect the database type, verify env vars, test connectivity, and check migration status:
128
- ```powershell
129
- Invoke-PrizmPython ${SKILL_DIR}/scripts/preflight-check.py .prizmkit/plans/feature-list.json
130
- ```
131
-
132
- The script:
133
- - Reads `global_context.database` from `.prizmkit/plans/feature-list.json` and `.prizmkit/config.json`
134
- - Scans `.env.local` / `.env` for connection variables (supports Supabase, PostgreSQL, MySQL, MongoDB, Firebase, and generic `DATABASE_URL`)
135
- - Tests connectivity using the appropriate method per database type
136
- - Checks migration status (Prisma, Drizzle, Supabase raw SQL, or generic migration directories)
137
- - Checks if the dev server is running (from `browser_interaction` URLs)
138
- - Outputs `PREFLIGHT ✓` (pass), `PREFLIGHT ⚠` (warning), or `PREFLIGHT ℹ` (info) lines
139
- - Exits 0 (all clear), 1 (warnings found), or 2 (error — feature list not found)
140
-
141
- If the script reports `⚠` warnings, present them to the user and ask:
142
- > "Environment preflight found issues (listed above). The pipeline can still run, but database-related features may produce code that passes mock tests without real database verification. Continue anyway?"
143
-
144
- Wait for user confirmation. If they want to fix issues first, suggest remediation based on the warnings (apply migrations, configure env vars, check database service status).
145
-
146
- If `global_context.database` is absent and no features mention database keywords, the script skips DB checks automatically.
147
-
148
- 5. **Ask execution mode** (first user decision):
149
-
150
- **RULE: Ask step 5 and step 6 in separate `AskUserQuestion` calls.** Combining them makes the model merge the questions and skip the mode selection. Ask execution mode ALONE here, wait for the response, THEN proceed to step 6.
151
-
152
- Use `AskUserQuestion` with exactly 1 question:
153
-
154
- **Question 1 — Execution mode** (multiSelect: false):
155
- - Foreground (Recommended) — pipeline runs in the current session via `run-feature.ps1 run`. Visible output and direct error feedback.
156
- - Background daemon — pipeline runs fully detached via `launch-feature-daemon.ps1`. Survives AI CLI session closure.
157
- - Manual — display the final assembled commands only. Do not execute anything. User runs them on their own.
158
-
159
- STOP HERE and wait for user response before continuing to step 6.
160
-
161
- 6. **Ask configuration options** — MANDATORY INTERACTIVE STEP, applies to ALL execution modes (Foreground, Background, AND Manual). This is a SEPARATE `AskUserQuestion` call from step 5 (see the RULE above). You MUST call `AskUserQuestion` with the 4 questions below and WAIT for the user's response before proceeding to step 7. Do NOT assume defaults, do NOT show the command as text and ask "ready?", and do NOT merge step 6 and step 7. If you find yourself writing the final command before the user has answered these 4 questions, STOP — you are violating this rule.
162
-
163
- Use `AskUserQuestion` to present ALL 4 configuration choices:
164
-
165
- **Question 1 — Critic review** (multiSelect: false):
166
- - Off (default) — Skip adversarial review
167
- - On — Enable adversarial critic review: an independent AI agent reviews the spec/plan for completeness and the implementation for defects, edge cases, and missing requirements. Adds ~5-10 min per feature.
168
-
169
- **Question 2 — Verbose logging** (multiSelect: false):
170
- - On (default) — Detailed AI session logs including tool calls and subagent activity
171
- - Off — Minimal logging
172
-
173
- **Question 3 — Max retries** (multiSelect: false):
174
- - 3 (default)
175
- - 1
176
- - 5
177
-
178
- **Question 4 — Advanced config?** (multiSelect: false):
179
- - No (default) — Use defaults for failure behavior
180
- - Yes — Configure stop-on-failure, and reasoning effort options
181
-
182
- Default Critic to Off unless features have `estimated_complexity: "high"` or above (in which case default to On).
183
-
184
- **If user chose "Yes" to Advanced config**, ask a second round of `AskUserQuestion` — see the advanced config questions (stop-on-failure, reasoning effort) in `${SKILL_DIR}/references/configuration.md`.
185
-
186
- **Environment variable mapping** and **advanced environment variables** tables — read `${SKILL_DIR}/references/configuration.md` for the full translation tables (8 config→env mappings + 9 advanced variables).
187
-
188
- STOP HERE and wait for user response before continuing to step 7.
189
-
190
- 7. **Show final command**: After user confirms configuration in step 6, assemble the complete command from execution mode + user-confirmed configuration, and present it to the user.
191
-
192
- **Foreground command:**
193
- ```powershell
194
- $env:VERBOSE = "1"; .\.prizmkit\dev-pipeline\run-feature.ps1 run .prizmkit/plans/feature-list.json
195
- ```
196
- With all options:
197
- ```powershell
198
- $env:VERBOSE = "1"; $env:ENABLE_CRITIC = "true"; $env:MAX_RETRIES = "5"; $env:PRIZMKIT_EFFORT = "high"
199
- .\.prizmkit\dev-pipeline\run-feature.ps1 run .prizmkit/plans/feature-list.json --features F-001:F-005
200
- ```
201
-
202
- **Background daemon command:**
203
- ```powershell
204
- .\.prizmkit\dev-pipeline\launch-feature-daemon.ps1 start .prizmkit/plans/feature-list.json --env "VERBOSE=1"
205
- ```
206
- With all options:
207
- ```powershell
208
- .\.prizmkit\dev-pipeline\launch-feature-daemon.ps1 start .prizmkit/plans/feature-list.json --features F-001:F-005 `
209
- --env "VERBOSE=1 ENABLE_CRITIC=true MAX_RETRIES=5 PRIZMKIT_EFFORT=high"
210
- ```
211
-
212
- **Manual mode**: Print the assembled command(s) and **stop here**. Do not execute anything. Do not proceed to step 8.
213
- ```
214
- # To run in foreground:
215
- $env:VERBOSE = "1"; .\.prizmkit\dev-pipeline\run-feature.ps1 run .prizmkit/plans/feature-list.json
216
-
217
- # To run in background (detached):
218
- .\.prizmkit\dev-pipeline\launch-feature-daemon.ps1 start .prizmkit/plans/feature-list.json --env "VERBOSE=1"
219
-
220
- # To check status:
221
- .\.prizmkit\dev-pipeline\run-feature.ps1 status .prizmkit/plans/feature-list.json
222
- ```
223
-
224
- 8. **Confirm and launch** (Foreground and Background only — Manual mode ends at step 7):
225
-
226
- Ask: "Ready to launch the pipeline with the above command?"
227
-
228
- After user confirms, execute the command from step 7.
229
-
230
- 9. **Post-launch** (depends on execution mode):
231
-
232
- **If foreground**: Pipeline runs to completion in the terminal. After it finishes:
233
- - Summarize results: total features, succeeded, failed, skipped
234
- - If all succeeded: each feature session has already run `prizmkit-retrospective` internally. Ask user what's next.
235
- - If some failed: show failed feature IDs and suggest `reset-feature.ps1 <F-XXX> --clean --run` for a fresh retry
236
- - **Browser verification**: If any completed features have `browser_interaction` and the corresponding browser tool (`playwright-cli` or `opencli`) is installed, offer to run browser verification (see Post-Pipeline Browser Verification)
237
-
238
- **If background daemon**:
239
- 1. Verify launch:
240
- ```powershell
241
- .\.prizmkit\dev-pipeline\launch-feature-daemon.ps1 status
242
- ```
243
- 2. Start log monitoring — Use the PowerShell terminal with `run_in_background: true`:
244
- ```powershell
245
- Get-Content -Wait -Tail 50 .prizmkit/state/daemon/feature-daemon.log
246
- ```
247
- 3. Report to user:
248
- - Pipeline PID
249
- - Log file location
250
- - "You can ask me 'pipeline status' or 'show logs' at any time"
251
- - "Closing this session will NOT stop the pipeline"
252
-
253
- ---
254
-
255
- #### Intent B: Check Status
256
-
257
- 1. **Check daemon status**:
258
- ```powershell
259
- .\.prizmkit\dev-pipeline\launch-feature-daemon.ps1 status
260
- ```
261
-
262
- 2. **Show feature-level progress**:
263
- ```powershell
264
- Invoke-PrizmPython .prizmkit/dev-pipeline/scripts/update-feature-status.py `
265
- --feature-list .prizmkit/plans/feature-list.json `
266
- --state-dir .prizmkit/state/features `
267
- --action status
268
- ```
269
-
270
- 3. **Show recent log activity** (last 20 lines):
271
- ```powershell
272
- Get-Content -Tail 20 .prizmkit/state/daemon/feature-daemon.log
273
- ```
274
-
275
- 4. **Summarize** to user: total features, completed, in-progress, failed, pending.
276
-
277
- ---
278
-
279
- #### Intent C: Stop Pipeline
280
-
281
- 1. **Stop the daemon**:
282
- ```powershell
283
- .\.prizmkit\dev-pipeline\launch-feature-daemon.ps1 stop
284
- ```
285
-
286
- 2. **Verify stopped**:
287
- ```powershell
288
- .\.prizmkit\dev-pipeline\launch-feature-daemon.ps1 status
289
- ```
290
-
291
- 3. **Inform user**: "Pipeline stopped. State is preserved -- you can resume later with 'start pipeline' and it will pick up where it left off."
292
-
293
- ---
294
-
295
- #### Intent D: Show Logs
296
-
297
- 1. **Check if running**:
298
- ```powershell
299
- .\.prizmkit\dev-pipeline\launch-feature-daemon.ps1 status
300
- ```
301
-
302
- 2. **If running** -- Start live tail with PowerShell terminal `run_in_background: true`:
303
- ```powershell
304
- Get-Content -Wait -Tail 50 .prizmkit/state/daemon/feature-daemon.log
305
- ```
306
-
307
- 3. **If not running** -- Show last 50 lines:
308
- ```powershell
309
- Get-Content -Tail 50 .prizmkit/state/daemon/feature-daemon.log
310
- ```
311
-
312
- 4. **For per-feature session logs** (when user asks about a specific feature):
313
- ```powershell
314
- # Check feature status for last session ID
315
- Get-Content .prizmkit/state/features/<FEATURE_ID>/status.json -ErrorAction SilentlyContinue
316
- # Then tail that feature's session log
317
- Get-Content -Tail 100 .prizmkit/state/features/<FEATURE_ID>/sessions/<SESSION_ID>/logs/session.log
318
- ```
319
-
320
- ---
321
-
322
- #### Intent E: Retry Single Feature Node
323
-
324
- When user says "retry F-003" or "clean retry F-003":
325
-
326
- ```powershell
327
- .\.prizmkit\dev-pipeline\reset-feature.ps1 F-003 --clean --run .prizmkit/plans/feature-list.json
328
- ```
329
-
330
- Notes:
331
- - `reset-feature.ps1 F-003 --clean --run` performs a clean reset for `F-003` before retrying that feature — this gives a fresh start.
332
- - Keep pipeline daemon mode for main run management (`launch-feature-daemon.ps1`).
333
-
334
- ---
335
-
336
- #### Post-Pipeline Browser Verification
337
-
338
- After pipeline completion, if features have `browser_interaction` fields and the corresponding browser tool (`playwright-cli` or `opencli`) is installed:
339
-
340
- 1. **Check which features qualify**:
341
- ```powershell
342
- $data = Get-Content .prizmkit\plans\feature-list.json -Raw | ConvertFrom-Json
343
- foreach ($feature in @($data.features)) {
344
- if ($feature.browser_interaction -and $feature.status -eq "completed") {
345
- $tool = if ($feature.browser_interaction.tool) { $feature.browser_interaction.tool } else { "auto" }
346
- " $($feature.id): $($feature.title) (tool: $tool)"
347
- }
348
- }
349
- ```
350
-
351
- 2. **Ask user**: "N features have browser verification configured. Run browser verification now? (Y/n)"
352
-
353
- 3. **If yes**, for each qualifying feature:
354
- - Start dev server if `setup_command` is specified
355
- - Select browser tool based on `browser_interaction.tool`:
356
- - `"playwright-cli"` → Use `playwright-cli snapshot` to discover element refs, then verify each goal in `verify_steps`
357
- - `"opencli"` → Use `opencli browser` to interact with Chrome's logged-in session (ideal for OAuth/third-party verification)
358
- - `"auto"` → AI chooses the appropriate tool based on context (default: `playwright-cli` for local dev, `opencli` for authenticated flows)
359
- - Take a screenshot after verification
360
- - Close browser and stop dev server
361
-
362
- 4. **Report results**:
363
- - For each feature: URL opened, tool used, steps executed, screenshot path
364
- - If any step fails: flag as verification failure
365
-
366
- **Important**: Browser verification is best-effort — failures here do NOT change the feature's pipeline status. They serve as visual confirmation aids for the user.
367
-
368
- ---
369
-
370
- ### Error Handling
371
-
372
- Read `${SKILL_DIR}/references/configuration.md` for the full error handling table (16 entries covering feature-list not found, dependency checks, pipeline state, browser tooling, permission, and deploy failures).
373
-
374
- ### Integration Notes
375
-
376
- - **After feature-planner**: This is the natural next step. When user finishes planning and has `.prizmkit/plans/feature-list.json`, suggest launching the pipeline.
377
- - **Session independence**: The pipeline runs completely detached. User can close the AI CLI session, open a new session later, and use this skill to check progress or stop the pipeline.
378
- - **Single instance**: Only one pipeline can run at a time. The PID file prevents duplicates.
379
- - **Pipeline coexistence**: Feature and bugfix pipelines use separate state directories (`.prizmkit/state/features/` vs `.prizmkit/state/bugfix/`), so they can run simultaneously without conflict.
380
- - **State preservation**: Stopping and restarting the pipeline resumes from where it left off -- completed features are not re-run.
381
- - **HANDOFF**: After pipeline completes all features, each session has already run `prizmkit-retrospective` internally. Ask user what's next.
@@ -1,67 +0,0 @@
1
- # Configuration Reference — Feature Pipeline Launcher (Windows)
2
-
3
- Environment variable mappings for the feature launcher.
4
-
5
- ## Advanced Config Questions (second AskUserQuestion round)
6
-
7
- Asked only when the user chose "Yes" to Advanced config in step 6.
8
-
9
- **Question 1 — Stop on failure** (multiSelect: false):
10
- - Off (default) — Pipeline continues to next task after failure
11
- - On — Pipeline halts immediately when a task exhausts all retries (`STOP_ON_FAILURE=1`)
12
-
13
- **Question 2 — Reasoning effort** (multiSelect: false):
14
- - Default (none) — Use CLI default
15
- - low — Minimize reasoning, fastest output (`PRIZMKIT_EFFORT=low`)
16
- - medium — Moderate reasoning (`PRIZMKIT_EFFORT=medium`)
17
- - high — Thorough reasoning for complex tasks (`PRIZMKIT_EFFORT=high`)
18
- - xhigh — Extensive reasoning (`PRIZMKIT_EFFORT=xhigh`)
19
- - max — Maximum reasoning, Claude Code only (`PRIZMKIT_EFFORT=max`)
20
-
21
- ## Environment Variable Mapping
22
-
23
- Translating user responses to env vars:
24
-
25
- | Config choice | Environment variable |
26
- |-----------|---------------------|
27
- | Critic: On | `ENABLE_CRITIC=true` |
28
- | Verbose: Off | `VERBOSE=0` |
29
- | Verbose: On | `VERBOSE=1` |
30
- | Max retries: N | `MAX_RETRIES=N` |
31
- | Stop on failure: On | `STOP_ON_FAILURE=1` |
32
- | Deploy: Yes | `ENABLE_DEPLOY=1` |
33
- | Effort: value | `PRIZMKIT_EFFORT=<value>` |
34
-
35
- ## Advanced Environment Variables
36
-
37
- Not exposed in interactive menu, pass via `--env`:
38
-
39
- | Variable | Default | Purpose |
40
- |----------|---------|---------|
41
- | `MODEL` | (none) | AI model override (e.g. `claude-opus-4.6`) |
42
- | `AUTO_PUSH` | `0` | Auto-push to remote after successful feature (`1` to enable) |
43
- | `DEV_BRANCH` | auto-generated | Custom dev branch name (default: `dev/{feature_id}-YYYYMMDDHHmm`) |
44
- | `HEARTBEAT_INTERVAL` | `30` | Heartbeat log interval in seconds |
45
- | `HEARTBEAT_STALE_THRESHOLD` | `600` | Max seconds without heartbeat before marking stale |
46
- | `PIPELINE_MODE` | (none) | Override mode for all features: `lite`\|`standard`\|`full` |
47
-
48
- ## Error Handling
49
-
50
- | Error | Action |
51
- |-------|--------|
52
- | `.prizmkit/plans/feature-list.json` not found | Tell user to run `feature-planner` skill first |
53
- | JSON parsing failed | Use the bundled Python validation/status scripts instead of external JSON tools |
54
- | AI CLI not in PATH | Check Codex (`codex`), Claude (`claude`), or CodeBuddy (`cbc`) installation |
55
- | Pipeline already running | Show status, ask if user wants to stop and restart |
56
- | PID file stale (process dead) | `launch-feature-daemon.ps1` auto-cleans, retry start |
57
- | Launch failed (process died immediately) | Show last 20 lines of log: `Get-Content -Tail 20 .prizmkit/state/daemon/feature-daemon.log` |
58
- | Feature stuck/blocked | Use `reset-feature.ps1 <F-XXX> --clean --run` for a fresh retry |
59
- | All features blocked/failed | Show status, suggest daemon-safe recovery: `.\.prizmkit\dev-pipeline\reset-feature.ps1 <F-XXX> --clean --run .prizmkit/plans/feature-list.json` |
60
- | `playwright-cli` not installed | Browser verification skipped for playwright features (non-blocking). Suggest: `npm install -g @playwright/cli@latest; playwright-cli install --skills` |
61
- | `opencli` not installed | Browser verification skipped for opencli features (non-blocking). Install opencli for Chrome session-based browser verification |
62
- | PowerShell execution policy blocks script | Run `Set-ExecutionPolicy -Scope Process Bypass` for the current terminal |
63
- | Pipeline stop failed | Use `Stop-Process -Id <PID> -Force`; inspect AI CLI processes with `Get-Process \| Select-String codex` |
64
- | Deploy session failed | Pipeline completed but deploy session exited non-zero. Check `.prizmkit/state/features/deploy/<session_id>/logs/session.log`. Retry manually: `/prizmkit-deploy`. |
65
- | `.env.local` missing or incomplete | Warn: database connection variables not found. Suggest creating env file with required connection variables for the project's database |
66
- | Database unreachable | Warn: database features will produce mock-only tests. Suggest checking database service status and connection credentials |
67
- | Migrations not applied | Warn: tables or schema referenced in migration files not found in database. Suggest applying pending migrations |