aiox-core 5.0.5 → 5.0.7

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 (2196) hide show
  1. package/.aiox-core/install-manifest.yaml +2 -2
  2. package/bin/utils/validate-publish.js +5 -4
  3. package/package.json +1 -1
  4. package/packages/installer/src/wizard/pro-setup.js +2 -1
  5. package/pro/README.md +66 -0
  6. package/pro/feature-registry.yaml +225 -0
  7. package/pro/license/degradation.js +220 -0
  8. package/pro/license/errors.js +450 -0
  9. package/pro/license/feature-gate.js +354 -0
  10. package/pro/license/index.js +181 -0
  11. package/pro/license/license-api.js +679 -0
  12. package/pro/license/license-cache.js +523 -0
  13. package/pro/license/license-crypto.js +303 -0
  14. package/pro/package.json +52 -0
  15. package/pro/pro-config.yaml +63 -0
  16. package/pro/squads/README.md +42 -0
  17. package/pro/squads/aiox-sop/ARCHITECTURE.md +86 -0
  18. package/pro/squads/aiox-sop/CHANGELOG.md +27 -0
  19. package/pro/squads/aiox-sop/HEADLINE.md +3 -0
  20. package/pro/squads/aiox-sop/README.md +77 -0
  21. package/pro/squads/aiox-sop/agents/sop-analyst.md +363 -0
  22. package/pro/squads/aiox-sop/agents/sop-auditor.md +294 -0
  23. package/pro/squads/aiox-sop/agents/sop-chief.md +279 -0
  24. package/pro/squads/aiox-sop/agents/sop-creator.md +322 -0
  25. package/pro/squads/aiox-sop/agents/sop-extractor.md +246 -0
  26. package/pro/squads/aiox-sop/agents/sop-ml-architect.md +310 -0
  27. package/pro/squads/aiox-sop/checklists/14-point-crosby-checklist.md +84 -0
  28. package/pro/squads/aiox-sop/checklists/extraction-completeness-checklist.md +78 -0
  29. package/pro/squads/aiox-sop/checklists/sop-completeness-checklist.md +283 -0
  30. package/pro/squads/aiox-sop/checklists/sop-ml-validation-checklist.md +157 -0
  31. package/pro/squads/aiox-sop/checklists/sop-quality-checklist.md +138 -0
  32. package/pro/squads/aiox-sop/checklists/stranger-test-checklist.md +108 -0
  33. package/pro/squads/aiox-sop/config.yaml +460 -0
  34. package/pro/squads/aiox-sop/data/category-map.yaml +647 -0
  35. package/pro/squads/aiox-sop/data/confidence-levels.yaml +133 -0
  36. package/pro/squads/aiox-sop/data/infrastructure-connections.yaml +730 -0
  37. package/pro/squads/aiox-sop/data/market-categories.yaml +65 -0
  38. package/pro/squads/aiox-sop/data/risk-register.yaml +90 -0
  39. package/pro/squads/aiox-sop/data/sop-ml-schema-examples.yaml +420 -0
  40. package/pro/squads/aiox-sop/data/sop-ml-schema.yaml +780 -0
  41. package/pro/squads/aiox-sop/data/sop-registry.yaml +42 -0
  42. package/pro/squads/aiox-sop/data/sop-scoring-rubric.yaml +601 -0
  43. package/pro/squads/aiox-sop/data/sop-standards-reference.yaml +475 -0
  44. package/pro/squads/aiox-sop/data/task-definitions.yaml +1602 -0
  45. package/pro/squads/aiox-sop/data/token-assignments.yaml +304 -0
  46. package/pro/squads/aiox-sop/data/verdict-thresholds.yaml +117 -0
  47. package/pro/squads/aiox-sop/data/workflow-quality-rubric.yaml +579 -0
  48. package/pro/squads/aiox-sop/docs/README.md +10 -0
  49. package/pro/squads/aiox-sop/docs/optimization-doc-drift-2026-03-18.json +20 -0
  50. package/pro/squads/aiox-sop/docs/optimization-economy-2026-03-18.md +40 -0
  51. package/pro/squads/aiox-sop/docs/optimization-environment-2026-03-18.json +24 -0
  52. package/pro/squads/aiox-sop/docs/optimization-material-inventory-2026-03-18.yaml +73 -0
  53. package/pro/squads/aiox-sop/docs/optimization-repo-baseline-2026-03-18.json +38 -0
  54. package/pro/squads/aiox-sop/docs/optimization-runtime-smoke-2026-03-18.json +57 -0
  55. package/pro/squads/aiox-sop/docs/optimization-split-verdict-2026-03-18.json +21 -0
  56. package/pro/squads/aiox-sop/docs/optimization-validation-2026-03-18.json +53 -0
  57. package/pro/squads/aiox-sop/docs/optimization-validation-fallback-2026-03-18.json +6 -0
  58. package/pro/squads/aiox-sop/docs/optimization-workflow-contracts-2026-03-18.json +81 -0
  59. package/pro/squads/aiox-sop/docs/optimization-yolo-plan-2026-03-18.md +177 -0
  60. package/pro/squads/aiox-sop/docs/optimization-yolo-report-2026-03-18.md +181 -0
  61. package/pro/squads/aiox-sop/docs/scaling-strategy.md +129 -0
  62. package/pro/squads/aiox-sop/examples/README.md +14 -0
  63. package/pro/squads/aiox-sop/examples/sample-human-sop.md +11 -0
  64. package/pro/squads/aiox-sop/examples/sample-ml-sop.yaml +14 -0
  65. package/pro/squads/aiox-sop/outputs/README.md +20 -0
  66. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-001.md +864 -0
  67. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-001.yaml +1225 -0
  68. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-002.md +904 -0
  69. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-002.yaml +431 -0
  70. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-003.md +964 -0
  71. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-003.yaml +392 -0
  72. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-004.md +975 -0
  73. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-004.yaml +786 -0
  74. package/pro/squads/aiox-sop/protocols/sop-workflow-integration.md +209 -0
  75. package/pro/squads/aiox-sop/scripts/convert-sop-format-worker.py +299 -0
  76. package/pro/squads/aiox-sop/scripts/load-workspace-context.cjs +296 -0
  77. package/pro/squads/aiox-sop/scripts/normalize-thiagoroas-vsl-extractions.cjs +1448 -0
  78. package/pro/squads/aiox-sop/scripts/refresh-sop-registry.cjs +331 -0
  79. package/pro/squads/aiox-sop/scripts/resolve-environment-contract.cjs +107 -0
  80. package/pro/squads/aiox-sop/scripts/test-load-workspace-context.cjs +100 -0
  81. package/pro/squads/aiox-sop/scripts/test-resolve-environment-contract.cjs +159 -0
  82. package/pro/squads/aiox-sop/tasks/analyze-sop.md +464 -0
  83. package/pro/squads/aiox-sop/tasks/analyze-squad.md +317 -0
  84. package/pro/squads/aiox-sop/tasks/analyze-workflow.md +343 -0
  85. package/pro/squads/aiox-sop/tasks/audit-batch.md +354 -0
  86. package/pro/squads/aiox-sop/tasks/audit-sop.md +528 -0
  87. package/pro/squads/aiox-sop/tasks/benchmark-sop.md +408 -0
  88. package/pro/squads/aiox-sop/tasks/certify-sop.md +193 -0
  89. package/pro/squads/aiox-sop/tasks/check-environment.md +47 -0
  90. package/pro/squads/aiox-sop/tasks/compliance-check.md +84 -0
  91. package/pro/squads/aiox-sop/tasks/convert-sop-format.md +413 -0
  92. package/pro/squads/aiox-sop/tasks/create-checklist.md +267 -0
  93. package/pro/squads/aiox-sop/tasks/create-sop-human.md +306 -0
  94. package/pro/squads/aiox-sop/tasks/create-sop-ml.md +313 -0
  95. package/pro/squads/aiox-sop/tasks/create-sop-operations-suite.md +177 -0
  96. package/pro/squads/aiox-sop/tasks/delete-aiox-sop.md +38 -0
  97. package/pro/squads/aiox-sop/tasks/extract-from-video.md +354 -0
  98. package/pro/squads/aiox-sop/tasks/extract-sop.md +389 -0
  99. package/pro/squads/aiox-sop/tasks/load-workspace-context.md +112 -0
  100. package/pro/squads/aiox-sop/tasks/map-core-sop-backlog.md +651 -0
  101. package/pro/squads/aiox-sop/tasks/re-audit.md +97 -0
  102. package/pro/squads/aiox-sop/tasks/structured-interview.md +243 -0
  103. package/pro/squads/aiox-sop/tasks/update-aiox-sop.md +39 -0
  104. package/pro/squads/aiox-sop/templates/audit-report-template.md +119 -0
  105. package/pro/squads/aiox-sop/templates/certification-template.md +31 -0
  106. package/pro/squads/aiox-sop/templates/checklist-from-sop-tmpl.md +142 -0
  107. package/pro/squads/aiox-sop/templates/decision-tree-template.yaml +209 -0
  108. package/pro/squads/aiox-sop/templates/extraction-output-template.md +150 -0
  109. package/pro/squads/aiox-sop/templates/handoff-tmpl.yaml +85 -0
  110. package/pro/squads/aiox-sop/templates/ml-sop-json-template.json +208 -0
  111. package/pro/squads/aiox-sop/templates/ml-sop-yaml-template.yaml +204 -0
  112. package/pro/squads/aiox-sop/templates/nonconformity-register-template.md +85 -0
  113. package/pro/squads/aiox-sop/templates/sop-analysis-report-tmpl.md +378 -0
  114. package/pro/squads/aiox-sop/templates/sop-human-tmpl.md +385 -0
  115. package/pro/squads/aiox-sop/templates/sop-ml-tmpl.md +352 -0
  116. package/pro/squads/aiox-sop/templates/sop-scorecard-tmpl.md +123 -0
  117. package/pro/squads/aiox-sop/templates/state-machine-template.yaml +232 -0
  118. package/pro/squads/aiox-sop/templates/tool-binding-template.yaml +255 -0
  119. package/pro/squads/aiox-sop/templates/workflow-gap-report-tmpl.yaml +227 -0
  120. package/pro/squads/aiox-sop/workflows/wf-sop-audit-pipeline.yaml +381 -0
  121. package/pro/squads/aiox-sop/workflows/wf-sop-audit-pipeline.yaml.bak +332 -0
  122. package/pro/squads/aiox-sop/workflows/wf-sop-creation-pipeline.yaml +200 -0
  123. package/pro/squads/aiox-sop/workflows/wf-sop-creation-pipeline.yaml.bak +147 -0
  124. package/pro/squads/aiox-sop/workflows/wf-sop-extraction-pipeline.yaml +476 -0
  125. package/pro/squads/aiox-sop/workflows/wf-sop-extraction-pipeline.yaml.bak +441 -0
  126. package/pro/squads/aiox-sop/workflows/wf-sop-pipeline-definition.yaml +813 -0
  127. package/pro/squads/aiox-sop/workflows/wf-sop-quality-gates.yaml +473 -0
  128. package/pro/squads/brand/ARCHITECTURE.md +79 -0
  129. package/pro/squads/brand/CHANGELOG.md +38 -0
  130. package/pro/squads/brand/README.md +213 -0
  131. package/pro/squads/brand/agents/aaker-brand-identity.md +475 -0
  132. package/pro/squads/brand/agents/archetype-consultant.md +424 -0
  133. package/pro/squads/brand/agents/brand-chief.md +502 -0
  134. package/pro/squads/brand/agents/brand-strategist.md +661 -0
  135. package/pro/squads/brand/agents/domain-scout.md +412 -0
  136. package/pro/squads/brand/agents/heyward-dtc-brand.md +399 -0
  137. package/pro/squads/brand/agents/keller-brand-equity.md +390 -0
  138. package/pro/squads/brand/agents/miller-sticky-brand.md +510 -0
  139. package/pro/squads/brand/agents/naming-strategist.md +638 -0
  140. package/pro/squads/brand/agents/nano-banana-generator.md +38 -0
  141. package/pro/squads/brand/agents/neumeier-differentiation.md +390 -0
  142. package/pro/squads/brand/agents/ries-positioning.md +413 -0
  143. package/pro/squads/brand/agents/sharp-brand-science.md +444 -0
  144. package/pro/squads/brand/agents/storybrand-narrator.md +442 -0
  145. package/pro/squads/brand/agents/wheeler-brand-design.md +700 -0
  146. package/pro/squads/brand/agents/yohn-brand-culture.md +391 -0
  147. package/pro/squads/brand/checklists/brand-naming-checklist.md +46 -0
  148. package/pro/squads/brand/checklists/brand-quality-gate.md +58 -0
  149. package/pro/squads/brand/config/veto-conditions.yaml +54 -0
  150. package/pro/squads/brand/config.yaml +634 -0
  151. package/pro/squads/brand/data/brand-mappings.yaml +140 -0
  152. package/pro/squads/brand/data/logo-scds-templates.yaml +224 -0
  153. package/pro/squads/brand/data/logo-style-library.yaml +226 -0
  154. package/pro/squads/brand/data/swipe-file.yaml +282 -0
  155. package/pro/squads/brand/docs/optimization-economy-2026-03-10.md +25 -0
  156. package/pro/squads/brand/docs/optimization-material-inventory-2026-03-10.yaml +40 -0
  157. package/pro/squads/brand/docs/optimization-validation-2026-03-10.json +26 -0
  158. package/pro/squads/brand/docs/optimization-yolo-plan-2026-03-10.md +80 -0
  159. package/pro/squads/brand/docs/optimization-yolo-report-2026-03-10.md +158 -0
  160. package/pro/squads/brand/scripts/bootstrap-brand-workspace.sh +47 -0
  161. package/pro/squads/brand/scripts/validate-brand-essentials.sh +289 -0
  162. package/pro/squads/brand/tasks/brand-activation.md +86 -0
  163. package/pro/squads/brand/tasks/brand-book.md +224 -0
  164. package/pro/squads/brand/tasks/brand-consulting.md +189 -0
  165. package/pro/squads/brand/tasks/brand-diagnosis.md +81 -0
  166. package/pro/squads/brand/tasks/brand-identity.md +255 -0
  167. package/pro/squads/brand/tasks/brand-messaging.md +226 -0
  168. package/pro/squads/brand/tasks/brand-quality-gate.md +213 -0
  169. package/pro/squads/brand/tasks/create-brand-epic.md +129 -0
  170. package/pro/squads/brand/tasks/create-brand-story.md +155 -0
  171. package/pro/squads/brand/tasks/delete-brand.md +56 -0
  172. package/pro/squads/brand/tasks/domain-check.md +120 -0
  173. package/pro/squads/brand/tasks/load-workspace-context.md +112 -0
  174. package/pro/squads/brand/tasks/logo-curate.md +180 -0
  175. package/pro/squads/brand/tasks/logo-deliverable.md +210 -0
  176. package/pro/squads/brand/tasks/logo-generate.md +143 -0
  177. package/pro/squads/brand/tasks/logo-intake.md +151 -0
  178. package/pro/squads/brand/tasks/logo-prompt-engineering.md +151 -0
  179. package/pro/squads/brand/tasks/logo-refine.md +156 -0
  180. package/pro/squads/brand/tasks/logo-strategic-direction.md +160 -0
  181. package/pro/squads/brand/tasks/naming-generation.md +118 -0
  182. package/pro/squads/brand/tasks/positioning-narrative.md +93 -0
  183. package/pro/squads/brand/tasks/update-brand.md +52 -0
  184. package/pro/squads/brand/templates/brand-epic-tmpl.md +124 -0
  185. package/pro/squads/brand/templates/brand-story-tmpl.md +133 -0
  186. package/pro/squads/brand/templates/brandbook-tmpl.yaml +38 -0
  187. package/pro/squads/brand/templates/naming-report-tmpl.md +36 -0
  188. package/pro/squads/brand/workflows/wf-brand-activation-system.yaml +148 -0
  189. package/pro/squads/brand/workflows/wf-brand-all-hands.yaml +368 -0
  190. package/pro/squads/brand/workflows/wf-brand-complete.yaml +223 -0
  191. package/pro/squads/brand/workflows/wf-brand-consulting.yaml +301 -0
  192. package/pro/squads/brand/workflows/wf-brand-foundations.yaml +129 -0
  193. package/pro/squads/brand/workflows/wf-brand-mockup-generation.yaml +247 -0
  194. package/pro/squads/brand/workflows/wf-brand-positioning-narrative.yaml +146 -0
  195. package/pro/squads/brand/workflows/wf-logo-brainstorm.yaml +297 -0
  196. package/pro/squads/brand/workflows/wf-naming-to-domain.yaml +152 -0
  197. package/pro/squads/claude-code-mastery/ARCHITECTURE.md +224 -0
  198. package/pro/squads/claude-code-mastery/CHANGELOG.md +41 -0
  199. package/pro/squads/claude-code-mastery/README.md +146 -0
  200. package/pro/squads/claude-code-mastery/agents/claude-mastery-chief.md +542 -0
  201. package/pro/squads/claude-code-mastery/agents/config-engineer.md +1051 -0
  202. package/pro/squads/claude-code-mastery/agents/hooks-architect.md +1088 -0
  203. package/pro/squads/claude-code-mastery/agents/mcp-integrator.md +790 -0
  204. package/pro/squads/claude-code-mastery/agents/project-integrator.md +1184 -0
  205. package/pro/squads/claude-code-mastery/agents/roadmap-sentinel.md +922 -0
  206. package/pro/squads/claude-code-mastery/agents/skill-craftsman.md +1302 -0
  207. package/pro/squads/claude-code-mastery/agents/swarm-orchestrator.md +1072 -0
  208. package/pro/squads/claude-code-mastery/checklists/agent-team-readiness-checklist.md +88 -0
  209. package/pro/squads/claude-code-mastery/checklists/brownfield-readiness-checklist.md +91 -0
  210. package/pro/squads/claude-code-mastery/checklists/change-checklist.md +75 -0
  211. package/pro/squads/claude-code-mastery/checklists/context-rot-checklist.md +116 -0
  212. package/pro/squads/claude-code-mastery/checklists/integration-audit-checklist.md +104 -0
  213. package/pro/squads/claude-code-mastery/checklists/multi-agent-review-checklist.md +77 -0
  214. package/pro/squads/claude-code-mastery/checklists/pre-push-checklist.md +79 -0
  215. package/pro/squads/claude-code-mastery/config.yaml +351 -0
  216. package/pro/squads/claude-code-mastery/data/cc-architecture-map.yaml +217 -0
  217. package/pro/squads/claude-code-mastery/data/cc-permission-rules.yaml +281 -0
  218. package/pro/squads/claude-code-mastery/data/ci-cd-patterns.yaml +412 -0
  219. package/pro/squads/claude-code-mastery/data/claude-code-quick-ref.yaml +436 -0
  220. package/pro/squads/claude-code-mastery/data/frontmatter-schemas.yaml +395 -0
  221. package/pro/squads/claude-code-mastery/data/hook-patterns.yaml +799 -0
  222. package/pro/squads/claude-code-mastery/data/infrastructure-map.yaml +53 -0
  223. package/pro/squads/claude-code-mastery/data/journey-log-events.yaml +115 -0
  224. package/pro/squads/claude-code-mastery/data/mcp-integration-catalog.yaml +323 -0
  225. package/pro/squads/claude-code-mastery/data/project-type-signatures.yaml +335 -0
  226. package/pro/squads/claude-code-mastery/data/quality-gates.yaml +43 -0
  227. package/pro/squads/claude-code-mastery/data/swarm-agent-schema.yaml +35 -0
  228. package/pro/squads/claude-code-mastery/data/token-registry.yaml +213 -0
  229. package/pro/squads/claude-code-mastery/docs/.gitkeep +0 -0
  230. package/pro/squads/claude-code-mastery/scripts/README-Permission-Sync.md +38 -0
  231. package/pro/squads/claude-code-mastery/scripts/generate-tool-allowlists.js +232 -0
  232. package/pro/squads/claude-code-mastery/scripts/inject-accountability-tokens.js +91 -0
  233. package/pro/squads/claude-code-mastery/scripts/inject-output-schemas.js +131 -0
  234. package/pro/squads/claude-code-mastery/scripts/inject-swarm-fields.js +92 -0
  235. package/pro/squads/claude-code-mastery/scripts/prepare-claude-runtime.sh +26 -0
  236. package/pro/squads/claude-code-mastery/scripts/publish-mastery-report.sh +17 -0
  237. package/pro/squads/claude-code-mastery/scripts/session-usage-report.py +982 -0
  238. package/pro/squads/claude-code-mastery/scripts/session_usage_report_cache.py +163 -0
  239. package/pro/squads/claude-code-mastery/scripts/session_usage_report_claude_adapter.py +375 -0
  240. package/pro/squads/claude-code-mastery/scripts/session_usage_report_facets.py +1128 -0
  241. package/pro/squads/claude-code-mastery/scripts/session_usage_report_html.py +989 -0
  242. package/pro/squads/claude-code-mastery/scripts/session_usage_report_inventory.py +66 -0
  243. package/pro/squads/claude-code-mastery/scripts/session_usage_report_markdown.py +506 -0
  244. package/pro/squads/claude-code-mastery/scripts/session_usage_report_mock_insights_adapter.py +277 -0
  245. package/pro/squads/claude-code-mastery/scripts/session_usage_report_pipeline.py +519 -0
  246. package/pro/squads/claude-code-mastery/scripts/session_usage_report_recommendations.py +317 -0
  247. package/pro/squads/claude-code-mastery/scripts/session_usage_report_usage.py +235 -0
  248. package/pro/squads/claude-code-mastery/scripts/test_session_usage_report.py +1910 -0
  249. package/pro/squads/claude-code-mastery/scripts/validate-setup.js +597 -0
  250. package/pro/squads/claude-code-mastery/squad-io.yaml +151 -0
  251. package/pro/squads/claude-code-mastery/tasks/align-memory-context.md +212 -0
  252. package/pro/squads/claude-code-mastery/tasks/audit-integration.md +252 -0
  253. package/pro/squads/claude-code-mastery/tasks/audit-settings.md +239 -0
  254. package/pro/squads/claude-code-mastery/tasks/audit-setup.md +258 -0
  255. package/pro/squads/claude-code-mastery/tasks/brownfield-setup.md +355 -0
  256. package/pro/squads/claude-code-mastery/tasks/ci-cd-setup.md +368 -0
  257. package/pro/squads/claude-code-mastery/tasks/claude-md-engineer.md +367 -0
  258. package/pro/squads/claude-code-mastery/tasks/configure-claude-code.md +248 -0
  259. package/pro/squads/claude-code-mastery/tasks/context-rot-audit.md +363 -0
  260. package/pro/squads/claude-code-mastery/tasks/create-agent-definition.md +311 -0
  261. package/pro/squads/claude-code-mastery/tasks/create-rules.md +239 -0
  262. package/pro/squads/claude-code-mastery/tasks/create-team-topology.md +291 -0
  263. package/pro/squads/claude-code-mastery/tasks/delete-claude-code-mastery.md +224 -0
  264. package/pro/squads/claude-code-mastery/tasks/diagnose.md +199 -0
  265. package/pro/squads/claude-code-mastery/tasks/enterprise-config.md +379 -0
  266. package/pro/squads/claude-code-mastery/tasks/hook-designer.md +315 -0
  267. package/pro/squads/claude-code-mastery/tasks/integrate-project.md +337 -0
  268. package/pro/squads/claude-code-mastery/tasks/mcp-integration-plan.md +284 -0
  269. package/pro/squads/claude-code-mastery/tasks/mcp-workflow.md +330 -0
  270. package/pro/squads/claude-code-mastery/tasks/multi-project-setup.md +261 -0
  271. package/pro/squads/claude-code-mastery/tasks/optimize-context.md +250 -0
  272. package/pro/squads/claude-code-mastery/tasks/optimize-workflow.md +270 -0
  273. package/pro/squads/claude-code-mastery/tasks/parallel-decomposition.md +326 -0
  274. package/pro/squads/claude-code-mastery/tasks/permission-strategy.md +315 -0
  275. package/pro/squads/claude-code-mastery/tasks/rebuild-runtime-validator.md +234 -0
  276. package/pro/squads/claude-code-mastery/tasks/refresh-runtime-contract.md +235 -0
  277. package/pro/squads/claude-code-mastery/tasks/sandbox-setup.md +312 -0
  278. package/pro/squads/claude-code-mastery/tasks/setup-repository.md +263 -0
  279. package/pro/squads/claude-code-mastery/tasks/setup-wizard.md +269 -0
  280. package/pro/squads/claude-code-mastery/tasks/update-claude-code-mastery.md +227 -0
  281. package/pro/squads/claude-code-mastery/tasks/worktree-strategy.md +353 -0
  282. package/pro/squads/claude-code-mastery/templates/baseline-kpis-tmpl.yaml +0 -0
  283. package/pro/squads/claude-code-mastery/templates/claude-md-fullstack.md +147 -0
  284. package/pro/squads/claude-code-mastery/templates/claude-md-library.md +175 -0
  285. package/pro/squads/claude-code-mastery/templates/claude-md-microservices.md +186 -0
  286. package/pro/squads/claude-code-mastery/templates/claude-md-mobile.md +198 -0
  287. package/pro/squads/claude-code-mastery/templates/claude-md-monorepo.md +139 -0
  288. package/pro/squads/claude-code-mastery/templates/concept-mapping-tmpl.yaml +0 -0
  289. package/pro/squads/claude-code-mastery/templates/cross-domain-handoff-tmpl.yaml +15 -0
  290. package/pro/squads/claude-code-mastery/templates/github-actions-claude-ci.yml +348 -0
  291. package/pro/squads/claude-code-mastery/templates/github-actions-claude-review.yml +179 -0
  292. package/pro/squads/claude-code-mastery/templates/hook-implementation-tmpl.md +24 -0
  293. package/pro/squads/claude-code-mastery/templates/mcp-config-tmpl.yaml +18 -0
  294. package/pro/squads/claude-code-mastery/templates/session-usage-report-page.css +591 -0
  295. package/pro/squads/claude-code-mastery/templates/session-usage-report-page.html +32 -0
  296. package/pro/squads/claude-code-mastery/templates/session-usage-report-tmpl.yaml +224 -0
  297. package/pro/squads/claude-code-mastery/templates/skill-definition-tmpl.md +67 -0
  298. package/pro/squads/claude-code-mastery/templates/violations-log-tmpl.jsonl +0 -0
  299. package/pro/squads/claude-code-mastery/workflows/wf-audit-complete.yaml +178 -0
  300. package/pro/squads/claude-code-mastery/workflows/wf-knowledge-update.yaml +447 -0
  301. package/pro/squads/claude-code-mastery/workflows/wf-project-setup.yaml +236 -0
  302. package/pro/squads/data/HEADLINE.md +3 -0
  303. package/pro/squads/data/README.md +292 -0
  304. package/pro/squads/data/agents/avinash-kaushik.md +1117 -0
  305. package/pro/squads/data/agents/data-chief.md +1035 -0
  306. package/pro/squads/data/agents/david-spinks.md +1896 -0
  307. package/pro/squads/data/agents/nick-mehta.md +1338 -0
  308. package/pro/squads/data/agents/peter-fader.md +1815 -0
  309. package/pro/squads/data/agents/sean-ellis.md +2460 -0
  310. package/pro/squads/data/agents/wes-kao.md +2124 -0
  311. package/pro/squads/data/checklists/cbc-readiness-checklist.md +155 -0
  312. package/pro/squads/data/checklists/community-health-checklist.md +131 -0
  313. package/pro/squads/data/checklists/customer-360-checklist.md +997 -0
  314. package/pro/squads/data/checklists/customer-centricity-checklist.md +105 -0
  315. package/pro/squads/data/checklists/health-score-checklist.md +984 -0
  316. package/pro/squads/data/checklists/pre-implementation-checklist.md +291 -0
  317. package/pro/squads/data/checklists/so-what-checklist.md +326 -0
  318. package/pro/squads/data/config.yaml +705 -0
  319. package/pro/squads/data/data/.gitkeep +0 -0
  320. package/pro/squads/data/data/README.md +84 -0
  321. package/pro/squads/data/data/framework/01_arquitetura_geral.md +134 -0
  322. package/pro/squads/data/data/framework/02_tier0_fundacao.md +198 -0
  323. package/pro/squads/data/data/framework/03_tier0_fundamentadores.md +297 -0
  324. package/pro/squads/data/data/framework/04_tier1_operacionalizadores.md +447 -0
  325. package/pro/squads/data/data/framework/05_tier2_comunicadores.md +297 -0
  326. package/pro/squads/data/data/framework/06_matriz_decisao.md +328 -0
  327. package/pro/squads/data/data/framework/07_workflows.md +552 -0
  328. package/pro/squads/data/data/framework/08_cheatsheet.md +216 -0
  329. package/pro/squads/data/examples/cohorts-diagnostic-sample-output.yaml +10 -0
  330. package/pro/squads/data/outputs/workspace-hardening-summary.md +12 -0
  331. package/pro/squads/data/projects/data-v1-setup/prd.json +440 -0
  332. package/pro/squads/data/projects/data-v1-setup/prompt.md +184 -0
  333. package/pro/squads/data/scripts/bootstrap-data-workspace.sh +186 -0
  334. package/pro/squads/data/scripts/validate-data-essentials.sh +237 -0
  335. package/pro/squads/data/tasks/analyze-cohort.md +1777 -0
  336. package/pro/squads/data/tasks/build-attribution.md +1695 -0
  337. package/pro/squads/data/tasks/calculate-clv.md +1660 -0
  338. package/pro/squads/data/tasks/create-dashboard.md +2305 -0
  339. package/pro/squads/data/tasks/define-north-star.md +1779 -0
  340. package/pro/squads/data/tasks/design-health-score.md +1952 -0
  341. package/pro/squads/data/tasks/design-learning-outcomes.md +2122 -0
  342. package/pro/squads/data/tasks/load-workspace-context.md +115 -0
  343. package/pro/squads/data/tasks/measure-community.md +1376 -0
  344. package/pro/squads/data/tasks/predict-churn.md +1979 -0
  345. package/pro/squads/data/tasks/run-growth-experiment.md +1863 -0
  346. package/pro/squads/data/tasks/run-pmf-test.md +1514 -0
  347. package/pro/squads/data/tasks/segment-rfm.md +2070 -0
  348. package/pro/squads/data/templates/attribution-report-tmpl.yaml +94 -0
  349. package/pro/squads/data/templates/churn-alert-tmpl.yaml +529 -0
  350. package/pro/squads/data/templates/clv-report-tmpl.yaml +818 -0
  351. package/pro/squads/data/templates/cohort-analysis-tmpl.yaml +72 -0
  352. package/pro/squads/data/templates/cohorts/community-health-cohort-tmpl.yaml +60 -0
  353. package/pro/squads/data/templates/cohorts/executive-summary-tmpl.yaml +54 -0
  354. package/pro/squads/data/templates/cohorts/icp-deep-analysis-tmpl.yaml +49 -0
  355. package/pro/squads/data/templates/cohorts/learning-journey-tmpl.yaml +52 -0
  356. package/pro/squads/data/templates/cohorts/segmentation-rfm-tmpl.yaml +48 -0
  357. package/pro/squads/data/templates/cohorts/student-health-score-tmpl.yaml +50 -0
  358. package/pro/squads/data/templates/community-health-tmpl.yaml +106 -0
  359. package/pro/squads/data/templates/customer-360-tmpl.yaml +80 -0
  360. package/pro/squads/data/templates/dmmm-tmpl.yaml +134 -0
  361. package/pro/squads/data/templates/executive-report-tmpl.yaml +432 -0
  362. package/pro/squads/data/templates/health-score-report-tmpl.yaml +644 -0
  363. package/pro/squads/data/templates/learning-outcomes-tmpl.yaml +112 -0
  364. package/pro/squads/data/workflows/cohort-analysis-workflow.md +356 -0
  365. package/pro/squads/data/workflows/cohorts-diagnostic.md +96 -0
  366. package/pro/squads/data/workflows/create-churn-system.md +354 -0
  367. package/pro/squads/data/workflows/fix-completion-rate.md +436 -0
  368. package/pro/squads/data/workflows/implement-attribution.md +371 -0
  369. package/pro/squads/data/workflows/implement-customer-360.md +297 -0
  370. package/pro/squads/data/workflows/optimize-community-workflow.md +463 -0
  371. package/pro/squads/data/workspace-hardening-state.json +6 -0
  372. package/pro/squads/db-sage/README.md +331 -0
  373. package/pro/squads/db-sage/agents/db-sage.md +317 -0
  374. package/pro/squads/db-sage/checklists/database-design-checklist.md +79 -0
  375. package/pro/squads/db-sage/checklists/database-migration-documentation-checklist.md +348 -0
  376. package/pro/squads/db-sage/checklists/db-kiss-validation-checklist.md +246 -0
  377. package/pro/squads/db-sage/checklists/dba-predeploy-checklist.md +276 -0
  378. package/pro/squads/db-sage/checklists/dba-rollback-checklist.md +65 -0
  379. package/pro/squads/db-sage/checklists/migration-validation-checklist.md +195 -0
  380. package/pro/squads/db-sage/checklists/supabase-best-practices-audit.md +256 -0
  381. package/pro/squads/db-sage/config.yaml +165 -0
  382. package/pro/squads/db-sage/data/database-best-practices.md +42 -0
  383. package/pro/squads/db-sage/data/migration-safety-guide.md +64 -0
  384. package/pro/squads/db-sage/data/postgres-tuning-guide.md +39 -0
  385. package/pro/squads/db-sage/data/rls-security-patterns.md +46 -0
  386. package/pro/squads/db-sage/data/supabase-agent-skills.md +970 -0
  387. package/pro/squads/db-sage/data/supabase-patterns.md +482 -0
  388. package/pro/squads/db-sage/docs/.gitkeep +0 -0
  389. package/pro/squads/db-sage/scripts/database-adapters/detect-database.sh +113 -0
  390. package/pro/squads/db-sage/scripts/database-adapters/postgresql-schema-loader.sh +334 -0
  391. package/pro/squads/db-sage/scripts/database-adapters/unified-db-loader.sh +176 -0
  392. package/pro/squads/db-sage/scripts/database-operations/README.md +638 -0
  393. package/pro/squads/db-sage/scripts/database-operations/backup-manager.sh +341 -0
  394. package/pro/squads/db-sage/scripts/database-operations/connection-monitor.sh +433 -0
  395. package/pro/squads/db-sage/scripts/database-operations/constraint-validator.sh +588 -0
  396. package/pro/squads/db-sage/scripts/database-operations/data-anonymizer.sh +446 -0
  397. package/pro/squads/db-sage/scripts/database-operations/data-loader.sh +346 -0
  398. package/pro/squads/db-sage/scripts/database-operations/explain-analyzer.sh +285 -0
  399. package/pro/squads/db-sage/scripts/database-operations/health-checker.sh +512 -0
  400. package/pro/squads/db-sage/scripts/database-operations/index-manager.sh +380 -0
  401. package/pro/squads/db-sage/scripts/database-operations/migration-generator.sh +490 -0
  402. package/pro/squads/db-sage/scripts/database-operations/migration-safe-runner.sh +228 -0
  403. package/pro/squads/db-sage/scripts/database-operations/permission-auditor.sh +513 -0
  404. package/pro/squads/db-sage/scripts/database-operations/query-killer.sh +306 -0
  405. package/pro/squads/db-sage/scripts/database-operations/replication-monitor.sh +366 -0
  406. package/pro/squads/db-sage/scripts/database-operations/rls-policy-installer.sh +480 -0
  407. package/pro/squads/db-sage/scripts/database-operations/rls-test-suite.sh +172 -0
  408. package/pro/squads/db-sage/scripts/database-operations/schema-differ.sh +265 -0
  409. package/pro/squads/db-sage/scripts/database-operations/security-scanner.sh +683 -0
  410. package/pro/squads/db-sage/scripts/database-operations/setup-pgpass.sh +185 -0
  411. package/pro/squads/db-sage/scripts/database-operations/vacuum-optimizer.sh +448 -0
  412. package/pro/squads/db-sage/scripts/db-ops/backup-manager.sh +321 -0
  413. package/pro/squads/db-sage/scripts/db-ops/best-practices-auditor.sh +534 -0
  414. package/pro/squads/db-sage/scripts/db-ops/bootstrap-runner.sh +255 -0
  415. package/pro/squads/db-sage/scripts/db-ops/data-loader.sh +616 -0
  416. package/pro/squads/db-sage/scripts/db-ops/detect-database.sh +25 -0
  417. package/pro/squads/db-sage/scripts/db-ops/explain-analyzer.sh +90 -0
  418. package/pro/squads/db-sage/scripts/db-ops/health-checker.sh +323 -0
  419. package/pro/squads/db-sage/scripts/db-ops/migration-runner.sh +308 -0
  420. package/pro/squads/db-sage/scripts/db-ops/query-runner.sh +171 -0
  421. package/pro/squads/db-sage/scripts/db-ops/rls-policy-installer.sh +46 -0
  422. package/pro/squads/db-sage/scripts/db-ops/rls-test-suite.sh +38 -0
  423. package/pro/squads/db-sage/scripts/db-ops/schema-context-loader.sh +25 -0
  424. package/pro/squads/db-sage/scripts/db-ops/squad-integration-preflight.sh +155 -0
  425. package/pro/squads/db-sage/tasks/create-doc.md +107 -0
  426. package/pro/squads/db-sage/tasks/db-analyze-hotpaths.md +406 -0
  427. package/pro/squads/db-sage/tasks/db-apply-migration.md +206 -0
  428. package/pro/squads/db-sage/tasks/db-best-practices-audit.md +523 -0
  429. package/pro/squads/db-sage/tasks/db-bootstrap.md +464 -0
  430. package/pro/squads/db-sage/tasks/db-dry-run.md +122 -0
  431. package/pro/squads/db-sage/tasks/db-env-check.md +94 -0
  432. package/pro/squads/db-sage/tasks/db-explain.md +461 -0
  433. package/pro/squads/db-sage/tasks/db-impersonate.md +326 -0
  434. package/pro/squads/db-sage/tasks/db-load-csv.md +433 -0
  435. package/pro/squads/db-sage/tasks/db-policy-apply.md +464 -0
  436. package/pro/squads/db-sage/tasks/db-rls-audit.md +241 -0
  437. package/pro/squads/db-sage/tasks/db-rollback.md +573 -0
  438. package/pro/squads/db-sage/tasks/db-run-sql.md +453 -0
  439. package/pro/squads/db-sage/tasks/db-seed.md +230 -0
  440. package/pro/squads/db-sage/tasks/db-smoke-test.md +181 -0
  441. package/pro/squads/db-sage/tasks/db-snapshot.md +403 -0
  442. package/pro/squads/db-sage/tasks/db-squad-integration.md +487 -0
  443. package/pro/squads/db-sage/tasks/db-verify-order.md +344 -0
  444. package/pro/squads/db-sage/tasks/domain-modeling.md +517 -0
  445. package/pro/squads/db-sage/tasks/execute-checklist.md +99 -0
  446. package/pro/squads/db-sage/tasks/kiss.md +129 -0
  447. package/pro/squads/db-sage/tasks/query-optimization.md +599 -0
  448. package/pro/squads/db-sage/tasks/schema-audit.md +833 -0
  449. package/pro/squads/db-sage/tasks/supabase-setup.md +536 -0
  450. package/pro/squads/db-sage/templates/backup-metadata.json.tmpl +7 -0
  451. package/pro/squads/db-sage/templates/db-analysis-template.yaml +291 -0
  452. package/pro/squads/db-sage/templates/index-strategy-tmpl.yaml +53 -0
  453. package/pro/squads/db-sage/templates/migration-plan-tmpl.yaml +1022 -0
  454. package/pro/squads/db-sage/templates/migration.sql.tmpl +9 -0
  455. package/pro/squads/db-sage/templates/rls-policies-tmpl.yaml +1201 -0
  456. package/pro/squads/db-sage/templates/rollback.sql.tmpl +9 -0
  457. package/pro/squads/db-sage/templates/schema-design-tmpl.yaml +426 -0
  458. package/pro/squads/db-sage/workflows/analyze-data-workflow.yaml +407 -0
  459. package/pro/squads/db-sage/workflows/backup-restore-workflow.yaml +121 -0
  460. package/pro/squads/db-sage/workflows/kiss-gate-workflow.yaml +143 -0
  461. package/pro/squads/db-sage/workflows/modify-schema-workflow.yaml +440 -0
  462. package/pro/squads/db-sage/workflows/performance-tuning-workflow.yaml +104 -0
  463. package/pro/squads/db-sage/workflows/query-database-workflow.yaml +394 -0
  464. package/pro/squads/db-sage/workflows/setup-database-workflow.yaml +428 -0
  465. package/pro/squads/design/HEADLINE.md +3 -0
  466. package/pro/squads/design/README.md +109 -0
  467. package/pro/squads/design/agents/brad-frost.md +1097 -0
  468. package/pro/squads/design/agents/dan-mall.md +857 -0
  469. package/pro/squads/design/agents/dave-malouf.md +2272 -0
  470. package/pro/squads/design/agents/design-chief.md +114 -0
  471. package/pro/squads/design/agents/ds-foundations-lead.md +194 -0
  472. package/pro/squads/design/agents/ds-token-architect.md +361 -0
  473. package/pro/squads/design/agents/nano-banana-generator.md +162 -0
  474. package/pro/squads/design/agents/storybook-expert.md +809 -0
  475. package/pro/squads/design/checklists/atomic-refactor-checklist.md +299 -0
  476. package/pro/squads/design/checklists/component-adaptation-checklist.md +81 -0
  477. package/pro/squads/design/checklists/design-fidelity-checklist.md +283 -0
  478. package/pro/squads/design/checklists/design-handoff-checklist.md +55 -0
  479. package/pro/squads/design/checklists/design-team-health-checklist.md +454 -0
  480. package/pro/squads/design/checklists/designops-maturity-checklist.md +518 -0
  481. package/pro/squads/design/checklists/ds-a11y-release-gate-checklist.md +45 -0
  482. package/pro/squads/design/checklists/ds-accessibility-wcag-checklist.md +147 -0
  483. package/pro/squads/design/checklists/ds-component-quality-checklist.md +150 -0
  484. package/pro/squads/design/checklists/ds-critical-eye-review-checklist.md +147 -0
  485. package/pro/squads/design/checklists/ds-migration-readiness-checklist.md +99 -0
  486. package/pro/squads/design/checklists/ds-pattern-audit-checklist.md +164 -0
  487. package/pro/squads/design/checklists/reading-accessibility-checklist.md +275 -0
  488. package/pro/squads/design/checklists/token-mapping-checklist.md +107 -0
  489. package/pro/squads/design/config/coding-standards.md +286 -0
  490. package/pro/squads/design/config/source-tree.md +59 -0
  491. package/pro/squads/design/config/tech-stack.md +48 -0
  492. package/pro/squads/design/config.yaml +207 -0
  493. package/pro/squads/design/data/agentic-design-systems-guide.md +46 -0
  494. package/pro/squads/design/data/agentic-ds-principles.md +100 -0
  495. package/pro/squads/design/data/atomic-design-principles.md +108 -0
  496. package/pro/squads/design/data/atomic-refactor-rules.md +582 -0
  497. package/pro/squads/design/data/base-component-specs.md +972 -0
  498. package/pro/squads/design/data/brad-frost-analysis-extract-implicit.yaml +270 -0
  499. package/pro/squads/design/data/brad-frost-analysis-find-0.8.yaml +176 -0
  500. package/pro/squads/design/data/brad-frost-analysis-qa-report.yaml +168 -0
  501. package/pro/squads/design/data/brad-frost-dna.yaml +713 -0
  502. package/pro/squads/design/data/capability-tools.yaml +124 -0
  503. package/pro/squads/design/data/component-adaptation-changelog.md +318 -0
  504. package/pro/squads/design/data/consolidation-algorithms.md +168 -0
  505. package/pro/squads/design/data/critical-eye-scoring-rules.yaml +240 -0
  506. package/pro/squads/design/data/design-token-best-practices.md +107 -0
  507. package/pro/squads/design/data/design-tokens-spec.yaml +418 -0
  508. package/pro/squads/design/data/ds-reference-architectures.md +93 -0
  509. package/pro/squads/design/data/f2-qa-report.md +168 -0
  510. package/pro/squads/design/data/f3-derived-components-changelog.md +100 -0
  511. package/pro/squads/design/data/f3-qa-report.md +208 -0
  512. package/pro/squads/design/data/figma-base-components-raw.md +102 -0
  513. package/pro/squads/design/data/figma-tokens-raw.md +1549 -0
  514. package/pro/squads/design/data/fluent2-design-principles.md +114 -0
  515. package/pro/squads/design/data/high-retention-reading-guide.md +349 -0
  516. package/pro/squads/design/data/integration-patterns.md +207 -0
  517. package/pro/squads/design/data/internal-quality-chain.yaml +48 -0
  518. package/pro/squads/design/data/motion-tokens-guide.md +202 -0
  519. package/pro/squads/design/data/roi-calculation-guide.md +142 -0
  520. package/pro/squads/design/data/token-mapping-reference.md +213 -0
  521. package/pro/squads/design/data/w3c-dtcg-spec-reference.md +149 -0
  522. package/pro/squads/design/data/wcag-compliance-guide.md +267 -0
  523. package/pro/squads/design/docs/AUDIT_REPORT.md +97 -0
  524. package/pro/squads/design/docs/DS-CURATION-PIPELINE-PROPOSAL.md +577 -0
  525. package/pro/squads/design/docs/UPGRADE_PLAN.md +618 -0
  526. package/pro/squads/design/docs/brad-frost-research-validation.md +372 -0
  527. package/pro/squads/design/docs/dave-malouf-research-validation.md +391 -0
  528. package/pro/squads/design/docs/tool-discovery-report.md +87 -0
  529. package/pro/squads/design/docs/tool-integration-plan.md +44 -0
  530. package/pro/squads/design/protocols/ai-first-governance.md +56 -0
  531. package/pro/squads/design/protocols/governance-execution-boundary.md +59 -0
  532. package/pro/squads/design/protocols/handoff.md +60 -0
  533. package/pro/squads/design/rules/.claude-rules.md +88 -0
  534. package/pro/squads/design/scripts/design-system/curate_colors.cjs +447 -0
  535. package/pro/squads/design/scripts/design-system/curate_components.cjs +217 -0
  536. package/pro/squads/design/scripts/design-system/curate_radius.cjs +190 -0
  537. package/pro/squads/design/scripts/design-system/curate_shadows.cjs +208 -0
  538. package/pro/squads/design/scripts/design-system/curate_spacing.cjs +243 -0
  539. package/pro/squads/design/scripts/design-system/curate_typography.cjs +404 -0
  540. package/pro/squads/design/scripts/design-system/design-system-metadata.test.js +49 -0
  541. package/pro/squads/design/scripts/design-system/design_manifest_lib.cjs +142 -0
  542. package/pro/squads/design/scripts/design-system/fetch_page_images.cjs +195 -0
  543. package/pro/squads/design/scripts/design-system/generate_components_metadata.cjs +114 -0
  544. package/pro/squads/design/scripts/design-system/generate_curation_report.cjs +258 -0
  545. package/pro/squads/design/scripts/design-system/generate_tokens.cjs +342 -0
  546. package/pro/squads/design/scripts/design-system/sync_design_manifest.cjs +27 -0
  547. package/pro/squads/design/scripts/design-system/test_mcp_tools.cjs +232 -0
  548. package/pro/squads/design/scripts/design-system/validate_components_metadata.cjs +96 -0
  549. package/pro/squads/design/scripts/design-system/validate_curation.cjs +226 -0
  550. package/pro/squads/design/scripts/design-system/validate_design_manifest_drift.cjs +72 -0
  551. package/pro/squads/design/scripts/design-system/validate_mcp_skeleton.cjs +38 -0
  552. package/pro/squads/design/scripts/design-system/validate_registry.cjs +186 -0
  553. package/pro/squads/design/scripts/design-system/validate_task_checklist_bindings.cjs +78 -0
  554. package/pro/squads/design/scripts/dissect-artifact.cjs +806 -0
  555. package/pro/squads/design/scripts/validate-a11y-integration.cjs +40 -0
  556. package/pro/squads/design/scripts/validate-design-squad.py +411 -0
  557. package/pro/squads/design/squad.yaml +714 -0
  558. package/pro/squads/design/tasks/a11y-audit.md +340 -0
  559. package/pro/squads/design/tasks/aria-audit.md +525 -0
  560. package/pro/squads/design/tasks/atomic-refactor-execute.md +391 -0
  561. package/pro/squads/design/tasks/atomic-refactor-plan.md +262 -0
  562. package/pro/squads/design/tasks/audit-reading-experience.md +350 -0
  563. package/pro/squads/design/tasks/audit-tailwind-config.md +101 -0
  564. package/pro/squads/design/tasks/bootstrap-shadcn-library.md +96 -0
  565. package/pro/squads/design/tasks/bundle-audit.md +245 -0
  566. package/pro/squads/design/tasks/contrast-matrix.md +373 -0
  567. package/pro/squads/design/tasks/create-doc.md +135 -0
  568. package/pro/squads/design/tasks/dead-code-detection.md +329 -0
  569. package/pro/squads/design/tasks/design-compare.md +414 -0
  570. package/pro/squads/design/tasks/design-process-optimization.md +407 -0
  571. package/pro/squads/design/tasks/design-review-orchestration.md +99 -0
  572. package/pro/squads/design/tasks/design-team-scaling.md +407 -0
  573. package/pro/squads/design/tasks/design-tooling-audit.md +404 -0
  574. package/pro/squads/design/tasks/design-triage.md +89 -0
  575. package/pro/squads/design/tasks/designops-maturity-assessment.md +364 -0
  576. package/pro/squads/design/tasks/designops-metrics-setup.md +465 -0
  577. package/pro/squads/design/tasks/ds-agentic-audit.md +100 -0
  578. package/pro/squads/design/tasks/ds-agentic-setup.md +103 -0
  579. package/pro/squads/design/tasks/ds-audit-codebase.md +273 -0
  580. package/pro/squads/design/tasks/ds-build-component.md +349 -0
  581. package/pro/squads/design/tasks/ds-build-mcp-server.md +84 -0
  582. package/pro/squads/design/tasks/ds-calculate-roi.md +282 -0
  583. package/pro/squads/design/tasks/ds-compose-molecule.md +106 -0
  584. package/pro/squads/design/tasks/ds-consolidate-patterns.md +253 -0
  585. package/pro/squads/design/tasks/ds-context-contract.md +194 -0
  586. package/pro/squads/design/tasks/ds-critical-eye-compare.md +130 -0
  587. package/pro/squads/design/tasks/ds-critical-eye-decide.md +139 -0
  588. package/pro/squads/design/tasks/ds-critical-eye-inventory.md +111 -0
  589. package/pro/squads/design/tasks/ds-critical-eye-report.md +101 -0
  590. package/pro/squads/design/tasks/ds-critical-eye-score.md +109 -0
  591. package/pro/squads/design/tasks/ds-designops.md +99 -0
  592. package/pro/squads/design/tasks/ds-extend-pattern.md +91 -0
  593. package/pro/squads/design/tasks/ds-extract-tokens.md +312 -0
  594. package/pro/squads/design/tasks/ds-figma-pipeline.md +95 -0
  595. package/pro/squads/design/tasks/ds-fluent-audit.md +105 -0
  596. package/pro/squads/design/tasks/ds-fluent-build.md +110 -0
  597. package/pro/squads/design/tasks/ds-generate-ai-metadata.md +81 -0
  598. package/pro/squads/design/tasks/ds-generate-cursor-rules.md +74 -0
  599. package/pro/squads/design/tasks/ds-generate-documentation.md +101 -0
  600. package/pro/squads/design/tasks/ds-generate-migration-strategy.md +331 -0
  601. package/pro/squads/design/tasks/ds-generate-shock-report.md +323 -0
  602. package/pro/squads/design/tasks/ds-govern-a11y-compliance.md +93 -0
  603. package/pro/squads/design/tasks/ds-governance.md +187 -0
  604. package/pro/squads/design/tasks/ds-health-metrics.md +278 -0
  605. package/pro/squads/design/tasks/ds-integrate-squad.md +130 -0
  606. package/pro/squads/design/tasks/ds-integrate-workspace.md +100 -0
  607. package/pro/squads/design/tasks/ds-legacy-modernization.md +302 -0
  608. package/pro/squads/design/tasks/ds-mcp-status.md +65 -0
  609. package/pro/squads/design/tasks/ds-motion-audit.md +118 -0
  610. package/pro/squads/design/tasks/ds-multi-framework.md +96 -0
  611. package/pro/squads/design/tasks/ds-parallelization-gate.md +246 -0
  612. package/pro/squads/design/tasks/ds-query.md +90 -0
  613. package/pro/squads/design/tasks/ds-rebuild-artifact.md +369 -0
  614. package/pro/squads/design/tasks/ds-reverse-engineer.md +194 -0
  615. package/pro/squads/design/tasks/ds-scan-artifact.md +131 -0
  616. package/pro/squads/design/tasks/ds-setup-design-system.md +297 -0
  617. package/pro/squads/design/tasks/ds-sync-registry.md +287 -0
  618. package/pro/squads/design/tasks/ds-theme-multi-brand.md +90 -0
  619. package/pro/squads/design/tasks/ds-token-modes.md +108 -0
  620. package/pro/squads/design/tasks/ds-token-w3c-extract.md +105 -0
  621. package/pro/squads/design/tasks/ds-validate-ai-readiness.md +69 -0
  622. package/pro/squads/design/tasks/ds-visual-regression.md +130 -0
  623. package/pro/squads/design/tasks/execute-checklist.md +141 -0
  624. package/pro/squads/design/tasks/export-design-tokens-dtcg.md +97 -0
  625. package/pro/squads/design/tasks/f1-apply-foundations.md +154 -0
  626. package/pro/squads/design/tasks/f1-ingest-figma-tokens.md +130 -0
  627. package/pro/squads/design/tasks/f1-map-tokens-to-shadcn.md +145 -0
  628. package/pro/squads/design/tasks/f1-qa-foundations.md +95 -0
  629. package/pro/squads/design/tasks/f2-adapt-shadcn-components.md +155 -0
  630. package/pro/squads/design/tasks/f2-ingest-base-components.md +148 -0
  631. package/pro/squads/design/tasks/f2-qa-base-components.md +98 -0
  632. package/pro/squads/design/tasks/f3-derive-components.md +145 -0
  633. package/pro/squads/design/tasks/f3-qa-derived-components.md +101 -0
  634. package/pro/squads/design/tasks/focus-order-audit.md +450 -0
  635. package/pro/squads/design/tasks/sb-brownfield-migrate.md +367 -0
  636. package/pro/squads/design/tasks/sb-brownfield-scan.md +318 -0
  637. package/pro/squads/design/tasks/sb-configure.md +230 -0
  638. package/pro/squads/design/tasks/sb-expand-shadcn.md +213 -0
  639. package/pro/squads/design/tasks/sb-generate-all-stories.md +288 -0
  640. package/pro/squads/design/tasks/sb-install.md +152 -0
  641. package/pro/squads/design/tasks/sb-sync-workspace.md +239 -0
  642. package/pro/squads/design/tasks/sb-verify.md +203 -0
  643. package/pro/squads/design/tasks/tailwind-upgrade.md +117 -0
  644. package/pro/squads/design/tasks/token-usage-analytics.md +262 -0
  645. package/pro/squads/design/tasks/ux-rewrite-sixth-grade.md +82 -0
  646. package/pro/squads/design/tasks/validate-design-fidelity.md +222 -0
  647. package/pro/squads/design/templates/agent-template.yaml +46 -0
  648. package/pro/squads/design/templates/clone-mind-template.md +352 -0
  649. package/pro/squads/design/templates/component-prompt-injection-tmpl.md +236 -0
  650. package/pro/squads/design/templates/component-visual-spec-tmpl.md +378 -0
  651. package/pro/squads/design/templates/critical-eye-cycle-report-tmpl.md +165 -0
  652. package/pro/squads/design/templates/design-fidelity-report-tmpl.md +155 -0
  653. package/pro/squads/design/templates/ds-ai-component-metadata-schema-tmpl.json +138 -0
  654. package/pro/squads/design/templates/ds-artifact-analysis.md +70 -0
  655. package/pro/squads/design/templates/ds-health-report-tmpl.md +236 -0
  656. package/pro/squads/design/templates/ds-migration-strategy-tmpl.md +524 -0
  657. package/pro/squads/design/templates/ds-state-persistence-tmpl.yaml +194 -0
  658. package/pro/squads/design/templates/ds-tokens-schema-tmpl.yaml +139 -0
  659. package/pro/squads/design/templates/migration-strategy-tmpl.md +524 -0
  660. package/pro/squads/design/templates/reading-design-tokens.css +26 -0
  661. package/pro/squads/design/templates/state-persistence-tmpl.yaml +219 -0
  662. package/pro/squads/design/templates/tokens-schema-tmpl.yaml +305 -0
  663. package/pro/squads/design/workflows/agentic-readiness.yaml +83 -0
  664. package/pro/squads/design/workflows/audit-only.yaml +198 -0
  665. package/pro/squads/design/workflows/brownfield-complete.yaml +257 -0
  666. package/pro/squads/design/workflows/critical-eye.yaml +184 -0
  667. package/pro/squads/design/workflows/dtcg-tokens-governance.yaml +64 -0
  668. package/pro/squads/design/workflows/foundations-pipeline.yaml +192 -0
  669. package/pro/squads/design/workflows/greenfield-new.yaml +192 -0
  670. package/pro/squads/design/workflows/motion-quality.yaml +65 -0
  671. package/pro/squads/design/workflows/self-healing-workflow.yaml +237 -0
  672. package/pro/squads/design/workflows/storybook-brownfield-migration.yaml +400 -0
  673. package/pro/squads/design/workflows/storybook-full-setup.yaml +280 -0
  674. package/pro/squads/etl-ops/HEADLINE.md +3 -0
  675. package/pro/squads/etl-ops/README.md +121 -0
  676. package/pro/squads/etl-ops/agents/etl-chief.md +440 -0
  677. package/pro/squads/etl-ops/agents/etl-extractor.md +352 -0
  678. package/pro/squads/etl-ops/agents/etl-transformer.md +409 -0
  679. package/pro/squads/etl-ops/checklists/.gitkeep +0 -0
  680. package/pro/squads/etl-ops/checklists/README.md +1 -0
  681. package/pro/squads/etl-ops/config.yaml +405 -0
  682. package/pro/squads/etl-ops/data/checkpoints.yaml +92 -0
  683. package/pro/squads/etl-ops/data/enriched-transcript.schema.json +107 -0
  684. package/pro/squads/etl-ops/data/infrastructure-map.yaml +27 -0
  685. package/pro/squads/etl-ops/data/output-contract.yaml +85 -0
  686. package/pro/squads/etl-ops/data/process.schema.json +293 -0
  687. package/pro/squads/etl-ops/data/quality-gates.yaml +40 -0
  688. package/pro/squads/etl-ops/data/routing-profiles.yaml +239 -0
  689. package/pro/squads/etl-ops/data/service-catalog.yaml +13 -0
  690. package/pro/squads/etl-ops/data/token-registry.yaml +58 -0
  691. package/pro/squads/etl-ops/docs/.gitkeep +0 -0
  692. package/pro/squads/etl-ops/scripts/bootstrap-etl-workspace.sh +42 -0
  693. package/pro/squads/etl-ops/scripts/etl-env-bootstrap.sh +876 -0
  694. package/pro/squads/etl-ops/scripts/validate-etl-essentials.sh +164 -0
  695. package/pro/squads/etl-ops/squad-io.yaml +61 -0
  696. package/pro/squads/etl-ops/tasks/compile.md +191 -0
  697. package/pro/squads/etl-ops/tasks/enrich.md +236 -0
  698. package/pro/squads/etl-ops/tasks/etl-env-bootstrap.md +140 -0
  699. package/pro/squads/etl-ops/tasks/extract-keyframes.md +318 -0
  700. package/pro/squads/etl-ops/tasks/extract-podcast.md +146 -0
  701. package/pro/squads/etl-ops/tasks/load-workspace-context.md +140 -0
  702. package/pro/squads/etl-ops/tasks/process.md +185 -0
  703. package/pro/squads/etl-ops/tasks/summarize-book.md +121 -0
  704. package/pro/squads/etl-ops/templates/cross-domain-handoff-tmpl.yaml +9 -0
  705. package/pro/squads/etl-ops/workflows/etl-pipeline.yaml +25 -0
  706. package/pro/squads/etl-ops/workflows/etl-thresholds.yaml +15 -0
  707. package/pro/squads/hormozi/HEADLINE.md +3 -0
  708. package/pro/squads/hormozi/README.md +313 -0
  709. package/pro/squads/hormozi/agents/hormozi-ads.md +1863 -0
  710. package/pro/squads/hormozi/agents/hormozi-advisor.md +1866 -0
  711. package/pro/squads/hormozi/agents/hormozi-audit.md +2301 -0
  712. package/pro/squads/hormozi/agents/hormozi-chief.md +1671 -0
  713. package/pro/squads/hormozi/agents/hormozi-closer.md +2631 -0
  714. package/pro/squads/hormozi/agents/hormozi-content.md +2148 -0
  715. package/pro/squads/hormozi/agents/hormozi-copy.md +2000 -0
  716. package/pro/squads/hormozi/agents/hormozi-hooks.md +1790 -0
  717. package/pro/squads/hormozi/agents/hormozi-launch.md +1734 -0
  718. package/pro/squads/hormozi/agents/hormozi-leads.md +1022 -0
  719. package/pro/squads/hormozi/agents/hormozi-models.md +1429 -0
  720. package/pro/squads/hormozi/agents/hormozi-offers.md +2228 -0
  721. package/pro/squads/hormozi/agents/hormozi-pricing.md +1784 -0
  722. package/pro/squads/hormozi/agents/hormozi-retention.md +1467 -0
  723. package/pro/squads/hormozi/agents/hormozi-scale.md +2312 -0
  724. package/pro/squads/hormozi/agents/hormozi-workshop.md +2715 -0
  725. package/pro/squads/hormozi/checklists/5-horsemen-checklist.md +188 -0
  726. package/pro/squads/hormozi/checklists/activation-point-checklist.md +156 -0
  727. package/pro/squads/hormozi/checklists/ad-angles-checklist.md +395 -0
  728. package/pro/squads/hormozi/checklists/affiliates-referrals-checklist.md +411 -0
  729. package/pro/squads/hormozi/checklists/antipattern-screening.md +319 -0
  730. package/pro/squads/hormozi/checklists/bonuses-checklist.md +282 -0
  731. package/pro/squads/hormozi/checklists/branding-checklist.md +547 -0
  732. package/pro/squads/hormozi/checklists/churn-diagnosis-checklist.md +148 -0
  733. package/pro/squads/hormozi/checklists/content-creation-checklist.md +598 -0
  734. package/pro/squads/hormozi/checklists/core-four-checklist.md +543 -0
  735. package/pro/squads/hormozi/checklists/customer-journey-checklist.md +207 -0
  736. package/pro/squads/hormozi/checklists/downsell-strategy-checklist.md +306 -0
  737. package/pro/squads/hormozi/checklists/email-campaign-checklist.md +484 -0
  738. package/pro/squads/hormozi/checklists/engagement-scoring-checklist.md +227 -0
  739. package/pro/squads/hormozi/checklists/exit-interview-checklist.md +206 -0
  740. package/pro/squads/hormozi/checklists/fast-cash-checklist.md +434 -0
  741. package/pro/squads/hormozi/checklists/goated-ads-checklist.md +558 -0
  742. package/pro/squads/hormozi/checklists/golden-ratios-veto.md +340 -0
  743. package/pro/squads/hormozi/checklists/guarantees-checklist.md +312 -0
  744. package/pro/squads/hormozi/checklists/hooks-checklist.md +621 -0
  745. package/pro/squads/hormozi/checklists/landing-page-checklist.md +514 -0
  746. package/pro/squads/hormozi/checklists/launch-checklist.md +1033 -0
  747. package/pro/squads/hormozi/checklists/lead-magnet-checklist.md +421 -0
  748. package/pro/squads/hormozi/checklists/lead-nurture-checklist.md +730 -0
  749. package/pro/squads/hormozi/checklists/ltv-checklist.md +953 -0
  750. package/pro/squads/hormozi/checklists/market-validation-veto.md +248 -0
  751. package/pro/squads/hormozi/checklists/marketing-machine-checklist.md +570 -0
  752. package/pro/squads/hormozi/checklists/money-model-checklist.md +226 -0
  753. package/pro/squads/hormozi/checklists/naming-framework-checklist.md +325 -0
  754. package/pro/squads/hormozi/checklists/offer-architecture-checklist.md +542 -0
  755. package/pro/squads/hormozi/checklists/onboarding-30-day-checklist.md +223 -0
  756. package/pro/squads/hormozi/checklists/price-raise-checklist.md +399 -0
  757. package/pro/squads/hormozi/checklists/pricing-checklist.md +228 -0
  758. package/pro/squads/hormozi/checklists/pricing-framework-checklist.md +627 -0
  759. package/pro/squads/hormozi/checklists/registration-page-checklist.md +429 -0
  760. package/pro/squads/hormozi/checklists/retention-checklist.md +977 -0
  761. package/pro/squads/hormozi/checklists/sales-page-checklist.md +682 -0
  762. package/pro/squads/hormozi/checklists/scarcity-urgency-checklist.md +423 -0
  763. package/pro/squads/hormozi/checklists/subscription-model-checklist.md +342 -0
  764. package/pro/squads/hormozi/checklists/upsell-page-checklist.md +374 -0
  765. package/pro/squads/hormozi/checklists/upsell-sequence-checklist.md +217 -0
  766. package/pro/squads/hormozi/checklists/upsell-strategy-checklist.md +424 -0
  767. package/pro/squads/hormozi/checklists/value-equation-checklist.md +387 -0
  768. package/pro/squads/hormozi/checklists/vsl-script-checklist.md +464 -0
  769. package/pro/squads/hormozi/checklists/workshop-launch-checklist.md +585 -0
  770. package/pro/squads/hormozi/config/veto-conditions.yaml +324 -0
  771. package/pro/squads/hormozi/config.yaml +617 -0
  772. package/pro/squads/hormozi/data/antipatterns-database.yaml +402 -0
  773. package/pro/squads/hormozi/data/hormozi-case-library.yaml +469 -0
  774. package/pro/squads/hormozi/data/hormozi-infrastructure-map.yaml +16 -0
  775. package/pro/squads/hormozi/data/hormozi-service-catalog.yaml +14 -0
  776. package/pro/squads/hormozi/data/minds/hormozi-ads_dna.yaml +75 -0
  777. package/pro/squads/hormozi/data/minds/hormozi-advisor_dna.yaml +112 -0
  778. package/pro/squads/hormozi/data/minds/hormozi-audit_dna.yaml +124 -0
  779. package/pro/squads/hormozi/data/minds/hormozi-closer_dna.yaml +109 -0
  780. package/pro/squads/hormozi/data/minds/hormozi-content_dna.yaml +112 -0
  781. package/pro/squads/hormozi/data/minds/hormozi-copy_dna.yaml +115 -0
  782. package/pro/squads/hormozi/data/minds/hormozi-hooks_dna.yaml +134 -0
  783. package/pro/squads/hormozi/data/minds/hormozi-launch_dna.yaml +122 -0
  784. package/pro/squads/hormozi/data/minds/hormozi-leads_dna.yaml +64 -0
  785. package/pro/squads/hormozi/data/minds/hormozi-models_dna.yaml +111 -0
  786. package/pro/squads/hormozi/data/minds/hormozi-offers_dna.yaml +100 -0
  787. package/pro/squads/hormozi/data/minds/hormozi-pricing_dna.yaml +129 -0
  788. package/pro/squads/hormozi/data/minds/hormozi-retention_dna.yaml +120 -0
  789. package/pro/squads/hormozi/data/minds/hormozi-scale_dna.yaml +112 -0
  790. package/pro/squads/hormozi/data/minds/hormozi-thinking-dna.yaml +421 -0
  791. package/pro/squads/hormozi/data/minds/hormozi-voice-dna.yaml +548 -0
  792. package/pro/squads/hormozi/data/minds/hormozi-workshop_dna.yaml +109 -0
  793. package/pro/squads/hormozi/data/quality-gates.yaml +76 -0
  794. package/pro/squads/hormozi/data/scaling-by-business-type.yaml +166 -0
  795. package/pro/squads/hormozi/data/source-index.yaml +215 -0
  796. package/pro/squads/hormozi/data/swipefiles/ads-swipefile.yaml +378 -0
  797. package/pro/squads/hormozi/data/swipefiles/blueprint-swipefile.yaml +1223 -0
  798. package/pro/squads/hormozi/data/swipefiles/branding-swipefile.yaml +142 -0
  799. package/pro/squads/hormozi/data/swipefiles/closing-swipefile.yaml +716 -0
  800. package/pro/squads/hormozi/data/swipefiles/content-swipefile.yaml +579 -0
  801. package/pro/squads/hormozi/data/swipefiles/copy-sales-swipefile.yaml +1085 -0
  802. package/pro/squads/hormozi/data/swipefiles/fast-cash-swipefile.yaml +190 -0
  803. package/pro/squads/hormozi/data/swipefiles/goated-ads-swipefile.yaml +770 -0
  804. package/pro/squads/hormozi/data/swipefiles/hooks-swipefile.yaml +1982 -0
  805. package/pro/squads/hormozi/data/swipefiles/lead-nurture-swipefile.yaml +191 -0
  806. package/pro/squads/hormozi/data/swipefiles/ltv-swipefile.yaml +216 -0
  807. package/pro/squads/hormozi/data/swipefiles/marketing-machine-swipefile.yaml +191 -0
  808. package/pro/squads/hormozi/data/swipefiles/naming-swipefile-brasil.yaml +596 -0
  809. package/pro/squads/hormozi/data/swipefiles/naming-swipefile-global.yaml +543 -0
  810. package/pro/squads/hormozi/data/swipefiles/price-raise-swipefile.yaml +213 -0
  811. package/pro/squads/hormozi/data/swipefiles/pricing-swipefile.yaml +203 -0
  812. package/pro/squads/hormozi/data/swipefiles/proof-swipefile.yaml +443 -0
  813. package/pro/squads/hormozi/data/swipefiles/retention-swipefile.yaml +245 -0
  814. package/pro/squads/hormozi/data/swipefiles/scaling-roadmap-swipefile.yaml +529 -0
  815. package/pro/squads/hormozi/data/swipefiles/workshop-launch-swipefile.yaml +912 -0
  816. package/pro/squads/hormozi/data/token-registry.yaml +89 -0
  817. package/pro/squads/hormozi/docs/MIGRATION-PLAN-AGENT-CONFORMITY.md +326 -0
  818. package/pro/squads/hormozi/docs/frameworks/100m-offers-framework.md +363 -0
  819. package/pro/squads/hormozi/docs/frameworks/attraction-offers-framework.md +720 -0
  820. package/pro/squads/hormozi/docs/frameworks/bonuses-framework.md +501 -0
  821. package/pro/squads/hormozi/docs/frameworks/core-four-framework.md +685 -0
  822. package/pro/squads/hormozi/docs/frameworks/goated-ads-framework.md +916 -0
  823. package/pro/squads/hormozi/docs/frameworks/guarantees-framework.md +709 -0
  824. package/pro/squads/hormozi/docs/frameworks/hooks-framework.md +1007 -0
  825. package/pro/squads/hormozi/docs/frameworks/lead-magnet-framework.md +485 -0
  826. package/pro/squads/hormozi/docs/frameworks/money-models-framework.md +891 -0
  827. package/pro/squads/hormozi/docs/frameworks/scarcity-framework.md +793 -0
  828. package/pro/squads/hormozi/docs/frameworks/urgency-framework.md +533 -0
  829. package/pro/squads/hormozi/docs/frameworks/value-equation-framework.md +428 -0
  830. package/pro/squads/hormozi/docs/frameworks/workshop-framework.md +289 -0
  831. package/pro/squads/hormozi/docs/sops/.parallel-execution-plan-batch2.md +344 -0
  832. package/pro/squads/hormozi/docs/sops/.parallel-execution-plan-batch3.md +331 -0
  833. package/pro/squads/hormozi/docs/sops/.parallel-execution-plan.md +558 -0
  834. package/pro/squads/hormozi/docs/sops/ad-angles-sop.md +1247 -0
  835. package/pro/squads/hormozi/docs/sops/ad-angles-squad-blueprint.yaml +739 -0
  836. package/pro/squads/hormozi/docs/sops/affiliates-referrals-sop.md +1105 -0
  837. package/pro/squads/hormozi/docs/sops/affiliates-referrals-squad-blueprint.yaml +1131 -0
  838. package/pro/squads/hormozi/docs/sops/bonuses-sop.md +1014 -0
  839. package/pro/squads/hormozi/docs/sops/bonuses-squad-blueprint.yaml +994 -0
  840. package/pro/squads/hormozi/docs/sops/branding-sop.md +870 -0
  841. package/pro/squads/hormozi/docs/sops/branding-squad-blueprint.yaml +1107 -0
  842. package/pro/squads/hormozi/docs/sops/content-creation-sop.md +877 -0
  843. package/pro/squads/hormozi/docs/sops/content-creation-squad-blueprint.yaml +1362 -0
  844. package/pro/squads/hormozi/docs/sops/core-four-sop.md +1231 -0
  845. package/pro/squads/hormozi/docs/sops/core-four-squad-blueprint.yaml +1205 -0
  846. package/pro/squads/hormozi/docs/sops/downsell-strategy-sop.md +832 -0
  847. package/pro/squads/hormozi/docs/sops/downsell-strategy-squad-blueprint.yaml +1230 -0
  848. package/pro/squads/hormozi/docs/sops/email-campaign-sop.md +1547 -0
  849. package/pro/squads/hormozi/docs/sops/email-campaign-squad-blueprint.yaml +1150 -0
  850. package/pro/squads/hormozi/docs/sops/fast-cash-sop.md +1224 -0
  851. package/pro/squads/hormozi/docs/sops/fast-cash-squad-blueprint.yaml +1128 -0
  852. package/pro/squads/hormozi/docs/sops/goated-ads-sop.md +671 -0
  853. package/pro/squads/hormozi/docs/sops/goated-ads-squad-blueprint.yaml +627 -0
  854. package/pro/squads/hormozi/docs/sops/guarantees-sop.md +1017 -0
  855. package/pro/squads/hormozi/docs/sops/guarantees-squad-blueprint.yaml +1252 -0
  856. package/pro/squads/hormozi/docs/sops/hooks-sop.md +958 -0
  857. package/pro/squads/hormozi/docs/sops/hooks-squad-blueprint.yaml +740 -0
  858. package/pro/squads/hormozi/docs/sops/landing-page-sop.md +1079 -0
  859. package/pro/squads/hormozi/docs/sops/landing-page-squad-blueprint.yaml +1373 -0
  860. package/pro/squads/hormozi/docs/sops/launch-sop.md +1055 -0
  861. package/pro/squads/hormozi/docs/sops/launch-squad-blueprint.yaml +1276 -0
  862. package/pro/squads/hormozi/docs/sops/lead-magnet-sop.md +807 -0
  863. package/pro/squads/hormozi/docs/sops/lead-magnet-squad-blueprint.yaml +1144 -0
  864. package/pro/squads/hormozi/docs/sops/lead-nurture-sop.md +867 -0
  865. package/pro/squads/hormozi/docs/sops/lead-nurture-squad-blueprint.yaml +1168 -0
  866. package/pro/squads/hormozi/docs/sops/ltv-sop.md +897 -0
  867. package/pro/squads/hormozi/docs/sops/ltv-squad-blueprint.yaml +1286 -0
  868. package/pro/squads/hormozi/docs/sops/marketing-machine-sop.md +1257 -0
  869. package/pro/squads/hormozi/docs/sops/marketing-machine-squad-blueprint.yaml +1433 -0
  870. package/pro/squads/hormozi/docs/sops/naming-framework-sop.md +1006 -0
  871. package/pro/squads/hormozi/docs/sops/naming-framework-squad-blueprint.yaml +543 -0
  872. package/pro/squads/hormozi/docs/sops/offer-architecture-sop.md +843 -0
  873. package/pro/squads/hormozi/docs/sops/offer-architecture-squad-blueprint.yaml +794 -0
  874. package/pro/squads/hormozi/docs/sops/price-raise-sop.md +983 -0
  875. package/pro/squads/hormozi/docs/sops/price-raise-squad-blueprint.yaml +919 -0
  876. package/pro/squads/hormozi/docs/sops/pricing-framework-sop.md +459 -0
  877. package/pro/squads/hormozi/docs/sops/pricing-squad-blueprint.yaml +517 -0
  878. package/pro/squads/hormozi/docs/sops/registration-page-sop.md +1111 -0
  879. package/pro/squads/hormozi/docs/sops/registration-page-squad-blueprint.yaml +762 -0
  880. package/pro/squads/hormozi/docs/sops/retention-sop.md +1065 -0
  881. package/pro/squads/hormozi/docs/sops/retention-squad-blueprint.yaml +1356 -0
  882. package/pro/squads/hormozi/docs/sops/sales-page-sop.md +924 -0
  883. package/pro/squads/hormozi/docs/sops/sales-page-squad-blueprint.yaml +1096 -0
  884. package/pro/squads/hormozi/docs/sops/scarcity-urgency-sop.md +1092 -0
  885. package/pro/squads/hormozi/docs/sops/scarcity-urgency-squad-blueprint.yaml +1206 -0
  886. package/pro/squads/hormozi/docs/sops/subscription-model-sop.md +1077 -0
  887. package/pro/squads/hormozi/docs/sops/subscription-model-squad-blueprint.yaml +1007 -0
  888. package/pro/squads/hormozi/docs/sops/upsell-page-sop.md +886 -0
  889. package/pro/squads/hormozi/docs/sops/upsell-page-squad-blueprint.yaml +1100 -0
  890. package/pro/squads/hormozi/docs/sops/upsell-strategy-sop.md +1265 -0
  891. package/pro/squads/hormozi/docs/sops/upsell-strategy-squad-blueprint.yaml +1245 -0
  892. package/pro/squads/hormozi/docs/sops/value-equation-sop.md +793 -0
  893. package/pro/squads/hormozi/docs/sops/value-equation-squad-blueprint.yaml +777 -0
  894. package/pro/squads/hormozi/docs/sops/vsl-script-sop.md +1145 -0
  895. package/pro/squads/hormozi/docs/sops/vsl-script-squad-blueprint.yaml +777 -0
  896. package/pro/squads/hormozi/docs/sops/workshop-launch-sop.md +1273 -0
  897. package/pro/squads/hormozi/docs/sops/workshop-launch-squad-blueprint.yaml +1292 -0
  898. package/pro/squads/hormozi/docs/validation-report-2026-02-10.md +79 -0
  899. package/pro/squads/hormozi/scripts/generate-hormozi-greeting.cjs +132 -0
  900. package/pro/squads/hormozi/scripts/load-context.cjs +139 -0
  901. package/pro/squads/hormozi/scripts/resolve-readiness.cjs +45 -0
  902. package/pro/squads/hormozi/scripts/runtime-paths.cjs +44 -0
  903. package/pro/squads/hormozi/scripts/set-active-context.cjs +104 -0
  904. package/pro/squads/hormozi/scripts/show-context.cjs +22 -0
  905. package/pro/squads/hormozi/scripts/validate-antipattern.py +287 -0
  906. package/pro/squads/hormozi/scripts/validate-handoff.py +166 -0
  907. package/pro/squads/hormozi/scripts/validate-mvn.py +198 -0
  908. package/pro/squads/hormozi/sops/pricing-squad-blueprint.yaml +1445 -0
  909. package/pro/squads/hormozi/squad-io.yaml +917 -0
  910. package/pro/squads/hormozi/tasks/architect-offer-stack.md +228 -0
  911. package/pro/squads/hormozi/tasks/build-marketing-machine.md +205 -0
  912. package/pro/squads/hormozi/tasks/build-scaling-team.md +271 -0
  913. package/pro/squads/hormozi/tasks/calculate-30-day-profit.md +418 -0
  914. package/pro/squads/hormozi/tasks/calculate-ppd.md +200 -0
  915. package/pro/squads/hormozi/tasks/create-ad-angles.md +182 -0
  916. package/pro/squads/hormozi/tasks/create-ad-campaign.md +399 -0
  917. package/pro/squads/hormozi/tasks/create-bonus-stack.md +287 -0
  918. package/pro/squads/hormozi/tasks/create-closer-script.md +240 -0
  919. package/pro/squads/hormozi/tasks/create-content-unit.md +176 -0
  920. package/pro/squads/hormozi/tasks/create-contingency-plan.md +426 -0
  921. package/pro/squads/hormozi/tasks/create-downsell-sequence.md +427 -0
  922. package/pro/squads/hormozi/tasks/create-email-sequence.md +196 -0
  923. package/pro/squads/hormozi/tasks/create-engagement-scoring.md +484 -0
  924. package/pro/squads/hormozi/tasks/create-exit-interview-system.md +382 -0
  925. package/pro/squads/hormozi/tasks/create-grand-slam-offer.md +499 -0
  926. package/pro/squads/hormozi/tasks/create-guarantee-stack.md +246 -0
  927. package/pro/squads/hormozi/tasks/create-hook-set.md +368 -0
  928. package/pro/squads/hormozi/tasks/create-landing-page.md +130 -0
  929. package/pro/squads/hormozi/tasks/create-launch-narrative.md +406 -0
  930. package/pro/squads/hormozi/tasks/create-launch-timeline.md +473 -0
  931. package/pro/squads/hormozi/tasks/create-lead-magnet.md +479 -0
  932. package/pro/squads/hormozi/tasks/create-nurture-sequence.md +207 -0
  933. package/pro/squads/hormozi/tasks/create-offer-name.md +165 -0
  934. package/pro/squads/hormozi/tasks/create-pricing-strategy.md +177 -0
  935. package/pro/squads/hormozi/tasks/create-registration-page.md +190 -0
  936. package/pro/squads/hormozi/tasks/create-sales-page.md +157 -0
  937. package/pro/squads/hormozi/tasks/create-upsell-page.md +138 -0
  938. package/pro/squads/hormozi/tasks/create-upsell-sequence.md +449 -0
  939. package/pro/squads/hormozi/tasks/create-vsl-script.md +175 -0
  940. package/pro/squads/hormozi/tasks/design-brand-identity.md +186 -0
  941. package/pro/squads/hormozi/tasks/design-continuity-offer.md +462 -0
  942. package/pro/squads/hormozi/tasks/design-core-four-strategy.md +733 -0
  943. package/pro/squads/hormozi/tasks/design-customer-journey.md +426 -0
  944. package/pro/squads/hormozi/tasks/design-launch-value-stack.md +379 -0
  945. package/pro/squads/hormozi/tasks/design-money-model.md +391 -0
  946. package/pro/squads/hormozi/tasks/design-onboarding-sequence.md +380 -0
  947. package/pro/squads/hormozi/tasks/design-scarcity-urgency.md +216 -0
  948. package/pro/squads/hormozi/tasks/design-subscription-model.md +162 -0
  949. package/pro/squads/hormozi/tasks/design-systems-automation.md +234 -0
  950. package/pro/squads/hormozi/tasks/design-workshop.md +167 -0
  951. package/pro/squads/hormozi/tasks/diagnose-business-stage.md +323 -0
  952. package/pro/squads/hormozi/tasks/diagnose-cfa-level.md +198 -0
  953. package/pro/squads/hormozi/tasks/diagnose-churn-rate.md +265 -0
  954. package/pro/squads/hormozi/tasks/diagnose-scaling-constraint.md +257 -0
  955. package/pro/squads/hormozi/tasks/diagnose-value-equation.md +431 -0
  956. package/pro/squads/hormozi/tasks/discover-activation-points.md +329 -0
  957. package/pro/squads/hormozi/tasks/execute-price-raise.md +221 -0
  958. package/pro/squads/hormozi/tasks/execute-rule-of-100.md +423 -0
  959. package/pro/squads/hormozi/tasks/generate-fast-cash.md +217 -0
  960. package/pro/squads/hormozi/tasks/implement-5-horsemen.md +430 -0
  961. package/pro/squads/hormozi/tasks/optimize-ltv-cac-ratio.md +505 -0
  962. package/pro/squads/hormozi/tasks/plan-launch-evento.md +395 -0
  963. package/pro/squads/hormozi/tasks/run-launch-post-mortem.md +461 -0
  964. package/pro/squads/hormozi/tasks/setup-affiliate-program.md +406 -0
  965. package/pro/squads/hormozi/tasks/setup-war-room.md +407 -0
  966. package/pro/squads/hormozi/tasks/validate-market-selection.md +331 -0
  967. package/pro/squads/hormozi/templates/capacity-planning-worksheet.yaml +151 -0
  968. package/pro/squads/hormozi/templates/grand-slam-offer-output.yaml +462 -0
  969. package/pro/squads/hormozi/templates/grand-slam-offer-tmpl.md +34 -0
  970. package/pro/squads/hormozi/templates/handoff-context-tmpl.yaml +215 -0
  971. package/pro/squads/hormozi/templates/money-model-tmpl.md +29 -0
  972. package/pro/squads/hormozi/templates/offer-analysis-tmpl.md +33 -0
  973. package/pro/squads/hormozi/templates/value-equation-scorecard.md +267 -0
  974. package/pro/squads/hormozi/workflows/wf-context-diagnosis.yaml +569 -0
  975. package/pro/squads/hormozi/workflows/wf-full-launch-sequence.yaml +995 -0
  976. package/pro/squads/hormozi/workflows/wf-grand-slam-offer.yaml +1138 -0
  977. package/pro/squads/hormozi/workflows/wf-growth-decision.yaml +135 -0
  978. package/pro/squads/hormozi/workflows/wf-lead-magnet-pipeline.yaml +1147 -0
  979. package/pro/squads/hormozi/workflows/wf-money-model-design.yaml +1168 -0
  980. package/pro/squads/hormozi/workflows/wf-opportunity-screening.yaml +511 -0
  981. package/pro/squads/hormozi/workflows/wf-paid-ads-campaign.yaml +1204 -0
  982. package/pro/squads/hormozi/workflows/wf-scaling-diagnostic.yaml +636 -0
  983. package/pro/squads/index.js +145 -0
  984. package/pro/squads/spy/HEADLINE.md +3 -0
  985. package/pro/squads/spy/README.md +115 -0
  986. package/pro/squads/spy/agents/bench-analyst.md +654 -0
  987. package/pro/squads/spy/agents/research-head.md +673 -0
  988. package/pro/squads/spy/agents/spy.md +498 -0
  989. package/pro/squads/spy/checklists/bench-quality-checklist.md +119 -0
  990. package/pro/squads/spy/checklists/content-creation-checklist.md +136 -0
  991. package/pro/squads/spy/config.yaml +587 -0
  992. package/pro/squads/spy/data/bench-data-sources.yaml +46 -0
  993. package/pro/squads/spy/data/bench-dimension-packs.yaml +182 -0
  994. package/pro/squads/spy/data/bench-output-formats.yaml +44 -0
  995. package/pro/squads/spy/data/bench-skeleton.md +184 -0
  996. package/pro/squads/spy/data/capability-tools.yaml +109 -0
  997. package/pro/squads/spy/data/knowledge-base.md +337 -0
  998. package/pro/squads/spy/data/quality-gates.yaml +48 -0
  999. package/pro/squads/spy/data/spy-infrastructure-map.yaml +27 -0
  1000. package/pro/squads/spy/data/spy-service-catalog.yaml +13 -0
  1001. package/pro/squads/spy/data/token-registry.yaml +57 -0
  1002. package/pro/squads/spy/data/viral-content-framework.md +304 -0
  1003. package/pro/squads/spy/docs/tool-discovery-report.md +110 -0
  1004. package/pro/squads/spy/docs/tool-integration-plan.md +47 -0
  1005. package/pro/squads/spy/scripts/prepare-benchmark-workspace.sh +14 -0
  1006. package/pro/squads/spy/scripts/publish-benchmark-report.sh +16 -0
  1007. package/pro/squads/spy/squad-io.yaml +24 -0
  1008. package/pro/squads/spy/tasks/bench-absorb.md +266 -0
  1009. package/pro/squads/spy/tasks/bench-battle-card.md +398 -0
  1010. package/pro/squads/spy/tasks/bench-codebase-recon.md +339 -0
  1011. package/pro/squads/spy/tasks/bench-company-intel.md +360 -0
  1012. package/pro/squads/spy/tasks/bench-deep-compare.md +573 -0
  1013. package/pro/squads/spy/tasks/bench-detect.md +349 -0
  1014. package/pro/squads/spy/tasks/bench-framework.md +105 -0
  1015. package/pro/squads/spy/tasks/bench-gap-analysis.md +168 -0
  1016. package/pro/squads/spy/tasks/bench-gap-company.md +48 -0
  1017. package/pro/squads/spy/tasks/bench-gap-llm.md +48 -0
  1018. package/pro/squads/spy/tasks/bench-gap-product.md +48 -0
  1019. package/pro/squads/spy/tasks/bench-gap-technology.md +48 -0
  1020. package/pro/squads/spy/tasks/bench-gap.md +78 -0
  1021. package/pro/squads/spy/tasks/bench-hooks.md +209 -0
  1022. package/pro/squads/spy/tasks/bench-inventory.md +98 -0
  1023. package/pro/squads/spy/tasks/bench-llm-eval.md +359 -0
  1024. package/pro/squads/spy/tasks/bench-matrix-codebase.md +50 -0
  1025. package/pro/squads/spy/tasks/bench-matrix-company.md +50 -0
  1026. package/pro/squads/spy/tasks/bench-matrix-llm.md +50 -0
  1027. package/pro/squads/spy/tasks/bench-matrix-product.md +50 -0
  1028. package/pro/squads/spy/tasks/bench-matrix-technology.md +50 -0
  1029. package/pro/squads/spy/tasks/bench-matrix.md +78 -0
  1030. package/pro/squads/spy/tasks/bench-migrate.md +207 -0
  1031. package/pro/squads/spy/tasks/bench-product-research.md +370 -0
  1032. package/pro/squads/spy/tasks/bench-quick-compare.md +287 -0
  1033. package/pro/squads/spy/tasks/bench-report-load-evidence.md +49 -0
  1034. package/pro/squads/spy/tasks/bench-report-publish.md +49 -0
  1035. package/pro/squads/spy/tasks/bench-report-synthesize-findings.md +48 -0
  1036. package/pro/squads/spy/tasks/bench-report.md +70 -0
  1037. package/pro/squads/spy/tasks/bench-score.md +406 -0
  1038. package/pro/squads/spy/tasks/bench-synergy.md +248 -0
  1039. package/pro/squads/spy/tasks/bench-tech-eval.md +417 -0
  1040. package/pro/squads/spy/tasks/bench-traceability.md +225 -0
  1041. package/pro/squads/spy/tasks/deep-research-collect.md +50 -0
  1042. package/pro/squads/spy/tasks/deep-research-comments.md +48 -0
  1043. package/pro/squads/spy/tasks/deep-research-patterns.md +49 -0
  1044. package/pro/squads/spy/tasks/deep-research-publish.md +49 -0
  1045. package/pro/squads/spy/tasks/deep-research-select.md +48 -0
  1046. package/pro/squads/spy/tasks/deep-research-synthesis.md +49 -0
  1047. package/pro/squads/spy/tasks/deep-research-transcribe.md +48 -0
  1048. package/pro/squads/spy/tasks/deep-research.md +116 -0
  1049. package/pro/squads/spy/tasks/quick-analysis.md +130 -0
  1050. package/pro/squads/spy/templates/bench-battle-card-tmpl.md +52 -0
  1051. package/pro/squads/spy/templates/bench-codebase-comparativo-tmpl.md +84 -0
  1052. package/pro/squads/spy/templates/bench-codebase-scores-tmpl.md +41 -0
  1053. package/pro/squads/spy/templates/bench-comparativo-tmpl.md +86 -0
  1054. package/pro/squads/spy/templates/bench-deep-compare-tmpl.md +117 -0
  1055. package/pro/squads/spy/templates/bench-gap-tmpl.md +194 -0
  1056. package/pro/squads/spy/templates/bench-matrix-tmpl.md +130 -0
  1057. package/pro/squads/spy/templates/bench-migration-tmpl.md +127 -0
  1058. package/pro/squads/spy/templates/bench-quadrant-tmpl.md +227 -0
  1059. package/pro/squads/spy/templates/bench-report-tmpl.md +167 -0
  1060. package/pro/squads/spy/templates/bench-scorecard-tmpl.md +113 -0
  1061. package/pro/squads/spy/templates/bench-scores-tmpl.md +43 -0
  1062. package/pro/squads/spy/templates/bench-synergy-tmpl.md +381 -0
  1063. package/pro/squads/spy/templates/cross-domain-handoff-tmpl.yaml +9 -0
  1064. package/pro/squads/spy/templates/player-analysis-tmpl.md +145 -0
  1065. package/pro/squads/spy/workflows/bench-comparison-pipeline.yaml +1193 -0
  1066. package/pro/squads/squad-creator/CHANGELOG.md +162 -0
  1067. package/pro/squads/squad-creator/HEADLINE.md +3 -0
  1068. package/pro/squads/squad-creator/README.md +1176 -0
  1069. package/pro/squads/squad-creator/agents/squad-chief.md +1449 -0
  1070. package/pro/squads/squad-creator/checklists/agent-quality-gate.md +433 -0
  1071. package/pro/squads/squad-creator/checklists/analysis-quality-checklist.md +70 -0
  1072. package/pro/squads/squad-creator/checklists/create-agent-checklist.md +239 -0
  1073. package/pro/squads/squad-creator/checklists/create-squad-checklist.md +326 -0
  1074. package/pro/squads/squad-creator/checklists/create-task-checklist.md +225 -0
  1075. package/pro/squads/squad-creator/checklists/create-workflow-checklist.md +243 -0
  1076. package/pro/squads/squad-creator/checklists/greeting-script-checklist.md +110 -0
  1077. package/pro/squads/squad-creator/checklists/install-skills-checklist.md +197 -0
  1078. package/pro/squads/squad-creator/checklists/pipeline-runner-checklist.md +135 -0
  1079. package/pro/squads/squad-creator/checklists/report-quality-checklist.md +49 -0
  1080. package/pro/squads/squad-creator/checklists/smoke-test-agent.md +313 -0
  1081. package/pro/squads/squad-creator/checklists/squad-checklist.md +1000 -0
  1082. package/pro/squads/squad-creator/checklists/squad-consistency-patterns.md +134 -0
  1083. package/pro/squads/squad-creator/checklists/squad-overview-checklist.md +381 -0
  1084. package/pro/squads/squad-creator/checklists/squad-structural-completeness.md +394 -0
  1085. package/pro/squads/squad-creator/checklists/task-anatomy-checklist.md +687 -0
  1086. package/pro/squads/squad-creator/checklists/upgrade-squad-checklist.md +222 -0
  1087. package/pro/squads/squad-creator/config/squad-config.yaml +202 -0
  1088. package/pro/squads/squad-creator/config/workflow-yaml-schema.yaml +323 -0
  1089. package/pro/squads/squad-creator/config.yaml +429 -0
  1090. package/pro/squads/squad-creator/data/base-core-contract.yaml +22 -0
  1091. package/pro/squads/squad-creator/data/baselines/ecosystem-baseline.yaml +88 -0
  1092. package/pro/squads/squad-creator/data/baselines/initial-radar.yaml +89 -0
  1093. package/pro/squads/squad-creator/data/best-practices.md +986 -0
  1094. package/pro/squads/squad-creator/data/cc-agent-schema-ref.yaml +405 -0
  1095. package/pro/squads/squad-creator/data/core-heuristics.md +510 -0
  1096. package/pro/squads/squad-creator/data/decision-heuristics-framework.md +695 -0
  1097. package/pro/squads/squad-creator/data/design-heuristics-diagnostic-systems.md +140 -0
  1098. package/pro/squads/squad-creator/data/executor-decision-tree.md +774 -0
  1099. package/pro/squads/squad-creator/data/executor-matrix-framework.md +441 -0
  1100. package/pro/squads/squad-creator/data/hybridops-patterns.md +1351 -0
  1101. package/pro/squads/squad-creator/data/journey-log-events.yaml +72 -0
  1102. package/pro/squads/squad-creator/data/kaizen-legacy/kaizen-infrastructure-map.yaml +16 -0
  1103. package/pro/squads/squad-creator/data/kpi-baseline.yaml +72 -0
  1104. package/pro/squads/squad-creator/data/pipeline-patterns.md +352 -0
  1105. package/pro/squads/squad-creator/data/process-token-map.yaml +225 -0
  1106. package/pro/squads/squad-creator/data/quality-dimensions-framework.md +405 -0
  1107. package/pro/squads/squad-creator/data/quality-gates.yaml +135 -0
  1108. package/pro/squads/squad-creator/data/radar/initial-radar.yaml +76 -0
  1109. package/pro/squads/squad-creator/data/recommendation-tracker.yaml +53 -0
  1110. package/pro/squads/squad-creator/data/reports/self-improve-2026-02-15.md +111 -0
  1111. package/pro/squads/squad-creator/data/reports/week-07-2026-02-15.md +210 -0
  1112. package/pro/squads/squad-creator/data/reports/week-09-2026-02-28.md +295 -0
  1113. package/pro/squads/squad-creator/data/reports/week-14-2026-04-04.md +234 -0
  1114. package/pro/squads/squad-creator/data/squad-analytics-guide.md +252 -0
  1115. package/pro/squads/squad-creator/data/squad-creator-infrastructure-map.yaml +36 -0
  1116. package/pro/squads/squad-creator/data/squad-creator-service-catalog.yaml +17 -0
  1117. package/pro/squads/squad-creator/data/squad-kb.md +987 -0
  1118. package/pro/squads/squad-creator/data/squad-registry.yaml +14 -0
  1119. package/pro/squads/squad-creator/data/squad-type-definitions.yaml +578 -0
  1120. package/pro/squads/squad-creator/data/tier-system-framework.md +475 -0
  1121. package/pro/squads/squad-creator/data/tool-discovery-sources.yaml +68 -0
  1122. package/pro/squads/squad-creator/docs/ADR-001-model-tier-qualification.md +344 -0
  1123. package/pro/squads/squad-creator/docs/AGENT-COLLABORATION.md +820 -0
  1124. package/pro/squads/squad-creator/docs/COMMANDS.md +895 -0
  1125. package/pro/squads/squad-creator/docs/CONCEPTS.md +979 -0
  1126. package/pro/squads/squad-creator/docs/FAQ.md +773 -0
  1127. package/pro/squads/squad-creator/docs/HITL-FLOW.md +406 -0
  1128. package/pro/squads/squad-creator/docs/MODEL-TIER-QUALIFICATION.md +337 -0
  1129. package/pro/squads/squad-creator/docs/PATTERN-LIBRARY.md +620 -0
  1130. package/pro/squads/squad-creator/docs/PEDRO-VALERIO-ARCHITECTURE.md +456 -0
  1131. package/pro/squads/squad-creator/docs/POR-ONDE-COMECAR.md +211 -0
  1132. package/pro/squads/squad-creator/docs/QUICK-START.md +205 -0
  1133. package/pro/squads/squad-creator/docs/TROUBLESHOOTING.md +412 -0
  1134. package/pro/squads/squad-creator/docs/TUTORIAL-COMPLETO.md +458 -0
  1135. package/pro/squads/squad-creator/docs/sop-extraction-process.md +675 -0
  1136. package/pro/squads/squad-creator/docs/squad-free-vs-open.md +596 -0
  1137. package/pro/squads/squad-creator/docs/task-optimization-framework.md +229 -0
  1138. package/pro/squads/squad-creator/package-lock.json +38 -0
  1139. package/pro/squads/squad-creator/package.json +27 -0
  1140. package/pro/squads/squad-creator/protocols/ai-first-governance.md +63 -0
  1141. package/pro/squads/squad-creator/requirements.txt +1 -0
  1142. package/pro/squads/squad-creator/rules/agent-naming-convention.md +58 -0
  1143. package/pro/squads/squad-creator/rules/recommendation-defensibility.md +161 -0
  1144. package/pro/squads/squad-creator/schemas/agent-persona.schema.json +64 -0
  1145. package/pro/squads/squad-creator/schemas/squad-config.schema.json +92 -0
  1146. package/pro/squads/squad-creator/schemas/validation-report.schema.json +158 -0
  1147. package/pro/squads/squad-creator/scripts/README.md +262 -0
  1148. package/pro/squads/squad-creator/scripts/checklist_validator.py +451 -0
  1149. package/pro/squads/squad-creator/scripts/coherence-validator.py +62 -0
  1150. package/pro/squads/squad-creator/scripts/dependency_check.py +341 -0
  1151. package/pro/squads/squad-creator/scripts/detect-environment-contract.cjs +583 -0
  1152. package/pro/squads/squad-creator/scripts/export-antigravity-workflows.cjs +199 -0
  1153. package/pro/squads/squad-creator/scripts/generate-squad-greeting.js +1150 -0
  1154. package/pro/squads/squad-creator/scripts/generate-squad-guide.js +596 -0
  1155. package/pro/squads/squad-creator/scripts/inventory.py +286 -0
  1156. package/pro/squads/squad-creator/scripts/kaizen/kaizen-trigger.sh +126 -0
  1157. package/pro/squads/squad-creator/scripts/lib/config-loader.js +151 -0
  1158. package/pro/squads/squad-creator/scripts/lib/doom-loop-detector.js +120 -0
  1159. package/pro/squads/squad-creator/scripts/lib/squad-runtime-paths.cjs +187 -0
  1160. package/pro/squads/squad-creator/scripts/lib/validate-runtime-state.cjs +271 -0
  1161. package/pro/squads/squad-creator/scripts/naming_validator.py +303 -0
  1162. package/pro/squads/squad-creator/scripts/on-specialist-complete.py +98 -0
  1163. package/pro/squads/squad-creator/scripts/refresh-registry.py +933 -0
  1164. package/pro/squads/squad-creator/scripts/rename-squad.sh +395 -0
  1165. package/pro/squads/squad-creator/scripts/scaffold-squad.cjs +317 -0
  1166. package/pro/squads/squad-creator/scripts/scoring.py +65 -0
  1167. package/pro/squads/squad-creator/scripts/security_scanner.py +378 -0
  1168. package/pro/squads/squad-creator/scripts/squad-analytics.py +810 -0
  1169. package/pro/squads/squad-creator/scripts/squad_utils.py +267 -0
  1170. package/pro/squads/squad-creator/scripts/sync-chief-codex-skill.js +242 -0
  1171. package/pro/squads/squad-creator/scripts/sync-ide-skills.py +705 -0
  1172. package/pro/squads/squad-creator/scripts/tests/__init__.py +1 -0
  1173. package/pro/squads/squad-creator/scripts/tests/test_adapters.py +73 -0
  1174. package/pro/squads/squad-creator/scripts/tests/test_assess_sources.sh +216 -0
  1175. package/pro/squads/squad-creator/scripts/tests/test_clone_review.sh +239 -0
  1176. package/pro/squads/squad-creator/scripts/tests/test_fidelity_score.sh +298 -0
  1177. package/pro/squads/squad-creator/scripts/tests/test_refresh_registry_contract.py +110 -0
  1178. package/pro/squads/squad-creator/scripts/tests/test_squad_analytics.py +332 -0
  1179. package/pro/squads/squad-creator/scripts/tests/test_validate_squad_contextual_lifecycle.py +111 -0
  1180. package/pro/squads/squad-creator/scripts/tests/test_validate_squad_tested_inference.py +102 -0
  1181. package/pro/squads/squad-creator/scripts/tests/test_validate_squad_yolo_warning.py +108 -0
  1182. package/pro/squads/squad-creator/scripts/update-aiox-sync-config.py +144 -0
  1183. package/pro/squads/squad-creator/scripts/update-claude-command-registry.py +171 -0
  1184. package/pro/squads/squad-creator/scripts/validate-all.sh +49 -0
  1185. package/pro/squads/squad-creator/scripts/validate-report.sh +98 -0
  1186. package/pro/squads/squad-creator/scripts/validate-squad-deep.sh +318 -0
  1187. package/pro/squads/squad-creator/scripts/validate-squad-quality.py +514 -0
  1188. package/pro/squads/squad-creator/scripts/validate-squad-structure.py +881 -0
  1189. package/pro/squads/squad-creator/scripts/validate-squad.sh +4340 -0
  1190. package/pro/squads/squad-creator/scripts/validate-tokens.sh +178 -0
  1191. package/pro/squads/squad-creator/scripts/verify-squad-completeness.sh +294 -0
  1192. package/pro/squads/squad-creator/scripts/yaml_validator.py +528 -0
  1193. package/pro/squads/squad-creator/squad-io.yaml +71 -0
  1194. package/pro/squads/squad-creator/tasks/audit-output-quality.md +135 -0
  1195. package/pro/squads/squad-creator/tasks/auto-heal-close.md +134 -0
  1196. package/pro/squads/squad-creator/tasks/auto-heal-resolve.md +128 -0
  1197. package/pro/squads/squad-creator/tasks/auto-heal.md +86 -0
  1198. package/pro/squads/squad-creator/tasks/auto-healing-gate.md +166 -0
  1199. package/pro/squads/squad-creator/tasks/cost-analysis.md +117 -0
  1200. package/pro/squads/squad-creator/tasks/create-agent-commands.md +197 -0
  1201. package/pro/squads/squad-creator/tasks/create-agent-generate.md +224 -0
  1202. package/pro/squads/squad-creator/tasks/create-agent-persona.md +207 -0
  1203. package/pro/squads/squad-creator/tasks/create-agent-publish.md +136 -0
  1204. package/pro/squads/squad-creator/tasks/create-agent-research.md +201 -0
  1205. package/pro/squads/squad-creator/tasks/create-agent-validate.md +213 -0
  1206. package/pro/squads/squad-creator/tasks/create-agent.md +145 -0
  1207. package/pro/squads/squad-creator/tasks/create-documentation.md +284 -0
  1208. package/pro/squads/squad-creator/tasks/create-greeting-script-discovery.md +59 -0
  1209. package/pro/squads/squad-creator/tasks/create-greeting-script-gap-map.md +59 -0
  1210. package/pro/squads/squad-creator/tasks/create-greeting-script-generate.md +60 -0
  1211. package/pro/squads/squad-creator/tasks/create-greeting-script-integrate.md +59 -0
  1212. package/pro/squads/squad-creator/tasks/create-greeting-script-validate.md +59 -0
  1213. package/pro/squads/squad-creator/tasks/create-greeting-script.md +130 -0
  1214. package/pro/squads/squad-creator/tasks/create-pipeline-design.md +143 -0
  1215. package/pro/squads/squad-creator/tasks/create-pipeline-persist.md +100 -0
  1216. package/pro/squads/squad-creator/tasks/create-pipeline-qualify.md +103 -0
  1217. package/pro/squads/squad-creator/tasks/create-pipeline-render.md +296 -0
  1218. package/pro/squads/squad-creator/tasks/create-pipeline-validate.md +121 -0
  1219. package/pro/squads/squad-creator/tasks/create-pipeline.md +171 -0
  1220. package/pro/squads/squad-creator/tasks/create-squad-build.md +383 -0
  1221. package/pro/squads/squad-creator/tasks/create-squad-design.md +349 -0
  1222. package/pro/squads/squad-creator/tasks/create-squad-discover.md +392 -0
  1223. package/pro/squads/squad-creator/tasks/create-squad-publish.md +225 -0
  1224. package/pro/squads/squad-creator/tasks/create-squad-validate.md +327 -0
  1225. package/pro/squads/squad-creator/tasks/create-squad.md +113 -0
  1226. package/pro/squads/squad-creator/tasks/create-task-anatomy.md +273 -0
  1227. package/pro/squads/squad-creator/tasks/create-task-classify.md +222 -0
  1228. package/pro/squads/squad-creator/tasks/create-task-executor.md +205 -0
  1229. package/pro/squads/squad-creator/tasks/create-task-generate.md +224 -0
  1230. package/pro/squads/squad-creator/tasks/create-task-register.md +192 -0
  1231. package/pro/squads/squad-creator/tasks/create-task-validate.md +232 -0
  1232. package/pro/squads/squad-creator/tasks/create-task.md +113 -0
  1233. package/pro/squads/squad-creator/tasks/create-template-elicitation.md +59 -0
  1234. package/pro/squads/squad-creator/tasks/create-template-identity.md +59 -0
  1235. package/pro/squads/squad-creator/tasks/create-template-register.md +58 -0
  1236. package/pro/squads/squad-creator/tasks/create-template-structure.md +59 -0
  1237. package/pro/squads/squad-creator/tasks/create-template-validate.md +59 -0
  1238. package/pro/squads/squad-creator/tasks/create-template.md +95 -0
  1239. package/pro/squads/squad-creator/tasks/create-workflow-classify.md +213 -0
  1240. package/pro/squads/squad-creator/tasks/create-workflow-design.md +494 -0
  1241. package/pro/squads/squad-creator/tasks/create-workflow-from-sop.md +301 -0
  1242. package/pro/squads/squad-creator/tasks/create-workflow-generate.md +262 -0
  1243. package/pro/squads/squad-creator/tasks/create-workflow.md +108 -0
  1244. package/pro/squads/squad-creator/tasks/detect-gaps.md +116 -0
  1245. package/pro/squads/squad-creator/tasks/detect-operational-mode-classify.md +112 -0
  1246. package/pro/squads/squad-creator/tasks/detect-operational-mode-infrastructure.md +104 -0
  1247. package/pro/squads/squad-creator/tasks/detect-operational-mode-outputs.md +94 -0
  1248. package/pro/squads/squad-creator/tasks/detect-operational-mode-systems.md +91 -0
  1249. package/pro/squads/squad-creator/tasks/detect-operational-mode-verbs.md +94 -0
  1250. package/pro/squads/squad-creator/tasks/detect-operational-mode.md +115 -0
  1251. package/pro/squads/squad-creator/tasks/detect-squad-context.md +120 -0
  1252. package/pro/squads/squad-creator/tasks/discover-tools-classify.md +191 -0
  1253. package/pro/squads/squad-creator/tasks/discover-tools-evaluate.md +173 -0
  1254. package/pro/squads/squad-creator/tasks/discover-tools-recommend.md +180 -0
  1255. package/pro/squads/squad-creator/tasks/discover-tools-report.md +184 -0
  1256. package/pro/squads/squad-creator/tasks/discover-tools-scan.md +188 -0
  1257. package/pro/squads/squad-creator/tasks/discover-tools.md +139 -0
  1258. package/pro/squads/squad-creator/tasks/generate-recommendations.md +162 -0
  1259. package/pro/squads/squad-creator/tasks/improve-workflow-from-report.md +127 -0
  1260. package/pro/squads/squad-creator/tasks/improve-workflow-report-apply-p1.md +59 -0
  1261. package/pro/squads/squad-creator/tasks/improve-workflow-report-apply-secondary.md +59 -0
  1262. package/pro/squads/squad-creator/tasks/improve-workflow-report-backup.md +59 -0
  1263. package/pro/squads/squad-creator/tasks/improve-workflow-report-ingest.md +59 -0
  1264. package/pro/squads/squad-creator/tasks/improve-workflow-report-target.md +59 -0
  1265. package/pro/squads/squad-creator/tasks/improve-workflow-report-validate-report.md +59 -0
  1266. package/pro/squads/squad-creator/tasks/install-skills-finalize.md +415 -0
  1267. package/pro/squads/squad-creator/tasks/install-skills-prepare.md +353 -0
  1268. package/pro/squads/squad-creator/tasks/install-skills-write.md +395 -0
  1269. package/pro/squads/squad-creator/tasks/install-skills.md +282 -0
  1270. package/pro/squads/squad-creator/tasks/next-squad-ranking.md +58 -0
  1271. package/pro/squads/squad-creator/tasks/next-squad-registry.md +58 -0
  1272. package/pro/squads/squad-creator/tasks/next-squad-report.md +59 -0
  1273. package/pro/squads/squad-creator/tasks/next-squad-scoring.md +59 -0
  1274. package/pro/squads/squad-creator/tasks/next-squad-signals.md +58 -0
  1275. package/pro/squads/squad-creator/tasks/next-squad.md +98 -0
  1276. package/pro/squads/squad-creator/tasks/operational-test-baseline.md +69 -0
  1277. package/pro/squads/squad-creator/tasks/operational-test-preflight.md +70 -0
  1278. package/pro/squads/squad-creator/tasks/operational-test-report.md +71 -0
  1279. package/pro/squads/squad-creator/tasks/operational-test-smoke.md +72 -0
  1280. package/pro/squads/squad-creator/tasks/operational-test-target.md +71 -0
  1281. package/pro/squads/squad-creator/tasks/operational-test.md +102 -0
  1282. package/pro/squads/squad-creator/tasks/performance-dashboard.md +118 -0
  1283. package/pro/squads/squad-creator/tasks/qa-after-creation.md +129 -0
  1284. package/pro/squads/squad-creator/tasks/qa-check-compatibility.md +191 -0
  1285. package/pro/squads/squad-creator/tasks/qa-check-completeness.md +218 -0
  1286. package/pro/squads/squad-creator/tasks/qa-check-references.md +172 -0
  1287. package/pro/squads/squad-creator/tasks/qa-check-schema.md +190 -0
  1288. package/pro/squads/squad-creator/tasks/qa-check-structure.md +176 -0
  1289. package/pro/squads/squad-creator/tasks/qa-generate-report.md +240 -0
  1290. package/pro/squads/squad-creator/tasks/qualify-provider-baseline.md +122 -0
  1291. package/pro/squads/squad-creator/tasks/qualify-provider-compare.md +159 -0
  1292. package/pro/squads/squad-creator/tasks/qualify-provider-preflight.md +143 -0
  1293. package/pro/squads/squad-creator/tasks/qualify-provider-ptbr.md +166 -0
  1294. package/pro/squads/squad-creator/tasks/qualify-provider-reliability.md +140 -0
  1295. package/pro/squads/squad-creator/tasks/qualify-provider-report.md +178 -0
  1296. package/pro/squads/squad-creator/tasks/reexecute-squad-phase.md +97 -0
  1297. package/pro/squads/squad-creator/tasks/refresh-registry.md +299 -0
  1298. package/pro/squads/squad-creator/tasks/rename-squad-map.md +59 -0
  1299. package/pro/squads/squad-creator/tasks/rename-squad-propagate.md +59 -0
  1300. package/pro/squads/squad-creator/tasks/rename-squad-structural.md +59 -0
  1301. package/pro/squads/squad-creator/tasks/rename-squad-validate.md +59 -0
  1302. package/pro/squads/squad-creator/tasks/rename-squad.md +118 -0
  1303. package/pro/squads/squad-creator/tasks/self-improve.md +107 -0
  1304. package/pro/squads/squad-creator/tasks/setup-runtime-handoff.md +74 -0
  1305. package/pro/squads/squad-creator/tasks/setup-runtime-persist.md +81 -0
  1306. package/pro/squads/squad-creator/tasks/setup-runtime-requirements.md +84 -0
  1307. package/pro/squads/squad-creator/tasks/setup-runtime-validate.md +82 -0
  1308. package/pro/squads/squad-creator/tasks/setup-runtime-wizard.md +84 -0
  1309. package/pro/squads/squad-creator/tasks/setup-runtime.md +103 -0
  1310. package/pro/squads/squad-creator/tasks/squad-analytics.md +276 -0
  1311. package/pro/squads/squad-creator/tasks/squad-overview-agents.md +110 -0
  1312. package/pro/squads/squad-creator/tasks/squad-overview-generate.md +102 -0
  1313. package/pro/squads/squad-creator/tasks/squad-overview-metadata.md +121 -0
  1314. package/pro/squads/squad-creator/tasks/squad-overview-minds.md +100 -0
  1315. package/pro/squads/squad-creator/tasks/squad-overview-structure.md +106 -0
  1316. package/pro/squads/squad-creator/tasks/squad-overview-write.md +103 -0
  1317. package/pro/squads/squad-creator/tasks/squad-overview.md +117 -0
  1318. package/pro/squads/squad-creator/tasks/sync-chief-codex-skill.md +73 -0
  1319. package/pro/squads/squad-creator/tasks/sync-ide-skills.md +240 -0
  1320. package/pro/squads/squad-creator/tasks/update-radar.md +151 -0
  1321. package/pro/squads/squad-creator/tasks/upgrade-squad-apply.md +187 -0
  1322. package/pro/squads/squad-creator/tasks/upgrade-squad-gap.md +203 -0
  1323. package/pro/squads/squad-creator/tasks/upgrade-squad-inventory.md +186 -0
  1324. package/pro/squads/squad-creator/tasks/upgrade-squad-plan.md +163 -0
  1325. package/pro/squads/squad-creator/tasks/upgrade-squad-verify.md +178 -0
  1326. package/pro/squads/squad-creator/tasks/upgrade-squad.md +138 -0
  1327. package/pro/squads/squad-creator/tasks/validate-final-artifacts.md +104 -0
  1328. package/pro/squads/squad-creator/tasks/validate-squad-classify.md +335 -0
  1329. package/pro/squads/squad-creator/tasks/validate-squad-deep-review.md +226 -0
  1330. package/pro/squads/squad-creator/tasks/validate-squad-preflight.md +189 -0
  1331. package/pro/squads/squad-creator/tasks/validate-squad-verdict.md +442 -0
  1332. package/pro/squads/squad-creator/tasks/validate-squad.md +117 -0
  1333. package/pro/squads/squad-creator/templates/agent-flow-doc-tmpl.md +512 -0
  1334. package/pro/squads/squad-creator/templates/agent-tmpl.md +703 -0
  1335. package/pro/squads/squad-creator/templates/auto-heal-task-tmpl.md +417 -0
  1336. package/pro/squads/squad-creator/templates/capability-map-tmpl.md +95 -0
  1337. package/pro/squads/squad-creator/templates/config-tmpl.yaml +534 -0
  1338. package/pro/squads/squad-creator/templates/cross-domain-handoff-tmpl.yaml +18 -0
  1339. package/pro/squads/squad-creator/templates/ecosystem-health-tmpl.md +19 -0
  1340. package/pro/squads/squad-creator/templates/gap-analysis-tmpl.md +13 -0
  1341. package/pro/squads/squad-creator/templates/greeting-script-tmpl.cjs +169 -0
  1342. package/pro/squads/squad-creator/templates/handoff-insumos-tmpl.yaml +112 -0
  1343. package/pro/squads/squad-creator/templates/journey-log-tmpl.yaml +93 -0
  1344. package/pro/squads/squad-creator/templates/operational-test-task-tmpl.md +514 -0
  1345. package/pro/squads/squad-creator/templates/orchestrator-tmpl.md +74 -0
  1346. package/pro/squads/squad-creator/templates/performance-dashboard-tmpl.md +77 -0
  1347. package/pro/squads/squad-creator/templates/pipeline-progress-tmpl.py +373 -0
  1348. package/pro/squads/squad-creator/templates/pipeline-prompt-tmpl.md +94 -0
  1349. package/pro/squads/squad-creator/templates/pipeline-runner-tmpl.py +444 -0
  1350. package/pro/squads/squad-creator/templates/pipeline-state-tmpl.py +413 -0
  1351. package/pro/squads/squad-creator/templates/pop-extractor-prompt.md +549 -0
  1352. package/pro/squads/squad-creator/templates/quality-dashboard-tmpl.md +286 -0
  1353. package/pro/squads/squad-creator/templates/quality-gate-tmpl.yaml +589 -0
  1354. package/pro/squads/squad-creator/templates/readme-tmpl.md +254 -0
  1355. package/pro/squads/squad-creator/templates/research-output-tmpl.md +625 -0
  1356. package/pro/squads/squad-creator/templates/research-prompt-tmpl.md +479 -0
  1357. package/pro/squads/squad-creator/templates/setup-runtime-task-tmpl.md +627 -0
  1358. package/pro/squads/squad-creator/templates/squad-mappings-tmpl.yaml +71 -0
  1359. package/pro/squads/squad-creator/templates/squad-prd-tmpl.md +488 -0
  1360. package/pro/squads/squad-creator/templates/squad-readme-tmpl.md +170 -0
  1361. package/pro/squads/squad-creator/templates/story-create-agent-tmpl.md +284 -0
  1362. package/pro/squads/squad-creator/templates/task-tmpl.md +533 -0
  1363. package/pro/squads/squad-creator/templates/tech-radar-tmpl.md +73 -0
  1364. package/pro/squads/squad-creator/templates/template-tmpl.yaml +227 -0
  1365. package/pro/squads/squad-creator/templates/weekly-digest-tmpl.md +11 -0
  1366. package/pro/squads/squad-creator/templates/weekly-report-tmpl.md +155 -0
  1367. package/pro/squads/squad-creator/templates/workflow-doc-tmpl.md +860 -0
  1368. package/pro/squads/squad-creator/templates/workflow-tmpl.yaml +486 -0
  1369. package/pro/squads/squad-creator/test-cases/an-assess-sources/TEST-REPORT-v2.1.md +351 -0
  1370. package/pro/squads/squad-creator/test-cases/an-assess-sources/formal-qualification-report.yaml +389 -0
  1371. package/pro/squads/squad-creator/test-cases/an-clone-review/opus-baseline.yaml +566 -0
  1372. package/pro/squads/squad-creator/test-cases/pv-axioma-assessment/opus-baseline.yaml +96 -0
  1373. package/pro/squads/squad-creator/test-cases/pv-modernization-score/opus-baseline.yaml +488 -0
  1374. package/pro/squads/squad-creator/test-cases/smoke-test-model-routing/test-case.yaml +100 -0
  1375. package/pro/squads/squad-creator/workflows/wf-auto-heal.yaml +33 -0
  1376. package/pro/squads/squad-creator/workflows/wf-create-agent.yaml +252 -0
  1377. package/pro/squads/squad-creator/workflows/wf-create-greeting-script.yaml +60 -0
  1378. package/pro/squads/squad-creator/workflows/wf-create-pipeline.yaml +60 -0
  1379. package/pro/squads/squad-creator/workflows/wf-create-squad.yaml +1916 -0
  1380. package/pro/squads/squad-creator/workflows/wf-create-task.yaml +172 -0
  1381. package/pro/squads/squad-creator/workflows/wf-create-template.yaml +60 -0
  1382. package/pro/squads/squad-creator/workflows/wf-create-workflow.yaml +138 -0
  1383. package/pro/squads/squad-creator/workflows/wf-cross-provider-qualification.yaml +769 -0
  1384. package/pro/squads/squad-creator/workflows/wf-detect-operational-mode.yaml +112 -0
  1385. package/pro/squads/squad-creator/workflows/wf-discover-tools.yaml +1695 -0
  1386. package/pro/squads/squad-creator/workflows/wf-ecosystem-analysis.yaml +338 -0
  1387. package/pro/squads/squad-creator/workflows/wf-improve-workflow-from-report.yaml +69 -0
  1388. package/pro/squads/squad-creator/workflows/wf-install-skills.yaml +52 -0
  1389. package/pro/squads/squad-creator/workflows/wf-next-squad.yaml +60 -0
  1390. package/pro/squads/squad-creator/workflows/wf-operational-test.yaml +86 -0
  1391. package/pro/squads/squad-creator/workflows/wf-qa-after-creation.yaml +339 -0
  1392. package/pro/squads/squad-creator/workflows/wf-rename-squad.yaml +51 -0
  1393. package/pro/squads/squad-creator/workflows/wf-self-improve.yaml +206 -0
  1394. package/pro/squads/squad-creator/workflows/wf-setup-runtime.yaml +86 -0
  1395. package/pro/squads/squad-creator/workflows/wf-squad-overview.yaml +100 -0
  1396. package/pro/squads/squad-creator/workflows/wf-sync-ide-skills.yaml +24 -0
  1397. package/pro/squads/squad-creator/workflows/wf-upgrade-squad.yaml +236 -0
  1398. package/pro/squads/squad-creator/workflows/wf-weekly-report.yaml +139 -0
  1399. package/pro/squads/squad-creator-pro/.state.json +32 -0
  1400. package/pro/squads/squad-creator-pro/ARCHITECTURE.md +37 -0
  1401. package/pro/squads/squad-creator-pro/CHANGELOG.md +275 -0
  1402. package/pro/squads/squad-creator-pro/README.md +1061 -0
  1403. package/pro/squads/squad-creator-pro/agents/ecosystem-analyst.md +989 -0
  1404. package/pro/squads/squad-creator-pro/agents/heuristic-ops.md +369 -0
  1405. package/pro/squads/squad-creator-pro/agents/oalanicolas.md +998 -0
  1406. package/pro/squads/squad-creator-pro/agents/pedro-valerio.md +1291 -0
  1407. package/pro/squads/squad-creator-pro/agents/squad-chief.md +1819 -0
  1408. package/pro/squads/squad-creator-pro/agents/thiago_finch.md +986 -0
  1409. package/pro/squads/squad-creator-pro/benchmarks/golden/hormozi-golden.yaml +382 -0
  1410. package/pro/squads/squad-creator-pro/benchmarks/scripts/run-benchmark.sh +363 -0
  1411. package/pro/squads/squad-creator-pro/checklists/.gitkeep +1 -0
  1412. package/pro/squads/squad-creator-pro/checklists/agent-depth-checklist.md +244 -0
  1413. package/pro/squads/squad-creator-pro/checklists/agent-quality-gate.md +434 -0
  1414. package/pro/squads/squad-creator-pro/checklists/create-squad-checklist.md +291 -0
  1415. package/pro/squads/squad-creator-pro/checklists/deep-research-quality.md +505 -0
  1416. package/pro/squads/squad-creator-pro/checklists/executor-matrix-checklist.md +260 -0
  1417. package/pro/squads/squad-creator-pro/checklists/mental-model-integration-checklist.md +95 -0
  1418. package/pro/squads/squad-creator-pro/checklists/mind-validation.md +373 -0
  1419. package/pro/squads/squad-creator-pro/checklists/pipeline-quality-checklist.md +84 -0
  1420. package/pro/squads/squad-creator-pro/checklists/quality-gate-checklist.md +385 -0
  1421. package/pro/squads/squad-creator-pro/checklists/session-heuristics-extraction.md +65 -0
  1422. package/pro/squads/squad-creator-pro/checklists/sop-validation.md +250 -0
  1423. package/pro/squads/squad-creator-pro/checklists/squad-checklist.md +1014 -0
  1424. package/pro/squads/squad-creator-pro/checklists/task-anatomy-checklist.md +626 -0
  1425. package/pro/squads/squad-creator-pro/config/.gitkeep +1 -0
  1426. package/pro/squads/squad-creator-pro/config/axioma-validator.yaml +371 -0
  1427. package/pro/squads/squad-creator-pro/config/heuristic-watcher-rubric.yaml +300 -0
  1428. package/pro/squads/squad-creator-pro/config/heuristics.yaml +937 -0
  1429. package/pro/squads/squad-creator-pro/config/model-routing.yaml +693 -0
  1430. package/pro/squads/squad-creator-pro/config/quality-gates.yaml +415 -0
  1431. package/pro/squads/squad-creator-pro/config/scoring-rubric.yaml +199 -0
  1432. package/pro/squads/squad-creator-pro/config/squad-config.yaml +165 -0
  1433. package/pro/squads/squad-creator-pro/config/task-anatomy.yaml +263 -0
  1434. package/pro/squads/squad-creator-pro/config/veto-conditions.yaml +455 -0
  1435. package/pro/squads/squad-creator-pro/config.yaml +455 -0
  1436. package/pro/squads/squad-creator-pro/data/.gitkeep +1 -0
  1437. package/pro/squads/squad-creator-pro/data/an-anchor-words.yaml +78 -0
  1438. package/pro/squads/squad-creator-pro/data/an-clone-anti-patterns.yaml +148 -0
  1439. package/pro/squads/squad-creator-pro/data/an-clone-validation.yaml +190 -0
  1440. package/pro/squads/squad-creator-pro/data/an-diagnostic-framework.yaml +164 -0
  1441. package/pro/squads/squad-creator-pro/data/an-output-examples.yaml +102 -0
  1442. package/pro/squads/squad-creator-pro/data/an-source-signals.yaml +98 -0
  1443. package/pro/squads/squad-creator-pro/data/an-source-tiers.yaml +119 -0
  1444. package/pro/squads/squad-creator-pro/data/best-practices.md +986 -0
  1445. package/pro/squads/squad-creator-pro/data/core-heuristics.md +510 -0
  1446. package/pro/squads/squad-creator-pro/data/decision-heuristics-framework.md +620 -0
  1447. package/pro/squads/squad-creator-pro/data/executor-matrix-framework.md +441 -0
  1448. package/pro/squads/squad-creator-pro/data/extraction-mentoria-processos-dec19.yaml +337 -0
  1449. package/pro/squads/squad-creator-pro/data/fusion-decision-points-analysis.md +397 -0
  1450. package/pro/squads/squad-creator-pro/data/fusion-dry-runs/traffic-masters-absorve-_traffic-2026-03-09.md +135 -0
  1451. package/pro/squads/squad-creator-pro/data/fusion-executor-analysis.md +677 -0
  1452. package/pro/squads/squad-creator-pro/data/hybridops-patterns.md +1351 -0
  1453. package/pro/squads/squad-creator-pro/data/internal-infrastructure-library.yaml +103 -0
  1454. package/pro/squads/squad-creator-pro/data/mental-model-task-matrix.yaml +692 -0
  1455. package/pro/squads/squad-creator-pro/data/pm-best-practices.md +504 -0
  1456. package/pro/squads/squad-creator-pro/data/pv-anchor-words.yaml +64 -0
  1457. package/pro/squads/squad-creator-pro/data/pv-authenticity-markers.yaml +200 -0
  1458. package/pro/squads/squad-creator-pro/data/pv-meta-axiomas.yaml +162 -0
  1459. package/pro/squads/squad-creator-pro/data/pv-output-examples.yaml +342 -0
  1460. package/pro/squads/squad-creator-pro/data/pv-workflow-validation.yaml +318 -0
  1461. package/pro/squads/squad-creator-pro/data/quality-dimensions-framework.md +405 -0
  1462. package/pro/squads/squad-creator-pro/data/quality-gate-coverage.yaml +169 -0
  1463. package/pro/squads/squad-creator-pro/data/squad-analytics-guide.md +252 -0
  1464. package/pro/squads/squad-creator-pro/data/squad-kb.md +987 -0
  1465. package/pro/squads/squad-creator-pro/data/squad-kpis.yaml +60 -0
  1466. package/pro/squads/squad-creator-pro/data/squad-registry.yaml +4900 -0
  1467. package/pro/squads/squad-creator-pro/data/tier-system-framework.md +475 -0
  1468. package/pro/squads/squad-creator-pro/data/token-registry.yaml +386 -0
  1469. package/pro/squads/squad-creator-pro/data/tool-evaluation-framework.md +847 -0
  1470. package/pro/squads/squad-creator-pro/data/tool-registry.yaml +816 -0
  1471. package/pro/squads/squad-creator-pro/docs/ARCHITECTURE-DIAGRAMS.md +1466 -0
  1472. package/pro/squads/squad-creator-pro/docs/COMMANDS.md +544 -0
  1473. package/pro/squads/squad-creator-pro/docs/CONCEPTS.md +584 -0
  1474. package/pro/squads/squad-creator-pro/docs/FAQ.md +731 -0
  1475. package/pro/squads/squad-creator-pro/docs/HITL-FLOW.md +255 -0
  1476. package/pro/squads/squad-creator-pro/docs/PATTERN-LIBRARY.md +341 -0
  1477. package/pro/squads/squad-creator-pro/docs/PEDRO-VALERIO-ARCHITECTURE.md +456 -0
  1478. package/pro/squads/squad-creator-pro/docs/POR-ONDE-COMECAR.md +210 -0
  1479. package/pro/squads/squad-creator-pro/docs/QUICK-START.md +205 -0
  1480. package/pro/squads/squad-creator-pro/docs/TOOL-RECOMMENDATIONS.md +381 -0
  1481. package/pro/squads/squad-creator-pro/docs/TUTORIAL-COMPLETO.md +458 -0
  1482. package/pro/squads/squad-creator-pro/docs/sop-extraction-process.md +674 -0
  1483. package/pro/squads/squad-creator-pro/docs/squad-chief-agent-flow.md +981 -0
  1484. package/pro/squads/squad-creator-pro/docs/squad-creation-pipeline-workflow.md +937 -0
  1485. package/pro/squads/squad-creator-pro/minds/oalanicolas/artifacts/HANDOFF_PROTOCOL.md +269 -0
  1486. package/pro/squads/squad-creator-pro/minds/oalanicolas/artifacts/SOURCE_CLASSIFICATION.md +258 -0
  1487. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_001.md +117 -0
  1488. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_002.md +115 -0
  1489. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_003.md +110 -0
  1490. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_004.md +109 -0
  1491. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_005.md +116 -0
  1492. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_006.md +183 -0
  1493. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_007.md +273 -0
  1494. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_008.md +204 -0
  1495. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_009.md +246 -0
  1496. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_010.md +265 -0
  1497. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_011.md +72 -0
  1498. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_012.md +59 -0
  1499. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_013.md +69 -0
  1500. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_014.md +69 -0
  1501. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_015.md +83 -0
  1502. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_016.md +67 -0
  1503. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_017.md +64 -0
  1504. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_018.md +79 -0
  1505. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_019.md +69 -0
  1506. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_020.md +67 -0
  1507. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_021.md +114 -0
  1508. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_022.md +75 -0
  1509. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_023.md +60 -0
  1510. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_024.md +66 -0
  1511. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_025.md +81 -0
  1512. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_026.md +82 -0
  1513. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_027.md +85 -0
  1514. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_028.md +74 -0
  1515. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_029.md +73 -0
  1516. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_030.md +80 -0
  1517. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_031.md +78 -0
  1518. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_032.md +81 -0
  1519. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_033.md +69 -0
  1520. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_034.md +119 -0
  1521. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_035.md +120 -0
  1522. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_036.md +134 -0
  1523. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_037.md +123 -0
  1524. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_038.md +85 -0
  1525. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_039.md +74 -0
  1526. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_040.md +130 -0
  1527. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_041.md +87 -0
  1528. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_042.md +89 -0
  1529. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_043.md +78 -0
  1530. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_044.md +97 -0
  1531. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_045.md +82 -0
  1532. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_046.md +83 -0
  1533. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_047.md +77 -0
  1534. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_048.md +83 -0
  1535. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_049.md +102 -0
  1536. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_050.md +85 -0
  1537. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_051.md +90 -0
  1538. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_052.md +84 -0
  1539. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_053.md +83 -0
  1540. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_054.md +96 -0
  1541. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_055.md +137 -0
  1542. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_056.md +114 -0
  1543. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_057.md +82 -0
  1544. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_058.md +79 -0
  1545. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_059.md +88 -0
  1546. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_060.md +78 -0
  1547. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_061.md +79 -0
  1548. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_062.md +99 -0
  1549. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_063.md +73 -0
  1550. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_064.md +106 -0
  1551. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_065.md +87 -0
  1552. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_066.md +66 -0
  1553. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_067.md +65 -0
  1554. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_068.md +70 -0
  1555. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_069.md +69 -0
  1556. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_070.md +67 -0
  1557. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_071.md +87 -0
  1558. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_072.md +84 -0
  1559. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_073.md +89 -0
  1560. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_074.md +60 -0
  1561. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_075.md +87 -0
  1562. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_076.md +107 -0
  1563. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_077.md +98 -0
  1564. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_078.md +66 -0
  1565. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_079.md +91 -0
  1566. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_080.md +59 -0
  1567. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_081.md +64 -0
  1568. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_082.md +71 -0
  1569. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_083.md +62 -0
  1570. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_084.md +66 -0
  1571. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_085.md +62 -0
  1572. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_086.md +69 -0
  1573. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_087.md +74 -0
  1574. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_088.md +89 -0
  1575. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_089.md +88 -0
  1576. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_090.md +74 -0
  1577. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_091.md +76 -0
  1578. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_092.md +61 -0
  1579. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_093.md +69 -0
  1580. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_094.md +58 -0
  1581. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_095.md +58 -0
  1582. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_096.md +65 -0
  1583. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_097.md +63 -0
  1584. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_098.md +98 -0
  1585. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_099.md +97 -0
  1586. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_100.md +100 -0
  1587. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_101.md +62 -0
  1588. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_102.md +65 -0
  1589. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_103.md +60 -0
  1590. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_104.md +60 -0
  1591. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_105.md +67 -0
  1592. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_106.md +64 -0
  1593. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_107.md +63 -0
  1594. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_108.md +60 -0
  1595. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_109.md +62 -0
  1596. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_110.md +58 -0
  1597. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_111.md +88 -0
  1598. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_112.md +60 -0
  1599. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_113.md +74 -0
  1600. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_114.md +55 -0
  1601. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_115.md +126 -0
  1602. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_116.md +76 -0
  1603. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_117.md +65 -0
  1604. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_118.md +72 -0
  1605. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_119.md +58 -0
  1606. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_120.md +77 -0
  1607. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_121.md +65 -0
  1608. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_122.md +57 -0
  1609. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_123.md +63 -0
  1610. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_124.md +69 -0
  1611. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_125.md +73 -0
  1612. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_126.md +81 -0
  1613. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_127.md +77 -0
  1614. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_128.md +76 -0
  1615. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_129.md +81 -0
  1616. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_130.md +88 -0
  1617. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_131.md +85 -0
  1618. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_132.md +81 -0
  1619. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_133.md +86 -0
  1620. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/decision-cards.yaml +1010 -0
  1621. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/heuristic-analytics.md +24 -0
  1622. package/pro/squads/squad-creator-pro/minds/pedro_valerio/artifacts/Assinatura_Linguistica.md +355 -0
  1623. package/pro/squads/squad-creator-pro/minds/pedro_valerio/artifacts/META_AXIOMAS.md +277 -0
  1624. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_BS_001.md +151 -0
  1625. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_041.md +80 -0
  1626. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_042.md +79 -0
  1627. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_043.md +81 -0
  1628. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_044.md +83 -0
  1629. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_045.md +82 -0
  1630. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_046.md +82 -0
  1631. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_047.md +81 -0
  1632. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_048.md +77 -0
  1633. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_049.md +81 -0
  1634. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_050.md +79 -0
  1635. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_051.md +81 -0
  1636. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_052.md +81 -0
  1637. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_053.md +79 -0
  1638. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_054.md +74 -0
  1639. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_055.md +78 -0
  1640. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_056.md +78 -0
  1641. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_057.md +78 -0
  1642. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_058.md +81 -0
  1643. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_059.md +81 -0
  1644. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_060.md +82 -0
  1645. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_061.md +74 -0
  1646. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_062.md +75 -0
  1647. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_063.md +80 -0
  1648. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_064.md +75 -0
  1649. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_065.md +74 -0
  1650. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_066.md +76 -0
  1651. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_067.md +75 -0
  1652. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_068.md +78 -0
  1653. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_069.md +78 -0
  1654. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_070.md +75 -0
  1655. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_071.md +77 -0
  1656. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_072.md +76 -0
  1657. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_073.md +82 -0
  1658. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_074.md +80 -0
  1659. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_075.md +85 -0
  1660. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_076.md +81 -0
  1661. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_077.md +77 -0
  1662. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_078.md +81 -0
  1663. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_079.md +77 -0
  1664. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_080.md +81 -0
  1665. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_081.md +76 -0
  1666. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_082.md +84 -0
  1667. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_083.md +78 -0
  1668. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_084.md +76 -0
  1669. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_085.md +83 -0
  1670. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_086.md +74 -0
  1671. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_087.md +87 -0
  1672. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_088.md +75 -0
  1673. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_089.md +79 -0
  1674. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_090.md +75 -0
  1675. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_091.md +77 -0
  1676. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_092.md +81 -0
  1677. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_093.md +74 -0
  1678. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_094.md +73 -0
  1679. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_095.md +84 -0
  1680. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_096.md +78 -0
  1681. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_097.md +79 -0
  1682. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_098.md +85 -0
  1683. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_099.md +82 -0
  1684. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_100.md +81 -0
  1685. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_101.md +61 -0
  1686. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_001.md +197 -0
  1687. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_002.md +165 -0
  1688. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_003.md +164 -0
  1689. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_004.md +163 -0
  1690. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_005.md +161 -0
  1691. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_006.md +164 -0
  1692. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_007.md +162 -0
  1693. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_008.md +156 -0
  1694. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_009.md +157 -0
  1695. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_010.md +166 -0
  1696. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_011.md +161 -0
  1697. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_012.md +80 -0
  1698. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_013.md +66 -0
  1699. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_014.md +64 -0
  1700. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_015.md +61 -0
  1701. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_016.md +60 -0
  1702. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_017.md +66 -0
  1703. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_018.md +56 -0
  1704. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_019.md +63 -0
  1705. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_020.md +64 -0
  1706. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_021.md +71 -0
  1707. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_022.md +69 -0
  1708. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_023.md +56 -0
  1709. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_024.md +61 -0
  1710. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_025.md +60 -0
  1711. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_026.md +71 -0
  1712. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_027.md +65 -0
  1713. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_028.md +61 -0
  1714. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_029.md +62 -0
  1715. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_030.md +62 -0
  1716. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_031.md +62 -0
  1717. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_032.md +59 -0
  1718. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_033.md +64 -0
  1719. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_034.md +65 -0
  1720. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_035.md +62 -0
  1721. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_036.md +63 -0
  1722. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_037.md +60 -0
  1723. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_038.md +78 -0
  1724. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_039.md +58 -0
  1725. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_040.md +62 -0
  1726. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_041.md +61 -0
  1727. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PM_001.md +198 -0
  1728. package/pro/squads/squad-creator-pro/package-lock.json +38 -0
  1729. package/pro/squads/squad-creator-pro/package.json +30 -0
  1730. package/pro/squads/squad-creator-pro/requirements.txt +1 -0
  1731. package/pro/squads/squad-creator-pro/schemas/agent-persona.schema.json +78 -0
  1732. package/pro/squads/squad-creator-pro/schemas/squad-config.schema.json +146 -0
  1733. package/pro/squads/squad-creator-pro/scripts/README.md +166 -0
  1734. package/pro/squads/squad-creator-pro/scripts/WAVE-LOOP.md +157 -0
  1735. package/pro/squads/squad-creator-pro/scripts/assess-sources.sh +443 -0
  1736. package/pro/squads/squad-creator-pro/scripts/checklist_validator.py +59 -0
  1737. package/pro/squads/squad-creator-pro/scripts/clone-review.sh +394 -0
  1738. package/pro/squads/squad-creator-pro/scripts/coherence-validator.py +836 -0
  1739. package/pro/squads/squad-creator-pro/scripts/create-agent-preflight.py +243 -0
  1740. package/pro/squads/squad-creator-pro/scripts/cross-mind-linker.py +143 -0
  1741. package/pro/squads/squad-creator-pro/scripts/cross-provider/compare-results.js +281 -0
  1742. package/pro/squads/squad-creator-pro/scripts/cross-provider/cross-provider-runner.js +462 -0
  1743. package/pro/squads/squad-creator-pro/scripts/cross_map.json +338 -0
  1744. package/pro/squads/squad-creator-pro/scripts/dependency_check.py +337 -0
  1745. package/pro/squads/squad-creator-pro/scripts/detect-environment-contract.cjs +37 -0
  1746. package/pro/squads/squad-creator-pro/scripts/export-antigravity-workflows.cjs +12 -0
  1747. package/pro/squads/squad-creator-pro/scripts/fidelity-score.sh +519 -0
  1748. package/pro/squads/squad-creator-pro/scripts/generate-heuristic-registry.py +83 -0
  1749. package/pro/squads/squad-creator-pro/scripts/generate-squad-greeting.js +426 -0
  1750. package/pro/squads/squad-creator-pro/scripts/generate-squad-guide.js +38 -0
  1751. package/pro/squads/squad-creator-pro/scripts/inventory.py +59 -0
  1752. package/pro/squads/squad-creator-pro/scripts/lib/config-loader.js +12 -0
  1753. package/pro/squads/squad-creator-pro/scripts/lib/squad-runtime-paths.cjs +14 -0
  1754. package/pro/squads/squad-creator-pro/scripts/lib/validate-runtime-state.cjs +14 -0
  1755. package/pro/squads/squad-creator-pro/scripts/load-business-sops.cjs +460 -0
  1756. package/pro/squads/squad-creator-pro/scripts/model-tier-validator.cjs +369 -0
  1757. package/pro/squads/squad-creator-pro/scripts/model-usage-logger.cjs +245 -0
  1758. package/pro/squads/squad-creator-pro/scripts/modernization-score.sh +308 -0
  1759. package/pro/squads/squad-creator-pro/scripts/naming_validator.py +59 -0
  1760. package/pro/squads/squad-creator-pro/scripts/on-specialist-complete.py +152 -0
  1761. package/pro/squads/squad-creator-pro/scripts/quality_gate.py +413 -0
  1762. package/pro/squads/squad-creator-pro/scripts/refresh-registry.py +425 -0
  1763. package/pro/squads/squad-creator-pro/scripts/rename-squad.sh +8 -0
  1764. package/pro/squads/squad-creator-pro/scripts/save-session-metrics.py +189 -0
  1765. package/pro/squads/squad-creator-pro/scripts/scaffold-squad.cjs +12 -0
  1766. package/pro/squads/squad-creator-pro/scripts/scoring.py +395 -0
  1767. package/pro/squads/squad-creator-pro/scripts/security_scanner.py +59 -0
  1768. package/pro/squads/squad-creator-pro/scripts/squad-analytics.py +59 -0
  1769. package/pro/squads/squad-creator-pro/scripts/squad-context-loader.cjs +232 -0
  1770. package/pro/squads/squad-creator-pro/scripts/squad-state-manager.cjs +707 -0
  1771. package/pro/squads/squad-creator-pro/scripts/squad-workflow-runner.cjs +884 -0
  1772. package/pro/squads/squad-creator-pro/scripts/squad_utils.py +59 -0
  1773. package/pro/squads/squad-creator-pro/scripts/sync-chief-codex-skill.js +242 -0
  1774. package/pro/squads/squad-creator-pro/scripts/sync-ide-skills.py +59 -0
  1775. package/pro/squads/squad-creator-pro/scripts/tests/__init__.py +1 -0
  1776. package/pro/squads/squad-creator-pro/scripts/tests/conftest.py +309 -0
  1777. package/pro/squads/squad-creator-pro/scripts/tests/run_bash_tests.sh +29 -0
  1778. package/pro/squads/squad-creator-pro/scripts/tests/test_assess_sources.sh +216 -0
  1779. package/pro/squads/squad-creator-pro/scripts/tests/test_checklist_validator.py +396 -0
  1780. package/pro/squads/squad-creator-pro/scripts/tests/test_clone_review.sh +239 -0
  1781. package/pro/squads/squad-creator-pro/scripts/tests/test_coherence_validator.py +212 -0
  1782. package/pro/squads/squad-creator-pro/scripts/tests/test_dependency_check.py +361 -0
  1783. package/pro/squads/squad-creator-pro/scripts/tests/test_fidelity_score.sh +298 -0
  1784. package/pro/squads/squad-creator-pro/scripts/tests/test_inventory.py +307 -0
  1785. package/pro/squads/squad-creator-pro/scripts/tests/test_load_business_sops.cjs +158 -0
  1786. package/pro/squads/squad-creator-pro/scripts/tests/test_modernization_score.sh +211 -0
  1787. package/pro/squads/squad-creator-pro/scripts/tests/test_naming_validator.py +373 -0
  1788. package/pro/squads/squad-creator-pro/scripts/tests/test_quality_gate.py +280 -0
  1789. package/pro/squads/squad-creator-pro/scripts/tests/test_refresh_registry.py +328 -0
  1790. package/pro/squads/squad-creator-pro/scripts/tests/test_scoring.py +366 -0
  1791. package/pro/squads/squad-creator-pro/scripts/tests/test_security_scanner.py +354 -0
  1792. package/pro/squads/squad-creator-pro/scripts/tests/test_squad_analytics.py +309 -0
  1793. package/pro/squads/squad-creator-pro/scripts/tests/test_squad_runtime_pipeline_e2e.cjs +267 -0
  1794. package/pro/squads/squad-creator-pro/scripts/tests/test_validate_clone.sh +252 -0
  1795. package/pro/squads/squad-creator-pro/scripts/tests/test_validate_squad_runtime_state_e2e.cjs +99 -0
  1796. package/pro/squads/squad-creator-pro/scripts/tests/test_wave_loop_runtime_e2e.cjs +216 -0
  1797. package/pro/squads/squad-creator-pro/scripts/tests/test_wave_loop_runtime_unit.cjs +336 -0
  1798. package/pro/squads/squad-creator-pro/scripts/tests/test_yaml_validator.py +412 -0
  1799. package/pro/squads/squad-creator-pro/scripts/validate-agent-output.py +115 -0
  1800. package/pro/squads/squad-creator-pro/scripts/validate-all.sh +49 -0
  1801. package/pro/squads/squad-creator-pro/scripts/validate-clone.sh +345 -0
  1802. package/pro/squads/squad-creator-pro/scripts/validate-squad-structure.py +59 -0
  1803. package/pro/squads/squad-creator-pro/scripts/validate-squad.sh +12 -0
  1804. package/pro/squads/squad-creator-pro/scripts/validate-workspace-contract.py +204 -0
  1805. package/pro/squads/squad-creator-pro/scripts/verify-squad-completeness.sh +8 -0
  1806. package/pro/squads/squad-creator-pro/scripts/wave-loop.cjs +911 -0
  1807. package/pro/squads/squad-creator-pro/scripts/wave-loop.sh +5 -0
  1808. package/pro/squads/squad-creator-pro/scripts/yaml_validator.py +59 -0
  1809. package/pro/squads/squad-creator-pro/skills/fidelity-score.md +245 -0
  1810. package/pro/squads/squad-creator-pro/skills/squad.md +294 -0
  1811. package/pro/squads/squad-creator-pro/squad-io.yaml +49 -0
  1812. package/pro/squads/squad-creator-pro/tasks/CHANGELOG.md +118 -0
  1813. package/pro/squads/squad-creator-pro/tasks/an-assess-sources-collect.md +197 -0
  1814. package/pro/squads/squad-creator-pro/tasks/an-assess-sources-score.md +471 -0
  1815. package/pro/squads/squad-creator-pro/tasks/an-assess-sources.md +177 -0
  1816. package/pro/squads/squad-creator-pro/tasks/an-clone-review-report.md +171 -0
  1817. package/pro/squads/squad-creator-pro/tasks/an-clone-review-source-trinity.md +227 -0
  1818. package/pro/squads/squad-creator-pro/tasks/an-clone-review-stages-fidelity.md +158 -0
  1819. package/pro/squads/squad-creator-pro/tasks/an-clone-review.md +173 -0
  1820. package/pro/squads/squad-creator-pro/tasks/an-compare-outputs-score.md +340 -0
  1821. package/pro/squads/squad-creator-pro/tasks/an-compare-outputs.md +154 -0
  1822. package/pro/squads/squad-creator-pro/tasks/an-design-clone-blueprint.md +51 -0
  1823. package/pro/squads/squad-creator-pro/tasks/an-design-clone-contexts.md +48 -0
  1824. package/pro/squads/squad-creator-pro/tasks/an-design-clone-memory.md +49 -0
  1825. package/pro/squads/squad-creator-pro/tasks/an-design-clone-stages.md +48 -0
  1826. package/pro/squads/squad-creator-pro/tasks/an-design-clone-trinity.md +49 -0
  1827. package/pro/squads/squad-creator-pro/tasks/an-design-clone.md +106 -0
  1828. package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone-prescribe.md +147 -0
  1829. package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone-symptoms.md +147 -0
  1830. package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone-verify-trinity.md +200 -0
  1831. package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone.md +132 -0
  1832. package/pro/squads/squad-creator-pro/tasks/an-extract-dna-layer-extraction.md +54 -0
  1833. package/pro/squads/squad-creator-pro/tasks/an-extract-dna-report.md +55 -0
  1834. package/pro/squads/squad-creator-pro/tasks/an-extract-dna-source-assessment.md +54 -0
  1835. package/pro/squads/squad-creator-pro/tasks/an-extract-dna-thinking-dna.md +54 -0
  1836. package/pro/squads/squad-creator-pro/tasks/an-extract-dna-voice-dna.md +54 -0
  1837. package/pro/squads/squad-creator-pro/tasks/an-extract-dna.md +106 -0
  1838. package/pro/squads/squad-creator-pro/tasks/an-extract-framework-analyze.md +178 -0
  1839. package/pro/squads/squad-creator-pro/tasks/an-extract-framework-integrate.md +239 -0
  1840. package/pro/squads/squad-creator-pro/tasks/an-extract-framework-trinity.md +206 -0
  1841. package/pro/squads/squad-creator-pro/tasks/an-extract-framework.md +144 -0
  1842. package/pro/squads/squad-creator-pro/tasks/an-extract-heuristics.md +560 -0
  1843. package/pro/squads/squad-creator-pro/tasks/an-extract-session-heuristics.md +633 -0
  1844. package/pro/squads/squad-creator-pro/tasks/an-fidelity-score-calculate.md +317 -0
  1845. package/pro/squads/squad-creator-pro/tasks/an-fidelity-score.md +132 -0
  1846. package/pro/squads/squad-creator-pro/tasks/an-validate-clone-hackability.md +346 -0
  1847. package/pro/squads/squad-creator-pro/tasks/an-validate-clone.md +107 -0
  1848. package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources-consolidate.md +186 -0
  1849. package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources-expand.md +173 -0
  1850. package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources-search.md +200 -0
  1851. package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources.md +167 -0
  1852. package/pro/squads/squad-creator-pro/tasks/batch-closeout.md +96 -0
  1853. package/pro/squads/squad-creator-pro/tasks/clone-mind-quality-dashboard.md +142 -0
  1854. package/pro/squads/squad-creator-pro/tasks/clone-mind-smoke-test.md +137 -0
  1855. package/pro/squads/squad-creator-pro/tasks/clone-mind-synthesis.md +147 -0
  1856. package/pro/squads/squad-creator-pro/tasks/collect-sources-classify.md +209 -0
  1857. package/pro/squads/squad-creator-pro/tasks/collect-sources-discover.md +244 -0
  1858. package/pro/squads/squad-creator-pro/tasks/collect-sources-gap-analysis.md +201 -0
  1859. package/pro/squads/squad-creator-pro/tasks/collect-sources-quality-gate.md +227 -0
  1860. package/pro/squads/squad-creator-pro/tasks/collect-sources-validate.md +234 -0
  1861. package/pro/squads/squad-creator-pro/tasks/collect-sources.md +178 -0
  1862. package/pro/squads/squad-creator-pro/tasks/create-agent.md +122 -0
  1863. package/pro/squads/squad-creator-pro/tasks/create-documentation.md +202 -0
  1864. package/pro/squads/squad-creator-pro/tasks/create-from-sop-brief.md +139 -0
  1865. package/pro/squads/squad-creator-pro/tasks/create-from-sop-load-classify.md +173 -0
  1866. package/pro/squads/squad-creator-pro/tasks/create-from-sop-map-workflow.md +172 -0
  1867. package/pro/squads/squad-creator-pro/tasks/create-from-sop.md +130 -0
  1868. package/pro/squads/squad-creator-pro/tasks/create-greeting-script.md +148 -0
  1869. package/pro/squads/squad-creator-pro/tasks/create-pipeline.md +107 -0
  1870. package/pro/squads/squad-creator-pro/tasks/create-squad.md +141 -0
  1871. package/pro/squads/squad-creator-pro/tasks/create-task.md +125 -0
  1872. package/pro/squads/squad-creator-pro/tasks/create-template.md +105 -0
  1873. package/pro/squads/squad-creator-pro/tasks/create-workflow.md +130 -0
  1874. package/pro/squads/squad-creator-pro/tasks/deconstruct-extract.md +221 -0
  1875. package/pro/squads/squad-creator-pro/tasks/deconstruct-synthesize.md +154 -0
  1876. package/pro/squads/squad-creator-pro/tasks/deconstruct.md +123 -0
  1877. package/pro/squads/squad-creator-pro/tasks/deep-research-check-local-knowledge.md +164 -0
  1878. package/pro/squads/squad-creator-pro/tasks/deep-research-execute.md +200 -0
  1879. package/pro/squads/squad-creator-pro/tasks/deep-research-generate-prompt.md +245 -0
  1880. package/pro/squads/squad-creator-pro/tasks/deep-research-pre-agent.md +168 -0
  1881. package/pro/squads/squad-creator-pro/tasks/deep-research-validate.md +192 -0
  1882. package/pro/squads/squad-creator-pro/tasks/delete-squad.md +104 -0
  1883. package/pro/squads/squad-creator-pro/tasks/discover-tools-execute.md +293 -0
  1884. package/pro/squads/squad-creator-pro/tasks/discover-tools.md +201 -0
  1885. package/pro/squads/squad-creator-pro/tasks/etd-assemble-output.md +183 -0
  1886. package/pro/squads/squad-creator-pro/tasks/etd-discovery.md +216 -0
  1887. package/pro/squads/squad-creator-pro/tasks/etd-extract-and-classify.md +250 -0
  1888. package/pro/squads/squad-creator-pro/tasks/etd-extract-heuristics.md +173 -0
  1889. package/pro/squads/squad-creator-pro/tasks/etd-handoff-triggers.md +166 -0
  1890. package/pro/squads/squad-creator-pro/tasks/etd-l4-card-generation.md +224 -0
  1891. package/pro/squads/squad-creator-pro/tasks/etd-objection-handling.md +167 -0
  1892. package/pro/squads/squad-creator-pro/tasks/etd-resolve-and-consolidate.md +158 -0
  1893. package/pro/squads/squad-creator-pro/tasks/evd-assemble-voice-dna.md +218 -0
  1894. package/pro/squads/squad-creator-pro/tasks/evd-collect-sources.md +176 -0
  1895. package/pro/squads/squad-creator-pro/tasks/evd-extract-dimensions.md +667 -0
  1896. package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-context-load.md +180 -0
  1897. package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-enrichment.md +181 -0
  1898. package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-filter.md +192 -0
  1899. package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-multi-lense.md +158 -0
  1900. package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-validation.md +167 -0
  1901. package/pro/squads/squad-creator-pro/tasks/extract-expert-gold.md +185 -0
  1902. package/pro/squads/squad-creator-pro/tasks/extract-implicit-analyze.md +192 -0
  1903. package/pro/squads/squad-creator-pro/tasks/extract-implicit-prioritize.md +212 -0
  1904. package/pro/squads/squad-creator-pro/tasks/extract-implicit-scan.md +231 -0
  1905. package/pro/squads/squad-creator-pro/tasks/extract-implicit-synthesize.md +176 -0
  1906. package/pro/squads/squad-creator-pro/tasks/extract-implicit-validate.md +234 -0
  1907. package/pro/squads/squad-creator-pro/tasks/extract-implicit.md +172 -0
  1908. package/pro/squads/squad-creator-pro/tasks/extract-knowledge-checklist.md +220 -0
  1909. package/pro/squads/squad-creator-pro/tasks/extract-knowledge-framework.md +244 -0
  1910. package/pro/squads/squad-creator-pro/tasks/extract-knowledge-sop.md +244 -0
  1911. package/pro/squads/squad-creator-pro/tasks/extract-knowledge-source-validation.md +191 -0
  1912. package/pro/squads/squad-creator-pro/tasks/extract-knowledge-validation.md +224 -0
  1913. package/pro/squads/squad-creator-pro/tasks/extract-knowledge.md +193 -0
  1914. package/pro/squads/squad-creator-pro/tasks/extract-sop-analyze.md +180 -0
  1915. package/pro/squads/squad-creator-pro/tasks/extract-sop-assemble.md +184 -0
  1916. package/pro/squads/squad-creator-pro/tasks/extract-sop-extract.md +178 -0
  1917. package/pro/squads/squad-creator-pro/tasks/extract-sop-prepare.md +189 -0
  1918. package/pro/squads/squad-creator-pro/tasks/extract-sop.md +182 -0
  1919. package/pro/squads/squad-creator-pro/tasks/extract-thinking-dna.md +160 -0
  1920. package/pro/squads/squad-creator-pro/tasks/extract-voice-dna.md +170 -0
  1921. package/pro/squads/squad-creator-pro/tasks/find-0-8-classify.md +203 -0
  1922. package/pro/squads/squad-creator-pro/tasks/find-0-8-recommend.md +166 -0
  1923. package/pro/squads/squad-creator-pro/tasks/find-0-8.md +136 -0
  1924. package/pro/squads/squad-creator-pro/tasks/ics-audit.md +211 -0
  1925. package/pro/squads/squad-creator-pro/tasks/ics-domain-mapping.md +172 -0
  1926. package/pro/squads/squad-creator-pro/tasks/ics-generate-scripts.md +241 -0
  1927. package/pro/squads/squad-creator-pro/tasks/ics-integration.md +182 -0
  1928. package/pro/squads/squad-creator-pro/tasks/ics-validation.md +181 -0
  1929. package/pro/squads/squad-creator-pro/tasks/install-context-stack.md +228 -0
  1930. package/pro/squads/squad-creator-pro/tasks/install-skills.md +180 -0
  1931. package/pro/squads/squad-creator-pro/tasks/lookup-model.md +139 -0
  1932. package/pro/squads/squad-creator-pro/tasks/migrate-workflows-analyze.md +154 -0
  1933. package/pro/squads/squad-creator-pro/tasks/migrate-workflows-archive.md +162 -0
  1934. package/pro/squads/squad-creator-pro/tasks/migrate-workflows-convert.md +167 -0
  1935. package/pro/squads/squad-creator-pro/tasks/migrate-workflows-to-yaml.md +97 -0
  1936. package/pro/squads/squad-creator-pro/tasks/modernize-squad.md +338 -0
  1937. package/pro/squads/squad-creator-pro/tasks/next-action-discovery.md +191 -0
  1938. package/pro/squads/squad-creator-pro/tasks/next-action-gap-map.md +220 -0
  1939. package/pro/squads/squad-creator-pro/tasks/next-action-implement.md +183 -0
  1940. package/pro/squads/squad-creator-pro/tasks/next-action.md +149 -0
  1941. package/pro/squads/squad-creator-pro/tasks/optimize-binary-checkpoints.md +114 -0
  1942. package/pro/squads/squad-creator-pro/tasks/optimize-determinism-analysis.md +164 -0
  1943. package/pro/squads/squad-creator-pro/tasks/optimize-empirical-validation.md +138 -0
  1944. package/pro/squads/squad-creator-pro/tasks/optimize-gap-zero.md +111 -0
  1945. package/pro/squads/squad-creator-pro/tasks/optimize-gatekeeper-detection.md +113 -0
  1946. package/pro/squads/squad-creator-pro/tasks/optimize-hybrid-executor.md +117 -0
  1947. package/pro/squads/squad-creator-pro/tasks/optimize-post-economy.md +158 -0
  1948. package/pro/squads/squad-creator-pro/tasks/optimize-scope-clarification.md +110 -0
  1949. package/pro/squads/squad-creator-pro/tasks/optimize-workflow-apply.md +142 -0
  1950. package/pro/squads/squad-creator-pro/tasks/optimize-workflow-checkpoints.md +108 -0
  1951. package/pro/squads/squad-creator-pro/tasks/optimize-workflow-executor-distribution.md +107 -0
  1952. package/pro/squads/squad-creator-pro/tasks/optimize-workflow-gap-zero.md +113 -0
  1953. package/pro/squads/squad-creator-pro/tasks/optimize-workflow-parallelization.md +107 -0
  1954. package/pro/squads/squad-creator-pro/tasks/optimize-workflow-phase-necessity.md +139 -0
  1955. package/pro/squads/squad-creator-pro/tasks/optimize-workflow-report.md +146 -0
  1956. package/pro/squads/squad-creator-pro/tasks/optimize-workflow.md +139 -0
  1957. package/pro/squads/squad-creator-pro/tasks/optimize.md +172 -0
  1958. package/pro/squads/squad-creator-pro/tasks/parallel-discovery.md +111 -0
  1959. package/pro/squads/squad-creator-pro/tasks/plan-squad-architecture.md +34 -0
  1960. package/pro/squads/squad-creator-pro/tasks/plan-squad-challenge-reorder.md +34 -0
  1961. package/pro/squads/squad-creator-pro/tasks/plan-squad-contract.md +38 -0
  1962. package/pro/squads/squad-creator-pro/tasks/plan-squad-depth-calibration.md +34 -0
  1963. package/pro/squads/squad-creator-pro/tasks/plan-squad-domain-mapping.md +32 -0
  1964. package/pro/squads/squad-creator-pro/tasks/plan-squad-prd-assembly.md +37 -0
  1965. package/pro/squads/squad-creator-pro/tasks/plan-squad-roadmap.md +32 -0
  1966. package/pro/squads/squad-creator-pro/tasks/plan-squad.md +90 -0
  1967. package/pro/squads/squad-creator-pro/tasks/pv-audit-deep-dive.md +157 -0
  1968. package/pro/squads/squad-creator-pro/tasks/pv-audit-overview.md +157 -0
  1969. package/pro/squads/squad-creator-pro/tasks/pv-audit-sample.md +188 -0
  1970. package/pro/squads/squad-creator-pro/tasks/pv-audit.md +171 -0
  1971. package/pro/squads/squad-creator-pro/tasks/pv-axioma-assessment.md +172 -0
  1972. package/pro/squads/squad-creator-pro/tasks/pv-modernization-score.md +162 -0
  1973. package/pro/squads/squad-creator-pro/tasks/qa-after-creation.md +114 -0
  1974. package/pro/squads/squad-creator-pro/tasks/qualify-task.md +117 -0
  1975. package/pro/squads/squad-creator-pro/tasks/refresh-registry-enrich.md +171 -0
  1976. package/pro/squads/squad-creator-pro/tasks/refresh-registry-scan.md +173 -0
  1977. package/pro/squads/squad-creator-pro/tasks/refresh-registry-write.md +192 -0
  1978. package/pro/squads/squad-creator-pro/tasks/refresh-registry.md +163 -0
  1979. package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-comparison.md +49 -0
  1980. package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-execution.md +49 -0
  1981. package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-lookup.md +49 -0
  1982. package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-preflight.md +48 -0
  1983. package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-report.md +51 -0
  1984. package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing.md +105 -0
  1985. package/pro/squads/squad-creator-pro/tasks/squad-analytics.md +192 -0
  1986. package/pro/squads/squad-creator-pro/tasks/squad-fusion-cleanup.md +93 -0
  1987. package/pro/squads/squad-creator-pro/tasks/squad-fusion-command-sync.md +97 -0
  1988. package/pro/squads/squad-creator-pro/tasks/squad-fusion-deduplication.md +234 -0
  1989. package/pro/squads/squad-creator-pro/tasks/squad-fusion-discovery.md +98 -0
  1990. package/pro/squads/squad-creator-pro/tasks/squad-fusion-execution.md +246 -0
  1991. package/pro/squads/squad-creator-pro/tasks/squad-fusion-initialize.md +247 -0
  1992. package/pro/squads/squad-creator-pro/tasks/squad-fusion-integration.md +95 -0
  1993. package/pro/squads/squad-creator-pro/tasks/squad-fusion-resolution.md +205 -0
  1994. package/pro/squads/squad-creator-pro/tasks/squad-fusion-scope.md +95 -0
  1995. package/pro/squads/squad-creator-pro/tasks/squad-fusion-structure.md +128 -0
  1996. package/pro/squads/squad-creator-pro/tasks/squad-fusion-validation.md +96 -0
  1997. package/pro/squads/squad-creator-pro/tasks/squad-fusion.md +148 -0
  1998. package/pro/squads/squad-creator-pro/tasks/sync-chief-codex-skill.md +107 -0
  1999. package/pro/squads/squad-creator-pro/tasks/sync-ide-skills.md +192 -0
  2000. package/pro/squads/squad-creator-pro/tasks/update-mind-apply.md +207 -0
  2001. package/pro/squads/squad-creator-pro/tasks/update-mind-extract-merge.md +257 -0
  2002. package/pro/squads/squad-creator-pro/tasks/update-mind-extract.md +201 -0
  2003. package/pro/squads/squad-creator-pro/tasks/update-mind-load-snapshot.md +177 -0
  2004. package/pro/squads/squad-creator-pro/tasks/update-mind-load.md +173 -0
  2005. package/pro/squads/squad-creator-pro/tasks/update-mind-merge.md +193 -0
  2006. package/pro/squads/squad-creator-pro/tasks/update-mind.md +177 -0
  2007. package/pro/squads/squad-creator-pro/tasks/upgrade-squad-apply.md +104 -0
  2008. package/pro/squads/squad-creator-pro/tasks/upgrade-squad-gap.md +110 -0
  2009. package/pro/squads/squad-creator-pro/tasks/upgrade-squad-inventory.md +110 -0
  2010. package/pro/squads/squad-creator-pro/tasks/upgrade-squad-plan.md +107 -0
  2011. package/pro/squads/squad-creator-pro/tasks/upgrade-squad-qualitative.md +104 -0
  2012. package/pro/squads/squad-creator-pro/tasks/upgrade-squad-verify.md +106 -0
  2013. package/pro/squads/squad-creator-pro/tasks/upgrade-squad.md +155 -0
  2014. package/pro/squads/squad-creator-pro/tasks/validate-extraction-adversarial.md +182 -0
  2015. package/pro/squads/squad-creator-pro/tasks/validate-extraction-checklist.md +155 -0
  2016. package/pro/squads/squad-creator-pro/tasks/validate-extraction-gate.md +175 -0
  2017. package/pro/squads/squad-creator-pro/tasks/validate-extraction.md +151 -0
  2018. package/pro/squads/squad-creator-pro/tasks/validate-squad-contextual.md +120 -0
  2019. package/pro/squads/squad-creator-pro/tasks/validate-squad-cross-references.md +122 -0
  2020. package/pro/squads/squad-creator-pro/tasks/validate-squad-deterministic.md +261 -0
  2021. package/pro/squads/squad-creator-pro/tasks/validate-squad-quality.md +138 -0
  2022. package/pro/squads/squad-creator-pro/tasks/validate-squad-verdict.md +183 -0
  2023. package/pro/squads/squad-creator-pro/tasks/validate-squad.md +135 -0
  2024. package/pro/squads/squad-creator-pro/tasks/workspace-integration-hardening.md +187 -0
  2025. package/pro/squads/squad-creator-pro/templates/.gitkeep +1 -0
  2026. package/pro/squads/squad-creator-pro/templates/agent-flow-doc-tmpl.md +512 -0
  2027. package/pro/squads/squad-creator-pro/templates/agent-tmpl.md +697 -0
  2028. package/pro/squads/squad-creator-pro/templates/config-tmpl.yaml +434 -0
  2029. package/pro/squads/squad-creator-pro/templates/cross-domain-handoff-tmpl.yaml +17 -0
  2030. package/pro/squads/squad-creator-pro/templates/journey-log-tmpl.yaml +75 -0
  2031. package/pro/squads/squad-creator-pro/templates/pop-extractor-prompt.md +549 -0
  2032. package/pro/squads/squad-creator-pro/templates/quality-gate-tmpl.yaml +589 -0
  2033. package/pro/squads/squad-creator-pro/templates/readme-tmpl.md +231 -0
  2034. package/pro/squads/squad-creator-pro/templates/report-tmpl.yaml +14 -0
  2035. package/pro/squads/squad-creator-pro/templates/research-output-tmpl.md +625 -0
  2036. package/pro/squads/squad-creator-pro/templates/research-prompt-tmpl.md +479 -0
  2037. package/pro/squads/squad-creator-pro/templates/session-heuristic-tmpl.md +100 -0
  2038. package/pro/squads/squad-creator-pro/templates/squad-prd-deep-tmpl.md +434 -0
  2039. package/pro/squads/squad-creator-pro/templates/squad-prd-tmpl.md +464 -0
  2040. package/pro/squads/squad-creator-pro/templates/story-create-agent-tmpl.md +284 -0
  2041. package/pro/squads/squad-creator-pro/templates/task-tmpl.md +461 -0
  2042. package/pro/squads/squad-creator-pro/templates/template-tmpl.yaml +227 -0
  2043. package/pro/squads/squad-creator-pro/templates/workflow-doc-tmpl.md +860 -0
  2044. package/pro/squads/squad-creator-pro/templates/workflow-tmpl.yaml +394 -0
  2045. package/pro/squads/squad-creator-pro/test-cases/BATCH-PROGRESS.md +268 -0
  2046. package/pro/squads/squad-creator-pro/test-cases/QUALIFICATION-DASHBOARD.yaml +13 -0
  2047. package/pro/squads/squad-creator-pro/test-cases/_template.yaml +147 -0
  2048. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/ASSESSMENT-SUMMARY.md +275 -0
  2049. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/ASSESSMENT_SUMMARY.md +140 -0
  2050. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/CHECKPOINT_MATRIX.md +202 -0
  2051. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/EXECUTION-REPORT.md +413 -0
  2052. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/EXECUTION_NOTES.md +358 -0
  2053. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/README-v2.2.2.md +299 -0
  2054. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/README.md +320 -0
  2055. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/TEST-REPORT-v2.1.md +351 -0
  2056. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/VERIFICATION-CHECKLIST.txt +247 -0
  2057. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/formal-qualification-report.yaml +389 -0
  2058. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/opus-baseline.yaml +517 -0
  2059. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/qualification-report.yaml +213 -0
  2060. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/test-case.yaml +69 -0
  2061. package/pro/squads/squad-creator-pro/test-cases/an-clone-review/opus-baseline.yaml +566 -0
  2062. package/pro/squads/squad-creator-pro/test-cases/an-clone-review/qualification-report.yaml +82 -0
  2063. package/pro/squads/squad-creator-pro/test-cases/an-design-clone/test-case.yaml +102 -0
  2064. package/pro/squads/squad-creator-pro/test-cases/an-extract-dna/test-case.yaml +105 -0
  2065. package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/opus-baseline.yaml +266 -0
  2066. package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/qualification-report.yaml +94 -0
  2067. package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/opus-baseline.yaml +470 -0
  2068. package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/qualification-report.yaml +106 -0
  2069. package/pro/squads/squad-creator-pro/test-cases/collect-sources/test-case.yaml +105 -0
  2070. package/pro/squads/squad-creator-pro/test-cases/create-task/test-case.yaml +104 -0
  2071. package/pro/squads/squad-creator-pro/test-cases/cross-provider/DASHBOARD.yaml +11 -0
  2072. package/pro/squads/squad-creator-pro/test-cases/pv-audit/test-case.yaml +106 -0
  2073. package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/opus-baseline.yaml +96 -0
  2074. package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/sonnet-output.yaml +30 -0
  2075. package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/test-case.yaml +129 -0
  2076. package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/comparison-round-1.yaml +242 -0
  2077. package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/opus-baseline.yaml +488 -0
  2078. package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/qualification-report.yaml +74 -0
  2079. package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/opus-baseline.yaml +603 -0
  2080. package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/qualification-report.yaml +97 -0
  2081. package/pro/squads/squad-creator-pro/test-cases/smoke-test-model-routing/test-case.yaml +100 -0
  2082. package/pro/squads/squad-creator-pro/test-cases/upgrade-squad/test-case.yaml +106 -0
  2083. package/pro/squads/squad-creator-pro/test-cases/validate-squad/comparison-round-1.yaml +223 -0
  2084. package/pro/squads/squad-creator-pro/test-cases/validate-squad/opus-baseline.yaml +529 -0
  2085. package/pro/squads/squad-creator-pro/test-cases/validate-squad/opus-round-3-v4-task.yaml +132 -0
  2086. package/pro/squads/squad-creator-pro/test-cases/validate-squad/qualification-report.yaml +104 -0
  2087. package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/opus-baseline.yaml +112 -0
  2088. package/pro/squads/squad-creator-pro/utils/.gitkeep +1 -0
  2089. package/pro/squads/squad-creator-pro/workflows/.gitkeep +1 -0
  2090. package/pro/squads/squad-creator-pro/workflows/create-squad.yaml +300 -0
  2091. package/pro/squads/squad-creator-pro/workflows/modules/module-discovery.yaml +16 -0
  2092. package/pro/squads/squad-creator-pro/workflows/modules/module-integration.yaml +34 -0
  2093. package/pro/squads/squad-creator-pro/workflows/modules/module-quality-gates.yaml +20 -0
  2094. package/pro/squads/squad-creator-pro/workflows/validate-squad.yaml +552 -0
  2095. package/pro/squads/squad-creator-pro/workflows/wf-assess-sources.yaml +62 -0
  2096. package/pro/squads/squad-creator-pro/workflows/wf-auto-acquire-sources.yaml +520 -0
  2097. package/pro/squads/squad-creator-pro/workflows/wf-brownfield-upgrade-squad.yaml +142 -0
  2098. package/pro/squads/squad-creator-pro/workflows/wf-clone-mind.yaml +607 -0
  2099. package/pro/squads/squad-creator-pro/workflows/wf-clone-review.yaml +111 -0
  2100. package/pro/squads/squad-creator-pro/workflows/wf-collect-sources.yaml +104 -0
  2101. package/pro/squads/squad-creator-pro/workflows/wf-compare-outputs.yaml +77 -0
  2102. package/pro/squads/squad-creator-pro/workflows/wf-context-aware-create-squad.yaml +177 -0
  2103. package/pro/squads/squad-creator-pro/workflows/wf-create-from-sop.yaml +117 -0
  2104. package/pro/squads/squad-creator-pro/workflows/wf-create-pipeline.yaml +19 -0
  2105. package/pro/squads/squad-creator-pro/workflows/wf-create-squad.yaml +1763 -0
  2106. package/pro/squads/squad-creator-pro/workflows/wf-create-task.yaml +22 -0
  2107. package/pro/squads/squad-creator-pro/workflows/wf-create-template.yaml +17 -0
  2108. package/pro/squads/squad-creator-pro/workflows/wf-create-workflow.yaml +22 -0
  2109. package/pro/squads/squad-creator-pro/workflows/wf-cross-provider-qualification.yaml +660 -0
  2110. package/pro/squads/squad-creator-pro/workflows/wf-deconstruct.yaml +92 -0
  2111. package/pro/squads/squad-creator-pro/workflows/wf-deep-research.yaml +148 -0
  2112. package/pro/squads/squad-creator-pro/workflows/wf-design-clone.yaml +103 -0
  2113. package/pro/squads/squad-creator-pro/workflows/wf-diagnose-clone.yaml +115 -0
  2114. package/pro/squads/squad-creator-pro/workflows/wf-discover-tools.yaml +1711 -0
  2115. package/pro/squads/squad-creator-pro/workflows/wf-extract-dna.yaml +103 -0
  2116. package/pro/squads/squad-creator-pro/workflows/wf-extract-expert-gold.yaml +101 -0
  2117. package/pro/squads/squad-creator-pro/workflows/wf-extract-framework.yaml +108 -0
  2118. package/pro/squads/squad-creator-pro/workflows/wf-extract-implicit.yaml +101 -0
  2119. package/pro/squads/squad-creator-pro/workflows/wf-extract-knowledge.yaml +162 -0
  2120. package/pro/squads/squad-creator-pro/workflows/wf-extract-sop.yaml +143 -0
  2121. package/pro/squads/squad-creator-pro/workflows/wf-extract-thinking-dna.yaml +210 -0
  2122. package/pro/squads/squad-creator-pro/workflows/wf-extract-voice-dna.yaml +76 -0
  2123. package/pro/squads/squad-creator-pro/workflows/wf-extraction-pipeline.yaml +475 -0
  2124. package/pro/squads/squad-creator-pro/workflows/wf-fidelity-score.yaml +88 -0
  2125. package/pro/squads/squad-creator-pro/workflows/wf-find-08.yaml +71 -0
  2126. package/pro/squads/squad-creator-pro/workflows/wf-install-context-stack.yaml +88 -0
  2127. package/pro/squads/squad-creator-pro/workflows/wf-install-workspace-context.yaml +764 -0
  2128. package/pro/squads/squad-creator-pro/workflows/wf-migrate-workflows.yaml +103 -0
  2129. package/pro/squads/squad-creator-pro/workflows/wf-mind-research-loop.yaml +671 -0
  2130. package/pro/squads/squad-creator-pro/workflows/wf-model-tier-qualification.yaml +737 -0
  2131. package/pro/squads/squad-creator-pro/workflows/wf-modernize-squad.yaml +178 -0
  2132. package/pro/squads/squad-creator-pro/workflows/wf-next-action.yaml +113 -0
  2133. package/pro/squads/squad-creator-pro/workflows/wf-optimize-squad.yaml +761 -0
  2134. package/pro/squads/squad-creator-pro/workflows/wf-optimize-workflow.yaml +122 -0
  2135. package/pro/squads/squad-creator-pro/workflows/wf-optimize-yolo.yaml +595 -0
  2136. package/pro/squads/squad-creator-pro/workflows/wf-plan-squad.yaml +255 -0
  2137. package/pro/squads/squad-creator-pro/workflows/wf-pv-audit.yaml +115 -0
  2138. package/pro/squads/squad-creator-pro/workflows/wf-refresh-registry.yaml +110 -0
  2139. package/pro/squads/squad-creator-pro/workflows/wf-research-then-create-agent.yaml +858 -0
  2140. package/pro/squads/squad-creator-pro/workflows/wf-smoke-test-model-routing.yaml +103 -0
  2141. package/pro/squads/squad-creator-pro/workflows/wf-squad-fusion.yaml +1691 -0
  2142. package/pro/squads/squad-creator-pro/workflows/wf-update-mind.yaml +148 -0
  2143. package/pro/squads/squad-creator-pro/workflows/wf-upgrade-squad.yaml +141 -0
  2144. package/pro/squads/squad-creator-pro/workflows/wf-validate-clone.yaml +120 -0
  2145. package/pro/squads/squad-creator-pro/workflows/wf-validate-extraction.yaml +111 -0
  2146. package/pro/squads/squad-creator-pro/workflows/wf-workspace-integration-hardening.yaml +119 -0
  2147. package/pro/squads/storytelling/CHANGELOG.md +30 -0
  2148. package/pro/squads/storytelling/HEADLINE.md +3 -0
  2149. package/pro/squads/storytelling/README.md +137 -0
  2150. package/pro/squads/storytelling/agents/blake-snyder.md +451 -0
  2151. package/pro/squads/storytelling/agents/dan-harmon.md +742 -0
  2152. package/pro/squads/storytelling/agents/donald-miller.md +662 -0
  2153. package/pro/squads/storytelling/agents/joseph-campbell.md +625 -0
  2154. package/pro/squads/storytelling/agents/keith-johnstone.md +467 -0
  2155. package/pro/squads/storytelling/agents/kindra-hall.md +953 -0
  2156. package/pro/squads/storytelling/agents/marshall-ganz.md +473 -0
  2157. package/pro/squads/storytelling/agents/matthew-dicks.md +526 -0
  2158. package/pro/squads/storytelling/agents/nancy-duarte.md +528 -0
  2159. package/pro/squads/storytelling/agents/oren-klaff.md +785 -0
  2160. package/pro/squads/storytelling/agents/park-howell.md +807 -0
  2161. package/pro/squads/storytelling/agents/shawn-coyne.md +540 -0
  2162. package/pro/squads/storytelling/agents/story-chief.md +409 -0
  2163. package/pro/squads/storytelling/checklists/story-quality-checklist.md +100 -0
  2164. package/pro/squads/storytelling/config.yaml +248 -0
  2165. package/pro/squads/storytelling/data/story-mappings.yaml +200 -0
  2166. package/pro/squads/storytelling/docs/.gitkeep +0 -0
  2167. package/pro/squads/storytelling/research/blake-snyder-save-the-cat-research.md +958 -0
  2168. package/pro/squads/storytelling/research/donald-miller-storybrand-research.md +1205 -0
  2169. package/pro/squads/storytelling/research/joseph-campbell-heros-journey-research.md +1170 -0
  2170. package/pro/squads/storytelling/research/keith-johnstone-improv-spontaneity-research.md +574 -0
  2171. package/pro/squads/storytelling/research/marshall-ganz-public-narrative-research.md +658 -0
  2172. package/pro/squads/storytelling/research/nancy-duarte-sparkline-research.md +892 -0
  2173. package/pro/squads/storytelling/research/shawn-coyne-story-grid-research.md +760 -0
  2174. package/pro/squads/storytelling/scripts/generate-story-greeting.cjs +140 -0
  2175. package/pro/squads/storytelling/scripts/load-context.cjs +141 -0
  2176. package/pro/squads/storytelling/scripts/resolve-readiness.cjs +45 -0
  2177. package/pro/squads/storytelling/scripts/runtime-paths.cjs +44 -0
  2178. package/pro/squads/storytelling/scripts/set-active-context.cjs +108 -0
  2179. package/pro/squads/storytelling/scripts/show-context.cjs +22 -0
  2180. package/pro/squads/storytelling/squad-io.yaml +573 -0
  2181. package/pro/squads/storytelling/tasks/apply-abt.md +856 -0
  2182. package/pro/squads/storytelling/tasks/apply-beat-sheet.md +1245 -0
  2183. package/pro/squads/storytelling/tasks/apply-heros-journey.md +1100 -0
  2184. package/pro/squads/storytelling/tasks/apply-save-the-cat.md +1075 -0
  2185. package/pro/squads/storytelling/tasks/apply-story-circle.md +1116 -0
  2186. package/pro/squads/storytelling/tasks/craft-personal-story.md +1004 -0
  2187. package/pro/squads/storytelling/tasks/craft-public-narrative.md +1193 -0
  2188. package/pro/squads/storytelling/tasks/craft-ted-talk.md +773 -0
  2189. package/pro/squads/storytelling/tasks/create-brandscript.md +1376 -0
  2190. package/pro/squads/storytelling/tasks/create-business-story.md +1472 -0
  2191. package/pro/squads/storytelling/tasks/create-pitch.md +1128 -0
  2192. package/pro/squads/storytelling/tasks/diagnose-story-grid.md +979 -0
  2193. package/pro/squads/storytelling/tasks/improvise-story.md +772 -0
  2194. package/pro/squads/storytelling/templates/narrative-output-tmpl.md +44 -0
  2195. package/pro/squads/storytelling/workflows/story-creation.yaml +80 -0
  2196. package/scripts/validate-package-completeness.js +4 -1
