ai-delivery-workflow 0.3.0 → 0.5.0

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 (357) hide show
  1. package/README.md +42 -16
  2. package/bin/ai-delivery.mjs +181 -6
  3. package/bin/benchmark-autonomy.mjs +14 -6
  4. package/bin/release-check.mjs +10 -3
  5. package/docs/CLI-PARAMETER-REFERENCE.zh-CN.md +159 -17
  6. package/docs/CODEGRAPH-INTEGRATION.zh-CN.md +89 -0
  7. package/docs/DUAL-REPOSITORY-WORKSPACE.zh-CN.md +15 -2
  8. package/docs/EVOLUTION-MAINTENANCE.zh-CN.md +7 -7
  9. package/docs/EVOLUTION-USER-GUIDE.zh-CN.md +2 -2
  10. package/docs/FILE-REFERENCE.zh-CN.md +119 -46
  11. package/docs/MAINTENANCE-VERIFICATION.zh-CN.md +2 -2
  12. package/docs/MOCK-SYSTEM.zh-CN.md +141 -0
  13. package/docs/NPM-RELEASE-MANAGEMENT.zh-CN.md +2 -1
  14. package/docs/PROJECT-MANUAL.zh-CN.md +175 -98
  15. package/docs/PROTOTYPE-MIGRATION.zh-CN.md +164 -0
  16. package/docs/STATE-CLI-MAINTENANCE.zh-CN.md +35 -17
  17. package/docs/STATE-CLI-USER-GUIDE.zh-CN.md +115 -39
  18. package/docs/VIEWER-MAINTENANCE.zh-CN.md +101 -324
  19. package/docs/VIEWER-USER-GUIDE.zh-CN.md +68 -190
  20. package/docs/adr/0001-prototype-first-ui-governance.md +3 -0
  21. package/docs/adr/0002-microcks-as-default-mock-system.md +3 -0
  22. package/docs/adr/0003-workflow-manager-governed-control-surface.md +46 -0
  23. package/docs/adr/0004-operational-carbon-visual-standard.md +9 -0
  24. package/docs/adr/0005-prototype-management-as-routed-pages.md +7 -0
  25. package/docs/adr/0006-product-line-candidate-inventory.md +20 -0
  26. package/docs/agents/domain.md +37 -0
  27. package/docs/agents/issue-tracker.md +26 -0
  28. package/docs/agents/triage-labels.md +11 -0
  29. package/docs/agents/workflow-manager-acceptance-matrix.md +93 -0
  30. package/docs/agents/workflow-manager-agent-interface.md +145 -0
  31. package/docs/agents/workflow-manager-current-state.md +205 -0
  32. package/lib/artifact-files.mjs +47 -0
  33. package/lib/codegraph.mjs +405 -0
  34. package/lib/delivery-state.mjs +3079 -198
  35. package/lib/frontend-guard.mjs +288 -0
  36. package/lib/fs-utils.mjs +53 -0
  37. package/lib/history-anchor.mjs +98 -0
  38. package/lib/mock-scenario-pack.mjs +687 -0
  39. package/lib/mock-system.mjs +897 -0
  40. package/lib/npm-auth.mjs +16 -0
  41. package/lib/npm-package-result.mjs +11 -0
  42. package/lib/png-evidence.mjs +149 -0
  43. package/lib/project-bootstrap.mjs +96 -55
  44. package/lib/project-installer.mjs +1484 -164
  45. package/lib/project-migration.mjs +1193 -0
  46. package/lib/prototype-migration.mjs +713 -0
  47. package/lib/prototype-page-review.mjs +384 -0
  48. package/lib/prototype-review-target.mjs +334 -0
  49. package/lib/prototype-revision.mjs +812 -0
  50. package/lib/stable-value.mjs +15 -0
  51. package/lib/toml-hooks.mjs +69 -0
  52. package/lib/ui-acceptance.mjs +565 -0
  53. package/lib/visual-standard.mjs +232 -0
  54. package/lib/workflow-manager-contracts.mjs +367 -0
  55. package/lib/workflow-manager-facts.mjs +778 -0
  56. package/lib/workflow-manager-governance.mjs +514 -0
  57. package/lib/workflow-manager-mock.mjs +183 -0
  58. package/lib/workflow-manager-prototypes.mjs +1847 -0
  59. package/lib/workflow-manager-public/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
  60. package/lib/workflow-manager-public/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
  61. package/lib/workflow-manager-public/assets/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2 +0 -0
  62. package/lib/workflow-manager-public/assets/ibm-plex-sans-latin-400-normal-CYLoc0-x.woff +0 -0
  63. package/lib/workflow-manager-public/assets/ibm-plex-sans-latin-500-normal-6ng42L7E.woff2 +0 -0
  64. package/lib/workflow-manager-public/assets/ibm-plex-sans-latin-500-normal-BgVn5rGT.woff +0 -0
  65. package/lib/workflow-manager-public/assets/ibm-plex-sans-latin-600-normal-Cu4Hd6ag.woff +0 -0
  66. package/lib/workflow-manager-public/assets/ibm-plex-sans-latin-600-normal-CuJfVYMP.woff2 +0 -0
  67. package/lib/workflow-manager-public/assets/index-Chlg6r8f.css +1 -0
  68. package/lib/workflow-manager-public/assets/index-E-hGB5ZD.js +13 -0
  69. package/lib/workflow-manager-public/fonts/OFL-1.1.txt +90 -0
  70. package/lib/workflow-manager-public/index.html +14 -0
  71. package/lib/workflow-manager-systems.mjs +519 -0
  72. package/lib/workflow-manager-transaction.mjs +397 -0
  73. package/lib/workflow-manager.mjs +745 -0
  74. package/package.json +6 -2
  75. package/skills/ai-delivery-assemble-release/SKILL.md +10 -8
  76. package/skills/ai-delivery-assemble-release/assets/release-candidate-manifest.yaml +16 -4
  77. package/skills/ai-delivery-assemble-release/assets/release-git-plan.yaml +96 -6
  78. package/skills/ai-delivery-assemble-release/assets/release-material-index.csv +1 -1
  79. package/skills/ai-delivery-assemble-release/assets/version-inclusion.csv +2 -2
  80. package/skills/ai-delivery-assemble-release/references/release-assembly-contract.md +16 -2
  81. package/skills/ai-delivery-assemble-release/scripts/plan-release.mjs +127 -3
  82. package/skills/ai-delivery-bootstrap/SKILL.md +4 -4
  83. package/skills/ai-delivery-bootstrap/references/bootstrap-contract.md +4 -2
  84. package/skills/ai-delivery-checkpoint-task/SKILL.md +17 -3
  85. package/skills/ai-delivery-checkpoint-task/assets/runtime-template/task.json +7 -1
  86. package/skills/ai-delivery-checkpoint-task/references/checkpoint-contract.md +22 -8
  87. package/skills/ai-delivery-checkpoint-task/scripts/hook-event.mjs +91 -0
  88. package/skills/ai-delivery-checkpoint-task/scripts/task-state.mjs +1086 -51
  89. package/skills/ai-delivery-close-version/SKILL.md +9 -8
  90. package/skills/ai-delivery-close-version/assets/version-lineage.yaml +1 -1
  91. package/skills/ai-delivery-close-version/references/version-closeout-contract.md +2 -2
  92. package/skills/ai-delivery-define-product/SKILL.md +8 -4
  93. package/skills/ai-delivery-define-product/references/product-contract.md +2 -2
  94. package/skills/ai-delivery-design-architecture/SKILL.md +9 -5
  95. package/skills/ai-delivery-design-architecture/assets/architecture-template/prototype-architecture-validation.yaml +16 -16
  96. package/skills/ai-delivery-design-architecture/references/architecture-contract.md +1 -1
  97. package/skills/ai-delivery-design-experience/SKILL.md +36 -30
  98. package/skills/ai-delivery-design-experience/assets/experience-template/LEGACY-COMPATIBILITY.md +16 -0
  99. package/skills/ai-delivery-design-experience/assets/experience-template/design-reference-selection.yaml +32 -0
  100. package/skills/ai-delivery-design-experience/assets/experience-template/experience-baseline.yaml +2 -2
  101. package/skills/ai-delivery-design-experience/assets/experience-template/formal-ui-confirmation.yaml +16 -3
  102. package/skills/ai-delivery-design-experience/assets/experience-template/frontend-change-scope.yaml +30 -0
  103. package/skills/ai-delivery-design-experience/assets/experience-template/interaction-contract.csv +1 -1
  104. package/skills/ai-delivery-design-experience/assets/experience-template/mock-admin-export.yaml +8 -0
  105. package/skills/ai-delivery-design-experience/assets/experience-template/mock-scenario-mappings.csv +1 -0
  106. package/skills/ai-delivery-design-experience/assets/experience-template/mock-scenario-pack-request.yaml +24 -0
  107. package/skills/ai-delivery-design-experience/assets/experience-template/product-prototype-reconciliation.yaml +2 -1
  108. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-adjustment-log.csv +1 -1
  109. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-component-bindings.csv +1 -0
  110. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-component-candidates.csv +1 -0
  111. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-components.csv +1 -0
  112. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-confirmation.yaml +18 -18
  113. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-data-contracts.csv +1 -0
  114. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-impact-assessment.yaml +5 -5
  115. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-implementation-bindings.csv +1 -0
  116. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-manifest.yaml +2 -0
  117. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-pages.csv +1 -0
  118. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-product-coverage.csv +1 -1
  119. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-review-comments.csv +1 -1
  120. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-review-decision.yaml +13 -12
  121. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-review-scenes.csv +1 -0
  122. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-review-sessions.csv +1 -1
  123. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-review-unit-pages.csv +1 -0
  124. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-review-units.csv +1 -0
  125. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-revision.yaml +88 -0
  126. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-routes.csv +1 -0
  127. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-set.yaml +2 -0
  128. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-source-inspection-snapshots.csv +1 -0
  129. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-terminals.csv +1 -0
  130. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-tool-candidates.csv +1 -1
  131. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-tool-selection.yaml +2 -3
  132. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-traceability.csv +1 -1
  133. package/skills/ai-delivery-design-experience/assets/experience-template/prototype-trigger-conditions.csv +1 -0
  134. package/skills/ai-delivery-design-experience/assets/experience-template/prototype.yaml +6 -0
  135. package/skills/ai-delivery-design-experience/assets/experience-template/ui-framework-selection.yaml +17 -1
  136. package/skills/ai-delivery-design-experience/assets/experience-template/ui-handoff.yaml +6 -5
  137. package/skills/ai-delivery-design-experience/assets/experience-template/ui-mapping.csv +1 -0
  138. package/skills/ai-delivery-design-experience/assets/experience-template/visual-direction.yaml +4 -0
  139. package/skills/ai-delivery-design-experience/assets/experience-template/visual-reference-manifest.yaml +23 -0
  140. package/skills/ai-delivery-design-experience/assets/experience-template/visual-reference.html +163 -0
  141. package/skills/ai-delivery-design-experience/assets/experience-template/visual-system-confirmation.yaml +11 -0
  142. package/skills/ai-delivery-design-experience/references/experience-contract.md +26 -27
  143. package/skills/ai-delivery-design-experience/references/prototype-management-contract.md +42 -21
  144. package/skills/ai-delivery-design-tests/SKILL.md +13 -7
  145. package/skills/ai-delivery-design-tests/assets/test-design-template/prototype-test-scope.csv +1 -1
  146. package/skills/ai-delivery-design-tests/assets/test-design-template/prototype-test-validation.yaml +17 -16
  147. package/skills/ai-delivery-design-tests/references/test-design-contract.md +7 -5
  148. package/skills/ai-delivery-develop-iteration/SKILL.md +18 -11
  149. package/skills/ai-delivery-develop-iteration/assets/development-template/candidate-manifest.yaml +36 -0
  150. package/skills/ai-delivery-develop-iteration/assets/development-template/task-prototype-traceability.csv +1 -1
  151. package/skills/ai-delivery-develop-iteration/references/development-contract.md +5 -3
  152. package/skills/ai-delivery-execute-test/SKILL.md +6 -2
  153. package/skills/ai-delivery-execute-work-package/SKILL.md +10 -3
  154. package/skills/ai-delivery-execute-work-package/references/work-package-contract.md +1 -1
  155. package/skills/ai-delivery-manage-git/SKILL.md +9 -7
  156. package/skills/ai-delivery-manage-git/references/git-policy.md +7 -3
  157. package/skills/ai-delivery-manage-git/scripts/release-git.mjs +995 -0
  158. package/skills/ai-delivery-orchestrate/SKILL.md +47 -29
  159. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/control/migrations/.gitkeep +0 -0
  160. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/control/repairs/.gitkeep +0 -0
  161. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/delivery/project.yaml +1 -0
  162. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/delivery/workflow-state.yaml +2 -0
  163. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/frontend-guard/frontend-guard.mjs +50 -0
  164. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/hooks/hook-event.mjs +91 -0
  165. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/manager/manager.mjs +64 -0
  166. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/manager/start.cmd +4 -0
  167. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/manager/start.ps1 +2 -0
  168. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/{viewer → manager}/start.sh +1 -1
  169. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/mock/mock.mjs +50 -0
  170. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/ui-acceptance/ui-acceptance.mjs +37 -0
  171. package/skills/ai-delivery-orchestrate/assets/project-template/AGENTS.md +37 -9
  172. package/skills/ai-delivery-orchestrate/assets/project-template/gitignore.template +1 -0
  173. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/CONTRIBUTING.md +25 -0
  174. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/LICENSE +21 -0
  175. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/README.md +250 -0
  176. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/UPSTREAM.yaml +19 -0
  177. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/airbnb/DESIGN.md +545 -0
  178. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/airbnb/README.md +5 -0
  179. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/airtable/DESIGN.md +554 -0
  180. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/airtable/README.md +5 -0
  181. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/apple/DESIGN.md +562 -0
  182. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/apple/README.md +5 -0
  183. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/binance/DESIGN.md +634 -0
  184. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/binance/README.md +5 -0
  185. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bmw/DESIGN.md +544 -0
  186. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bmw/README.md +5 -0
  187. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bmw-m/DESIGN.md +503 -0
  188. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bmw-m/README.md +5 -0
  189. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bugatti/DESIGN.md +454 -0
  190. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bugatti/README.md +5 -0
  191. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cal/DESIGN.md +542 -0
  192. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cal/README.md +5 -0
  193. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/claude/DESIGN.md +589 -0
  194. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/claude/README.md +5 -0
  195. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/clay/DESIGN.md +541 -0
  196. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/clay/README.md +5 -0
  197. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/clickhouse/DESIGN.md +544 -0
  198. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/clickhouse/README.md +5 -0
  199. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cohere/DESIGN.md +451 -0
  200. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cohere/README.md +5 -0
  201. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/coinbase/DESIGN.md +570 -0
  202. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/coinbase/README.md +5 -0
  203. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/composio/DESIGN.md +506 -0
  204. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/composio/README.md +5 -0
  205. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cursor/DESIGN.md +537 -0
  206. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cursor/README.md +5 -0
  207. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/dell-1996/DESIGN.md +632 -0
  208. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/dell-1996/README.md +5 -0
  209. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/elevenlabs/DESIGN.md +504 -0
  210. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/elevenlabs/README.md +5 -0
  211. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/expo/DESIGN.md +526 -0
  212. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/expo/README.md +5 -0
  213. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ferrari/DESIGN.md +531 -0
  214. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ferrari/README.md +5 -0
  215. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/figma/DESIGN.md +578 -0
  216. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/figma/README.md +5 -0
  217. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/framer/DESIGN.md +544 -0
  218. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/framer/README.md +5 -0
  219. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/hashicorp/DESIGN.md +575 -0
  220. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/hashicorp/README.md +5 -0
  221. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/hp/DESIGN.md +670 -0
  222. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/hp/README.md +5 -0
  223. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ibm/DESIGN.md +550 -0
  224. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ibm/README.md +5 -0
  225. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/intercom/DESIGN.md +546 -0
  226. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/intercom/README.md +5 -0
  227. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/kraken/DESIGN.md +125 -0
  228. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/kraken/README.md +5 -0
  229. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/lamborghini/DESIGN.md +288 -0
  230. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/lamborghini/README.md +5 -0
  231. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/linear.app/DESIGN.md +548 -0
  232. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/linear.app/README.md +5 -0
  233. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/lovable/DESIGN.md +298 -0
  234. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/lovable/README.md +5 -0
  235. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mastercard/DESIGN.md +365 -0
  236. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mastercard/README.md +5 -0
  237. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/meta/DESIGN.md +683 -0
  238. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/meta/README.md +5 -0
  239. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/minimax/DESIGN.md +746 -0
  240. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/minimax/README.md +5 -0
  241. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mintlify/DESIGN.md +852 -0
  242. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mintlify/README.md +5 -0
  243. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/miro/DESIGN.md +825 -0
  244. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/miro/README.md +5 -0
  245. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mistral.ai/DESIGN.md +773 -0
  246. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mistral.ai/README.md +5 -0
  247. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mongodb/DESIGN.md +767 -0
  248. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mongodb/README.md +5 -0
  249. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nike/DESIGN.md +575 -0
  250. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nike/README.md +5 -0
  251. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nintendo-2001/DESIGN.md +649 -0
  252. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nintendo-2001/README.md +5 -0
  253. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/notion/DESIGN.md +821 -0
  254. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/notion/README.md +5 -0
  255. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nvidia/DESIGN.md +640 -0
  256. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nvidia/README.md +5 -0
  257. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ollama/DESIGN.md +539 -0
  258. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ollama/README.md +5 -0
  259. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/opencode.ai/DESIGN.md +521 -0
  260. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/opencode.ai/README.md +5 -0
  261. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/pinterest/DESIGN.md +597 -0
  262. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/pinterest/README.md +5 -0
  263. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/playstation/DESIGN.md +661 -0
  264. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/playstation/README.md +5 -0
  265. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/posthog/DESIGN.md +690 -0
  266. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/posthog/README.md +5 -0
  267. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/raycast/DESIGN.md +669 -0
  268. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/raycast/README.md +5 -0
  269. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/renault/DESIGN.md +589 -0
  270. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/renault/README.md +5 -0
  271. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/replicate/DESIGN.md +616 -0
  272. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/replicate/README.md +5 -0
  273. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/resend/DESIGN.md +585 -0
  274. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/resend/README.md +5 -0
  275. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/revolut/DESIGN.md +636 -0
  276. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/revolut/README.md +5 -0
  277. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/runwayml/DESIGN.md +244 -0
  278. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/runwayml/README.md +5 -0
  279. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/sanity/DESIGN.md +357 -0
  280. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/sanity/README.md +5 -0
  281. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/sentry/DESIGN.md +551 -0
  282. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/sentry/README.md +5 -0
  283. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/shopify/DESIGN.md +516 -0
  284. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/shopify/README.md +5 -0
  285. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/slack/DESIGN.md +482 -0
  286. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/spacex/DESIGN.md +363 -0
  287. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/spacex/README.md +5 -0
  288. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/spotify/DESIGN.md +246 -0
  289. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/spotify/README.md +5 -0
  290. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/starbucks/DESIGN.md +580 -0
  291. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/starbucks/README.md +5 -0
  292. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/stripe/DESIGN.md +487 -0
  293. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/stripe/README.md +5 -0
  294. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/supabase/DESIGN.md +462 -0
  295. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/supabase/README.md +5 -0
  296. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/superhuman/DESIGN.md +448 -0
  297. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/superhuman/README.md +5 -0
  298. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/tesla/DESIGN.md +286 -0
  299. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/tesla/README.md +5 -0
  300. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/theverge/DESIGN.md +339 -0
  301. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/theverge/README.md +5 -0
  302. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/together.ai/DESIGN.md +633 -0
  303. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/together.ai/README.md +5 -0
  304. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/uber/DESIGN.md +636 -0
  305. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/uber/README.md +5 -0
  306. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/vercel/DESIGN.md +736 -0
  307. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/vercel/README.md +5 -0
  308. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/vodafone/DESIGN.md +538 -0
  309. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/vodafone/README.md +5 -0
  310. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/voltagent/DESIGN.md +521 -0
  311. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/voltagent/README.md +5 -0
  312. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/warp/DESIGN.md +526 -0
  313. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/warp/README.md +5 -0
  314. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/webflow/DESIGN.md +588 -0
  315. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/webflow/README.md +5 -0
  316. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/wired/DESIGN.md +497 -0
  317. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/wired/README.md +5 -0
  318. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/wise/DESIGN.md +544 -0
  319. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/wise/README.md +5 -0
  320. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/x.ai/DESIGN.md +465 -0
  321. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/x.ai/README.md +5 -0
  322. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/zapier/DESIGN.md +537 -0
  323. package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/zapier/README.md +5 -0
  324. package/skills/ai-delivery-orchestrate/references/formal-state-contract.md +65 -20
  325. package/skills/ai-delivery-orchestrate/references/workflow-model.md +8 -6
  326. package/skills/ai-delivery-orchestrate-release/SKILL.md +12 -12
  327. package/skills/ai-delivery-orchestrate-release/assets/release-request.yaml +4 -1
  328. package/skills/ai-delivery-orchestrate-release/assets/version-selection.yaml +13 -1
  329. package/skills/ai-delivery-orchestrate-release/references/release-workflow-contract.md +15 -1
  330. package/skills/ai-delivery-plan-iteration/SKILL.md +11 -4
  331. package/skills/ai-delivery-plan-iteration/assets/planning-template/scope-manifest.yaml +17 -0
  332. package/skills/ai-delivery-plan-iteration/assets/planning-template/slice-prototype-traceability.csv +1 -1
  333. package/skills/ai-delivery-plan-iteration/references/planning-contract.md +8 -2
  334. package/skills/ai-delivery-prepare-platform/SKILL.md +5 -1
  335. package/skills/ai-delivery-prepare-release/SKILL.md +6 -5
  336. package/skills/ai-delivery-prepare-release/assets/release-template/release-manifest.yaml +23 -2
  337. package/skills/ai-delivery-prepare-release/references/release-contract.md +5 -1
  338. package/skills/ai-delivery-review-change/SKILL.md +14 -4
  339. package/skills/ai-delivery-review-change/references/review-contract.md +6 -0
  340. package/skills/ai-delivery-triage-failure/SKILL.md +5 -1
  341. package/skills/ai-delivery-validate-artifacts/SKILL.md +6 -3
  342. package/skills/ai-delivery-validate-artifacts/references/artifact-contract.md +13 -13
  343. package/skills/ai-delivery-verify-candidate/SKILL.md +13 -6
  344. package/skills/ai-delivery-verify-candidate/assets/verification-template/ui-acceptance-request.yaml +19 -0
  345. package/skills/ai-delivery-verify-candidate/assets/verification-template/ui-acceptance-results.yaml +53 -0
  346. package/skills/ai-delivery-verify-candidate/references/candidate-verification-contract.md +10 -2
  347. package/skills/ai-delivery-verify-production/SKILL.md +7 -4
  348. package/skills/ai-delivery-verify-production/assets/production-verification-template/production-verification.json +9 -0
  349. package/skills/ai-delivery-verify-production/assets/production-verification-template/production-verification.md +20 -0
  350. package/skills/ai-delivery-verify-production/references/production-verification-contract.md +19 -3
  351. package/skills/ai-delivery-design-experience/assets/experience-template/low-fidelity-confirmation.yaml +0 -32
  352. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/viewer/public/app.js +0 -546
  353. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/viewer/public/index.html +0 -199
  354. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/viewer/public/styles.css +0 -529
  355. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/viewer/server.mjs +0 -780
  356. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/viewer/start.cmd +0 -4
  357. package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/viewer/start.ps1 +0 -2
