prizmkit 1.1.99 → 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 (321) 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/check-session-status.py +74 -1
  30. package/bundled/dev-pipeline/scripts/continuation.py +374 -0
  31. package/bundled/dev-pipeline/scripts/generate-bootstrap-prompt.py +64 -52
  32. package/bundled/dev-pipeline/scripts/generate-bugfix-prompt.py +35 -25
  33. package/bundled/dev-pipeline/scripts/generate-recovery-prompt.py +2 -2
  34. package/bundled/dev-pipeline/scripts/generate-refactor-prompt.py +15 -20
  35. package/bundled/dev-pipeline/scripts/parse-stream-progress.py +185 -16
  36. package/bundled/dev-pipeline/scripts/update-bug-status.py +214 -6
  37. package/bundled/dev-pipeline/scripts/update-feature-status.py +237 -6
  38. package/bundled/dev-pipeline/scripts/update-refactor-status.py +214 -6
  39. package/bundled/dev-pipeline/templates/agent-prompts/dev-implement.md +8 -2
  40. package/bundled/dev-pipeline/templates/bootstrap-prompt.md +4 -0
  41. package/bundled/dev-pipeline/templates/bootstrap-tier1.md +14 -5
  42. package/bundled/dev-pipeline/templates/bootstrap-tier2.md +16 -6
  43. package/bundled/dev-pipeline/templates/bootstrap-tier3.md +16 -6
  44. package/bundled/dev-pipeline/templates/bugfix-bootstrap-prompt.md +1 -1
  45. package/bundled/dev-pipeline/templates/refactor-bootstrap-prompt.md +3 -3
  46. package/bundled/dev-pipeline/templates/sections/context-budget-rules.md +2 -0
  47. package/bundled/dev-pipeline/templates/sections/log-size-awareness.md +13 -69
  48. package/bundled/dev-pipeline/templates/sections/phase-context-snapshot-agent-suffix.md +15 -7
  49. package/bundled/dev-pipeline/templates/sections/phase-implement-agent.md +42 -29
  50. package/bundled/dev-pipeline/templates/sections/phase-implement-full.md +41 -39
  51. package/bundled/dev-pipeline/templates/sections/test-failure-recovery-agent.md +4 -0
  52. package/bundled/dev-pipeline/templates/sections/test-failure-recovery-lite.md +4 -0
  53. package/bundled/dev-pipeline/templates/session-status-schema.json +1 -1
  54. package/bundled/dev-pipeline/tests/conftest.py +1 -0
  55. package/bundled/dev-pipeline/tests/test_auto_skip.py +932 -0
  56. package/bundled/dev-pipeline/tests/test_generate_bootstrap_prompt.py +207 -0
  57. package/bundled/dev-pipeline/tests/test_generate_bugfix_prompt.py +100 -0
  58. package/bundled/dev-pipeline/tests/test_generate_refactor_prompt.py +43 -0
  59. package/bundled/dev-pipeline/tests/test_python_runner_parity.py +1138 -0
  60. package/bundled/dev-pipeline/tests/test_unified_cli.py +1045 -0
  61. package/bundled/skills/_metadata.json +1 -1
  62. package/bundled/skills/bugfix-pipeline-launcher/SKILL.md +29 -34
  63. package/bundled/skills/bugfix-pipeline-launcher/references/configuration.md +6 -5
  64. package/bundled/skills/feature-pipeline-launcher/SKILL.md +29 -35
  65. package/bundled/skills/feature-pipeline-launcher/references/configuration.md +7 -6
  66. package/bundled/skills/feature-workflow/SKILL.md +3 -6
  67. package/bundled/skills/recovery-workflow/SKILL.md +23 -32
  68. package/bundled/skills/refactor-pipeline-launcher/SKILL.md +29 -35
  69. package/bundled/skills/refactor-pipeline-launcher/references/configuration.md +7 -6
  70. package/bundled/skills/refactor-workflow/SKILL.md +3 -6
  71. package/bundled/templates/hooks/commit-intent.json +2 -2
  72. package/bundled/templates/hooks/diff-prizm-docs.py +226 -0
  73. package/bundled/templates/hooks/prizm-pre-commit.py +45 -0
  74. package/bundled/templates/hooks/validate-prizm-docs.py +240 -0
  75. package/package.json +1 -1
  76. package/src/config.js +33 -12
  77. package/src/index.js +3 -6
  78. package/src/manifest.js +3 -2
  79. package/src/metadata.js +7 -18
  80. package/src/prompts.js +0 -12
  81. package/src/runtimes.js +18 -11
  82. package/src/scaffold.js +133 -116
  83. package/src/upgrade.js +1 -1
  84. package/bundled/dev-pipeline/launch-bugfix-daemon.sh +0 -500
  85. package/bundled/dev-pipeline/launch-feature-daemon.sh +0 -657
  86. package/bundled/dev-pipeline/launch-refactor-daemon.sh +0 -502
  87. package/bundled/dev-pipeline/lib/branch.sh +0 -326
  88. package/bundled/dev-pipeline/lib/common.sh +0 -1257
  89. package/bundled/dev-pipeline/lib/heartbeat.sh +0 -469
  90. package/bundled/dev-pipeline/reset-bug.sh +0 -395
  91. package/bundled/dev-pipeline/reset-feature.sh +0 -406
  92. package/bundled/dev-pipeline/reset-refactor.sh +0 -393
  93. package/bundled/dev-pipeline/run-bugfix.sh +0 -1315
  94. package/bundled/dev-pipeline/run-feature.sh +0 -1602
  95. package/bundled/dev-pipeline/run-recovery.sh +0 -648
  96. package/bundled/dev-pipeline/run-refactor.sh +0 -1348
  97. package/bundled/dev-pipeline/scripts/monitor-log.sh +0 -104
  98. package/bundled/dev-pipeline/tests/test-path-resolution.sh +0 -100
  99. package/bundled/dev-pipeline-windows/.env.example +0 -36
  100. package/bundled/dev-pipeline-windows/README.md +0 -30
  101. package/bundled/dev-pipeline-windows/SCHEMA_ANALYSIS.md +0 -533
  102. package/bundled/dev-pipeline-windows/assets/feature-list-example.json +0 -146
  103. package/bundled/dev-pipeline-windows/assets/prizm-dev-team-integration.md +0 -137
  104. package/bundled/dev-pipeline-windows/launch-bugfix-daemon.ps1 +0 -9
  105. package/bundled/dev-pipeline-windows/launch-feature-daemon.ps1 +0 -9
  106. package/bundled/dev-pipeline-windows/launch-refactor-daemon.ps1 +0 -9
  107. package/bundled/dev-pipeline-windows/lib/branch.ps1 +0 -235
  108. package/bundled/dev-pipeline-windows/lib/common.ps1 +0 -829
  109. package/bundled/dev-pipeline-windows/lib/daemon.ps1 +0 -140
  110. package/bundled/dev-pipeline-windows/lib/pipeline.ps1 +0 -967
  111. package/bundled/dev-pipeline-windows/lib/reset.ps1 +0 -87
  112. package/bundled/dev-pipeline-windows/reset-bug.ps1 +0 -9
  113. package/bundled/dev-pipeline-windows/reset-feature.ps1 +0 -9
  114. package/bundled/dev-pipeline-windows/reset-refactor.ps1 +0 -9
  115. package/bundled/dev-pipeline-windows/run-bugfix.ps1 +0 -9
  116. package/bundled/dev-pipeline-windows/run-feature.ps1 +0 -9
  117. package/bundled/dev-pipeline-windows/run-recovery.ps1 +0 -179
  118. package/bundled/dev-pipeline-windows/run-refactor.ps1 +0 -9
  119. package/bundled/dev-pipeline-windows/scripts/check-session-status.py +0 -228
  120. package/bundled/dev-pipeline-windows/scripts/detect-stuck.py +0 -530
  121. package/bundled/dev-pipeline-windows/scripts/generate-bootstrap-prompt.py +0 -2282
  122. package/bundled/dev-pipeline-windows/scripts/generate-bugfix-prompt.py +0 -767
  123. package/bundled/dev-pipeline-windows/scripts/generate-recovery-prompt.py +0 -805
  124. package/bundled/dev-pipeline-windows/scripts/generate-refactor-prompt.py +0 -845
  125. package/bundled/dev-pipeline-windows/scripts/init-bugfix-pipeline.py +0 -316
  126. package/bundled/dev-pipeline-windows/scripts/init-dev-team.py +0 -134
  127. package/bundled/dev-pipeline-windows/scripts/init-pipeline.py +0 -382
  128. package/bundled/dev-pipeline-windows/scripts/init-refactor-pipeline.py +0 -399
  129. package/bundled/dev-pipeline-windows/scripts/monitor-log.ps1 +0 -102
  130. package/bundled/dev-pipeline-windows/scripts/parse-stream-progress.py +0 -1232
  131. package/bundled/dev-pipeline-windows/scripts/patch-completion-notes.py +0 -191
  132. package/bundled/dev-pipeline-windows/scripts/prizmkit-test-gate.py +0 -446
  133. package/bundled/dev-pipeline-windows/scripts/update-bug-status.py +0 -913
  134. package/bundled/dev-pipeline-windows/scripts/update-checkpoint.py +0 -173
  135. package/bundled/dev-pipeline-windows/scripts/update-feature-status.py +0 -1558
  136. package/bundled/dev-pipeline-windows/scripts/update-refactor-status.py +0 -1119
  137. package/bundled/dev-pipeline-windows/scripts/utils.py +0 -542
  138. package/bundled/dev-pipeline-windows/templates/agent-prompts/critic-plan-challenge.md +0 -7
  139. package/bundled/dev-pipeline-windows/templates/agent-prompts/dev-fix.md +0 -7
  140. package/bundled/dev-pipeline-windows/templates/agent-prompts/dev-implement.md +0 -65
  141. package/bundled/dev-pipeline-windows/templates/agent-prompts/dev-resume.md +0 -5
  142. package/bundled/dev-pipeline-windows/templates/agent-prompts/reviewer-review.md +0 -7
  143. package/bundled/dev-pipeline-windows/templates/bootstrap-prompt.md +0 -73
  144. package/bundled/dev-pipeline-windows/templates/bootstrap-tier1.md +0 -589
  145. package/bundled/dev-pipeline-windows/templates/bootstrap-tier2.md +0 -710
  146. package/bundled/dev-pipeline-windows/templates/bootstrap-tier3.md +0 -791
  147. package/bundled/dev-pipeline-windows/templates/bug-fix-list-schema.json +0 -263
  148. package/bundled/dev-pipeline-windows/templates/bugfix-bootstrap-prompt.md +0 -326
  149. package/bundled/dev-pipeline-windows/templates/feature-list-schema.json +0 -237
  150. package/bundled/dev-pipeline-windows/templates/refactor-bootstrap-prompt.md +0 -340
  151. package/bundled/dev-pipeline-windows/templates/refactor-list-schema.json +0 -270
  152. package/bundled/dev-pipeline-windows/templates/sections/ac-verification-checklist.md +0 -7
  153. package/bundled/dev-pipeline-windows/templates/sections/checkpoint-system.md +0 -91
  154. package/bundled/dev-pipeline-windows/templates/sections/context-budget-rules.md +0 -34
  155. package/bundled/dev-pipeline-windows/templates/sections/critical-paths-agent.md +0 -10
  156. package/bundled/dev-pipeline-windows/templates/sections/critical-paths-full.md +0 -12
  157. package/bundled/dev-pipeline-windows/templates/sections/critical-paths-lite.md +0 -7
  158. package/bundled/dev-pipeline-windows/templates/sections/directory-convention-agent.md +0 -8
  159. package/bundled/dev-pipeline-windows/templates/sections/directory-convention-full.md +0 -9
  160. package/bundled/dev-pipeline-windows/templates/sections/directory-convention-lite.md +0 -6
  161. package/bundled/dev-pipeline-windows/templates/sections/failure-capture.md +0 -21
  162. package/bundled/dev-pipeline-windows/templates/sections/feature-context.md +0 -21
  163. package/bundled/dev-pipeline-windows/templates/sections/log-size-awareness.md +0 -78
  164. package/bundled/dev-pipeline-windows/templates/sections/phase-browser-verification-auto.md +0 -283
  165. package/bundled/dev-pipeline-windows/templates/sections/phase-browser-verification-opencli.md +0 -112
  166. package/bundled/dev-pipeline-windows/templates/sections/phase-browser-verification.md +0 -168
  167. package/bundled/dev-pipeline-windows/templates/sections/phase-commit-full.md +0 -82
  168. package/bundled/dev-pipeline-windows/templates/sections/phase-commit.md +0 -75
  169. package/bundled/dev-pipeline-windows/templates/sections/phase-context-snapshot-agent-suffix.md +0 -23
  170. package/bundled/dev-pipeline-windows/templates/sections/phase-context-snapshot-base.md +0 -14
  171. package/bundled/dev-pipeline-windows/templates/sections/phase-context-snapshot-lite-suffix.md +0 -19
  172. package/bundled/dev-pipeline-windows/templates/sections/phase-critic-plan-full.md +0 -63
  173. package/bundled/dev-pipeline-windows/templates/sections/phase-critic-plan.md +0 -42
  174. package/bundled/dev-pipeline-windows/templates/sections/phase-implement-agent.md +0 -44
  175. package/bundled/dev-pipeline-windows/templates/sections/phase-implement-full.md +0 -59
  176. package/bundled/dev-pipeline-windows/templates/sections/phase-implement-lite.md +0 -39
  177. package/bundled/dev-pipeline-windows/templates/sections/phase-plan-agent.md +0 -27
  178. package/bundled/dev-pipeline-windows/templates/sections/phase-plan-lite.md +0 -27
  179. package/bundled/dev-pipeline-windows/templates/sections/phase-prizmkit-test.md +0 -39
  180. package/bundled/dev-pipeline-windows/templates/sections/phase-review-agent.md +0 -35
  181. package/bundled/dev-pipeline-windows/templates/sections/phase-review-full.md +0 -35
  182. package/bundled/dev-pipeline-windows/templates/sections/phase-specify-plan-full.md +0 -73
  183. package/bundled/dev-pipeline-windows/templates/sections/phase0-init.md +0 -13
  184. package/bundled/dev-pipeline-windows/templates/sections/phase0-test-baseline.md +0 -21
  185. package/bundled/dev-pipeline-windows/templates/sections/session-context.md +0 -5
  186. package/bundled/dev-pipeline-windows/templates/sections/subagent-timeout-recovery.md +0 -6
  187. package/bundled/dev-pipeline-windows/templates/sections/task-contract.md +0 -34
  188. package/bundled/dev-pipeline-windows/templates/sections/test-failure-recovery-agent.md +0 -48
  189. package/bundled/dev-pipeline-windows/templates/sections/test-failure-recovery-lite.md +0 -48
  190. package/bundled/dev-pipeline-windows/templates/session-status-schema.json +0 -83
  191. package/bundled/skills-windows/app-planner/SKILL.md +0 -296
  192. package/bundled/skills-windows/app-planner/assets/app-design-guide.md +0 -101
  193. package/bundled/skills-windows/app-planner/references/architecture-decisions.md +0 -52
  194. package/bundled/skills-windows/app-planner/references/brainstorm-guide.md +0 -101
  195. package/bundled/skills-windows/app-planner/references/frontend-design-guide.md +0 -71
  196. package/bundled/skills-windows/app-planner/references/infrastructure-convention-discovery.md +0 -108
  197. package/bundled/skills-windows/app-planner/references/project-brief-guide.md +0 -82
  198. package/bundled/skills-windows/app-planner/references/project-conventions-discovery.md +0 -59
  199. package/bundled/skills-windows/app-planner/references/project-state-detection.md +0 -90
  200. package/bundled/skills-windows/app-planner/references/red-team-checklist.md +0 -40
  201. package/bundled/skills-windows/app-planner/references/rules/backend/derivation-rules.md +0 -619
  202. package/bundled/skills-windows/app-planner/references/rules/backend/fixed-rules.md +0 -285
  203. package/bundled/skills-windows/app-planner/references/rules/backend/question-bank.md +0 -249
  204. package/bundled/skills-windows/app-planner/references/rules/backend/question-manifest.json +0 -46
  205. package/bundled/skills-windows/app-planner/references/rules/backend/template.md +0 -173
  206. package/bundled/skills-windows/app-planner/references/rules/database/derivation-rules.md +0 -382
  207. package/bundled/skills-windows/app-planner/references/rules/database/fixed-rules.md +0 -211
  208. package/bundled/skills-windows/app-planner/references/rules/database/question-bank.md +0 -184
  209. package/bundled/skills-windows/app-planner/references/rules/database/question-manifest.json +0 -39
  210. package/bundled/skills-windows/app-planner/references/rules/database/template.md +0 -158
  211. package/bundled/skills-windows/app-planner/references/rules/frontend/derivation-rules.md +0 -820
  212. package/bundled/skills-windows/app-planner/references/rules/frontend/fixed-rules.md +0 -188
  213. package/bundled/skills-windows/app-planner/references/rules/frontend/question-bank.md +0 -319
  214. package/bundled/skills-windows/app-planner/references/rules/frontend/question-manifest.json +0 -51
  215. package/bundled/skills-windows/app-planner/references/rules/frontend/template.md +0 -339
  216. package/bundled/skills-windows/app-planner/references/rules/mobile/derivation-rules.md +0 -649
  217. package/bundled/skills-windows/app-planner/references/rules/mobile/fixed-rules.md +0 -290
  218. package/bundled/skills-windows/app-planner/references/rules/mobile/question-bank.md +0 -232
  219. package/bundled/skills-windows/app-planner/references/rules/mobile/question-manifest.json +0 -47
  220. package/bundled/skills-windows/app-planner/references/rules/mobile/template.md +0 -175
  221. package/bundled/skills-windows/app-planner/references/rules-configuration.md +0 -46
  222. package/bundled/skills-windows/bug-fix-workflow/SKILL.md +0 -379
  223. package/bundled/skills-windows/bug-fix-workflow/references/bug-diagnosis.md +0 -41
  224. package/bundled/skills-windows/bug-planner/SKILL.md +0 -402
  225. package/bundled/skills-windows/bug-planner/assets/bug-confirmation-template.md +0 -43
  226. package/bundled/skills-windows/bug-planner/references/critic-and-verification.md +0 -44
  227. package/bundled/skills-windows/bug-planner/references/error-recovery.md +0 -73
  228. package/bundled/skills-windows/bug-planner/references/input-formats.md +0 -53
  229. package/bundled/skills-windows/bug-planner/references/schema-validation.md +0 -25
  230. package/bundled/skills-windows/bug-planner/references/severity-rules.md +0 -16
  231. package/bundled/skills-windows/bug-planner/scripts/validate-bug-list.py +0 -322
  232. package/bundled/skills-windows/bugfix-pipeline-launcher/SKILL.md +0 -304
  233. package/bundled/skills-windows/bugfix-pipeline-launcher/references/configuration.md +0 -84
  234. package/bundled/skills-windows/feature-pipeline-launcher/SKILL.md +0 -381
  235. package/bundled/skills-windows/feature-pipeline-launcher/references/configuration.md +0 -67
  236. package/bundled/skills-windows/feature-pipeline-launcher/scripts/preflight-check.py +0 -462
  237. package/bundled/skills-windows/feature-planner/SKILL.md +0 -397
  238. package/bundled/skills-windows/feature-planner/assets/evaluation-guide.md +0 -64
  239. package/bundled/skills-windows/feature-planner/assets/planning-guide.md +0 -214
  240. package/bundled/skills-windows/feature-planner/references/browser-interaction.md +0 -59
  241. package/bundled/skills-windows/feature-planner/references/completeness-review.md +0 -57
  242. package/bundled/skills-windows/feature-planner/references/decomposition-patterns.md +0 -75
  243. package/bundled/skills-windows/feature-planner/references/error-recovery.md +0 -90
  244. package/bundled/skills-windows/feature-planner/references/incremental-feature-planning.md +0 -112
  245. package/bundled/skills-windows/feature-planner/references/new-project-planning.md +0 -85
  246. package/bundled/skills-windows/feature-planner/scripts/validate-and-generate.py +0 -1020
  247. package/bundled/skills-windows/feature-workflow/SKILL.md +0 -374
  248. package/bundled/skills-windows/feature-workflow/references/brainstorm-guide.md +0 -137
  249. package/bundled/skills-windows/prizm-kit/SKILL.md +0 -93
  250. package/bundled/skills-windows/prizmkit-code-review/SKILL.md +0 -161
  251. package/bundled/skills-windows/prizmkit-code-review/references/dev-agent-prompt.md +0 -30
  252. package/bundled/skills-windows/prizmkit-code-review/references/review-report-template.md +0 -31
  253. package/bundled/skills-windows/prizmkit-code-review/references/reviewer-agent-prompt.md +0 -66
  254. package/bundled/skills-windows/prizmkit-code-review/scripts/check_loop.py +0 -186
  255. package/bundled/skills-windows/prizmkit-committer/SKILL.md +0 -89
  256. package/bundled/skills-windows/prizmkit-deploy/SKILL.md +0 -444
  257. package/bundled/skills-windows/prizmkit-deploy/references/ci-cd-workflows.md +0 -115
  258. package/bundled/skills-windows/prizmkit-deploy/references/cloud-platform-deploy.md +0 -93
  259. package/bundled/skills-windows/prizmkit-deploy/references/data-safety-examples.md +0 -120
  260. package/bundled/skills-windows/prizmkit-deploy/references/database-setup.md +0 -46
  261. package/bundled/skills-windows/prizmkit-deploy/references/deploy-config-schema.md +0 -148
  262. package/bundled/skills-windows/prizmkit-deploy/references/deploy-history-schema.md +0 -62
  263. package/bundled/skills-windows/prizmkit-deploy/references/deployment-modes.md +0 -50
  264. package/bundled/skills-windows/prizmkit-deploy/references/direct-upload.md +0 -26
  265. package/bundled/skills-windows/prizmkit-deploy/references/dns-setup.md +0 -42
  266. package/bundled/skills-windows/prizmkit-deploy/references/docker-deploy.md +0 -31
  267. package/bundled/skills-windows/prizmkit-deploy/references/firewall-setup.md +0 -37
  268. package/bundled/skills-windows/prizmkit-deploy/references/live-validation-notes.md +0 -21
  269. package/bundled/skills-windows/prizmkit-deploy/references/nginx-blue-green.md +0 -59
  270. package/bundled/skills-windows/prizmkit-deploy/references/ssh-bootstrap-flow.md +0 -49
  271. package/bundled/skills-windows/prizmkit-deploy/references/ssh-execution-flow.md +0 -41
  272. package/bundled/skills-windows/prizmkit-deploy/references/ssh-takeover.md +0 -20
  273. package/bundled/skills-windows/prizmkit-deploy/references/ssl-setup.md +0 -56
  274. package/bundled/skills-windows/prizmkit-implement/SKILL.md +0 -71
  275. package/bundled/skills-windows/prizmkit-init/SKILL.md +0 -356
  276. package/bundled/skills-windows/prizmkit-init/assets/project-brief-template.md +0 -82
  277. package/bundled/skills-windows/prizmkit-init/references/config-schema.md +0 -70
  278. package/bundled/skills-windows/prizmkit-init/references/rules/layer-detection.md +0 -41
  279. package/bundled/skills-windows/prizmkit-init/references/tech-stack-catalog.md +0 -13
  280. package/bundled/skills-windows/prizmkit-init/references/update-supplement.md +0 -9
  281. package/bundled/skills-windows/prizmkit-plan/SKILL.md +0 -102
  282. package/bundled/skills-windows/prizmkit-plan/assets/plan-template.md +0 -115
  283. package/bundled/skills-windows/prizmkit-plan/assets/spec-template.md +0 -73
  284. package/bundled/skills-windows/prizmkit-plan/references/clarify-guide.md +0 -67
  285. package/bundled/skills-windows/prizmkit-plan/references/examples.md +0 -85
  286. package/bundled/skills-windows/prizmkit-plan/references/verification-checklist.md +0 -60
  287. package/bundled/skills-windows/prizmkit-prizm-docs/SKILL.md +0 -129
  288. package/bundled/skills-windows/prizmkit-prizm-docs/assets/prizm-docs-format.md +0 -613
  289. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-init.md +0 -45
  290. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-rebuild.md +0 -15
  291. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-status.md +0 -14
  292. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-update.md +0 -19
  293. package/bundled/skills-windows/prizmkit-prizm-docs/references/op-validate.md +0 -17
  294. package/bundled/skills-windows/prizmkit-retrospective/SKILL.md +0 -87
  295. package/bundled/skills-windows/prizmkit-retrospective/references/knowledge-injection-steps.md +0 -50
  296. package/bundled/skills-windows/prizmkit-retrospective/references/structural-sync-steps.md +0 -43
  297. package/bundled/skills-windows/prizmkit-test/SKILL.md +0 -227
  298. package/bundled/skills-windows/prizmkit-test/references/boundary-coverage-protocol.md +0 -220
  299. package/bundled/skills-windows/prizmkit-test/references/examples.md +0 -143
  300. package/bundled/skills-windows/prizmkit-test/references/service-boundary-test-catalog.md +0 -225
  301. package/bundled/skills-windows/prizmkit-test/references/test-generation-steps.md +0 -109
  302. package/bundled/skills-windows/prizmkit-test/references/test-report-template.md +0 -111
  303. package/bundled/skills-windows/prizmkit-test/scripts/validate_boundary_report.py +0 -347
  304. package/bundled/skills-windows/recovery-workflow/SKILL.md +0 -355
  305. package/bundled/skills-windows/recovery-workflow/evals/evals.json +0 -46
  306. package/bundled/skills-windows/recovery-workflow/references/detection.md +0 -58
  307. package/bundled/skills-windows/recovery-workflow/scripts/detect-recovery-state.py +0 -544
  308. package/bundled/skills-windows/refactor-pipeline-launcher/SKILL.md +0 -346
  309. package/bundled/skills-windows/refactor-pipeline-launcher/references/configuration.md +0 -72
  310. package/bundled/skills-windows/refactor-planner/SKILL.md +0 -398
  311. package/bundled/skills-windows/refactor-planner/assets/planning-guide.md +0 -292
  312. package/bundled/skills-windows/refactor-planner/references/behavior-preservation.md +0 -301
  313. package/bundled/skills-windows/refactor-planner/references/fast-path.md +0 -59
  314. package/bundled/skills-windows/refactor-planner/references/planning-phases.md +0 -135
  315. package/bundled/skills-windows/refactor-planner/references/refactor-scoping-guide.md +0 -221
  316. package/bundled/skills-windows/refactor-planner/scripts/validate-and-generate-refactor.py +0 -858
  317. package/bundled/skills-windows/refactor-workflow/SKILL.md +0 -343
  318. package/bundled/skills-windows/refactor-workflow/references/brainstorm-guide.md +0 -116
  319. package/bundled/templates/hooks/diff-prizm-docs.sh +0 -158
  320. package/bundled/templates/hooks/prizm-pre-commit.sh +0 -108
  321. package/bundled/templates/hooks/validate-prizm-docs.sh +0 -139
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.99",
2
+ "version": "1.1.101",
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.",
@@ -11,8 +11,8 @@ Launch the autonomous bug fix pipeline from within an AI CLI conversation. Suppo
11
11
 
