prizmkit 1.1.154 → 1.1.156

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 (164) hide show
  1. package/bundled/VERSION.json +3 -3
  2. package/bundled/adapters/codex/skill-adapter.js +1 -1
  3. package/bundled/adapters/pi/skill-adapter.js +2 -1
  4. package/bundled/dev-pipeline/.env.example +2 -6
  5. package/bundled/dev-pipeline/README.md +21 -27
  6. package/bundled/dev-pipeline/prizmkit_runtime/checkpoint_state.py +341 -15
  7. package/bundled/dev-pipeline/prizmkit_runtime/cli.py +0 -3
  8. package/bundled/dev-pipeline/prizmkit_runtime/daemon.py +1 -15
  9. package/bundled/dev-pipeline/prizmkit_runtime/gitops.py +48 -14
  10. package/bundled/dev-pipeline/prizmkit_runtime/runner_classification.py +50 -2
  11. package/bundled/dev-pipeline/prizmkit_runtime/runner_models.py +0 -9
  12. package/bundled/dev-pipeline/prizmkit_runtime/runner_prompts.py +3 -3
  13. package/bundled/dev-pipeline/prizmkit_runtime/runners.py +120 -22
  14. package/bundled/dev-pipeline/prizmkit_runtime/runtime_commit.py +482 -0
  15. package/bundled/dev-pipeline/prizmkit_runtime/test_result.py +64 -11
  16. package/bundled/dev-pipeline/scripts/generate-bootstrap-prompt.py +145 -367
  17. package/bundled/dev-pipeline/scripts/generate-bugfix-prompt.py +91 -62
  18. package/bundled/dev-pipeline/scripts/generate-refactor-prompt.py +105 -69
  19. package/bundled/dev-pipeline/scripts/prompt_framework.py +36 -41
  20. package/bundled/dev-pipeline/scripts/update-bug-status.py +1 -4
  21. package/bundled/dev-pipeline/scripts/update-checkpoint.py +61 -13
  22. package/bundled/dev-pipeline/scripts/update-feature-status.py +1 -4
  23. package/bundled/dev-pipeline/scripts/update-refactor-status.py +1 -4
  24. package/bundled/dev-pipeline/templates/bootstrap-prompt.md +22 -27
  25. package/bundled/dev-pipeline/templates/bootstrap-tier3.md +71 -104
  26. package/bundled/dev-pipeline/templates/bugfix-bootstrap-prompt.md +59 -111
  27. package/bundled/dev-pipeline/templates/refactor-bootstrap-prompt.md +37 -72
  28. package/bundled/dev-pipeline/templates/sections/artifact-manifest.md +39 -0
  29. package/bundled/dev-pipeline/templates/sections/bugfix-critical-paths.md +3 -1
  30. package/bundled/dev-pipeline/templates/sections/bugfix-phase-commit-report.md +8 -25
  31. package/bundled/dev-pipeline/templates/sections/bugfix-phase-diagnose-plan.md +3 -3
  32. package/bundled/dev-pipeline/templates/sections/bugfix-phase-implement.md +2 -2
  33. package/bundled/dev-pipeline/templates/sections/bugfix-phase-review.md +3 -3
  34. package/bundled/dev-pipeline/templates/sections/bugfix-phase-test.md +2 -2
  35. package/bundled/dev-pipeline/templates/sections/bugfix-reminders.md +4 -4
  36. package/bundled/dev-pipeline/templates/sections/bugfix-session-context.md +0 -1
  37. package/bundled/dev-pipeline/templates/sections/checkpoint-system.md +7 -4
  38. package/bundled/dev-pipeline/templates/sections/context-budget-rules.md +14 -27
  39. package/bundled/dev-pipeline/templates/sections/feature-completion-summary.md +20 -0
  40. package/bundled/dev-pipeline/templates/sections/phase-commit-full.md +8 -71
  41. package/bundled/dev-pipeline/templates/sections/phase-implement-full.md +7 -7
  42. package/bundled/dev-pipeline/templates/sections/phase-prizmkit-test.md +3 -3
  43. package/bundled/dev-pipeline/templates/sections/phase-review-full.md +4 -4
  44. package/bundled/dev-pipeline/templates/sections/phase-specify-plan-full.md +5 -17
  45. package/bundled/dev-pipeline/templates/sections/refactor-critical-paths.md +3 -1
  46. package/bundled/dev-pipeline/templates/sections/refactor-phase-commit-report.md +10 -23
  47. package/bundled/dev-pipeline/templates/sections/refactor-phase-implement.md +2 -2
  48. package/bundled/dev-pipeline/templates/sections/refactor-phase-plan.md +2 -2
  49. package/bundled/dev-pipeline/templates/sections/refactor-phase-review.md +3 -3
  50. package/bundled/dev-pipeline/templates/sections/refactor-phase-test.md +2 -2
  51. package/bundled/dev-pipeline/templates/sections/refactor-reminders.md +7 -7
  52. package/bundled/dev-pipeline/templates/sections/refactor-session-context.md +0 -1
  53. package/bundled/dev-pipeline/templates/sections/retrospective.md +12 -0
  54. package/bundled/dev-pipeline/templates/sections/runtime-commit-handoff.md +35 -0
  55. package/bundled/dev-pipeline/templates/session-status-schema.json +45 -62
  56. package/bundled/dev-pipeline/tests/test_checkpoint_state.py +469 -18
  57. package/bundled/dev-pipeline/tests/test_generate_bootstrap_prompt.py +262 -175
  58. package/bundled/dev-pipeline/tests/test_generate_bugfix_prompt.py +62 -23
  59. package/bundled/dev-pipeline/tests/test_generate_refactor_prompt.py +76 -28
  60. package/bundled/dev-pipeline/tests/test_python_runner_parity.py +168 -18
  61. package/bundled/dev-pipeline/tests/test_recovery_workflow.py +111 -0
  62. package/bundled/dev-pipeline/tests/test_reset_preserve.py +0 -2
  63. package/bundled/dev-pipeline/tests/test_runtime_commit.py +608 -0
  64. package/bundled/dev-pipeline/tests/test_unified_cli.py +167 -25
  65. package/bundled/skills/_metadata.json +9 -9
  66. package/bundled/skills/app-planner/SKILL.md +3 -3
  67. package/bundled/skills/app-planner/references/generated-plan-review.md +2 -1
  68. package/bundled/skills/app-planner/references/rules/backend/derivation-rules.md +56 -64
  69. package/bundled/skills/app-planner/references/rules/backend/fixed-rules.md +85 -240
  70. package/bundled/skills/app-planner/references/rules/backend/question-bank.md +25 -25
  71. package/bundled/skills/app-planner/references/rules/backend/question-manifest.json +16 -7
  72. package/bundled/skills/app-planner/references/rules/backend/template.md +74 -92
  73. package/bundled/skills/app-planner/references/rules/database/derivation-rules.md +93 -93
  74. package/bundled/skills/app-planner/references/rules/database/fixed-rules.md +66 -173
  75. package/bundled/skills/app-planner/references/rules/database/question-bank.md +31 -26
  76. package/bundled/skills/app-planner/references/rules/database/question-manifest.json +13 -4
  77. package/bundled/skills/app-planner/references/rules/database/template.md +76 -98
  78. package/bundled/skills/app-planner/references/rules/frontend/derivation-rules.md +68 -95
  79. package/bundled/skills/app-planner/references/rules/frontend/fixed-rules.md +93 -166
  80. package/bundled/skills/app-planner/references/rules/frontend/question-bank.md +46 -36
  81. package/bundled/skills/app-planner/references/rules/frontend/question-manifest.json +11 -2
  82. package/bundled/skills/app-planner/references/rules/frontend/template.md +79 -257
  83. package/bundled/skills/app-planner/references/rules/mobile/derivation-rules.md +91 -99
  84. package/bundled/skills/app-planner/references/rules/mobile/fixed-rules.md +73 -246
  85. package/bundled/skills/app-planner/references/rules/mobile/question-bank.md +17 -17
  86. package/bundled/skills/app-planner/references/rules/mobile/question-manifest.json +17 -2
  87. package/bundled/skills/app-planner/references/rules/mobile/template.md +73 -85
  88. package/bundled/skills/app-planner/references/rules-configuration.md +133 -65
  89. package/bundled/skills/app-planner/scripts/validate-rules-configuration.py +291 -0
  90. package/bundled/skills/prizmkit/SKILL.md +17 -18
  91. package/bundled/skills/prizmkit/references/workflow-state-protocol.md +22 -18
  92. package/bundled/skills/prizmkit-code-review/SKILL.md +22 -58
  93. package/bundled/skills/prizmkit-code-review/references/independent-code-review.md +6 -6
  94. package/bundled/skills/prizmkit-code-review/references/review-report-template.md +2 -2
  95. package/bundled/skills/prizmkit-committer/SKILL.md +82 -132
  96. package/bundled/skills/prizmkit-deploy/SKILL.md +27 -11
  97. package/bundled/skills/prizmkit-deploy/assets/deploy-document-template.md +89 -0
  98. package/bundled/skills/prizmkit-deploy/references/ci-cd-workflows.md +44 -14
  99. package/bundled/skills/prizmkit-deploy/references/cloud-platform-deploy.md +19 -3
  100. package/bundled/skills/prizmkit-deploy/references/database-setup.md +22 -12
  101. package/bundled/skills/prizmkit-deploy/references/deploy-config-schema.md +3 -1
  102. package/bundled/skills/prizmkit-deploy/references/deploy-history-schema.md +22 -6
  103. package/bundled/skills/prizmkit-deploy/references/deploy-metadata-schema.json +49 -0
  104. package/bundled/skills/prizmkit-deploy/references/live-validation-notes.md +1 -1
  105. package/bundled/skills/prizmkit-deploy/references/pending-input-schema.json +164 -0
  106. package/bundled/skills/prizmkit-deploy/references/ssh-adapter-flow.md +9 -8
  107. package/bundled/skills/prizmkit-deploy/references/ssh-execution-flow.md +6 -6
  108. package/bundled/skills/prizmkit-implement/SKILL.md +30 -66
  109. package/bundled/skills/prizmkit-implement/references/implementation-subagent-procedure.md +4 -4
  110. package/bundled/skills/prizmkit-init/SKILL.md +4 -0
  111. package/bundled/skills/prizmkit-plan/SKILL.md +21 -64
  112. package/bundled/skills/prizmkit-plan/references/artifact-identity.md +38 -0
  113. package/bundled/skills/prizmkit-plan/references/independent-plan-review.md +4 -4
  114. package/bundled/skills/prizmkit-plan/references/review-plan-spec-loop.md +5 -5
  115. package/bundled/skills/prizmkit-prizm-docs/SKILL.md +75 -11
  116. package/bundled/skills/prizmkit-prizm-docs/assets/prizm-docs-format.md +191 -56
  117. package/bundled/skills/prizmkit-prizm-docs/references/op-init.md +18 -18
  118. package/bundled/skills/prizmkit-prizm-docs/references/op-rebuild.md +14 -8
  119. package/bundled/skills/prizmkit-prizm-docs/references/op-status.md +12 -5
  120. package/bundled/skills/prizmkit-prizm-docs/references/op-update.md +23 -12
  121. package/bundled/skills/prizmkit-prizm-docs/references/op-validate.md +13 -9
  122. package/bundled/skills/prizmkit-retrospective/SKILL.md +94 -97
  123. package/bundled/skills/prizmkit-retrospective/references/knowledge-injection-steps.md +79 -37
  124. package/bundled/skills/prizmkit-retrospective/references/retrospective-result-schema.json +138 -0
  125. package/bundled/skills/prizmkit-retrospective/references/structural-sync-steps.md +111 -54
  126. package/bundled/skills/prizmkit-test/SKILL.md +64 -51
  127. package/bundled/skills/prizmkit-test/references/boundary-contract-and-test-double-guidance.md +206 -0
  128. package/bundled/skills/prizmkit-test/references/independent-test-review.md +17 -9
  129. package/bundled/skills/prizmkit-test/references/test-coverage-model.md +45 -21
  130. package/bundled/skills/prizmkit-test/references/test-report-template.md +20 -13
  131. package/bundled/skills/prizmkit-workflow/SKILL.md +35 -37
  132. package/bundled/skills/prizmkit-workflow/references/artifact-identity.md +34 -0
  133. package/bundled/skills/prizmkit-workflow/references/workflow-state-protocol.md +22 -18
  134. package/bundled/skills/recovery-workflow/SKILL.md +2 -1
  135. package/bundled/skills/recovery-workflow/references/detection.md +4 -3
  136. package/bundled/skills/recovery-workflow/scripts/detect-recovery-state.py +15 -5
  137. package/bundled/templates/hooks/validate-prizm-docs.py +124 -12
  138. package/package.json +1 -1
  139. package/src/scaffold.js +33 -22
  140. package/bundled/dev-pipeline/templates/sections/bugfix-artifacts.md +0 -16
  141. package/bundled/dev-pipeline/templates/sections/bugfix-session-status.md +0 -31
  142. package/bundled/dev-pipeline/templates/sections/critical-paths-agent.md +0 -7
  143. package/bundled/dev-pipeline/templates/sections/critical-paths-lite.md +0 -7
  144. package/bundled/dev-pipeline/templates/sections/directory-convention-agent.md +0 -9
  145. package/bundled/dev-pipeline/templates/sections/directory-convention-lite.md +0 -6
  146. package/bundled/dev-pipeline/templates/sections/headless-commit-authorization.md +0 -15
  147. package/bundled/dev-pipeline/templates/sections/phase-commit.md +0 -61
  148. package/bundled/dev-pipeline/templates/sections/phase-context-snapshot-agent-suffix.md +0 -24
  149. package/bundled/dev-pipeline/templates/sections/phase-context-snapshot-lite-suffix.md +0 -12
  150. package/bundled/dev-pipeline/templates/sections/phase-implement-agent.md +0 -44
  151. package/bundled/dev-pipeline/templates/sections/phase-implement-lite.md +0 -25
  152. package/bundled/dev-pipeline/templates/sections/phase-plan-agent.md +0 -20
  153. package/bundled/dev-pipeline/templates/sections/phase-plan-lite.md +0 -20
  154. package/bundled/dev-pipeline/templates/sections/phase-review-agent.md +0 -20
  155. package/bundled/dev-pipeline/templates/sections/refactor-artifacts.md +0 -17
  156. package/bundled/dev-pipeline/templates/sections/refactor-session-status.md +0 -28
  157. package/bundled/dev-pipeline/templates/sections/test-failure-recovery-agent.md +0 -52
  158. package/bundled/dev-pipeline/templates/sections/test-failure-recovery-lite.md +0 -52
  159. package/bundled/skills/prizmkit-code-review/references/workflow-state-protocol.md +0 -174
  160. package/bundled/skills/prizmkit-committer/references/workflow-state-protocol.md +0 -174
  161. package/bundled/skills/prizmkit-implement/references/workflow-state-protocol.md +0 -174
  162. package/bundled/skills/prizmkit-plan/references/workflow-state-protocol.md +0 -174
  163. package/bundled/skills/prizmkit-retrospective/references/workflow-state-protocol.md +0 -174
  164. package/bundled/skills/prizmkit-test/references/external-contract-mock-guidance.md +0 -119