@@ -11,6 +11,12 @@
11
11
 
12
12
  Record finding ID, severity, title, file and line, evidence, violated artifact or standard ID, impact, and required correction.
13
13
 
14
+ ## Two-Phase Session
15
+
16
+ Entering the review phase pins one `review_subject_baseline`; feedback collection records the complete append-only finding batch against that subject before repair begins. There must be no code change during feedback collection, and approval fails if the current Git state no longer matches the pinned subject. Close the collection by supplying the reviewed axes, exact finding IDs, and decision; the task CLI persists the canonical collection.
17
+
18
+ An approved change set is persisted through task `--change-set-json` with a stable `change_set_id`, approval actor, rationale, every current open finding ID, repository-relative allowed files, expected evidence, `review_axes`, and `collection_decision`. The task CLI captures the code `repair_baseline`, persists the canonical `feedback_collection`, and computes the SHA-256 `collection_checksum`. The executor applies that set in a repair phase; the reviewer does not edit the code. During concentrated rereview, a resolved finding declares the exact Git `changed_files` since approval, and the CLI rejects an invented change-set ID, a finding outside the approved set, missing expected evidence, undeclared actual changes, or a file outside the approval. New findings require a new feedback collection and approved change set.
19
+
14
20
  ## Decision
15
21
 