12
12
  Three execution modes are available. The user chooses one before configuring other options:
13
13
 
14
- 1. **Foreground** (recommended) — `.prizmkit/dev-pipeline/run-bugfix.sh run`. Visible output, direct error feedback, no orphaned processes.
15
- 2. **Background daemon** — `.prizmkit/dev-pipeline/launch-bugfix-daemon.sh`. Runs fully detached, survives AI CLI session closure.
14
+ 1. **Foreground** (recommended) — `python3 ./.prizmkit/dev-pipeline/cli.py bugfix run`. Visible output, direct error feedback, no orphaned processes.
15
+ 2. **Background daemon** — `python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix start .prizmkit/plans/bug-fix-list.json`. Runs fully detached, survives AI CLI session closure.
16
16
  3. **Manual** — Display the assembled command(s) only. Do not execute anything. User runs them on their own.
17
17
 
18
18
  **Background mode documentation**: When the user chooses background/daemon mode, record the choice and PID in `.prizmkit/bugfix-pipeline-run.log` (append-only) with timestamp, so the decision is traceable:
@@ -47,14 +47,15 @@ Three execution modes are available. The user chooses one before configuring oth
47
47
 
48
48
  Before any action, validate:
49
49
 
50
- 1. **bugfix pipeline exists**: Confirm `.prizmkit/dev-pipeline/launch-bugfix-daemon.sh` and `.prizmkit/dev-pipeline/run-bugfix.sh` are present and executable
50
+ 1. **bugfix pipeline exists**: Confirm `.prizmkit/dev-pipeline/cli.py` is present
51
51
  2. **For start**: `.prizmkit/plans/bug-fix-list.json` must exist in `.prizmkit/plans/` (or user-specified path)
