@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,1939 @@
1
+ ---
2
+ namespace: aiwg
3
+ name: flow-incident-response
4
+ platforms: [flue]
5
+ description: Orchestrate production incident triage, escalation, resolution, and post-incident review using ITIL best practices
6
+ commandHint:
7
+ argumentHint: <incident-id> [severity] [project-directory] [--guidance "text"] [--interactive]
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: Incident orchestration must preserve containment and evidence integrity.
15
+ ---
16
+
17
+ > **Declarative Flow (#1539):** This flow's orchestration is now also expressed as a
18
+ > declarative YAML Flow at `flows/flow-incident-response.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
+ # Incident Response Flow
23
+
24
+ **You are the Core Orchestrator** for production incident management and resolution.
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
+ ## Incident Response Overview
40
+
41
+ **Purpose**: Rapid detection, triage, escalation, resolution, and learning from production incidents
42
+
43
+ **Key Objectives**:
44
+ - Minimize user impact through rapid response
45
+ - Follow ITIL tier escalation (Tier 1 → Tier 2 → Tier 3)
46
+ - Conduct blameless post-incident reviews
47
+ - Drive continuous improvement through preventive actions
48
+
49
+ **Expected Duration**: P0 = 1-2h resolution, P1 = 4h, P2 = 24h (orchestration: 5-10 minutes)
50
+
51
+ ## Natural Language Triggers
52
+
53
+ Users may say:
54
+ - "Handle incident"
55
+ - "Production issue detected"
56
+ - "Incident response"
57
+ - "P0 incident"
58
+ - "Service down"
59
+ - "System outage"
60
+ - "Critical production issue"
61
+ - "Emergency response"
62
+
63
+ You recognize these as requests for this orchestration flow.
64
+
65
+ ## Parameter Handling
66
+
67
+ ### --guidance Parameter
68
+
69
+ **Purpose**: User provides upfront direction to tailor incident response priorities
70
+
71
+ **Examples**:
72
+ ```
73
+ --guidance "Security incident suspected, preserve forensics before mitigation"
74
+ --guidance "Performance degradation, focus on database query optimization"
75
+ --guidance "Payment processing down, revenue impact critical"
76
+ --guidance "Tight SLA window, prioritize fast rollback over investigation"
77
+ --guidance "First P0 for new team, need extra documentation and communication"
78
+ ```
79
+
80
+ **How to Apply**:
81
+ - Parse guidance for keywords: security, performance, compliance, revenue, data-loss
82
+ - Adjust agent assignments (add security-gatekeeper for security incidents)
83
+ - Modify escalation paths (immediate executive notification for revenue impact)
84
+ - Influence mitigation strategy (rollback vs hotfix vs investigation)
85
+ - Prioritize documentation depth (standard vs comprehensive for learning)
86
+
87
+ ### --interactive Parameter
88
+
89
+ **Purpose**: You ask 5-8 strategic questions to understand incident context
90
+
91
+ **Questions to Ask** (if --interactive):
92
+
93
+ ```
94
+ I'll ask 8 strategic questions to tailor incident response to your situation:
95
+
96
+ Q1: What is the observed user impact?
97
+ (e.g., complete outage, degraded performance, specific feature unavailable)
98
+
99
+ Q2: What percentage of users are affected?
100
+ (Helps me assign initial severity: P0 = >50%, P1 = 10-50%, P2 = <10%)
101
+
102
+ Q3: When did the issue start?
103
+ (Timeline helps identify triggering events: deployments, traffic spikes)
104
+
105
+ Q4: What recent changes occurred in the last 24 hours?
106
+ (Deployments, config changes, infrastructure updates - guides rollback decisions)
107
+
108
+ Q5: Is this security-related or involving data loss?
109
+ (Immediate escalation to security team, forensics preservation)
110
+
111
+ Q6: What is the business impact?
112
+ (Revenue loss, compliance risk, reputation damage - affects escalation urgency)
113
+
114
+ Q7: What is your on-call team's experience level?
115
+ (Helps me tailor runbook detail and escalation speed)
116
+
117
+ Q8: What is your current SLA status?
118
+ (Error budget remaining, time to SLA breach - affects mitigation strategy)
119
+
120
+ Based on your answers, I'll adjust:
121
+ - Severity classification (P0/P1/P2/P3)
122
+ - Escalation urgency (functional and hierarchical)
123
+ - Mitigation strategy priority (rollback vs investigation)
124
+ - Communication frequency (every 15 min vs hourly)
125
+ - Documentation depth (standard vs comprehensive PIR)
126
+ ```
127
+
128
+ **Synthesize Guidance**: Combine answers into structured guidance string for execution
129
+
130
+ ## Artifacts to Generate
131
+
132
+ **Primary Deliverables**:
133
+ - **Incident Record**: Initial detection and classification → `.aiwg/incidents/{incident-id}/incident-record.md`
134
+ - **Incident Timeline**: Chronological event log → `.aiwg/incidents/{incident-id}/timeline.md`
135
+ - **Triage Assessment**: Impact and urgency analysis → `.aiwg/incidents/{incident-id}/triage-assessment.md`
136
+ - **Regression Analysis**: Regression triage results → `.aiwg/incidents/{incident-id}/regression-analysis.md`
137
+ - **Root Cause Analysis**: 5 Whys and fishbone → `.aiwg/incidents/{incident-id}/root-cause-analysis.md`
138
+ - **Mitigation Report**: Resolution strategy and validation → `.aiwg/incidents/{incident-id}/mitigation-report.md`
139
+ - **Post-Incident Review (PIR)**: Blameless retrospective → `.aiwg/incidents/{incident-id}/post-incident-review.md`
140
+ - **Preventive Actions**: Tracked action items → `.aiwg/incidents/{incident-id}/preventive-actions.md`
141
+
142
+ **Supporting Artifacts**:
143
+ - Escalation logs (who, when, why)
144
+ - Communication templates (status page updates)
145
+ - Runbook updates (new troubleshooting steps)
146
+ - Knowledge base articles (lessons learned)
147
+
148
+ ## Multi-Agent Orchestration Workflow
149
+
150
+ ### Step 1: Incident Detection and Initial Logging
151
+
152
+ **Purpose**: Capture incident details immediately to enable rapid response
153
+
154
+ **Your Actions**:
155
+
156
+ 1. **Create Incident Directory**:
157
+ ```
158
+ # You do this directly (no agent needed)
159
+ mkdir -p .aiwg/incidents/{incident-id}/{logs,diagnostics,communications,actions}
160
+ ```
161
+
162
+ 2. **Launch Detection and Logging Agent**:
163
+ ```
164
+ Task(
165
+ subagent_type="incident-responder",
166
+ description="Create incident record and initial classification",
167
+ prompt="""
168
+ Incident ID: {incident-id}
169
+ Reported symptoms: {user-provided description}
170
+
171
+ Create Incident Record:
172
+
173
+ **Incident ID**: {incident-id}
174
+ **Detection Time**: {YYYY-MM-DD HH:MM:SS UTC}
175
+ **Reporter**: {user/system/alert}
176
+ **Detection Method**: {automated-alert | user-report | monitoring | manual}
177
+
178
+ ## Initial Description
179
+ {1-2 sentence summary of reported issue}
180
+
181
+ **User Impact**: {description of user-facing symptoms}
182
+ **Affected Systems**: {list systems/components based on description}
183
+ **Affected User Count**: {estimated count | UNKNOWN}
184
+
185
+ ## Initial Classification
186
+ **Severity**: {P0 | P1 | P2 | P3 | TBD}
187
+ **Category**: {availability | performance | functionality | security | data-integrity}
188
+
189
+ ## Assigned Team
190
+ **Incident Commander**: {TBD - to be assigned based on severity}
191
+ **On-Call Engineer**: {TBD - from on-call rotation}
192
+ **Status**: DETECTED
193
+
194
+ Save to: .aiwg/incidents/{incident-id}/incident-record.md
195
+
196
+ Also create initial timeline entry:
197
+ | Time | Event | Actor | Notes |
198
+ |------|-------|-------|-------|
199
+ | {HH:MM UTC} | Incident detected | {reporter} | {initial symptoms} |
200
+
201
+ Save to: .aiwg/incidents/{incident-id}/timeline.md
202
+ """
203
+ )
204
+ ```
205
+
206
+ 3. **Create Incident Communication Channel**:
207
+ ```
208
+ Task(
209
+ subagent_type="incident-responder",
210
+ description="Create incident alert and communication template",
211
+ prompt="""
212
+ Generate initial incident alert template:
213
+
214
+ ## Incident Alert: {incident-id}
215
+
216
+ **Status**: DETECTED
217
+ **Severity**: {P0/P1/P2/P3}
218
+ **Time**: {HH:MM UTC}
219
+
220
+ **Issue**: {brief description}
221
+ **User Impact**: {high-level impact}
222
+
223
+ **Assigned**: {on-call engineer}
224
+ **Next Update**: {estimated time}
225
+
226
+ **Incident Channel**: #incident-{YYYY-MM-DD}-{ID}
227
+ **Incident Dashboard**: {link to monitoring dashboard}
228
+
229
+ Save to: .aiwg/incidents/{incident-id}/communications/initial-alert.md
230
+ """
231
+ )
232
+ ```
233
+
234
+ **Communicate Progress**:
235
+ ```
236
+ ✓ Incident {incident-id} logged
237
+ ✓ Initial record created
238
+ ⏳ Proceeding to regression triage...
239
+ ```
240
+
241
+ ### Step 1.5: Regression Triage
242
+
243
+ **Purpose**: Determine if incident is a regression from recent changes to guide rollback decisions
244
+
245
+ **Your Actions**:
246
+
247
+ 1. **Launch Regression Detection Agent**:
248
+ ```
249
+ Task(
250
+ subagent_type="regression-analyst",
251
+ description="Determine if incident is a regression from recent changes",
252
+ prompt="""
253
+ Read incident record: .aiwg/incidents/{incident-id}/incident-record.md
254
+
255
+ Execute Regression Triage:
256
+
257
+ ## Step 1: Identify Recent Deployments
258
+
259
+ Check for recent deployments/changes:
260
+ - Use command: /regression-check --baseline last-deployment
261
+ - Review git log for last 24-48 hours
262
+ - Check deployment history from CI/CD
263
+ - Review configuration changes
264
+ - Check infrastructure updates
265
+
266
+ Document all recent changes with timestamps.
267
+
268
+ ## Step 2: Symptom Correlation
269
+
270
+ Compare incident symptoms against baseline:
271
+
272
+ **Symptom Pattern Matching**:
273
+ - Did this functionality work before? {YES | NO | UNKNOWN}
274
+ - When did it last work? {timestamp | UNKNOWN}
275
+ - What changed between working and broken? {specific change | UNKNOWN}
276
+
277
+ **Regression Indicators** (Check all that apply):
278
+ - [ ] Functionality worked in previous version
279
+ - [ ] Issue appeared immediately after deployment
280
+ - [ ] Issue correlates with specific commit/PR
281
+ - [ ] Similar pattern in staging/canary deployment
282
+ - [ ] Metrics show clear inflection point at deployment time
283
+
284
+ ## Step 3: Regression Verdict
285
+
286
+ **Is this a regression?**: {CONFIRMED | LIKELY | POSSIBLE | UNLIKELY | NOT_REGRESSION}
287
+
288
+ **Confidence**: {HIGH (>90%) | MEDIUM (70-90%) | LOW (<70%)}
289
+
290
+ **Evidence**:
291
+ 1. {evidence point 1}
292
+ 2. {evidence point 2}
293
+ 3. {evidence point 3}
294
+
295
+ Save initial assessment to: .aiwg/incidents/{incident-id}/regression-analysis.md (Step 1-3)
296
+
297
+ Append timeline:
298
+ | {HH:MM UTC} | Regression triage initiated | regression-analyst | Verdict: {CONFIRMED|LIKELY|POSSIBLE|UNLIKELY|NOT_REGRESSION} |
299
+ """
300
+ )
301
+ ```
302
+
303
+ 2. **If Regression Confirmed/Likely, Launch Regression Bisect**:
304
+ ```
305
+ # Only if regression verdict is CONFIRMED or LIKELY
306
+ Task(
307
+ subagent_type="regression-analyst",
308
+ description="Identify introducing change via bisect",
309
+ prompt="""
310
+ Read regression analysis: .aiwg/incidents/{incident-id}/regression-analysis.md
311
+
312
+ Since regression is {CONFIRMED|LIKELY}, identify introducing change:
313
+
314
+ ## Step 4: Bisect to Find Introducing Commit
315
+
316
+ Use command: /regression-bisect
317
+
318
+ Execute bisect process:
319
+ - Start: {last-known-good-commit}
320
+ - End: {current-broken-commit}
321
+ - Test: {reproduction steps or test case}
322
+
323
+ Document bisect process and result:
324
+
325
+ **Bisect Results**:
326
+ - **Introducing Commit**: {SHA}
327
+ - **Author**: {name}
328
+ - **Timestamp**: {YYYY-MM-DD HH:MM:SS}
329
+ - **PR/MR**: {PR-number} - {PR-title}
330
+ - **Commit Message**: {message}
331
+ - **Files Changed**: {count} files
332
+ - **Risk Assessment**: {LOW | MEDIUM | HIGH based on scope}
333
+
334
+ **Commit Details**:
335
+ ```
336
+ {git show {SHA} --stat output}
337
+ ```
338
+
339
+ **Related Changes**:
340
+ - [ ] Code changes in affected component
341
+ - [ ] Configuration changes
342
+ - [ ] Database migrations
343
+ - [ ] Dependency updates
344
+ - [ ] Infrastructure changes
345
+
346
+ Append to: .aiwg/incidents/{incident-id}/regression-analysis.md (Step 4)
347
+
348
+ Append timeline:
349
+ | {HH:MM UTC} | Introducing commit identified | regression-analyst | Commit: {SHA}, PR: {PR-number} |
350
+ """
351
+ )
352
+ ```
353
+
354
+ 3. **Rollback Feasibility Assessment**:
355
+ ```
356
+ Task(
357
+ subagent_type="reliability-engineer",
358
+ description="Assess rollback feasibility and calculate blast radius",
359
+ prompt="""
360
+ Read regression analysis: .aiwg/incidents/{incident-id}/regression-analysis.md
361
+
362
+ Since introducing change identified, assess rollback options:
363
+
364
+ ## Step 5: Rollback Feasibility
365
+
366
+ **Rollback Options**:
367
+
368
+ ### Option A: Full Rollback to Previous Version
369
+ - **Target Version**: {version before introducing commit}
370
+ - **Feasibility**: {SAFE | RISKY | BLOCKED}
371
+ - **Risk Factors**:
372
+ - [ ] Database migrations in between (incompatible schema)
373
+ - [ ] External API contract changes (breaking)
374
+ - [ ] Data written in new format (can't be read by old version)
375
+ - [ ] Dependent services already updated (coordination required)
376
+ - **Rollback Time**: {estimated minutes}
377
+ - **Data Loss Risk**: {NONE | MINIMAL | SIGNIFICANT}
378
+
379
+ ### Option B: Revert Specific Commit(s)
380
+ - **Commits to Revert**: {SHA1, SHA2, ...}
381
+ - **Feasibility**: {SAFE | RISKY | BLOCKED}
382
+ - **Conflicts**: {count} potential merge conflicts
383
+ - **Testing Required**: {minimal | moderate | extensive}
384
+ - **Revert + Deploy Time**: {estimated minutes}
385
+
386
+ ### Option C: Feature Flag Disable
387
+ - **Applicable**: {YES | NO}
388
+ - **Feature Flags Involved**: {flag-names}
389
+ - **Disable Time**: {estimated minutes} (near-instant)
390
+ - **Partial Rollback**: {which features disabled}
391
+
392
+ ### Option D: Hotfix Forward
393
+ - **Feasibility**: {VIABLE | NOT_VIABLE}
394
+ - **Fix Complexity**: {SIMPLE | MODERATE | COMPLEX}
395
+ - **Estimated Fix Time**: {minutes}
396
+ - **Testing Time**: {minutes}
397
+ - **Total Time**: {minutes}
398
+
399
+ **Recommended Option**: {A | B | C | D}
400
+ **Rationale**: {why this option is best given constraints}
401
+
402
+ ## Step 6: Blast Radius Calculation
403
+
404
+ **Scope of Introducing Change**:
405
+ - **Components Affected**: {list all components touched by change}
406
+ - **Services Impacted**: {list all services}
407
+ - **Dependencies**: {downstream systems affected}
408
+ - **Users Impacted**: {estimated count or percentage}
409
+ - **Geographic Scope**: {all regions | specific regions}
410
+ - **User Segments**: {all users | specific segments}
411
+
412
+ **Rollback Impact Assessment**:
413
+ - **Services Affected by Rollback**: {list}
414
+ - **Data Loss Risk**: {NONE | MINIMAL | ACCEPTABLE | UNACCEPTABLE}
415
+ - **Downtime Required**: {NONE | <5 min | 5-15 min | >15 min}
416
+ - **Coordination Required**: {list teams/services needing notification}
417
+
418
+ **Blast Radius Score**: {LOW | MEDIUM | HIGH}
419
+
420
+ Append to: .aiwg/incidents/{incident-id}/regression-analysis.md (Steps 5-6)
421
+
422
+ Append timeline:
423
+ | {HH:MM UTC} | Rollback feasibility assessed | reliability-engineer | Recommended: {option}, Blast radius: {score} |
424
+ """
425
+ )
426
+ ```
427
+
428
+ 4. **Immediate Action Recommendation**:
429
+ ```
430
+ Task(
431
+ subagent_type="regression-analyst",
432
+ description="Recommend immediate action based on regression analysis",
433
+ prompt="""
434
+ Read complete regression analysis: .aiwg/incidents/{incident-id}/regression-analysis.md
435
+
436
+ ## Step 7: Immediate Action Decision Matrix
437
+
438
+ Use decision matrix to recommend action:
439
+
440
+ | Regression Confidence | Rollback Risk | User Impact | Recommendation |
441
+ |-----------------------|---------------|-------------|----------------|
442
+ | CONFIRMED + HIGH | LOW | HIGH | **ROLLBACK IMMEDIATELY** |
443
+ | CONFIRMED + HIGH | LOW | MEDIUM | **ROLLBACK** |
444
+ | CONFIRMED + HIGH | MEDIUM | HIGH | **ROLLBACK with validation** |
445
+ | CONFIRMED + HIGH | HIGH | HIGH | **HOTFIX (rollback blocked)** |
446
+ | LIKELY + MEDIUM | LOW | HIGH | **ROLLBACK after quick validation** |
447
+ | LIKELY + MEDIUM | MEDIUM | HIGH | **INVESTIGATE + prepare rollback** |
448
+ | POSSIBLE + LOW | ANY | HIGH | **INVESTIGATE (parallel to Tier 1)** |
449
+ | UNLIKELY | ANY | ANY | **STANDARD TRIAGE (continue to Step 2)** |
450
+
451
+ **Current Situation**:
452
+ - Regression Confidence: {from Step 3}
453
+ - Rollback Risk: {from Step 5}
454
+ - User Impact: {from incident record}
455
+
456
+ **Recommended Immediate Action**: {action from matrix}
457
+
458
+ **Action Details**:
459
+ - **Action Type**: {ROLLBACK | HOTFIX | INVESTIGATE | STANDARD_TRIAGE}
460
+ - **Urgency**: {IMMEDIATE (<5 min) | URGENT (<15 min) | NORMAL (standard SLA)}
461
+ - **Prerequisites**: {any validation or approval needed}
462
+ - **Execution Steps**: {high-level steps}
463
+ - **Fallback Plan**: {if this action fails}
464
+
465
+ **Communication**:
466
+ - Notify Incident Commander: {key finding summary}
467
+ - Notify Deployment Manager: {rollback decision if applicable}
468
+ - Update status: "Regression {CONFIRMED|LIKELY|POSSIBLE}, {action} in progress"
469
+
470
+ Append to: .aiwg/incidents/{incident-id}/regression-analysis.md (Step 7)
471
+
472
+ Append timeline:
473
+ | {HH:MM UTC} | Immediate action recommended | regression-analyst | Action: {ROLLBACK|HOTFIX|INVESTIGATE|STANDARD_TRIAGE} |
474
+ """
475
+ )
476
+ ```
477
+
478
+ 5. **Update Regression Register**:
479
+ ```
480
+ Task(
481
+ subagent_type="regression-analyst",
482
+ description="Record regression in regression register",
483
+ prompt="""
484
+ If regression is CONFIRMED or LIKELY, update regression register:
485
+
486
+ Read regression analysis: .aiwg/incidents/{incident-id}/regression-analysis.md
487
+
488
+ Update regression register with incident:
489
+
490
+ **Regression Entry**:
491
+ ```yaml
492
+ regression_id: REG-{YYYY-MM-DD}-{sequence}
493
+ incident_id: {incident-id}
494
+ detection_date: {YYYY-MM-DD}
495
+ severity: {P0|P1|P2|P3}
496
+
497
+ introducing_change:
498
+ commit_sha: {SHA}
499
+ pr_number: {PR-number}
500
+ author: {name}
501
+ merge_date: {YYYY-MM-DD}
502
+ deployment_date: {YYYY-MM-DD}
503
+
504
+ regression_category: {functional | performance | security | data-integrity}
505
+
506
+ affected_functionality:
507
+ component: {component-name}
508
+ feature: {feature-name}
509
+ user_facing: {YES|NO}
510
+
511
+ detection_gap:
512
+ escaped_testing: {unit | integration | e2e | manual | staging}
513
+ detection_time: {hours from deployment to detection}
514
+ reason: {why tests didn't catch this}
515
+
516
+ mitigation_action: {rollback | hotfix | feature-flag-disable}
517
+ mitigation_time: {minutes from detection to resolution}
518
+
519
+ preventive_actions:
520
+ - {action 1 to prevent recurrence}
521
+ - {action 2 to improve detection}
522
+
523
+ status: {OPEN | MITIGATED | ANALYZED | CLOSED}
524
+ ```
525
+
526
+ Save to: .aiwg/regression/register/{regression-id}.yaml
527
+
528
+ Also update regression summary:
529
+ Append one-line entry to: .aiwg/regression/regression-register-summary.md
530
+
531
+ | {regression-id} | {incident-id} | {YYYY-MM-DD} | {P0|P1|P2} | {commit-SHA} | {category} | {status} |
532
+
533
+ Cross-reference in incident:
534
+ Append to: .aiwg/incidents/{incident-id}/regression-analysis.md
535
+
536
+ ## Regression Register Entry
537
+
538
+ This incident has been registered as: **{regression-id}**
539
+
540
+ See: @.aiwg/regression/register/{regression-id}.yaml
541
+
542
+ Append timeline:
543
+ | {HH:MM UTC} | Regression registered | regression-analyst | Registered as: {regression-id} |
544
+ """
545
+ )
546
+ ```
547
+
548
+ **Decision Flow**:
549
+ ```
550
+ Regression Triage Decision Tree:
551
+
552
+ 1. Is this a regression?
553
+ ├─ CONFIRMED/LIKELY → Proceed to rollback assessment
554
+ │ ├─ Rollback SAFE + HIGH user impact → Execute rollback immediately
555
+ │ ├─ Rollback RISKY or BLOCKED → Proceed to hotfix path
556
+ │ └─ Rollback SAFE + LOW user impact → Prepare rollback, investigate in parallel
557
+ │
558
+ ├─ POSSIBLE → Continue standard triage in parallel with regression investigation
559
+ │
560
+ └─ UNLIKELY/NOT_REGRESSION → Continue to standard triage (Step 2)
561
+ ```
562
+
563
+ **Communicate Progress**:
564
+ ```
565
+ ✓ Incident logged
566
+ ⏳ Regression triage in progress...
567
+ ✓ Recent deployments identified: {count} in last {hours}h
568
+ ✓ Regression verdict: {CONFIRMED|LIKELY|POSSIBLE|UNLIKELY|NOT_REGRESSION}
569
+ {✓ Introducing commit identified: {SHA}, PR: {PR-number}}
570
+ {✓ Rollback feasibility: {SAFE|RISKY|BLOCKED}}
571
+ ✓ Recommended action: {ROLLBACK|HOTFIX|INVESTIGATE|STANDARD_TRIAGE}
572
+ {✓ Regression registered: {regression-id}}
573
+ ⏳ {Executing immediate rollback | Proceeding to hotfix development | Continuing to standard triage}...
574
+ ```
575
+
576
+ ### Step 2: Triage and Severity Assessment
577
+
578
+ **Purpose**: Rapidly assess severity and assign priority using Impact × Urgency matrix
579
+
580
+ **Your Actions**:
581
+
582
+ 1. **Launch Triage Agents** (parallel):
583
+ ```
584
+ # Agent 1: Impact Assessment
585
+ Task(
586
+ subagent_type="incident-responder",
587
+ description="Assess incident impact (user effect)",
588
+ prompt="""
589
+ Read incident record: .aiwg/incidents/{incident-id}/incident-record.md
590
+
591
+ Assess Impact Level:
592
+
593
+ **User Impact Assessment**:
594
+ - Affected Users: {count or percentage}
595
+ - Severity of Effect: {complete outage | severe degradation | minor issue}
596
+ - Impact Level: {HIGH | MEDIUM | LOW}
597
+
598
+ Criteria:
599
+ - HIGH: Complete service outage OR >50% users affected OR data loss/corruption
600
+ - MEDIUM: Severe degradation OR 10-50% users affected OR critical feature unavailable
601
+ - LOW: Minor degradation OR <10% users affected OR cosmetic issue
602
+
603
+ **Business Impact**:
604
+ - Revenue Impact: {$amount | NONE}
605
+ - Compliance Risk: {YES | NO}
606
+ - Reputation Risk: {HIGH | MEDIUM | LOW}
607
+ - User Safety Risk: {YES | NO}
608
+
609
+ **Affected Systems**: {list all affected components, services, integrations}
610
+
611
+ Save to: .aiwg/incidents/{incident-id}/triage-assessment.md (Impact section)
612
+ """
613
+ )
614
+
615
+ # Agent 2: Urgency Assessment
616
+ Task(
617
+ subagent_type="reliability-engineer",
618
+ description="Assess incident urgency (time sensitivity)",
619
+ prompt="""
620
+ Read incident record: .aiwg/incidents/{incident-id}/incident-record.md
621
+
622
+ Assess Urgency Level:
623
+
624
+ **Urgency Assessment**:
625
+ - Time Sensitivity: {immediate | hours | days}
626
+ - Worsening Trend: {rapidly degrading | stable | improving}
627
+ - Urgency Level: {HIGH | MEDIUM | LOW}
628
+
629
+ Criteria:
630
+ - HIGH: Immediate resolution required, worsening rapidly, SLA breach imminent
631
+ - MEDIUM: Resolution needed within hours, stable degradation
632
+ - LOW: Resolution can be scheduled, no time pressure
633
+
634
+ **SLA Breach Risk**:
635
+ - Current Availability: {percentage}%
636
+ - SLA Target: {percentage}%
637
+ - Error Budget Remaining: {percentage}%
638
+ - Time to SLA Breach: {estimated time}
639
+
640
+ Append to: .aiwg/incidents/{incident-id}/triage-assessment.md (Urgency section)
641
+ """
642
+ )
643
+ ```
644
+
645
+ 2. **Synthesize Priority Classification**:
646
+ ```
647
+ Task(
648
+ subagent_type="incident-responder",
649
+ description="Determine incident priority from Impact × Urgency",
650
+ prompt="""
651
+ Read triage assessment: .aiwg/incidents/{incident-id}/triage-assessment.md
652
+
653
+ Determine Priority using matrix:
654
+
655
+ | Impact/Urgency | High Urgency | Medium Urgency | Low Urgency |
656
+ |----------------|--------------|----------------|-------------|
657
+ | High Impact | P0 (Critical) | P1 (High) | P2 (Medium) |
658
+ | Medium Impact | P1 (High) | P2 (Medium) | P3 (Low) |
659
+ | Low Impact | P2 (Medium) | P3 (Low) | P3 (Low) |
660
+
661
+ **Priority**: {P0 | P1 | P2 | P3}
662
+
663
+ **Response SLA**:
664
+ - P0: Acknowledgment immediate, Engage 15 min, Resolve 1-2h, Updates every 15 min
665
+ - P1: Acknowledgment 5 min, Engage 30 min, Resolve 4h, Updates every 30 min
666
+ - P2: Acknowledgment 30 min, Engage 4h, Resolve 24h, Updates daily
667
+ - P3: Acknowledgment 1 business day, Standard backlog process
668
+
669
+ **Escalation Path**:
670
+ - P0: Page on-call → Incident Commander → Deployment Manager → Executive (30 min)
671
+ - P1: Alert on-call → Incident Commander → Component Owner → Management (2h)
672
+ - P2: Create ticket → On-call triage → Component Owner if needed
673
+ - P3: Standard backlog
674
+
675
+ **Incident Commander Assignment** (P0/P1 only):
676
+ - Assign Incident Commander: {name or role}
677
+ - Assign Technical Lead: {on-call engineer or component owner}
678
+ - Assign Communications Lead: {support lead or PM}
679
+
680
+ Update incident record with priority and assignments
681
+ Save to: .aiwg/incidents/{incident-id}/incident-record.md
682
+
683
+ Append timeline:
684
+ | {HH:MM UTC} | Triage complete, severity {P0/P1/P2/P3} assigned | incident-responder | Impact: {HIGH/MED/LOW}, Urgency: {HIGH/MED/LOW} |
685
+ | {HH:MM UTC} | Incident Commander assigned | {name} | {P0/P1 only} |
686
+
687
+ Append to: .aiwg/incidents/{incident-id}/timeline.md
688
+ """
689
+ )
690
+ ```
691
+
692
+ **Communicate Progress**:
693
+ ```
694
+ ✓ Incident detected
695
+ ⏳ Assessing impact and urgency...
696
+ ✓ Impact: {HIGH/MEDIUM/LOW}
697
+ ✓ Urgency: {HIGH/MEDIUM/LOW}
698
+ ✓ Priority assigned: {P0/P1/P2/P3}
699
+ ✓ Incident Commander assigned: {name} (P0/P1)
700
+ ⏳ Initiating functional escalation (Tier 1)...
701
+ ```
702
+
703
+ ### Step 3: Functional Escalation (Tier 1 → Tier 2 → Tier 3)
704
+
705
+ **Purpose**: Engage appropriate expertise based on incident complexity
706
+
707
+ **Your Actions**:
708
+
709
+ 1. **Tier 1 Response (First 15-30 minutes)**:
710
+ ```
711
+ Task(
712
+ subagent_type="reliability-engineer",
713
+ description="Tier 1 response: Runbook execution and data gathering",
714
+ prompt="""
715
+ Read incident record: .aiwg/incidents/{incident-id}/incident-record.md
716
+
717
+ Execute Tier 1 Response:
718
+
719
+ ## Initial Actions (First 5 minutes)
720
+ - [ ] Acknowledge incident
721
+ - [ ] Confirm user impact (reproduce if possible)
722
+ - [ ] Check recent deployments/changes (last 24h)
723
+ - [ ] Review monitoring dashboards for anomalies
724
+ - [ ] Identify applicable runbook: deployment/runbook-{scenario}.md
725
+
726
+ ## Data Gathering
727
+ Collect diagnostic data:
728
+ - System health (pods, nodes, services status)
729
+ - Recent deployments (git log, rollout history)
730
+ - Logs (last 500 lines from affected services)
731
+ - Metrics (error rate, latency, throughput)
732
+ - Database health (active connections, slow queries)
733
+
734
+ Document actions taken and results.
735
+
736
+ ## Escalation Decision (Tier 1 → Tier 2)
737
+ Escalate if:
738
+ - Runbook not available OR issue unresolved after {15 min P0 | 30 min P1}
739
+ - Requires deep component knowledge or code changes
740
+ - Database, network, or infrastructure issue suspected
741
+
742
+ If escalation needed, document:
743
+ - Why escalating (specific reason)
744
+ - Data collected (attach logs, metrics)
745
+ - Hypotheses tested (what was tried)
746
+
747
+ Save diagnostic data to: .aiwg/incidents/{incident-id}/diagnostics/tier1-data.md
748
+
749
+ Append timeline with all actions taken.
750
+ """
751
+ )
752
+ ```
753
+
754
+ 2. **Tier 2 Response (If escalated)**:
755
+ ```
756
+ Task(
757
+ subagent_type="component-owner",
758
+ description="Tier 2 response: Advanced troubleshooting and code review",
759
+ prompt="""
760
+ Read incident record: .aiwg/incidents/{incident-id}/incident-record.md
761
+ Read Tier 1 data: .aiwg/incidents/{incident-id}/diagnostics/tier1-data.md
762
+
763
+ Execute Tier 2 Response:
764
+
765
+ ## Handoff from Tier 1
766
+ - Review incident summary and diagnostic data
767
+ - Review actions already taken by Tier 1
768
+ - Review relevant runbooks and recent changes
769
+
770
+ ## Advanced Troubleshooting
771
+ - Deep log analysis (error patterns, stack traces)
772
+ - Code review for recent changes (git diff last 48h)
773
+ - Reproduce issue in non-prod environment (if possible)
774
+ - Check component dependencies (upstream/downstream services)
775
+ - Analyze performance profiles (CPU, memory, query execution plans)
776
+
777
+ ## Root Cause Hypothesis
778
+ Formulate hypothesis:
779
+
780
+ **Hypothesis**: {statement of suspected root cause}
781
+
782
+ **Evidence**:
783
+ 1. {log pattern or metric anomaly}
784
+ 2. {recent deployment or config change}
785
+ 3. {external dependency status}
786
+
787
+ **Test Plan**:
788
+ - [ ] {validation step 1}
789
+ - [ ] {validation step 2}
790
+
791
+ ## Escalation Decision (Tier 2 → Tier 3)
792
+ Escalate if:
793
+ - Architectural issue or design flaw suspected
794
+ - Vendor/third-party dependency issue
795
+ - Unresolved after {30 min P0 | 1 hour P1}
796
+ - Emergency code fix required (hotfix approval needed)
797
+
798
+ Save hypothesis and findings to: .aiwg/incidents/{incident-id}/diagnostics/tier2-analysis.md
799
+
800
+ Append timeline with advanced troubleshooting results.
801
+ """
802
+ )
803
+ ```
804
+
805
+ 3. **Tier 3 Response (If escalated)**:
806
+ ```
807
+ Task(
808
+ subagent_type="architecture-designer",
809
+ description="Tier 3 response: Architectural analysis and emergency decisions",
810
+ prompt="""
811
+ Read all prior diagnostics:
812
+ - .aiwg/incidents/{incident-id}/diagnostics/tier1-data.md
813
+ - .aiwg/incidents/{incident-id}/diagnostics/tier2-analysis.md
814
+
815
+ Execute Tier 3 Response:
816
+
817
+ ## Architectural Analysis
818
+ - Review system design for fundamental issues
819
+ - Evaluate scalability/capacity constraints
820
+ - Consider architectural trade-offs (CAP theorem, consistency models)
821
+ - Engage vendor support if third-party dependency issue
822
+
823
+ ## Emergency Decision Authority
824
+ Provide decisions on:
825
+ - Emergency architecture changes (approve/reject)
826
+ - Vendor escalation (initiate if needed)
827
+ - Hotfix deployment outside normal process (approve with conditions)
828
+ - Temporary workaround vs. full fix (recommend approach)
829
+
830
+ Document architectural assessment and decisions:
831
+ Save to: .aiwg/incidents/{incident-id}/diagnostics/tier3-architecture-assessment.md
832
+
833
+ Append timeline with architectural decisions.
834
+ """
835
+ )
836
+ ```
837
+
838
+ **Communicate Progress**:
839
+ ```
840
+ ✓ Priority assigned: {P0/P1/P2/P3}
841
+ ⏳ Tier 1 response initiated...
842
+ ✓ Runbook executed: {runbook-name}
843
+ ✓ Diagnostic data collected
844
+ ⚠️ Escalating to Tier 2 (reason: {escalation-reason})
845
+ ⏳ Tier 2 response: Component Owner engaged...
846
+ ✓ Root cause hypothesis: {hypothesis}
847
+ {✓ Hypothesis confirmed | ⚠️ Escalating to Tier 3}
848
+ ```
849
+
850
+ ### Step 4: Hierarchical Escalation (Management / Executive)
851
+
852
+ **Purpose**: Notify leadership when business impact warrants executive involvement
853
+
854
+ **Your Actions**:
855
+
856
+ 1. **Management Notification (P0/P1)**:
857
+ ```
858
+ Task(
859
+ subagent_type="project-manager",
860
+ description="Notify management per escalation matrix",
861
+ prompt="""
862
+ Read incident record: .aiwg/incidents/{incident-id}/incident-record.md
863
+
864
+ Determine if management notification required:
865
+
866
+ **Trigger**:
867
+ - P0: Within 30 minutes of detection (automatic)
868
+ - P1: Within 2 hours if unresolved
869
+ - P2: If user impact escalates or SLA breach imminent
870
+
871
+ Generate management notification:
872
+
873
+ Subject: [{P0 | P1} INCIDENT] {brief-title} - {status}
874
+
875
+ **Incident ID**: {incident-id}
876
+ **Severity**: {P0/P1}
877
+ **Start Time**: {HH:MM UTC}
878
+ **Duration**: {elapsed-time}
879
+
880
+ **User Impact**: {high-level description}
881
+ **Affected Users**: {count | percentage}
882
+ **Business Impact**: {revenue loss | compliance risk | reputation impact}
883
+
884
+ **Current Status**: {INVESTIGATING | MITIGATING | RESOLVED}
885
+ **Root Cause**: {hypothesis or confirmed}
886
+ **ETA to Resolution**: {estimated time | UNKNOWN}
887
+
888
+ **Incident Commander**: {name}
889
+ **Next Update**: {time}
890
+
891
+ Save to: .aiwg/incidents/{incident-id}/communications/management-notification.md
892
+
893
+ Append timeline: Management notified
894
+ """
895
+ )
896
+ ```
897
+
898
+ 2. **Executive Escalation (P0 Critical)**:
899
+ ```
900
+ Task(
901
+ subagent_type="project-manager",
902
+ description="Notify executive leadership for P0 or major business impact",
903
+ prompt="""
904
+ Read incident record: .aiwg/incidents/{incident-id}/incident-record.md
905
+
906
+ Determine if executive notification required:
907
+
908
+ **Trigger**:
909
+ - P0: If unresolved after 2 hours OR major business impact
910
+ - Security breach or data loss (immediate)
911
+ - Public/media attention likely
912
+ - Regulatory reporting required
913
+
914
+ Generate executive notification:
915
+
916
+ Subject: [EXECUTIVE ALERT] P0 Incident - {brief-title}
917
+
918
+ **Business Impact Summary**:
919
+ - Revenue Impact: {$amount estimated}
920
+ - User Impact: {count} users / {percentage}% of user base
921
+ - Compliance Risk: {YES/NO - describe}
922
+ - Reputation Risk: {HIGH/MEDIUM/LOW}
923
+
924
+ **Incident Summary**:
925
+ {2-3 sentence summary of issue and response}
926
+
927
+ **Current Status**: {status}
928
+ **ETA to Resolution**: {time}
929
+ **Incident Commander**: {name}
930
+
931
+ **Executive Action Needed**:
932
+ {NONE | DECISION REQUIRED | AWARENESS ONLY}
933
+
934
+ **Next Update**: {time}
935
+
936
+ Save to: .aiwg/incidents/{incident-id}/communications/executive-notification.md
937
+
938
+ Append timeline: Executive leadership notified
939
+ """
940
+ )
941
+ ```
942
+
943
+ 3. **Status Page Communication (P0/P1)**:
944
+ ```
945
+ Task(
946
+ subagent_type="incident-responder",
947
+ description="Generate status page update template",
948
+ prompt="""
949
+ Create public-facing status page update:
950
+
951
+ {YYYY-MM-DD HH:MM UTC} - Investigating
952
+ We are currently investigating an issue affecting {service/feature}.
953
+ Users may experience {specific symptoms}. We will provide updates every {15|30|60} minutes.
954
+
955
+ Save template to: .aiwg/incidents/{incident-id}/communications/status-page-update.md
956
+
957
+ Note: Update within 30 minutes for P0, 1 hour for P1
958
+ """
959
+ )
960
+ ```
961
+
962
+ **Communicate Progress**:
963
+ ```
964
+ ✓ Tier 2 analysis complete
965
+ ⏳ Escalating per severity matrix...
966
+ ✓ Management notified (P0/P1)
967
+ {✓ Executive notified (P0 >2h or critical business impact) | ⊘ Executive notification not required}
968
+ ✓ Status page update template created
969
+ ⏳ Proceeding to root cause analysis and mitigation...
970
+ ```
971
+
972
+ ### Step 5: Root Cause Analysis
973
+
974
+ **Purpose**: Identify root cause using structured methodologies (5 Whys, Fishbone)
975
+
976
+ **Your Actions**:
977
+
978
+ 1. **Launch RCA Agents** (parallel):
979
+ ```
980
+ # Agent 1: 5 Whys Analysis
981
+ Task(
982
+ subagent_type="incident-responder",
983
+ description="Conduct 5 Whys root cause analysis",
984
+ prompt="""
985
+ Read diagnostics:
986
+ - .aiwg/incidents/{incident-id}/diagnostics/tier1-data.md
987
+ - .aiwg/incidents/{incident-id}/diagnostics/tier2-analysis.md
988
+ - .aiwg/incidents/{incident-id}/diagnostics/tier3-architecture-assessment.md (if exists)
989
+
990
+ Conduct 5 Whys Analysis:
991
+
992
+ **Problem Statement**: {what happened}
993
+
994
+ 1. **Why did {problem} occur?**
995
+ - Because {reason-1}
996
+
997
+ 2. **Why did {reason-1} occur?**
998
+ - Because {reason-2}
999
+
1000
+ 3. **Why did {reason-2} occur?**
1001
+ - Because {reason-3}
1002
+
1003
+ 4. **Why did {reason-3} occur?**
1004
+ - Because {reason-4}
1005
+
1006
+ 5. **Why did {reason-4} occur?**
1007
+ - Because {root-cause}
1008
+
1009
+ **Root Cause**: {final answer from 5th why}
1010
+
1011
+ **Validation**: {test to confirm root cause}
1012
+
1013
+ Save to: .aiwg/incidents/{incident-id}/root-cause-analysis.md (5 Whys section)
1014
+ """
1015
+ )
1016
+
1017
+ # Agent 2: Contributing Factors (Fishbone)
1018
+ Task(
1019
+ subagent_type="reliability-engineer",
1020
+ description="Identify contributing factors using Ishikawa diagram",
1021
+ prompt="""
1022
+ Read diagnostics and 5 Whys analysis
1023
+
1024
+ Analyze Contributing Factors:
1025
+
1026
+ **Problem**: {incident title}
1027
+
1028
+ ### People
1029
+ - {factor 1: e.g., insufficient training}
1030
+ - {factor 2: e.g., on-call fatigue}
1031
+
1032
+ ### Process
1033
+ - {factor 1: e.g., inadequate testing}
1034
+ - {factor 2: e.g., unclear runbook}
1035
+
1036
+ ### Technology
1037
+ - {factor 1: e.g., database connection pool exhaustion}
1038
+ - {factor 2: e.g., monitoring gap}
1039
+
1040
+ ### Environment
1041
+ - {factor 1: e.g., traffic spike}
1042
+ - {factor 2: e.g., resource constraints}
1043
+
1044
+ **Primary Root Cause**: {from 5 Whys}
1045
+ **Contributing Factors**: {list key factors from above}
1046
+
1047
+ Append to: .aiwg/incidents/{incident-id}/root-cause-analysis.md (Contributing Factors section)
1048
+ """
1049
+ )
1050
+ ```
1051
+
1052
+ **Communicate Progress**:
1053
+ ```
1054
+ ✓ Hierarchical escalation complete
1055
+ ⏳ Conducting root cause analysis...
1056
+ ✓ 5 Whys analysis: Root cause identified as {root-cause}
1057
+ ✓ Contributing factors analysis: {count} factors identified
1058
+ ✓ Root cause analysis complete: .aiwg/incidents/{incident-id}/root-cause-analysis.md
1059
+ ⏳ Implementing mitigation strategy...
1060
+ ```
1061
+
1062
+ ### Step 6: Mitigation and Resolution
1063
+
1064
+ **Purpose**: Implement workaround or fix to restore service and eliminate user impact
1065
+
1066
+ **Your Actions**:
1067
+
1068
+ 1. **Select Mitigation Strategy**:
1069
+ ```
1070
+ Task(
1071
+ subagent_type="incident-responder",
1072
+ description="Select mitigation strategy based on root cause",
1073
+ prompt="""
1074
+ Read root cause analysis: .aiwg/incidents/{incident-id}/root-cause-analysis.md
1075
+
1076
+ Evaluate Mitigation Options:
1077
+
1078
+ **Option 1: Rollback** (fastest, safest for deployment-related incidents)
1079
+ - Use Case: Recent deployment caused issue, old version was stable
1080
+ - Time to Mitigate: 5-15 minutes
1081
+ - Risk: Low (return to known-good state)
1082
+
1083
+ **Option 2: Hotfix** (targeted code fix)
1084
+ - Use Case: Bug fix required, rollback not viable
1085
+ - Time to Mitigate: 30 minutes - 2 hours
1086
+ - Risk: Medium (new code, limited testing)
1087
+
1088
+ **Option 3: Configuration Change** (parameter adjustment)
1089
+ - Use Case: Resource limits, timeouts, feature flags
1090
+ - Time to Mitigate: 10-30 minutes
1091
+ - Risk: Low-Medium (no code change)
1092
+
1093
+ **Option 4: Workaround** (temporary user-side solution)
1094
+ - Use Case: Fix requires significant time, need immediate relief
1095
+ - Time to Mitigate: Immediate (communication)
1096
+ - Risk: Low (no system change)
1097
+
1098
+ **Option 5: Infrastructure Scaling** (resource addition)
1099
+ - Use Case: Capacity issue, traffic spike
1100
+ - Time to Mitigate: 10-20 minutes
1101
+ - Risk: Low-Medium (cost implications)
1102
+
1103
+ **Selected Strategy**: {option}
1104
+ **Rationale**: {why this option was chosen}
1105
+ **Implementation Plan**: {specific steps}
1106
+ **Rollback Plan**: {if mitigation fails, how to revert}
1107
+
1108
+ Save to: .aiwg/incidents/{incident-id}/mitigation-report.md (Strategy section)
1109
+ """
1110
+ )
1111
+ ```
1112
+
1113
+ 2. **Execute Mitigation** (agent depends on strategy):
1114
+ ```
1115
+ # If Rollback
1116
+ Task(
1117
+ subagent_type="devops-engineer",
1118
+ description="Execute rollback procedure",
1119
+ prompt="""
1120
+ Execute rollback based on deployment strategy:
1121
+
1122
+ Use existing deployment command:
1123
+ /flow-deploy-to-production --rollback
1124
+
1125
+ Document rollback execution:
1126
+ - Rollback timestamp
1127
+ - Previous version: {old-version}
1128
+ - Rolled back to: {stable-version}
1129
+ - Verification: smoke tests, metrics
1130
+
1131
+ Append to: .aiwg/incidents/{incident-id}/mitigation-report.md (Execution section)
1132
+ Append timeline: Rollback executed
1133
+ """
1134
+ )
1135
+
1136
+ # If Hotfix
1137
+ Task(
1138
+ subagent_type="devops-engineer",
1139
+ description="Deploy emergency hotfix",
1140
+ prompt="""
1141
+ Execute hotfix deployment:
1142
+
1143
+ 1. Create hotfix branch: hotfix/INC-{incident-ID}-{brief-description}
1144
+ 2. Implement minimal fix (code change already identified)
1145
+ 3. Test in staging (smoke tests, regression tests)
1146
+ 4. Deploy to production using standard flow
1147
+ 5. Monitor for 15 minutes (metrics validation)
1148
+
1149
+ Get Deployment Manager approval before production deploy.
1150
+
1151
+ Document hotfix deployment:
1152
+ - Hotfix commit SHA
1153
+ - Deployment timestamp
1154
+ - Validation results
1155
+
1156
+ Append to: .aiwg/incidents/{incident-id}/mitigation-report.md (Execution section)
1157
+ Append timeline: Hotfix deployed
1158
+ """
1159
+ )
1160
+
1161
+ # If Configuration Change
1162
+ Task(
1163
+ subagent_type="reliability-engineer",
1164
+ description="Apply configuration change",
1165
+ prompt="""
1166
+ Apply configuration change:
1167
+
1168
+ Document:
1169
+ - Parameter changed: {config-parameter}
1170
+ - Old value: {old-value}
1171
+ - New value: {new-value}
1172
+ - Restart required: {YES/NO}
1173
+ - Validation: {how to verify fix}
1174
+
1175
+ Append to: .aiwg/incidents/{incident-id}/mitigation-report.md (Execution section)
1176
+ Append timeline: Configuration updated
1177
+ """
1178
+ )
1179
+ ```
1180
+
1181
+ 3. **Validate Resolution**:
1182
+ ```
1183
+ Task(
1184
+ subagent_type="reliability-engineer",
1185
+ description="Validate mitigation resolves incident",
1186
+ prompt="""
1187
+ Validate mitigation success:
1188
+
1189
+ ## Validation Tests
1190
+ - [ ] Smoke tests passed
1191
+ - [ ] Error rate returned to baseline (<{threshold}%)
1192
+ - [ ] Latency returned to SLA (p95 <{target}ms)
1193
+ - [ ] User journey validation (critical paths working)
1194
+ - [ ] Monitored for 15-30 minutes (stability confirmed)
1195
+
1196
+ ## Metrics Validation
1197
+ - Error rate: {current}% (baseline: {baseline}%, target: <{threshold}%)
1198
+ - Latency p95: {current}ms (baseline: {baseline}ms, target: <{target}ms)
1199
+ - Throughput: {current} req/s (baseline: {baseline} req/s)
1200
+
1201
+ **Resolution Status**: {RESOLVED | PARTIALLY RESOLVED | NOT RESOLVED}
1202
+
1203
+ If RESOLVED:
1204
+ - Update incident record: Status → RESOLVED
1205
+ - Record resolution time
1206
+ - Prepare user communication
1207
+
1208
+ Save validation results to: .aiwg/incidents/{incident-id}/mitigation-report.md (Validation section)
1209
+
1210
+ Append timeline:
1211
+ | {HH:MM UTC} | Mitigation validated, incident RESOLVED | reliability-engineer | Total duration: {duration} |
1212
+ """
1213
+ )
1214
+ ```
1215
+
1216
+ 4. **User Communication**:
1217
+ ```
1218
+ Task(
1219
+ subagent_type="incident-responder",
1220
+ description="Generate resolution communication",
1221
+ prompt="""
1222
+ Create resolution communication:
1223
+
1224
+ ## Status Page Update
1225
+ {YYYY-MM-DD HH:MM UTC} - Resolved
1226
+ The issue affecting {service/feature} has been resolved.
1227
+ Service is operating normally. We apologize for the disruption.
1228
+ Root cause: {brief explanation}.
1229
+ A detailed post-incident review will be published within 48 hours.
1230
+
1231
+ ## Internal Notification
1232
+ Subject: [RESOLVED] {incident-id} - {title}
1233
+
1234
+ **Status**: RESOLVED
1235
+ **Resolution Time**: {HH:MM UTC}
1236
+ **Total Duration**: {hours:minutes}
1237
+
1238
+ **Resolution Summary**: {brief description of fix}
1239
+ **User Impact**: {summary of user experience during incident}
1240
+
1241
+ **Next Steps**: Post-incident review scheduled for {date/time}
1242
+
1243
+ Save to: .aiwg/incidents/{incident-id}/communications/resolution-notification.md
1244
+ """
1245
+ )
1246
+ ```
1247
+
1248
+ **Communicate Progress**:
1249
+ ```
1250
+ ✓ Root cause identified: {root-cause}
1251
+ ⏳ Implementing mitigation strategy: {strategy}...
1252
+ ✓ Mitigation executed: {details}
1253
+ ✓ Validation tests: PASSED
1254
+ ✓ Metrics returned to baseline
1255
+ ✓ Incident RESOLVED (duration: {HH:MM})
1256
+ ✓ User communication sent
1257
+ ⏳ Scheduling post-incident review...
1258
+ ```
1259
+
1260
+ ### Step 7: Post-Incident Review (PIR)
1261
+
1262
+ **Purpose**: Conduct blameless retrospective to learn from incident and prevent recurrence
1263
+
1264
+ **Your Actions**:
1265
+
1266
+ 1. **Schedule PIR Meeting**:
1267
+ ```
1268
+ Task(
1269
+ subagent_type="project-manager",
1270
+ description="Schedule post-incident review meeting",
1271
+ prompt="""
1272
+ Schedule PIR based on severity:
1273
+
1274
+ **Timing**:
1275
+ - P0: Within 24 hours of resolution
1276
+ - P1: Within 48 hours of resolution
1277
+ - P2: Within 1 week (optional)
1278
+ - P3: No PIR required
1279
+
1280
+ **Duration**: 60 minutes
1281
+
1282
+ **Required Attendees**:
1283
+ - Incident Commander (facilitator)
1284
+ - On-call engineer(s) involved
1285
+ - Component Owner(s)
1286
+ - Reliability Engineer
1287
+ - Support Lead (if user-facing impact)
1288
+
1289
+ **Optional Attendees**:
1290
+ - Product Owner
1291
+ - Project Manager
1292
+ - Security Gatekeeper (if security-related)
1293
+
1294
+ **Agenda**:
1295
+ 1. Timeline reconstruction (10 min)
1296
+ 2. Root cause analysis (15 min)
1297
+ 3. Contributing factors discussion (10 min)
1298
+ 4. What went well (10 min)
1299
+ 5. What could improve (10 min)
1300
+ 6. Preventive actions brainstorm (15 min)
1301
+
1302
+ Document meeting details:
1303
+ Save to: .aiwg/incidents/{incident-id}/pir-meeting-invite.md
1304
+ """
1305
+ )
1306
+ ```
1307
+
1308
+ 2. **Generate PIR Document**:
1309
+ ```
1310
+ Task(
1311
+ subagent_type="incident-responder",
1312
+ description="Create comprehensive post-incident review document",
1313
+ prompt="""
1314
+ Read all incident artifacts:
1315
+ - .aiwg/incidents/{incident-id}/incident-record.md
1316
+ - .aiwg/incidents/{incident-id}/timeline.md
1317
+ - .aiwg/incidents/{incident-id}/triage-assessment.md
1318
+ - .aiwg/incidents/{incident-id}/regression-analysis.md (if exists)
1319
+ - .aiwg/incidents/{incident-id}/root-cause-analysis.md
1320
+ - .aiwg/incidents/{incident-id}/mitigation-report.md
1321
+
1322
+ Generate Post-Incident Review:
1323
+
1324
+ # Post-Incident Review: {incident-id}
1325
+
1326
+ **Incident ID**: {incident-id}
1327
+ **Date**: {YYYY-MM-DD}
1328
+ **Severity**: {P0/P1/P2}
1329
+ **Duration**: {hours:minutes from detection to resolution}
1330
+ **User Impact**: {count} users affected, {duration} minutes downtime
1331
+
1332
+ ## Executive Summary
1333
+ {2-3 sentence summary of what happened, why, and resolution}
1334
+
1335
+ **Root Cause**: {one-sentence root cause}
1336
+ **Resolution**: {one-sentence resolution}
1337
+
1338
+ ## Timeline
1339
+ {Copy detailed timeline from timeline.md}
1340
+
1341
+ ## Regression Analysis (if applicable)
1342
+
1343
+ {If regression-analysis.md exists, include summary:}
1344
+ - **Regression Detected**: {YES|NO}
1345
+ - **Introducing Change**: {commit SHA, PR number}
1346
+ - **Regression Category**: {functional|performance|security|data-integrity}
1347
+ - **Detection Gap**: {why tests didn't catch this}
1348
+ - **Regression Register Entry**: @.aiwg/regression/register/{regression-id}.yaml
1349
+
1350
+ ## Root Cause
1351
+ {Copy 5 Whys analysis and contributing factors}
1352
+
1353
+ ## Impact Assessment
1354
+
1355
+ ### User Impact
1356
+ - **Affected Users**: {count} users ({percentage}% of user base)
1357
+ - **User Symptoms**: {description of user experience}
1358
+ - **Downtime**: {duration} minutes {complete outage | degraded service}
1359
+ - **Failed Transactions**: {count}
1360
+
1361
+ ### Business Impact
1362
+ - **Revenue Impact**: ${amount} estimated
1363
+ - **Reputation Impact**: {HIGH/MEDIUM/LOW}
1364
+ - **Compliance Impact**: {NONE | describe}
1365
+
1366
+ ### SLO Impact
1367
+ - **Availability**: {percentage}% (Target: ≥99.9%)
1368
+ - **Error Budget Consumed**: {percentage}% of monthly budget
1369
+ - **SLA Breach**: {YES/NO}
1370
+
1371
+ ## Response Effectiveness
1372
+
1373
+ ### What Went Well
1374
+ 1. {positive aspect 1}
1375
+ 2. {positive aspect 2}
1376
+ 3. {positive aspect 3}
1377
+
1378
+ ### What Could Improve
1379
+ 1. {improvement area 1}
1380
+ 2. {improvement area 2}
1381
+ 3. {improvement area 3}
1382
+
1383
+ ## Preventive Actions
1384
+ {To be populated in next step}
1385
+
1386
+ ## Lessons Learned
1387
+
1388
+ ### Technical Lessons
1389
+ - {lesson 1}
1390
+ - {lesson 2}
1391
+
1392
+ ### Process Lessons
1393
+ - {lesson 1}
1394
+ - {lesson 2}
1395
+
1396
+ ### Communication Lessons
1397
+ - {lesson 1}
1398
+ - {lesson 2}
1399
+
1400
+ Save to: .aiwg/incidents/{incident-id}/post-incident-review.md
1401
+ """
1402
+ )
1403
+ ```
1404
+
1405
+ 3. **Create Preventive Actions**:
1406
+ ```
1407
+ Task(
1408
+ subagent_type="project-manager",
1409
+ description="Identify and track preventive actions",
1410
+ prompt="""
1411
+ Read PIR: .aiwg/incidents/{incident-id}/post-incident-review.md
1412
+
1413
+ Identify Preventive Actions in 3 categories:
1414
+
1415
+ ## Immediate Actions (Complete within 1 week)
1416
+ | Action | Owner | Due Date | Status |
1417
+ |--------|-------|----------|--------|
1418
+ | Fix {specific bug} | {engineer} | {date} | Open |
1419
+ | Add {metric} to monitoring | {reliability-engineer} | {date} | Open |
1420
+ | Update runbook with {scenario} | {on-call-engineer} | {date} | Open |
1421
+
1422
+ ## Short-Term Actions (Complete within 1 month)
1423
+ | Action | Owner | Due Date | Status |
1424
+ |--------|-------|----------|--------|
1425
+ | Add {test} to smoke tests | {test-engineer} | {date} | Open |
1426
+ | Implement {safeguard} | {architect} | {date} | Open |
1427
+ | Review {component} for similar issues | {component-owners} | {date} | Open |
1428
+
1429
+ ## Long-Term Actions (Complete within 3 months)
1430
+ | Action | Owner | Due Date | Status |
1431
+ |--------|-------|----------|--------|
1432
+ | Implement {automation} in CI/CD | {devops} | {date} | Open |
1433
+ | Conduct chaos engineering drill | {reliability-engineer} | {date} | Open |
1434
+ | Increase {resource} capacity | {infrastructure} | {date} | Open |
1435
+
1436
+ Save to: .aiwg/incidents/{incident-id}/preventive-actions.md
1437
+
1438
+ Create tracked tickets for each action (instructions for user):
1439
+ # Example: JIRA, GitHub Issues
1440
+ # jira create --project ACT --type Task --summary "[PIR-{incident-id}] {action}" --assignee {owner}
1441
+ """
1442
+ )
1443
+ ```
1444
+
1445
+ 4. **Update Runbooks and Knowledge Base**:
1446
+ ```
1447
+ Task(
1448
+ subagent_type="reliability-engineer",
1449
+ description="Update runbooks with incident learnings",
1450
+ prompt="""
1451
+ Create runbook update recommendations:
1452
+
1453
+ ## Runbook Update: {Scenario}
1454
+
1455
+ **Scenario**: {incident category}
1456
+
1457
+ **Symptoms**:
1458
+ - {symptom 1 from incident}
1459
+ - {symptom 2 from incident}
1460
+ - User impact: {typical user experience}
1461
+
1462
+ **Diagnosis**:
1463
+ {Commands/checks to identify this issue}
1464
+
1465
+ **Mitigation**:
1466
+ 1. Immediate: {fastest mitigation from incident}
1467
+ 2. Short-term: {temporary fix}
1468
+ 3. Long-term: {permanent fix}
1469
+
1470
+ **Escalation**: If unresolved after {time}, escalate to {Tier 2 role}
1471
+
1472
+ **Prevention**: {monitoring alerts, safeguards to add}
1473
+
1474
+ Save to: .aiwg/incidents/{incident-id}/runbook-update-recommendation.md
1475
+
1476
+ Also create knowledge base article template:
1477
+
1478
+ ## Knowledge Base Article: INC-{ID}
1479
+
1480
+ **Title**: How to Troubleshoot {Problem}
1481
+
1482
+ **Keywords**: {relevant keywords}
1483
+
1484
+ **Problem**: {user-facing problem description}
1485
+
1486
+ **Root Cause**: {technical root cause}
1487
+
1488
+ **Resolution Steps**: {link to runbook}
1489
+
1490
+ **Prevention**: {link to monitoring setup, safeguards}
1491
+
1492
+ **Related Incidents**: {list similar past incidents}
1493
+
1494
+ Save to: .aiwg/incidents/{incident-id}/knowledge-base-article.md
1495
+ """
1496
+ )
1497
+ ```
1498
+
1499
+ 5. **Link to Regression-Analyst for Deep Analysis** (if regression):
1500
+ ```
1501
+ Task(
1502
+ subagent_type="regression-analyst",
1503
+ description="Conduct deep regression analysis for PIR",
1504
+ prompt="""
1505
+ If incident was a regression (regression-analysis.md exists):
1506
+
1507
+ Read all regression artifacts:
1508
+ - .aiwg/incidents/{incident-id}/regression-analysis.md
1509
+ - .aiwg/regression/register/{regression-id}.yaml
1510
+
1511
+ Conduct deep regression analysis for PIR:
1512
+
1513
+ ## Regression Deep Dive
1514
+
1515
+ ### Test Gap Analysis
1516
+
1517
+ **Why Did Tests Not Catch This?**:
1518
+ - [ ] Unit test coverage gap: {specific scenario not covered}
1519
+ - [ ] Integration test coverage gap: {interaction not tested}
1520
+ - [ ] E2E test coverage gap: {user journey not validated}
1521
+ - [ ] Manual test coverage gap: {not in test plan}
1522
+ - [ ] Staging environment gap: {differs from production}
1523
+
1524
+ **Specific Missing Test**:
1525
+ - Test name: {suggested test name}
1526
+ - Test type: {unit | integration | e2e}
1527
+ - Test scenario: {what should be tested}
1528
+ - Test location: {where test should live}
1529
+
1530
+ ### PR Review Analysis
1531
+
1532
+ **PR Review Questions**:
1533
+ - Was this PR reviewed? {YES|NO}
1534
+ - Number of reviewers: {count}
1535
+ - Did reviewers identify risk? {YES|NO}
1536
+ - What could reviewers have caught? {specific issues}
1537
+
1538
+ **Review Process Improvement**:
1539
+ - [ ] Add specific checklist item: {item}
1540
+ - [ ] Require domain expert review for {type of change}
1541
+ - [ ] Add automated check: {what to check}
1542
+
1543
+ ### Deployment Process Analysis
1544
+
1545
+ **Deployment Safety**:
1546
+ - Was this deployed via canary? {YES|NO}
1547
+ - Canary duration: {minutes}
1548
+ - Canary detection: {what metrics were monitored}
1549
+ - Why didn't canary catch this? {specific reason}
1550
+
1551
+ **Deployment Improvement**:
1552
+ - [ ] Add canary metric: {metric to monitor}
1553
+ - [ ] Increase canary duration to: {minutes}
1554
+ - [ ] Add canary validation test: {test}
1555
+
1556
+ ### Pattern Analysis
1557
+
1558
+ **Similar Regressions**:
1559
+ Query regression register for similar patterns:
1560
+ - Same component: {count} previous regressions
1561
+ - Same category: {count} in last 90 days
1562
+ - Same author: {count} (blameless - for learning)
1563
+
1564
+ **Emerging Patterns**:
1565
+ - Is this component high-risk? {YES|NO - based on regression frequency}
1566
+ - Should this component require stricter gates? {YES|NO}
1567
+ - Should this component have dedicated ownership? {YES|NO}
1568
+
1569
+ Append to PIR: .aiwg/incidents/{incident-id}/post-incident-review.md (Regression Deep Dive section)
1570
+
1571
+ Update regression register with analysis:
1572
+ .aiwg/regression/register/{regression-id}.yaml
1573
+ """
1574
+ )
1575
+ ```
1576
+
1577
+ **Communicate Progress**:
1578
+ ```
1579
+ ✓ Incident RESOLVED
1580
+ ⏳ Conducting post-incident review...
1581
+ ✓ PIR meeting scheduled: {date/time}
1582
+ ✓ PIR document generated
1583
+ {✓ Regression deep dive completed (regression incident)}
1584
+ ✓ Preventive actions identified: {count} immediate, {count} short-term, {count} long-term
1585
+ ✓ Runbook updates recommended
1586
+ ✓ Knowledge base article drafted
1587
+ ✓ Post-incident review complete: .aiwg/incidents/{incident-id}/post-incident-review.md
1588
+ ```
1589
+
1590
+ ## Regression vs New Issue Decision Tree
1591
+
1592
+ Use this decision tree during Step 1.5:
1593
+
1594
+ ```
1595
+ ┌─────────────────────────────────────────────────────────┐
1596
+ │ Did this functionality work before? │
1597
+ └───┬───────────────────────────────────────────────┬─────┘
1598
+ │ YES │ NO/UNKNOWN
1599
+ │ │
1600
+ v v
1601
+ ┌───────────────────────────────────┐ ┌──────────────────────┐
1602
+ │ Was there a recent change? │ │ NOT A REGRESSION │
1603
+ │ (deployment, config, infra) │ │ → Standard Triage │
1604
+ └───┬────────────────────────┬──────┘ └──────────────────────┘
1605
+ │ YES (<48h) │ NO
1606
+ │ │
1607
+ v v
1608
+ ┌───────────────────┐ ┌────────────────────────────┐
1609
+ │ LIKELY REGRESSION │ │ Check for: │
1610
+ │ → Bisect │ │ - Traffic pattern change │
1611
+ │ → Rollback eval │ │ - External dependency │
1612
+ └───────────────────┘ │ - Data growth │
1613
+ │ POSSIBLE REGRESSION │
1614
+ │ → Investigate in parallel │
1615
+ └────────────────────────────┘
1616
+
1617
+ ┌─────────────────────────────────────────────────────────┐
1618
+ │ Rollback vs Hotfix Decision Matrix │
1619
+ ├─────────────────┬──────────────┬─────────────┬─────────┤
1620
+ │ Rollback Risk │ User Impact │ Confidence │ Action │
1621
+ ├─────────────────┼──────────────┼─────────────┼─────────┤
1622
+ │ SAFE │ HIGH │ CONFIRMED │ ROLLBACK│
1623
+ │ SAFE │ MEDIUM/HIGH │ LIKELY │ ROLLBACK│
1624
+ │ RISKY │ HIGH │ CONFIRMED │ HOTFIX │
1625
+ │ BLOCKED │ ANY │ CONFIRMED │ HOTFIX │
1626
+ │ SAFE │ LOW │ LIKELY │ INVESTI-│
1627
+ │ │ │ │ GATE │
1628
+ └─────────────────┴──────────────┴─────────────┴─────────┘
1629
+ ```
1630
+
1631
+ ## Rollback vs Hotfix Decision Matrix
1632
+
1633
+ | Rollback Feasibility | User Impact | Regression Confidence | Recommended Action |
1634
+ |----------------------|-------------|-----------------------|--------------------|
1635
+ | SAFE (no schema/data issues) | HIGH (P0) | CONFIRMED (>90%) | **Execute rollback immediately** |
1636
+ | SAFE | HIGH (P0) | LIKELY (70-90%) | **Rollback after quick validation (5 min)** |
1637
+ | SAFE | MEDIUM (P1) | CONFIRMED | **Rollback** |
1638
+ | RISKY (schema/data concerns) | HIGH (P0) | CONFIRMED | **Hotfix (rollback too risky)** |
1639
+ | BLOCKED (breaking changes) | HIGH (P0) | CONFIRMED | **Emergency hotfix** |
1640
+ | SAFE | LOW (P2) | LIKELY | **Investigate, prepare rollback as backup** |
1641
+ | RISKY | MEDIUM (P1) | LIKELY | **Investigate + parallel hotfix dev** |
1642
+ | ANY | HIGH (P0) | POSSIBLE (<70%) | **Investigate (Tier 1) + prepare rollback** |
1643
+
1644
+ ## Quality Gates
1645
+
1646
+ Before marking workflow complete, verify:
1647
+ - [ ] Incident detected and logged within 5 minutes
1648
+ - [ ] Regression triage completed within 10 minutes (if recent deployment)
1649
+ - [ ] Triage and prioritization completed within 15 minutes
1650
+ - [ ] Incident Commander assigned (P0/P1)
1651
+ - [ ] Functional escalation executed per timers (Tier 1 → 2 → 3)
1652
+ - [ ] Hierarchical escalation completed per severity (management/executive)
1653
+ - [ ] Root cause identified using 5 Whys and fishbone
1654
+ - [ ] Mitigation deployed and validated
1655
+ - [ ] User communication sent (status page, internal)
1656
+ - [ ] Incident resolved within SLA (P0 = 1-2h, P1 = 4h, P2 = 24h)
1657
+ - [ ] Post-incident review completed within 24-48h (P0/P1)
1658
+ - [ ] Preventive actions identified and tracked
1659
+ - [ ] Regression registered (if applicable)
1660
+
1661
+ ## User Communication
1662
+
1663
+ **At start**: Confirm understanding and initial severity assessment
1664
+
1665
+ ```
1666
+ Understood. I'll orchestrate incident response for {incident-id}.
1667
+
1668
+ Initial assessment:
1669
+ - Reported symptoms: {user-provided description}
1670
+ - Estimated severity: {P0/P1/P2/P3} (pending triage confirmation)
1671
+ - Expected resolution SLA: {time}
1672
+
1673
+ I'll coordinate incident response across:
1674
+ - Regression triage (if recent deployment)
1675
+ - Tier 1 → Tier 2 → Tier 3 escalation
1676
+ - Management/executive notification (if warranted)
1677
+ - Root cause analysis
1678
+ - Mitigation and validation
1679
+ - Post-incident review
1680
+
1681
+ Expected orchestration duration: 5-10 minutes.
1682
+ Resolution duration: {P0: 1-2h | P1: 4h | P2: 24h}
1683
+
1684
+ Starting incident response...
1685
+ ```
1686
+
1687
+ **During**: Update progress with clear indicators
1688
+
1689
+ ```
1690
+ ✓ = Complete
1691
+ ⏳ = In progress
1692
+ ❌ = Error/blocked
1693
+ ⚠️ = Warning/escalation triggered
1694
+ ```
1695
+
1696
+ **At end**: Summary report with resolution status and PIR schedule
1697
+
1698
+ ```
1699
+ ─────────────────────────────────────────────
1700
+ Incident Response Complete: {incident-id}
1701
+ ─────────────────────────────────────────────
1702
+
1703
+ **Overall Status**: RESOLVED
1704
+ **Severity**: {P0/P1/P2/P3}
1705
+ **Duration**: {HH:MM} (Detection → Resolution)
1706
+ **Resolution SLA**: {MET | MISSED by {time}}
1707
+
1708
+ **Regression Analysis** (if applicable):
1709
+ - Regression Detected: {YES|NO}
1710
+ - Introducing Commit: {SHA} (PR #{PR-number})
1711
+ - Rollback Executed: {YES|NO}
1712
+ - Regression Register: @.aiwg/regression/register/{regression-id}.yaml
1713
+
1714
+ **Resolution Summary**:
1715
+ - Root Cause: {one-sentence root cause}
1716
+ - Mitigation: {strategy applied}
1717
+ - User Impact: {count} users, {duration} minutes {outage|degradation}
1718
+
1719
+ **Response Metrics**:
1720
+ - Detection Time: {minutes} (SLA: <5 min)
1721
+ - Regression Triage: {minutes} (for deployment-related incidents)
1722
+ - Acknowledgment: {minutes} (SLA: {immediate|5 min|30 min})
1723
+ - Time to Engage: {minutes} (SLA: {15|30|240} min)
1724
+ - Time to Resolve: {HH:MM} (SLA: {1-2h|4h|24h})
1725
+
1726
+ **Escalation Path Executed**:
1727
+ ✓ Tier 1: On-call engineer → {escalated|resolved}
1728
+ {✓ Tier 2: Component Owner → {escalated|resolved}}
1729
+ {✓ Tier 3: Architecture team → resolved}
1730
+ {✓ Management notified (P0/P1)}
1731
+ {✓ Executive notified (P0 critical)}
1732
+
1733
+ **Artifacts Generated**:
1734
+ - Incident Record (.aiwg/incidents/{incident-id}/incident-record.md)
1735
+ - Timeline (.aiwg/incidents/{incident-id}/timeline.md)
1736
+ - Triage Assessment (.aiwg/incidents/{incident-id}/triage-assessment.md)
1737
+ - Regression Analysis (.aiwg/incidents/{incident-id}/regression-analysis.md) {if regression}
1738
+ - Root Cause Analysis (.aiwg/incidents/{incident-id}/root-cause-analysis.md)
1739
+ - Mitigation Report (.aiwg/incidents/{incident-id}/mitigation-report.md)
1740
+ - Post-Incident Review (.aiwg/incidents/{incident-id}/post-incident-review.md)
1741
+ - Preventive Actions (.aiwg/incidents/{incident-id}/preventive-actions.md)
1742
+
1743
+ **Next Steps**:
1744
+ - PIR meeting: {date/time}
1745
+ - Preventive actions: {count} tracked ({immediate|short-term|long-term})
1746
+ - Runbook updates: Review .aiwg/incidents/{incident-id}/runbook-update-recommendation.md
1747
+ - Knowledge base: Publish .aiwg/incidents/{incident-id}/knowledge-base-article.md
1748
+ {- Regression deep dive: .aiwg/regression/register/{regression-id}.yaml}
1749
+
1750
+ ─────────────────────────────────────────────
1751
+ ```
1752
+
1753
+ ## Error Handling
1754
+
1755
+ **If Incident Not Resolving Within SLA**:
1756
+ ```
1757
+ ⚠️ Incident exceeds resolution SLA ({P0 >2h | P1 >4h})
1758
+
1759
+ Current status: {INVESTIGATING | MITIGATING}
1760
+ Elapsed time: {HH:MM}
1761
+
1762
+ Actions:
1763
+ 1. Escalating to Incident Commander (if not already involved)
1764
+ 2. Assembling war room with all Component Owners
1765
+ 3. Considering emergency measures:
1766
+ - Rollback to last known-good version
1767
+ - Enable maintenance mode (planned downtime)
1768
+ - Engage vendor support (if third-party dependency)
1769
+ 4. Updating stakeholders every {15|30} minutes
1770
+ 5. Notifying {executive sponsor | management}
1771
+
1772
+ Escalation contact: {Incident Commander → Engineering Manager → VP Engineering → CTO}
1773
+ ```
1774
+
1775
+ **If Escalation Path Blocked**:
1776
+ ```
1777
+ ⚠️ Key person unavailable: {Tier 2/3 owner | Incident Commander}
1778
+
1779
+ Actions:
1780
+ 1. Checking on-call rotation for backup/secondary contact
1781
+ 2. Escalating to engineering manager for alternate assignment
1782
+ 3. Engaging Software Architect for temporary coverage (if Component Owner unavailable)
1783
+ 4. Documenting unavailability in incident timeline
1784
+
1785
+ Backup contacts:
1786
+ - Tier 2 Backup: {name, contact}
1787
+ - Tier 3 Backup: {name, contact}
1788
+ - Incident Commander Backup: {name, contact}
1789
+ ```
1790
+
1791
+ **If Multiple Concurrent Incidents (Major Incident)**:
1792
+ ```
1793
+ ⚠️ Multiple concurrent incidents detected: {count} P0/P1 incidents
1794
+
1795
+ Declaring MAJOR INCIDENT status.
1796
+
1797
+ Actions:
1798
+ 1. Assigning separate Incident Commander for each incident
1799
+ 2. Establishing central coordination (Senior Incident Commander)
1800
+ 3. Triaging incidents by business impact priority
1801
+ 4. Allocating resources (may pull from non-critical work)
1802
+ 5. Executive notification immediate
1803
+ 6. Status page update: "Multiple service disruptions"
1804
+
1805
+ Considerations:
1806
+ - Implementing change freeze (halt all deployments)
1807
+ - Scaling back non-essential services to free resources
1808
+ - Engaging vendor support across all affected systems
1809
+
1810
+ Major Incident Coordinator: {Senior Engineering Manager or VP Engineering}
1811
+ ```
1812
+
1813
+ **If Rollback Fails (CRITICAL)**:
1814
+ ```
1815
+ ❌ Rollback did not resolve incident or rollback itself failed
1816
+
1817
+ STOP: No further changes until assessment complete.
1818
+
1819
+ Escalating to P0 CRITICAL.
1820
+
1821
+ Assembling emergency war room:
1822
+ - Incident Commander
1823
+ - Deployment Manager
1824
+ - Software Architect
1825
+ - Database Administrator (if data issue)
1826
+ - Infrastructure Lead
1827
+
1828
+ Options under evaluation:
1829
+ - Rollback to earlier version (skip problematic release)
1830
+ - Emergency hotfix (if root cause clear)
1831
+ - Maintenance mode (planned downtime for investigation)
1832
+ - Manual intervention (database repair, data migration)
1833
+
1834
+ Executive notification: IMMEDIATE
1835
+ Public communication: "Extended outage, team working on resolution"
1836
+
1837
+ Emergency contact: {CTO or VP Engineering}
1838
+ ```
1839
+
1840
+ **If Security Breach or Data Loss**:
1841
+ ```
1842
+ ❌ SECURITY INCIDENT or DATA LOSS detected
1843
+
1844
+ IMMEDIATE ACTIONS:
1845
+ 1. Engaging Security Gatekeeper and Security Incident Response Team
1846
+ 2. Preserving evidence (logs, forensics) before mitigation
1847
+ 3. Isolating affected systems
1848
+ 4. Following Security Incident Response Plan (separate from standard flow)
1849
+
1850
+ Notifications:
1851
+ - Legal and compliance: IMMEDIATE
1852
+ - Executive: IMMEDIATE
1853
+ - Regulatory reporting: {GDPR, HIPAA, etc.} within required timeframes
1854
+ - User notification: Per breach disclosure laws
1855
+
1856
+ Forensic analysis required before system restoration.
1857
+
1858
+ Security Incident Lead: {Security Gatekeeper or CISO}
1859
+ Legal Contact: {General Counsel}
1860
+
1861
+ Extended PIR with security-specific preventive actions required.
1862
+ ```
1863
+
1864
+ ## Success Criteria
1865
+
1866
+ This orchestration succeeds when:
1867
+ - [ ] Incident detected within 5 minutes
1868
+ - [ ] Regression triage completed within 10 minutes (if applicable)
1869
+ - [ ] Triage and prioritization completed within 15 minutes
1870
+ - [ ] Incident Commander assigned (P0/P1)
1871
+ - [ ] Functional escalation executed per timers (Tier 1 → 2 → 3)
1872
+ - [ ] Hierarchical escalation completed per severity
1873
+ - [ ] Root cause identified using 5 Whys and fishbone
1874
+ - [ ] Mitigation deployed and validated
1875
+ - [ ] User communication sent (status page, internal)
1876
+ - [ ] Incident resolved within SLA (P0 = 1-2h, P1 = 4h, P2 = 24h)
1877
+ - [ ] Post-incident review completed within 24-48h (P0/P1)
1878
+ - [ ] Preventive actions identified and tracked
1879
+ - [ ] Runbooks and knowledge base updated
1880
+ - [ ] Regression registered and analyzed (if applicable)
1881
+
1882
+ ## Metrics to Track
1883
+
1884
+ **During orchestration, track**:
1885
+ - Mean Time to Detect (MTTD): <5 minutes
1886
+ - Mean Time to Regression Triage (MTTRT): <10 minutes (deployment-related)
1887
+ - Mean Time to Acknowledge (MTTA): P0 = immediate, P1 = 5 min, P2 = 30 min
1888
+ - Mean Time to Engage (MTTE): P0 = 15 min, P1 = 30 min
1889
+ - Mean Time to Resolve (MTTR): P0 = 1-2h, P1 = 4h, P2 = 24h
1890
+ - Resolution Rate by Tier: Tier 1 = 60-80%, Tier 2 = 15-30%, Tier 3 = 5-10%
1891
+ - Regression Detection Rate: % of deployment-related incidents identified as regressions
1892
+ - Rollback Success Rate: % of rollback attempts that successfully resolve incidents
1893
+ - Incident Recurrence Rate: <5% (same root cause within 90 days)
1894
+ - PIR Completion Rate: 100% for P0/P1
1895
+ - Preventive Action Completion Rate: >90% within due dates
1896
+
1897
+ ## Agent Coordination
1898
+
1899
+ **Primary Agents**:
1900
+ - **incident-responder**: Overall coordination, triage, communication
1901
+ - **regression-analyst**: Regression triage, bisect, rollback assessment
1902
+ - **reliability-engineer**: Tier 1 response, monitoring, validation
1903
+ - **component-owner**: Tier 2 advanced troubleshooting
1904
+ - **architecture-designer**: Tier 3 architectural analysis
1905
+
1906
+ **Supporting Agents**:
1907
+ - **devops-engineer**: Emergency deployment, rollback execution
1908
+ - **security-architect**: Security incident response (if security-related)
1909
+ - **project-manager**: Management escalation, PIR scheduling, action tracking
1910
+
1911
+ ## References
1912
+
1913
+ **Templates** (via $AIWG_ROOT):
1914
+ - Incident Response Runbook: `templates/support/incident-response-runbook-template.md`
1915
+ - Escalation Matrix: `templates/support/escalation-matrix-template.md`
1916
+ - Post-Incident Review: `templates/support/post-incident-review-template.md`
1917
+
1918
+ **Related Commands**:
1919
+ - Deployment: `commands/flow-deploy-to-production.md` (rollback procedures)
1920
+ - Regression Check: `@commands/regression-check.md` (baseline comparison)
1921
+ - Regression Bisect: `@commands/regression-bisect.md` (find introducing commit)
1922
+ - Hypercare: `commands/flow-hypercare-monitoring.md` (post-deployment monitoring)
1923
+ - Operational Readiness: `templates/deployment/operational-readiness-review-template.md`
1924
+
1925
+ **Related Agents**:
1926
+ - Regression Analyst: `@agents/regression-analyst.md` (deep regression analysis)
1927
+
1928
+ **Related Schemas**:
1929
+ - Regression Entry: `@schemas/regression/regression-entry.yaml` (regression register format)
1930
+ - Incident Record: `@schemas/incidents/incident-record.yaml` (incident documentation)
1931
+
1932
+ **Gate Criteria**:
1933
+ - `flows/gate-criteria-by-phase.md` (incident severity classification)
1934
+
1935
+ **Multi-Agent Pattern**:
1936
+ - `docs/multi-agent-documentation-pattern.md`
1937
+
1938
+ **Orchestrator Architecture**:
1939
+ - `docs/orchestrator-architecture.md`