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.
- package/bin/create-prizmkit.js +4 -4
- package/bundled/VERSION.json +3 -3
- package/bundled/dev-pipeline/.env.example +3 -3
- package/bundled/dev-pipeline/README.md +110 -90
- package/bundled/dev-pipeline/assets/prizm-dev-team-integration.md +1 -1
- package/bundled/dev-pipeline/cli.py +27 -0
- package/bundled/dev-pipeline/prizmkit_runtime/__init__.py +13 -0
- package/bundled/dev-pipeline/prizmkit_runtime/__main__.py +9 -0
- package/bundled/dev-pipeline/prizmkit_runtime/cli.py +193 -0
- package/bundled/dev-pipeline/prizmkit_runtime/commands.py +313 -0
- package/bundled/dev-pipeline/prizmkit_runtime/compat.py +32 -0
- package/bundled/dev-pipeline/prizmkit_runtime/config.py +410 -0
- package/bundled/dev-pipeline/prizmkit_runtime/daemon.py +478 -0
- package/bundled/dev-pipeline/prizmkit_runtime/gitops.py +734 -0
- package/bundled/dev-pipeline/prizmkit_runtime/heartbeat.py +256 -0
- package/bundled/dev-pipeline/prizmkit_runtime/interoperability.py +109 -0
- package/bundled/dev-pipeline/prizmkit_runtime/paths.py +110 -0
- package/bundled/dev-pipeline/prizmkit_runtime/processes.py +373 -0
- package/bundled/dev-pipeline/prizmkit_runtime/reset.py +389 -0
- package/bundled/dev-pipeline/prizmkit_runtime/runner_bookkeeping.py +51 -0
- package/bundled/dev-pipeline/prizmkit_runtime/runner_classification.py +179 -0
- package/bundled/dev-pipeline/prizmkit_runtime/runner_models.py +345 -0
- package/bundled/dev-pipeline/prizmkit_runtime/runner_prompts.py +118 -0
- package/bundled/dev-pipeline/prizmkit_runtime/runner_recovery.py +187 -0
- package/bundled/dev-pipeline/prizmkit_runtime/runner_status.py +147 -0
- package/bundled/dev-pipeline/prizmkit_runtime/runners.py +422 -0
- package/bundled/dev-pipeline/prizmkit_runtime/sessions.py +552 -0
- package/bundled/dev-pipeline/prizmkit_runtime/status.py +71 -0
- package/bundled/dev-pipeline/scripts/check-session-status.py +74 -1
- package/bundled/dev-pipeline/scripts/continuation.py +374 -0
- package/bundled/dev-pipeline/scripts/generate-bootstrap-prompt.py +64 -52
- package/bundled/dev-pipeline/scripts/generate-bugfix-prompt.py +35 -25
- package/bundled/dev-pipeline/scripts/generate-recovery-prompt.py +2 -2
- package/bundled/dev-pipeline/scripts/generate-refactor-prompt.py +15 -20
- package/bundled/dev-pipeline/scripts/parse-stream-progress.py +185 -16
- package/bundled/dev-pipeline/scripts/update-bug-status.py +214 -6
- package/bundled/dev-pipeline/scripts/update-feature-status.py +237 -6
- package/bundled/dev-pipeline/scripts/update-refactor-status.py +214 -6
- package/bundled/dev-pipeline/templates/agent-prompts/dev-implement.md +8 -2
- package/bundled/dev-pipeline/templates/bootstrap-prompt.md +4 -0
- package/bundled/dev-pipeline/templates/bootstrap-tier1.md +14 -5
- package/bundled/dev-pipeline/templates/bootstrap-tier2.md +16 -6
- package/bundled/dev-pipeline/templates/bootstrap-tier3.md +16 -6
- package/bundled/dev-pipeline/templates/bugfix-bootstrap-prompt.md +1 -1
- package/bundled/dev-pipeline/templates/refactor-bootstrap-prompt.md +3 -3
- package/bundled/dev-pipeline/templates/sections/context-budget-rules.md +2 -0
- package/bundled/dev-pipeline/templates/sections/log-size-awareness.md +13 -69
- package/bundled/dev-pipeline/templates/sections/phase-context-snapshot-agent-suffix.md +15 -7
- package/bundled/dev-pipeline/templates/sections/phase-implement-agent.md +42 -29
- package/bundled/dev-pipeline/templates/sections/phase-implement-full.md +41 -39
- package/bundled/dev-pipeline/templates/sections/test-failure-recovery-agent.md +4 -0
- package/bundled/dev-pipeline/templates/sections/test-failure-recovery-lite.md +4 -0
- package/bundled/dev-pipeline/templates/session-status-schema.json +1 -1
- package/bundled/dev-pipeline/tests/conftest.py +1 -0
- package/bundled/dev-pipeline/tests/test_auto_skip.py +932 -0
- package/bundled/dev-pipeline/tests/test_generate_bootstrap_prompt.py +207 -0
- package/bundled/dev-pipeline/tests/test_generate_bugfix_prompt.py +100 -0
- package/bundled/dev-pipeline/tests/test_generate_refactor_prompt.py +43 -0
- package/bundled/dev-pipeline/tests/test_python_runner_parity.py +1138 -0
- package/bundled/dev-pipeline/tests/test_unified_cli.py +1045 -0
- package/bundled/skills/_metadata.json +1 -1
- package/bundled/skills/bugfix-pipeline-launcher/SKILL.md +29 -34
- package/bundled/skills/bugfix-pipeline-launcher/references/configuration.md +6 -5
- package/bundled/skills/feature-pipeline-launcher/SKILL.md +29 -35
- package/bundled/skills/feature-pipeline-launcher/references/configuration.md +7 -6
- package/bundled/skills/feature-workflow/SKILL.md +3 -6
- package/bundled/skills/recovery-workflow/SKILL.md +23 -32
- package/bundled/skills/refactor-pipeline-launcher/SKILL.md +29 -35
- package/bundled/skills/refactor-pipeline-launcher/references/configuration.md +7 -6
- package/bundled/skills/refactor-workflow/SKILL.md +3 -6
- package/bundled/templates/hooks/commit-intent.json +2 -2
- package/bundled/templates/hooks/diff-prizm-docs.py +226 -0
- package/bundled/templates/hooks/prizm-pre-commit.py +45 -0
- package/bundled/templates/hooks/validate-prizm-docs.py +240 -0
- package/package.json +1 -1
- package/src/config.js +33 -12
- package/src/index.js +3 -6
- package/src/manifest.js +3 -2
- package/src/metadata.js +7 -18
- package/src/prompts.js +0 -12
- package/src/runtimes.js +18 -11
- package/src/scaffold.js +133 -116
- package/src/upgrade.js +1 -1
- package/bundled/dev-pipeline/launch-bugfix-daemon.sh +0 -500
- package/bundled/dev-pipeline/launch-feature-daemon.sh +0 -657
- package/bundled/dev-pipeline/launch-refactor-daemon.sh +0 -502
- package/bundled/dev-pipeline/lib/branch.sh +0 -326
- package/bundled/dev-pipeline/lib/common.sh +0 -1257
- package/bundled/dev-pipeline/lib/heartbeat.sh +0 -469
- package/bundled/dev-pipeline/reset-bug.sh +0 -395
- package/bundled/dev-pipeline/reset-feature.sh +0 -406
- package/bundled/dev-pipeline/reset-refactor.sh +0 -393
- package/bundled/dev-pipeline/run-bugfix.sh +0 -1315
- package/bundled/dev-pipeline/run-feature.sh +0 -1602
- package/bundled/dev-pipeline/run-recovery.sh +0 -648
- package/bundled/dev-pipeline/run-refactor.sh +0 -1348
- package/bundled/dev-pipeline/scripts/monitor-log.sh +0 -104
- package/bundled/dev-pipeline/tests/test-path-resolution.sh +0 -100
- package/bundled/dev-pipeline-windows/.env.example +0 -36
- package/bundled/dev-pipeline-windows/README.md +0 -30
- package/bundled/dev-pipeline-windows/SCHEMA_ANALYSIS.md +0 -533
- package/bundled/dev-pipeline-windows/assets/feature-list-example.json +0 -146
- package/bundled/dev-pipeline-windows/assets/prizm-dev-team-integration.md +0 -137
- package/bundled/dev-pipeline-windows/launch-bugfix-daemon.ps1 +0 -9
- package/bundled/dev-pipeline-windows/launch-feature-daemon.ps1 +0 -9
- package/bundled/dev-pipeline-windows/launch-refactor-daemon.ps1 +0 -9
- package/bundled/dev-pipeline-windows/lib/branch.ps1 +0 -235
- package/bundled/dev-pipeline-windows/lib/common.ps1 +0 -829
- package/bundled/dev-pipeline-windows/lib/daemon.ps1 +0 -140
- package/bundled/dev-pipeline-windows/lib/pipeline.ps1 +0 -967
- package/bundled/dev-pipeline-windows/lib/reset.ps1 +0 -87
- package/bundled/dev-pipeline-windows/reset-bug.ps1 +0 -9
- package/bundled/dev-pipeline-windows/reset-feature.ps1 +0 -9
- package/bundled/dev-pipeline-windows/reset-refactor.ps1 +0 -9
- package/bundled/dev-pipeline-windows/run-bugfix.ps1 +0 -9
- package/bundled/dev-pipeline-windows/run-feature.ps1 +0 -9
- package/bundled/dev-pipeline-windows/run-recovery.ps1 +0 -179
- package/bundled/dev-pipeline-windows/run-refactor.ps1 +0 -9
- package/bundled/dev-pipeline-windows/scripts/check-session-status.py +0 -228
- package/bundled/dev-pipeline-windows/scripts/detect-stuck.py +0 -530
- package/bundled/dev-pipeline-windows/scripts/generate-bootstrap-prompt.py +0 -2282
- package/bundled/dev-pipeline-windows/scripts/generate-bugfix-prompt.py +0 -767
- package/bundled/dev-pipeline-windows/scripts/generate-recovery-prompt.py +0 -805
- package/bundled/dev-pipeline-windows/scripts/generate-refactor-prompt.py +0 -845
- package/bundled/dev-pipeline-windows/scripts/init-bugfix-pipeline.py +0 -316
- package/bundled/dev-pipeline-windows/scripts/init-dev-team.py +0 -134
- package/bundled/dev-pipeline-windows/scripts/init-pipeline.py +0 -382
- package/bundled/dev-pipeline-windows/scripts/init-refactor-pipeline.py +0 -399
- package/bundled/dev-pipeline-windows/scripts/monitor-log.ps1 +0 -102
- package/bundled/dev-pipeline-windows/scripts/parse-stream-progress.py +0 -1232
- package/bundled/dev-pipeline-windows/scripts/patch-completion-notes.py +0 -191
- package/bundled/dev-pipeline-windows/scripts/prizmkit-test-gate.py +0 -446
- package/bundled/dev-pipeline-windows/scripts/update-bug-status.py +0 -913
- package/bundled/dev-pipeline-windows/scripts/update-checkpoint.py +0 -173
- package/bundled/dev-pipeline-windows/scripts/update-feature-status.py +0 -1558
- package/bundled/dev-pipeline-windows/scripts/update-refactor-status.py +0 -1119
- package/bundled/dev-pipeline-windows/scripts/utils.py +0 -542
- package/bundled/dev-pipeline-windows/templates/agent-prompts/critic-plan-challenge.md +0 -7
- package/bundled/dev-pipeline-windows/templates/agent-prompts/dev-fix.md +0 -7
- package/bundled/dev-pipeline-windows/templates/agent-prompts/dev-implement.md +0 -65
- package/bundled/dev-pipeline-windows/templates/agent-prompts/dev-resume.md +0 -5
- package/bundled/dev-pipeline-windows/templates/agent-prompts/reviewer-review.md +0 -7
- package/bundled/dev-pipeline-windows/templates/bootstrap-prompt.md +0 -73
- package/bundled/dev-pipeline-windows/templates/bootstrap-tier1.md +0 -589
- package/bundled/dev-pipeline-windows/templates/bootstrap-tier2.md +0 -710
- package/bundled/dev-pipeline-windows/templates/bootstrap-tier3.md +0 -791
- package/bundled/dev-pipeline-windows/templates/bug-fix-list-schema.json +0 -263
- package/bundled/dev-pipeline-windows/templates/bugfix-bootstrap-prompt.md +0 -326
- package/bundled/dev-pipeline-windows/templates/feature-list-schema.json +0 -237
- package/bundled/dev-pipeline-windows/templates/refactor-bootstrap-prompt.md +0 -340
- package/bundled/dev-pipeline-windows/templates/refactor-list-schema.json +0 -270
- package/bundled/dev-pipeline-windows/templates/sections/ac-verification-checklist.md +0 -7
- package/bundled/dev-pipeline-windows/templates/sections/checkpoint-system.md +0 -91
- package/bundled/dev-pipeline-windows/templates/sections/context-budget-rules.md +0 -34
- package/bundled/dev-pipeline-windows/templates/sections/critical-paths-agent.md +0 -10
- package/bundled/dev-pipeline-windows/templates/sections/critical-paths-full.md +0 -12
- package/bundled/dev-pipeline-windows/templates/sections/critical-paths-lite.md +0 -7
- package/bundled/dev-pipeline-windows/templates/sections/directory-convention-agent.md +0 -8
- package/bundled/dev-pipeline-windows/templates/sections/directory-convention-full.md +0 -9
- package/bundled/dev-pipeline-windows/templates/sections/directory-convention-lite.md +0 -6
- package/bundled/dev-pipeline-windows/templates/sections/failure-capture.md +0 -21
- package/bundled/dev-pipeline-windows/templates/sections/feature-context.md +0 -21
- package/bundled/dev-pipeline-windows/templates/sections/log-size-awareness.md +0 -78
- package/bundled/dev-pipeline-windows/templates/sections/phase-browser-verification-auto.md +0 -283
- package/bundled/dev-pipeline-windows/templates/sections/phase-browser-verification-opencli.md +0 -112
- package/bundled/dev-pipeline-windows/templates/sections/phase-browser-verification.md +0 -168
- package/bundled/dev-pipeline-windows/templates/sections/phase-commit-full.md +0 -82
- package/bundled/dev-pipeline-windows/templates/sections/phase-commit.md +0 -75
- package/bundled/dev-pipeline-windows/templates/sections/phase-context-snapshot-agent-suffix.md +0 -23
- package/bundled/dev-pipeline-windows/templates/sections/phase-context-snapshot-base.md +0 -14
- package/bundled/dev-pipeline-windows/templates/sections/phase-context-snapshot-lite-suffix.md +0 -19
- package/bundled/dev-pipeline-windows/templates/sections/phase-critic-plan-full.md +0 -63
- package/bundled/dev-pipeline-windows/templates/sections/phase-critic-plan.md +0 -42
- package/bundled/dev-pipeline-windows/templates/sections/phase-implement-agent.md +0 -44
- package/bundled/dev-pipeline-windows/templates/sections/phase-implement-full.md +0 -59
- package/bundled/dev-pipeline-windows/templates/sections/phase-implement-lite.md +0 -39
- package/bundled/dev-pipeline-windows/templates/sections/phase-plan-agent.md +0 -27
- package/bundled/dev-pipeline-windows/templates/sections/phase-plan-lite.md +0 -27
- package/bundled/dev-pipeline-windows/templates/sections/phase-prizmkit-test.md +0 -39
- package/bundled/dev-pipeline-windows/templates/sections/phase-review-agent.md +0 -35
- package/bundled/dev-pipeline-windows/templates/sections/phase-review-full.md +0 -35
- package/bundled/dev-pipeline-windows/templates/sections/phase-specify-plan-full.md +0 -73
- package/bundled/dev-pipeline-windows/templates/sections/phase0-init.md +0 -13
- package/bundled/dev-pipeline-windows/templates/sections/phase0-test-baseline.md +0 -21
- package/bundled/dev-pipeline-windows/templates/sections/session-context.md +0 -5
- package/bundled/dev-pipeline-windows/templates/sections/subagent-timeout-recovery.md +0 -6
- package/bundled/dev-pipeline-windows/templates/sections/task-contract.md +0 -34
- package/bundled/dev-pipeline-windows/templates/sections/test-failure-recovery-agent.md +0 -48
- package/bundled/dev-pipeline-windows/templates/sections/test-failure-recovery-lite.md +0 -48
- package/bundled/dev-pipeline-windows/templates/session-status-schema.json +0 -83
- package/bundled/skills-windows/app-planner/SKILL.md +0 -296
- package/bundled/skills-windows/app-planner/assets/app-design-guide.md +0 -101
- package/bundled/skills-windows/app-planner/references/architecture-decisions.md +0 -52
- package/bundled/skills-windows/app-planner/references/brainstorm-guide.md +0 -101
- package/bundled/skills-windows/app-planner/references/frontend-design-guide.md +0 -71
- package/bundled/skills-windows/app-planner/references/infrastructure-convention-discovery.md +0 -108
- package/bundled/skills-windows/app-planner/references/project-brief-guide.md +0 -82
- package/bundled/skills-windows/app-planner/references/project-conventions-discovery.md +0 -59
- package/bundled/skills-windows/app-planner/references/project-state-detection.md +0 -90
- package/bundled/skills-windows/app-planner/references/red-team-checklist.md +0 -40
- package/bundled/skills-windows/app-planner/references/rules/backend/derivation-rules.md +0 -619
- package/bundled/skills-windows/app-planner/references/rules/backend/fixed-rules.md +0 -285
- package/bundled/skills-windows/app-planner/references/rules/backend/question-bank.md +0 -249
- package/bundled/skills-windows/app-planner/references/rules/backend/question-manifest.json +0 -46
- package/bundled/skills-windows/app-planner/references/rules/backend/template.md +0 -173
- package/bundled/skills-windows/app-planner/references/rules/database/derivation-rules.md +0 -382
- package/bundled/skills-windows/app-planner/references/rules/database/fixed-rules.md +0 -211
- package/bundled/skills-windows/app-planner/references/rules/database/question-bank.md +0 -184
- package/bundled/skills-windows/app-planner/references/rules/database/question-manifest.json +0 -39
- package/bundled/skills-windows/app-planner/references/rules/database/template.md +0 -158
- package/bundled/skills-windows/app-planner/references/rules/frontend/derivation-rules.md +0 -820
- package/bundled/skills-windows/app-planner/references/rules/frontend/fixed-rules.md +0 -188
- package/bundled/skills-windows/app-planner/references/rules/frontend/question-bank.md +0 -319
- package/bundled/skills-windows/app-planner/references/rules/frontend/question-manifest.json +0 -51
- package/bundled/skills-windows/app-planner/references/rules/frontend/template.md +0 -339
- package/bundled/skills-windows/app-planner/references/rules/mobile/derivation-rules.md +0 -649
- package/bundled/skills-windows/app-planner/references/rules/mobile/fixed-rules.md +0 -290
- package/bundled/skills-windows/app-planner/references/rules/mobile/question-bank.md +0 -232
- package/bundled/skills-windows/app-planner/references/rules/mobile/question-manifest.json +0 -47
- package/bundled/skills-windows/app-planner/references/rules/mobile/template.md +0 -175
- package/bundled/skills-windows/app-planner/references/rules-configuration.md +0 -46
- package/bundled/skills-windows/bug-fix-workflow/SKILL.md +0 -379
- package/bundled/skills-windows/bug-fix-workflow/references/bug-diagnosis.md +0 -41
- package/bundled/skills-windows/bug-planner/SKILL.md +0 -402
- package/bundled/skills-windows/bug-planner/assets/bug-confirmation-template.md +0 -43
- package/bundled/skills-windows/bug-planner/references/critic-and-verification.md +0 -44
- package/bundled/skills-windows/bug-planner/references/error-recovery.md +0 -73
- package/bundled/skills-windows/bug-planner/references/input-formats.md +0 -53
- package/bundled/skills-windows/bug-planner/references/schema-validation.md +0 -25
- package/bundled/skills-windows/bug-planner/references/severity-rules.md +0 -16
- package/bundled/skills-windows/bug-planner/scripts/validate-bug-list.py +0 -322
- package/bundled/skills-windows/bugfix-pipeline-launcher/SKILL.md +0 -304
- package/bundled/skills-windows/bugfix-pipeline-launcher/references/configuration.md +0 -84
- package/bundled/skills-windows/feature-pipeline-launcher/SKILL.md +0 -381
- package/bundled/skills-windows/feature-pipeline-launcher/references/configuration.md +0 -67
- package/bundled/skills-windows/feature-pipeline-launcher/scripts/preflight-check.py +0 -462
- package/bundled/skills-windows/feature-planner/SKILL.md +0 -397
- package/bundled/skills-windows/feature-planner/assets/evaluation-guide.md +0 -64
- package/bundled/skills-windows/feature-planner/assets/planning-guide.md +0 -214
- package/bundled/skills-windows/feature-planner/references/browser-interaction.md +0 -59
- package/bundled/skills-windows/feature-planner/references/completeness-review.md +0 -57
- package/bundled/skills-windows/feature-planner/references/decomposition-patterns.md +0 -75
- package/bundled/skills-windows/feature-planner/references/error-recovery.md +0 -90
- package/bundled/skills-windows/feature-planner/references/incremental-feature-planning.md +0 -112
- package/bundled/skills-windows/feature-planner/references/new-project-planning.md +0 -85
- package/bundled/skills-windows/feature-planner/scripts/validate-and-generate.py +0 -1020
- package/bundled/skills-windows/feature-workflow/SKILL.md +0 -374
- package/bundled/skills-windows/feature-workflow/references/brainstorm-guide.md +0 -137
- package/bundled/skills-windows/prizm-kit/SKILL.md +0 -93
- package/bundled/skills-windows/prizmkit-code-review/SKILL.md +0 -161
- package/bundled/skills-windows/prizmkit-code-review/references/dev-agent-prompt.md +0 -30
- package/bundled/skills-windows/prizmkit-code-review/references/review-report-template.md +0 -31
- package/bundled/skills-windows/prizmkit-code-review/references/reviewer-agent-prompt.md +0 -66
- package/bundled/skills-windows/prizmkit-code-review/scripts/check_loop.py +0 -186
- package/bundled/skills-windows/prizmkit-committer/SKILL.md +0 -89
- package/bundled/skills-windows/prizmkit-deploy/SKILL.md +0 -444
- package/bundled/skills-windows/prizmkit-deploy/references/ci-cd-workflows.md +0 -115
- package/bundled/skills-windows/prizmkit-deploy/references/cloud-platform-deploy.md +0 -93
- package/bundled/skills-windows/prizmkit-deploy/references/data-safety-examples.md +0 -120
- package/bundled/skills-windows/prizmkit-deploy/references/database-setup.md +0 -46
- package/bundled/skills-windows/prizmkit-deploy/references/deploy-config-schema.md +0 -148
- package/bundled/skills-windows/prizmkit-deploy/references/deploy-history-schema.md +0 -62
- package/bundled/skills-windows/prizmkit-deploy/references/deployment-modes.md +0 -50
- package/bundled/skills-windows/prizmkit-deploy/references/direct-upload.md +0 -26
- package/bundled/skills-windows/prizmkit-deploy/references/dns-setup.md +0 -42
- package/bundled/skills-windows/prizmkit-deploy/references/docker-deploy.md +0 -31
- package/bundled/skills-windows/prizmkit-deploy/references/firewall-setup.md +0 -37
- package/bundled/skills-windows/prizmkit-deploy/references/live-validation-notes.md +0 -21
- package/bundled/skills-windows/prizmkit-deploy/references/nginx-blue-green.md +0 -59
- package/bundled/skills-windows/prizmkit-deploy/references/ssh-bootstrap-flow.md +0 -49
- package/bundled/skills-windows/prizmkit-deploy/references/ssh-execution-flow.md +0 -41
- package/bundled/skills-windows/prizmkit-deploy/references/ssh-takeover.md +0 -20
- package/bundled/skills-windows/prizmkit-deploy/references/ssl-setup.md +0 -56
- package/bundled/skills-windows/prizmkit-implement/SKILL.md +0 -71
- package/bundled/skills-windows/prizmkit-init/SKILL.md +0 -356
- package/bundled/skills-windows/prizmkit-init/assets/project-brief-template.md +0 -82
- package/bundled/skills-windows/prizmkit-init/references/config-schema.md +0 -70
- package/bundled/skills-windows/prizmkit-init/references/rules/layer-detection.md +0 -41
- package/bundled/skills-windows/prizmkit-init/references/tech-stack-catalog.md +0 -13
- package/bundled/skills-windows/prizmkit-init/references/update-supplement.md +0 -9
- package/bundled/skills-windows/prizmkit-plan/SKILL.md +0 -102
- package/bundled/skills-windows/prizmkit-plan/assets/plan-template.md +0 -115
- package/bundled/skills-windows/prizmkit-plan/assets/spec-template.md +0 -73
- package/bundled/skills-windows/prizmkit-plan/references/clarify-guide.md +0 -67
- package/bundled/skills-windows/prizmkit-plan/references/examples.md +0 -85
- package/bundled/skills-windows/prizmkit-plan/references/verification-checklist.md +0 -60
- package/bundled/skills-windows/prizmkit-prizm-docs/SKILL.md +0 -129
- package/bundled/skills-windows/prizmkit-prizm-docs/assets/prizm-docs-format.md +0 -613
- package/bundled/skills-windows/prizmkit-prizm-docs/references/op-init.md +0 -45
- package/bundled/skills-windows/prizmkit-prizm-docs/references/op-rebuild.md +0 -15
- package/bundled/skills-windows/prizmkit-prizm-docs/references/op-status.md +0 -14
- package/bundled/skills-windows/prizmkit-prizm-docs/references/op-update.md +0 -19
- package/bundled/skills-windows/prizmkit-prizm-docs/references/op-validate.md +0 -17
- package/bundled/skills-windows/prizmkit-retrospective/SKILL.md +0 -87
- package/bundled/skills-windows/prizmkit-retrospective/references/knowledge-injection-steps.md +0 -50
- package/bundled/skills-windows/prizmkit-retrospective/references/structural-sync-steps.md +0 -43
- package/bundled/skills-windows/prizmkit-test/SKILL.md +0 -227
- package/bundled/skills-windows/prizmkit-test/references/boundary-coverage-protocol.md +0 -220
- package/bundled/skills-windows/prizmkit-test/references/examples.md +0 -143
- package/bundled/skills-windows/prizmkit-test/references/service-boundary-test-catalog.md +0 -225
- package/bundled/skills-windows/prizmkit-test/references/test-generation-steps.md +0 -109
- package/bundled/skills-windows/prizmkit-test/references/test-report-template.md +0 -111
- package/bundled/skills-windows/prizmkit-test/scripts/validate_boundary_report.py +0 -347
- package/bundled/skills-windows/recovery-workflow/SKILL.md +0 -355
- package/bundled/skills-windows/recovery-workflow/evals/evals.json +0 -46
- package/bundled/skills-windows/recovery-workflow/references/detection.md +0 -58
- package/bundled/skills-windows/recovery-workflow/scripts/detect-recovery-state.py +0 -544
- package/bundled/skills-windows/refactor-pipeline-launcher/SKILL.md +0 -346
- package/bundled/skills-windows/refactor-pipeline-launcher/references/configuration.md +0 -72
- package/bundled/skills-windows/refactor-planner/SKILL.md +0 -398
- package/bundled/skills-windows/refactor-planner/assets/planning-guide.md +0 -292
- package/bundled/skills-windows/refactor-planner/references/behavior-preservation.md +0 -301
- package/bundled/skills-windows/refactor-planner/references/fast-path.md +0 -59
- package/bundled/skills-windows/refactor-planner/references/planning-phases.md +0 -135
- package/bundled/skills-windows/refactor-planner/references/refactor-scoping-guide.md +0 -221
- package/bundled/skills-windows/refactor-planner/scripts/validate-and-generate-refactor.py +0 -858
- package/bundled/skills-windows/refactor-workflow/SKILL.md +0 -343
- package/bundled/skills-windows/refactor-workflow/references/brainstorm-guide.md +0 -116
- package/bundled/templates/hooks/diff-prizm-docs.sh +0 -158
- package/bundled/templates/hooks/prizm-pre-commit.sh +0 -108
- package/bundled/templates/hooks/validate-prizm-docs.sh +0 -139
|
@@ -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) —
|
|
15
|
-
2. **Background daemon** —
|
|
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/
|
|
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**: `
|
|
53
|
-
4. **
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
211
|
+
python3 ./.prizmkit/dev-pipeline/cli.py daemon bugfix stop
|
|
217
212
|
```
|
|
218
213
|
|
|
219
214
|
2. **Verify stopped**:
|
|
220
215
|
```bash
|
|
221
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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:** `
|
|
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
|
-
| `
|
|
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) | `
|
|
83
|
-
| Launch failed (process died immediately) | Show last 20 lines of 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
|
|
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/
|
|
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**: `
|
|
44
|
-
4. **Python version**: Requires Python 3.
|
|
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
|
|
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
|
-
|
|
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
|
|
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 `
|
|
130
|
-
- Background daemon — pipeline runs fully detached via `
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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 `
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
250
|
+
python3 ./.prizmkit/dev-pipeline/cli.py daemon feature stop
|
|
257
251
|
```
|
|
258
252
|
|
|
259
253
|
2. **Verify stopped**:
|
|
260
254
|
```bash
|
|
261
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
- `
|
|
305
|
-
- Keep pipeline daemon mode for main run management (`
|
|
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
|
-
| `
|
|
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) | `
|
|
61
|
-
| Launch failed (process died immediately) | Show last 20 lines of log: `
|
|
62
|
-
| Feature stuck/blocked | Use `
|
|
63
|
-
| All features blocked/failed | Show status, suggest daemon-safe recovery:
|
|
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
|
|
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
|
-
|
|
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
|
|
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 `
|
|
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 (`
|
|
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
|
|
31
|
-
./.prizmkit/dev-pipeline/
|
|
32
|
-
./.prizmkit/dev-pipeline/
|
|
33
|
-
./.prizmkit/dev-pipeline/
|
|
34
|
-
./.prizmkit/dev-pipeline/
|
|
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 |
|
|
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 |
|
|
44
|
-
| Daemon/scripted use |
|
|
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:
|
|
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
|
|
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
|
|
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
|
|
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/
|
|
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
|
|
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
|
|
237
|
+
python3 ./.prizmkit/dev-pipeline/cli.py recovery run
|
|
247
238
|
|
|
248
239
|
Or with options:
|
|
249
|
-
./.prizmkit/dev-pipeline/
|
|
250
|
-
./.prizmkit/dev-pipeline/
|
|
251
|
-
./.prizmkit/dev-pipeline/
|
|
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
|
-
| `
|
|
343
|
-
| `
|
|
344
|
-
| `
|
|
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
|
|