16
22
  Return `pass` only when no blocking findings remain and required checks ran. Return `fail` for confirmed blocking findings and `blocked` when evidence or execution prerequisites are missing.
@@ -9,7 +9,11 @@ Classify ownership without fixing the defect.
9
9
 
10
10
  ## Artifact Location
11
11
 
12
- Write every triage report, defect route, evidence index, and workflow document produced by this skill under project `.workflow/`, defaulting version-scoped outputs to `.workflow/iterations/<iteration-id>/<node-id>/`. Raw external evidence may remain in controlled systems only when immutable references and checksums are recorded in `.workflow/`.
12
+ Write every triage report, defect route, evidence index, and workflow document produced by this skill under project `.workflow/`. Implementation-origin reports stay in `.workflow/iterations/<iteration-id>/04-implementation/`; candidate-origin reports stay in `.workflow/iterations/<iteration-id>/05-candidate-assurance/`. Raw external evidence may remain in controlled systems only when immutable references and checksums are recorded in `.workflow/`.
13
+
14
+ ## Development Node
15
+
16
+ Triage is a phase of the stable logical task in the node where the failure was observed, not its own formal node. Use `04-implementation` for package, developer-test, and repair failures. Use `05-candidate-assurance` for failures against the bound candidate, then route the correction to the earliest owning producer. A correction that changes candidate bytes returns through `04-implementation`, creates a new immutable candidate, and requires a new Candidate Assurance attempt.
13
17
 