@@ -1,5 +1,5 @@
1
1
  {
2
- "frameworkVersion": "1.1.154",
3
- "bundledAt": "2026-07-26T11:39:59.047Z",
4
- "bundledFrom": "1d81b9b"
2
+ "frameworkVersion": "1.1.156",
3
+ "bundledAt": "2026-07-27T23:46:04.550Z",
4
+ "bundledFrom": "6d92126"
5
5
  }
@@ -53,7 +53,7 @@ export function convertSkill(skillContent, skillName) {
53
53
  }
54
54
  );
55
55
 
56
- const codexNote = `> Codex project install: when instructions mention a PrizmKit slash command such as \`/prizmkit-plan\`, read and execute the matching project skill at \`.agents/skills/prizmkit-plan/SKILL.md\`.\n>\n> Codex interaction compatibility: when this skill or any referenced PrizmKit file says \`AskUserQuestion\`, use Codex \`request_user_input\` if it is available. If the current Codex surface does not expose \`request_user_input\`, including Default mode, ask the same question directly in chat and wait for explicit user input. Tool unavailability is not permission to choose defaults. If a source instruction asks more questions than Codex allows in one call, split them into multiple calls while preserving order. Only true headless/non-interactive runs, such as \`codex exec\` automation with no conversational user available, may skip interaction and choose documented defaults; never silently choose defaults in an interactive session.\n\n`;
56
+ const codexNote = `> Codex project install: an explicitly named PrizmKit Skill resolves to the same command name under \`.agents/skills/<command-name>/SKILL.md\`.\n>\n> Codex interaction compatibility: when this skill or any referenced PrizmKit file says \`AskUserQuestion\`, use Codex \`request_user_input\` if it is available. If the current Codex surface does not expose \`request_user_input\`, including Default mode, ask the same question directly in chat and wait for explicit user input. Tool unavailability is not permission to choose defaults. If a source instruction asks more questions than Codex allows in one call, split them into multiple calls while preserving order. Only true headless/non-interactive runs, such as \`codex exec\` automation with no conversational user available, may skip interaction and choose documented defaults; never silently choose defaults in an interactive session.\n\n`;
57
57
 