52
- 3. **Dependencies**: `jq`, `python3`, AI CLI (`cbc` or `claude`) must be in PATH
53
- 4. **Browser tools** (optional): If any bug has `browser_interaction` field, check the corresponding tool is available. Bugs may specify `tool: "playwright-cli"`, `tool: "opencli"`, or `tool: "auto"` (AI chooses at runtime).
52
+ 3. **Dependencies**: `python3`, `git`, and AI CLI (`cbc` or `claude`) must be in PATH
53
+ 4. **Python version**: Requires Python 3.10+ for the unified dev-pipeline runtime
54
+ 5. **Browser tools** (optional): If any bug has `browser_interaction` field, check the corresponding tool is available. Bugs may specify `tool: "playwright-cli"`, `tool: "opencli"`, or `tool: "auto"` (AI chooses at runtime).
54
55
 
55
56
  Quick check:
56
57
  ```bash
57
- command -v jq && command -v python3 && (command -v cbc || command -v claude) && echo "All dependencies OK"
58
+ command -v python3 && command -v git && (command -v cbc || command -v claude) && echo "All dependencies OK"
58
59
  # Optional: browser interaction support (check both tools — bugs may use either)
59
60
  command -v playwright-cli && echo "playwright-cli OK" || echo "playwright-cli not found (playwright browser verification will be skipped)"
60
61
  command -v opencli && echo "opencli OK" || echo "opencli not found (opencli browser verification will be skipped)"
@@ -80,7 +81,7 @@ Detect user intent from their message, then follow the corresponding workflow:
80
81
 
81
82
  2. **Check not already running**:
82
83
  ```bash