14
18
  ## Task State
15
19
 
@@ -26,9 +26,12 @@ Require every workflow document to resolve under project `.workflow/` unless it
26
26
  5. Verify required artifact sets for the target handoff.
27
27
  6. Verify baseline immutability, version increments, stale flags, and downstream impact declarations.
28
28
  7. Verify status transitions and human gates.
29
- 8. Verify traceability from product goals through features, terminals, stories, acceptance criteria, pages, canvases, prototype files/elements, slices, tasks, tests, release items, and deployment evidence as applicable.
30
- 9. For UI-bearing scope, validate the human tool-selection Gate, executable low-fidelity runtime, mandatory `UX-LF`, `UX-VS`, and `UX-UI` human decisions, stable page numbering, one-main-page-family-per-canvas rule, explicit file/terminal relations, adjustment history, impact propagation, and aligned `product-prototype-reconciliation.yaml`.
31
- 10. Verify complete prototype-set membership and that UI handoff, experience confirmation, architecture validation, test validation, planning, development, and verification all reference the same product reconciliation, experience-change checksum, set checksum, and relevant member IDs, versions, source revisions, review-bundle checksums, management/review catalog checksums, impact-assessment checksums, and receipt checksums. Require downstream work to consume only `ready-for-development` changes.
29
+ 8. Verify traceability from product goals through features, terminals, stories, acceptance criteria, Pages, Review Scenes, prototype elements, UI Mapping rows, UI components, frontend sources, Slices, tasks, tests, release items, and deployment evidence as applicable.
30
+ 9. For UI-bearing scope, validate the human tool-selection Gate, mandatory `UX-VS` and `UX-UI` human decisions, production-compatible runnable Prototype, stable Page and Review Scene identities, normalized terminal/trigger/route relations, Review Units, adjustment history, impact propagation, and aligned `product-prototype-reconciliation.yaml`. Validate that Workflow Manager evidence names the same checksummed target used by the Gate, uses its loopback origin and allowlisted review action, and contains no target revision drift; before `UX-VS`, its only content target is the Visual Reference, and afterward it is one exact Prototype revision.
31
+ 10. Validate every Prototype Page review receipt as an immutable checksummed YAML record under `.workflow/delivery/reviews/prototype-pages/<revision-id>/`. Reject an invalid or extra field, file-path/identity mismatch, actor, timestamp, receipt checksum, Prototype revision checksum, Page checksum, Scene checksum, or evidence checksum. Derive status from the current revision or its checksum-validated `previous_revision` ancestor chain, nearest ancestor first; reject inheritance from descendants or unrelated revisions. Carry forward only when the selected prior decision is approved and the complete Page checksum is identical; preserve a later changes-requested decision on that ancestor, and derive stale after any evidence change. Require the final Page receipt and approved `UX-UI` Gate decision to reference each other through the same actor, iteration, Prototype revision, and receipt checksum, and reject any later receipt unless a new pending `UX-UI` request exists.
32
+ 11. Verify that UI handoff, experience confirmation, architecture validation, test validation, planning, development, and verification all pin the same exact Prototype revision/checksum, source revision/checksum, review-bundle checksum, UI Mapping checksum, normalized catalog checksums, product reconciliation, experience-change checksum, review/impact checksums, and receipt checksums. Resolve every affected Page, Review Scene, UI component, frontend source, and acceptance criterion through explicit normalized foreign keys. Reject missing or conflicting references. Never infer relationships from file names or row order. Require downstream work to consume only `ready-for-development` changes.
33
+ 12. For every UI-bearing code handoff, validate the revision-bound `frontend-change-scope.yaml` checksum and its code root, non-empty frontend roots and extensions, shared component ownership, and file-only route registry ownership with the exact approved candidate-file SHA-256. Cross-check every active UI Mapping and ownership source against those roots and extensions; a declared source that would be skipped invalidates the scope. Run `ai-delivery frontend-guard verify-diff` with the handoff's fixed base and candidate head; require the independent Git diff to have current approved Page receipts and exact UI Mapping or scope coverage, and read changed route registries from the fixed candidate Git object rather than the mutable worktree. Reject Hook-only evidence, unmapped new or removed UI files, unapproved route-registry content, pending/changes-requested/stale Pages, and scope or revision drift.
34
+ 13. Before Candidate Assurance can pass a UI-bearing candidate, require successful `ui-acceptance plan` and `ui-acceptance verify` reports bound to the active attempt and immutable candidate checksum. Check exact Page/Scene/viewport coverage, pinned Playwright environment, visual diff counts and evidence, interaction and WCAG 2.2 AA checks, keyboard/focus/touch-target/text-overflow/responsive/recovery results, protocol evidence, Scenario Pack authority, and separate real backend evidence whenever Product Backend Mock rendered a Scene. Candidate checksum drift requires a new `04-implementation` candidate and Candidate Assurance attempt.
32
35
 
33
36
  ## Output
34
37
 
@@ -15,29 +15,29 @@ Record artifact ID, type, version, iteration ID, status, producer skill, input a
15
15
 
16
16
  Use UTF-8 CSV, fixed headers, stable IDs, controlled enums, parser-safe quoting, and no merged cells, colors, formulas, or delimiter-packed relationship fields.
17
17
 
18
- ## Prototype Handoff Set
18
+ ## Prototype Handoff
19
19
 
20
20
  For visual or interactive terminals, require:
21
21
 