58
58
  return buildMarkdown(frontmatter, codexNote + convertedBody);
59
59
  }
@@ -12,7 +12,8 @@ export function convertSkill(skillContent, skillName) {
12
12
  const { frontmatter, body } = parseFrontmatter(skillContent);
13
13
  if (!frontmatter.name) frontmatter.name = skillName;
14
14
  const convertedBody = applyPiInteractionCompatibility(body)
15
+ .replace(/\/(prizmkit-[a-z0-9-]+)/g, '/skill:$1')
15
16
  .replace(/\$\{SKILL_DIR\}/g, `.pi/skills/${skillName}`);
16
- const note = `> Pi project install: invoke this skill with \`/skill:${skillName}\`. When instructions mention a PrizmKit slash command such as \`/prizmkit-plan\`, load and execute the matching project skill with \`/skill:prizmkit-plan\` from \`.pi/skills/prizmkit-plan/SKILL.md\`.\n>\n> Pi interaction compatibility: in interactive sessions, ask required questions directly in chat and wait for explicit user input. Only true headless runs may use documented conservative defaults.\n\n`;
17
+ const note = `> Pi project install: invoke this skill with \`/skill:${skillName}\`. An explicitly named PrizmKit Skill uses \`/skill:<same-name>\` and its project definition at \`.pi/skills/<same-name>/SKILL.md\`.\n>\n> Pi interaction compatibility: in interactive sessions, ask required questions directly in chat and wait for explicit user input. Only true headless runs may use documented conservative defaults.\n\n`;
17
18
  return buildMarkdown(frontmatter, note + convertedBody);
18
19
  }