83
- .prizmkit/dev-pipeline/launch-bugfix-daemon.sh status 2>/dev/null
84
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix status 2>/dev/null
84
85
  ```
85
86
  If running, inform user and ask: "Bugfix pipeline is already running. Want to restart it, check status, or view logs?"
86
87
 
@@ -106,10 +107,7 @@ Detect user intent from their message, then follow the corresponding workflow:
106
107
  ```
107
108
  If pipeline state already exists, use the status command instead:
108
109
  ```bash
109
- python3 .prizmkit/dev-pipeline/scripts/update-bug-status.py \
110
- --bug-list .prizmkit/plans/bug-fix-list.json \
111
- --state-dir .prizmkit/state/bugfix \
112
- --action status 2>/dev/null
110
+ python3 ./.prizmkit/dev-pipeline/cli.py bugfix status .prizmkit/plans/bug-fix-list.json
113
111
  ```
114
112
 
115
113
  4. **Ask execution mode** (first user decision — SEPARATE `AskUserQuestion` call with exactly 1 question):
@@ -125,34 +123,34 @@ Detect user intent from their message, then follow the corresponding workflow:
125
123
 
126
124
  **Foreground command:**
127
125
  ```bash
128
- VERBOSE=1 .prizmkit/dev-pipeline/run-bugfix.sh run .prizmkit/plans/bug-fix-list.json
126
+ VERBOSE=1 python3 ./.prizmkit/dev-pipeline/cli.py bugfix run .prizmkit/plans/bug-fix-list.json
129
127
  ```
130
128
  With all options:
131
129
  ```bash
132
130
  VERBOSE=1 MAX_RETRIES=5 ENABLE_DEPLOY=1 PRIZMKIT_EFFORT=high \
133
- .prizmkit/dev-pipeline/run-bugfix.sh run .prizmkit/plans/bug-fix-list.json
131
+ python3 ./.prizmkit/dev-pipeline/cli.py bugfix run .prizmkit/plans/bug-fix-list.json
134
132
  ```
135
133
 
136
134
  **Background daemon command:**
137
135
  ```bash
138
- .prizmkit/dev-pipeline/launch-bugfix-daemon.sh start .prizmkit/plans/bug-fix-list.json --env "VERBOSE=1"
136
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix start .prizmkit/plans/bug-fix-list.json --env "VERBOSE=1"
139
137
  ```
140
138
  With all options:
141
139
  ```bash
142
- .prizmkit/dev-pipeline/launch-bugfix-daemon.sh start .prizmkit/plans/bug-fix-list.json \
140
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix start .prizmkit/plans/bug-fix-list.json \
143
141
  --env "VERBOSE=1 MAX_RETRIES=5 ENABLE_DEPLOY=1"
144
142
  ```
145
143
 
146
144
  **Manual mode**: Print the assembled command(s) and **stop here**. Do not execute anything. Do not proceed to step 7.
147
145
  ```
148
146
  # To run in foreground:
149
- VERBOSE=1 .prizmkit/dev-pipeline/run-bugfix.sh run .prizmkit/plans/bug-fix-list.json
147
+ VERBOSE=1 python3 ./.prizmkit/dev-pipeline/cli.py bugfix run .prizmkit/plans/bug-fix-list.json
150
148
 
151
149
  # To run in background (detached):
152
- .prizmkit/dev-pipeline/launch-bugfix-daemon.sh start .prizmkit/plans/bug-fix-list.json --env "VERBOSE=1"
150
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix start .prizmkit/plans/bug-fix-list.json --env "VERBOSE=1"
153
151
 
154
152
  # To check status:
155
- .prizmkit/dev-pipeline/run-bugfix.sh status .prizmkit/plans/bug-fix-list.json
153
+ python3 ./.prizmkit/dev-pipeline/cli.py bugfix status .prizmkit/plans/bug-fix-list.json
156
154
  ```
157
155
 
158
156
  7. **Confirm and launch** (Foreground and Background only — Manual mode ends at step 6):