22
- - a versioned prototype set with one member manifest per independently versioned review bundle;
23
- - a valid human tool-selection receipt per member, with one actually available authoring tool selected before source authoring;
24
- - stable page, canvas, prototype-file, and file-terminal catalogs with normalized relationships;
25
- - an executable low-fidelity prototype with a passing human `UX-LF` receipt;
26
- - a checksummed visual system, design tokens, selected UI framework, component-state matrix, and passing human `UX-VS` receipt;
22
+ - one exact immutable Prototype revision with checksummed source, review bundle, Review Shell, Visual Standard, review evidence, and normalized catalogs;
23
+ - a valid human tool-selection receipt for the Prototype, with one actually available authoring tool selected before source authoring;
24
+ - stable terminal, Page, Review Scene, trigger-condition, route, and UI Mapping catalogs with normalized relationships;
25
+ - a production-compatible runnable Prototype with passing human `UX-VS` and `UX-UI` receipts;
26
+ - a checksummed design-reference selection, runnable HTML Visual Reference and manifest, visual system, design tokens, selected UI framework/component system/icon library, pinned component registry/configuration, selected components, checksummed local adaptations, component-state matrix, license/upstream attribution, complete scoped design-input checksum list, an unexpired human `UX-VS` receipt, and a passing `ai-delivery visual-standard validate` report;
27
27
  - a runnable formal UI with a passing human `UX-UI` receipt;
28
28
  - checksummed review sessions, comments, complete adjustment log, experience/requirement change sets, and impact assessment;
29
29
  - an aligned `product-prototype-reconciliation.yaml` and a `ui-handoff.yaml` whose development readiness is `ready-for-development`;
30
- - each member manifest with immutable source revision, SHA-256 review bundle, and checksums for linked traceability and state catalogs;
31
- - normalized feature/acceptance/terminal/flow/page/canvas/file/screen/state-to-prototype-element traceability;
32
- - one source confirmation per set member against product and initial architecture inputs;
33
- - one architecture validation receipt per set member before architecture reconciliation exits;
34
- - one test validation receipt per relevant set member before test design exits.
30
+ - the Prototype revision with immutable source revision, SHA-256 source and review-bundle tree checksums, and checksums for every linked catalog;
31
+ - normalized feature/acceptance/terminal/flow/Page/Review Scene/state-to-prototype-element traceability;
32
+ - one source confirmation for the Prototype revision against product and initial architecture inputs;
33
+ - one architecture validation receipt for the Prototype revision before architecture reconciliation exits;
34
+ - one test validation receipt for the Prototype revision before test design exits.
35
35
 
36
- Validate main page IDs against `^P[0-9]{2,}$` and child IDs against `^P[0-9]{2,}-[0-9]{2,}$`; require child `parent_page_id` to match its main-page prefix. Verify derived display labels, uniqueness, no ID reuse, and `retired` preservation. Reject third-level page IDs. Require each canvas to contain exactly one main-page family. Require file splits when terminal, authoring tool, permission, freeze/review lifecycle, or independent delivery boundaries differ.
36
+ Validate main Page IDs against `^P[0-9]{2,}$` and child IDs against `^P[0-9]{2,}-[0-9]{2,}$`; require child `parent_page_id` to match its main-page prefix. Verify derived display labels, uniqueness, no ID reuse, and `retired` preservation. Reject third-level Page IDs. Verify that every Review Scene belongs to one Page, every trigger targets an explicit scene, and every prototype or production route resolves through normalized foreign keys.
37
37
 
38
38
  Require tool selections `valid/selected`, all applicable staged Gate decisions approved by a human, and impact assessments `valid/ready-for-finalization`. Require each Gate's latest session `approved`, every comment terminal, every adjustment revision-linked, every semantic impact reconciled with product and rebaselined before final freeze, and the approved formal UI revision to match the final manifest. Only a genuinely non-visual terminal may mark these visual Gates `not-applicable`, with product-terminal evidence and rationale.
39
39
 
40
- Require the same set identity/checksum and complete relevant member identities, revisions, bundle/management/review/impact checksums, and receipt checksums in all downstream references. Require source confirmations `valid/confirmed-for-handoff` and architecture/test receipts `valid/accepted`. Reject ambiguous set cardinality, mutable URL-only evidence, missing members or receipts, checksum mismatches, silent downstream edits, and confirmed prototypes with blocking issues.
40
+ Require the same Prototype revision/checksum, source revision/checksum, review-bundle checksum, UI Mapping checksum, normalized catalog checksums, review/impact checksums, and receipt checksums in all downstream references. Require source confirmation `valid/confirmed-for-handoff` and architecture/test receipts `valid/accepted`. Resolve affected Page, Review Scene, UI component, frontend source, and acceptance identities from explicit UI Mapping rows. Reject ambiguous or conflicting references, mutable URL-only evidence, missing receipts, checksum mismatches, silent downstream edits, and confirmed Prototypes with blocking issues. Never infer any relationship from a file name or row order.
41
41
 
42
42
  ## Status Rules
43
43
 
@@ -9,7 +9,11 @@ Validate the assembled system independently. Never modify product code, migratio
9
9
 
10
10
  ## Artifact Location
11
11
 
12
- Write iteration-scope outputs to `.workflow/iterations/<version-id>/11-candidate-verification/` and release-scope outputs to `.workflow/releases/<release-id>/R05-release-verification/`. Candidate binaries and images remain immutable in their artifact stores and are referenced by digest.
12
+ Write iteration-scope outputs to `.workflow/iterations/<version-id>/05-candidate-assurance/` and release-scope outputs to `.workflow/releases/<release-id>/R05-release-verification/`. Candidate binaries and images remain immutable in their artifact stores and are referenced by digest.
13
+
14
+ ## Development Node
15
+
16
+ Iteration scope runs inside `05-candidate-assurance` against the bound candidate recorded when the node attempt starts. Pass that exact `candidate_id` when registering assurance artifacts; never retarget an active attempt. If any repair changes code, migration, configuration, IaC, dependency, build, or digest, return to `04-implementation`, select a new immutable candidate, and begin a new Candidate Assurance attempt. Release scope remains in `R05-release-verification`.
13
17
 
14
18
  ## Task State
15
19
 
@@ -25,14 +29,17 @@ Require `scope: iteration` or `scope: release`. For iteration scope, verify one
25
29
 
26
30
  Read `.workflow/config/workspace.yaml` first. Resolve and verify every `repo_id`, `code_commit`, optional `code_tag`, `source_path`, and SHA-256 against the configured nested code repository; stop when a candidate references the workflow repository or another code repository.
27
31
 
28
- Read the candidate manifest, approved baselines, exact ready UI handoff, aligned product reconciliation, experience/requirement change sets, task-to-experience-change traceability, exact prototype set and relevant member manifests/review bundles, tool-selection and page/canvas/file catalogs, interaction/component-state contracts, review/impact records, prototype source confirmations, architecture and test receipts, overall test strategy, public iteration test contract, prior defects, actual change inventory, applicable standards, test environment evidence, and candidate commit and artifact digests. Require source confirmations `valid/confirmed-for-handoff` and architecture/test receipts `valid/accepted`. Stop if the environment or candidate is mutable, any relevant member receipt is missing or non-passing, any planned `ready-for-development` change lacks implementation evidence, or any handoff/set/member identity, management/review/impact checksum, or review-bundle checksum is mismatched.
32
+ Read `candidate-manifest.yaml` first and require it to pin the exact ready UI handoff, aligned `product-prototype-reconciliation.yaml`, Prototype revision, source revision, source tree, review bundle, UI Mapping, and task traceability identities/checksums for UI-bearing scope. Then read the approved baselines, experience/requirement change sets, task-to-experience-change traceability, normalized terminal, Page, Review Scene, trigger-condition, route, and UI Mapping catalogs, interaction/component-state contracts, review/impact records, prototype source confirmation, architecture and test receipts, overall test strategy, public iteration test contract, prior defects, actual change inventory, applicable standards, test environment evidence, and candidate commit and artifact digests. Require source confirmation `valid/confirmed-for-handoff` and architecture/test receipts `valid/accepted`. Stop if the environment or candidate is mutable, a candidate binding field, required receipt, or catalog reference is missing or non-passing, any planned `ready-for-development` change lacks implementation evidence, or any Prototype revision, UI Mapping, handoff, reconciliation, traceability, review/impact, source, or review-bundle identity/checksum conflicts. Never infer a relationship from a file name or catalog order.
33
+
34
+ For UI-bearing scope, also require the candidate manifest to pin the exact frozen Mock Scenario Pack. Create `ui-acceptance-request.yaml`, run `ai-delivery ui-acceptance plan`, execute its exact Scene/viewport matrix in the pinned Playwright environment, write `ui-acceptance-results.yaml` plus checksummed evidence, and run `ai-delivery ui-acceptance verify` before deciding. Use approved Visual Standard breakpoints or the `390x844`, `768x1024`, and `1440x900` defaults with default maximum diff ratio `0.001`. Produce exact-viewport PNGs and a transparent RGBA changed-pixel mask, plus deterministic JSON protocol envelopes matching every request selector and response in the plan's frozen contract expectation. This work remains inside `05-candidate-assurance`. A Product Backend Mock can drive deterministic rendering but never satisfies real backend or end-to-end acceptance; bind the exact candidate, non-Mock environment, immutable deployment digest, contract result, and end-to-end result in separate real product backend evidence when the plan requires it.
29
35
 