@@ -0,0 +1,1602 @@
1
+ # Managed by materialize-map.py
2
+ # Source: outputs/sinkra-squad/aiox-sop/map/20260329-190639-claude-opus/task_definitions.yaml
3
+ # Category: workflow
4
+
5
+ metadata:
6
+ phase: 5
7
+ process_slug: aiox-sop
8
+ process_name: 'Creates, extracts, analyzes, grades and converts SOPs using the world''s
9
+ best process documentation methodologies. Dual-output: human-readable and AI/ML-consumable
10
+ formats.'
11
+ generated_at: '2026-03-29T23:45:00-03:00'
12
+ agent: composition-engineer
13
+ version: 1.0.0
14
+ methodology: SINKRA Task Anatomy — 8-Field Definition per Atom. Derived from workflow_definition.json
15
+ (Phase 4) + executor_matrix.json (Phase 3). Zero invented fields.
16
+ validation_status: PASS
17
+ total_tasks: 27
18
+ veto_status: NONE — all 27 tasks pass 8-field completeness check
19
+ task_scope: AIOX SOP Transformation Pipeline — full-cycle task definitions for all
20
+ Atoms across 6 workflow phases plus rework loop. T6.2 (Readability Test) formally
21
+ ELIMINATED per Phase 4 decision.
22
+ tasks:
23
+ - task: receberSubmissaoSOP
24
+ task_id: T1.1
25
+ task_name: Receive SOP submission
26
+ atomic_layer: Atom
27
+ responsavel_type: Human
28
+ executor_role: SOP Owner / Process Requestor
29
+ workflow: wf_intake_validation
30
+ domain: Operational
31
+ automation_decision: KEEP_MANUAL
32
+ entrada:
33
+ - campo: raw_sop_document
34
+ tipo: File (PDF/DOCX/MD/TXT)
35
+ origem: SOP Owner — direct upload via Google Form portal or Knowledge Hub
36
+ obrigatorio: true
37
+ - campo: context_form
38
+ tipo: JSON
39
+ origem: 'SOP Owner — form fields: process_name, owner_name, scope, target_audience,
40
+ version, department'
41
+ obrigatorio: true
42
+ saida:
43
+ - campo: sop_payload_json
44
+ tipo: JSON
45
+ destino: T1.2 (Intake Validator) via webhook
46
+ persistido: true
47
+ schema: '{ document_url, context_form, submitted_at, owner_email }'
48
+ - campo: owner_metadata
49
+ tipo: JSON
50
+ destino: Supabase sop_submissions table
51
+ persistido: true
52
+ pre_conditions:
53
+ - Google Form portal or Knowledge Hub portal is accessible
54
+ - SOP document exists in supported format (PDF/DOCX/TXT/MD)
55
+ - Owner has been onboarded to the platform
56
+ post_conditions:
57
+ conditions:
58
+ - sop_payload_json delivered to webhook endpoint
59
+ - Owner confirmation email sent
60
+ - Submission record created in sop_submissions table
61
+ acceptance_criteria:
62
+ - 'Form fields: process_name, owner_name, scope, target_audience all non-empty'
63
+ - Document URL is reachable from storage
64
+ - Webhook HTTP 200 response received within 5s
65
+ performance:
66
+ duration: < 1h (SOP Owner prep time)
67
+ cost: Human time — variable
68
+ cacheable: false
69
+ sla_hours: 1
70
+ error_handling:
71
+ strategy: retry
72
+ max_retries: 1
73
+ fallback: Documentation Coordinator manual intake via email
74
+ alert: slack-ops
75
+ alert_on_failure: true
76
+ - task: validarCompletudeSOP
77
+ task_id: T1.2
78
+ task_name: Validate completeness of submission
79
+ atomic_layer: Atom
80
+ responsavel_type: Worker
81
+ executor_role: Intake Validator (Node.js Supabase Edge Function)
82
+ workflow: wf_intake_validation
83
+ domain: Operational
84
+ automation_decision: AUTOMATE
85
+ entrada:
86
+ - campo: sop_payload_json
87
+ tipo: JSON
88
+ origem: T1.1 via webhook
89
+ obrigatorio: true
90
+ saida:
91
+ - campo: validation_result
92
+ tipo: JSON
93
+ destino: T1.3 (if PASS) OR T1.1 (if FAIL with missing fields)
94
+ persistido: true
95
+ schema: '{ passed: bool, completeness_score: float, missing_fields: string[],
96
+ validated_at: ISO8601 }'
97
+ pre_conditions:
98
+ - sop_payload_json is valid JSON
99
+ - SINKRA required fields schema is loaded in Edge Function
100
+ - Supabase sop_validation_log table is writable
101
+ post_conditions:
102
+ conditions:
103
+ - Validation result logged to Supabase sop_validation_log
104
+ - completeness_score in range 0-100
105
+ - 'If FAIL: missing_fields list is non-empty'
106
+ acceptance_criteria:
107
+ - completeness_score >= 70 triggers progression to T1.3
108
+ - completeness_score < 70 triggers notification to SOP Owner with missing fields
109
+ list
110
+ - Validation completes within 2 minutes
111
+ - Worker logs execution in Supabase (Mandamento 3)
112
+ performance:
113
+ duration: < 2min
114
+ cost: < $0.01 per execution
115
+ cacheable: false
116
+ sla_minutes: 2
117
+ error_handling:
118
+ strategy: fallback
119
+ max_retries: 0
120
+ fallback: Route to T1.1 with error payload
121
+ alert: slack-ops
122
+ alert_on_failure: true
123
+ - task: catalogarAtribuirID
124
+ task_id: T1.3
125
+ task_name: Catalog and assign unique ID
126
+ atomic_layer: Atom
127
+ responsavel_type: Worker
128
+ executor_role: ID Cataloger (Supabase Edge Function)
129
+ workflow: wf_intake_validation
130
+ domain: Operational
131
+ automation_decision: AUTOMATE
132
+ entrada:
133
+ - campo: validated_sop_payload
134
+ tipo: JSON
135
+ origem: T1.2 (completeness_score >= 70)
136
+ obrigatorio: true
137
+ saida:
138
+ - campo: sop_with_id
139
+ tipo: JSON
140
+ destino: T2.1 via event (Supabase realtime)
141
+ persistido: true
142
+ schema: '{ sop_id: ''SOP-YYYYMMDD-NNN'', sop_url, storage_path, created_at }'
143
+ - campo: supabase_record
144
+ tipo: DB record
145
+ destino: Supabase sop_catalog table
146
+ persistido: true
147
+ pre_conditions:
148
+ - completeness_score >= 70 (from T1.2)
149
+ - SOP payload not already cataloged (idempotency check via content hash)
150
+ - Supabase sop_catalog table is writable
151
+ - S3/Drive storage is accessible
152
+ post_conditions:
153
+ conditions:
154
+ - 'Unique SOP ID assigned (format: SOP-YYYYMMDD-NNN)'
155
+ - Record created in sop_catalog table
156
+ - File stored in S3/Drive at assigned storage_path
157
+ - Realtime event emitted to trigger T2.1
158
+ acceptance_criteria:
159
+ - sop_id is globally unique (DB unique constraint)
160
+ - storage_path is reachable within 10s of creation
161
+ - Event delivered to N8N within 5s
162
+ - 'Idempotency: submitting same SOP twice returns same ID'
163
+ performance:
164
+ duration: < 1min
165
+ cost: < $0.01 per execution
166
+ cacheable: false
167
+ sla_minutes: 1
168
+ error_handling:
169
+ strategy: retry
170
+ max_retries: 3
171
+ fallback: Alert Process Owner + Documentation Coordinator via slack-ops
172
+ alert: slack-ops
173
+ alert_on_failure: true
174
+ - task: converterDocumento
175
+ task_id: T2.1
176
+ task_name: Document conversion (OCR/parse/normalize)
177
+ atomic_layer: Atom
178
+ responsavel_type: Worker
179
+ executor_role: Document Converter (PyPDF2 / pandoc script)
180
+ workflow: wf_extraction_grading
181
+ domain: Operational
182
+ automation_decision: AUTOMATE
183
+ entrada:
184
+ - campo: raw_sop_file
185
+ tipo: File (PDF/DOCX/TXT/MD/image)
186
+ origem: T1.3 storage_path via realtime event
187
+ obrigatorio: true
188
+ saida:
189
+ - campo: normalized_markdown
190
+ tipo: String (UTF-8 Markdown)
191
+ destino: T2.2 (Schema Mapper)
192
+ persistido: true
193
+ - campo: conversion_metadata
194
+ tipo: JSON
195
+ destino: Supabase sop_conversion_log
196
+ persistido: true
197
+ schema: '{ original_format, encoding, page_count, char_count, converted_at }'
198
+ pre_conditions:
199
+ - raw_sop_file exists in storage at given storage_path
200
+ - File size < 50MB
201
+ - MIME type in whitelist (application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document,
202
+ text/plain, text/markdown, image/*)
203
+ - PyPDF2 and pandoc installed and functional
204
+ post_conditions:
205
+ conditions:
206
+ - Markdown output is valid UTF-8
207
+ - Minimum 100 characters extracted
208
+ - Conversion metadata logged to Supabase
209
+ acceptance_criteria:
210
+ - Output encoding is UTF-8 (no garbled characters)
211
+ - char_count >= 100
212
+ - page_count matches source document
213
+ - Conversion completes within 10 minutes
214
+ performance:
215
+ duration: < 10min
216
+ cost: < $0.05 per execution
217
+ cacheable: true
218
+ sla_minutes: 10
219
+ error_handling:
220
+ strategy: retry
221
+ max_retries: 2
222
+ fallback: Escalate to Extraction Lead for manual conversion via slack-qa
223
+ alert: slack-qa
224
+ alert_on_failure: true
225
+ - task: mapearSchema
226
+ task_id: T2.2
227
+ task_name: Schema mapping (structure extraction)
228
+ atomic_layer: Atom
229
+ responsavel_type: Agent
230
+ executor_role: Schema Mapper (Claude API via Gateway AI — OpenClaw)
231
+ workflow: wf_extraction_grading
232
+ domain: Operational
233
+ automation_decision: DELEGATE
234
+ entrada:
235
+ - campo: normalized_markdown
236
+ tipo: String (UTF-8 Markdown)
237
+ origem: T2.1
238
+ obrigatorio: true
239
+ - campo: sinkra_schema_definition
240
+ tipo: JSON Schema
241
+ origem: squads/sinkra-squad/data/token-registry.yaml — loaded at runtime
242
+ obrigatorio: true
243
+ - campo: validation_errors
244
+ tipo: JSON (array of strings)
245
+ origem: T2.3 (only on retry loops)
246
+ obrigatorio: false
247
+ saida:
248
+ - campo: sinkra_schema_json
249
+ tipo: JSON
250
+ destino: T2.3 (Schema Validator)
251
+ persistido: true
252
+ schema: SINKRA standard schema — all fields from token-registry
253
+ - campo: extraction_confidence_metadata
254
+ tipo: JSON
255
+ destino: T2.4 (Confidence Scorer)
256
+ persistido: true
257
+ schema: '{ extracted_fields: int, required_fields: int, null_fields: string[]
258
+ }'
259
+ - campo: field_coverage_report
260
+ tipo: JSON
261
+ destino: T2.4
262
+ persistido: true
263
+ pre_conditions:
264
+ - normalized_markdown is non-empty (char_count >= 100)
265
+ - Gateway AI (OpenClaw) is accessible and authenticated
266
+ - SINKRA schema definition loaded from token-registry
267
+ - Retry count < 2 (if called from T2.3 feedback loop)
268
+ post_conditions:
269
+ conditions:
270
+ - Output is valid JSON
271
+ - All mandatory SINKRA fields present (or explicitly null — not omitted)
272
+ - Output schema validated against SINKRA JSON schema
273
+ acceptance_criteria:
274
+ - JSON parses without errors
275
+ - 'Mandatory fields: sop_id, process_name, scope, steps[] are present'
276
+ - null fields documented with reason in null_fields array
277
+ - Extraction completes within 15 minutes
278
+ performance:
279
+ duration: < 15min
280
+ cost: ~$0.10-0.50 per SOP (Claude API tokens)
281
+ cacheable: false
282
+ sla_minutes: 15
283
+ error_handling:
284
+ strategy: retry
285
+ max_retries: 2
286
+ fallback: 'If retry_count >= 2: escalate to Extraction Lead (Human) for manual
287
+ schema mapping'
288
+ alert: slack-qa
289
+ alert_on_failure: true
290
+ - task: validarSchemaSINKRA
291
+ task_id: T2.3
292
+ task_name: Validate extracted schema
293
+ atomic_layer: Atom
294
+ responsavel_type: Worker
295
+ executor_role: Schema Validator (ajv/jsonschema library)
296
+ workflow: wf_extraction_grading
297
+ domain: Operational
298
+ automation_decision: AUTOMATE
299
+ entrada:
300
+ - campo: sinkra_schema_json
301
+ tipo: JSON
302
+ origem: T2.2
303
+ obrigatorio: true
304
+ - campo: sinkra_json_schema_definition
305
+ tipo: JSON Schema (AJV format)
306
+ origem: squads/sinkra-squad/data/sinkra-schema.json — loaded at runtime
307
+ obrigatorio: true
308
+ saida:
309
+ - campo: schema_validation_result
310
+ tipo: JSON
311
+ destino: T2.4 (if PASS) OR T2.2 (if FAIL — retry loop)
312
+ persistido: true
313
+ schema: '{ passed: bool, errors: ValidationError[], validated_at: ISO8601, retry_count:
314
+ int }'
315
+ pre_conditions:
316
+ - sinkra_schema_json received from T2.2
317
+ - SINKRA JSON schema definition loaded
318
+ - retry_count tracked (max 2)
319
+ post_conditions:
320
+ conditions:
321
+ - Validation result logged
322
+ - 'If PASS: errors array is empty'
323
+ - 'If FAIL: errors array is non-empty with field paths and messages'
324
+ acceptance_criteria:
325
+ - Validation executes within 1 minute
326
+ - Error messages include field path (e.g., $.steps[0].actor)
327
+ - 'If FAIL and retry_count < 2: feed errors back to T2.2 (self-healing loop)'
328
+ - 'If FAIL and retry_count >= 2: escalate to Extraction Lead'
329
+ performance:
330
+ duration: < 1min
331
+ cost: < $0.001 per execution
332
+ cacheable: false
333
+ sla_minutes: 1
334
+ error_handling:
335
+ strategy: fallback
336
+ max_retries: 0
337
+ fallback: Return to T2.2 with validation errors in prompt context (max 2 loops)
338
+ alert: slack-qa
339
+ alert_on_failure: true
340
+ - task: calcularScoreConfianca
341
+ task_id: T2.4
342
+ task_name: Generate extraction confidence score
343
+ atomic_layer: Atom
344
+ responsavel_type: Worker
345
+ executor_role: Confidence Scorer (Node.js heuristic script)
346
+ workflow: wf_extraction_grading
347
+ domain: Operational
348
+ automation_decision: AUTOMATE
349
+ entrada:
350
+ - campo: validated_sinkra_schema_json
351
+ tipo: JSON
352
+ origem: T2.3 (schema_validation_result.passed == true)
353
+ obrigatorio: true
354
+ - campo: extraction_confidence_metadata
355
+ tipo: JSON
356
+ origem: T2.2 (field_coverage_report)
357
+ obrigatorio: true
358
+ saida:
359
+ - campo: confidence_score
360
+ tipo: float (0-100)
361
+ destino: T3.1, T3.2, T3.3, T3.4 (parallel group — if >= 70)
362
+ persistido: true
363
+ - campo: routing_decision
364
+ tipo: JSON
365
+ destino: N8N workflow router
366
+ persistido: true
367
+ schema: '{ route: ''quality_grading'' | ''manual_review'', reason: string }'
368
+ pre_conditions:
369
+ - Schema validation PASSED (T2.3)
370
+ - field_coverage_report is available from T2.2
371
+ - required_fields count is non-zero
372
+ post_conditions:
373
+ conditions:
374
+ - confidence_score in range 0-100
375
+ - routing_decision logged to Supabase
376
+ - 'Formula applied: confidence = (extracted_fields / required_fields) × 100'
377
+ acceptance_criteria:
378
+ - confidence_score is a float, not integer
379
+ - 'If confidence_score < 70: route to manual Agent review queue'
380
+ - 'If confidence_score >= 70: trigger parallel quality grading group (T3.1, T3.2,
381
+ T3.3)'
382
+ performance:
383
+ duration: < 1min
384
+ cost: < $0.001 per execution
385
+ cacheable: false
386
+ sla_minutes: 1
387
+ error_handling:
388
+ strategy: fallback
389
+ max_retries: 0
390
+ fallback: Default confidence = 0 → escalate to Extraction Lead via slack-qa
391
+ alert: slack-qa
392
+ alert_on_failure: true
393
+ - task: avaliarClareza
394
+ task_id: T3.1
395
+ task_name: Evaluate clarity and comprehensibility
396
+ atomic_layer: Atom
397
+ responsavel_type: Clone
398
+ executor_role: Clarity Assessor (Pedro Valerio mind clone — PV_BS_001 methodology)
399
+ executor_source: squads/squad-creator-pro/minds/oalanicolas/
400
+ workflow: wf_extraction_grading
401
+ domain: Operational
402
+ automation_decision: DELEGATE
403
+ parallel_group: pg_quality_grading
404
+ human_in_loop: Quality Analyst validates outlier scores (< 1.5 or > 4.8)
405
+ human_review_trigger:
406
+ condition: clarity_score < 1.5 OR clarity_score > 4.8
407
+ reviewer: Human:Quality_Analyst
408
+ escalation_sla_minutes: 60
409
+ action: manual_override_or_reject
410
+ entrada:
411
+ - campo: validated_sinkra_schema_json
412
+ tipo: JSON
413
+ origem: T2.4 (confidence_score >= 70)
414
+ obrigatorio: true
415
+ saida:
416
+ - campo: clarity_score
417
+ tipo: float (0-5)
418
+ destino: T3.4 (Gap Analyzer) and T3.5 (Report Compiler)
419
+ persistido: true
420
+ - campo: clarity_rationale
421
+ tipo: JSON
422
+ destino: T3.5
423
+ persistido: true
424
+ schema: '{ score: float, dimensions: { language_simplicity, ambiguity_absence,
425
+ instruction_precision, example_adequacy, audience_alignment }, flagged_sections:
426
+ string[] }'
427
+ pre_conditions:
428
+ - confidence_score >= 70 (from T2.4)
429
+ - validated_sinkra_schema_json available
430
+ - Pedro Valerio Clone is accessible (Gateway AI)
431
+ - PV_BS_001 clarity rubric loaded
432
+ post_conditions:
433
+ conditions:
434
+ - clarity_score in range 0-5
435
+ - clarity_rationale includes dimension scores for all 5 dimensions
436
+ - Outlier scores (< 1.5 or > 4.8) flagged for Quality Analyst validation
437
+ acceptance_criteria:
438
+ - clarity_score is a float with 2 decimal places
439
+ - All 5 clarity dimensions scored
440
+ - Flagged sections identified with line references
441
+ - Completes within 5 minutes
442
+ performance:
443
+ duration: < 5min
444
+ cost: ~$0.05-0.15 per SOP (Clone inference cost)
445
+ cacheable: false
446
+ sla_minutes: 5
447
+ error_handling:
448
+ strategy: retry
449
+ max_retries: 2
450
+ fallback: Escalate to Quality Analyst for manual clarity scoring
451
+ alert: slack-qa
452
+ alert_on_failure: true
453
+ - task: avaliarCompletude
454
+ task_id: T3.2
455
+ task_name: Evaluate structural completeness
456
+ atomic_layer: Atom
457
+ responsavel_type: Worker
458
+ executor_role: Completeness Checker (Node.js field checklist script)
459
+ workflow: wf_extraction_grading
460
+ domain: Operational
461
+ automation_decision: AUTOMATE
462
+ parallel_group: pg_quality_grading
463
+ entrada:
464
+ - campo: validated_sinkra_schema_json
465
+ tipo: JSON
466
+ origem: T2.4 (confidence_score >= 70)
467
+ obrigatorio: true
468
+ saida:
469
+ - campo: completeness_score
470
+ tipo: float (0-100)
471
+ destino: T3.4 (Gap Analyzer) and T3.5 (Report Compiler)
472
+ persistido: true
473
+ - campo: missing_fields_report
474
+ tipo: JSON
475
+ destino: T3.5
476
+ persistido: true
477
+ schema: '{ score: float, total_required: int, present: int, missing: string[],
478
+ partial: string[] }'
479
+ pre_conditions:
480
+ - validated_sinkra_schema_json available
481
+ - SINKRA required fields checklist loaded (from token-registry)
482
+ - confidence_score >= 70
483
+ post_conditions:
484
+ conditions:
485
+ - completeness_score in range 0-100
486
+ - 'Formula: score = (fields_present / total_required_fields) × 100'
487
+ - missing_fields list accounts for all absent required fields
488
+ acceptance_criteria:
489
+ - completeness_score calculated from objective field presence, not content quality
490
+ - Partial fields flagged separately from missing fields
491
+ - Completes within 2 minutes
492
+ performance:
493
+ duration: < 2min
494
+ cost: < $0.001 per execution
495
+ cacheable: false
496
+ sla_minutes: 2
497
+ error_handling:
498
+ strategy: fallback
499
+ max_retries: 0
500
+ fallback: Escalate to Quality Analyst for manual completeness check
501
+ alert: slack-qa
502
+ alert_on_failure: true
503
+ - task: avaliarAderenciaSINKRA
504
+ task_id: T3.3
505
+ task_name: Evaluate SINKRA adherence with heuristics
506
+ atomic_layer: Atom
507
+ responsavel_type: Clone
508
+ executor_role: SINKRA Compliance Assessor (Pedro Valerio mind clone)
509
+ executor_source: squads/squad-creator-pro/minds/oalanicolas/
510
+ workflow: wf_extraction_grading
511
+ domain: Operational
512
+ automation_decision: DELEGATE
513
+ parallel_group: pg_quality_grading
514
+ human_in_loop: Quality Analyst validates VETO decisions
515
+ human_review_trigger:
516
+ condition: veto_triggered = true OR overall_pass = false
517
+ reviewer: Human:Quality_Analyst
518
+ escalation_sla_minutes: 60
519
+ action: review_violation_and_approve_or_reject
520
+ entrada:
521
+ - campo: validated_sinkra_schema_json
522
+ tipo: JSON
523
+ origem: T2.4 (confidence_score >= 70)
524
+ obrigatorio: true
525
+ saida:
526
+ - campo: sinkra_adherence_result
527
+ tipo: JSON
528
+ destino: T3.4 (Gap Analyzer) and T3.5 (Report Compiler)
529
+ persistido: true
530
+ schema: '{ overall_pass: bool, mandamentos_scores: object, violations: string[],
531
+ veto_triggered: bool }'
532
+ pre_conditions:
533
+ - validated_sinkra_schema_json available
534
+ - Pedro Valerio Clone accessible (Gateway AI)
535
+ - SINKRA 10 Mandamentos definition loaded
536
+ post_conditions:
537
+ conditions:
538
+ - All 10 Mandamentos evaluated individually
539
+ - overall_pass = true if 0 critical violations, false otherwise
540
+ - VETO triggers Human escalation (Quality Analyst) if any critical violation found
541
+ acceptance_criteria:
542
+ - All 10 Mandamentos have individual scores
543
+ - Inter-rater reliability target > 0.85 (enforced by Clone consistency)
544
+ - VETO decisions documented with specific Mandamento referenced
545
+ - Completes within 5 minutes
546
+ performance:
547
+ duration: < 5min
548
+ cost: ~$0.05-0.15 per SOP
549
+ cacheable: false
550
+ sla_minutes: 5
551
+ error_handling:
552
+ strategy: retry
553
+ max_retries: 2
554
+ fallback: Escalate to Quality Analyst for manual SINKRA compliance check
555
+ alert: slack-qa
556
+ alert_on_failure: true
557
+ - task: identificarLacunasRecomendacoes
558
+ task_id: T3.4
559
+ task_name: Identify gaps and generate recommendations
560
+ atomic_layer: Atom
561
+ responsavel_type: Agent
562
+ executor_role: Gap Analyzer (Claude API via Gateway AI — OpenClaw)
563
+ workflow: wf_extraction_grading
564
+ domain: Operational
565
+ automation_decision: DELEGATE
566
+ entrada:
567
+ - campo: validated_sinkra_schema_json
568
+ tipo: JSON
569
+ origem: T2.4
570
+ obrigatorio: true
571
+ - campo: clarity_score
572
+ tipo: float
573
+ origem: T3.1
574
+ obrigatorio: true
575
+ - campo: completeness_score
576
+ tipo: float
577
+ origem: T3.2
578
+ obrigatorio: true
579
+ - campo: sinkra_adherence_result
580
+ tipo: JSON
581
+ origem: T3.3
582
+ obrigatorio: true
583
+ saida:
584
+ - campo: recommendations_json
585
+ tipo: JSON (array)
586
+ destino: T3.5 (Report Compiler)
587
+ persistido: true
588
+ schema: '{ recommendations: [{ issue: string, severity: ''critical''|''high''|''medium''|''low'',
589
+ fix_suggestion: string, affected_field: string }] }'
590
+ - campo: gap_severity_classification
591
+ tipo: JSON
592
+ destino: T3.5
593
+ persistido: true
594
+ schema: '{ critical_count: int, high_count: int, medium_count: int, low_count:
595
+ int }'
596
+ pre_conditions:
597
+ - T3.1, T3.2, T3.3 all completed (all scores available)
598
+ - Gateway AI (OpenClaw) accessible
599
+ - SINKRA gap taxonomy loaded
600
+ post_conditions:
601
+ conditions:
602
+ - 'Each recommendation has: issue, severity, fix_suggestion, affected_field'
603
+ - recommendations array is non-null (can be empty if no gaps found)
604
+ - gap_severity_classification counts match recommendations array
605
+ acceptance_criteria:
606
+ - Recommendations are actionable — not vague ('improve clarity' is rejected; 'Step
607
+ 3 lacks success criteria' is accepted)
608
+ - Each recommendation references a specific SOP field or section
609
+ - Completes within 5 minutes
610
+ performance:
611
+ duration: < 5min
612
+ cost: ~$0.05-0.20 per SOP (Claude API tokens)
613
+ cacheable: false
614
+ sla_minutes: 5
615
+ error_handling:
616
+ strategy: retry
617
+ max_retries: 2
618
+ fallback: Escalate to Quality Analyst for manual gap analysis
619
+ alert: slack-qa
620
+ alert_on_failure: true
621
+ - task: compilarRelatorioQualidade
622
+ task_id: T3.5
623
+ task_name: Compile quality analysis report
624
+ atomic_layer: Atom
625
+ responsavel_type: Worker
626
+ executor_role: Report Compiler (Handlebars template engine — Node.js)
627
+ workflow: wf_extraction_grading
628
+ domain: Operational
629
+ automation_decision: AUTOMATE
630
+ entrada:
631
+ - campo: clarity_score
632
+ tipo: float
633
+ origem: T3.1
634
+ obrigatorio: true
635
+ - campo: completeness_score
636
+ tipo: float
637
+ origem: T3.2
638
+ obrigatorio: true
639
+ - campo: sinkra_adherence_result
640
+ tipo: JSON
641
+ origem: T3.3
642
+ obrigatorio: true
643
+ - campo: recommendations_json
644
+ tipo: JSON
645
+ origem: T3.4
646
+ obrigatorio: true
647
+ - campo: gap_severity_classification
648
+ tipo: JSON
649
+ origem: T3.4
650
+ obrigatorio: true
651
+ saida:
652
+ - campo: quality_analysis_report_json
653
+ tipo: JSON
654
+ destino: T4.1-T4.4, T5.1-T5.3, T6.3 (multiple consumers)
655
+ persistido: true
656
+ schema: '{ sop_id, tier: ''A''|''B''|''C''|''D'', scores: { clarity, completeness,
657
+ sinkra_adherence, composite }, recommendations, generated_at }'
658
+ - campo: tier_classification
659
+ tipo: string ('A'|'B'|'C'|'D')
660
+ destino: N8N routing decision
661
+ persistido: true
662
+ - campo: routing_decision
663
+ tipo: JSON
664
+ destino: N8N workflow router
665
+ persistido: true
666
+ schema: '{ route: ''format_conversion'' | ''rework_feedback'' | ''escalate'',
667
+ tier: string, reason: string }'
668
+ pre_conditions:
669
+ - T3.1, T3.2, T3.3, T3.4 all completed
670
+ - 'Tier thresholds configured: A >= 4.5, B >= 4.0, C >= 3.0, D < 3.0 (composite
671
+ scale 0-5)'
672
+ - Handlebars report template loaded
673
+ post_conditions:
674
+ conditions:
675
+ - quality_analysis_report_json schema is valid
676
+ - tier assigned based on composite score
677
+ - routing_decision emitted to N8N
678
+ acceptance_criteria:
679
+ - 'Composite score formula: (clarity × 0.4) + (completeness/20 × 0.3) + (sinkra_adherence_score
680
+ × 0.3)'
681
+ - 'Tier A (composite >= 4.5): route to wf_format_conversion directly'
682
+ - 'Tier B/C (composite 3.0-4.4): route to wf_rework_feedback'
683
+ - 'Tier D (composite < 3.0): escalate to Quality Analyst, do not publish'
684
+ - Report generation completes within 2 minutes
685
+ performance:
686
+ duration: < 2min
687
+ cost: < $0.001 per execution
688
+ cacheable: false
689
+ sla_minutes: 2
690
+ error_handling:
691
+ strategy: fallback
692
+ max_retries: 0
693
+ fallback: Default tier = D → manual escalation to Quality Analyst
694
+ alert: slack-qa
695
+ alert_on_failure: true
696
+ - task: notificarRework
697
+ task_id: T_REWORK_NOTIFY
698
+ task_name: Notify SOP Owner and create rework task
699
+ atomic_layer: Atom
700
+ responsavel_type: Worker
701
+ executor_role: Notification Worker (N8N + ClickUp API integration)
702
+ workflow: wf_rework_feedback
703
+ domain: Operational
704
+ automation_decision: AUTOMATE
705
+ entrada:
706
+ - campo: quality_analysis_report_json
707
+ tipo: JSON
708
+ origem: T3.5 (tier IN 'B', 'C')
709
+ obrigatorio: true
710
+ - campo: recommendations_json
711
+ tipo: JSON
712
+ origem: T3.4
713
+ obrigatorio: true
714
+ - campo: owner_contact
715
+ tipo: string (email)
716
+ origem: T1.1 owner_metadata
717
+ obrigatorio: true
718
+ saida:
719
+ - campo: clickup_task_id
720
+ tipo: string
721
+ destino: T_REWORK_HUMAN tracking
722
+ persistido: true
723
+ - campo: notification_status
724
+ tipo: JSON
725
+ destino: Supabase sop_notifications_log
726
+ persistido: true
727
+ schema: '{ email_sent: bool, clickup_task_created: bool, due_date: ISO8601, created_at:
728
+ ISO8601 }'
729
+ pre_conditions:
730
+ - tier IN ('B', 'C') — confirmed from T3.5
731
+ - SOP Owner email is available and valid
732
+ - ClickUp API key configured and accessible
733
+ - Rework deadline = 5 business days from notification
734
+ post_conditions:
735
+ conditions:
736
+ - ClickUp task created with due date (5 business days)
737
+ - Email notification sent to SOP Owner with recommendations
738
+ - Rework status = PENDING in Supabase
739
+ acceptance_criteria:
740
+ - 'Email contains: quality_report link, recommendations list, deadline, portal
741
+ resubmission URL'
742
+ - ClickUp task ID stored for tracking in T_REWORK_HUMAN
743
+ - Notification completes within 5 minutes
744
+ performance:
745
+ duration: < 5min
746
+ cost: < $0.01 per execution
747
+ cacheable: false
748
+ sla_minutes: 5
749
+ error_handling:
750
+ strategy: retry
751
+ max_retries: 3
752
+ fallback: Manual notification via Documentation Coordinator
753
+ alert: slack-qa
754
+ alert_on_failure: true
755
+ - task: revisarSOP
756
+ task_id: T_REWORK_HUMAN
757
+ task_name: Incorporate recommendations and resubmit SOP
758
+ atomic_layer: Atom
759
+ responsavel_type: Human
760
+ executor_role: SOP Owner (rework)
761
+ workflow: wf_rework_feedback
762
+ domain: Operational
763
+ automation_decision: KEEP_MANUAL
764
+ entrada:
765
+ - campo: original_sop
766
+ tipo: File
767
+ origem: T1.3 storage_path
768
+ obrigatorio: true
769
+ - campo: quality_analysis_report_json
770
+ tipo: JSON
771
+ origem: T3.5 via ClickUp task
772
+ obrigatorio: true
773
+ - campo: clickup_task
774
+ tipo: ClickUp task
775
+ origem: T_REWORK_NOTIFY
776
+ obrigatorio: true
777
+ saida:
778
+ - campo: revised_sop_document
779
+ tipo: File
780
+ destino: T2.1 (re-enter extraction pipeline from start)
781
+ persistido: true
782
+ - campo: rework_notes
783
+ tipo: string
784
+ destino: Supabase sop_rework_log
785
+ persistido: true
786
+ pre_conditions:
787
+ - ClickUp task assigned and acknowledged by SOP Owner
788
+ - SOP Owner has access to Quality Analysis Report
789
+ - rework_loop_count < 2 (max 2 rework loops per SOP)
790
+ post_conditions:
791
+ conditions:
792
+ - Revised SOP submitted via portal (re-enters T1.1 → T2.1 pipeline)
793
+ - Rework notes documented in Supabase
794
+ - ClickUp task marked complete
795
+ acceptance_criteria:
796
+ - Revised SOP addresses at least all critical and high-severity recommendations
797
+ - Rework submitted within 5 business day SLA
798
+ - 'If SLA missed: manager escalation triggered; option to reject or extend'
799
+ performance:
800
+ duration: 1-5 business days (SLA)
801
+ cost: Human time — variable
802
+ cacheable: false
803
+ sla_business_days: 5
804
+ error_handling:
805
+ strategy: retry
806
+ max_retries: 1
807
+ fallback: Escalate to manager + Quality Analyst after SLA miss
808
+ alert: slack-qa
809
+ alert_on_failure: true
810
+ - task: converterJSONLD
811
+ task_id: T4.1
812
+ task_name: Convert to JSON-LD with semantic enrichment
813
+ atomic_layer: Atom
814
+ responsavel_type: Worker
815
+ executor_role: JSON-LD Transformer (Node.js template transformation script)
816
+ workflow: wf_format_conversion
817
+ domain: Operational
818
+ automation_decision: AUTOMATE
819
+ parallel_group: pg_ml_vs_docs
820
+ entrada:
821
+ - campo: validated_sinkra_schema_json
822
+ tipo: JSON
823
+ origem: T2.4 (source of truth) — also gated by T3.5 tier routing
824
+ obrigatorio: true
825
+ saida:
826
+ - campo: json_ld_artifact
827
+ tipo: JSON-LD
828
+ destino: T6.1 (coherence validation)
829
+ persistido: true
830
+ schema: JSON-LD with @context, @type, and semantic links per SINKRA ontology
831
+ pre_conditions:
832
+ - Tier classification from T3.5 is 'A' OR rework cycle completed
833
+ - validated_sinkra_schema_json available
834
+ - SINKRA JSON-LD @context definition loaded
835
+ - JSON-LD template loaded
836
+ post_conditions:
837
+ conditions:
838
+ - Output is valid JSON-LD (passes JSON-LD validator)
839
+ - '@context references SINKRA ontology URL'
840
+ - '@type mapped to SINKRA process taxonomy'
841
+ acceptance_criteria:
842
+ - JSON-LD validates against JSON-LD spec 1.1
843
+ - All mandatory SOP fields present as JSON-LD properties
844
+ - Completes within 3 minutes
845
+ performance:
846
+ duration: < 3min
847
+ cost: < $0.001 per execution
848
+ cacheable: true
849
+ sla_minutes: 3
850
+ error_handling:
851
+ strategy: retry
852
+ max_retries: 2
853
+ fallback: Escalate to AI Engineer via slack-devops
854
+ alert: slack-devops
855
+ alert_on_failure: true
856
+ - task: gerarEmbeddings
857
+ task_id: T4.2
858
+ task_name: Generate vector embeddings with caching
859
+ atomic_layer: Atom
860
+ responsavel_type: Worker
861
+ executor_role: Embedding Generator (Anthropic Embeddings API + Redis/file cache)
862
+ workflow: wf_format_conversion
863
+ domain: Operational
864
+ automation_decision: AUTOMATE
865
+ parallel_group: pg_ml_vs_docs
866
+ entrada:
867
+ - campo: validated_sinkra_schema_json
868
+ tipo: JSON
869
+ origem: T2.4
870
+ obrigatorio: true
871
+ saida:
872
+ - campo: vector_embeddings
873
+ tipo: float[] (1536 dimensions)
874
+ destino: Supabase pgvector table (sop_embeddings) + T6.1
875
+ persistido: true
876
+ - campo: embedding_metadata
877
+ tipo: JSON
878
+ destino: Supabase sop_embeddings_log
879
+ persistido: true
880
+ schema: '{ sop_id, model: string, dimensions: 1536, cache_hit: bool, generated_at:
881
+ ISO8601 }'
882
+ pre_conditions:
883
+ - validated_sinkra_schema_json available
884
+ - Anthropic Embeddings API accessible and authenticated
885
+ - Cache layer (Redis or file cache) available
886
+ - Content hash computed for cache lookup
887
+ post_conditions:
888
+ conditions:
889
+ - vector_embeddings dimension count = 1536
890
+ - embedding_metadata logged (including cache_hit status)
891
+ - Stored in Supabase pgvector
892
+ acceptance_criteria:
893
+ - Dimension count == 1536 (strict equality)
894
+ - 'Cache hit: completes within 1 minute'
895
+ - 'Cache miss: completes within 20 minutes'
896
+ - 70% cost reduction target via caching
897
+ - Embedding stored with sop_id foreign key
898
+ performance:
899
+ duration: < 1min (cached) / < 20min (uncached)
900
+ cost: ~$0.10 per embedding (uncached) / $0 (cached)
901
+ cacheable: true
902
+ cache_key: content_hash(sinkra_schema_json)
903
+ sla_minutes: 20
904
+ error_handling:
905
+ strategy: retry
906
+ max_retries: 2
907
+ fallback: Escalate to AI Engineer via slack-devops. Log cache miss.
908
+ alert: slack-devops
909
+ alert_on_failure: true
910
+ - task: gerarGrafoGraphML
911
+ task_id: T4.3
912
+ task_name: Generate dependency graph (GraphML)
913
+ atomic_layer: Atom
914
+ responsavel_type: Agent
915
+ executor_role: Graph Generator (Claude API via Gateway AI + GraphML generator library)
916
+ workflow: wf_format_conversion
917
+ domain: Operational
918
+ automation_decision: DELEGATE
919
+ parallel_group: pg_ml_vs_docs
920
+ entrada:
921
+ - campo: validated_sinkra_schema_json
922
+ tipo: JSON
923
+ origem: T2.4
924
+ obrigatorio: true
925
+ saida:
926
+ - campo: graphml_dependency_graph
927
+ tipo: GraphML (XML)
928
+ destino: T6.1 (coherence validation)
929
+ persistido: true
930
+ - campo: graph_metadata
931
+ tipo: JSON
932
+ destino: Supabase sop_graphs_log
933
+ persistido: true
934
+ schema: '{ node_count: int, edge_count: int, is_dag: bool, has_cycles: bool, critical_path:
935
+ string[] }'
936
+ pre_conditions:
937
+ - validated_sinkra_schema_json available
938
+ - Gateway AI (OpenClaw) accessible
939
+ - GraphML generator library available
940
+ - SOP has at least 1 step with dependencies
941
+ post_conditions:
942
+ conditions:
943
+ - Output is valid XML (passes XML parser)
944
+ - GraphML DTD validation passes
945
+ - is_dag = true (no cycles detected)
946
+ - Node count matches step count in SOP
947
+ acceptance_criteria:
948
+ - GraphML is valid XML per GraphML-Primer spec
949
+ - Every SOP step is represented as a node
950
+ - Dependencies correctly inferred from step sequence and conditional flows
951
+ - Completes within 10 minutes
952
+ performance:
953
+ duration: < 10min
954
+ cost: ~$0.05-0.20 per SOP
955
+ cacheable: false
956
+ sla_minutes: 10
957
+ error_handling:
958
+ strategy: retry
959
+ max_retries: 2
960
+ fallback: Escalate to AI Engineer via slack-devops
961
+ alert: slack-devops
962
+ alert_on_failure: true
963
+ - task: tokenizarParaLLM
964
+ task_id: T4.4
965
+ task_name: Tokenize and prepare for LLM fine-tuning
966
+ atomic_layer: Atom
967
+ responsavel_type: Worker
968
+ executor_role: Tokenizer (tiktoken or equivalent — Python script)
969
+ workflow: wf_format_conversion
970
+ domain: Operational
971
+ automation_decision: AUTOMATE
972
+ parallel_group: pg_ml_vs_docs
973
+ entrada:
974
+ - campo: validated_sinkra_schema_json
975
+ tipo: JSON
976
+ origem: T2.4
977
+ obrigatorio: true
978
+ saida:
979
+ - campo: token_sequences
980
+ tipo: JSONL
981
+ destino: T6.1 (coherence validation) + fine-tuning dataset
982
+ persistido: true
983
+ - campo: tokenization_metadata
984
+ tipo: JSON
985
+ destino: Supabase sop_tokenization_log
986
+ persistido: true
987
+ schema: '{ token_count: int, model_target: string, special_tokens: string[], created_at:
988
+ ISO8601 }'
989
+ pre_conditions:
990
+ - validated_sinkra_schema_json available
991
+ - tiktoken (or target tokenizer) installed
992
+ - Target model tokenizer configured (e.g., cl100k_base for GPT-4)
993
+ post_conditions:
994
+ conditions:
995
+ - token_sequences is valid JSONL
996
+ - token_count > 0
997
+ - Special tokens ([SOP_START], [SOP_END], [STEP], [ACTOR]) injected
998
+ acceptance_criteria:
999
+ - Output JSONL parseable line by line
1000
+ - special_tokens present and non-empty
1001
+ - Completes within 5 minutes
1002
+ performance:
1003
+ duration: < 5min
1004
+ cost: < $0.001 per execution
1005
+ cacheable: true
1006
+ sla_minutes: 5
1007
+ error_handling:
1008
+ strategy: retry
1009
+ max_retries: 2
1010
+ fallback: Escalate to AI Engineer via slack-devops
1011
+ alert: slack-devops
1012
+ alert_on_failure: true
1013
+ - task: gerarSumarioExecutivo
1014
+ task_id: T5.1
1015
+ task_name: Generate narrative (executive summary)
1016
+ atomic_layer: Atom
1017
+ responsavel_type: Agent
1018
+ executor_role: Executive Writer (Claude API via Gateway AI — OpenClaw)
1019
+ workflow: wf_format_conversion
1020
+ domain: Operational
1021
+ automation_decision: DELEGATE
1022
+ parallel_group: pg_ml_vs_docs
1023
+ entrada:
1024
+ - campo: validated_sinkra_schema_json
1025
+ tipo: JSON
1026
+ origem: T2.4
1027
+ obrigatorio: true
1028
+ - campo: executive_summary_template
1029
+ tipo: Markdown template
1030
+ origem: squads/aiox-sop/templates/executive-summary-tmpl.md — loaded at runtime
1031
+ obrigatorio: true
1032
+ saida:
1033
+ - campo: executive_summary_md
1034
+ tipo: Markdown
1035
+ destino: T5.4 (Multi-Format Renderer)
1036
+ persistido: true
1037
+ pre_conditions:
1038
+ - validated_sinkra_schema_json available
1039
+ - Gateway AI (OpenClaw) accessible
1040
+ - Executive summary template loaded
1041
+ - 'Target audience: C-level / decision-makers'
1042
+ post_conditions:
1043
+ conditions:
1044
+ - Output is valid Markdown
1045
+ - Word count >= 200
1046
+ - 'Audience tone matches: executive / strategic (no implementation details)'
1047
+ acceptance_criteria:
1048
+ - Word count >= 200 words
1049
+ - 'Sections: Process Overview, Key Objectives, Expected Outcomes, Stakeholders'
1050
+ - No implementation-level detail (that goes in T5.3)
1051
+ - Completes within 10 minutes
1052
+ performance:
1053
+ duration: < 10min
1054
+ cost: ~$0.10-0.40 per SOP (Claude API tokens)
1055
+ cacheable: false
1056
+ sla_minutes: 10
1057
+ error_handling:
1058
+ strategy: retry
1059
+ max_retries: 2
1060
+ fallback: Escalate to Tech Writer Lead via slack-devops
1061
+ alert: slack-devops
1062
+ alert_on_failure: true
1063
+ - task: gerarGuiaOperacional
1064
+ task_id: T5.2
1065
+ task_name: Generate operational guide (step-by-step)
1066
+ atomic_layer: Atom
1067
+ responsavel_type: Agent
1068
+ executor_role: Operational Writer (Claude API via Gateway AI — OpenClaw)
1069
+ workflow: wf_format_conversion
1070
+ domain: Operational
1071
+ automation_decision: DELEGATE
1072
+ parallel_group: pg_ml_vs_docs
1073
+ entrada:
1074
+ - campo: validated_sinkra_schema_json
1075
+ tipo: JSON
1076
+ origem: T2.4
1077
+ obrigatorio: true
1078
+ - campo: operational_guide_template
1079
+ tipo: Markdown template
1080
+ origem: squads/aiox-sop/templates/operational-guide-tmpl.md — loaded at runtime
1081
+ obrigatorio: true
1082
+ saida:
1083
+ - campo: operational_guide_md
1084
+ tipo: Markdown
1085
+ destino: T5.4 (Multi-Format Renderer)
1086
+ persistido: true
1087
+ pre_conditions:
1088
+ - validated_sinkra_schema_json available
1089
+ - Gateway AI (OpenClaw) accessible
1090
+ - Operational guide template loaded
1091
+ - 'Target audience: process operators / frontline staff'
1092
+ post_conditions:
1093
+ conditions:
1094
+ - Output is valid Markdown
1095
+ - Word count >= 500
1096
+ - 'Step-by-step format: numbered steps, actors, inputs/outputs per step'
1097
+ acceptance_criteria:
1098
+ - Word count >= 500 words
1099
+ - 'Every step has: actor, action, inputs, outputs, success criteria'
1100
+ - Decision points clearly marked as conditional branches
1101
+ - Completes within 10 minutes
1102
+ performance:
1103
+ duration: < 10min
1104
+ cost: ~$0.10-0.40 per SOP
1105
+ cacheable: false
1106
+ sla_minutes: 10
1107
+ error_handling:
1108
+ strategy: retry
1109
+ max_retries: 2
1110
+ fallback: Escalate to Tech Writer Lead via slack-devops
1111
+ alert: slack-devops
1112
+ alert_on_failure: true
1113
+ - task: gerarReferencialTecnico
1114
+ task_id: T5.3
1115
+ task_name: Generate technical reference (detailed)
1116
+ atomic_layer: Atom
1117
+ responsavel_type: Agent
1118
+ executor_role: Technical Writer (Claude API via Gateway AI — OpenClaw)
1119
+ workflow: wf_format_conversion
1120
+ domain: Operational
1121
+ automation_decision: DELEGATE
1122
+ parallel_group: pg_ml_vs_docs
1123
+ entrada:
1124
+ - campo: validated_sinkra_schema_json
1125
+ tipo: JSON
1126
+ origem: T2.4
1127
+ obrigatorio: true
1128
+ - campo: technical_reference_template
1129
+ tipo: Markdown template
1130
+ origem: squads/aiox-sop/templates/technical-reference-tmpl.md — loaded at runtime
1131
+ obrigatorio: true
1132
+ saida:
1133
+ - campo: technical_reference_md
1134
+ tipo: Markdown
1135
+ destino: T5.4 (Multi-Format Renderer)
1136
+ persistido: true
1137
+ pre_conditions:
1138
+ - validated_sinkra_schema_json available
1139
+ - Gateway AI (OpenClaw) accessible
1140
+ - Technical reference template loaded
1141
+ - 'Target audience: architects, developers, SINKRA practitioners'
1142
+ post_conditions:
1143
+ conditions:
1144
+ - Output is valid Markdown
1145
+ - Word count >= 1000
1146
+ - 'Includes: full schema definitions, edge cases, integration points, versioning
1147
+ notes'
1148
+ acceptance_criteria:
1149
+ - Word count >= 1000 words
1150
+ - 'Sections: Schema Definition, Executor Matrix, Integration Points, Edge Cases,
1151
+ Version History'
1152
+ - All SINKRA field names reference token-registry identifiers
1153
+ - Completes within 10 minutes
1154
+ performance:
1155
+ duration: < 10min
1156
+ cost: ~$0.15-0.60 per SOP
1157
+ cacheable: false
1158
+ sla_minutes: 10
1159
+ error_handling:
1160
+ strategy: retry
1161
+ max_retries: 2
1162
+ fallback: Escalate to Tech Writer Lead via slack-devops
1163
+ alert: slack-devops
1164
+ alert_on_failure: true
1165
+ - task: renderizarMultiplosFormatos
1166
+ task_id: T5.4
1167
+ task_name: Render in multiple formats (Markdown → PDF/HTML/Notion)
1168
+ atomic_layer: Atom
1169
+ responsavel_type: Worker
1170
+ executor_role: Multi-Format Renderer (pandoc + Notion API + HTML renderer)
1171
+ workflow: wf_format_conversion
1172
+ domain: Operational
1173
+ automation_decision: AUTOMATE
1174
+ entrada:
1175
+ - campo: executive_summary_md
1176
+ tipo: Markdown
1177
+ origem: T5.1
1178
+ obrigatorio: true
1179
+ - campo: operational_guide_md
1180
+ tipo: Markdown
1181
+ origem: T5.2
1182
+ obrigatorio: true
1183
+ - campo: technical_reference_md
1184
+ tipo: Markdown
1185
+ origem: T5.3
1186
+ obrigatorio: true
1187
+ saida:
1188
+ - campo: pdf_files
1189
+ tipo: PDF[] (3 files)
1190
+ destino: T5.5 (Metadata Injector) + T6.1
1191
+ persistido: true
1192
+ - campo: html_files
1193
+ tipo: HTML[] (3 files)
1194
+ destino: T5.5
1195
+ persistido: true
1196
+ - campo: notion_pages
1197
+ tipo: Notion Page[] (3 pages)
1198
+ destino: T5.5
1199
+ persistido: true
1200
+ pre_conditions:
1201
+ - executive_summary_md, operational_guide_md, technical_reference_md all available
1202
+ - pandoc installed (version >= 2.19)
1203
+ - Notion API key configured and workspace accessible
1204
+ - Output storage paths configured
1205
+ post_conditions:
1206
+ conditions:
1207
+ - '9 output files generated (3 docs × 3 formats: PDF, HTML, Notion)'
1208
+ - All PDFs render without errors
1209
+ - All Notion pages accessible via URL
1210
+ - All HTML files are valid HTML5
1211
+ acceptance_criteria:
1212
+ - PDF count == 3, HTML count == 3, Notion page count == 3
1213
+ - pandoc exit code = 0 for all PDF/HTML conversions
1214
+ - Notion pages accessible within 30s of creation
1215
+ - Completes within 8 minutes
1216
+ performance:
1217
+ duration: < 8min
1218
+ cost: < $0.01 per execution (API calls to Notion)
1219
+ cacheable: false
1220
+ sla_minutes: 8
1221
+ error_handling:
1222
+ strategy: retry
1223
+ max_retries: 2
1224
+ fallback: Escalate to Tech Writer Lead via slack-devops
1225
+ alert: slack-devops
1226
+ alert_on_failure: true
1227
+ - task: injetarMetadados
1228
+ task_id: T5.5
1229
+ task_name: Add metadata and navigation (TOC, links, breadcrumbs)
1230
+ atomic_layer: Atom
1231
+ responsavel_type: Worker
1232
+ executor_role: Metadata Injector (Node.js template script)
1233
+ workflow: wf_format_conversion
1234
+ domain: Operational
1235
+ automation_decision: AUTOMATE
1236
+ entrada:
1237
+ - campo: html_files
1238
+ tipo: HTML[] (3 files)
1239
+ origem: T5.4
1240
+ obrigatorio: true
1241
+ - campo: notion_pages
1242
+ tipo: Notion Page[] (3 pages)
1243
+ origem: T5.4
1244
+ obrigatorio: true
1245
+ - campo: sop_metadata
1246
+ tipo: JSON
1247
+ origem: T1.3 (sop_id, version, owner, date)
1248
+ obrigatorio: true
1249
+ saida:
1250
+ - campo: html_with_navigation
1251
+ tipo: HTML[] (3 files) — enriched
1252
+ destino: T6.1 (coherence validation)
1253
+ persistido: true
1254
+ - campo: notion_with_breadcrumbs
1255
+ tipo: Notion Page[] (3 pages) — enriched
1256
+ destino: T6.1
1257
+ persistido: true
1258
+ pre_conditions:
1259
+ - html_files and notion_pages available from T5.4
1260
+ - 'sop_metadata contains: sop_id, version, owner_name, created_at'
1261
+ - Navigation template loaded
1262
+ post_conditions:
1263
+ conditions:
1264
+ - TOC present in all HTML files
1265
+ - Breadcrumbs present in all Notion pages
1266
+ - SOP ID, version, date injected into all documents
1267
+ acceptance_criteria:
1268
+ - HTML files contain <nav> element with TOC
1269
+ - Notion pages contain breadcrumb block at top
1270
+ - sop_id metadata tag present in HTML <head> and Notion properties
1271
+ - Completes within 3 minutes
1272
+ performance:
1273
+ duration: < 3min
1274
+ cost: < $0.01 per execution
1275
+ cacheable: false
1276
+ sla_minutes: 3
1277
+ error_handling:
1278
+ strategy: fallback
1279
+ max_retries: 0
1280
+ fallback: Escalate to Tech Writer Lead via slack-devops
1281
+ alert: slack-devops
1282
+ alert_on_failure: true
1283
+ - task: validarCoerenciaArtifatos
1284
+ task_id: T6.1
1285
+ task_name: Validate coherence between versions
1286
+ atomic_layer: Atom
1287
+ responsavel_type: Worker
1288
+ executor_role: Coherence Validator (Node.js structural check script)
1289
+ workflow: wf_publishing_qa
1290
+ domain: Operational
1291
+ automation_decision: AUTOMATE
1292
+ entrada:
1293
+ - campo: all_generated_artifacts
1294
+ tipo: Manifest JSON
1295
+ origem: T4.1, T4.2, T4.3, T4.4, T5.5 — manifest assembled by N8N after T5.5 completion
1296
+ obrigatorio: true
1297
+ detail: '{ json_ld, embeddings, graphml, tokens, html_files, notion_pages, pdf_files
1298
+ }'
1299
+ - campo: sinkra_schema_json
1300
+ tipo: JSON
1301
+ origem: T2.4 (source of truth)
1302
+ obrigatorio: true
1303
+ saida:
1304
+ - campo: coherence_validation_result
1305
+ tipo: JSON
1306
+ destino: T6.3 (Feedback Validator)
1307
+ persistido: true
1308
+ schema: '{ passed: bool, artifact_count_expected: int, artifact_count_found: int,
1309
+ discrepancies: string[], validated_at: ISO8601 }'
1310
+ pre_conditions:
1311
+ - All T4 artifacts present in storage (json_ld, embeddings, graphml, tokens)
1312
+ - All T5 artifacts present in storage (html, pdf, notion)
1313
+ - Artifact manifest file available
1314
+ - SINKRA schema source of truth accessible
1315
+ post_conditions:
1316
+ conditions:
1317
+ - Validation result logged with all artifact counts
1318
+ - 'If FAIL: discrepancy report details exactly which artifacts are missing or
1319
+ inconsistent'
1320
+ - No orphaned files (files in storage not referenced in manifest)
1321
+ acceptance_criteria:
1322
+ - artifact_count_expected == artifact_count_found
1323
+ - SOP ID consistent across all artifacts
1324
+ - 'If coherence_failed: pipeline halted, Deployment Lead alerted — no publishing
1325
+ proceeds'
1326
+ - Completes within 5 minutes
1327
+ performance:
1328
+ duration: < 5min
1329
+ cost: < $0.001 per execution
1330
+ cacheable: false
1331
+ sla_minutes: 5
1332
+ error_handling:
1333
+ strategy: fallback
1334
+ max_retries: 0
1335
+ fallback: HALT pipeline. Alert Deployment Lead via slack-deployment with discrepancy
1336
+ report. Manual fix required.
1337
+ alert: slack-deployment
1338
+ alert_on_failure: true
1339
+ - task: validarIncorporacaoFeedback
1340
+ task_id: T6.3
1341
+ task_name: Validate that T3 feedback was incorporated
1342
+ atomic_layer: Atom
1343
+ responsavel_type: Worker
1344
+ executor_role: Feedback Validator (Node.js checklist script)
1345
+ workflow: wf_publishing_qa
1346
+ domain: Operational
1347
+ automation_decision: AUTOMATE
1348
+ entrada:
1349
+ - campo: quality_analysis_report_json
1350
+ tipo: JSON
1351
+ origem: T3.5
1352
+ obrigatorio: true
1353
+ - campo: coherence_validation_result
1354
+ tipo: JSON
1355
+ origem: T6.1 (passed == true)
1356
+ obrigatorio: true
1357
+ - campo: rework_notes
1358
+ tipo: string
1359
+ origem: T_REWORK_HUMAN (if rework cycle occurred) or null
1360
+ obrigatorio: false
1361
+ saida:
1362
+ - campo: feedback_incorporation_result
1363
+ tipo: JSON
1364
+ destino: T6.4 (Human sign-off, if required) or T6.5 (if auto-approved)
1365
+ persistido: true
1366
+ schema: '{ passed: bool, recommendations_total: int, incorporated: int, rejected:
1367
+ int, documented: int, unaddressed_critical: int }'
1368
+ pre_conditions:
1369
+ - coherence_validation_result.passed == true (T6.1)
1370
+ - quality_analysis_report_json available from T3.5
1371
+ - 'Each recommendation has a traceable status: incorporated/rejected/documented'
1372
+ post_conditions:
1373
+ conditions:
1374
+ - 'Each recommendation has a status: incorporated / rejected (with reason) / documented'
1375
+ - unaddressed_critical count computed
1376
+ - Routing decision derived from tier + unaddressed_critical count
1377
+ acceptance_criteria:
1378
+ - 'Tier A + unaddressed_critical == 0: auto-approve, route to T6.5'
1379
+ - 'Tier B/C OR unaddressed_critical > 0: route to T6.4 (Human sign-off)'
1380
+ - 'Tier D: escalate to Quality Analyst, do not publish'
1381
+ - Completes within 3 minutes
1382
+ performance:
1383
+ duration: < 3min
1384
+ cost: < $0.001 per execution
1385
+ cacheable: false
1386
+ sla_minutes: 3
1387
+ error_handling:
1388
+ strategy: fallback
1389
+ max_retries: 0
1390
+ fallback: Escalate to Deployment Lead via slack-deployment
1391
+ alert: slack-deployment
1392
+ alert_on_failure: true
1393
+ - task: assinarFormalmenteSOP
1394
+ task_id: T6.4
1395
+ task_name: Formal sign-off by SOP owner
1396
+ atomic_layer: Atom
1397
+ responsavel_type: Human
1398
+ executor_role: SOP Owner (formal accountability sign-off)
1399
+ workflow: wf_publishing_qa
1400
+ domain: Tactical
1401
+ automation_decision: KEEP_MANUAL
1402
+ nota: Only triggered for Tier B/C or when unaddressed_critical > 0. Tier A auto-approved
1403
+ after T6.3.
1404
+ entrada:
1405
+ - campo: all_generated_artifacts
1406
+ tipo: Manifest JSON + artifact URLs
1407
+ origem: T6.1 manifest
1408
+ obrigatorio: true
1409
+ - campo: quality_analysis_report_json
1410
+ tipo: JSON
1411
+ origem: T3.5
1412
+ obrigatorio: true
1413
+ - campo: feedback_incorporation_result
1414
+ tipo: JSON
1415
+ origem: T6.3
1416
+ obrigatorio: true
1417
+ saida:
1418
+ - campo: approval_decision
1419
+ tipo: JSON
1420
+ destino: T6.5 (Deployment Worker)
1421
+ persistido: true
1422
+ schema: '{ decision: ''approve'' | ''reject'', notes: string, approved_by: string,
1423
+ approved_at: ISO8601, sla_auto_approved: bool }'
1424
+ pre_conditions:
1425
+ - All validations passed (T6.1, T6.3)
1426
+ - Sign-off request sent via ClickUp to SOP Owner
1427
+ - SOP Owner notified with artifact review links
1428
+ post_conditions:
1429
+ conditions:
1430
+ - Approval status logged in Supabase with timestamp
1431
+ - Decision and notes documented
1432
+ - 'If rejected: routed back to wf_rework_feedback with rejection notes (max 1
1433
+ rejection loop)'
1434
+ acceptance_criteria:
1435
+ - Decision is 'approve' or 'reject' (binary, no pending)
1436
+ - 'If 3 business days elapsed without response: auto-approve with SLA_AUTO_APPROVED
1437
+ flag'
1438
+ - Auto-approval requires manager countersign in audit trail
1439
+ performance:
1440
+ duration: 1-3 business days
1441
+ cost: Human time — variable
1442
+ cacheable: false
1443
+ sla_days: 3
1444
+ sla_business_days: 2
1445
+ error_handling:
1446
+ strategy: retry
1447
+ max_retries: 1
1448
+ fallback: 'Day 1: auto-reminder. Day 2: escalate to manager. Day 3: auto-approve
1449
+ with manager countersign + SLA_AUTO_APPROVED flag in audit trail.'
1450
+ alert: slack-deployment
1451
+ alert_on_failure: true
1452
+ - task: publicarArtifatos
1453
+ task_id: T6.5
1454
+ task_name: Publish to repositories (Git/Supabase/Notion/S3)
1455
+ atomic_layer: Atom
1456
+ responsavel_type: Worker
1457
+ executor_role: Deployment Worker (Git SDK + Supabase SDK + Notion API + AWS S3 SDK)
1458
+ workflow: wf_publishing_qa
1459
+ domain: Operational
1460
+ automation_decision: AUTOMATE
1461
+ entrada:
1462
+ - campo: all_approved_artifacts
1463
+ tipo: Manifest JSON + artifact files
1464
+ origem: T6.4 (approval_decision.decision == 'approve') OR T6.3 (auto-approve path
1465
+ for Tier A)
1466
+ obrigatorio: true
1467
+ - campo: deployment_manifest
1468
+ tipo: JSON
1469
+ origem: N8N workflow (assembled from all artifact paths)
1470
+ obrigatorio: true
1471
+ saida:
1472
+ - campo: publish_status_json
1473
+ tipo: JSON
1474
+ destino: T6.6 (Audit Trail Writer)
1475
+ persistido: true
1476
+ schema: '{ git_commit_hash: string, supabase_record_id: string, notion_page_urls:
1477
+ string[], s3_object_keys: string[], all_succeeded: bool, published_at: ISO8601
1478
+ }'
1479
+ pre_conditions:
1480
+ - Approval status = 'approve' (from T6.4 or T6.3 auto-approve)
1481
+ - Git, Supabase, Notion, S3 credentials configured
1482
+ - Network accessible to all 4 target systems
1483
+ post_conditions:
1484
+ conditions:
1485
+ - Git commit pushed to repository
1486
+ - Supabase sop_catalog record status = 'published'
1487
+ - All Notion pages have published status
1488
+ - S3 objects accessible (public or pre-signed URL)
1489
+ - all_succeeded = true
1490
+ acceptance_criteria:
1491
+ - git_commit_hash is a valid 40-char SHA
1492
+ - supabase_record_id exists in sop_catalog table
1493
+ - notion_page_urls all return HTTP 200
1494
+ - S3 objects accessible within 10s of upload
1495
+ - Completes within 10 minutes
1496
+ performance:
1497
+ duration: < 10min
1498
+ cost: < $0.05 per SOP (S3 + API calls)
1499
+ cacheable: false
1500
+ sla_minutes: 10
1501
+ error_handling:
1502
+ strategy: retry
1503
+ max_retries: 3
1504
+ fallback: Escalate to Deployment Lead with detailed publish log via slack-deployment
1505
+ alert: slack-deployment
1506
+ alert_on_failure: true
1507
+ - task: gerarAuditTrail
1508
+ task_id: T6.6
1509
+ task_name: Generate and archive audit trail
1510
+ atomic_layer: Atom
1511
+ responsavel_type: Worker
1512
+ executor_role: Audit Trail Writer (Supabase RLS logger + S3 server-side encrypted
1513
+ archiver)
1514
+ workflow: wf_publishing_qa
1515
+ domain: Operational
1516
+ automation_decision: AUTOMATE
1517
+ entrada:
1518
+ - campo: publish_status_json
1519
+ tipo: JSON
1520
+ origem: T6.5
1521
+ obrigatorio: true
1522
+ - campo: all_process_events_logs
1523
+ tipo: JSON (event stream)
1524
+ origem: Supabase sop_events_log — collected across all phases
1525
+ obrigatorio: true
1526
+ - campo: sop_metadata
1527
+ tipo: JSON
1528
+ origem: T1.3 (sop_id, version, owner)
1529
+ obrigatorio: true
1530
+ - campo: approval_decision
1531
+ tipo: JSON
1532
+ origem: T6.4 (or auto-approve metadata from T6.3)
1533
+ obrigatorio: true
1534
+ saida:
1535
+ - campo: audit_trail_record
1536
+ tipo: DB record (immutable)
1537
+ destino: 'Supabase sop_audit_log table (RLS: INSERT only, no UPDATE/DELETE)'
1538
+ persistido: true
1539
+ - campo: audit_archive_s3
1540
+ tipo: JSON (server-side encrypted)
1541
+ destino: S3 sop-audit-archive bucket
1542
+ persistido: true
1543
+ - campo: process_completion_event
1544
+ tipo: JSON event
1545
+ destino: Supabase realtime (triggers dashboard update)
1546
+ persistido: false
1547
+ pre_conditions:
1548
+ - Deployment successful (T6.5.all_succeeded == true)
1549
+ - All process logs collected from Supabase sop_events_log
1550
+ - 'Supabase sop_audit_log table has RLS: INSERT-only policy'
1551
+ post_conditions:
1552
+ conditions:
1553
+ - Audit record created with ISO8601 timestamp
1554
+ - Record is immutable (RLS blocks UPDATE and DELETE)
1555
+ - S3 object has server-side encryption enabled
1556
+ - process_completion_event emitted
1557
+ acceptance_criteria:
1558
+ - 'Audit record contains: sop_id, all phase timestamps, all executor IDs, approval
1559
+ decision, publish URLs'
1560
+ - S3 object has x-amz-server-side-encryption header
1561
+ - 'Supabase RLS test: UPDATE on audit record returns 403'
1562
+ - Completes within 2 minutes
1563
+ performance:
1564
+ duration: < 2min
1565
+ cost: < $0.01 per SOP
1566
+ cacheable: false
1567
+ sla_minutes: 2
1568
+ error_handling:
1569
+ strategy: retry
1570
+ max_retries: 3
1571
+ fallback: 'CRITICAL: alert Deployment Lead + manual audit entry required. Deployment
1572
+ NOT rolled back, but audit gap must be resolved within 24h.'
1573
+ alert: slack-deployment
1574
+ alert_on_failure: true
1575
+ validation_summary:
1576
+ total_tasks_defined: 27
1577
+ tasks_excluded:
1578
+ - task_id: T6.2
1579
+ reason: ELIMINATE — Formally removed in Phase 4 (workflow_definition.json). Replaced
1580
+ by T3 scoring pipeline + T5 Agent-generated docs + T6.1 coherence check.
1581
+ field_completeness_check:
1582
+ tasks_with_all_8_fields: 27
1583
+ tasks_missing_any_field: 0
1584
+ check_status: PASS
1585
+ executor_uniqueness_check:
1586
+ tasks_with_exactly_1_executor: 27
1587
+ tasks_with_multiple_executors: 0
1588
+ check_status: PASS
1589
+ executor_distribution:
1590
+ Human: 3
1591
+ Agent: 7
1592
+ Worker: 15
1593
+ Clone: 2
1594
+ mandamento_1_compliance: PASS — 27 tasks, each with exactly 1 responsavel_type.
1595
+ Zero ambiguity.
1596
+ mandamento_2_compliance: PASS — All tasks have post_conditions.acceptance_criteria
1597
+ defined.
1598
+ mandamento_3_compliance: 'PASS — All Worker tasks have alert_on_failure: true and
1599
+ logging targets.'
1600
+ mandamento_4_compliance: PASS — All Agent tasks produce schema-validated JSON output.
1601
+ mandamento_8_compliance: 'PASS — No Worker has strategy: ''silent''. All Workers
1602
+ alert on failure.'