@@ -166,16 +164,16 @@ Detect user intent from their message, then follow the corresponding workflow:
166
164
  **If foreground**: Pipeline runs to completion in the terminal. After it finishes:
167
165
  - Summarize results: total bugs, fixed, failed, skipped
168
166
  - If all fixed: each bug session has already run `prizmkit-retrospective` internally (structural sync by default; full retrospective when the fix changed interfaces, dependencies, or observable behavior). Ask user what's next.
169
- - If some failed: show failed bug IDs and suggest `.prizmkit/dev-pipeline/reset-bug.sh <B-XXX> --clean --run` for a fresh retry
167
+ - If some failed: show failed bug IDs and suggest `python3 ./.prizmkit/dev-pipeline/cli.py reset bugfix <B-XXX> --clean --run` for a fresh retry
170
168
 
171
169
  **If background daemon**:
172
170
  1. Verify launch:
173
171
  ```bash
174
- .prizmkit/dev-pipeline/launch-bugfix-daemon.sh status
172
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix status
175
173
  ```
176
174
  2. Start log monitoring — Use the Bash tool with `run_in_background: true`:
177
175
  ```bash
178
- tail -f .prizmkit/state/bugfix/pipeline-daemon.log
176
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix logs --follow
179
177
  ```
180
178
  3. Report to user:
181
179
  - Pipeline PID
@@ -189,20 +187,17 @@ Detect user intent from their message, then follow the corresponding workflow:
189
187
 
190
188
  1. **Check daemon status**:
191
189
  ```bash
192
- .prizmkit/dev-pipeline/launch-bugfix-daemon.sh status
190
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix status
193
191
  ```
194
192
 
195
193
  2. **Show bug-level progress**:
196
194
  ```bash
197
- python3 .prizmkit/dev-pipeline/scripts/update-bug-status.py \
198
- --bug-list .prizmkit/plans/bug-fix-list.json \
199
- --state-dir .prizmkit/state/bugfix \
200
- --action status
195
+ python3 ./.prizmkit/dev-pipeline/cli.py bugfix status .prizmkit/plans/bug-fix-list.json
201
196
  ```
202
197
 
203
198
  3. **Show recent log activity** (last 20 lines):
204
199
  ```bash
205
- tail -20 .prizmkit/state/bugfix/pipeline-daemon.log
200
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix logs --lines 20
206
201
  ```
207
202
 
208
203
  4. **Summarize** to user: total bugs, completed, in-progress, failed, pending, needs-info.
@@ -213,12 +208,12 @@ Detect user intent from their message, then follow the corresponding workflow:
213
208
 
214
209
  1. **Stop the daemon**:
215
210
  ```bash
216
- .prizmkit/dev-pipeline/launch-bugfix-daemon.sh stop
211
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix stop
217
212
  ```
218
213
 
219
214
  2. **Verify stopped**:
220
215
  ```bash
221
- .prizmkit/dev-pipeline/launch-bugfix-daemon.sh status 2>/dev/null || true
216
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix status 2>/dev/null || true
222
217
  ```
223
218
 
224
219
  3. **Inform user**: "Bugfix pipeline stopped. State is preserved -- you can resume later with 'start bug fix' and it will pick up where it left off."
@@ -229,17 +224,17 @@ Detect user intent from their message, then follow the corresponding workflow:
229
224
 
230
225
  1. **Check if running**:
231
226
  ```bash
232
- .prizmkit/dev-pipeline/launch-bugfix-daemon.sh status 2>/dev/null
227
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix status 2>/dev/null
233
228
  ```
234
229
 
235
230
  2. **If running** -- Start live tail with Bash tool `run_in_background: true`:
236
231
  ```bash
237
- tail -f .prizmkit/state/bugfix/pipeline-daemon.log
232
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix logs --follow
238
233
  ```
239
234
 
240
235
  3. **If not running** -- Show last 50 lines:
241
236
  ```bash
242
- tail -50 .prizmkit/state/bugfix/pipeline-daemon.log
237
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix logs --lines 50
243
238
  ```
244
239
 
245
240
  4. **For per-bug session logs** (when user asks about a specific bug):
@@ -257,10 +252,10 @@ Detect user intent from their message, then follow the corresponding workflow:
257
252
  When user says "retry B-001":
258
253
 
259
254
  ```bash
260
- .prizmkit/dev-pipeline/reset-bug.sh B-001 --clean --run .prizmkit/plans/bug-fix-list.json
255
+ python3 ./.prizmkit/dev-pipeline/cli.py reset bugfix B-001 --clean --run .prizmkit/plans/bug-fix-list.json
261
256
  ```
262
257
 
263
- **Note:** `reset-bug.sh --clean --run` performs a full clean (deletes session history and artifacts) before retrying — this gives a fresh start.
258
+ **Note:** `python3 ./.prizmkit/dev-pipeline/cli.py reset bugfix <B-XXX> --clean --run .prizmkit/plans/bug-fix-list.json` performs a full clean (deletes session history and artifacts) before retrying the selected bug — this gives a fresh start.
264
259
 
265
260
  ### Error Handling
266
261
 
@@ -76,13 +76,14 @@ Note: Bug filter defaults to all bugs (by severity order). Default Critic to Off
76
76
  | Error | Action |
77
77
  |-------|--------|
78
78
  | `.prizmkit/plans/bug-fix-list.json` not found | Tell user to run `bug-planner` skill first |
79
- | `jq` not installed | Suggest: `brew install jq` |
79
+ | `python3` not installed | Install Python 3.10+ and rerun the Python runtime command |
80
+ | `git` not installed | Install git; the Python runtime uses git for branch/worktree/status operations |
80
81
  | `cbc`/`claude` not in PATH | Check AI CLI installation |
81
82
  | Bugfix pipeline already running | Show status, ask if user wants to stop and restart |
82
- | PID file stale (process dead) | `launch-bugfix-daemon.sh` auto-cleans, retry start |
83
- | Launch failed (process died immediately) | Show last 20 lines of log: `tail -20 .prizmkit/state/bugfix/pipeline-daemon.log` |
84
- | All bugs blocked/failed/needs-info | Show status, suggest retrying or providing more info |
83
+ | PID file stale (process dead) | `python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix start .prizmkit/plans/bug-fix-list.json` auto-cleans, retry start |
84
+ | Launch failed (process died immediately) | Show last 20 lines of log: `python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix logs --lines 20` |
85
+ | All bugs blocked/failed/needs-info | Show status, suggest retrying with `python3 ./.prizmkit/dev-pipeline/cli.py reset bugfix <B-XXX> --clean --run .prizmkit/plans/bug-fix-list.json` or providing more info |
85
86
  | `playwright-cli` not installed | Browser verification skipped for playwright bugs (non-blocking). Suggest: `npm install -g @playwright/cli@latest && playwright-cli install --skills` |
86
87
  | `opencli` not installed | Browser verification skipped for opencli bugs (non-blocking). Install opencli for Chrome session-based browser verification |
87
88
  | 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`. |
88
- | Permission denied on script | Run `chmod +x .prizmkit/dev-pipeline/launch-bugfix-daemon.sh .prizmkit/dev-pipeline/run-bugfix.sh` |
89
+ | Permission denied running Python CLI | Ensure Python is installed and the command uses `python3 ./.prizmkit/dev-pipeline/cli.py ...` |
@@ -38,15 +38,15 @@ Three execution modes are available (Foreground / Background daemon / Manual); t
38
38
 
39
39
  Before any action, validate:
40
40
 
41
- 1. **dev-pipeline exists**: Confirm `.prizmkit/dev-pipeline/launch-feature-daemon.sh` is present and executable
41
+ 1. **dev-pipeline exists**: Confirm `.prizmkit/dev-pipeline/cli.py` is present
42
42
  2. **For start**: `.prizmkit/plans/feature-list.json` must exist in `.prizmkit/plans/` (or user-specified path)
43
- 3. **Dependencies**: `jq`, `python3`, AI CLI (`cbc` or `claude`) must be in PATH
44
- 4. **Python version**: Requires Python 3.8+ for dev-pipeline scripts
43
+ 3. **Dependencies**: `python3`, `git`, and AI CLI (`cbc` or `claude`) must be in PATH
44
+ 4. **Python version**: Requires Python 3.10+ for the unified dev-pipeline runtime
45
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
46
 
47
47
  Quick check:
48
48
  ```bash
49
- command -v jq && command -v python3 && (command -v cbc || command -v claude) && echo "All dependencies OK"
49
+ command -v python3 && command -v git && (command -v cbc || command -v claude) && echo "All dependencies OK"
50
50
  # Optional: browser interaction support (check both tools — features may use either)