30
36
  ## Plan Independent Verification
31
37
 
32
38
  1. Analyze changed and adjacent risks without relying only on developer-authored tests.
33
- 2. Derive additional edge, negative, cross-component, end-to-end, exploratory, regression, security, performance, accessibility, compatibility, migration, recovery, and page/canvas/file/element-level prototype-conformance work as applicable.
34
- 3. Create only test roles justified by risk. Keep every role independent from implementation.
35
- 4. Invoke `$ai-delivery-execute-test` for each test work package.
39
+ 2. Resolve affected Pages, Review Scenes, UI components, frontend sources, and acceptance criteria through the pinned UI Mapping, then derive additional edge, negative, cross-component, end-to-end, exploratory, regression, security, performance, accessibility, compatibility, migration, recovery, and mapped prototype-conformance work as applicable.
40
+ 3. For each affected UI Scene, execute deterministic rendering and interaction at every approved breakpoint. Compare against the exact Prototype with the approved pixel ratio and retain reviewable prototype/candidate/diff images. Block on WCAG 2.2 AA, keyboard, focus, touch-target, text-overflow, responsive, recovery, protocol, or Mock authority failures.
41
+ 4. Create only test roles justified by risk. Keep every role independent from implementation.
42
+ 5. Invoke `$ai-delivery-execute-test` for each test work package.
36
43
 
37
44
  ## Decide
38
45
 
@@ -42,7 +49,7 @@ Produce:
42
49
 
43
50
  - independent test cases and automation;
44
51
  - execution logs and evidence;
45
- - requirement, feature, experience-change, page, canvas, prototype-file/element, risk, and test coverage matrices;
52
+ - requirement, feature, experience-change, Page, Review Scene, prototype-element, UI Mapping, UI component, frontend-source, acceptance, risk, and test coverage matrices;
46
53
  - defect CSV with severity and reproduction evidence;
47
54
  - specialty test results as applicable;
48
55
  - untested scope and residual risks;
@@ -0,0 +1,19 @@
1
+ schema_version: 1
2
+ artifact_type: ui-acceptance-request
3
+ iteration_id: ITER-0001
4
+ candidate_id: CANDIDATE-0001
5
+ node_attempt: 1
6
+ experience_ref: .workflow/experience
7
+ prototype_revision_ref: prototype/revisions/PROTOTYPE-REVISION-0001/prototype-revision.yaml
8
+ mock_scenario_pack_ref: mock-scenario-packs/MOCK-SCENARIO-PACK-0001.yaml
9
+ test_strategy:
10
+ ref: .workflow/iterations/ITER-0001/03-delivery-readiness/test-strategy.yaml
11
+ algorithm: sha256
12
+ checksum: REPLACE_WITH_SHA256
13
+ runner:
14
+ engine: playwright
15
+ package_version: REPLACE_WITH_EXACT_VERSION
16
+ browser: chromium
17
+ browser_version: REPLACE_WITH_EXACT_VERSION
18
+ environment_image: REPLACE_WITH_PINNED_IMAGE
19
+ environment_digest: sha256:REPLACE_WITH_64_HEX_DIGEST
@@ -0,0 +1,53 @@
1
+ schema_version: 1
2
+ artifact_type: ui-acceptance-results
3
+ iteration_id: ITER-0001
4
+ status: pending
5
+ decision: blocked
6
+ plan_checksum: REPLACE_WITH_SHA256
7
+ candidate:
8
+ candidate_id: CANDIDATE-0001
9
+ manifest_checksum: REPLACE_WITH_SHA256
10
+ node_attempt: 1
11
+ prototype_revision:
12
+ artifact_id: PROTOTYPE-REVISION-0001
13
+ checksum: REPLACE_WITH_SHA256
14
+ source_revision: REPLACE_WITH_IMMUTABLE_SOURCE_REVISION
15
+ review_bundle_checksum: REPLACE_WITH_SHA256
16
+ ui_mapping_checksum: REPLACE_WITH_SHA256
17
+ mock_scenario_pack:
18
+ artifact_id: MOCK-SCENARIO-PACK-0001
19
+ checksum: REPLACE_WITH_SHA256
20
+ runner:
21
+ engine: playwright
22
+ package_version: REPLACE_WITH_EXACT_VERSION
23
+ browser: chromium
24
+ browser_version: REPLACE_WITH_EXACT_VERSION
25
+ environment_image: REPLACE_WITH_PINNED_IMAGE
26
+ environment_digest: sha256:REPLACE_WITH_64_HEX_DIGEST
27
+ mock_boundary:
28
+ product_backend_mock_used_for_rendering: false
29
+ product_backend_mock_accepted_as_real_backend_evidence: false
30
+ real_product_backend_acceptance:
31
+ status: pending
32
+ source: real-product-backend
33
+ candidate:
34
+ candidate_id: CANDIDATE-0001
35
+ manifest_checksum: REPLACE_WITH_SHA256
36
+ node_attempt: 1
37
+ environment:
38
+ environment_id: REPLACE_WITH_NON_MOCK_ENVIRONMENT_ID
39
+ deployment_ref: REPLACE_WITH_IMMUTABLE_DEPLOYMENT_REF
40
+ deployment_digest: sha256:REPLACE_WITH_64_HEX_DIGEST
41
+ product_backend_mock_enabled: false
42
+ evidence:
43
+ ref: .workflow/iterations/ITER-0001/05-candidate-assurance/real-product-backend.json
44
+ algorithm: sha256
45
+ checksum: REPLACE_WITH_SHA256
46
+ candidate_assurance:
47
+ node: 05-candidate-assurance
48
+ node_attempt: 1
49
+ candidate_id: CANDIDATE-0001
50
+ # One result is required for every plan execution. Every evidence object uses ref/algorithm/checksum.
51
+ # Visual evidence uses exact-viewport PNGs; diff.png is an RGBA mask (alpha 0 unchanged, alpha >0 changed).
52
+ # Protocol request/response evidence is JSON exactly matching the frozen expectation emitted by plan.
53
+ executions: []
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Scope
4
4
 
5
- Require `iteration` or `release`. Iteration scope verifies one planned-version candidate for `12-version-closeout`. Release scope verifies the exact `R04-release-candidate`, selected version closure, release material index, environment/configuration snapshot, migrations, rollback compatibility, and target tag before R06.
5
+ Require `iteration` or `release`. Iteration scope writes under `05-candidate-assurance`, verifies the exact candidate bound to that node attempt, and produces evidence for `06-version-closeout`. Every registered iteration assurance artifact carries the bound `candidate_id`; candidate-changing repair requires a new candidate and node attempt. Release scope verifies the exact `R04-release-candidate`, selected version closure, release material index, environment/configuration snapshot, migrations, rollback compatibility, and target tag before R06.
6
6
 
7
7
  ## Test Work Packages
8
8
 
@@ -16,7 +16,15 @@ Create test types only when justified by changed or adjacent risk.
16
16
 
17
17
  Return `pass` only when mandatory gates pass, blocking defects are absent, required coverage is evidenced, and untested scope is acceptable under approved policy. Return `fail` for candidate defects and `blocked` for unavailable prerequisites.
18
18
 