@@ -1,12 +1,12 @@
1
1
  # PrizmKit Dev-Pipeline Environment Configuration
2
2
  # ================================================
3
3
  # Copy this file to .prizmkit/.env and uncomment the variables you want to set.
4
- # The Python runtime CLI (cli.py feature, cli.py bugfix, etc.) automatically
4
+ # The operation-first Python runtime CLI (cli.py run feature, cli.py run bugfix, etc.) automatically
5
5
  # load .prizmkit/.env via prizmkit_runtime/config.py.
6
6
  #
7
7
  # Priority: Environment variables set before script execution ALWAYS take
8
8
  # precedence over values in .prizmkit/.env. This means you can still do:
9
- # MODEL=claude-opus-4 python3 ./.prizmkit/dev-pipeline/cli.py feature run
9
+ # MODEL=claude-opus-4 python3 ./.prizmkit/dev-pipeline/cli.py run feature
10
10
  # and it will override the .prizmkit/.env value.
11
11
  #
12
12
  # If .prizmkit/.env does not exist, all defaults apply — no error is raised.
@@ -25,10 +25,6 @@
25
25
  # MAX_RETRIES=3 # Max retry attempts per task before marking failed
26
26
  # VERBOSE=1 # Verbose logging (1=on, 0=off)
27
27
 