51
51
  command -v playwright-cli && echo "playwright-cli OK" || echo "playwright-cli not found (playwright browser verification will be skipped)"
52
52
  command -v opencli && echo "opencli OK" || echo "opencli not found (opencli browser verification will be skipped)"
@@ -72,7 +72,7 @@ Detect user intent from their message, then follow the corresponding workflow:
72
72
 
73
73
  2. **Check not already running**:
74
74
  ```bash
75
- .prizmkit/dev-pipeline/launch-feature-daemon.sh status 2>/dev/null
75
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon feature status 2>/dev/null
76
76
  ```
77
77
  If running, inform user and ask: "Pipeline is already running. Want to restart it, check status, or view logs?"
78
78
 
@@ -90,10 +90,7 @@ Detect user intent from their message, then follow the corresponding workflow:
90
90
  ```
91
91
  If pipeline state already exists, use the status command instead:
92
92
  ```bash
93
- python3 .prizmkit/dev-pipeline/scripts/update-feature-status.py \
94
- --feature-list .prizmkit/plans/feature-list.json \
95
- --state-dir .prizmkit/state/features \
96
- --action status 2>/dev/null
93
+ python3 ./.prizmkit/dev-pipeline/cli.py feature status .prizmkit/plans/feature-list.json
97
94
  ```
98
95
 
99
96
  4. **Run environment preflight checks** (database connectivity, migrations, dev server):
@@ -126,8 +123,8 @@ Detect user intent from their message, then follow the corresponding workflow:
126
123
  Use `AskUserQuestion` with exactly 1 question:
127
124
 
128
125
  **Question 1 — Execution mode** (multiSelect: false):
129
- - Foreground (Recommended) — pipeline runs in the current session via `run-feature.sh run`. Visible output and direct error feedback.
130
- - Background daemon — pipeline runs fully detached via `launch-feature-daemon.sh`. Survives AI CLI session closure.
126
+ - Foreground (Recommended) — pipeline runs in the current session via `python3 ./.prizmkit/dev-pipeline/cli.py feature run`. Visible output and direct error feedback.
127
+ - Background daemon — pipeline runs fully detached via `python3 ./.prizmkit/dev-pipeline/cli.py daemon feature start .prizmkit/plans/feature-list.json`. Survives AI CLI session closure.
131
128
  - Manual — display the final assembled commands only. Do not execute anything. User runs them on their own.
132
129
 
133
130
  STOP HERE and wait for user response before continuing to step 6.
@@ -164,34 +161,34 @@ Detect user intent from their message, then follow the corresponding workflow:
164
161
 
165
162
  **Foreground command:**
166
163
  ```bash
167
- VERBOSE=1 .prizmkit/dev-pipeline/run-feature.sh run .prizmkit/plans/feature-list.json
164
+ VERBOSE=1 python3 ./.prizmkit/dev-pipeline/cli.py feature run .prizmkit/plans/feature-list.json
168
165
  ```
169
166
  With all options:
170
167
  ```bash
171
168
  VERBOSE=1 ENABLE_CRITIC=true MAX_RETRIES=5 ENABLE_DEPLOY=1 PRIZMKIT_EFFORT=high \
172
- .prizmkit/dev-pipeline/run-feature.sh run .prizmkit/plans/feature-list.json --features F-001:F-005
169
+ python3 ./.prizmkit/dev-pipeline/cli.py feature run .prizmkit/plans/feature-list.json --features F-001:F-005
173
170
  ```
174
171
 
175
172
  **Background daemon command:**
176
173
  ```bash
177
- .prizmkit/dev-pipeline/launch-feature-daemon.sh start .prizmkit/plans/feature-list.json --env "VERBOSE=1"
174
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon feature start .prizmkit/plans/feature-list.json --env "VERBOSE=1"
178
175
  ```
179
176
  With all options:
180
177
  ```bash
181
- .prizmkit/dev-pipeline/launch-feature-daemon.sh start .prizmkit/plans/feature-list.json --features F-001:F-005 \
178
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon feature start .prizmkit/plans/feature-list.json --features F-001:F-005 \
182
179
  --env "VERBOSE=1 ENABLE_CRITIC=true MAX_RETRIES=5 ENABLE_DEPLOY=1 PRIZMKIT_EFFORT=high"
183
180
  ```
184
181
 
185
182
  **Manual mode**: Print the assembled command(s) and **stop here**. Do not execute anything. Do not proceed to step 8.
186
183
  ```
187
184
  # To run in foreground:
188
- VERBOSE=1 .prizmkit/dev-pipeline/run-feature.sh run .prizmkit/plans/feature-list.json
185
+ VERBOSE=1 python3 ./.prizmkit/dev-pipeline/cli.py feature run .prizmkit/plans/feature-list.json
189
186
 
190
187
  # To run in background (detached):
191
- .prizmkit/dev-pipeline/launch-feature-daemon.sh start .prizmkit/plans/feature-list.json --env "VERBOSE=1"
188
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon feature start .prizmkit/plans/feature-list.json --env "VERBOSE=1"
192
189
 
193
190
  # To check status:
194
- .prizmkit/dev-pipeline/run-feature.sh status .prizmkit/plans/feature-list.json
191
+ python3 ./.prizmkit/dev-pipeline/cli.py feature status .prizmkit/plans/feature-list.json
195
192
  ```
196
193
 
197
194
  8. **Confirm and launch** (Foreground and Background only — Manual mode ends at step 7):
@@ -205,17 +202,17 @@ Detect user intent from their message, then follow the corresponding workflow:
205
202
  **If foreground**: Pipeline runs to completion in the terminal. After it finishes:
206
203
  - Summarize results: total features, succeeded, failed, skipped
207
204
  - If all succeeded: each feature session has already run `prizmkit-retrospective` internally. Ask user what's next.
208
- - If some failed: show failed feature IDs and suggest `reset-feature.sh <F-XXX> --clean --run` for a fresh retry
205
+ - If some failed: show failed feature IDs and suggest `python3 ./.prizmkit/dev-pipeline/cli.py reset feature <F-XXX> --clean --run` for a fresh retry
209
206
  - **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)
210
207
 
211
208
  **If background daemon**:
212
209
  1. Verify launch:
213
210
  ```bash
214
- .prizmkit/dev-pipeline/launch-feature-daemon.sh status
211
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon feature status
215
212
  ```
216
213
  2. Start log monitoring — Use the Bash tool with `run_in_background: true`:
217
214
  ```bash
218
- tail -f .prizmkit/state/features/pipeline-daemon.log
215
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon feature logs --follow
219
216
  ```
220
217
  3. Report to user:
221
218
  - Pipeline PID
@@ -229,20 +226,17 @@ Detect user intent from their message, then follow the corresponding workflow:
229
226
 
230
227
  1. **Check daemon status**:
231
228
  ```bash
232
- .prizmkit/dev-pipeline/launch-feature-daemon.sh status
229
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon feature status
233
230
  ```
234
231
 
235
232
  2. **Show feature-level progress**:
236
233
  ```bash
237
- python3 .prizmkit/dev-pipeline/scripts/update-feature-status.py \
238
- --feature-list .prizmkit/plans/feature-list.json \
239
- --state-dir .prizmkit/state/features \
240
- --action status
234
+ python3 ./.prizmkit/dev-pipeline/cli.py feature status .prizmkit/plans/feature-list.json
241
235
  ```
242
236
 
243
237
  3. **Show recent log activity** (last 20 lines):
244
238
  ```bash
245
- tail -20 .prizmkit/state/features/pipeline-daemon.log
239
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon feature logs --lines 20
246
240
  ```
247
241
 
248
242
  4. **Summarize** to user: total features, completed, in-progress, failed, pending.
@@ -253,12 +247,12 @@ Detect user intent from their message, then follow the corresponding workflow:
253
247
 
254
248
  1. **Stop the daemon**:
255
249
  ```bash
256
- .prizmkit/dev-pipeline/launch-feature-daemon.sh stop
250
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon feature stop
257
251
  ```
258
252
 
259
253
  2. **Verify stopped**:
260
254
  ```bash
261
- .prizmkit/dev-pipeline/launch-feature-daemon.sh status 2>/dev/null || true
255
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon feature status 2>/dev/null || true
262
256
  ```
263
257
 
264
258
  3. **Inform user**: "Pipeline stopped. State is preserved -- you can resume later with 'start pipeline' and it will pick up where it left off."
@@ -269,17 +263,17 @@ Detect user intent from their message, then follow the corresponding workflow:
269
263
 
270
264
  1. **Check if running**:
271
265
  ```bash
272
- .prizmkit/dev-pipeline/launch-feature-daemon.sh status 2>/dev/null
266
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon feature status 2>/dev/null
273
267
  ```
274
268
 
275
269
  2. **If running** -- Start live tail with Bash tool `run_in_background: true`:
276
270
  ```bash
