@aiwg/flue 0.0.0-bootstrap.0 → 2026.11.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 (1164) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +37 -1
  3. package/node.d.ts +6 -0
  4. package/node.js +112 -0
  5. package/package.json +2190 -3
  6. package/remote-specialist.d.ts +2 -0
  7. package/remote-specialist.js +38 -0
  8. package/skills/acquire/SKILL.md +767 -0
  9. package/skills/acquire/SKILL.md.d.ts +3 -0
  10. package/skills/acquire/examples/sample.acquisition.json +18 -0
  11. package/skills/activity-log/SKILL.md +185 -0
  12. package/skills/activity-log/SKILL.md.d.ts +3 -0
  13. package/skills/add-agent/SKILL.md +212 -0
  14. package/skills/add-agent/SKILL.md.d.ts +3 -0
  15. package/skills/add-behavior/SKILL.md +234 -0
  16. package/skills/add-behavior/SKILL.md.d.ts +3 -0
  17. package/skills/add-command/SKILL.md +204 -0
  18. package/skills/add-command/SKILL.md.d.ts +3 -0
  19. package/skills/add-skill/SKILL.md +220 -0
  20. package/skills/add-skill/SKILL.md.d.ts +3 -0
  21. package/skills/add-template/SKILL.md +223 -0
  22. package/skills/add-template/SKILL.md.d.ts +3 -0
  23. package/skills/address-issues/SKILL.md +495 -0
  24. package/skills/address-issues/SKILL.md.d.ts +3 -0
  25. package/skills/address-issues/references/examples.md +59 -0
  26. package/skills/address-issues/scripts/cycle-comment.mjs +124 -0
  27. package/skills/address-issues-threat-assess/SKILL.md +173 -0
  28. package/skills/address-issues-threat-assess/SKILL.md.d.ts +3 -0
  29. package/skills/address-issues-threat-assess/scripts/assess.mjs +235 -0
  30. package/skills/agent-loop/SKILL.md +436 -0
  31. package/skills/agent-loop/SKILL.md.d.ts +3 -0
  32. package/skills/agent-loop/manifest.json +23 -0
  33. package/skills/agent-loop-ext/SKILL.md +267 -0
  34. package/skills/agent-loop-ext/SKILL.md.d.ts +3 -0
  35. package/skills/agent-persistence/SKILL.md +37 -0
  36. package/skills/agent-persistence/SKILL.md.d.ts +3 -0
  37. package/skills/ai-pattern-detection/SKILL.md +116 -0
  38. package/skills/ai-pattern-detection/SKILL.md.d.ts +3 -0
  39. package/skills/ai-pattern-detection/references/quick-patterns.md +32 -0
  40. package/skills/ai-pattern-detection/scripts/pattern_scanner.py +243 -0
  41. package/skills/aiwg-delivery-pr/SKILL.md +23 -0
  42. package/skills/aiwg-delivery-pr/SKILL.md.d.ts +3 -0
  43. package/skills/aiwg-doctor/SKILL.md +132 -0
  44. package/skills/aiwg-doctor/SKILL.md.d.ts +3 -0
  45. package/skills/aiwg-guide/SKILL.md +165 -0
  46. package/skills/aiwg-guide/SKILL.md.d.ts +3 -0
  47. package/skills/aiwg-help/SKILL.md +97 -0
  48. package/skills/aiwg-help/SKILL.md.d.ts +3 -0
  49. package/skills/aiwg-hooks/SKILL.md +33 -0
  50. package/skills/aiwg-hooks/SKILL.md.d.ts +3 -0
  51. package/skills/aiwg-init/SKILL.md +125 -0
  52. package/skills/aiwg-init/SKILL.md.d.ts +3 -0
  53. package/skills/aiwg-issue/SKILL.md +215 -0
  54. package/skills/aiwg-issue/SKILL.md.d.ts +3 -0
  55. package/skills/aiwg-kb/SKILL.md +220 -0
  56. package/skills/aiwg-kb/SKILL.md.d.ts +3 -0
  57. package/skills/aiwg-language-map/SKILL.md +421 -0
  58. package/skills/aiwg-language-map/SKILL.md.d.ts +3 -0
  59. package/skills/aiwg-mcp-server/SKILL.md +147 -0
  60. package/skills/aiwg-mcp-server/SKILL.md.d.ts +3 -0
  61. package/skills/aiwg-mission/SKILL.md +123 -0
  62. package/skills/aiwg-mission/SKILL.md.d.ts +3 -0
  63. package/skills/aiwg-pr/SKILL.md +231 -0
  64. package/skills/aiwg-pr/SKILL.md.d.ts +3 -0
  65. package/skills/aiwg-refresh/SKILL.md +366 -0
  66. package/skills/aiwg-refresh/SKILL.md.d.ts +3 -0
  67. package/skills/aiwg-refresh/run.sh +13 -0
  68. package/skills/aiwg-regenerate/SKILL.md +80 -0
  69. package/skills/aiwg-regenerate/SKILL.md.d.ts +3 -0
  70. package/skills/aiwg-regenerate/run.sh +8 -0
  71. package/skills/aiwg-regenerate-agents/SKILL.md +358 -0
  72. package/skills/aiwg-regenerate-agents/SKILL.md.d.ts +3 -0
  73. package/skills/aiwg-regenerate-claude/SKILL.md +590 -0
  74. package/skills/aiwg-regenerate-claude/SKILL.md.d.ts +3 -0
  75. package/skills/aiwg-regenerate-codex/SKILL.md +135 -0
  76. package/skills/aiwg-regenerate-codex/SKILL.md.d.ts +3 -0
  77. package/skills/aiwg-regenerate-copilot/SKILL.md +296 -0
  78. package/skills/aiwg-regenerate-copilot/SKILL.md.d.ts +3 -0
  79. package/skills/aiwg-regenerate-cursorrules/SKILL.md +228 -0
  80. package/skills/aiwg-regenerate-cursorrules/SKILL.md.d.ts +3 -0
  81. package/skills/aiwg-regenerate-existing-project/SKILL.md +40 -0
  82. package/skills/aiwg-regenerate-existing-project/SKILL.md.d.ts +3 -0
  83. package/skills/aiwg-regenerate-factory/SKILL.md +34 -0
  84. package/skills/aiwg-regenerate-factory/SKILL.md.d.ts +3 -0
  85. package/skills/aiwg-regenerate-legacy/SKILL.md +28 -0
  86. package/skills/aiwg-regenerate-legacy/SKILL.md.d.ts +3 -0
  87. package/skills/aiwg-regenerate-opencode/SKILL.md +135 -0
  88. package/skills/aiwg-regenerate-opencode/SKILL.md.d.ts +3 -0
  89. package/skills/aiwg-regenerate-warp/SKILL.md +248 -0
  90. package/skills/aiwg-regenerate-warp/SKILL.md.d.ts +3 -0
  91. package/skills/aiwg-regenerate-windsurfrules/SKILL.md +224 -0
  92. package/skills/aiwg-regenerate-windsurfrules/SKILL.md.d.ts +3 -0
  93. package/skills/aiwg-regenerate-workspace/SKILL.md +34 -0
  94. package/skills/aiwg-regenerate-workspace/SKILL.md.d.ts +3 -0
  95. package/skills/aiwg-setup-project/SKILL.md +511 -0
  96. package/skills/aiwg-setup-project/SKILL.md.d.ts +3 -0
  97. package/skills/aiwg-setup-warp/SKILL.md +486 -0
  98. package/skills/aiwg-setup-warp/SKILL.md.d.ts +3 -0
  99. package/skills/aiwg-status/SKILL.md +157 -0
  100. package/skills/aiwg-status/SKILL.md.d.ts +3 -0
  101. package/skills/aiwg-steward-routing-reference/SKILL.md +45 -0
  102. package/skills/aiwg-steward-routing-reference/SKILL.md.d.ts +3 -0
  103. package/skills/aiwg-steward-worked-examples/SKILL.md +39 -0
  104. package/skills/aiwg-steward-worked-examples/SKILL.md.d.ts +3 -0
  105. package/skills/aiwg-sync/SKILL.md +113 -0
  106. package/skills/aiwg-sync/SKILL.md.d.ts +3 -0
  107. package/skills/aiwg-sync/manifest.json +16 -0
  108. package/skills/aiwg-update-agents-md/SKILL.md +787 -0
  109. package/skills/aiwg-update-agents-md/SKILL.md.d.ts +3 -0
  110. package/skills/aiwg-update-claude/SKILL.md +591 -0
  111. package/skills/aiwg-update-claude/SKILL.md.d.ts +3 -0
  112. package/skills/aiwg-update-warp/SKILL.md +715 -0
  113. package/skills/aiwg-update-warp/SKILL.md.d.ts +3 -0
  114. package/skills/aiwg-utils-quickref/SKILL.md +247 -0
  115. package/skills/aiwg-utils-quickref/SKILL.md.d.ts +3 -0
  116. package/skills/analyze-artist/SKILL.md +582 -0
  117. package/skills/analyze-artist/SKILL.md.d.ts +3 -0
  118. package/skills/analyze-network-capture/SKILL.md +65 -0
  119. package/skills/analyze-network-capture/SKILL.md.d.ts +3 -0
  120. package/skills/approval-workflow/SKILL.md +586 -0
  121. package/skills/approval-workflow/SKILL.md.d.ts +3 -0
  122. package/skills/architecture-evolution/SKILL.md +549 -0
  123. package/skills/architecture-evolution/SKILL.md.d.ts +3 -0
  124. package/skills/archive-acquisition/SKILL.md +952 -0
  125. package/skills/archive-acquisition/SKILL.md.d.ts +3 -0
  126. package/skills/archive-answer/SKILL.md +127 -0
  127. package/skills/archive-answer/SKILL.md.d.ts +3 -0
  128. package/skills/artifact-lookup/SKILL.md +162 -0
  129. package/skills/artifact-lookup/SKILL.md.d.ts +3 -0
  130. package/skills/artifact-metadata/SKILL.md +287 -0
  131. package/skills/artifact-metadata/SKILL.md.d.ts +3 -0
  132. package/skills/artifact-metadata/scripts/artifact_metadata.py +623 -0
  133. package/skills/artifact-orchestration/SKILL.md +307 -0
  134. package/skills/artifact-orchestration/SKILL.md.d.ts +3 -0
  135. package/skills/assemble/SKILL.md +403 -0
  136. package/skills/assemble/SKILL.md.d.ts +3 -0
  137. package/skills/asset-production/SKILL.md +142 -0
  138. package/skills/asset-production/SKILL.md.d.ts +3 -0
  139. package/skills/audience-synthesis/SKILL.md +601 -0
  140. package/skills/audience-synthesis/SKILL.md.d.ts +3 -0
  141. package/skills/audio-extraction/SKILL.md +158 -0
  142. package/skills/audio-extraction/SKILL.md.d.ts +3 -0
  143. package/skills/auth-factor-design/SKILL.md +264 -0
  144. package/skills/auth-factor-design/SKILL.md.d.ts +3 -0
  145. package/skills/auto-memory/SKILL.md +40 -0
  146. package/skills/auto-memory/SKILL.md.d.ts +3 -0
  147. package/skills/auto-provenance/SKILL.md +167 -0
  148. package/skills/auto-provenance/SKILL.md.d.ts +3 -0
  149. package/skills/auto-test-execution/SKILL.md +82 -0
  150. package/skills/auto-test-execution/SKILL.md.d.ts +3 -0
  151. package/skills/banned-api-audit/SKILL.md +250 -0
  152. package/skills/banned-api-audit/SKILL.md.d.ts +3 -0
  153. package/skills/banned-api-audit/banlists/c.yaml +61 -0
  154. package/skills/banned-api-audit/banlists/cpp.yaml +30 -0
  155. package/skills/banned-api-audit/banlists/go.yaml +30 -0
  156. package/skills/banned-api-audit/banlists/node.yaml +64 -0
  157. package/skills/banned-api-audit/banlists/python.yaml +64 -0
  158. package/skills/banned-api-audit/banlists/rust.yaml +28 -0
  159. package/skills/banned-api-audit/schema.json +38 -0
  160. package/skills/banned-api-audit/scripts/audit.mjs +433 -0
  161. package/skills/banned-api-audit/scripts/audit.sh +5 -0
  162. package/skills/behavior/SKILL.md +145 -0
  163. package/skills/behavior/SKILL.md.d.ts +3 -0
  164. package/skills/best-practices-audit/SKILL.md +271 -0
  165. package/skills/best-practices-audit/SKILL.md.d.ts +3 -0
  166. package/skills/best-practices-audit/contributor.schema.json +74 -0
  167. package/skills/binary-blob-audit/SKILL.md +64 -0
  168. package/skills/binary-blob-audit/SKILL.md.d.ts +3 -0
  169. package/skills/brand-audit/SKILL.md +147 -0
  170. package/skills/brand-audit/SKILL.md.d.ts +3 -0
  171. package/skills/brand-compliance/SKILL.md +402 -0
  172. package/skills/brand-compliance/SKILL.md.d.ts +3 -0
  173. package/skills/brand-identity-refinement/SKILL.md +431 -0
  174. package/skills/brand-identity-refinement/SKILL.md.d.ts +3 -0
  175. package/skills/brand-review/SKILL.md +137 -0
  176. package/skills/brand-review/SKILL.md.d.ts +3 -0
  177. package/skills/browser-doctor/SKILL.md +106 -0
  178. package/skills/browser-doctor/SKILL.md.d.ts +3 -0
  179. package/skills/browser-reset/SKILL.md +94 -0
  180. package/skills/browser-reset/SKILL.md.d.ts +3 -0
  181. package/skills/browser-setup/SKILL.md +167 -0
  182. package/skills/browser-setup/SKILL.md.d.ts +3 -0
  183. package/skills/budget-review/SKILL.md +132 -0
  184. package/skills/budget-review/SKILL.md.d.ts +3 -0
  185. package/skills/build-artifact-index/SKILL.md +90 -0
  186. package/skills/build-artifact-index/SKILL.md.d.ts +3 -0
  187. package/skills/build-poc/SKILL.md +535 -0
  188. package/skills/build-poc/SKILL.md.d.ts +3 -0
  189. package/skills/bun-release-age-gate/SKILL.md +193 -0
  190. package/skills/bun-release-age-gate/SKILL.md.d.ts +3 -0
  191. package/skills/campaign-analytics/SKILL.md +141 -0
  192. package/skills/campaign-analytics/SKILL.md.d.ts +3 -0
  193. package/skills/campaign-kickoff/SKILL.md +149 -0
  194. package/skills/campaign-kickoff/SKILL.md.d.ts +3 -0
  195. package/skills/cargo-supply-chain-audit/SKILL.md +181 -0
  196. package/skills/cargo-supply-chain-audit/SKILL.md.d.ts +3 -0
  197. package/skills/catalog/SKILL.md +125 -0
  198. package/skills/catalog/SKILL.md.d.ts +3 -0
  199. package/skills/century-readiness-review/SKILL.md +17 -0
  200. package/skills/century-readiness-review/SKILL.md.d.ts +3 -0
  201. package/skills/chain-of-trust-design/SKILL.md +354 -0
  202. package/skills/chain-of-trust-design/SKILL.md.d.ts +3 -0
  203. package/skills/check-completeness/SKILL.md +599 -0
  204. package/skills/check-completeness/SKILL.md.d.ts +3 -0
  205. package/skills/check-traceability/SKILL.md +213 -0
  206. package/skills/check-traceability/SKILL.md.d.ts +3 -0
  207. package/skills/checkpoint/SKILL.md +146 -0
  208. package/skills/checkpoint/SKILL.md.d.ts +3 -0
  209. package/skills/chunk/SKILL.md +167 -0
  210. package/skills/chunk/SKILL.md.d.ts +3 -0
  211. package/skills/ci-workflow-audit/SKILL.md +271 -0
  212. package/skills/ci-workflow-audit/SKILL.md.d.ts +3 -0
  213. package/skills/citation-backfill/SKILL.md +192 -0
  214. package/skills/citation-backfill/SKILL.md.d.ts +3 -0
  215. package/skills/citation-check/SKILL.md +48 -0
  216. package/skills/citation-check/SKILL.md.d.ts +3 -0
  217. package/skills/citation-guard/SKILL.md +88 -0
  218. package/skills/citation-guard/SKILL.md.d.ts +3 -0
  219. package/skills/civic-newsroom-plan/SKILL.md +35 -0
  220. package/skills/civic-newsroom-plan/SKILL.md.d.ts +3 -0
  221. package/skills/civic-publish-gate/SKILL.md +42 -0
  222. package/skills/civic-publish-gate/SKILL.md.d.ts +3 -0
  223. package/skills/civic-publish-gate/scripts/publish_gate.mjs +18 -0
  224. package/skills/claims-validator/SKILL.md +263 -0
  225. package/skills/claims-validator/SKILL.md.d.ts +3 -0
  226. package/skills/cleanup-audit/SKILL.md +240 -0
  227. package/skills/cleanup-audit/SKILL.md.d.ts +3 -0
  228. package/skills/cloud-forensics/SKILL.md +142 -0
  229. package/skills/cloud-forensics/SKILL.md.d.ts +3 -0
  230. package/skills/cockpit-headless-deploy/SKILL.md +84 -0
  231. package/skills/cockpit-headless-deploy/SKILL.md.d.ts +3 -0
  232. package/skills/cockpit-headless-deploy/scripts/headless-plan.mjs +204 -0
  233. package/skills/code-chunker/SKILL.md +270 -0
  234. package/skills/code-chunker/SKILL.md.d.ts +3 -0
  235. package/skills/codebase-health/SKILL.md +297 -0
  236. package/skills/codebase-health/SKILL.md.d.ts +3 -0
  237. package/skills/commit-and-push/SKILL.md +200 -0
  238. package/skills/commit-and-push/SKILL.md.d.ts +3 -0
  239. package/skills/committer-2fa-audit/SKILL.md +46 -0
  240. package/skills/committer-2fa-audit/SKILL.md.d.ts +3 -0
  241. package/skills/competitive-analysis/SKILL.md +139 -0
  242. package/skills/competitive-analysis/SKILL.md.d.ts +3 -0
  243. package/skills/competitive-intel/SKILL.md +626 -0
  244. package/skills/competitive-intel/SKILL.md.d.ts +3 -0
  245. package/skills/complexity-gate/SKILL.md +326 -0
  246. package/skills/complexity-gate/SKILL.md.d.ts +3 -0
  247. package/skills/composition-evaluate/SKILL.md +33 -0
  248. package/skills/composition-evaluate/SKILL.md.d.ts +3 -0
  249. package/skills/composition-validate/SKILL.md +40 -0
  250. package/skills/composition-validate/SKILL.md.d.ts +3 -0
  251. package/skills/compound-memory/SKILL.md +69 -0
  252. package/skills/compound-memory/SKILL.md.d.ts +3 -0
  253. package/skills/config/SKILL.md +198 -0
  254. package/skills/config/SKILL.md.d.ts +3 -0
  255. package/skills/config-validator/SKILL.md +509 -0
  256. package/skills/config-validator/SKILL.md.d.ts +3 -0
  257. package/skills/confusable-unicode-audit/SKILL.md +61 -0
  258. package/skills/confusable-unicode-audit/SKILL.md.d.ts +3 -0
  259. package/skills/container-forensics/SKILL.md +191 -0
  260. package/skills/container-forensics/SKILL.md.d.ts +3 -0
  261. package/skills/content-planning/SKILL.md +134 -0
  262. package/skills/content-planning/SKILL.md.d.ts +3 -0
  263. package/skills/context-firewall/SKILL.md +59 -0
  264. package/skills/context-firewall/SKILL.md.d.ts +3 -0
  265. package/skills/contract-manifest/SKILL.md +172 -0
  266. package/skills/contract-manifest/SKILL.md.d.ts +3 -0
  267. package/skills/contract-validate/SKILL.md +151 -0
  268. package/skills/contract-validate/SKILL.md.d.ts +3 -0
  269. package/skills/contribute-start/SKILL.md +126 -0
  270. package/skills/contribute-start/SKILL.md.d.ts +3 -0
  271. package/skills/corpus-export/SKILL.md +267 -0
  272. package/skills/corpus-export/SKILL.md.d.ts +3 -0
  273. package/skills/corpus-health/SKILL.md +81 -0
  274. package/skills/corpus-health/SKILL.md.d.ts +3 -0
  275. package/skills/corpus-index-build/SKILL.md +115 -0
  276. package/skills/corpus-index-build/SKILL.md.d.ts +3 -0
  277. package/skills/corpus-retrieval-lab/SKILL.md +28 -0
  278. package/skills/corpus-retrieval-lab/SKILL.md.d.ts +3 -0
  279. package/skills/corpus-snapshot/SKILL.md +248 -0
  280. package/skills/corpus-snapshot/SKILL.md.d.ts +3 -0
  281. package/skills/cost-history/SKILL.md +186 -0
  282. package/skills/cost-history/SKILL.md.d.ts +3 -0
  283. package/skills/cost-optimizer/SKILL.md +112 -0
  284. package/skills/cost-optimizer/SKILL.md.d.ts +3 -0
  285. package/skills/cost-report/SKILL.md +194 -0
  286. package/skills/cost-report/SKILL.md.d.ts +3 -0
  287. package/skills/cover-art-embedding/SKILL.md +652 -0
  288. package/skills/cover-art-embedding/SKILL.md.d.ts +3 -0
  289. package/skills/create-prd/SKILL.md +49 -0
  290. package/skills/create-prd/SKILL.md.d.ts +3 -0
  291. package/skills/creative-brief/SKILL.md +139 -0
  292. package/skills/creative-brief/SKILL.md.d.ts +3 -0
  293. package/skills/crisis-response/SKILL.md +152 -0
  294. package/skills/crisis-response/SKILL.md.d.ts +3 -0
  295. package/skills/cross-task-learner/SKILL.md +746 -0
  296. package/skills/cross-task-learner/SKILL.md.d.ts +3 -0
  297. package/skills/cross-task-learner/manifest.json +89 -0
  298. package/skills/crypto-primitive-selection/SKILL.md +369 -0
  299. package/skills/crypto-primitive-selection/SKILL.md.d.ts +3 -0
  300. package/skills/curate/SKILL.md +683 -0
  301. package/skills/curate/SKILL.md.d.ts +3 -0
  302. package/skills/curator-init/SKILL.md +45 -0
  303. package/skills/curator-init/SKILL.md.d.ts +3 -0
  304. package/skills/curator-status/SKILL.md +45 -0
  305. package/skills/curator-status/SKILL.md.d.ts +3 -0
  306. package/skills/customize-contribute-back/SKILL.md +126 -0
  307. package/skills/customize-contribute-back/SKILL.md.d.ts +3 -0
  308. package/skills/customize-rebuild/SKILL.md +101 -0
  309. package/skills/customize-rebuild/SKILL.md.d.ts +3 -0
  310. package/skills/customize-setup/SKILL.md +150 -0
  311. package/skills/customize-setup/SKILL.md.d.ts +3 -0
  312. package/skills/customize-status/SKILL.md +123 -0
  313. package/skills/customize-status/SKILL.md.d.ts +3 -0
  314. package/skills/customize-upstream-sync/SKILL.md +129 -0
  315. package/skills/customize-upstream-sync/SKILL.md.d.ts +3 -0
  316. package/skills/daemon-init/SKILL.md +147 -0
  317. package/skills/daemon-init/SKILL.md.d.ts +3 -0
  318. package/skills/daemon-status/SKILL.md +118 -0
  319. package/skills/daemon-status/SKILL.md.d.ts +3 -0
  320. package/skills/daemon-status/manifest.json +18 -0
  321. package/skills/data-pipeline/SKILL.md +634 -0
  322. package/skills/data-pipeline/SKILL.md.d.ts +3 -0
  323. package/skills/dataset-capability-recommend/SKILL.md +22 -0
  324. package/skills/dataset-capability-recommend/SKILL.md.d.ts +3 -0
  325. package/skills/dataset-export/SKILL.md +20 -0
  326. package/skills/dataset-export/SKILL.md.d.ts +3 -0
  327. package/skills/dataset-ingest/SKILL.md +22 -0
  328. package/skills/dataset-ingest/SKILL.md.d.ts +3 -0
  329. package/skills/dataset-intake/SKILL.md +28 -0
  330. package/skills/dataset-intake/SKILL.md.d.ts +3 -0
  331. package/skills/dataset-intelligence/SKILL.md +36 -0
  332. package/skills/dataset-intelligence/SKILL.md.d.ts +3 -0
  333. package/skills/dataset-plan-review/SKILL.md +21 -0
  334. package/skills/dataset-plan-review/SKILL.md.d.ts +3 -0
  335. package/skills/dataset-retire/SKILL.md +24 -0
  336. package/skills/dataset-retire/SKILL.md.d.ts +3 -0
  337. package/skills/dataset-source-assess/SKILL.md +21 -0
  338. package/skills/dataset-source-assess/SKILL.md.d.ts +3 -0
  339. package/skills/dataset-trace/SKILL.md +22 -0
  340. package/skills/dataset-trace/SKILL.md.d.ts +3 -0
  341. package/skills/dataset-verify/SKILL.md +21 -0
  342. package/skills/dataset-verify/SKILL.md.d.ts +3 -0
  343. package/skills/debug-memory/SKILL.md +75 -0
  344. package/skills/debug-memory/SKILL.md.d.ts +3 -0
  345. package/skills/decision-evaluate/SKILL.md +78 -0
  346. package/skills/decision-evaluate/SKILL.md.d.ts +3 -0
  347. package/skills/decision-evaluate/scripts/decision-convert-definition.mjs +19 -0
  348. package/skills/decision-evaluate/scripts/decision-evaluate-core.mjs +168 -0
  349. package/skills/decision-evaluate/scripts/decision-evaluate.mjs +19 -0
  350. package/skills/decision-evaluate/scripts/runtime-root.mjs +61 -0
  351. package/skills/decision-offload/SKILL.md +168 -0
  352. package/skills/decision-offload/SKILL.md.d.ts +3 -0
  353. package/skills/decision-playground/SKILL.md +47 -0
  354. package/skills/decision-playground/SKILL.md.d.ts +3 -0
  355. package/skills/decision-playground/scripts/decision-playground.mjs +97 -0
  356. package/skills/decision-playground/scripts/runtime-root.mjs +61 -0
  357. package/skills/decision-support/SKILL.md +467 -0
  358. package/skills/decision-support/SKILL.md.d.ts +3 -0
  359. package/skills/decompose-file/SKILL.md +285 -0
  360. package/skills/decompose-file/SKILL.md.d.ts +3 -0
  361. package/skills/degraded-mode-design/SKILL.md +248 -0
  362. package/skills/degraded-mode-design/SKILL.md.d.ts +3 -0
  363. package/skills/deploy-gen/SKILL.md +186 -0
  364. package/skills/deploy-gen/SKILL.md.d.ts +3 -0
  365. package/skills/deprecation-policy/SKILL.md +50 -0
  366. package/skills/deprecation-policy/SKILL.md.d.ts +3 -0
  367. package/skills/dev-doctor/SKILL.md +281 -0
  368. package/skills/dev-doctor/SKILL.md.d.ts +3 -0
  369. package/skills/dev-mode-init/SKILL.md +194 -0
  370. package/skills/dev-mode-init/SKILL.md.d.ts +3 -0
  371. package/skills/devkit-create-addon/SKILL.md +93 -0
  372. package/skills/devkit-create-addon/SKILL.md.d.ts +3 -0
  373. package/skills/devkit-create-agent/SKILL.md +177 -0
  374. package/skills/devkit-create-agent/SKILL.md.d.ts +3 -0
  375. package/skills/devkit-create-command/SKILL.md +153 -0
  376. package/skills/devkit-create-command/SKILL.md.d.ts +3 -0
  377. package/skills/devkit-create-extension/SKILL.md +115 -0
  378. package/skills/devkit-create-extension/SKILL.md.d.ts +3 -0
  379. package/skills/devkit-create-framework/SKILL.md +145 -0
  380. package/skills/devkit-create-framework/SKILL.md.d.ts +3 -0
  381. package/skills/devkit-create-skill/SKILL.md +219 -0
  382. package/skills/devkit-create-skill/SKILL.md.d.ts +3 -0
  383. package/skills/devkit-test/SKILL.md +191 -0
  384. package/skills/devkit-test/SKILL.md.d.ts +3 -0
  385. package/skills/devkit-validate/SKILL.md +162 -0
  386. package/skills/devkit-validate/SKILL.md.d.ts +3 -0
  387. package/skills/dfir-readiness/SKILL.md +175 -0
  388. package/skills/dfir-readiness/SKILL.md.d.ts +3 -0
  389. package/skills/diarize-media/SKILL.md +92 -0
  390. package/skills/diarize-media/SKILL.md.d.ts +3 -0
  391. package/skills/diarize-media/scripts/diarize_media.mjs +8 -0
  392. package/skills/discovery-log/SKILL.md +50 -0
  393. package/skills/discovery-log/SKILL.md.d.ts +3 -0
  394. package/skills/diversity-tuning/SKILL.md +71 -0
  395. package/skills/diversity-tuning/SKILL.md.d.ts +3 -0
  396. package/skills/doc-consolidate/SKILL.md +410 -0
  397. package/skills/doc-consolidate/SKILL.md.d.ts +3 -0
  398. package/skills/doc-scraper/SKILL.md +228 -0
  399. package/skills/doc-scraper/SKILL.md.d.ts +3 -0
  400. package/skills/doc-splitter/SKILL.md +292 -0
  401. package/skills/doc-splitter/SKILL.md.d.ts +3 -0
  402. package/skills/doc-sync/SKILL.md +114 -0
  403. package/skills/doc-sync/SKILL.md.d.ts +3 -0
  404. package/skills/droid-bridge/SKILL.md +31 -0
  405. package/skills/droid-bridge/SKILL.md.d.ts +3 -0
  406. package/skills/editorial-correction-review/SKILL.md +34 -0
  407. package/skills/editorial-correction-review/SKILL.md.d.ts +3 -0
  408. package/skills/effect-ledger/SKILL.md +98 -0
  409. package/skills/effect-ledger/SKILL.md.d.ts +3 -0
  410. package/skills/email-campaign/SKILL.md +152 -0
  411. package/skills/email-campaign/SKILL.md.d.ts +3 -0
  412. package/skills/eval-agent/SKILL.md +146 -0
  413. package/skills/eval-agent/SKILL.md.d.ts +3 -0
  414. package/skills/eval-loop/SKILL.md +139 -0
  415. package/skills/eval-loop/SKILL.md.d.ts +3 -0
  416. package/skills/eval-report/SKILL.md +158 -0
  417. package/skills/eval-report/SKILL.md.d.ts +3 -0
  418. package/skills/eval-workflow/SKILL.md +142 -0
  419. package/skills/eval-workflow/SKILL.md.d.ts +3 -0
  420. package/skills/event-marketing/SKILL.md +155 -0
  421. package/skills/event-marketing/SKILL.md.d.ts +3 -0
  422. package/skills/evidence-preservation/SKILL.md +178 -0
  423. package/skills/evidence-preservation/SKILL.md.d.ts +3 -0
  424. package/skills/execute-feedback/SKILL.md +71 -0
  425. package/skills/execute-feedback/SKILL.md.d.ts +3 -0
  426. package/skills/execution-mode/SKILL.md +139 -0
  427. package/skills/execution-mode/SKILL.md.d.ts +3 -0
  428. package/skills/export/SKILL.md +510 -0
  429. package/skills/export/SKILL.md.d.ts +3 -0
  430. package/skills/fanout/SKILL.md +196 -0
  431. package/skills/fanout/SKILL.md.d.ts +3 -0
  432. package/skills/feedback/SKILL.md +122 -0
  433. package/skills/feedback/SKILL.md.d.ts +3 -0
  434. package/skills/find-sources/SKILL.md +558 -0
  435. package/skills/find-sources/SKILL.md.d.ts +3 -0
  436. package/skills/flaky-detect/SKILL.md +310 -0
  437. package/skills/flaky-detect/SKILL.md.d.ts +3 -0
  438. package/skills/flaky-fix/SKILL.md +323 -0
  439. package/skills/flaky-fix/SKILL.md.d.ts +3 -0
  440. package/skills/flow-architecture-evolution/SKILL.md +897 -0
  441. package/skills/flow-architecture-evolution/SKILL.md.d.ts +3 -0
  442. package/skills/flow-change-control/SKILL.md +1056 -0
  443. package/skills/flow-change-control/SKILL.md.d.ts +3 -0
  444. package/skills/flow-compliance-validation/SKILL.md +1388 -0
  445. package/skills/flow-compliance-validation/SKILL.md.d.ts +3 -0
  446. package/skills/flow-concept-to-inception/SKILL.md +938 -0
  447. package/skills/flow-concept-to-inception/SKILL.md.d.ts +3 -0
  448. package/skills/flow-construction-to-transition/SKILL.md +1047 -0
  449. package/skills/flow-construction-to-transition/SKILL.md.d.ts +3 -0
  450. package/skills/flow-cross-team-sync/SKILL.md +980 -0
  451. package/skills/flow-cross-team-sync/SKILL.md.d.ts +3 -0
  452. package/skills/flow-delivery-track/SKILL.md +974 -0
  453. package/skills/flow-delivery-track/SKILL.md.d.ts +3 -0
  454. package/skills/flow-deploy-to-production/SKILL.md +1834 -0
  455. package/skills/flow-deploy-to-production/SKILL.md.d.ts +3 -0
  456. package/skills/flow-discovery-track/SKILL.md +1015 -0
  457. package/skills/flow-discovery-track/SKILL.md.d.ts +3 -0
  458. package/skills/flow-elaboration-to-construction/SKILL.md +1030 -0
  459. package/skills/flow-elaboration-to-construction/SKILL.md.d.ts +3 -0
  460. package/skills/flow-gate-check/SKILL.md +886 -0
  461. package/skills/flow-gate-check/SKILL.md.d.ts +3 -0
  462. package/skills/flow-guided-implementation/SKILL.md +251 -0
  463. package/skills/flow-guided-implementation/SKILL.md.d.ts +3 -0
  464. package/skills/flow-handoff-checklist/SKILL.md +902 -0
  465. package/skills/flow-handoff-checklist/SKILL.md.d.ts +3 -0
  466. package/skills/flow-hypercare-monitoring/SKILL.md +1223 -0
  467. package/skills/flow-hypercare-monitoring/SKILL.md.d.ts +3 -0
  468. package/skills/flow-inception-to-elaboration/SKILL.md +1286 -0
  469. package/skills/flow-inception-to-elaboration/SKILL.md.d.ts +3 -0
  470. package/skills/flow-incident-response/SKILL.md +1939 -0
  471. package/skills/flow-incident-response/SKILL.md.d.ts +3 -0
  472. package/skills/flow-iteration-dual-track/SKILL.md +967 -0
  473. package/skills/flow-iteration-dual-track/SKILL.md.d.ts +3 -0
  474. package/skills/flow-knowledge-transfer/SKILL.md +1069 -0
  475. package/skills/flow-knowledge-transfer/SKILL.md.d.ts +3 -0
  476. package/skills/flow-performance-optimization/SKILL.md +972 -0
  477. package/skills/flow-performance-optimization/SKILL.md.d.ts +3 -0
  478. package/skills/flow-release/SKILL.md +395 -0
  479. package/skills/flow-release/SKILL.md.d.ts +3 -0
  480. package/skills/flow-requirements-evolution/SKILL.md +992 -0
  481. package/skills/flow-requirements-evolution/SKILL.md.d.ts +3 -0
  482. package/skills/flow-retrospective-cycle/SKILL.md +1022 -0
  483. package/skills/flow-retrospective-cycle/SKILL.md.d.ts +3 -0
  484. package/skills/flow-risk-management-cycle/SKILL.md +1196 -0
  485. package/skills/flow-risk-management-cycle/SKILL.md.d.ts +3 -0
  486. package/skills/flow-security-review-cycle/SKILL.md +329 -0
  487. package/skills/flow-security-review-cycle/SKILL.md.d.ts +3 -0
  488. package/skills/flow-team-onboarding/SKILL.md +958 -0
  489. package/skills/flow-team-onboarding/SKILL.md.d.ts +3 -0
  490. package/skills/flow-test-strategy-execution/SKILL.md +928 -0
  491. package/skills/flow-test-strategy-execution/SKILL.md.d.ts +3 -0
  492. package/skills/forensics-acquire/SKILL.md +243 -0
  493. package/skills/forensics-acquire/SKILL.md.d.ts +3 -0
  494. package/skills/forensics-hunt/SKILL.md +183 -0
  495. package/skills/forensics-hunt/SKILL.md.d.ts +3 -0
  496. package/skills/forensics-investigate/SKILL.md +299 -0
  497. package/skills/forensics-investigate/SKILL.md.d.ts +3 -0
  498. package/skills/forensics-ioc/SKILL.md +173 -0
  499. package/skills/forensics-ioc/SKILL.md.d.ts +3 -0
  500. package/skills/forensics-profile/SKILL.md +155 -0
  501. package/skills/forensics-profile/SKILL.md.d.ts +3 -0
  502. package/skills/forensics-quickref/SKILL.md +143 -0
  503. package/skills/forensics-quickref/SKILL.md.d.ts +3 -0
  504. package/skills/forensics-report/SKILL.md +188 -0
  505. package/skills/forensics-report/SKILL.md.d.ts +3 -0
  506. package/skills/forensics-status/SKILL.md +229 -0
  507. package/skills/forensics-status/SKILL.md.d.ts +3 -0
  508. package/skills/forensics-timeline/SKILL.md +164 -0
  509. package/skills/forensics-timeline/SKILL.md.d.ts +3 -0
  510. package/skills/forensics-triage/SKILL.md +259 -0
  511. package/skills/forensics-triage/SKILL.md.d.ts +3 -0
  512. package/skills/forme-manifest/SKILL.md +151 -0
  513. package/skills/forme-manifest/SKILL.md.d.ts +3 -0
  514. package/skills/funder-network/SKILL.md +49 -0
  515. package/skills/funder-network/SKILL.md.d.ts +3 -0
  516. package/skills/fuzzing-in-ci/SKILL.md +347 -0
  517. package/skills/fuzzing-in-ci/SKILL.md.d.ts +3 -0
  518. package/skills/fuzzing-in-ci/scripts/emit.mjs +73 -0
  519. package/skills/fuzzing-in-ci/scripts/emit.sh +4 -0
  520. package/skills/gap-documentation/SKILL.md +501 -0
  521. package/skills/gap-documentation/SKILL.md.d.ts +3 -0
  522. package/skills/gate-evaluation/SKILL.md +440 -0
  523. package/skills/gate-evaluation/SKILL.md.d.ts +3 -0
  524. package/skills/generate-factory/SKILL.md +341 -0
  525. package/skills/generate-factory/SKILL.md.d.ts +3 -0
  526. package/skills/generate-realization/SKILL.md +667 -0
  527. package/skills/generate-realization/SKILL.md.d.ts +3 -0
  528. package/skills/generate-tests/SKILL.md +85 -0
  529. package/skills/generate-tests/SKILL.md.d.ts +3 -0
  530. package/skills/generated-docs-audit/SKILL.md +26 -0
  531. package/skills/generated-docs-audit/SKILL.md.d.ts +3 -0
  532. package/skills/git-mirror-audit/SKILL.md +64 -0
  533. package/skills/git-mirror-audit/SKILL.md.d.ts +3 -0
  534. package/skills/grade-on-ingest/SKILL.md +156 -0
  535. package/skills/grade-on-ingest/SKILL.md.d.ts +3 -0
  536. package/skills/grade-report/SKILL.md +48 -0
  537. package/skills/grade-report/SKILL.md.d.ts +3 -0
  538. package/skills/graph-flow-profile/SKILL.md +34 -0
  539. package/skills/graph-flow-profile/SKILL.md.d.ts +3 -0
  540. package/skills/harness-memory-maintenance/SKILL.md +143 -0
  541. package/skills/harness-memory-maintenance/SKILL.md.d.ts +3 -0
  542. package/skills/hook-disable/SKILL.md +159 -0
  543. package/skills/hook-disable/SKILL.md.d.ts +3 -0
  544. package/skills/hook-enable/SKILL.md +158 -0
  545. package/skills/hook-enable/SKILL.md.d.ts +3 -0
  546. package/skills/hook-regenerate/SKILL.md +229 -0
  547. package/skills/hook-regenerate/SKILL.md.d.ts +3 -0
  548. package/skills/hook-status/SKILL.md +123 -0
  549. package/skills/hook-status/SKILL.md.d.ts +3 -0
  550. package/skills/incident-triage/SKILL.md +545 -0
  551. package/skills/incident-triage/SKILL.md.d.ts +3 -0
  552. package/skills/index/SKILL.md +193 -0
  553. package/skills/index/SKILL.md.d.ts +3 -0
  554. package/skills/induct-media/SKILL.md +179 -0
  555. package/skills/induct-media/SKILL.md.d.ts +3 -0
  556. package/skills/induct-media/examples/README.md +49 -0
  557. package/skills/induct-media/examples/expected-REF-101-citations.md +49 -0
  558. package/skills/induct-media/examples/expected-REF-101-radar.md +72 -0
  559. package/skills/induct-media/examples/expected-REF-101.md +146 -0
  560. package/skills/induct-media/examples/sample.acquisition.json +18 -0
  561. package/skills/induct-media/examples/sample.transcript.json +57 -0
  562. package/skills/induct-research/SKILL.md +495 -0
  563. package/skills/induct-research/SKILL.md.d.ts +3 -0
  564. package/skills/induct-research/references/analysis-verification.md +169 -0
  565. package/skills/induction-audit/SKILL.md +80 -0
  566. package/skills/induction-audit/SKILL.md.d.ts +3 -0
  567. package/skills/infer-completion-criteria/SKILL.md +334 -0
  568. package/skills/infer-completion-criteria/SKILL.md.d.ts +3 -0
  569. package/skills/install/SKILL.md +111 -0
  570. package/skills/install/SKILL.md.d.ts +3 -0
  571. package/skills/install-plugin/SKILL.md +139 -0
  572. package/skills/install-plugin/SKILL.md.d.ts +3 -0
  573. package/skills/intake-from-campaign/SKILL.md +752 -0
  574. package/skills/intake-from-campaign/SKILL.md.d.ts +3 -0
  575. package/skills/intake-from-codebase/SKILL.md +1369 -0
  576. package/skills/intake-from-codebase/SKILL.md.d.ts +3 -0
  577. package/skills/intake-start/SKILL.md +878 -0
  578. package/skills/intake-start/SKILL.md.d.ts +3 -0
  579. package/skills/intake-start-campaign/SKILL.md +518 -0
  580. package/skills/intake-start-campaign/SKILL.md.d.ts +3 -0
  581. package/skills/intake-wizard/SKILL.md +1787 -0
  582. package/skills/intake-wizard/SKILL.md.d.ts +3 -0
  583. package/skills/integrity-scan/SKILL.md +108 -0
  584. package/skills/integrity-scan/SKILL.md.d.ts +3 -0
  585. package/skills/integrity-verification/SKILL.md +682 -0
  586. package/skills/integrity-verification/SKILL.md.d.ts +3 -0
  587. package/skills/ioc-extraction/SKILL.md +137 -0
  588. package/skills/ioc-extraction/SKILL.md.d.ts +3 -0
  589. package/skills/issue-audit/SKILL.md +275 -0
  590. package/skills/issue-audit/SKILL.md.d.ts +3 -0
  591. package/skills/issue-audit/scripts/audit.mjs +6 -0
  592. package/skills/issue-auto-sync/SKILL.md +650 -0
  593. package/skills/issue-auto-sync/SKILL.md.d.ts +3 -0
  594. package/skills/issue-close/SKILL.md +690 -0
  595. package/skills/issue-close/SKILL.md.d.ts +3 -0
  596. package/skills/issue-comment/SKILL.md +810 -0
  597. package/skills/issue-comment/SKILL.md.d.ts +3 -0
  598. package/skills/issue-create/SKILL.md +499 -0
  599. package/skills/issue-create/SKILL.md.d.ts +3 -0
  600. package/skills/issue-create/references/examples.md +155 -0
  601. package/skills/issue-create/references/provider-writes.md +244 -0
  602. package/skills/issue-create/references/regression-validation.md +89 -0
  603. package/skills/issue-create/scripts/compose.mjs +14 -0
  604. package/skills/issue-driven-al/SKILL.md +235 -0
  605. package/skills/issue-driven-al/SKILL.md.d.ts +3 -0
  606. package/skills/issue-list/SKILL.md +931 -0
  607. package/skills/issue-list/SKILL.md.d.ts +3 -0
  608. package/skills/issue-planner/SKILL.md +596 -0
  609. package/skills/issue-planner/SKILL.md.d.ts +3 -0
  610. package/skills/issue-sync/SKILL.md +645 -0
  611. package/skills/issue-sync/SKILL.md.d.ts +3 -0
  612. package/skills/issue-update/SKILL.md +787 -0
  613. package/skills/issue-update/SKILL.md.d.ts +3 -0
  614. package/skills/iteration-control/SKILL.md +208 -0
  615. package/skills/iteration-control/SKILL.md.d.ts +3 -0
  616. package/skills/kb-health/SKILL.md +171 -0
  617. package/skills/kb-health/SKILL.md.d.ts +3 -0
  618. package/skills/kb-ingest/SKILL.md +132 -0
  619. package/skills/kb-ingest/SKILL.md.d.ts +3 -0
  620. package/skills/knowledge-base-quickref/SKILL.md +152 -0
  621. package/skills/knowledge-base-quickref/SKILL.md.d.ts +3 -0
  622. package/skills/legal-compliance/SKILL.md +141 -0
  623. package/skills/legal-compliance/SKILL.md.d.ts +3 -0
  624. package/skills/line-memory/SKILL.md +66 -0
  625. package/skills/line-memory/SKILL.md.d.ts +3 -0
  626. package/skills/link-check/SKILL.md +175 -0
  627. package/skills/link-check/SKILL.md.d.ts +3 -0
  628. package/skills/linux-forensics/SKILL.md +128 -0
  629. package/skills/linux-forensics/SKILL.md.d.ts +3 -0
  630. package/skills/list/SKILL.md +105 -0
  631. package/skills/list/SKILL.md.d.ts +3 -0
  632. package/skills/llm-wiki/SKILL.md +77 -0
  633. package/skills/llm-wiki/SKILL.md.d.ts +3 -0
  634. package/skills/llms-txt-support/SKILL.md +242 -0
  635. package/skills/llms-txt-support/SKILL.md.d.ts +3 -0
  636. package/skills/local-resource-index/SKILL.md +36 -0
  637. package/skills/local-resource-index/SKILL.md.d.ts +3 -0
  638. package/skills/log-analysis/SKILL.md +173 -0
  639. package/skills/log-analysis/SKILL.md.d.ts +3 -0
  640. package/skills/long-context-bench/SKILL.md +18 -0
  641. package/skills/long-context-bench/SKILL.md.d.ts +3 -0
  642. package/skills/marketing-intake/SKILL.md +175 -0
  643. package/skills/marketing-intake/SKILL.md.d.ts +3 -0
  644. package/skills/marketing-intake-wizard/SKILL.md +813 -0
  645. package/skills/marketing-intake-wizard/SKILL.md.d.ts +3 -0
  646. package/skills/marketing-quickref/SKILL.md +157 -0
  647. package/skills/marketing-quickref/SKILL.md.d.ts +3 -0
  648. package/skills/marketing-retrospective/SKILL.md +154 -0
  649. package/skills/marketing-retrospective/SKILL.md.d.ts +3 -0
  650. package/skills/marketing-status/SKILL.md +140 -0
  651. package/skills/marketing-status/SKILL.md.d.ts +3 -0
  652. package/skills/media-curator-quickref/SKILL.md +168 -0
  653. package/skills/media-curator-quickref/SKILL.md.d.ts +3 -0
  654. package/skills/memory-forensics/SKILL.md +164 -0
  655. package/skills/memory-forensics/SKILL.md.d.ts +3 -0
  656. package/skills/memory-ingest/SKILL.md +187 -0
  657. package/skills/memory-ingest/SKILL.md.d.ts +3 -0
  658. package/skills/memory-lint/SKILL.md +146 -0
  659. package/skills/memory-lint/SKILL.md.d.ts +3 -0
  660. package/skills/memory-log-append/SKILL.md +80 -0
  661. package/skills/memory-log-append/SKILL.md.d.ts +3 -0
  662. package/skills/memory-log-render/SKILL.md +88 -0
  663. package/skills/memory-log-render/SKILL.md.d.ts +3 -0
  664. package/skills/memory-query-capture/SKILL.md +129 -0
  665. package/skills/memory-query-capture/SKILL.md.d.ts +3 -0
  666. package/skills/mention-conventions/SKILL.md +187 -0
  667. package/skills/mention-conventions/SKILL.md.d.ts +3 -0
  668. package/skills/mention-lint/SKILL.md +139 -0
  669. package/skills/mention-lint/SKILL.md.d.ts +3 -0
  670. package/skills/mention-report/SKILL.md +136 -0
  671. package/skills/mention-report/SKILL.md.d.ts +3 -0
  672. package/skills/mention-validate/SKILL.md +96 -0
  673. package/skills/mention-validate/SKILL.md.d.ts +3 -0
  674. package/skills/mention-wire/SKILL.md +136 -0
  675. package/skills/mention-wire/SKILL.md.d.ts +3 -0
  676. package/skills/metadata-tagging/SKILL.md +530 -0
  677. package/skills/metadata-tagging/SKILL.md.d.ts +3 -0
  678. package/skills/metrics-tokens/SKILL.md +217 -0
  679. package/skills/metrics-tokens/SKILL.md.d.ts +3 -0
  680. package/skills/migrate-hook/SKILL.md +274 -0
  681. package/skills/migrate-hook/SKILL.md.d.ts +3 -0
  682. package/skills/migrate-workspace/SKILL.md +159 -0
  683. package/skills/migrate-workspace/SKILL.md.d.ts +3 -0
  684. package/skills/mission-control/SKILL.md +163 -0
  685. package/skills/mission-control/SKILL.md.d.ts +3 -0
  686. package/skills/mission-control/manifest.json +17 -0
  687. package/skills/monitorability-red-team/SKILL.md +19 -0
  688. package/skills/monitorability-red-team/SKILL.md.d.ts +3 -0
  689. package/skills/mutation-test/SKILL.md +415 -0
  690. package/skills/mutation-test/SKILL.md.d.ts +3 -0
  691. package/skills/mutation-test/scripts/aiwg_mutation_native_probe.py +67 -0
  692. package/skills/mutation-test/scripts/native_extension_preflight.py +377 -0
  693. package/skills/natural-language-harness/SKILL.md +21 -0
  694. package/skills/natural-language-harness/SKILL.md.d.ts +3 -0
  695. package/skills/new-bundle/SKILL.md +53 -0
  696. package/skills/new-bundle/SKILL.md.d.ts +3 -0
  697. package/skills/new-project/SKILL.md +154 -0
  698. package/skills/new-project/SKILL.md.d.ts +3 -0
  699. package/skills/nl-router/SKILL.md +616 -0
  700. package/skills/nl-router/SKILL.md.d.ts +3 -0
  701. package/skills/npm-release-age-gate/SKILL.md +100 -0
  702. package/skills/npm-release-age-gate/SKILL.md.d.ts +3 -0
  703. package/skills/npm-supply-chain-audit/SKILL.md +138 -0
  704. package/skills/npm-supply-chain-audit/SKILL.md.d.ts +3 -0
  705. package/skills/ops/SKILL.md +198 -0
  706. package/skills/ops/SKILL.md.d.ts +3 -0
  707. package/skills/ops-quickref/SKILL.md +145 -0
  708. package/skills/ops-quickref/SKILL.md.d.ts +3 -0
  709. package/skills/orchestrate-project/SKILL.md +56 -0
  710. package/skills/orchestrate-project/SKILL.md.d.ts +3 -0
  711. package/skills/output-mode-guide/SKILL.md +55 -0
  712. package/skills/output-mode-guide/SKILL.md.d.ts +3 -0
  713. package/skills/package-all-plugins/SKILL.md +141 -0
  714. package/skills/package-all-plugins/SKILL.md.d.ts +3 -0
  715. package/skills/package-plugin/SKILL.md +178 -0
  716. package/skills/package-plugin/SKILL.md.d.ts +3 -0
  717. package/skills/packages/SKILL.md +117 -0
  718. package/skills/packages/SKILL.md.d.ts +3 -0
  719. package/skills/parallel-dispatch/SKILL.md +276 -0
  720. package/skills/parallel-dispatch/SKILL.md.d.ts +3 -0
  721. package/skills/parallel-dispatch/scripts/parallel_dispatcher.py +444 -0
  722. package/skills/pattern-selector/SKILL.md +94 -0
  723. package/skills/pattern-selector/SKILL.md.d.ts +3 -0
  724. package/skills/pdf-extractor/SKILL.md +229 -0
  725. package/skills/pdf-extractor/SKILL.md.d.ts +3 -0
  726. package/skills/performance-digest/SKILL.md +537 -0
  727. package/skills/performance-digest/SKILL.md.d.ts +3 -0
  728. package/skills/physical-threat-modeling/SKILL.md +308 -0
  729. package/skills/physical-threat-modeling/SKILL.md.d.ts +3 -0
  730. package/skills/pipeline-design/SKILL.md +122 -0
  731. package/skills/pipeline-design/SKILL.md.d.ts +3 -0
  732. package/skills/pipeline-status/SKILL.md +88 -0
  733. package/skills/pipeline-status/SKILL.md.d.ts +3 -0
  734. package/skills/plugin-status/SKILL.md +135 -0
  735. package/skills/plugin-status/SKILL.md.d.ts +3 -0
  736. package/skills/pnpm-release-age-gate/SKILL.md +218 -0
  737. package/skills/pnpm-release-age-gate/SKILL.md.d.ts +3 -0
  738. package/skills/polyrhythmic-reasoning/SKILL.md +38 -0
  739. package/skills/polyrhythmic-reasoning/SKILL.md.d.ts +3 -0
  740. package/skills/pr-launch/SKILL.md +150 -0
  741. package/skills/pr-launch/SKILL.md.d.ts +3 -0
  742. package/skills/pr-review/SKILL.md +319 -0
  743. package/skills/pr-review/SKILL.md.d.ts +3 -0
  744. package/skills/prefill-cards/SKILL.md +139 -0
  745. package/skills/prefill-cards/SKILL.md.d.ts +3 -0
  746. package/skills/premortem-v2/SKILL.md +19 -0
  747. package/skills/premortem-v2/SKILL.md.d.ts +3 -0
  748. package/skills/productionize/SKILL.md +141 -0
  749. package/skills/productionize/SKILL.md.d.ts +3 -0
  750. package/skills/profile-communities/SKILL.md +41 -0
  751. package/skills/profile-communities/SKILL.md.d.ts +3 -0
  752. package/skills/profile-generate/SKILL.md +73 -0
  753. package/skills/profile-generate/SKILL.md.d.ts +3 -0
  754. package/skills/profile-graph/SKILL.md +73 -0
  755. package/skills/profile-graph/SKILL.md.d.ts +3 -0
  756. package/skills/profile-metrics/SKILL.md +46 -0
  757. package/skills/profile-metrics/SKILL.md.d.ts +3 -0
  758. package/skills/profile-status/SKILL.md +46 -0
  759. package/skills/profile-status/SKILL.md.d.ts +3 -0
  760. package/skills/profile-temporal/SKILL.md +41 -0
  761. package/skills/profile-temporal/SKILL.md.d.ts +3 -0
  762. package/skills/project-awareness/SKILL.md +363 -0
  763. package/skills/project-awareness/SKILL.md.d.ts +3 -0
  764. package/skills/project-awareness/references/phase-guide.md +47 -0
  765. package/skills/project-awareness/scripts/project_awareness.py +645 -0
  766. package/skills/project-awareness/scripts/status_check.py +218 -0
  767. package/skills/project-health-check/SKILL.md +288 -0
  768. package/skills/project-health-check/SKILL.md.d.ts +3 -0
  769. package/skills/project-status/SKILL.md +204 -0
  770. package/skills/project-status/SKILL.md.d.ts +3 -0
  771. package/skills/project-status/contributor.schema.json +76 -0
  772. package/skills/project-status/heuristic-fallback.md +147 -0
  773. package/skills/project-timeline-simulator/SKILL.md +424 -0
  774. package/skills/project-timeline-simulator/SKILL.md.d.ts +3 -0
  775. package/skills/promote/SKILL.md +48 -0
  776. package/skills/promote/SKILL.md.d.ts +3 -0
  777. package/skills/prompt-engineer/SKILL.md +114 -0
  778. package/skills/prompt-engineer/SKILL.md.d.ts +3 -0
  779. package/skills/prose-detect/SKILL.md +213 -0
  780. package/skills/prose-detect/SKILL.md.d.ts +3 -0
  781. package/skills/prose-install/SKILL.md +132 -0
  782. package/skills/prose-install/SKILL.md.d.ts +3 -0
  783. package/skills/prose-reader/SKILL.md +125 -0
  784. package/skills/prose-reader/SKILL.md.d.ts +3 -0
  785. package/skills/prose-run/SKILL.md +134 -0
  786. package/skills/prose-run/SKILL.md.d.ts +3 -0
  787. package/skills/prose-setup/SKILL.md +125 -0
  788. package/skills/prose-setup/SKILL.md.d.ts +3 -0
  789. package/skills/prose-validate/SKILL.md +129 -0
  790. package/skills/prose-validate/SKILL.md.d.ts +3 -0
  791. package/skills/provenance-create/SKILL.md +76 -0
  792. package/skills/provenance-create/SKILL.md.d.ts +3 -0
  793. package/skills/provenance-query/SKILL.md +74 -0
  794. package/skills/provenance-query/SKILL.md.d.ts +3 -0
  795. package/skills/provenance-report/SKILL.md +60 -0
  796. package/skills/provenance-report/SKILL.md.d.ts +3 -0
  797. package/skills/provenance-tracking/SKILL.md +183 -0
  798. package/skills/provenance-tracking/SKILL.md.d.ts +3 -0
  799. package/skills/provenance-validate/SKILL.md +65 -0
  800. package/skills/provenance-validate/SKILL.md.d.ts +3 -0
  801. package/skills/public-meeting-reconcile/SKILL.md +43 -0
  802. package/skills/public-meeting-reconcile/SKILL.md.d.ts +3 -0
  803. package/skills/public-meeting-reconcile/scripts/meeting_reconcile.mjs +18 -0
  804. package/skills/public-records-plan/SKILL.md +39 -0
  805. package/skills/public-records-plan/SKILL.md.d.ts +3 -0
  806. package/skills/public-technology-review/SKILL.md +36 -0
  807. package/skills/public-technology-review/SKILL.md.d.ts +3 -0
  808. package/skills/qa-protocol/SKILL.md +524 -0
  809. package/skills/qa-protocol/SKILL.md.d.ts +3 -0
  810. package/skills/quality-assess/SKILL.md +54 -0
  811. package/skills/quality-assess/SKILL.md.d.ts +3 -0
  812. package/skills/quality-checker/SKILL.md +302 -0
  813. package/skills/quality-checker/SKILL.md.d.ts +3 -0
  814. package/skills/quality-filtering/SKILL.md +553 -0
  815. package/skills/quality-filtering/SKILL.md.d.ts +3 -0
  816. package/skills/radar-init/SKILL.md +74 -0
  817. package/skills/radar-init/SKILL.md.d.ts +3 -0
  818. package/skills/radar-report/SKILL.md +47 -0
  819. package/skills/radar-report/SKILL.md.d.ts +3 -0
  820. package/skills/radar-status/SKILL.md +45 -0
  821. package/skills/radar-status/SKILL.md.d.ts +3 -0
  822. package/skills/ralph/SKILL.md +386 -0
  823. package/skills/ralph/SKILL.md.d.ts +3 -0
  824. package/skills/ralph-abort/SKILL.md +150 -0
  825. package/skills/ralph-abort/SKILL.md.d.ts +3 -0
  826. package/skills/ralph-analytics/SKILL.md +52 -0
  827. package/skills/ralph-analytics/SKILL.md.d.ts +3 -0
  828. package/skills/ralph-attach/SKILL.md +156 -0
  829. package/skills/ralph-attach/SKILL.md.d.ts +3 -0
  830. package/skills/ralph-config/SKILL.md +329 -0
  831. package/skills/ralph-config/SKILL.md.d.ts +3 -0
  832. package/skills/ralph-external/SKILL.md +250 -0
  833. package/skills/ralph-external/SKILL.md.d.ts +3 -0
  834. package/skills/ralph-memory/SKILL.md +306 -0
  835. package/skills/ralph-memory/SKILL.md.d.ts +3 -0
  836. package/skills/ralph-reflect/SKILL.md +74 -0
  837. package/skills/ralph-reflect/SKILL.md.d.ts +3 -0
  838. package/skills/ralph-resume/SKILL.md +205 -0
  839. package/skills/ralph-resume/SKILL.md.d.ts +3 -0
  840. package/skills/ralph-status/SKILL.md +134 -0
  841. package/skills/ralph-status/SKILL.md.d.ts +3 -0
  842. package/skills/reflection-injection/SKILL.md +93 -0
  843. package/skills/reflection-injection/SKILL.md.d.ts +3 -0
  844. package/skills/regression-api-contract/SKILL.md +937 -0
  845. package/skills/regression-api-contract/SKILL.md.d.ts +3 -0
  846. package/skills/regression-auto-baseline/SKILL.md +976 -0
  847. package/skills/regression-auto-baseline/SKILL.md.d.ts +3 -0
  848. package/skills/regression-baseline/SKILL.md +558 -0
  849. package/skills/regression-baseline/SKILL.md.d.ts +3 -0
  850. package/skills/regression-bisect/SKILL.md +497 -0
  851. package/skills/regression-bisect/SKILL.md.d.ts +3 -0
  852. package/skills/regression-check/SKILL.md +447 -0
  853. package/skills/regression-check/SKILL.md.d.ts +3 -0
  854. package/skills/regression-cicd-hooks/SKILL.md +816 -0
  855. package/skills/regression-cicd-hooks/SKILL.md.d.ts +3 -0
  856. package/skills/regression-learning/SKILL.md +668 -0
  857. package/skills/regression-learning/SKILL.md.d.ts +3 -0
  858. package/skills/regression-metrics/SKILL.md +543 -0
  859. package/skills/regression-metrics/SKILL.md.d.ts +3 -0
  860. package/skills/regression-performance/SKILL.md +929 -0
  861. package/skills/regression-performance/SKILL.md.d.ts +3 -0
  862. package/skills/regression-report/SKILL.md +728 -0
  863. package/skills/regression-report/SKILL.md.d.ts +3 -0
  864. package/skills/regression-visual/SKILL.md +806 -0
  865. package/skills/regression-visual/SKILL.md.d.ts +3 -0
  866. package/skills/release-publication-verify/SKILL.md +180 -0
  867. package/skills/release-publication-verify/SKILL.md.d.ts +3 -0
  868. package/skills/remove/SKILL.md +101 -0
  869. package/skills/remove/SKILL.md.d.ts +3 -0
  870. package/skills/reproducibility-validate/SKILL.md +181 -0
  871. package/skills/reproducibility-validate/SKILL.md.d.ts +3 -0
  872. package/skills/research-acquire/SKILL.md +193 -0
  873. package/skills/research-acquire/SKILL.md.d.ts +3 -0
  874. package/skills/research-archive/SKILL.md +294 -0
  875. package/skills/research-archive/SKILL.md.d.ts +3 -0
  876. package/skills/research-cite/SKILL.md +205 -0
  877. package/skills/research-cite/SKILL.md.d.ts +3 -0
  878. package/skills/research-discover/SKILL.md +107 -0
  879. package/skills/research-discover/SKILL.md.d.ts +3 -0
  880. package/skills/research-document/SKILL.md +183 -0
  881. package/skills/research-document/SKILL.md.d.ts +3 -0
  882. package/skills/research-expand/SKILL.md +57 -0
  883. package/skills/research-expand/SKILL.md.d.ts +3 -0
  884. package/skills/research-gap/SKILL.md +474 -0
  885. package/skills/research-gap/SKILL.md.d.ts +3 -0
  886. package/skills/research-gap-detect/SKILL.md +213 -0
  887. package/skills/research-gap-detect/SKILL.md.d.ts +3 -0
  888. package/skills/research-lint/SKILL.md +143 -0
  889. package/skills/research-lint/SKILL.md.d.ts +3 -0
  890. package/skills/research-provenance/SKILL.md +368 -0
  891. package/skills/research-provenance/SKILL.md.d.ts +3 -0
  892. package/skills/research-quality/SKILL.md +302 -0
  893. package/skills/research-quality/SKILL.md.d.ts +3 -0
  894. package/skills/research-quality-audit/SKILL.md +189 -0
  895. package/skills/research-quality-audit/SKILL.md.d.ts +3 -0
  896. package/skills/research-query/SKILL.md +205 -0
  897. package/skills/research-query/SKILL.md.d.ts +3 -0
  898. package/skills/research-quickref/SKILL.md +179 -0
  899. package/skills/research-quickref/SKILL.md.d.ts +3 -0
  900. package/skills/research-status/SKILL.md +450 -0
  901. package/skills/research-status/SKILL.md.d.ts +3 -0
  902. package/skills/research-workflow/SKILL.md +498 -0
  903. package/skills/research-workflow/SKILL.md.d.ts +3 -0
  904. package/skills/retrospective-analyzer/SKILL.md +344 -0
  905. package/skills/retrospective-analyzer/SKILL.md.d.ts +3 -0
  906. package/skills/review-synthesis/SKILL.md +529 -0
  907. package/skills/review-synthesis/SKILL.md.d.ts +3 -0
  908. package/skills/risk-cycle/SKILL.md +599 -0
  909. package/skills/risk-cycle/SKILL.md.d.ts +3 -0
  910. package/skills/rlm-batch/SKILL.md +936 -0
  911. package/skills/rlm-batch/SKILL.md.d.ts +3 -0
  912. package/skills/rlm-mode/SKILL.md +523 -0
  913. package/skills/rlm-mode/SKILL.md.d.ts +3 -0
  914. package/skills/rlm-prep/SKILL.md +185 -0
  915. package/skills/rlm-prep/SKILL.md.d.ts +3 -0
  916. package/skills/rlm-query/SKILL.md +543 -0
  917. package/skills/rlm-query/SKILL.md.d.ts +3 -0
  918. package/skills/rlm-search/SKILL.md +216 -0
  919. package/skills/rlm-search/SKILL.md.d.ts +3 -0
  920. package/skills/rlm-status/SKILL.md +574 -0
  921. package/skills/rlm-status/SKILL.md.d.ts +3 -0
  922. package/skills/roko-voice/SKILL.md +414 -0
  923. package/skills/roko-voice/SKILL.md.d.ts +3 -0
  924. package/skills/rollback-workspace/SKILL.md +178 -0
  925. package/skills/rollback-workspace/SKILL.md.d.ts +3 -0
  926. package/skills/run/SKILL.md +147 -0
  927. package/skills/run/SKILL.md.d.ts +3 -0
  928. package/skills/runtime-info/SKILL.md +150 -0
  929. package/skills/runtime-info/SKILL.md.d.ts +3 -0
  930. package/skills/sales-enablement/SKILL.md +154 -0
  931. package/skills/sales-enablement/SKILL.md.d.ts +3 -0
  932. package/skills/sanitizer-in-ci/SKILL.md +305 -0
  933. package/skills/sanitizer-in-ci/SKILL.md.d.ts +3 -0
  934. package/skills/sanitizer-in-ci/scripts/emit.mjs +118 -0
  935. package/skills/sanitizer-in-ci/scripts/emit.sh +4 -0
  936. package/skills/scaffold-addon/SKILL.md +211 -0
  937. package/skills/scaffold-addon/SKILL.md.d.ts +3 -0
  938. package/skills/scaffold-extension/SKILL.md +221 -0
  939. package/skills/scaffold-extension/SKILL.md.d.ts +3 -0
  940. package/skills/scaffold-framework/SKILL.md +285 -0
  941. package/skills/scaffold-framework/SKILL.md.d.ts +3 -0
  942. package/skills/schedule/SKILL.md +76 -0
  943. package/skills/schedule/SKILL.md.d.ts +3 -0
  944. package/skills/schema-author/SKILL.md +17 -0
  945. package/skills/schema-author/SKILL.md.d.ts +3 -0
  946. package/skills/schema-evolve/SKILL.md +16 -0
  947. package/skills/schema-evolve/SKILL.md.d.ts +3 -0
  948. package/skills/schema-intake/SKILL.md +20 -0
  949. package/skills/schema-intake/SKILL.md.d.ts +3 -0
  950. package/skills/schema-onboard/SKILL.md +16 -0
  951. package/skills/schema-onboard/SKILL.md.d.ts +3 -0
  952. package/skills/schema-review/SKILL.md +16 -0
  953. package/skills/schema-review/SKILL.md.d.ts +3 -0
  954. package/skills/sdlc-accelerate/SKILL.md +161 -0
  955. package/skills/sdlc-accelerate/SKILL.md.d.ts +3 -0
  956. package/skills/sdlc-quickref/SKILL.md +183 -0
  957. package/skills/sdlc-quickref/SKILL.md.d.ts +3 -0
  958. package/skills/sdlc-reports/SKILL.md +565 -0
  959. package/skills/sdlc-reports/SKILL.md.d.ts +3 -0
  960. package/skills/secret-handling-runtime/SKILL.md +365 -0
  961. package/skills/secret-handling-runtime/SKILL.md.d.ts +3 -0
  962. package/skills/security-assessment/SKILL.md +386 -0
  963. package/skills/security-assessment/SKILL.md.d.ts +3 -0
  964. package/skills/security-audit/SKILL.md +85 -0
  965. package/skills/security-audit/SKILL.md.d.ts +3 -0
  966. package/skills/security-disclosure-track/SKILL.md +51 -0
  967. package/skills/security-disclosure-track/SKILL.md.d.ts +3 -0
  968. package/skills/security-disclosure-track/scripts/track.mjs +51 -0
  969. package/skills/security-engineering-quickref/SKILL.md +186 -0
  970. package/skills/security-engineering-quickref/SKILL.md.d.ts +3 -0
  971. package/skills/security-gate/SKILL.md +68 -0
  972. package/skills/security-gate/SKILL.md.d.ts +3 -0
  973. package/skills/security-report/SKILL.md +235 -0
  974. package/skills/security-report/SKILL.md.d.ts +3 -0
  975. package/skills/security-report/scripts/report.mjs +162 -0
  976. package/skills/session/SKILL.md +121 -0
  977. package/skills/session/SKILL.md.d.ts +3 -0
  978. package/skills/session-explore/SKILL.md +105 -0
  979. package/skills/session-explore/SKILL.md.d.ts +3 -0
  980. package/skills/session-explore/references/recipes.md +176 -0
  981. package/skills/session-harvest/SKILL.md +73 -0
  982. package/skills/session-harvest/SKILL.md.d.ts +3 -0
  983. package/skills/setup-generate/SKILL.md +427 -0
  984. package/skills/setup-generate/SKILL.md.d.ts +3 -0
  985. package/skills/setup-run/SKILL.md +250 -0
  986. package/skills/setup-run/SKILL.md.d.ts +3 -0
  987. package/skills/setup-tdd/SKILL.md +258 -0
  988. package/skills/setup-tdd/SKILL.md.d.ts +3 -0
  989. package/skills/setup-validate/SKILL.md +139 -0
  990. package/skills/setup-validate/SKILL.md.d.ts +3 -0
  991. package/skills/sidecar-lint/SKILL.md +102 -0
  992. package/skills/sidecar-lint/SKILL.md.d.ts +3 -0
  993. package/skills/sigma-hunting/SKILL.md +138 -0
  994. package/skills/sigma-hunting/SKILL.md.d.ts +3 -0
  995. package/skills/skill-builder/SKILL.md +260 -0
  996. package/skills/skill-builder/SKILL.md.d.ts +3 -0
  997. package/skills/skill-enhancer/SKILL.md +254 -0
  998. package/skills/skill-enhancer/SKILL.md.d.ts +3 -0
  999. package/skills/skill-packager/SKILL.md +264 -0
  1000. package/skills/skill-packager/SKILL.md.d.ts +3 -0
  1001. package/skills/skills/SKILL.md +144 -0
  1002. package/skills/skills/SKILL.md.d.ts +3 -0
  1003. package/skills/smith-agenticdef/SKILL.md +219 -0
  1004. package/skills/smith-agenticdef/SKILL.md.d.ts +3 -0
  1005. package/skills/smith-mcpdef/SKILL.md +320 -0
  1006. package/skills/smith-mcpdef/SKILL.md.d.ts +3 -0
  1007. package/skills/smith-sysdef/SKILL.md +339 -0
  1008. package/skills/smith-sysdef/SKILL.md.d.ts +3 -0
  1009. package/skills/snapshot/SKILL.md +142 -0
  1010. package/skills/snapshot/SKILL.md.d.ts +3 -0
  1011. package/skills/social-strategy/SKILL.md +144 -0
  1012. package/skills/social-strategy/SKILL.md.d.ts +3 -0
  1013. package/skills/soul-apply/SKILL.md +172 -0
  1014. package/skills/soul-apply/SKILL.md.d.ts +3 -0
  1015. package/skills/soul-blend/SKILL.md +124 -0
  1016. package/skills/soul-blend/SKILL.md.d.ts +3 -0
  1017. package/skills/soul-create/SKILL.md +192 -0
  1018. package/skills/soul-create/SKILL.md.d.ts +3 -0
  1019. package/skills/soul-disable/SKILL.md +167 -0
  1020. package/skills/soul-disable/SKILL.md.d.ts +3 -0
  1021. package/skills/soul-enable/SKILL.md +255 -0
  1022. package/skills/soul-enable/SKILL.md.d.ts +3 -0
  1023. package/skills/soul-enhance/SKILL.md +229 -0
  1024. package/skills/soul-enhance/SKILL.md.d.ts +3 -0
  1025. package/skills/soul-status/SKILL.md +176 -0
  1026. package/skills/soul-status/SKILL.md.d.ts +3 -0
  1027. package/skills/soul-to-voice/SKILL.md +204 -0
  1028. package/skills/soul-to-voice/SKILL.md.d.ts +3 -0
  1029. package/skills/soul-validate/SKILL.md +198 -0
  1030. package/skills/soul-validate/SKILL.md.d.ts +3 -0
  1031. package/skills/source-compliance-gate/SKILL.md +44 -0
  1032. package/skills/source-compliance-gate/SKILL.md.d.ts +3 -0
  1033. package/skills/source-compliance-gate/scripts/source_compliance_gate.mjs +18 -0
  1034. package/skills/source-types/SKILL.md +126 -0
  1035. package/skills/source-types/SKILL.md.d.ts +3 -0
  1036. package/skills/source-unifier/SKILL.md +260 -0
  1037. package/skills/source-unifier/SKILL.md.d.ts +3 -0
  1038. package/skills/steward/SKILL.md +454 -0
  1039. package/skills/steward/SKILL.md.d.ts +3 -0
  1040. package/skills/steward-prep-delivery/SKILL.md +119 -0
  1041. package/skills/steward-prep-delivery/SKILL.md.d.ts +3 -0
  1042. package/skills/steward-prep-delivery/find-duplicates.sh +229 -0
  1043. package/skills/steward-quickref/SKILL.md +117 -0
  1044. package/skills/steward-quickref/SKILL.md.d.ts +3 -0
  1045. package/skills/strict-toolchain-audit/SKILL.md +45 -0
  1046. package/skills/strict-toolchain-audit/SKILL.md.d.ts +3 -0
  1047. package/skills/summarize-transcript/SKILL.md +336 -0
  1048. package/skills/summarize-transcript/SKILL.md.d.ts +3 -0
  1049. package/skills/supply-chain-forensics/SKILL.md +155 -0
  1050. package/skills/supply-chain-forensics/SKILL.md.d.ts +3 -0
  1051. package/skills/supply-chain-hardening-quickstart/SKILL.md +55 -0
  1052. package/skills/supply-chain-hardening-quickstart/SKILL.md.d.ts +3 -0
  1053. package/skills/supply-chain-trust/SKILL.md +316 -0
  1054. package/skills/supply-chain-trust/SKILL.md.d.ts +3 -0
  1055. package/skills/tag-collection/SKILL.md +470 -0
  1056. package/skills/tag-collection/SKILL.md.d.ts +3 -0
  1057. package/skills/target-profiling/SKILL.md +116 -0
  1058. package/skills/target-profiling/SKILL.md.d.ts +3 -0
  1059. package/skills/tdd-enforce/SKILL.md +296 -0
  1060. package/skills/tdd-enforce/SKILL.md.d.ts +3 -0
  1061. package/skills/tdd-enforce/scripts/tdd_setup.py +433 -0
  1062. package/skills/team/SKILL.md +206 -0
  1063. package/skills/team/SKILL.md.d.ts +3 -0
  1064. package/skills/template-engine/SKILL.md +328 -0
  1065. package/skills/template-engine/SKILL.md.d.ts +3 -0
  1066. package/skills/template-engine/scripts/template_engine.py +550 -0
  1067. package/skills/test-conformance/SKILL.md +36 -0
  1068. package/skills/test-conformance/SKILL.md.d.ts +3 -0
  1069. package/skills/test-coverage/SKILL.md +482 -0
  1070. package/skills/test-coverage/SKILL.md.d.ts +3 -0
  1071. package/skills/test-normalize/SKILL.md +37 -0
  1072. package/skills/test-normalize/SKILL.md.d.ts +3 -0
  1073. package/skills/test-platform-research/SKILL.md +37 -0
  1074. package/skills/test-platform-research/SKILL.md.d.ts +3 -0
  1075. package/skills/test-sync/SKILL.md +322 -0
  1076. package/skills/test-sync/SKILL.md.d.ts +3 -0
  1077. package/skills/theme-manager/SKILL.md +131 -0
  1078. package/skills/theme-manager/SKILL.md.d.ts +3 -0
  1079. package/skills/theme-manager/scripts/theme-manager.mjs +242 -0
  1080. package/skills/topology-lab/SKILL.md +24 -0
  1081. package/skills/topology-lab/SKILL.md.d.ts +3 -0
  1082. package/skills/torture-test/SKILL.md +47 -0
  1083. package/skills/torture-test/SKILL.md.d.ts +3 -0
  1084. package/skills/tot-decide/SKILL.md +125 -0
  1085. package/skills/tot-decide/SKILL.md.d.ts +3 -0
  1086. package/skills/tot-exploration/SKILL.md +112 -0
  1087. package/skills/tot-exploration/SKILL.md.d.ts +3 -0
  1088. package/skills/traceability-check/SKILL.md +424 -0
  1089. package/skills/traceability-check/SKILL.md.d.ts +3 -0
  1090. package/skills/transcribe-media/SKILL.md +153 -0
  1091. package/skills/transcribe-media/SKILL.md.d.ts +3 -0
  1092. package/skills/transcribe-media/examples/sample.transcript.json +50 -0
  1093. package/skills/transcribe-media/scripts/transcribe_media.mjs +463 -0
  1094. package/skills/troubleshooting-guide/SKILL.md +372 -0
  1095. package/skills/troubleshooting-guide/SKILL.md.d.ts +3 -0
  1096. package/skills/twelve-factor-audit/SKILL.md +69 -0
  1097. package/skills/twelve-factor-audit/SKILL.md.d.ts +3 -0
  1098. package/skills/twelve-factor-design/SKILL.md +65 -0
  1099. package/skills/twelve-factor-design/SKILL.md.d.ts +3 -0
  1100. package/skills/uat-execute/SKILL.md +248 -0
  1101. package/skills/uat-execute/SKILL.md.d.ts +3 -0
  1102. package/skills/uat-generate/SKILL.md +195 -0
  1103. package/skills/uat-generate/SKILL.md.d.ts +3 -0
  1104. package/skills/uat-mode/SKILL.md +116 -0
  1105. package/skills/uat-mode/SKILL.md.d.ts +3 -0
  1106. package/skills/uat-report/SKILL.md +196 -0
  1107. package/skills/uat-report/SKILL.md.d.ts +3 -0
  1108. package/skills/uninstall-plugin/SKILL.md +125 -0
  1109. package/skills/uninstall-plugin/SKILL.md.d.ts +3 -0
  1110. package/skills/update/SKILL.md +166 -0
  1111. package/skills/update/SKILL.md.d.ts +3 -0
  1112. package/skills/use/SKILL.md +153 -0
  1113. package/skills/use/SKILL.md.d.ts +3 -0
  1114. package/skills/validate-addon/SKILL.md +185 -0
  1115. package/skills/validate-addon/SKILL.md.d.ts +3 -0
  1116. package/skills/validate-component/SKILL.md +203 -0
  1117. package/skills/validate-component/SKILL.md.d.ts +3 -0
  1118. package/skills/validate-metadata/SKILL.md +153 -0
  1119. package/skills/validate-metadata/SKILL.md.d.ts +3 -0
  1120. package/skills/validation-complete/SKILL.md +35 -0
  1121. package/skills/validation-complete/SKILL.md.d.ts +3 -0
  1122. package/skills/verify-archive/SKILL.md +440 -0
  1123. package/skills/verify-archive/SKILL.md.d.ts +3 -0
  1124. package/skills/verify-citations/SKILL.md +146 -0
  1125. package/skills/verify-citations/SKILL.md.d.ts +3 -0
  1126. package/skills/version/SKILL.md +115 -0
  1127. package/skills/version/SKILL.md.d.ts +3 -0
  1128. package/skills/video-production/SKILL.md +153 -0
  1129. package/skills/video-production/SKILL.md.d.ts +3 -0
  1130. package/skills/vision-extract/SKILL.md +103 -0
  1131. package/skills/vision-extract/SKILL.md.d.ts +3 -0
  1132. package/skills/voice-analyze/SKILL.md +244 -0
  1133. package/skills/voice-analyze/SKILL.md.d.ts +3 -0
  1134. package/skills/voice-analyze/scripts/voice_analyzer.py +561 -0
  1135. package/skills/voice-apply/SKILL.md +248 -0
  1136. package/skills/voice-apply/SKILL.md.d.ts +3 -0
  1137. package/skills/voice-apply/references/voice-dimensions.md +57 -0
  1138. package/skills/voice-apply/scripts/voice_loader.py +269 -0
  1139. package/skills/voice-blend/SKILL.md +183 -0
  1140. package/skills/voice-blend/SKILL.md.d.ts +3 -0
  1141. package/skills/voice-blend/scripts/voice_blender.py +438 -0
  1142. package/skills/voice-create/SKILL.md +174 -0
  1143. package/skills/voice-create/SKILL.md.d.ts +3 -0
  1144. package/skills/voice-create/scripts/voice_generator.py +429 -0
  1145. package/skills/voice-to-soul/SKILL.md +168 -0
  1146. package/skills/voice-to-soul/SKILL.md.d.ts +3 -0
  1147. package/skills/workspace-health/SKILL.md +193 -0
  1148. package/skills/workspace-health/SKILL.md.d.ts +3 -0
  1149. package/skills/workspace-prune-working/SKILL.md +368 -0
  1150. package/skills/workspace-prune-working/SKILL.md.d.ts +3 -0
  1151. package/skills/workspace-realign/SKILL.md +401 -0
  1152. package/skills/workspace-realign/SKILL.md.d.ts +3 -0
  1153. package/skills/workspace-reset/SKILL.md +359 -0
  1154. package/skills/workspace-reset/SKILL.md.d.ts +3 -0
  1155. package/skills/yarn-release-age-gate/SKILL.md +183 -0
  1156. package/skills/yarn-release-age-gate/SKILL.md.d.ts +3 -0
  1157. package/skills/youtube-acquisition/SKILL.md +924 -0
  1158. package/skills/youtube-acquisition/SKILL.md.d.ts +3 -0
  1159. package/specialist-binding.d.ts +10 -0
  1160. package/specialist-binding.js +19 -0
  1161. package/specialists.d.ts +59 -0
  1162. package/specialists.js +62 -0
  1163. package/tools.d.ts +3 -0
  1164. package/tools.js +6 -0