28
- # ─── Feature Pipeline Only ────────────────────────────────────────────
29
- # PIPELINE_MODE= # Override pipeline mode for all features: lite|standard|full
30
- # Unset = auto-detect from estimated_complexity
31
-
32
28
  # ─── Refactor Pipeline Only ──────────────────────────────────────────
33
29
  # STRICT_BEHAVIOR_CHECK=1 # Enable strict behavior-preservation gates for refactor tasks (1=on, 0=off)
34
30
 
@@ -71,7 +71,7 @@ python3 ./cli.py run feature --help # Show parser-ow
71
71
 
72
72
  | Option | Description |
73
73
  |--------|-------------|
74
- | `--dry-run` | Generate bootstrap prompt only, don't spawn AI session |
74
+ | `--dry-run` | Render and validate one disposable Prompt preview without changing Git, task status, checkout, checkpoint, or session state |
75
75
  | `--resume-phase N` | Resume from specific phase number |
76
76
  | `--no-reset` | Don't reset feature artifacts before running |
77
77
 
@@ -84,7 +84,7 @@ python3 ./.prizmkit/dev-pipeline/cli.py run feature .prizmkit/plans/feature-list
84
84
  # Run a single feature
85
85
  python3 ./.prizmkit/dev-pipeline/cli.py run feature F-007