277
- tail -f .prizmkit/state/features/pipeline-daemon.log
271
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon feature logs --follow
278
272
  ```
279
273
 
280
274
  3. **If not running** -- Show last 50 lines:
281
275
  ```bash
282
- tail -50 .prizmkit/state/features/pipeline-daemon.log
276
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon feature logs --lines 50
283
277
  ```
284
278
 
285
279
  4. **For per-feature session logs** (when user asks about a specific feature):
@@ -297,12 +291,12 @@ Detect user intent from their message, then follow the corresponding workflow:
297
291
  When user says "retry F-003" or "clean retry F-003":
298
292
 
299
293
  ```bash
300
- .prizmkit/dev-pipeline/reset-feature.sh F-003 --clean --run .prizmkit/plans/feature-list.json
294
+ python3 ./.prizmkit/dev-pipeline/cli.py reset feature F-003 --clean --run .prizmkit/plans/feature-list.json
301
295
  ```
302
296
 
303
297
  Notes:
304
- - `reset-feature.sh --clean --run` performs a full clean (deletes session history and artifacts) before retrying — this gives a fresh start.
305
- - Keep pipeline daemon mode for main run management (`launch-feature-daemon.sh`).
298
+ - `python3 ./.prizmkit/dev-pipeline/cli.py reset feature <F-XXX> --clean --run .prizmkit/plans/feature-list.json` performs a full clean (deletes session history and artifacts) before retrying the selected feature — this gives a fresh start.
299
+ - Keep pipeline daemon mode for main run management (`python3 ./.prizmkit/dev-pipeline/cli.py daemon feature start`, `python3 ./.prizmkit/dev-pipeline/cli.py daemon feature status`, or `python3 ./.prizmkit/dev-pipeline/cli.py daemon feature stop`).
306
300
 
307
301
  ---
308
302
 
@@ -54,16 +54,17 @@ Not exposed in interactive menu, pass via `--env`:
54
54
  | Error | Action |
55
55
  |-------|--------|
56
56
  | `.prizmkit/plans/feature-list.json` not found | Tell user to run `feature-planner` skill first |
57
- | `jq` not installed | Suggest: `brew install jq` |
57
+ | `python3` not installed | Install Python 3.10+ and rerun the Python runtime command |
58
+ | `git` not installed | Install git; the Python runtime uses git for branch/worktree/status operations |
58
59
  | `cbc`/`claude` not in PATH | Check AI CLI installation |
59
60
  | Pipeline already running | Show status, ask if user wants to stop and restart |
60
- | PID file stale (process dead) | `launch-feature-daemon.sh` auto-cleans, retry start |
61
- | Launch failed (process died immediately) | Show last 20 lines of log: `tail -20 .prizmkit/state/features/pipeline-daemon.log` |
62
- | Feature stuck/blocked | Use `reset-feature.sh <F-XXX> --clean --run` for a fresh retry |
63
- | All features blocked/failed | Show status, suggest daemon-safe recovery: `.prizmkit/dev-pipeline/reset-feature.sh <F-XXX> --clean --run .prizmkit/plans/feature-list.json` |
61
+ | PID file stale (process dead) | `python3 ./.prizmkit/dev-pipeline/cli.py daemon feature start .prizmkit/plans/feature-list.json` auto-cleans, retry start |
62
+ | Launch failed (process died immediately) | Show last 20 lines of log: `python3 ./.prizmkit/dev-pipeline/cli.py daemon feature logs --lines 20` |
63
+ | Feature stuck/blocked | Use `python3 ./.prizmkit/dev-pipeline/cli.py reset feature <F-XXX> --clean --run` for a fresh retry |
64
+ | All features blocked/failed | Show status, suggest daemon-safe recovery: `python3 ./.prizmkit/dev-pipeline/cli.py reset feature <F-XXX> --clean --run .prizmkit/plans/feature-list.json` |
64
65
  | `playwright-cli` not installed | Browser verification skipped for playwright features (non-blocking). Suggest: `npm install -g @playwright/cli@latest && playwright-cli install --skills` |
65
66
  | `opencli` not installed | Browser verification skipped for opencli features (non-blocking). Install opencli for Chrome session-based browser verification |
66
- | Permission denied on script | Run `chmod +x .prizmkit/dev-pipeline/launch-feature-daemon.sh .prizmkit/dev-pipeline/run-feature.sh` |
67
+ | Permission denied running Python CLI | Ensure Python is installed and the command uses `python3 ./.prizmkit/dev-pipeline/cli.py ...` |
67
68
  | Pipeline stop failed (process won't die) | Process may be stuck in I/O wait. Try `kill -9 <PID>` manually. Check for orphaned child processes with `ps aux \| grep claude` |
68
69
  | 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`. |
69
70
  | `.env.local` missing or incomplete | Warn: database connection variables not found. Suggest creating env file with required connection variables for the project's database |
@@ -245,7 +245,7 @@ Never proceed without explicit user confirmation via `AskUserQuestion`. Do NOT r
245
245
 
246
246
  1. **Initial status check**:
247
247
  ```bash
248
- .prizmkit/dev-pipeline/launch-feature-daemon.sh status
248
+ python3 ./.prizmkit/dev-pipeline/cli.py daemon feature status
249
249
  ```
250
250
 
251
251
  2. **Offer monitoring options**:
@@ -255,10 +255,7 @@ Never proceed without explicit user confirmation via `AskUserQuestion`. Do NOT r
255
255
 
256
256
  3. **Periodic progress reports** (when user asks):
257
257
  ```bash
258
- python3 .prizmkit/dev-pipeline/scripts/update-feature-status.py \
259
- --feature-list .prizmkit/plans/feature-list.json \
260
- --state-dir .prizmkit/state/features \
261
- --action status
258
+ python3 ./.prizmkit/dev-pipeline/cli.py feature status .prizmkit/plans/feature-list.json
262
259
  ```
263
260
 
264
261
  4. **Completion report** (when pipeline finishes all features):
@@ -316,7 +313,7 @@ While the pipeline runs, the user can continue the conversation:
316
313
  | Brainstorming stalls | Offer concrete options: "Would you prefer A or B?" |
317
314
  | `feature-planner` cannot parse requirements | Refine the requirements summary and retry |
318
315
  | `.prizmkit/plans/feature-list.json` generation failed | Show error, retry with refined input |
319
- | Pipeline launch failed | Show daemon log, suggest manual start |
316
+ | Pipeline launch failed | Show daemon log, suggest manual start with `python3 ./.prizmkit/dev-pipeline/cli.py feature run .prizmkit/plans/feature-list.json` or `python3 ./.prizmkit/dev-pipeline/cli.py daemon feature start .prizmkit/plans/feature-list.json` |
320
317
  | All features blocked/failed | Show status, suggest retrying specific features |
321
318
  | User wants to cancel mid-brainstorming | Save conversation context, offer to resume later |
322
319
 
@@ -16,32 +16,32 @@ User says:
16
16
  - "Don't want to restart from scratch"
17
17
 
18
18
  **Do NOT use when:**
19
- - Pipeline interrupted → use `reset-feature.sh --clean --run` / `reset-bug.sh --clean --run` for a fresh retry
19
+ - Pipeline interrupted → use `python3 ./.prizmkit/dev-pipeline/cli.py reset feature <F-XXX> --clean --run .prizmkit/plans/feature-list.json` / `python3 ./.prizmkit/dev-pipeline/cli.py reset bugfix <B-XXX> --clean --run .prizmkit/plans/bug-fix-list.json` for a fresh retry
20
20
  - User wants a clean restart → use the original workflow skill directly (`/feature-workflow`, `/bug-fix-workflow`, `/refactor-workflow`)
21
21
  - Nothing was ever started → use the original workflow skill
22
22
 
23
23
  ## Pipeline Recovery (Recommended)
24
24
 
25
- **IMPORTANT**: In Phase 1.3, you MUST present the user with a choice between pipeline recovery (`run-recovery.sh`) and interactive recovery. **NEVER skip this choice. NEVER decide for the user.** The pipeline approach is recommended because it generates a comprehensive bootstrap prompt that explicitly lists every remaining phase with full instructions, ensuring the AI completes the full workflow — not just the implementation part.
25
+ **IMPORTANT**: In Phase 1.3, you MUST present the user with a choice between pipeline recovery (`python3 ./.prizmkit/dev-pipeline/cli.py recovery run`) and interactive recovery. **NEVER skip this choice. NEVER decide for the user.** The pipeline approach is recommended because it generates a comprehensive bootstrap prompt that explicitly lists every remaining phase with full instructions, ensuring the AI completes the full workflow — not just the implementation part.
26
26
 
27
27
  Pipeline commands (for reference — Phase 1.3 will present these as a selectable option):