19
- For UI-bearing scope, require one exact ready UI handoff, aligned product reconciliation, experience-change set, prototype-set identity/checksum, and a complete relevant member set across manifests, tool-selection and page/canvas/file catalogs, review/impact records, source confirmations, architecture receipts, test receipts, iteration plan, work packages, and candidate traceability. Verify every planned `experience_change_id` has the declared implementation action and independent behavior, visual-regression, responsive, and accessibility evidence as applicable. Verify matching management/review/impact checksums and applicable page/canvas/file/element identities and states through every delivered terminal. Route requirement conflicts to product, prototype defects to experience, feasibility conflicts to architecture, testability gaps to test design, and implementation differences to development.
19
+ For UI-bearing scope, require `candidate-manifest.yaml` to pin one exact ready UI handoff, aligned product reconciliation, Prototype revision/checksum, source revision/checksum, review-bundle checksum, UI Mapping checksum, and both task traceability checksums. Verify these bindings against the experience-change set, normalized catalogs, review/impact records, source confirmation, architecture receipt, test receipt, iteration plan, work packages, and candidate traceability before deriving tests. Resolve every affected Page, Review Scene, UI component, frontend source, and acceptance criterion from the pinned UI Mapping. Verify every planned `experience_change_id` has the declared implementation action and independent behavior, visual-regression, responsive, and accessibility evidence as applicable. Verify matching references and checksums through every delivered terminal; reject missing or conflicting candidate fields or references and never infer relationships from file names or row order. Route requirement conflicts to product, prototype defects to experience, feasibility conflicts to architecture, testability gaps to test design, and implementation differences to development.
20
+
21
+ ## UI Acceptance
22
+
23
+ UI Acceptance is mandatory inside iteration `05-candidate-assurance`; it is not another formal node. The candidate manifest pins the frozen Mock Scenario Pack in addition to the Prototype and UI Mapping. Run `ai-delivery ui-acceptance plan <workspace> --request <request>` before browser execution, then `ai-delivery ui-acceptance verify <workspace> --request <request> --results <results>` before a passing decision. Both commands are read-only.
24
+
25
+ The plan must bind the active node attempt, exact immutable candidate manifest checksum, approved unexpired Visual Standard whose checksum is identical to the frozen Prototype revision, frozen Prototype revision, current approved Page receipts, candidate traceability, complete UI Mapping, frozen Scenario Pack, approved test strategy, and exact Playwright/browser/image versions. Revalidate the Scenario Pack candidate checksum, human confirmation, Prototype binding, mapping, protocol contracts, and checksummed Microcks admin export artifacts instead of trusting its status field. It expands every affected Review Scene across the approved Visual Standard breakpoints; absent an approved override, use `390x844`, `768x1024`, and `1440x900`, with `max_diff_pixel_ratio: 0.001`.
26
+
27
+ The results must cover the plan exactly and bind checksummed prototype/candidate/diff PNG screenshots, deterministic fixture and Scenario identity, interactions, WCAG 2.2 AA with no violations, keyboard, focus, touch-target, text-overflow, responsive, recovery, and protocol request/response evidence. Prototype and candidate PNG dimensions equal the exact viewport; the diff is a non-interlaced 8-bit RGBA mask where transparent pixels are unchanged and non-transparent pixels are changed. Decode the PNGs, compare prototype and candidate pixels, require the mask to identify the same pixels, and recompute changed-pixel counts and ratio independently. Protocol evidence is deterministic JSON equal to the request and response expectation derived from both the frozen approved contract and its checksummed Microcks admin export artifact, including path/query/header dispatcher values and a named request body when the contract uses them. External Dependency Mock use requires explicit approval in the test strategy. Product Backend Mock may render a Scene but is always marked ineligible as real backend or end-to-end evidence; require a separate checksummed `real-product-backend` result whenever it was used. That result and its JSON evidence bind the exact candidate, a named non-Mock environment, immutable deployment digest, `product_backend_mock_enabled: false`, and passing contract plus end-to-end checks. Any candidate manifest checksum change invalidates the plan, returns work to `04-implementation`, selects a new immutable candidate, and starts a new Candidate Assurance attempt.
20
28
 
21
29
  ## Independence
22
30
 
@@ -9,7 +9,7 @@ Keep deployment execution separate from release success.
9
9
 
10
10
  ## Artifact Location
11
11
 
12
- Write production verification reports, signal snapshots, rollback decisions, and release decisions to `.workflow/releases/<release-id>/R09-production-verification/`. External observability data may remain in controlled systems only when immutable references and timestamps are recorded in `.workflow/`.
12
+ Write production verification reports, signal snapshots, rollback decisions, and release decisions to `.workflow/releases/<release-id>/R09-production-verification/`. A `released` decision must also write the immutable machine-readable `production-verification.json` sidecar. External observability data may remain in controlled systems only when immutable references and timestamps are recorded in `.workflow/`.
13
13
 
14
14
  ## Task State
15
15
 
@@ -19,7 +19,7 @@ Write production verification reports, signal snapshots, rollback decisions, and
19
19
 
20
20
  ## Preflight
21
21
 
22
- Read the approved release package, deployment record, previous stable release, verification thresholds, rollback authorization, observability state, and target environment. Confirm that the deployed identities match the manifest.
22
+ Read the approved release package, candidate receipt, deployment record, previous stable release, verification thresholds, rollback authorization, observability state, and target environment. Confirm that the deployed identities match the manifest: the R00 `expected_main` base, one source version-ready Tag/commit, exact candidate commit and incremental merge commit when one exists, immutable release Tag, image digest, configuration, and migrations.
23
23
 
24
24
  ## Verify
25
25
 
@@ -36,15 +36,18 @@ Read the approved release package, deployment record, previous stable release, v
36
36
  - When old-image compatibility is unproven or data recovery is irreversible, stop and request the approved manual recovery decision.
37
37
  - For ambiguous business-signal degradation with healthy technical signals, pause for human judgment.
38
38
 
39
- After successful release verification, invoke `$ai-delivery-manage-git` to fast-forward code-repository `main` to the exact deployed, tagged commit. Record the release decision only in the workflow repository. For same-version redeploy, allow code `main` to remain at the same commit. After rollback, keep code `main` unchanged and retain the failed release, version, and Tags. Do not update `production_version_id` or `production_release_id` in R09; hand the verified identities to R10, which records them through the formal `release-archived` transition.
39
+ For a `released` decision, write `production-verification.json` before any protected Git action. It must use `schema_version: 1`, `operation: production-verification-decision`, exact `release_id`, `decision: released`, and full immutable `expected_main_commit`, `verified_release_commit`, and `deployed_commit` fields; the last two must name the deployed candidate. Then invoke `$ai-delivery-manage-git`'s controlled `scripts/release-git.mjs promote` operation with `--release-id`, `--release-branch`, the R00 `--expected-main`, exact `--verified-release-commit`, `--production-verification <R09-production-verification/production-verification.json>`, `--receipt <path>`, and `--apply`. Accept success only when its JSON receipt proves the protected code-repository `main` fast-forwarded from that exact base to that exact commit and records the evidence checksum. For same-version redeploy, it may record an explicit unchanged result only when `main` already names the verified candidate. Omitting `--apply` is planning only. Record the release decision only in the workflow repository.
40
+
41
+ Do not synchronize `release-fix/*` into `line/<product-id>` before the production decision. On `released`, hand every deployed release-fix identity, the expected line head, the R09 JSON decision, and an R10 schema-2 product-line `candidate-inventory.json` to R10. It must bind `product_id`, `line_branch`, the active candidate, and every candidate's own `release_id`, immutable commit, and current status; the root has no release ID. R10 runs `scripts/release-git.mjs sync-release-fix --source-ref --source-commit --verified-release-commit --line-branch --expected-line --production-verification <R09 JSON> --candidate-inventory <predecessor R10 JSON> --successor-candidate-inventory <new R10 JSON> --receipt <path> --apply`; it writes an `applied` merge receipt or unchanged `idempotent` receipt, derives `stale_candidate_ids` plus `candidate_status_updates` across that product line, and emits the new immutable successor inventory. The input inventory remains immutable, and a replay can use only byte-identical successor content. After rollback, blocked, or human-decision outcomes, keep code `main` and `line` unchanged and retain the failed release, version, and Tags. Do not update `production_version_id` or `production_release_id` in R09; hand the verified identities to R10, which records them through the formal `release-archived` transition.
40
42
 