@@ -0,0 +1,1834 @@
1
+ ---
2
+ namespace: aiwg
3
+ name: flow-deploy-to-production
4
+ platforms: [flue]
5
+ description: Orchestrate production deployment with strategy selection, validation, automated rollback, and regression gates
6
+ commandHint:
7
+ argumentHint: '[project-directory] [--guidance "text"] [--interactive] [--regression-threshold N] [--rollback-on-regression]'
8
+ allowedTools: 'Task, Read, Write, Glob, TodoWrite'
9
+ model: opus
10
+ category: sdlc-orchestration
11
+ orchestration: true
12
+ modelRole: reasoning
13
+ modelTier: premium
14
+ modelRationale: Production release and rollback decisions have high operational impact.
15
+ ---
16
+
17
+ > **Declarative Flow (#1539):** This flow's orchestration is now also expressed as a
18
+ > declarative YAML Flow at `flows/flow-deploy-to-production.playbook.yaml` (source of truth for the step
19
+ > sequence + gates). This SKILL.md remains the discoverable trigger surface and prose
20
+ > reference. See epic #1534.
21
+
22
+ # Production Deployment Orchestration Flow
23
+
24
+ **You are the Core Orchestrator** for production deployment workflows.
25
+
26
+ ## Your Role
27
+
28
+ **You orchestrate multi-agent workflows. You do NOT execute bash scripts.**
29
+
30
+ When the user requests this flow (via natural language or explicit command):
31
+
32
+ 1. **Interpret the request** and confirm understanding
33
+ 2. **Read this template** as your orchestration guide
34
+ 3. **Extract agent assignments** and workflow steps
35
+ 4. **Delegate agents with the current provider-native orchestration mechanism** in the correct sequence
36
+ 5. **Synthesize results** and finalize artifacts
37
+ 6. **Report completion** with summary
38
+
39
+ ## Deployment Overview
40
+
41
+ **Purpose**: Safe, validated production deployment with automated rollback capability and regression detection
42
+
43
+ **Key Activities**:
44
+ - Strategy selection (blue-green, canary, rolling)
45
+ - Pre-deployment validation and gate checks
46
+ - **Regression detection at staging and production gates**
47
+ - Progressive deployment with SLO monitoring
48
+ - Smoke tests and health validation
49
+ - **Automated rollback on regression or failure**
50
+
51
+ **Expected Duration**: 30-90 minutes (varies by strategy), 10-15 minutes orchestration
52
+
53
+ ## Natural Language Triggers
54
+
55
+ Users may say:
56
+ - "Deploy to production"
57
+ - "Production deployment"
58
+ - "Release to prod"
59
+ - "Start deployment"
60
+ - "Deploy version X.Y.Z"
61
+ - "Go live with new release"
62
+ - "Execute production rollout"
63
+
64
+ You recognize these as requests for this orchestration flow.
65
+
66
+ ## Parameter Handling
67
+
68
+ ### --guidance Parameter
69
+
70
+ **Purpose**: User provides upfront direction to tailor orchestration priorities
71
+
72
+ **Examples**:
73
+ ```
74
+ --guidance "Zero-downtime critical, use blue-green strategy"
75
+ --guidance "High-risk release, progressive canary with 5% → 25% → 100%"
76
+ --guidance "Database migration included, need extended maintenance window"
77
+ --guidance "First production deployment, extra validation and monitoring"
78
+ ```
79
+
80
+ **How to Apply**:
81
+ - Parse guidance for keywords: strategy, risk level, timeline, validation depth
82
+ - Adjust strategy selection (blue-green vs. canary vs. rolling)
83
+ - Modify validation depth (minimal vs. comprehensive smoke tests)
84
+ - Influence monitoring duration (15 min vs. 60 min observation)
85
+
86
+ ### --interactive Parameter
87
+
88
+ **Purpose**: You ask 6-8 strategic questions to understand deployment context
89
+
90
+ **Questions to Ask** (if --interactive):
91
+
92
+ ```
93
+ I'll ask 6 strategic questions to tailor the production deployment to your needs:
94
+
95
+ Q1: What deployment strategy do you prefer?
96
+ (blue-green = instant cutover, canary = progressive rollout, rolling = node-by-node)
97
+
98
+ Q2: What's the risk level of this release?
99
+ (Low = routine updates, Medium = new features, High = architecture changes)
100
+
101
+ Q3: What are your SLO targets?
102
+ (e.g., error rate <0.1%, latency p99 <500ms, availability >99.95%)
103
+
104
+ Q4: Is a database migration or schema change included?
105
+ (Affects rollback complexity and strategy selection)
106
+
107
+ Q5: What's your rollback tolerance?
108
+ (How quickly must you be able to rollback? Instant vs. 5 min vs. 30 min)
109
+
110
+ Q6: What's your monitoring observation period?
111
+ (How long to monitor before declaring success? 15 min vs. 30 min vs. 60 min)
112
+
113
+ Based on your answers, I'll adjust:
114
+ - Deployment strategy selection
115
+ - Smoke test depth and coverage
116
+ - SLO monitoring thresholds and duration
117
+ - Rollback automation triggers
118
+ ```
119
+
120
+ **Synthesize Guidance**: Combine answers into structured guidance string for execution
121
+
122
+ ### --regression-threshold Parameter
123
+
124
+ **Purpose**: Set acceptable regression rate for deployment gates
125
+
126
+ **Default**: `0` (zero tolerance - any regression blocks deployment)
127
+
128
+ **Format**: `--regression-threshold N` where N = percentage (0-100)
129
+
130
+ **Examples**:
131
+ ```bash
132
+ # Zero tolerance (default)
133
+ /flow-deploy-to-production --regression-threshold 0
134
+
135
+ # Allow up to 5% regression
136
+ /flow-deploy-to-production --regression-threshold 5
137
+
138
+ # Relaxed threshold for low-risk deployments
139
+ /flow-deploy-to-production --regression-threshold 10
140
+ ```
141
+
142
+ **Application**:
143
+ - **Staging Gate**: If regression rate > threshold → BLOCK promotion to production
144
+ - **Production Gate**: If regression rate > threshold → TRIGGER automatic rollback
145
+ - Threshold applies to both test regression and metric regression
146
+
147
+ **Typical Thresholds**:
148
+ | Risk Level | Recommended Threshold | Rationale |
149
+ |------------|----------------------|-----------|
150
+ | High | 0% | Zero tolerance for critical releases |
151
+ | Medium | 2-5% | Allow minor acceptable regression |
152
+ | Low | 5-10% | Relaxed for routine updates |
153
+
154
+ ### --rollback-on-regression Parameter
155
+
156
+ **Purpose**: Control automatic rollback behavior when regression detected
157
+
158
+ **Default**: `true` (automatic rollback enabled)
159
+
160
+ **Format**: `--rollback-on-regression` (boolean flag)
161
+
162
+ **Examples**:
163
+ ```bash
164
+ # Automatic rollback enabled (default)
165
+ /flow-deploy-to-production --rollback-on-regression
166
+
167
+ # Manual intervention required
168
+ /flow-deploy-to-production --no-rollback-on-regression
169
+ ```
170
+
171
+ **Behavior**:
172
+ - **If true**: Production regression → Immediate automated rollback
173
+ - **If false**: Production regression → Alert user, await manual decision
174
+ - Recommended: Keep enabled for production safety
175
+
176
+ ## Artifacts to Generate
177
+
178
+ **Primary Deliverables**:
179
+ - **Deployment Readiness Report**: Pre-flight validation → `.aiwg/deployment/deployment-readiness-report.md`
180
+ - **Regression Gate Reports**: Staging and production regression checks → `.aiwg/deployment/regression-gate-staging.md`, `.aiwg/deployment/regression-gate-production.md`
181
+ - **Deployment Execution Log**: Real-time progress tracking → `.aiwg/deployment/deployment-execution-log.md`
182
+ - **SLO Monitoring Report**: Metrics and breach detection → `.aiwg/deployment/slo-monitoring-report.md`
183
+ - **Deployment Summary Report**: Final outcome and lessons learned → `.aiwg/reports/deployment-report-{version}.md`
184
+ - **Rollback Report** (if needed): Rollback execution and RCA → `.aiwg/deployment/rollback-report-{version}.md`
185
+
186
+ **Supporting Artifacts**:
187
+ - Smoke test results (working doc)
188
+ - SLO breach alerts (archived)
189
+ - Infrastructure health snapshots (archived)
190
+ - Regression analysis reports (archived)
191
+
192
+ ## Regression Gates
193
+
194
+ **Purpose**: Detect and block regressions before they reach production or impact users
195
+
196
+ **Two-Gate Model**:
197
+
198
+ ### Staging Regression Gate
199
+
200
+ **When**: After deployment to staging environment, before production cutover
201
+
202
+ **What**: Compare staging behavior against production baseline
203
+
204
+ **Checks**:
205
+ 1. **Test Regression**: Run full regression suite, compare pass rates
206
+ 2. **Metric Regression**: Compare error rates, latency, throughput
207
+ 3. **Smoke Test Regression**: Validate critical paths match production behavior
208
+
209
+ **Decision**:
210
+ - **Pass (regression ≤ threshold)**: Proceed to production deployment
211
+ - **Fail (regression > threshold)**: BLOCK promotion, investigate, fix
212
+
213
+ **Rationale**: Catch regressions in staging before they impact real users
214
+
215
+ ### Production Regression Gate
216
+
217
+ **When**: After production deployment, during monitoring period
218
+
219
+ **What**: Compare production behavior against pre-deployment baseline
220
+
221
+ **Checks**:
222
+ 1. **Smoke Test Regression**: Validate critical paths still pass
223
+ 2. **SLO Regression**: Detect degradation in error rate, latency, availability
224
+ 3. **User Journey Regression**: Validate top user flows still complete successfully
225
+
226
+ **Decision**:
227
+ - **Pass (regression ≤ threshold)**: Deployment successful
228
+ - **Fail (regression > threshold)**: TRIGGER automatic rollback (if `--rollback-on-regression`)
229
+
230
+ **Rationale**: Immediate detection and rollback on production regression
231
+
232
+ ### Regression Detection Methodology
233
+
234
+ **Test Regression**:
235
+ ```yaml
236
+ baseline: production test suite results
237
+ candidate: staging/production test suite results
238
+ regression_rate: (baseline_pass_count - candidate_pass_count) / baseline_pass_count * 100
239
+
240
+ threshold_check: regression_rate > threshold → FAIL
241
+ ```
242
+
243
+ **Metric Regression**:
244
+ ```yaml
245
+ baseline: production metrics (pre-deployment)
246
+ candidate: staging/production metrics (post-deployment)
247
+
248
+ regressions_to_detect:
249
+ - error_rate_increase > threshold
250
+ - latency_p99_increase > threshold
251
+ - throughput_decrease > threshold
252
+
253
+ threshold_check: any_regression > threshold → FAIL
254
+ ```
255
+
256
+ **Scope Options**:
257
+ - **full**: All tests and metrics (comprehensive)
258
+ - **critical**: Only P0/P1 tests and critical metrics (faster)
259
+ - **targeted**: Tests/metrics related to changed components
260
+
261
+ ### Integration with /regression-check
262
+
263
+ The regression gates use the `/regression-check` command:
264
+
265
+ **Staging Gate**:
266
+ ```bash
267
+ /regression-check --baseline production --candidate staging --scope full --threshold {threshold}
268
+ ```
269
+
270
+ **Production Gate**:
271
+ ```bash
272
+ /regression-check --baseline production-pre-deploy --candidate production-post-deploy --scope critical --threshold {threshold}
273
+ ```
274
+
275
+ ### Rollback Trigger on Regression
276
+
277
+ If production regression detected and `--rollback-on-regression` enabled:
278
+
279
+ ```yaml
280
+ regression_detected:
281
+ trigger: regression_rate > threshold
282
+ action: automated_rollback
283
+ strategy: {blue-green | canary | rolling}
284
+ notification:
285
+ - alert_team
286
+ - declare_incident
287
+ - start_rca_process
288
+ ```
289
+
290
+ ## Multi-Agent Orchestration Workflow
291
+
292
+ ### Step 1: Deployment Strategy Selection
293
+
294
+ **Purpose**: Choose deployment strategy based on risk, infrastructure, and requirements
295
+
296
+ **Your Actions**:
297
+
298
+ 1. **Analyze Context**:
299
+ ```
300
+ Read:
301
+ - .aiwg/intake/project-intake.md (understand project constraints)
302
+ - .aiwg/deployment/deployment-plan-*.md (existing deployment plans)
303
+ - .aiwg/architecture/software-architecture-doc.md (infrastructure capabilities)
304
+ - User guidance (--guidance parameter or interactive answers)
305
+ ```
306
+
307
+ 2. **Launch Strategy Selection Agent**:
308
+ ```
309
+ Task(
310
+ subagent_type="deployment-manager",
311
+ description="Recommend deployment strategy",
312
+ prompt="""
313
+ Read project context and architecture documentation
314
+
315
+ Recommend deployment strategy based on:
316
+
317
+ **Blue-Green Strategy**:
318
+ - When: Zero-downtime critical, instant rollback required
319
+ - Requires: 2x infrastructure capacity (temporary)
320
+ - Pros: Instant cutover, instant rollback, low risk
321
+ - Cons: Higher cost, requires duplicate environments
322
+
323
+ **Canary Strategy**:
324
+ - When: Progressive validation needed, high-risk release
325
+ - Requires: Traffic routing capability (Argo Rollouts, Flagger)
326
+ - Pros: Gradual rollout, SLO-driven automation, cost-efficient
327
+ - Cons: Slower rollout, complex automation setup
328
+
329
+ **Rolling Strategy**:
330
+ - When: Legacy systems, stateful services, simpler deployments
331
+ - Requires: Basic orchestration (Kubernetes rollout)
332
+ - Pros: No additional infrastructure, simple setup
333
+ - Cons: Slower rollout, manual validation, harder rollback
334
+
335
+ Analyze project requirements:
336
+ - Risk level: {from guidance or interactive}
337
+ - Infrastructure: {cloud provider, orchestration platform}
338
+ - Downtime tolerance: {zero vs. minimal vs. acceptable}
339
+ - Rollback requirements: {instant vs. fast vs. manual}
340
+
341
+ Recommend strategy with rationale
342
+ Save to: .aiwg/working/deployment/strategy-recommendation.md
343
+ """
344
+ )
345
+ ```
346
+
347
+ 3. **Confirm Strategy with User**:
348
+ ```
349
+ Read .aiwg/working/deployment/strategy-recommendation.md
350
+
351
+ Present to user:
352
+ ─────────────────────────────────────────────
353
+ Deployment Strategy Recommendation
354
+ ─────────────────────────────────────────────
355
+
356
+ **Recommended**: {Blue-Green | Canary | Rolling}
357
+
358
+ **Rationale**: {why this strategy fits project needs}
359
+
360
+ **Trade-offs**:
361
+ - Pros: {list benefits}
362
+ - Cons: {list drawbacks}
363
+
364
+ **Requirements**:
365
+ - Infrastructure: {what's needed}
366
+ - Duration: {expected deployment time}
367
+ - Monitoring: {observation period}
368
+
369
+ Proceed with this strategy? (yes/no)
370
+ ─────────────────────────────────────────────
371
+ ```
372
+
373
+ **Communicate Progress**:
374
+ ```
375
+ ✓ Analyzed deployment context
376
+ ✓ Strategy recommendation: {Blue-Green | Canary | Rolling}
377
+ ⏳ Awaiting user confirmation...
378
+ ```
379
+
380
+ ### Step 2: Pre-Deployment Validation
381
+
382
+ **Purpose**: Verify all quality gates passed and environment is ready
383
+
384
+ **Your Actions**:
385
+
386
+ 1. **Launch Parallel Validation Agents**:
387
+ ```
388
+ # Agent 1: Quality Gate Validation
389
+ Task(
390
+ subagent_type="project-manager",
391
+ description="Validate all quality gates passed",
392
+ prompt="""
393
+ Check quality gate status for Transition phase
394
+
395
+ Read gate criteria: $AIWG_ROOT/.../flows/gate-criteria-by-phase.md (Transition section)
396
+
397
+ Validate gates:
398
+ - [ ] Security Gate: No High/Critical vulnerabilities
399
+ - [ ] Reliability Gate: SLOs met in staging
400
+ - [ ] Test Gate: Integration tests 100% passing
401
+ - [ ] Approval Gate: Release Manager signoff obtained
402
+
403
+ Generate gate validation report:
404
+ - Status: PASS | FAIL
405
+ - Gate checklist with results
406
+ - Decision: GO | NO-GO
407
+ - Gaps (if NO-GO): List missing approvals or failures
408
+
409
+ Save to: .aiwg/working/deployment/gate-validation-report.md
410
+ """
411
+ )
412
+
413
+ # Agent 2: Environment Health Check
414
+ Task(
415
+ subagent_type="devops-engineer",
416
+ description="Validate production environment health",
417
+ prompt="""
418
+ Check production environment readiness
419
+
420
+ Validate infrastructure health:
421
+ - [ ] All nodes healthy (Kubernetes cluster)
422
+ - [ ] No pods in crash loop or pending state
423
+ - [ ] Database connections healthy
424
+ - [ ] External integrations operational
425
+ - [ ] Monitoring and alerting functional
426
+ - [ ] No active P0/P1 incidents
427
+
428
+ Check deployment artifacts:
429
+ - [ ] Container images available and tagged
430
+ - [ ] Checksums verified
431
+ - [ ] Container signatures validated (if required)
432
+ - [ ] Database migrations prepared (if applicable)
433
+
434
+ Generate environment health report:
435
+ - Infrastructure status: HEALTHY | DEGRADED | UNHEALTHY
436
+ - Artifacts status: READY | MISSING | INVALID
437
+ - Decision: GO | NO-GO
438
+ - Issues (if NO-GO): List blockers
439
+
440
+ Save to: .aiwg/working/deployment/environment-health-report.md
441
+ """
442
+ )
443
+
444
+ # Agent 3: Rollback Plan Validation
445
+ Task(
446
+ subagent_type="reliability-engineer",
447
+ description="Validate rollback plan tested and ready",
448
+ prompt="""
449
+ Read rollback plan: .aiwg/deployment/rollback-plan-*.md
450
+
451
+ Validate rollback readiness:
452
+ - [ ] Rollback plan documented
453
+ - [ ] Rollback tested in staging (within last 7 days)
454
+ - [ ] Rollback automation configured (scripts, runbooks)
455
+ - [ ] Rollback SLOs defined (how fast can we rollback?)
456
+ - [ ] Communication plan for rollback scenario
457
+
458
+ If database migration included:
459
+ - [ ] Migration rollback script tested
460
+ - [ ] Data backup verified
461
+ - [ ] Backup restoration tested
462
+
463
+ Generate rollback validation report:
464
+ - Rollback readiness: READY | NOT_READY
465
+ - Rollback strategy: {blue-green instant | canary abort | rolling undo}
466
+ - Rollback SLO: {duration to full rollback}
467
+ - Issues (if NOT_READY): List gaps
468
+
469
+ Save to: .aiwg/working/deployment/rollback-validation-report.md
470
+ """
471
+ )
472
+ ```
473
+
474
+ 2. **Synthesize Pre-Deployment Readiness**:
475
+ ```
476
+ Task(
477
+ subagent_type="deployment-manager",
478
+ description="Synthesize deployment readiness report",
479
+ prompt="""
480
+ Read all validation reports:
481
+ - .aiwg/working/deployment/gate-validation-report.md
482
+ - .aiwg/working/deployment/environment-health-report.md
483
+ - .aiwg/working/deployment/rollback-validation-report.md
484
+
485
+ Synthesize Deployment Readiness Report:
486
+
487
+ 1. Overall Status: GO | CONDITIONAL_GO | NO-GO
488
+ 2. Gate Validation: {status and details}
489
+ 3. Environment Health: {status and details}
490
+ 4. Rollback Readiness: {status and details}
491
+ 5. Pre-Flight Checklist: {comprehensive checklist}
492
+ 6. Decision Rationale: {why GO or NO-GO}
493
+ 7. Conditions (if CONDITIONAL_GO): {what must be addressed}
494
+
495
+ Use template: $AIWG_ROOT/.../templates/deployment/deployment-plan-card.md
496
+
497
+ Output: .aiwg/deployment/deployment-readiness-report.md
498
+ """
499
+ )
500
+ ```
501
+
502
+ 3. **Decision Point**:
503
+ ```
504
+ Read .aiwg/deployment/deployment-readiness-report.md
505
+
506
+ If GO → Continue to Step 3
507
+ If CONDITIONAL_GO → Present conditions to user, wait for confirmation
508
+ If NO-GO → Report gaps, recommend remediation, STOP deployment
509
+ ```
510
+
511
+ **Communicate Progress**:
512
+ ```
513
+ ⏳ Validating deployment readiness...
514
+ ✓ Quality gates validated: {PASS | FAIL}
515
+ ✓ Environment health checked: {HEALTHY | DEGRADED}
516
+ ✓ Rollback plan validated: {READY | NOT_READY}
517
+ ✓ Pre-deployment validation: {GO | CONDITIONAL_GO | NO-GO}
518
+ ```
519
+
520
+ ### Step 2.5: Staging Regression Gate
521
+
522
+ **Purpose**: Detect regressions in staging before production deployment
523
+
524
+ **Your Actions**:
525
+
526
+ 1. **Deploy to Staging**:
527
+ ```
528
+ Task(
529
+ subagent_type="devops-engineer",
530
+ description="Deploy new version to staging environment",
531
+ prompt="""
532
+ Execute deployment to staging environment
533
+
534
+ Actions:
535
+ 1. Deploy new version to staging
536
+ 2. Wait for all pods running and healthy
537
+ 3. Validate health checks passing
538
+
539
+ Report:
540
+ - Staging deployment status: SUCCESS | FAILED
541
+ - Pods running: {count}/{total}
542
+ - Health checks: {PASS | FAIL}
543
+
544
+ Save to: .aiwg/working/deployment/staging-deployment-log.md
545
+
546
+ If FAILED: Stop deployment, do NOT proceed to regression check
547
+ """
548
+ )
549
+ ```
550
+
551
+ 2. **Execute Staging Regression Check**:
552
+ ```
553
+ Task(
554
+ subagent_type="regression-analyst",
555
+ description="Run regression analysis on staging deployment",
556
+ prompt="""
557
+ Execute comprehensive regression check: staging vs. production baseline
558
+
559
+ Command: /regression-check --baseline production --candidate staging --scope full --threshold {threshold}
560
+
561
+ This checks:
562
+ 1. Test Regression: Full regression suite comparison
563
+ 2. Metric Regression: Error rate, latency, throughput comparison
564
+ 3. Smoke Test Regression: Critical path validation
565
+
566
+ Parameters:
567
+ - baseline: Production (current live version)
568
+ - candidate: Staging (new version under test)
569
+ - scope: full (comprehensive check)
570
+ - threshold: {from --regression-threshold parameter, default 0}
571
+
572
+ Generate regression gate report:
573
+ - Regression rate: {percentage}
574
+ - Test failures: {new failures not in baseline}
575
+ - Metric degradations: {error rate, latency, throughput}
576
+ - Decision: PASS | FAIL
577
+ - Blockers (if FAIL): {list regression details}
578
+
579
+ Use schema: @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/schemas/flows/regression-gate.yaml
580
+
581
+ Output: .aiwg/deployment/regression-gate-staging.md
582
+
583
+ If FAIL (regression > threshold): BLOCK promotion to production
584
+ """
585
+ )
586
+ ```
587
+
588
+ 3. **Staging Gate Decision Point**:
589
+ ```
590
+ Read .aiwg/deployment/regression-gate-staging.md
591
+
592
+ Check regression_rate vs. threshold:
593
+
594
+ If regression_rate <= threshold:
595
+ ✓ Staging regression gate PASSED
596
+ → Continue to Step 3 (Production Deployment)
597
+
598
+ If regression_rate > threshold:
599
+ ❌ Staging regression gate FAILED
600
+ → BLOCK promotion to production
601
+ → Report regression details to user
602
+ → Recommend investigation and fixes
603
+ → STOP deployment
604
+
605
+ Decision logged in deployment execution log
606
+ ```
607
+
608
+ 4. **Launch Regression Impact Assessment** (if regression detected):
609
+ ```
610
+ # Only if staging gate fails
611
+
612
+ Task(
613
+ subagent_type="regression-analyst",
614
+ description="Assess regression impact and root cause",
615
+ prompt="""
616
+ Staging regression detected: {regression_rate}% > threshold {threshold}%
617
+
618
+ Analyze regression impact:
619
+
620
+ 1. Categorize Regressions:
621
+ - Test regressions: {which tests now failing}
622
+ - Metric regressions: {which metrics degraded}
623
+ - Functional regressions: {which features broken}
624
+
625
+ 2. Assess Root Cause:
626
+ - Code changes: {which commits introduced regression}
627
+ - Configuration changes: {any config differences}
628
+ - Dependency changes: {any library/service updates}
629
+
630
+ 3. Estimate Impact:
631
+ - Severity: {CRITICAL | HIGH | MEDIUM | LOW}
632
+ - User impact: {which user journeys affected}
633
+ - Scope: {percentage of users affected}
634
+
635
+ 4. Recommend Remediation:
636
+ - Immediate fix: {what to change}
637
+ - Rollback option: {can we revert specific changes}
638
+ - Validation: {how to verify fix}
639
+
640
+ Use regression analysis agent tools and documentation
641
+
642
+ Output: .aiwg/deployment/regression-impact-assessment-staging.md
643
+
644
+ See: @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/agents/regression-analyst.md
645
+ """
646
+ )
647
+ ```
648
+
649
+ **Communicate Progress**:
650
+ ```
651
+ ⏳ Staging Regression Gate...
652
+ ✓ Deployed to staging: {SUCCESS | FAILED}
653
+ ✓ Regression check: {PASS | FAIL}
654
+ {If PASS}
655
+ ✓ Staging gate PASSED: Regression {rate}% ≤ threshold {threshold}%
656
+ {If FAIL}
657
+ ❌ Staging gate FAILED: Regression {rate}% > threshold {threshold}%
658
+ ⏳ Analyzing regression impact...
659
+ ✓ Impact assessment: .aiwg/deployment/regression-impact-assessment-staging.md
660
+ ⚠️ Deployment BLOCKED until regressions fixed
661
+ ```
662
+
663
+ ### Step 3: Execute Deployment (Strategy-Specific)
664
+
665
+ **Purpose**: Deploy new version using selected strategy with continuous monitoring
666
+
667
+ #### Blue-Green Deployment
668
+
669
+ **Your Actions**:
670
+
671
+ 1. **Deploy to Green Environment**:
672
+ ```
673
+ Task(
674
+ subagent_type="devops-engineer",
675
+ description="Deploy new version to green environment",
676
+ prompt="""
677
+ Execute blue-green deployment to green environment
678
+
679
+ Actions:
680
+ 1. Deploy new version to green environment (while blue serves production)
681
+ 2. Wait for all green pods to be running and ready
682
+ 3. Validate green environment health checks passing
683
+
684
+ Log all actions with timestamps to: .aiwg/working/deployment/execution-log-green.md
685
+
686
+ Report:
687
+ - Green deployment status: SUCCESS | FAILED
688
+ - Pods running: {count}/{total}
689
+ - Health checks: {PASS | FAIL}
690
+ - Duration: {minutes}
691
+
692
+ If FAILED: Stop deployment, do NOT cutover traffic
693
+ """
694
+ )
695
+ ```
696
+
697
+ 2. **Run Smoke Tests on Green**:
698
+ ```
699
+ Task(
700
+ subagent_type="qa-engineer",
701
+ description="Execute smoke tests on green environment",
702
+ prompt="""
703
+ Read smoke test plan: $AIWG_ROOT/.../templates/test/smoke-test-checklist.md
704
+
705
+ Execute critical path smoke tests:
706
+ - [ ] API health endpoints (200 OK)
707
+ - [ ] User authentication flow
708
+ - [ ] Critical business operations (top 5-10 journeys)
709
+ - [ ] Database connectivity
710
+ - [ ] External integrations (payment gateway, email, etc.)
711
+ - [ ] Monitoring and logging operational
712
+
713
+ Test against green environment URL (not production)
714
+
715
+ Generate smoke test report:
716
+ - Tests passed: {count}/{total}
717
+ - Tests failed: {list failures with details}
718
+ - Status: PASS | FAIL
719
+ - Duration: {minutes}
720
+
721
+ Save to: .aiwg/working/deployment/smoke-test-results-green.md
722
+
723
+ If FAIL: Stop deployment, do NOT cutover traffic
724
+ """
725
+ )
726
+ ```
727
+
728
+ 3. **Cutover Traffic to Green**:
729
+ ```
730
+ # Only proceed if green deployment and smoke tests passed
731
+
732
+ Task(
733
+ subagent_type="devops-engineer",
734
+ description="Cutover production traffic to green environment",
735
+ prompt="""
736
+ Execute traffic cutover from blue to green
737
+
738
+ Actions:
739
+ 1. Update load balancer or service selector to point to green
740
+ 2. Verify traffic is flowing to green (0% blue → 100% green)
741
+ 3. Confirm blue environment still running (for instant rollback)
742
+
743
+ Log cutover actions with timestamps
744
+
745
+ Report:
746
+ - Cutover status: SUCCESS | FAILED
747
+ - Traffic distribution: {blue-percentage}% blue, {green-percentage}% green
748
+ - Timestamp: {cutover-time}
749
+
750
+ Save to: .aiwg/working/deployment/execution-log-cutover.md
751
+ """
752
+ )
753
+ ```
754
+
755
+ 4. **Monitor SLOs Post-Cutover** (Step 4 will handle this)
756
+
757
+ #### Canary Deployment
758
+
759
+ **Your Actions**:
760
+
761
+ 1. **Deploy Canary (1-5% Traffic)**:
762
+ ```
763
+ Task(
764
+ subagent_type="devops-engineer",
765
+ description="Deploy canary version with 1-5% traffic",
766
+ prompt="""
767
+ Execute canary deployment with progressive rollout
768
+
769
+ Stage 1: Deploy canary receiving 1-5% of production traffic
770
+
771
+ Actions:
772
+ 1. Deploy canary version alongside stable baseline
773
+ 2. Configure traffic routing (1-5% to canary, 95-99% to baseline)
774
+ 3. Verify canary pods running and healthy
775
+
776
+ Log all actions with timestamps
777
+
778
+ Report:
779
+ - Canary deployment status: SUCCESS | FAILED
780
+ - Traffic distribution: {canary-percentage}% canary, {baseline-percentage}% baseline
781
+ - Pods running: {count}/{total}
782
+ - Health checks: {PASS | FAIL}
783
+
784
+ Save to: .aiwg/working/deployment/execution-log-canary-stage1.md
785
+
786
+ If FAILED: Stop deployment, scale down canary
787
+ """
788
+ )
789
+ ```
790
+
791
+ 2. **Launch SLO Monitoring Agent** (runs continuously):
792
+ ```
793
+ Task(
794
+ subagent_type="reliability-engineer",
795
+ description="Monitor canary SLOs at 1-5% stage",
796
+ prompt="""
797
+ Monitor SLOs for canary vs. baseline for 10-15 minutes
798
+
799
+ Compare metrics:
800
+ - Error rate: canary should not exceed baseline by >2%
801
+ - Latency p99: canary should not exceed baseline by >20%
802
+ - Throughput: canary should be proportional to traffic share
803
+
804
+ SLO breach detection:
805
+ - If error rate breach: ABORT deployment, trigger rollback
806
+ - If latency breach: ABORT deployment, trigger rollback
807
+ - If infrastructure failure: ABORT deployment, trigger rollback
808
+
809
+ Generate monitoring report every 5 minutes:
810
+ - Status: PASS | BREACH
811
+ - Metrics comparison: {baseline vs. canary}
812
+ - Decision: CONTINUE | ABORT
813
+
814
+ Save to: .aiwg/working/deployment/slo-monitoring-canary-stage1.md
815
+
816
+ If BREACH: Immediately notify orchestrator to trigger rollback
817
+ """
818
+ )
819
+ ```
820
+
821
+ 3. **Progressive Rollout** (if SLOs pass):
822
+ ```
823
+ # If Stage 1 SLOs pass, promote to 25%, then 50%, then 100%
824
+ # Repeat monitoring at each stage
825
+
826
+ Task(
827
+ subagent_type="devops-engineer",
828
+ description="Promote canary to 25% traffic",
829
+ prompt="""
830
+ Stage 2: Promote canary to 25% traffic
831
+
832
+ Actions:
833
+ 1. Update traffic routing (25% canary, 75% baseline)
834
+ 2. Verify traffic distribution
835
+ 3. Monitor SLOs for 10-15 minutes (launch new monitoring agent)
836
+
837
+ Report and save to: .aiwg/working/deployment/execution-log-canary-stage2.md
838
+
839
+ If SLO breach at any stage: ABORT, trigger rollback
840
+ """
841
+ )
842
+
843
+ # Repeat for 50% and 100% stages
844
+ ```
845
+
846
+ #### Rolling Deployment
847
+
848
+ **Your Actions**:
849
+
850
+ 1. **Rolling Update Execution**:
851
+ ```
852
+ Task(
853
+ subagent_type="devops-engineer",
854
+ description="Execute rolling deployment node-by-node",
855
+ prompt="""
856
+ Execute rolling deployment strategy
857
+
858
+ Actions:
859
+ 1. Update 1 instance/node at a time
860
+ 2. Wait for new instance to pass health checks
861
+ 3. Monitor for 5 minutes before proceeding to next instance
862
+ 4. Continue until all instances updated
863
+
864
+ Pause conditions:
865
+ - If health check fails: STOP, evaluate, rollback if needed
866
+ - If error rate increases: STOP, evaluate, rollback if needed
867
+
868
+ Log all actions with timestamps
869
+
870
+ Report:
871
+ - Instances updated: {count}/{total}
872
+ - Current instance status: {status}
873
+ - Health checks: {PASS | FAIL}
874
+ - Error rate: {current vs. baseline}
875
+
876
+ Save to: .aiwg/working/deployment/execution-log-rolling.md
877
+ """
878
+ )
879
+ ```
880
+
881
+ **Communicate Progress** (all strategies):
882
+ ```
883
+ ⏳ Executing {Blue-Green | Canary | Rolling} deployment...
884
+ ✓ {Strategy-specific milestone 1}: {status}
885
+ ✓ {Strategy-specific milestone 2}: {status}
886
+ ⏳ {Strategy-specific milestone 3}: In progress...
887
+ ```
888
+
889
+ ### Step 4: Monitor SLOs and Production Regression Gate
890
+
891
+ **Purpose**: Continuous validation that deployment is meeting reliability targets and no regressions introduced
892
+
893
+ **Your Actions**:
894
+
895
+ 1. **Capture Production Baseline (Pre-Deployment)**:
896
+ ```
897
+ Task(
898
+ subagent_type="reliability-engineer",
899
+ description="Capture production baseline metrics before deployment",
900
+ prompt="""
901
+ Capture production baseline for regression comparison
902
+
903
+ Metrics to capture:
904
+ - Error rate (last 1 hour average)
905
+ - Latency p50, p95, p99 (last 1 hour)
906
+ - Throughput (requests/sec, last 1 hour)
907
+ - Availability (uptime percentage)
908
+ - Critical user journey completion rates
909
+
910
+ Test suite state:
911
+ - Smoke test pass rate (current)
912
+ - Integration test pass rate (current)
913
+ - Critical path test results
914
+
915
+ Save baseline snapshot:
916
+ - Timestamp: {pre-deployment time}
917
+ - Version: {current production version}
918
+ - Metrics: {captured values}
919
+
920
+ Output: .aiwg/working/deployment/production-baseline-snapshot.md
921
+
922
+ This baseline used for post-deployment regression comparison
923
+ """
924
+ )
925
+ ```
926
+
927
+ 2. **Launch Parallel Monitoring Agents**:
928
+ ```
929
+ # Agent 1: SLO Monitoring
930
+ Task(
931
+ subagent_type="reliability-engineer",
932
+ description="Monitor production SLOs post-deployment",
933
+ prompt="""
934
+ Monitor SLOs for 15-30 minutes post-deployment (or as specified in guidance)
935
+
936
+ Key SLOs to track:
937
+ - Error rate: {target <0.1% or custom}
938
+ - Latency p99: {target <500ms or custom}
939
+ - Throughput: {baseline ±10% or custom}
940
+ - Availability: {target >99.95% or custom}
941
+
942
+ Compare current metrics vs. baseline (pre-deployment)
943
+
944
+ Automated breach detection:
945
+ - Error rate >2% above baseline → TRIGGER ROLLBACK
946
+ - Latency p99 >20% above baseline → TRIGGER ROLLBACK
947
+ - Throughput drop >30% below baseline → TRIGGER ROLLBACK
948
+ - Infrastructure alarms triggered → TRIGGER ROLLBACK
949
+
950
+ Generate SLO monitoring report every 5 minutes:
951
+ - Status: PASS | BREACH
952
+ - Metrics: {current vs. baseline vs. target}
953
+ - Alerts triggered: {count and details}
954
+ - Decision: CONTINUE | ROLLBACK
955
+
956
+ Save to: .aiwg/deployment/slo-monitoring-report.md
957
+
958
+ If BREACH: Immediately notify orchestrator to trigger rollback (Step 5)
959
+ """
960
+ )
961
+
962
+ # Agent 2: Smoke Tests (Production)
963
+ Task(
964
+ subagent_type="qa-engineer",
965
+ description="Execute smoke tests against production",
966
+ prompt="""
967
+ Run smoke tests against production environment post-deployment
968
+
969
+ Execute critical path tests:
970
+ - [ ] API health endpoints
971
+ - [ ] User authentication and authorization
972
+ - [ ] Top 5-10 business operations
973
+ - [ ] Database read/write operations
974
+ - [ ] External integrations
975
+ - [ ] Monitoring and logging functional
976
+
977
+ Test against production URL (real traffic)
978
+
979
+ Generate smoke test report:
980
+ - Tests passed: {count}/{total}
981
+ - Tests failed: {list failures with details}
982
+ - Status: PASS | FAIL
983
+ - Duration: {minutes}
984
+
985
+ Save to: .aiwg/working/deployment/smoke-test-results-production.md
986
+
987
+ If FAIL: Immediately notify orchestrator to trigger rollback
988
+ """
989
+ )
990
+
991
+ # Agent 3: Infrastructure Health Monitoring
992
+ Task(
993
+ subagent_type="devops-engineer",
994
+ description="Monitor infrastructure health continuously",
995
+ prompt="""
996
+ Monitor infrastructure health for 15-30 minutes post-deployment
997
+
998
+ Track infrastructure metrics:
999
+ - Pod restarts: >3 restarts in 5 minutes → ALERT
1000
+ - OOM kills: Any OOM kill → TRIGGER ROLLBACK
1001
+ - Node health: Any unhealthy nodes → ALERT
1002
+ - Network errors: Elevated error rates → ALERT
1003
+
1004
+ Generate infrastructure health report every 5 minutes:
1005
+ - Status: HEALTHY | DEGRADED | UNHEALTHY
1006
+ - Pods: {running}/{total}, restarts: {count}
1007
+ - Nodes: {healthy}/{total}
1008
+ - Alerts: {list active alerts}
1009
+
1010
+ Save to: .aiwg/working/deployment/infrastructure-health-report.md
1011
+
1012
+ If UNHEALTHY: Immediately notify orchestrator to trigger rollback
1013
+ """
1014
+ )
1015
+
1016
+ # Agent 4: Production Regression Gate
1017
+ Task(
1018
+ subagent_type="regression-analyst",
1019
+ description="Execute production regression check",
1020
+ prompt="""
1021
+ Execute production regression gate check
1022
+
1023
+ Command: /regression-check --baseline production-pre-deploy --candidate production-post-deploy --scope critical --threshold {threshold}
1024
+
1025
+ This checks:
1026
+ 1. Smoke Test Regression: Critical path validation
1027
+ 2. SLO Regression: Error rate, latency, availability
1028
+ 3. User Journey Regression: Top user flows completion
1029
+
1030
+ Parameters:
1031
+ - baseline: Production snapshot (pre-deployment)
1032
+ - candidate: Production current (post-deployment)
1033
+ - scope: critical (P0/P1 tests and critical metrics only)
1034
+ - threshold: {from --regression-threshold parameter, default 0}
1035
+
1036
+ Compare against baseline from .aiwg/working/deployment/production-baseline-snapshot.md
1037
+
1038
+ Generate regression gate report:
1039
+ - Regression rate: {percentage}
1040
+ - New failures: {tests now failing}
1041
+ - Metric degradations: {SLO breaches}
1042
+ - Decision: PASS | FAIL
1043
+ - Severity: {CRITICAL | HIGH | MEDIUM | LOW}
1044
+
1045
+ Use schema: @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/schemas/flows/regression-gate.yaml
1046
+
1047
+ Output: .aiwg/deployment/regression-gate-production.md
1048
+
1049
+ If FAIL (regression > threshold):
1050
+ - Check --rollback-on-regression flag
1051
+ - If enabled: Trigger automatic rollback
1052
+ - If disabled: Alert user, await manual decision
1053
+ """
1054
+ )
1055
+ ```
1056
+
1057
+ 3. **Production Regression Gate Decision Point**:
1058
+ ```
1059
+ Read .aiwg/deployment/regression-gate-production.md
1060
+
1061
+ Check regression_rate vs. threshold:
1062
+
1063
+ If regression_rate <= threshold:
1064
+ ✓ Production regression gate PASSED
1065
+ → Continue monitoring, deployment successful
1066
+
1067
+ If regression_rate > threshold:
1068
+ ❌ Production regression gate FAILED
1069
+ → Check --rollback-on-regression flag:
1070
+
1071
+ If --rollback-on-regression enabled (default):
1072
+ ⚠️ Automatic rollback TRIGGERED
1073
+ → Execute Step 5 (Rollback)
1074
+
1075
+ If --rollback-on-regression disabled:
1076
+ ⚠️ Regression detected, awaiting manual decision
1077
+ → Alert user with regression details
1078
+ → User must decide: [rollback | accept risk | investigate]
1079
+
1080
+ Decision logged in deployment execution log
1081
+ ```
1082
+
1083
+ 4. **Aggregate Monitoring Results**:
1084
+ ```
1085
+ # You monitor all 4 agents continuously
1086
+ # If ANY agent reports BREACH, FAIL, or UNHEALTHY → Trigger Step 5 (Rollback)
1087
+ # If production regression gate FAILS and --rollback-on-regression → Trigger Step 5 (Rollback)
1088
+ # If ALL agents report success for monitoring duration → Proceed to Step 6 (Success)
1089
+ ```
1090
+
1091
+ **Communicate Progress**:
1092
+ ```
1093
+ ⏳ Monitoring deployment health (15-30 min observation)...
1094
+ ✓ Production baseline captured: .aiwg/working/deployment/production-baseline-snapshot.md
1095
+ ✓ SLO monitoring: {PASS | BREACH} (updated every 5 min)
1096
+ ✓ Smoke tests: {PASS | FAIL}
1097
+ ✓ Infrastructure health: {HEALTHY | DEGRADED}
1098
+ ✓ Production regression gate: {PASS | FAIL} (regression {rate}% vs. threshold {threshold}%)
1099
+ {If regression detected}
1100
+ ⚠️ Regression detected: {rate}% > threshold {threshold}%
1101
+ {If --rollback-on-regression enabled}
1102
+ ⏳ Automatic rollback triggered...
1103
+ {If --rollback-on-regression disabled}
1104
+ ⚠️ Awaiting manual decision: [rollback | accept | investigate]
1105
+ [If all passing for full duration]
1106
+ ✓ Deployment validation complete: All checks passed, no regressions
1107
+ ```
1108
+
1109
+ ### Step 5: Rollback (If Failure or Regression Detected)
1110
+
1111
+ **Purpose**: Automated rollback execution if SLO breach, regression, or failure detected
1112
+
1113
+ **Trigger Conditions**:
1114
+ - SLO breach detected (error rate, latency, throughput)
1115
+ - Smoke test failure
1116
+ - Infrastructure health degraded or unhealthy
1117
+ - **Regression detected at production gate** (if `--rollback-on-regression` enabled)
1118
+ - Manual abort by user
1119
+
1120
+ **Your Actions**:
1121
+
1122
+ 1. **Execute Strategy-Specific Rollback**:
1123
+ ```
1124
+ Task(
1125
+ subagent_type="devops-engineer",
1126
+ description="Execute automated rollback",
1127
+ prompt="""
1128
+ ROLLBACK TRIGGERED: {reason - SLO breach | smoke test failure | infrastructure failure | regression detected}
1129
+
1130
+ Execute rollback strategy: {Blue-Green | Canary | Rolling}
1131
+
1132
+ **Blue-Green Rollback**:
1133
+ 1. Switch traffic back to blue environment (instant cutover)
1134
+ 2. Verify traffic flowing to blue (100% blue, 0% green)
1135
+ 3. Confirm SLOs return to baseline
1136
+ 4. Scale down green environment (optional, for cost)
1137
+
1138
+ **Canary Rollback**:
1139
+ 1. Abort canary rollout (stop progressive promotion)
1140
+ 2. Scale down canary pods to 0
1141
+ 3. Verify baseline serving 100% traffic
1142
+ 4. Confirm SLOs return to baseline
1143
+
1144
+ **Rolling Rollback**:
1145
+ 1. Trigger rollout undo (revert to previous version)
1146
+ 2. Wait for all pods to rollback to previous version
1147
+ 3. Verify all pods running previous version
1148
+ 4. Confirm SLOs return to baseline
1149
+
1150
+ Log all rollback actions with timestamps
1151
+
1152
+ Report:
1153
+ - Rollback trigger: {reason}
1154
+ - Rollback strategy: {strategy}
1155
+ - Rollback status: SUCCESS | FAILED
1156
+ - Duration: {minutes}
1157
+ - Traffic distribution: {current}
1158
+ - SLOs post-rollback: {status}
1159
+
1160
+ Save to: .aiwg/deployment/rollback-execution-log.md
1161
+
1162
+ If rollback FAILED: CRITICAL ESCALATION to Incident Commander
1163
+ """
1164
+ )
1165
+ ```
1166
+
1167
+ 2. **Verify Rollback Success**:
1168
+ ```
1169
+ Task(
1170
+ subagent_type="reliability-engineer",
1171
+ description="Validate rollback successful",
1172
+ prompt="""
1173
+ Verify rollback restored stable state
1174
+
1175
+ Validate:
1176
+ - [ ] Old version serving 100% traffic
1177
+ - [ ] SLOs returned to baseline (error rate, latency)
1178
+ - [ ] Smoke tests passing on rolled-back version
1179
+ - [ ] No active alerts or incidents
1180
+ - [ ] Infrastructure health restored
1181
+
1182
+ Generate rollback validation report:
1183
+ - Status: SUCCESS | PARTIAL | FAILED
1184
+ - SLOs: {current vs. baseline}
1185
+ - Smoke tests: {PASS | FAIL}
1186
+ - Stability: {STABLE | UNSTABLE}
1187
+
1188
+ Save to: .aiwg/working/deployment/rollback-validation-report.md
1189
+
1190
+ If rollback FAILED or PARTIAL: CRITICAL ESCALATION
1191
+ """
1192
+ )
1193
+ ```
1194
+
1195
+ 3. **Post-Rollback Regression Verification**:
1196
+ ```
1197
+ # Only if rollback triggered by regression
1198
+
1199
+ Task(
1200
+ subagent_type="regression-analyst",
1201
+ description="Verify rollback eliminated regression",
1202
+ prompt="""
1203
+ Rollback complete, verify regression eliminated
1204
+
1205
+ Execute regression check post-rollback:
1206
+ - Baseline: Production (pre-deployment snapshot)
1207
+ - Candidate: Production (post-rollback)
1208
+
1209
+ Command: /regression-check --baseline production-pre-deploy --candidate production-post-rollback --scope critical
1210
+
1211
+ Validate:
1212
+ - [ ] Regression eliminated (rate back to 0%)
1213
+ - [ ] All tests back to passing
1214
+ - [ ] Metrics returned to baseline
1215
+
1216
+ Generate post-rollback regression report:
1217
+ - Regression eliminated: YES | NO
1218
+ - Tests restored: {count}/{total}
1219
+ - Metrics restored: {error rate, latency, throughput}
1220
+
1221
+ Output: .aiwg/deployment/regression-verification-post-rollback.md
1222
+
1223
+ If regression NOT eliminated: Deeper issue, escalate
1224
+ """
1225
+ )
1226
+ ```
1227
+
1228
+ 4. **Declare Incident and Initiate RCA**:
1229
+ ```
1230
+ Task(
1231
+ subagent_type="incident-commander",
1232
+ description="Declare incident and start root cause analysis",
1233
+ prompt="""
1234
+ Deployment failed, rollback executed
1235
+
1236
+ Declare incident:
1237
+ - Severity: P0 (if production impact) | P1 (if rollback successful)
1238
+ - Summary: Deployment rollback - {reason}
1239
+ - Impact: {describe user/business impact}
1240
+ - Timeline: {deployment start → failure detected → rollback completed}
1241
+
1242
+ Include regression details if applicable:
1243
+ - Regression rate: {percentage}
1244
+ - Regression threshold: {threshold}
1245
+ - Specific regressions: {test failures, metric degradations}
1246
+
1247
+ Initiate root cause analysis:
1248
+ - Assemble incident response team
1249
+ - Preserve all logs and metrics (deployment logs, SLO data, infrastructure snapshots, regression reports)
1250
+ - Schedule incident review meeting
1251
+
1252
+ Use template: $AIWG_ROOT/.../templates/deployment/incident-report-template.md
1253
+
1254
+ Output incident report: .aiwg/deployment/rollback-report-{version}.md
1255
+ """
1256
+ )
1257
+ ```
1258
+
1259
+ **Communicate Progress**:
1260
+ ```
1261
+ ❌ Deployment failure detected: {reason}
1262
+ {If regression triggered}
1263
+ ⚠️ Regression detected: {rate}% > threshold {threshold}%
1264
+ ⏳ Executing automated rollback...
1265
+ ✓ Rollback execution: {SUCCESS | FAILED}
1266
+ ✓ Rollback validation: {SUCCESS | PARTIAL | FAILED}
1267
+ ✓ Regression verification: {ELIMINATED | PERSISTS}
1268
+ ✓ Incident declared: {incident-id}
1269
+ ✓ Rollback complete: Production restored to previous version
1270
+ ```
1271
+
1272
+ ### Step 6: Generate Deployment Report (Success Path)
1273
+
1274
+ **Purpose**: Document successful deployment with metrics and lessons learned
1275
+
1276
+ **Your Actions**:
1277
+
1278
+ 1. **Synthesize Deployment Summary**:
1279
+ ```
1280
+ Task(
1281
+ subagent_type="deployment-manager",
1282
+ description="Generate comprehensive deployment report",
1283
+ prompt="""
1284
+ Read all deployment artifacts:
1285
+ - .aiwg/deployment/deployment-readiness-report.md (pre-flight)
1286
+ - .aiwg/deployment/regression-gate-staging.md (staging regression check)
1287
+ - .aiwg/working/deployment/execution-log-*.md (deployment actions)
1288
+ - .aiwg/deployment/slo-monitoring-report.md (SLO validation)
1289
+ - .aiwg/deployment/regression-gate-production.md (production regression check)
1290
+ - .aiwg/working/deployment/smoke-test-results-*.md (test results)
1291
+ - .aiwg/working/deployment/infrastructure-health-report.md (health checks)
1292
+
1293
+ Generate Deployment Summary Report:
1294
+
1295
+ 1. Overview
1296
+ - Status: SUCCESS | ROLLBACK
1297
+ - Version: {version}
1298
+ - Strategy: {Blue-Green | Canary | Rolling}
1299
+ - Duration: {total deployment time}
1300
+
1301
+ 2. Deployment Timeline
1302
+ - Pre-deployment validation: {timestamp, duration}
1303
+ - Staging regression gate: {timestamp, result}
1304
+ - Deployment execution: {timestamp, duration, strategy milestones}
1305
+ - Smoke tests: {timestamp, duration}
1306
+ - SLO monitoring: {timestamp, duration}
1307
+ - Production regression gate: {timestamp, result}
1308
+ - Completion: {timestamp}
1309
+
1310
+ 3. Pre-Deployment Validation Results
1311
+ - Quality gates: {status}
1312
+ - Environment health: {status}
1313
+ - Rollback readiness: {status}
1314
+
1315
+ 4. Regression Gate Results
1316
+ - Staging gate: {PASS | FAIL, regression rate: {rate}%}
1317
+ - Production gate: {PASS | FAIL, regression rate: {rate}%}
1318
+ - Threshold: {threshold}%
1319
+ - Rollback triggered: {YES | NO}
1320
+
1321
+ 5. Deployment Execution Details (strategy-specific)
1322
+ - {Blue-Green: green deployment, cutover, blue retirement}
1323
+ - {Canary: 1-5%, 25%, 50%, 100% progression}
1324
+ - {Rolling: node-by-node updates}
1325
+
1326
+ 6. SLO Metrics
1327
+ - Error rate: {baseline vs. post-deployment vs. target}
1328
+ - Latency p99: {baseline vs. post-deployment vs. target}
1329
+ - Throughput: {baseline vs. post-deployment}
1330
+ - Availability: {uptime percentage}
1331
+
1332
+ 7. Smoke Test Results
1333
+ - Critical path tests: {passed/total}
1334
+ - API tests: {passed/total}
1335
+ - Database tests: {passed/total}
1336
+ - Integration tests: {passed/total}
1337
+
1338
+ 8. Infrastructure Health
1339
+ - Pods: {running/total, restarts}
1340
+ - Nodes: {healthy/total}
1341
+ - Alerts triggered: {count, resolved}
1342
+
1343
+ 9. Issues and Resolutions
1344
+ - {list any issues encountered and how resolved}
1345
+
1346
+ 10. Lessons Learned
1347
+ - What went well: {list successes}
1348
+ - What could improve: {list improvement opportunities}
1349
+ - Action items: {concrete actions for future deployments}
1350
+
1351
+ 11. Approvals and Sign-offs
1352
+ - Deployment Manager: {name, timestamp}
1353
+ - Reliability Engineer: {name, timestamp}
1354
+ - Operations Lead: {name, timestamp}
1355
+
1356
+ Use template: $AIWG_ROOT/.../templates/deployment/deployment-report-template.md
1357
+
1358
+ Output: .aiwg/reports/deployment-report-{version}.md
1359
+ """
1360
+ )
1361
+ ```
1362
+
1363
+ 2. **Archive Workflow Artifacts**:
1364
+ ```
1365
+ # You handle archiving directly
1366
+
1367
+ Archive complete deployment workflow:
1368
+ - Move .aiwg/working/deployment/ to .aiwg/archive/{date}/deployment-{version}/
1369
+ - Create audit trail: .aiwg/archive/{date}/deployment-{version}/audit-trail.md
1370
+
1371
+ Audit trail includes:
1372
+ - Timeline of all agent actions
1373
+ - Decision points and outcomes
1374
+ - Regression gate results
1375
+ - SLO metrics snapshots
1376
+ - Final deployment report location
1377
+ ```
1378
+
1379
+ **Communicate Progress**:
1380
+ ```
1381
+ ⏳ Generating deployment report...
1382
+ ✓ Deployment report complete: .aiwg/reports/deployment-report-{version}.md
1383
+ ✓ Workflow archived: .aiwg/archive/{date}/deployment-{version}/
1384
+ ```
1385
+
1386
+ ### Step 7: Notify Stakeholders and Update Documentation
1387
+
1388
+ **Purpose**: Communicate deployment outcome and update operational documentation
1389
+
1390
+ **Your Actions**:
1391
+
1392
+ 1. **Generate Stakeholder Notification**:
1393
+ ```
1394
+ Task(
1395
+ subagent_type="support-lead",
1396
+ description="Draft stakeholder notification",
1397
+ prompt="""
1398
+ Read deployment report: .aiwg/reports/deployment-report-{version}.md
1399
+
1400
+ Draft stakeholder notification email:
1401
+
1402
+ Subject: Production Deployment {SUCCESS | COMPLETED WITH ROLLBACK} - Version {version}
1403
+
1404
+ Body:
1405
+ - Deployment status: {SUCCESS | ROLLBACK}
1406
+ - Version deployed: {version}
1407
+ - Strategy used: {Blue-Green | Canary | Rolling}
1408
+ - Duration: {total time}
1409
+ - Regression gates: {PASSED | FAILED}
1410
+ - SLO metrics: {error rate, latency, availability}
1411
+ - User impact: {None | Minimal | Moderate}
1412
+ - Next steps: {monitoring, support readiness, known issues}
1413
+
1414
+ Audience:
1415
+ - Executive stakeholders
1416
+ - Product team
1417
+ - Customer support team
1418
+ - Engineering team
1419
+
1420
+ Save notification draft to: .aiwg/working/deployment/stakeholder-notification-{version}.md
1421
+
1422
+ Note: User must review and send notification
1423
+ """
1424
+ )
1425
+ ```
1426
+
1427
+ 2. **Update Operational Runbooks**:
1428
+ ```
1429
+ Task(
1430
+ subagent_type="deployment-manager",
1431
+ description="Update deployment runbooks with lessons learned",
1432
+ prompt="""
1433
+ Read lessons learned from deployment report
1434
+
1435
+ Update deployment runbooks with improvements:
1436
+ - Process improvements identified
1437
+ - New smoke tests to add
1438
+ - SLO threshold adjustments
1439
+ - Regression gate threshold tuning
1440
+ - Monitoring improvements
1441
+ - Rollback procedure refinements
1442
+
1443
+ Document updates to: .aiwg/deployment/deployment-runbook-updates-{version}.md
1444
+
1445
+ Note: User should review and apply to operational documentation
1446
+ """
1447
+ )
1448
+ ```
1449
+
1450
+ **Communicate Progress**:
1451
+ ```
1452
+ ✓ Stakeholder notification drafted: .aiwg/working/deployment/stakeholder-notification-{version}.md
1453
+ ✓ Runbook updates documented: .aiwg/deployment/deployment-runbook-updates-{version}.md
1454
+ ```
1455
+
1456
+ ## Final Summary Report
1457
+
1458
+ **Present to User**:
1459
+
1460
+ ```
1461
+ ─────────────────────────────────────────────
1462
+ Production Deployment Complete
1463
+ ─────────────────────────────────────────────
1464
+
1465
+ **Status**: {SUCCESS | ROLLBACK}
1466
+ **Version**: {version}
1467
+ **Strategy**: {Blue-Green | Canary | Rolling}
1468
+ **Duration**: {total deployment time}
1469
+
1470
+ **Timeline**:
1471
+ - Pre-deployment validation: {duration}
1472
+ - Staging regression gate: {PASS | FAIL, regression {rate}%}
1473
+ - Deployment execution: {duration}
1474
+ - SLO monitoring: {duration}
1475
+ - Production regression gate: {PASS | FAIL, regression {rate}%}
1476
+ - Total: {total duration}
1477
+
1478
+ **Regression Gates**:
1479
+ ✓ Staging gate: {PASS | FAIL} (threshold: {threshold}%)
1480
+ ✓ Production gate: {PASS | FAIL} (threshold: {threshold}%)
1481
+ {If regression detected}
1482
+ ⚠️ Regression: {rate}% {≤ | >} threshold {threshold}%
1483
+ {If rollback triggered}
1484
+ ✓ Automatic rollback: {SUCCESS | FAILED}
1485
+
1486
+ **SLO Metrics**:
1487
+ ✓ Error rate: {current}% (target: <{target}%)
1488
+ ✓ Latency p99: {current}ms (target: <{target}ms)
1489
+ ✓ Throughput: {current} req/s (baseline: {baseline} req/s)
1490
+ ✓ Availability: {percentage}%
1491
+
1492
+ **Smoke Tests**: {passed}/{total} passed
1493
+
1494
+ **Infrastructure**: {pods} pods running, {nodes} nodes healthy
1495
+
1496
+ **Artifacts Generated**:
1497
+ - Deployment Readiness Report: .aiwg/deployment/deployment-readiness-report.md
1498
+ - Staging Regression Gate: .aiwg/deployment/regression-gate-staging.md
1499
+ - Production Regression Gate: .aiwg/deployment/regression-gate-production.md
1500
+ - SLO Monitoring Report: .aiwg/deployment/slo-monitoring-report.md
1501
+ - Deployment Summary Report: .aiwg/reports/deployment-report-{version}.md
1502
+ {If rollback}
1503
+ - Rollback Report: .aiwg/deployment/rollback-report-{version}.md
1504
+ - Regression Impact Assessment: .aiwg/deployment/regression-impact-assessment-*.md
1505
+ - Incident Report: {link to incident}
1506
+
1507
+ **Next Steps**:
1508
+ - Review deployment report for lessons learned
1509
+ - Send stakeholder notification (draft ready)
1510
+ - Update operational runbooks with improvements
1511
+ - Continue monitoring SLOs for 24-48 hours
1512
+ {If rollback}
1513
+ - Conduct incident review meeting
1514
+ - Perform root cause analysis on regression
1515
+ - Fix issues identified
1516
+ - Plan re-deployment
1517
+
1518
+ ─────────────────────────────────────────────
1519
+ ```
1520
+
1521
+ ## Regression-Blocked Deployment Example
1522
+
1523
+ **Scenario**: Staging regression gate detects 8% test failure rate (threshold: 5%)
1524
+
1525
+ ```
1526
+ ─────────────────────────────────────────────
1527
+ Deployment BLOCKED: Staging Regression Gate Failed
1528
+ ─────────────────────────────────────────────
1529
+
1530
+ **Status**: BLOCKED
1531
+ **Version**: v2026.1.5
1532
+ **Strategy**: Blue-Green
1533
+ **Regression Detected**: 8.0% > threshold 5.0%
1534
+
1535
+ **Staging Regression Gate**:
1536
+ ❌ FAILED: 8.0% regression rate exceeds threshold
1537
+ - Test failures: 12 new failures (150 total, 138 baseline)
1538
+ - Metric degradations:
1539
+ • Error rate: 0.15% (+0.12% from baseline)
1540
+ • Latency p99: 580ms (+18% from baseline)
1541
+ - Critical path: 2/10 user journeys failing
1542
+
1543
+ **Impact Assessment**:
1544
+ - Severity: HIGH
1545
+ - Affected areas: Authentication, Payment processing
1546
+ - Root cause: New rate limiting logic breaking retry logic
1547
+ - User impact: 15-20% of login attempts would fail
1548
+
1549
+ **Remediation Required**:
1550
+ 1. Revert rate limiting changes (commit abc123)
1551
+ 2. Add retry backoff logic to authentication client
1552
+ 3. Update tests to cover rate limiting scenarios
1553
+ 4. Re-deploy to staging and re-run regression check
1554
+
1555
+ **Artifacts**:
1556
+ - Regression gate report: .aiwg/deployment/regression-gate-staging.md
1557
+ - Impact assessment: .aiwg/deployment/regression-impact-assessment-staging.md
1558
+
1559
+ **Decision**: Deployment BLOCKED until regressions resolved
1560
+
1561
+ ─────────────────────────────────────────────
1562
+ ```
1563
+
1564
+ ## Quality Gates
1565
+
1566
+ Before marking workflow complete, verify:
1567
+ - [ ] Pre-deployment validation passed (quality gates, environment health, rollback plan)
1568
+ - [ ] Staging regression gate passed (or deployment blocked if failed)
1569
+ - [ ] Deployment executed successfully (strategy-specific milestones)
1570
+ - [ ] Smoke tests passed (production validation)
1571
+ - [ ] SLOs met for monitoring duration (15-30 minutes)
1572
+ - [ ] Production regression gate passed (or rollback triggered if failed)
1573
+ - [ ] Deployment report generated with metrics and lessons learned
1574
+ - [ ] Regression gate results documented
1575
+ - [ ] Artifacts saved to .aiwg/deployment/ and .aiwg/reports/
1576
+ - [ ] Working drafts archived to .aiwg/archive/
1577
+ - [ ] Stakeholder notification drafted
1578
+
1579
+ ## User Communication
1580
+
1581
+ **At start**: Confirm understanding and strategy
1582
+
1583
+ ```
1584
+ Understood. I'll orchestrate the production deployment.
1585
+
1586
+ Strategy: {Blue-Green | Canary | Rolling}
1587
+ Version: {version}
1588
+ Duration: {expected deployment time}
1589
+ Regression Threshold: {threshold}%
1590
+ Rollback on Regression: {enabled | disabled}
1591
+
1592
+ This will:
1593
+ - Validate deployment readiness (quality gates, environment, rollback)
1594
+ - Staging regression gate (block if regression > {threshold}%)
1595
+ - Execute {strategy} deployment with continuous monitoring
1596
+ - Production regression gate (rollback if regression > {threshold}%)
1597
+ - Run smoke tests and SLO validation
1598
+ - Automated rollback on failure or regression
1599
+ - Generate comprehensive deployment report
1600
+
1601
+ Expected duration: {30-90 minutes for deployment, 10-15 minutes orchestration}
1602
+
1603
+ Starting orchestration...
1604
+ ```
1605
+
1606
+ **During**: Update progress with clear indicators
1607
+
1608
+ ```
1609
+ ✓ = Complete
1610
+ ⏳ = In progress
1611
+ ❌ = Error/blocked
1612
+ ⚠️ = Warning/attention needed
1613
+ ```
1614
+
1615
+ **At end**: Summary report with status and artifacts (see Final Summary Report above)
1616
+
1617
+ ## Error Handling
1618
+
1619
+ **Quality Gate Failure**:
1620
+ ```
1621
+ ❌ Pre-deployment validation failed: {gate-name}
1622
+
1623
+ Gaps identified:
1624
+ - {list missing approvals or failures}
1625
+
1626
+ Recommendation: Resolve gate failures before proceeding
1627
+ - Command: /gate-check transition
1628
+ - Fix: {specific actions to resolve each gap}
1629
+
1630
+ Deployment BLOCKED until all gates pass.
1631
+ ```
1632
+
1633
+ **Staging Regression Gate Failure**:
1634
+ ```
1635
+ ❌ Staging regression gate failed: {regression-rate}% > threshold {threshold}%
1636
+
1637
+ Regressions detected:
1638
+ - Test failures: {count new failures}
1639
+ - Metric degradations: {error rate, latency, throughput}
1640
+ - Critical paths affected: {list user journeys}
1641
+
1642
+ Impact assessment: .aiwg/deployment/regression-impact-assessment-staging.md
1643
+
1644
+ Recommendation: Fix regressions before production deployment
1645
+ - Root cause: {likely causes}
1646
+ - Fix: {specific remediation actions}
1647
+ - Re-test: Run /regression-check after fixes
1648
+
1649
+ Deployment BLOCKED until regressions resolved.
1650
+ ```
1651
+
1652
+ **Environment Health Degraded**:
1653
+ ```
1654
+ ❌ Production environment unhealthy: {issue-description}
1655
+
1656
+ Issues:
1657
+ - {list infrastructure problems}
1658
+
1659
+ Recommendation: Resolve environment issues before deploying
1660
+ - Check: {kubectl commands to diagnose}
1661
+ - Fix: {specific remediation actions}
1662
+
1663
+ Deployment BLOCKED until environment healthy.
1664
+ ```
1665
+
1666
+ **Deployment Execution Failure**:
1667
+ ```
1668
+ ❌ Deployment failed during execution: {error-message}
1669
+
1670
+ Error: {description}
1671
+
1672
+ Recommended Actions:
1673
+ 1. Review deployment logs: {path}
1674
+ 2. Check {specific components}: {diagnostic commands}
1675
+ 3. Fix identified issue
1676
+ 4. Re-run deployment
1677
+
1678
+ No rollback needed (failure before cutover to new version).
1679
+ ```
1680
+
1681
+ **SLO Breach Detected**:
1682
+ ```
1683
+ ❌ SLO breach detected: {slo-name}
1684
+ - Current: {current-value}
1685
+ - Target: {target-value}
1686
+ - Threshold: {threshold-value}
1687
+
1688
+ Automated rollback TRIGGERED
1689
+
1690
+ ⏳ Executing rollback...
1691
+ ✓ Rollback complete: Production restored to version {previous-version}
1692
+ ✓ SLOs returned to baseline
1693
+
1694
+ Incident declared: {incident-id}
1695
+ Root cause analysis initiated.
1696
+
1697
+ Recommended Actions:
1698
+ 1. Review SLO monitoring report: {path}
1699
+ 2. Analyze failure reason: {likely causes}
1700
+ 3. Fix issues identified
1701
+ 4. Validate in staging
1702
+ 5. Plan re-deployment
1703
+ ```
1704
+
1705
+ **Production Regression Gate Failure**:
1706
+ ```
1707
+ ❌ Production regression gate failed: {regression-rate}% > threshold {threshold}%
1708
+
1709
+ Regressions detected:
1710
+ - Test failures: {count new failures}
1711
+ - Metric degradations: {error rate, latency, availability}
1712
+ - User journeys affected: {list critical paths}
1713
+
1714
+ {If --rollback-on-regression enabled}
1715
+ Automated rollback TRIGGERED
1716
+
1717
+ ⏳ Executing rollback...
1718
+ ✓ Rollback complete: Production restored to version {previous-version}
1719
+ ✓ Regression verification: {ELIMINATED | PERSISTS}
1720
+
1721
+ {If --rollback-on-regression disabled}
1722
+ ⚠️ Manual decision required:
1723
+ - [rollback] Rollback to previous version
1724
+ - [accept] Accept regression risk, continue monitoring
1725
+ - [investigate] Keep deployed, investigate root cause
1726
+
1727
+ Regression details: .aiwg/deployment/regression-gate-production.md
1728
+
1729
+ Incident declared: {incident-id}
1730
+ Root cause analysis initiated.
1731
+
1732
+ Recommended Actions:
1733
+ 1. Review regression gate report: {path}
1734
+ 2. Analyze regression root cause: {likely causes}
1735
+ 3. Fix issues identified
1736
+ 4. Validate in staging with /regression-check
1737
+ 5. Plan re-deployment or accept risk
1738
+ ```
1739
+
1740
+ **Rollback Failure (CRITICAL)**:
1741
+ ```
1742
+ ❌ CRITICAL: Rollback failed - {error-message}
1743
+
1744
+ This is a P0 production incident.
1745
+
1746
+ IMMEDIATE ACTIONS:
1747
+ 1. Escalate to Incident Commander
1748
+ 2. Assemble incident response team
1749
+ 3. Manual intervention required: {specific actions}
1750
+ 4. Notify all stakeholders of service disruption
1751
+
1752
+ Incident declared: {incident-id}
1753
+ Incident Commander: {contact info}
1754
+
1755
+ Do NOT attempt re-deployment until incident resolved.
1756
+ ```
1757
+
1758
+ **Smoke Test Failure**:
1759
+ ```
1760
+ ❌ Smoke tests failed: {test-name}
1761
+
1762
+ Failed tests:
1763
+ - {list failures with details}
1764
+
1765
+ If deployed to production: Automated rollback TRIGGERED
1766
+ If not yet cutover: Deployment STOPPED (no rollback needed)
1767
+
1768
+ Recommended Actions:
1769
+ 1. Review smoke test logs: {path}
1770
+ 2. Diagnose failure: {likely causes}
1771
+ 3. Fix issues identified
1772
+ 4. Re-run smoke tests in staging
1773
+ 5. Plan re-deployment
1774
+ ```
1775
+
1776
+ ## Success Criteria
1777
+
1778
+ This orchestration succeeds when:
1779
+ - [ ] Pre-deployment validation passed (all quality gates GO)
1780
+ - [ ] Deployment strategy selected and confirmed
1781
+ - [ ] Staging regression gate passed (regression ≤ threshold)
1782
+ - [ ] Deployment executed successfully (strategy-specific milestones)
1783
+ - [ ] Smoke tests passed (production validation)
1784
+ - [ ] SLOs met for monitoring duration (15-30 minutes)
1785
+ - [ ] Production regression gate passed (regression ≤ threshold)
1786
+ - [ ] No rollback triggered (or rollback successful if triggered)
1787
+ - [ ] Deployment report generated with metrics and lessons learned
1788
+ - [ ] Regression analysis documented
1789
+ - [ ] Stakeholder notification drafted
1790
+ - [ ] Operational runbooks updated with improvements
1791
+ - [ ] Complete audit trails archived
1792
+
1793
+ ## Metrics to Track
1794
+
1795
+ **During orchestration, track**:
1796
+ - Deployment duration: {total time from start to completion}
1797
+ - Regression rates: {staging and production}
1798
+ - SLO metrics: {error rate, latency, throughput, availability}
1799
+ - Smoke test pass rate: {passed/total}
1800
+ - Infrastructure health: {pods running, nodes healthy, alerts triggered}
1801
+ - Rollback count: {number of rollbacks triggered}
1802
+ - Regression-triggered rollbacks: {count}
1803
+ - Mean time to rollback (MTTR): {time from failure detection to rollback completion}
1804
+
1805
+ ## References
1806
+
1807
+ **Templates** (via $AIWG_ROOT):
1808
+ - Deployment Plan: `templates/deployment/deployment-plan-card.md`
1809
+ - Rollback Plan: `templates/deployment/rollback-plan-card.md`
1810
+ - SLO Definition: `templates/deployment/slo-definition-template.md`
1811
+ - Smoke Test Checklist: `templates/test/smoke-test-checklist.md`
1812
+ - Deployment Report: `templates/deployment/deployment-report-template.md`
1813
+ - Incident Report: `templates/deployment/incident-report-template.md`
1814
+
1815
+ **Gate Criteria**:
1816
+ - `flows/gate-criteria-by-phase.md` (Transition section)
1817
+
1818
+ **Schemas**:
1819
+ - @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/schemas/flows/regression-gate.yaml - Regression gate format
1820
+
1821
+ **Commands**:
1822
+ - @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/commands/regression-check.md - Regression detection command
1823
+
1824
+ **Agents**:
1825
+ - @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/agents/regression-analyst.md - Regression analysis agent
1826
+
1827
+ **Multi-Agent Pattern**:
1828
+ - `docs/multi-agent-documentation-pattern.md`
1829
+
1830
+ **Orchestrator Architecture**:
1831
+ - `docs/orchestrator-architecture.md`
1832
+
1833
+ **Natural Language Translations**:
1834
+ - `docs/simple-language-translations.md`