28
28
 
29
29
  ```bash
30
- ./.prizmkit/dev-pipeline/run-recovery.sh # Auto-detect and recover
31
- ./.prizmkit/dev-pipeline/run-recovery.sh detect # Detection report only
32
- ./.prizmkit/dev-pipeline/run-recovery.sh run --dry-run # Generate prompt, don't execute
33
- ./.prizmkit/dev-pipeline/run-recovery.sh run --yes # Skip confirmation
34
- ./.prizmkit/dev-pipeline/run-recovery.sh run --model <model> # Override AI model
30
+ python3 ./.prizmkit/dev-pipeline/cli.py recovery run # Auto-detect and recover
31
+ python3 ./.prizmkit/dev-pipeline/cli.py recovery detect # Detection report only
32
+ python3 ./.prizmkit/dev-pipeline/cli.py recovery run --dry-run # Generate prompt, don't execute
33
+ python3 ./.prizmkit/dev-pipeline/cli.py recovery run --yes # Skip confirmation
34
+ python3 ./.prizmkit/dev-pipeline/cli.py recovery run --model <model> # Override AI model
35
35
  ```
36
36
 
37
37
  ### When to use pipeline vs interactive recovery
38
38
 
39
39
  | Scenario | Approach |
40
40
  |----------|----------|
41
- | Pipeline session timed out / crashed | `./run-recovery.sh` — autonomous, completes all phases reliably |
41
+ | Pipeline session timed out / crashed | `python3 ./.prizmkit/dev-pipeline/cli.py recovery run` — autonomous, completes all phases reliably |
42
42
  | Interactive session interrupted | This skill (`/recovery-workflow`) — for in-session interactive use |
43
- | Want to inspect before recovering | `./run-recovery.sh detect` or `./run-recovery.sh run --dry-run` |
44
- | Daemon/scripted use | `./run-recovery.sh run --yes` — no user confirmation needed |
43
+ | Want to inspect before recovering | `python3 ./.prizmkit/dev-pipeline/cli.py recovery detect` or `python3 ./.prizmkit/dev-pipeline/cli.py recovery run --dry-run` |
44
+ | Daemon/scripted use | `python3 ./.prizmkit/dev-pipeline/cli.py recovery run --yes` — no user confirmation needed |
45
45
 
46
46
  ## Supported Workflows
47
47
 
@@ -68,7 +68,7 @@ Pipeline commands (for reference — Phase 1.3 will present these as a selectabl
68
68
  4. Display diagnosis + detection results
69
69
  5. If code changes exist → run test suite
70
70
  6. If multiple failed tasks → ask user which to recover
71
- 7. User chooses: run-recovery.sh (recommended) | interactive | start fresh
71
+ 7. User chooses: python3 ./.prizmkit/dev-pipeline/cli.py recovery run (recommended) | interactive | start fresh
72
72
  3. **Phase 2: Execute remaining steps**
73
73
  1. Read target workflow's SKILL.md
74
74
  2. Read existing artifacts to restore context
@@ -106,22 +106,13 @@ Before showing the recovery report, run a comprehensive diagnosis:
106
106
  2. **Scan all pipelines for failed/in-progress tasks**:
107
107
  ```bash
108
108
  # Feature pipeline
109
- python3 .prizmkit/dev-pipeline/scripts/update-feature-status.py \
110
- --feature-list .prizmkit/plans/feature-list.json \
111
- --state-dir .prizmkit/state/features \
112
- --action status 2>/dev/null
109
+ python3 ./.prizmkit/dev-pipeline/cli.py feature status .prizmkit/plans/feature-list.json
113
110
 
114
111
  # Bugfix pipeline
115
- python3 .prizmkit/dev-pipeline/scripts/update-bug-status.py \
116
- --bug-list .prizmkit/plans/bug-fix-list.json \
117
- --state-dir .prizmkit/state/bugfix \
118
- --action status 2>/dev/null
112
+ python3 ./.prizmkit/dev-pipeline/cli.py bugfix status .prizmkit/plans/bug-fix-list.json
119
113
 
120
114
  # Refactor pipeline
121
- python3 .prizmkit/dev-pipeline/scripts/update-refactor-status.py \
122
- --refactor-list .prizmkit/plans/refactor-list.json \
123
- --state-dir .prizmkit/state/refactor \
124
- --action status 2>/dev/null
115
+ python3 ./.prizmkit/dev-pipeline/cli.py refactor status .prizmkit/plans/refactor-list.json
125
116
  ```
126
117
  For each pipeline that has state, extract: total tasks, completed, failed, in-progress, pending.
127
118
 
@@ -224,7 +215,7 @@ AskUserQuestion:
224
215
  header: "Recovery"
225
216
  options:
226
217
  - label: "Run recovery script (Recommended)"
227
- description: "Execute ./.prizmkit/dev-pipeline/run-recovery.sh — autonomously completes ALL remaining phases (review, commit, merge, etc.) via a dedicated AI session with explicit phase instructions"
218
+ description: "Execute python3 ./.prizmkit/dev-pipeline/cli.py recovery run — autonomously completes ALL remaining phases (review, commit, merge, etc.) via a dedicated AI session with explicit phase instructions"
228
219
  - label: "Copy command and run manually"
229
220
  description: "I'll give you the exact shell command to paste into your terminal — you run it yourself outside this session"
230
221
  - label: "Resume interactively in this session"
@@ -235,7 +226,7 @@ AskUserQuestion:
235
226
 
236
227
  **If "Run recovery script"** → Execute the pipeline recovery:
237
228
  ```bash
238
- ./.prizmkit/dev-pipeline/run-recovery.sh
229
+ python3 ./.prizmkit/dev-pipeline/cli.py recovery run
239
230
  ```
240
231
  The script handles everything: detection, confirmation, prompt generation, session spawn, and post-session validation. **End this skill after launching the script** — do not proceed to Phase 2.
241
232
 
@@ -243,12 +234,12 @@ The script handles everything: detection, confirmation, prompt generation, sessi
243
234
  ```
244
235
  To recover, run this command in your project root:
245
236
 
246
- ./.prizmkit/dev-pipeline/run-recovery.sh
237
+ python3 ./.prizmkit/dev-pipeline/cli.py recovery run
247
238
 
248
239
  Or with options:
249
- ./.prizmkit/dev-pipeline/run-recovery.sh run --dry-run # Preview the recovery prompt first
250
- ./.prizmkit/dev-pipeline/run-recovery.sh run --yes # Skip confirmation
251
- ./.prizmkit/dev-pipeline/run-recovery.sh run --model <model> # Specify AI model
240
+ python3 ./.prizmkit/dev-pipeline/cli.py recovery run --dry-run # Preview the recovery prompt first
241
+ python3 ./.prizmkit/dev-pipeline/cli.py recovery run --yes # Skip confirmation
242
+ python3 ./.prizmkit/dev-pipeline/cli.py recovery run --model <model> # Specify AI model
252
243
  ```
253
244
  **End this skill** — do not proceed to Phase 2. The user will run the command themselves.
254
245
 
@@ -339,9 +330,9 @@ Recovery complete.
339
330
  | `bug-fix-workflow` | **Recovery target** — this skill can resume interrupted bug-fix-workflow sessions |
340
331
  | `refactor-workflow` | **Recovery target** — this skill can resume interrupted refactor-workflow sessions |
341
332
  | `feature-pipeline-launcher` | **Called in Phase 2.2** — launches or checks pipeline status for feature recovery |
342
- | `reset-feature.sh --clean --run` | **Alternative** — full clean retry for pipeline failures; this skill is the smart interactive alternative |
343
- | `reset-bug.sh --clean --run` | **Alternative** — full clean retry for bugfix pipeline failures |
344
- | `run-recovery.sh` | **Pipeline counterpart** — shell-driven recovery that generates bootstrap prompt and spawns AI CLI session for autonomous completion |
333
+ | `python3 ./.prizmkit/dev-pipeline/cli.py reset feature <F-XXX> --clean --run .prizmkit/plans/feature-list.json` | **Alternative** — full clean retry for pipeline failures; this skill is the smart interactive alternative |
334
+ | `python3 ./.prizmkit/dev-pipeline/cli.py reset bugfix <B-XXX> --clean --run .prizmkit/plans/bug-fix-list.json` | **Alternative** — full clean retry for bugfix pipeline failures |
335
+ | `python3 ./.prizmkit/dev-pipeline/cli.py recovery run` | **Pipeline counterpart** — Python recovery that generates bootstrap prompt and spawns AI CLI session for autonomous completion |
345
336
  | `/prizmkit-code-review` | **Called in Phase 2.1** — reviews recovered bug-fix code |
346
337
  | `/prizmkit-committer` | **Called in Phase 2.1** — commits the recovered result |
347
338