86
86
 
87
- # Dry run — inspect the generated prompt without spawning a session
87
+ # Dry run — validate a disposable prompt preview without spawning a session or changing task state
88
88
  python3 ./.prizmkit/dev-pipeline/cli.py run feature F-007 --dry-run
89
89
 
90
90
  # Resume from Phase 6 (implementation)
@@ -149,11 +149,11 @@ python3 ./.prizmkit/dev-pipeline/cli.py run feature F-007 my-features.json
149
149
  Manages `cli.py run feature` as a background daemon process with PID tracking and log consolidation. Designed for invocation from AI skill sessions.
150
150
 
151
151
  ```bash
152
- python3 ./cli.py daemon feature start [.prizmkit/plans/feature-list.json] [--mode <mode>] [--env "KEY=VAL ..."]
152
+ python3 ./cli.py daemon feature start [.prizmkit/plans/feature-list.json] [--env "KEY=VAL ..."]
153
153
  python3 ./cli.py daemon feature stop
154
154
  python3 ./cli.py daemon feature status
155
155
  python3 ./cli.py daemon feature logs [--lines N] [--follow]
156
- python3 ./cli.py daemon feature restart [.prizmkit/plans/feature-list.json] [--mode <mode>] [--env "KEY=VAL ..."]
156
+ python3 ./cli.py daemon feature restart [.prizmkit/plans/feature-list.json] [--env "KEY=VAL ..."]
157
157
  python3 ./cli.py daemon feature --help
158
158
  ```
159
159
 
@@ -165,13 +165,10 @@ python3 ./cli.py daemon feature --help
165
165
  | `logs` | View pipeline logs. `--follow` for live tail, `--lines N` for last N lines |
166
166
  | `restart` | Stop + start |
167
167
 
168
- **`--mode` options:** `lite`, `standard`, `full`
169
-
170
168
  **`--env` format:** Pass environment variables as a quoted string:
171
169
 