41
43
  ## Outputs
42
44
 
43
- - production verification report and evidence;
45
+ - production verification report and evidence, including `production-verification.json` for every `released` decision;
44
46
  - release decision and observation window;
45
47
  - rollback deployment record and rollback verification when applicable;
46
48
  - residual risks, incident or defect routes, and final production version;
47
49
  - release archive handoff or rework status.
50
+ - main-promotion receipt when released, plus the candidate inventory and release-fix synchronization handoff when applicable;
48
51
  - final production version, release ID, and immutable release evidence for `R10-release-archive`.
49
52
 
50
53
  Read [production-verification-contract.md](references/production-verification-contract.md) and use `assets/production-verification-template/`.
@@ -0,0 +1,9 @@
1
+ {
2
+ "schema_version": 1,
3
+ "operation": "production-verification-decision",
4
+ "release_id": "REL-0001",
5
+ "decision": "released",
6
+ "expected_main_commit": "<full-git-sha>",
7
+ "verified_release_commit": "<full-git-sha>",
8
+ "deployed_commit": "<same-full-git-sha>"
9
+ }
@@ -1,7 +1,15 @@
1
1
  # Production Verification
2
2
 
3
+ `production-verification.json` in this directory is the mandatory machine-readable decision sidecar for a `released` outcome. Fill it with full immutable Git object IDs before invoking `release-git.mjs promote`; this report remains the human-readable evidence.
4
+
3
5
  ## Release And Deployment Identity
4
6
 
7
+ - R00 `expected_main`:
8
+ - source `version-ready` Tag and commit:
9
+ - release-candidate merge commit:
10
+ - immutable release Tag:
11
+ - candidate receipt:
12
+
5
13
  ## Mandatory Checks
6
14
 
7
15
  ## Observation Window And Signals
@@ -10,6 +18,18 @@
10
18
 
11
19
  ## Decision
12
20
 
21
+ - decision:
22
+ - machine-readable decision: `production-verification.json`
23
+ - `main` promotion receipt:
24
+
13
25
  ## Rollback And Rollback Verification
14
26
 
27
+ ## Release-Fix Line Synchronization Handoff
28
+
29
+ - release-fix branch/commit:
30
+ - `line/<product-id>`:
31
+ - R10 predecessor candidate inventory: schema-2 product-line `candidate-inventory.json`
32
+ - R10 successor candidate inventory: distinct immutable JSON path supplied through `--successor-candidate-inventory`
33
+ - required R10 receipt:
34
+
15
35
  ## Residual Risk And Routes
@@ -2,13 +2,29 @@
2
2
 
3
3
  ## Required Evidence
4
4
 
5
- Record deployment and release IDs, actual artifact digests, health and readiness, critical journey smoke results, data integrity, authorization, logs, errors, latency, resources, queues, alerts, dashboards, business sanity signals, observation window, and final decision.
5
+ Record deployment and release IDs, candidate receipt, immutable release Tag, R00 production-base commit, actual candidate/deployed commit, actual artifact digests, health and readiness, critical journey smoke results, data integrity, authorization, logs, errors, latency, resources, queues, alerts, dashboards, business sanity signals, observation window, and final decision.
6
+
7
+ For every `released` decision, write `R09-production-verification/production-verification.json` before invoking a protected Git operation. Its exact machine-readable shape is:
8
+
9
+ ```json
10
+ {
11
+ "schema_version": 1,
12
+ "operation": "production-verification-decision",
13
+ "release_id": "REL-0001",
14
+ "decision": "released",
15
+ "expected_main_commit": "<full-git-sha>",
16
+ "verified_release_commit": "<full-git-sha>",
17
+ "deployed_commit": "<same-full-git-sha>"
18
+ }
19
+ ```
20
+
21
+ `release_id` must equal the Git operation's release ID; both candidate fields must be full object IDs and must be equal. `promote` additionally requires the JSON `expected_main_commit` to equal R00. The Git receipt records the evidence path and SHA-256 so a later archive can prove the decision it consumed.
6
22
 
7
23
  ## Decisions
8
24
 
9
- - `released`: mandatory thresholds pass; fast-forward `main` to the exact deployed tagged commit, or keep the identical commit for same-version redeploy, then hand off R10 archive.
25
+ - `released`: mandatory thresholds pass; write the JSON decision above, then invoke `release-git.mjs promote --release-id <id> --release-branch <branch> --expected-main <r00-sha> --verified-release-commit <candidate-sha> --production-verification <R09-production-verification/production-verification.json> --receipt <path> --apply` to fast-forward `main` only from the recorded R00 `expected_main` to the exact deployed, tagged candidate commit. Save the promotion receipt with old/new heads and its production-verification evidence binding. For same-version redeploy, retain an explicit unchanged receipt only if `main` already equals that exact candidate, then hand off R10 archive.
10
26
  - `rolled-back`: an authorized technical threshold fails; redeploy the previous stable image digest and verify it.
11
27
  - `blocked`: rollback compatibility, recovery authority, or evidence is insufficient.
12
28
  - `human-decision`: business signals are ambiguous while technical signals remain healthy.
13
29
 
14
- Never create a rollback branch, move a release Tag, reset `main`, or rebuild the previous image.
30
+ For each successful deployed `release-fix/*`, R10 must freeze a `candidate-inventory.json` with `schema_version: 2`, `scope: "product-line"`, `product_id`, `line_branch`, `active_candidate_id`, `active_candidate_commit`, and a unique `candidates` list of `{ candidate_id, release_id, candidate_commit, status }` objects. The root must not define `release_id`; each candidate preserves the release that created it. The input inventory's line branch must equal the operation's `--line-branch`, while the active and verified candidate records must carry the operation release ID. Before archive, call `release-git.mjs sync-release-fix --release-id <id> --source-ref <branch> --source-commit <sha> --verified-release-commit <candidate-sha> --line-branch <line> --expected-line <line-sha> --production-verification <R09 JSON> --candidate-inventory <predecessor-R10 JSON> --successor-candidate-inventory <new-R10 JSON> --receipt <path> --apply`. The successor path must differ from the predecessor and receipt; it is an immutable product-line inventory emitted by the controlled operation, never a rewrite of the input. Its receipt records predecessor/successor evidence bindings, release/source identities, verified release commit, line heads, merge strategy, derived `stale_candidate_ids`, derived `candidate_status_updates` including each candidate's release ID, and `applied` or idempotent `idempotent` status. Callers must not supply a stale-candidate list. Selectable candidates across the product line that omit the successful fix become `stale`; candidates already `stale` or `released` are not rewritten. When the previous active candidate becomes stale, the successor advances the active pointer to the verified candidate. Replays require byte-identical existing successor content. Never create a rollback branch, move a release Tag, reset `main`, rewrite `line`, or rebuild the previous image.
@@ -1,32 +0,0 @@
1
- artifact_id: LOW-FIDELITY-CONFIRMATION-0001
2
- artifact_type: low-fidelity-interaction-confirmation
3
- version: 1
4
- iteration_id: ITER-0001
5
- status: pending
6
- producer_skill: ai-delivery-design-experience
7
- prototype_artifact_id: PROTOTYPE-0001
8
- prototype_fidelity: low-fidelity-interactive
9
- interaction_runtime: executable
10
- source_revision: LF-REVISION-0001
11
- review_entrypoint: prototype/low-fidelity/index.html
12
- interaction_contract_ref: interaction-contract.csv
13
- interaction_contract_checksum: REPLACE_WITH_SHA256
14
- experience_change_set_ref: experience-change-set.csv
15
- experience_change_set_checksum: REPLACE_WITH_SHA256
16
- checks:
17
- executable_entrypoint: pending
18
- layout_coverage: pending
19
- interaction_coverage: pending
20
- state_changes: pending
21
- validation_and_errors: pending
22
- responsive_behavior: pending
23
- no_dead_controls: pending
24
- human_approval:
25
- required: true
26
- approver: null
27
- decided_at: null
28
- decision: pending
29
- approved_source_revision: null
30
- decision: pending
31
- blocking_issues: []
32
- evidence: []