172
170
  ```bash
173
171
  python3 ./.prizmkit/dev-pipeline/cli.py daemon feature start .prizmkit/plans/feature-list.json \
174
- --mode standard \
175
172
  --env "MAX_RETRIES=5 MODEL=claude-sonnet-4.6"
176
173
  ```
177
174
 
@@ -303,19 +300,18 @@ python3 scripts/generate-bootstrap-prompt.py \
303
300
  --resume-phase <n|null> \
304
301
  --output <path> \
305
302
  [--state-dir <path>] \
306
- [--template <path>] \
307
- [--mode lite|standard|full]
303
+ [--template <path>]
308
304
  ```
309
305
 
310
306
  **Prompt assembly:**
311
307
 
312
308
  | Condition | Prompt Source | Behavior |
313
309
  |-----------|---------------|----------|
314
- | `templates/sections/` exists and no `--template` | Modular sections | Uses the full/tier3-equivalent guidance for every `estimated_complexity` value |
310
+ | `templates/sections/` exists and no `--template` | Modular sections | Uses one canonical complete lifecycle guidance profile |
315
311
  | Custom `--template <path>` supplied | Caller template | Renders the explicit template with legacy placeholder/conditional support |
316
- | Sections unavailable and no custom template | `bootstrap-tier3.md`, then `bootstrap-prompt.md` | Monolithic compatibility fallback; never defaults to retired reduced-tier templates |
312
+ | Canonical sections unavailable and no custom template | none | Fail closed; do not launch a partial or stale autonomous prompt |
317
313
 
318
- `estimated_complexity` remains in feature metadata and rendered Session Context for planning summaries and compatibility, but it no longer chooses a reduced prompt template.
314
+ `estimated_complexity` remains in feature metadata and rendered Session Context for planning and ordering, but it does not choose a prompt tier.
319
315
 
320
316
  **Output (JSON to stdout):**
321
317
 
@@ -328,7 +324,6 @@ The `model` field is extracted from the feature's `"model"` field in .prizmkit/p
328
324
  **Conditional blocks resolved for explicit legacy templates:**
329
325
  - `{{IF_RESUME}}` / `{{IF_FRESH_START}}` — Resume vs fresh start
330
326
  - `{{IF_INIT_NEEDED}}` / `{{IF_INIT_DONE}}` — PrizmKit init status
331
- - `{{IF_MODE_LITE}}` / `{{IF_MODE_STANDARD}}` / `{{IF_MODE_FULL}}` — Compatibility mode blocks
332
327
 
333
328
  ---
334
329
 
@@ -546,7 +541,6 @@ Also exports: `log_info`, `log_warn`, `log_error`, `log_success` (with timestamp
546
541
  | Variable | Default | Used By | Description |
547
542
  |----------|---------|---------|-------------|
548
543
  | `MAX_RETRIES` | `3` | cli.py run feature | Max retry attempts per feature before marking as failed |
549
- | `PIPELINE_MODE` | (auto) | cli.py run feature, cli.py daemon feature | Override mode for all features: `lite\|standard\|full` |
550
544
  | `DEV_BRANCH` | auto-generated | cli.py run feature | Custom git branch name (default: `dev/{feature-id}-{timestamp}`) |
551
545
  | `AUTO_PUSH` | `0` | cli.py run feature | Set to `1` to auto-push branch to remote after successful session |
552
546
 
@@ -576,7 +570,6 @@ MAX_RETRIES=5 MODEL=claude-sonnet-4.6 VERBOSE=1 \
576
570
 
577
571
  # Via daemon with --env
578
572
  python3 ./.prizmkit/dev-pipeline/cli.py daemon feature start .prizmkit/plans/feature-list.json \
579
- --mode standard \
580
573
  --env "MAX_RETRIES=5 AUTO_PUSH=1"
581
574
  ```
582
575
 
@@ -624,11 +617,11 @@ MODEL=claude-sonnet-4.6 python3 ./.prizmkit/dev-pipeline/cli.py diagnostics ai-c
624
617
 
625
618
  ### Dry-Run Model Verification
626
619
 
627
- Use `--dry-run` to verify which model will be used without spawning a session:
620
+ Use `--dry-run` to verify which model will be used without spawning a session or persisting Git/task/checkpoint changes:
628
621
 
629
622
  ```bash
630
623
  python3 ./.prizmkit/dev-pipeline/cli.py run feature F-017 --dry-run
631
- # Output includes: "Feature Model: claude-opus-4.6"
624
+ # Output includes: "Dry-run Prompt validated ... model=claude-opus-4.6"
632
625
  ```
633
626
 
634
627
  ### Common Model IDs
@@ -707,17 +700,17 @@ cli.py run feature command
707
700
 
708
701
  ### Unified Feature Prompt Execution
709
702
 
710
- Feature bootstrap prompts use the same full/tier3-equivalent modular section composition for every feature task. Complexity metadata is still retained for planning, summaries, dependency/status compatibility, and rendered Session Context, but it no longer reduces prompt guidance.
703
+ Feature bootstrap prompts use one canonical modular section composition for every task. Complexity metadata remains available for planning, summaries, dependency/status compatibility, and rendered Session Context, but it does not alter prompt guidance.
711
704
 
712
705
  | Feature metadata | Normal prompt source | Execution guidance |
713
706
  |------------------|----------------------|--------------------|
714
- | `estimated_complexity: low` | `templates/sections/` full composition | Main orchestrator builds context, plans, implements directly, runs review/test/browser/commit gates |
715
- | `estimated_complexity: medium` | `templates/sections/` full composition | Same full guidance |
716
- | `estimated_complexity: high` / `critical` | `templates/sections/` full composition | Same full guidance |
707
+ | `estimated_complexity: low` | `templates/sections/` canonical composition | Plan implement review configured verification test → report → retrospective → Runtime commit handoff |
708
+ | `estimated_complexity: medium` | `templates/sections/` canonical composition | Same complete guidance |
709
+ | `estimated_complexity: high` / `critical` | `templates/sections/` canonical composition | Same complete guidance |
717
710
 
718
- Monolithic compatibility fallback uses `bootstrap-tier3.md` before `bootstrap-prompt.md` only when sections are unavailable and no custom `--template` was supplied.
711
+ Missing canonical sections fail closed. An explicit `--template` remains available only for caller-supplied compatibility templates.
719
712
 
720
- **Self-evolve mode:** Uses the same full feature prompt guidance with additional framework guardrails supplied by the feature context.
713
+ **Self-evolve tasks:** Use the same canonical feature prompt with additional framework guardrails supplied by the feature context.
721
714
 
722
715
  ### Feature Dependency Resolution
723
716
 
@@ -893,10 +886,11 @@ cli.py run bugfix command
893
886
  | +-- parse-stream-progress.py # Real-time stream-json progress parser
894
887
  |
895
888
  +-- templates/
896
- | +-- sections/ # Modular feature prompt sections (normal full guidance path)
897
- | +-- bootstrap-tier3.md # Legacy monolithic full prompt fallback
898
- | +-- bootstrap-prompt.md # Last-resort monolithic fallback
899
- | +-- bugfix-bootstrap-prompt.md # Bug-fix session prompt template
889
+ | +-- sections/ # Canonical modular prompt sections
890
+ | +-- bootstrap-tier3.md # Explicit custom-template compatibility fixture
891
+ | +-- bootstrap-prompt.md # Minimal explicit compatibility template
892
+ | +-- bugfix-bootstrap-prompt.md # Bugfix explicit compatibility template
893
+ | +-- refactor-bootstrap-prompt.md # Refactor explicit compatibility template
900
894
  | +-- feature-list-schema.json # JSON schema for .prizmkit/plans/feature-list.json
901
895
  | +-- bug-fix-list-schema.json # JSON schema for .prizmkit/plans/bug-fix-list.json
902
896
  | +-- session-status-schema.json # JSON schema for session-status.json