aiox-core 5.0.4 → 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 (2005) hide show
  1. package/.aiox-core/core/config/config-cache.js +10 -1
  2. package/.aiox-core/core/config/config-loader.js +2 -2
  3. package/.aiox-core/core/execution/build-state-manager.js +1 -1
  4. package/.aiox-core/core/synapse/runtime/hook-runtime.js +11 -2
  5. package/.aiox-core/core/utils/yaml-validator.js +1 -1
  6. package/.aiox-core/data/entity-registry.yaml +761 -796
  7. package/.aiox-core/development/scripts/workflow-validator.js +92 -18
  8. package/.aiox-core/development/tasks/create-workflow.md +44 -42
  9. package/.aiox-core/development/tasks/project-status.md +280 -0
  10. package/.aiox-core/development/tasks/validate-workflow.md +2 -2
  11. package/.aiox-core/development/templates/squad/workflow-template.yaml +106 -91
  12. package/.aiox-core/development/templates/squad-template/workflows/example-workflow.yaml +72 -51
  13. package/.aiox-core/development/workflows/README.md +12 -5
  14. package/.aiox-core/development/workflows/development-cycle.yaml +90 -0
  15. package/.aiox-core/infrastructure/scripts/config-cache.js +10 -1
  16. package/.aiox-core/install-manifest.yaml +35 -39
  17. package/.aiox-core/lib/build.json +1 -0
  18. package/.claude/hooks/precompact-session-digest.cjs +47 -12
  19. package/.claude/hooks/synapse-engine.cjs +13 -13
  20. package/README.en.md +23 -37
  21. package/README.md +26 -38
  22. package/bin/utils/validate-publish.js +5 -4
  23. package/package.json +1 -1
  24. package/packages/installer/src/wizard/i18n.js +18 -15
  25. package/packages/installer/src/wizard/pro-setup.js +304 -69
  26. package/pro/README.md +1 -1
  27. package/pro/feature-registry.yaml +2 -2
  28. package/pro/license/degradation.js +7 -7
  29. package/pro/license/errors.js +7 -7
  30. package/pro/license/index.js +2 -2
  31. package/pro/license/license-api.js +0 -22
  32. package/pro/package.json +17 -4
  33. package/pro/pro-config.yaml +2 -2
  34. package/pro/squads/README.md +23 -5
  35. package/pro/squads/aiox-sop/ARCHITECTURE.md +86 -0
  36. package/pro/squads/aiox-sop/CHANGELOG.md +27 -0
  37. package/pro/squads/aiox-sop/HEADLINE.md +3 -0
  38. package/pro/squads/aiox-sop/README.md +77 -0
  39. package/pro/squads/aiox-sop/agents/sop-analyst.md +363 -0
  40. package/pro/squads/aiox-sop/agents/sop-auditor.md +294 -0
  41. package/pro/squads/aiox-sop/agents/sop-chief.md +279 -0
  42. package/pro/squads/aiox-sop/agents/sop-creator.md +322 -0
  43. package/pro/squads/aiox-sop/agents/sop-extractor.md +246 -0
  44. package/pro/squads/aiox-sop/agents/sop-ml-architect.md +310 -0
  45. package/pro/squads/aiox-sop/checklists/14-point-crosby-checklist.md +84 -0
  46. package/pro/squads/aiox-sop/checklists/extraction-completeness-checklist.md +78 -0
  47. package/pro/squads/aiox-sop/checklists/sop-completeness-checklist.md +283 -0
  48. package/pro/squads/aiox-sop/checklists/sop-ml-validation-checklist.md +157 -0
  49. package/pro/squads/aiox-sop/checklists/sop-quality-checklist.md +138 -0
  50. package/pro/squads/aiox-sop/checklists/stranger-test-checklist.md +108 -0
  51. package/pro/squads/aiox-sop/config.yaml +460 -0
  52. package/pro/squads/aiox-sop/data/category-map.yaml +647 -0
  53. package/pro/squads/aiox-sop/data/confidence-levels.yaml +133 -0
  54. package/pro/squads/aiox-sop/data/infrastructure-connections.yaml +730 -0
  55. package/pro/squads/aiox-sop/data/market-categories.yaml +65 -0
  56. package/pro/squads/aiox-sop/data/risk-register.yaml +90 -0
  57. package/pro/squads/aiox-sop/data/sop-ml-schema-examples.yaml +420 -0
  58. package/pro/squads/aiox-sop/data/sop-ml-schema.yaml +780 -0
  59. package/pro/squads/aiox-sop/data/sop-registry.yaml +42 -0
  60. package/pro/squads/aiox-sop/data/sop-scoring-rubric.yaml +601 -0
  61. package/pro/squads/aiox-sop/data/sop-standards-reference.yaml +475 -0
  62. package/pro/squads/aiox-sop/data/task-definitions.yaml +1602 -0
  63. package/pro/squads/aiox-sop/data/token-assignments.yaml +304 -0
  64. package/pro/squads/aiox-sop/data/verdict-thresholds.yaml +117 -0
  65. package/pro/squads/aiox-sop/data/workflow-quality-rubric.yaml +579 -0
  66. package/pro/squads/aiox-sop/docs/README.md +10 -0
  67. package/pro/squads/aiox-sop/docs/optimization-doc-drift-2026-03-18.json +20 -0
  68. package/pro/squads/aiox-sop/docs/optimization-economy-2026-03-18.md +40 -0
  69. package/pro/squads/aiox-sop/docs/optimization-environment-2026-03-18.json +24 -0
  70. package/pro/squads/aiox-sop/docs/optimization-material-inventory-2026-03-18.yaml +73 -0
  71. package/pro/squads/aiox-sop/docs/optimization-repo-baseline-2026-03-18.json +38 -0
  72. package/pro/squads/aiox-sop/docs/optimization-runtime-smoke-2026-03-18.json +57 -0
  73. package/pro/squads/aiox-sop/docs/optimization-split-verdict-2026-03-18.json +21 -0
  74. package/pro/squads/aiox-sop/docs/optimization-validation-2026-03-18.json +53 -0
  75. package/pro/squads/aiox-sop/docs/optimization-validation-fallback-2026-03-18.json +6 -0
  76. package/pro/squads/aiox-sop/docs/optimization-workflow-contracts-2026-03-18.json +81 -0
  77. package/pro/squads/aiox-sop/docs/optimization-yolo-plan-2026-03-18.md +177 -0
  78. package/pro/squads/aiox-sop/docs/optimization-yolo-report-2026-03-18.md +181 -0
  79. package/pro/squads/aiox-sop/docs/scaling-strategy.md +129 -0
  80. package/pro/squads/aiox-sop/examples/README.md +14 -0
  81. package/pro/squads/aiox-sop/examples/sample-human-sop.md +11 -0
  82. package/pro/squads/aiox-sop/examples/sample-ml-sop.yaml +14 -0
  83. package/pro/squads/aiox-sop/outputs/README.md +20 -0
  84. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-001.md +864 -0
  85. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-001.yaml +1225 -0
  86. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-002.md +904 -0
  87. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-002.yaml +431 -0
  88. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-003.md +964 -0
  89. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-003.yaml +392 -0
  90. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-004.md +975 -0
  91. package/pro/squads/aiox-sop/outputs/SOP-SLIDES-004.yaml +786 -0
  92. package/pro/squads/aiox-sop/protocols/sop-workflow-integration.md +209 -0
  93. package/pro/squads/aiox-sop/scripts/convert-sop-format-worker.py +299 -0
  94. package/pro/squads/aiox-sop/scripts/load-workspace-context.cjs +296 -0
  95. package/pro/squads/aiox-sop/scripts/normalize-thiagoroas-vsl-extractions.cjs +1448 -0
  96. package/pro/squads/aiox-sop/scripts/refresh-sop-registry.cjs +331 -0
  97. package/pro/squads/aiox-sop/scripts/resolve-environment-contract.cjs +107 -0
  98. package/pro/squads/aiox-sop/scripts/test-load-workspace-context.cjs +100 -0
  99. package/pro/squads/aiox-sop/scripts/test-resolve-environment-contract.cjs +159 -0
  100. package/pro/squads/aiox-sop/tasks/analyze-sop.md +464 -0
  101. package/pro/squads/aiox-sop/tasks/analyze-squad.md +317 -0
  102. package/pro/squads/aiox-sop/tasks/analyze-workflow.md +343 -0
  103. package/pro/squads/aiox-sop/tasks/audit-batch.md +354 -0
  104. package/pro/squads/aiox-sop/tasks/audit-sop.md +528 -0
  105. package/pro/squads/aiox-sop/tasks/benchmark-sop.md +408 -0
  106. package/pro/squads/aiox-sop/tasks/certify-sop.md +193 -0
  107. package/pro/squads/aiox-sop/tasks/check-environment.md +47 -0
  108. package/pro/squads/aiox-sop/tasks/compliance-check.md +84 -0
  109. package/pro/squads/aiox-sop/tasks/convert-sop-format.md +413 -0
  110. package/pro/squads/aiox-sop/tasks/create-checklist.md +267 -0
  111. package/pro/squads/aiox-sop/tasks/create-sop-human.md +306 -0
  112. package/pro/squads/aiox-sop/tasks/create-sop-ml.md +313 -0
  113. package/pro/squads/aiox-sop/tasks/create-sop-operations-suite.md +177 -0
  114. package/pro/squads/aiox-sop/tasks/delete-aiox-sop.md +38 -0
  115. package/pro/squads/aiox-sop/tasks/extract-from-video.md +354 -0
  116. package/pro/squads/aiox-sop/tasks/extract-sop.md +389 -0
  117. package/pro/squads/aiox-sop/tasks/load-workspace-context.md +112 -0
  118. package/pro/squads/aiox-sop/tasks/map-core-sop-backlog.md +651 -0
  119. package/pro/squads/aiox-sop/tasks/re-audit.md +97 -0
  120. package/pro/squads/aiox-sop/tasks/structured-interview.md +243 -0
  121. package/pro/squads/aiox-sop/tasks/update-aiox-sop.md +39 -0
  122. package/pro/squads/aiox-sop/templates/audit-report-template.md +119 -0
  123. package/pro/squads/aiox-sop/templates/certification-template.md +31 -0
  124. package/pro/squads/aiox-sop/templates/checklist-from-sop-tmpl.md +142 -0
  125. package/pro/squads/aiox-sop/templates/decision-tree-template.yaml +209 -0
  126. package/pro/squads/aiox-sop/templates/extraction-output-template.md +150 -0
  127. package/pro/squads/aiox-sop/templates/handoff-tmpl.yaml +85 -0
  128. package/pro/squads/aiox-sop/templates/ml-sop-json-template.json +208 -0
  129. package/pro/squads/aiox-sop/templates/ml-sop-yaml-template.yaml +204 -0
  130. package/pro/squads/aiox-sop/templates/nonconformity-register-template.md +85 -0
  131. package/pro/squads/aiox-sop/templates/sop-analysis-report-tmpl.md +378 -0
  132. package/pro/squads/aiox-sop/templates/sop-human-tmpl.md +385 -0
  133. package/pro/squads/aiox-sop/templates/sop-ml-tmpl.md +352 -0
  134. package/pro/squads/aiox-sop/templates/sop-scorecard-tmpl.md +123 -0
  135. package/pro/squads/aiox-sop/templates/state-machine-template.yaml +232 -0
  136. package/pro/squads/aiox-sop/templates/tool-binding-template.yaml +255 -0
  137. package/pro/squads/aiox-sop/templates/workflow-gap-report-tmpl.yaml +227 -0
  138. package/pro/squads/aiox-sop/workflows/wf-sop-audit-pipeline.yaml +381 -0
  139. package/pro/squads/aiox-sop/workflows/wf-sop-audit-pipeline.yaml.bak +332 -0
  140. package/pro/squads/aiox-sop/workflows/wf-sop-creation-pipeline.yaml +200 -0
  141. package/pro/squads/aiox-sop/workflows/wf-sop-creation-pipeline.yaml.bak +147 -0
  142. package/pro/squads/aiox-sop/workflows/wf-sop-extraction-pipeline.yaml +476 -0
  143. package/pro/squads/aiox-sop/workflows/wf-sop-extraction-pipeline.yaml.bak +441 -0
  144. package/pro/squads/aiox-sop/workflows/wf-sop-pipeline-definition.yaml +813 -0
  145. package/pro/squads/aiox-sop/workflows/wf-sop-quality-gates.yaml +473 -0
  146. package/pro/squads/brand/ARCHITECTURE.md +79 -0
  147. package/pro/squads/brand/CHANGELOG.md +38 -0
  148. package/pro/squads/brand/README.md +213 -0
  149. package/pro/squads/brand/agents/aaker-brand-identity.md +475 -0
  150. package/pro/squads/brand/agents/archetype-consultant.md +424 -0
  151. package/pro/squads/brand/agents/brand-chief.md +502 -0
  152. package/pro/squads/brand/agents/brand-strategist.md +661 -0
  153. package/pro/squads/brand/agents/domain-scout.md +412 -0
  154. package/pro/squads/brand/agents/heyward-dtc-brand.md +399 -0
  155. package/pro/squads/brand/agents/keller-brand-equity.md +390 -0
  156. package/pro/squads/brand/agents/miller-sticky-brand.md +510 -0
  157. package/pro/squads/brand/agents/naming-strategist.md +638 -0
  158. package/pro/squads/brand/agents/nano-banana-generator.md +38 -0
  159. package/pro/squads/brand/agents/neumeier-differentiation.md +390 -0
  160. package/pro/squads/brand/agents/ries-positioning.md +413 -0
  161. package/pro/squads/brand/agents/sharp-brand-science.md +444 -0
  162. package/pro/squads/brand/agents/storybrand-narrator.md +442 -0
  163. package/pro/squads/brand/agents/wheeler-brand-design.md +700 -0
  164. package/pro/squads/brand/agents/yohn-brand-culture.md +391 -0
  165. package/pro/squads/brand/checklists/brand-naming-checklist.md +46 -0
  166. package/pro/squads/brand/checklists/brand-quality-gate.md +58 -0
  167. package/pro/squads/brand/config/veto-conditions.yaml +54 -0
  168. package/pro/squads/brand/config.yaml +634 -0
  169. package/pro/squads/brand/data/brand-mappings.yaml +140 -0
  170. package/pro/squads/brand/data/logo-scds-templates.yaml +224 -0
  171. package/pro/squads/brand/data/logo-style-library.yaml +226 -0
  172. package/pro/squads/brand/data/swipe-file.yaml +282 -0
  173. package/pro/squads/brand/docs/optimization-economy-2026-03-10.md +25 -0
  174. package/pro/squads/brand/docs/optimization-material-inventory-2026-03-10.yaml +40 -0
  175. package/pro/squads/brand/docs/optimization-validation-2026-03-10.json +26 -0
  176. package/pro/squads/brand/docs/optimization-yolo-plan-2026-03-10.md +80 -0
  177. package/pro/squads/brand/docs/optimization-yolo-report-2026-03-10.md +158 -0
  178. package/pro/squads/brand/scripts/bootstrap-brand-workspace.sh +47 -0
  179. package/pro/squads/brand/scripts/validate-brand-essentials.sh +289 -0
  180. package/pro/squads/brand/tasks/brand-activation.md +86 -0
  181. package/pro/squads/brand/tasks/brand-book.md +224 -0
  182. package/pro/squads/brand/tasks/brand-consulting.md +189 -0
  183. package/pro/squads/brand/tasks/brand-diagnosis.md +81 -0
  184. package/pro/squads/brand/tasks/brand-identity.md +255 -0
  185. package/pro/squads/brand/tasks/brand-messaging.md +226 -0
  186. package/pro/squads/brand/tasks/brand-quality-gate.md +213 -0
  187. package/pro/squads/brand/tasks/create-brand-epic.md +129 -0
  188. package/pro/squads/brand/tasks/create-brand-story.md +155 -0
  189. package/pro/squads/brand/tasks/delete-brand.md +56 -0
  190. package/pro/squads/brand/tasks/domain-check.md +120 -0
  191. package/pro/squads/brand/tasks/load-workspace-context.md +112 -0
  192. package/pro/squads/brand/tasks/logo-curate.md +180 -0
  193. package/pro/squads/brand/tasks/logo-deliverable.md +210 -0
  194. package/pro/squads/brand/tasks/logo-generate.md +143 -0
  195. package/pro/squads/brand/tasks/logo-intake.md +151 -0
  196. package/pro/squads/brand/tasks/logo-prompt-engineering.md +151 -0
  197. package/pro/squads/brand/tasks/logo-refine.md +156 -0
  198. package/pro/squads/brand/tasks/logo-strategic-direction.md +160 -0
  199. package/pro/squads/brand/tasks/naming-generation.md +118 -0
  200. package/pro/squads/brand/tasks/positioning-narrative.md +93 -0
  201. package/pro/squads/brand/tasks/update-brand.md +52 -0
  202. package/pro/squads/brand/templates/brand-epic-tmpl.md +124 -0
  203. package/pro/squads/brand/templates/brand-story-tmpl.md +133 -0
  204. package/pro/squads/brand/templates/brandbook-tmpl.yaml +38 -0
  205. package/pro/squads/brand/templates/naming-report-tmpl.md +36 -0
  206. package/pro/squads/brand/workflows/wf-brand-activation-system.yaml +148 -0
  207. package/pro/squads/brand/workflows/wf-brand-all-hands.yaml +368 -0
  208. package/pro/squads/brand/workflows/wf-brand-complete.yaml +223 -0
  209. package/pro/squads/brand/workflows/wf-brand-consulting.yaml +301 -0
  210. package/pro/squads/brand/workflows/wf-brand-foundations.yaml +129 -0
  211. package/pro/squads/brand/workflows/wf-brand-mockup-generation.yaml +247 -0
  212. package/pro/squads/brand/workflows/wf-brand-positioning-narrative.yaml +146 -0
  213. package/pro/squads/brand/workflows/wf-logo-brainstorm.yaml +297 -0
  214. package/pro/squads/brand/workflows/wf-naming-to-domain.yaml +152 -0
  215. package/pro/squads/claude-code-mastery/ARCHITECTURE.md +224 -0
  216. package/pro/squads/claude-code-mastery/CHANGELOG.md +41 -0
  217. package/pro/squads/claude-code-mastery/README.md +146 -0
  218. package/pro/squads/claude-code-mastery/agents/claude-mastery-chief.md +542 -0
  219. package/pro/squads/claude-code-mastery/agents/config-engineer.md +1051 -0
  220. package/pro/squads/claude-code-mastery/agents/hooks-architect.md +1088 -0
  221. package/pro/squads/claude-code-mastery/agents/mcp-integrator.md +790 -0
  222. package/pro/squads/claude-code-mastery/agents/project-integrator.md +1184 -0
  223. package/pro/squads/claude-code-mastery/agents/roadmap-sentinel.md +922 -0
  224. package/pro/squads/claude-code-mastery/agents/skill-craftsman.md +1302 -0
  225. package/pro/squads/claude-code-mastery/agents/swarm-orchestrator.md +1072 -0
  226. package/pro/squads/claude-code-mastery/checklists/agent-team-readiness-checklist.md +88 -0
  227. package/pro/squads/claude-code-mastery/checklists/brownfield-readiness-checklist.md +91 -0
  228. package/pro/squads/claude-code-mastery/checklists/change-checklist.md +75 -0
  229. package/pro/squads/claude-code-mastery/checklists/context-rot-checklist.md +116 -0
  230. package/pro/squads/claude-code-mastery/checklists/integration-audit-checklist.md +104 -0
  231. package/pro/squads/claude-code-mastery/checklists/multi-agent-review-checklist.md +77 -0
  232. package/pro/squads/claude-code-mastery/checklists/pre-push-checklist.md +79 -0
  233. package/pro/squads/claude-code-mastery/config.yaml +351 -0
  234. package/pro/squads/claude-code-mastery/data/cc-architecture-map.yaml +217 -0
  235. package/pro/squads/claude-code-mastery/data/cc-permission-rules.yaml +281 -0
  236. package/pro/squads/claude-code-mastery/data/ci-cd-patterns.yaml +412 -0
  237. package/pro/squads/claude-code-mastery/data/claude-code-quick-ref.yaml +436 -0
  238. package/pro/squads/claude-code-mastery/data/frontmatter-schemas.yaml +395 -0
  239. package/pro/squads/claude-code-mastery/data/hook-patterns.yaml +799 -0
  240. package/pro/squads/claude-code-mastery/data/infrastructure-map.yaml +53 -0
  241. package/pro/squads/claude-code-mastery/data/journey-log-events.yaml +115 -0
  242. package/pro/squads/claude-code-mastery/data/mcp-integration-catalog.yaml +323 -0
  243. package/pro/squads/claude-code-mastery/data/project-type-signatures.yaml +335 -0
  244. package/pro/squads/claude-code-mastery/data/quality-gates.yaml +43 -0
  245. package/pro/squads/claude-code-mastery/data/swarm-agent-schema.yaml +35 -0
  246. package/pro/squads/claude-code-mastery/data/token-registry.yaml +213 -0
  247. package/pro/squads/claude-code-mastery/scripts/README-Permission-Sync.md +38 -0
  248. package/pro/squads/claude-code-mastery/scripts/generate-tool-allowlists.js +232 -0
  249. package/pro/squads/claude-code-mastery/scripts/inject-accountability-tokens.js +91 -0
  250. package/pro/squads/claude-code-mastery/scripts/inject-output-schemas.js +131 -0
  251. package/pro/squads/claude-code-mastery/scripts/inject-swarm-fields.js +92 -0
  252. package/pro/squads/claude-code-mastery/scripts/prepare-claude-runtime.sh +26 -0
  253. package/pro/squads/claude-code-mastery/scripts/publish-mastery-report.sh +17 -0
  254. package/pro/squads/claude-code-mastery/scripts/session-usage-report.py +982 -0
  255. package/pro/squads/claude-code-mastery/scripts/session_usage_report_cache.py +163 -0
  256. package/pro/squads/claude-code-mastery/scripts/session_usage_report_claude_adapter.py +375 -0
  257. package/pro/squads/claude-code-mastery/scripts/session_usage_report_facets.py +1128 -0
  258. package/pro/squads/claude-code-mastery/scripts/session_usage_report_html.py +989 -0
  259. package/pro/squads/claude-code-mastery/scripts/session_usage_report_inventory.py +66 -0
  260. package/pro/squads/claude-code-mastery/scripts/session_usage_report_markdown.py +506 -0
  261. package/pro/squads/claude-code-mastery/scripts/session_usage_report_mock_insights_adapter.py +277 -0
  262. package/pro/squads/claude-code-mastery/scripts/session_usage_report_pipeline.py +519 -0
  263. package/pro/squads/claude-code-mastery/scripts/session_usage_report_recommendations.py +317 -0
  264. package/pro/squads/claude-code-mastery/scripts/session_usage_report_usage.py +235 -0
  265. package/pro/squads/claude-code-mastery/scripts/test_session_usage_report.py +1910 -0
  266. package/pro/squads/claude-code-mastery/scripts/validate-setup.js +597 -0
  267. package/pro/squads/claude-code-mastery/squad-io.yaml +151 -0
  268. package/pro/squads/claude-code-mastery/tasks/align-memory-context.md +212 -0
  269. package/pro/squads/claude-code-mastery/tasks/audit-integration.md +252 -0
  270. package/pro/squads/claude-code-mastery/tasks/audit-settings.md +239 -0
  271. package/pro/squads/claude-code-mastery/tasks/audit-setup.md +258 -0
  272. package/pro/squads/claude-code-mastery/tasks/brownfield-setup.md +355 -0
  273. package/pro/squads/claude-code-mastery/tasks/ci-cd-setup.md +368 -0
  274. package/pro/squads/claude-code-mastery/tasks/claude-md-engineer.md +367 -0
  275. package/pro/squads/claude-code-mastery/tasks/configure-claude-code.md +248 -0
  276. package/pro/squads/claude-code-mastery/tasks/context-rot-audit.md +363 -0
  277. package/pro/squads/claude-code-mastery/tasks/create-agent-definition.md +311 -0
  278. package/pro/squads/claude-code-mastery/tasks/create-rules.md +239 -0
  279. package/pro/squads/claude-code-mastery/tasks/create-team-topology.md +291 -0
  280. package/pro/squads/claude-code-mastery/tasks/delete-claude-code-mastery.md +224 -0
  281. package/pro/squads/claude-code-mastery/tasks/diagnose.md +199 -0
  282. package/pro/squads/claude-code-mastery/tasks/enterprise-config.md +379 -0
  283. package/pro/squads/claude-code-mastery/tasks/hook-designer.md +315 -0
  284. package/pro/squads/claude-code-mastery/tasks/integrate-project.md +337 -0
  285. package/pro/squads/claude-code-mastery/tasks/mcp-integration-plan.md +284 -0
  286. package/pro/squads/claude-code-mastery/tasks/mcp-workflow.md +330 -0
  287. package/pro/squads/claude-code-mastery/tasks/multi-project-setup.md +261 -0
  288. package/pro/squads/claude-code-mastery/tasks/optimize-context.md +250 -0
  289. package/pro/squads/claude-code-mastery/tasks/optimize-workflow.md +270 -0
  290. package/pro/squads/claude-code-mastery/tasks/parallel-decomposition.md +326 -0
  291. package/pro/squads/claude-code-mastery/tasks/permission-strategy.md +315 -0
  292. package/pro/squads/claude-code-mastery/tasks/rebuild-runtime-validator.md +234 -0
  293. package/pro/squads/claude-code-mastery/tasks/refresh-runtime-contract.md +235 -0
  294. package/pro/squads/claude-code-mastery/tasks/sandbox-setup.md +312 -0
  295. package/pro/squads/claude-code-mastery/tasks/setup-repository.md +263 -0
  296. package/pro/squads/claude-code-mastery/tasks/setup-wizard.md +269 -0
  297. package/pro/squads/claude-code-mastery/tasks/update-claude-code-mastery.md +227 -0
  298. package/pro/squads/claude-code-mastery/tasks/worktree-strategy.md +353 -0
  299. package/pro/squads/claude-code-mastery/templates/baseline-kpis-tmpl.yaml +0 -0
  300. package/pro/squads/claude-code-mastery/templates/claude-md-fullstack.md +147 -0
  301. package/pro/squads/claude-code-mastery/templates/claude-md-library.md +175 -0
  302. package/pro/squads/claude-code-mastery/templates/claude-md-microservices.md +186 -0
  303. package/pro/squads/claude-code-mastery/templates/claude-md-mobile.md +198 -0
  304. package/pro/squads/claude-code-mastery/templates/claude-md-monorepo.md +139 -0
  305. package/pro/squads/claude-code-mastery/templates/concept-mapping-tmpl.yaml +0 -0
  306. package/pro/squads/claude-code-mastery/templates/cross-domain-handoff-tmpl.yaml +15 -0
  307. package/pro/squads/claude-code-mastery/templates/github-actions-claude-ci.yml +348 -0
  308. package/pro/squads/claude-code-mastery/templates/github-actions-claude-review.yml +179 -0
  309. package/pro/squads/claude-code-mastery/templates/hook-implementation-tmpl.md +24 -0
  310. package/pro/squads/claude-code-mastery/templates/mcp-config-tmpl.yaml +18 -0
  311. package/pro/squads/claude-code-mastery/templates/session-usage-report-page.css +591 -0
  312. package/pro/squads/claude-code-mastery/templates/session-usage-report-page.html +32 -0
  313. package/pro/squads/claude-code-mastery/templates/session-usage-report-tmpl.yaml +224 -0
  314. package/pro/squads/claude-code-mastery/templates/skill-definition-tmpl.md +67 -0
  315. package/pro/squads/claude-code-mastery/templates/violations-log-tmpl.jsonl +0 -0
  316. package/pro/squads/claude-code-mastery/workflows/wf-audit-complete.yaml +178 -0
  317. package/pro/squads/claude-code-mastery/workflows/wf-knowledge-update.yaml +447 -0
  318. package/pro/squads/claude-code-mastery/workflows/wf-project-setup.yaml +236 -0
  319. package/pro/squads/data/HEADLINE.md +3 -0
  320. package/pro/squads/data/README.md +292 -0
  321. package/pro/squads/data/agents/avinash-kaushik.md +1117 -0
  322. package/pro/squads/data/agents/data-chief.md +1035 -0
  323. package/pro/squads/data/agents/david-spinks.md +1896 -0
  324. package/pro/squads/data/agents/nick-mehta.md +1338 -0
  325. package/pro/squads/data/agents/peter-fader.md +1815 -0
  326. package/pro/squads/data/agents/sean-ellis.md +2460 -0
  327. package/pro/squads/data/agents/wes-kao.md +2124 -0
  328. package/pro/squads/data/checklists/cbc-readiness-checklist.md +155 -0
  329. package/pro/squads/data/checklists/community-health-checklist.md +131 -0
  330. package/pro/squads/data/checklists/customer-360-checklist.md +997 -0
  331. package/pro/squads/data/checklists/customer-centricity-checklist.md +105 -0
  332. package/pro/squads/data/checklists/health-score-checklist.md +984 -0
  333. package/pro/squads/data/checklists/pre-implementation-checklist.md +291 -0
  334. package/pro/squads/data/checklists/so-what-checklist.md +326 -0
  335. package/pro/squads/data/config.yaml +705 -0
  336. package/pro/squads/data/data/.gitkeep +0 -0
  337. package/pro/squads/data/data/README.md +84 -0
  338. package/pro/squads/data/data/framework/01_arquitetura_geral.md +134 -0
  339. package/pro/squads/data/data/framework/02_tier0_fundacao.md +198 -0
  340. package/pro/squads/data/data/framework/03_tier0_fundamentadores.md +297 -0
  341. package/pro/squads/data/data/framework/04_tier1_operacionalizadores.md +447 -0
  342. package/pro/squads/data/data/framework/05_tier2_comunicadores.md +297 -0
  343. package/pro/squads/data/data/framework/06_matriz_decisao.md +328 -0
  344. package/pro/squads/data/data/framework/07_workflows.md +552 -0
  345. package/pro/squads/data/data/framework/08_cheatsheet.md +216 -0
  346. package/pro/squads/data/examples/cohorts-diagnostic-sample-output.yaml +10 -0
  347. package/pro/squads/data/outputs/workspace-hardening-summary.md +12 -0
  348. package/pro/squads/data/projects/data-v1-setup/prd.json +440 -0
  349. package/pro/squads/data/projects/data-v1-setup/prompt.md +184 -0
  350. package/pro/squads/data/scripts/bootstrap-data-workspace.sh +186 -0
  351. package/pro/squads/data/scripts/validate-data-essentials.sh +237 -0
  352. package/pro/squads/data/tasks/analyze-cohort.md +1777 -0
  353. package/pro/squads/data/tasks/build-attribution.md +1695 -0
  354. package/pro/squads/data/tasks/calculate-clv.md +1660 -0
  355. package/pro/squads/data/tasks/create-dashboard.md +2305 -0
  356. package/pro/squads/data/tasks/define-north-star.md +1779 -0
  357. package/pro/squads/data/tasks/design-health-score.md +1952 -0
  358. package/pro/squads/data/tasks/design-learning-outcomes.md +2122 -0
  359. package/pro/squads/data/tasks/load-workspace-context.md +115 -0
  360. package/pro/squads/data/tasks/measure-community.md +1376 -0
  361. package/pro/squads/data/tasks/predict-churn.md +1979 -0
  362. package/pro/squads/data/tasks/run-growth-experiment.md +1863 -0
  363. package/pro/squads/data/tasks/run-pmf-test.md +1514 -0
  364. package/pro/squads/data/tasks/segment-rfm.md +2070 -0
  365. package/pro/squads/data/templates/attribution-report-tmpl.yaml +94 -0
  366. package/pro/squads/data/templates/churn-alert-tmpl.yaml +529 -0
  367. package/pro/squads/data/templates/clv-report-tmpl.yaml +818 -0
  368. package/pro/squads/data/templates/cohort-analysis-tmpl.yaml +72 -0
  369. package/pro/squads/data/templates/cohorts/community-health-cohort-tmpl.yaml +60 -0
  370. package/pro/squads/data/templates/cohorts/executive-summary-tmpl.yaml +54 -0
  371. package/pro/squads/data/templates/cohorts/icp-deep-analysis-tmpl.yaml +49 -0
  372. package/pro/squads/data/templates/cohorts/learning-journey-tmpl.yaml +52 -0
  373. package/pro/squads/data/templates/cohorts/segmentation-rfm-tmpl.yaml +48 -0
  374. package/pro/squads/data/templates/cohorts/student-health-score-tmpl.yaml +50 -0
  375. package/pro/squads/data/templates/community-health-tmpl.yaml +106 -0
  376. package/pro/squads/data/templates/customer-360-tmpl.yaml +80 -0
  377. package/pro/squads/data/templates/dmmm-tmpl.yaml +134 -0
  378. package/pro/squads/data/templates/executive-report-tmpl.yaml +432 -0
  379. package/pro/squads/data/templates/health-score-report-tmpl.yaml +644 -0
  380. package/pro/squads/data/templates/learning-outcomes-tmpl.yaml +112 -0
  381. package/pro/squads/data/workflows/cohort-analysis-workflow.md +356 -0
  382. package/pro/squads/data/workflows/cohorts-diagnostic.md +96 -0
  383. package/pro/squads/data/workflows/create-churn-system.md +354 -0
  384. package/pro/squads/data/workflows/fix-completion-rate.md +436 -0
  385. package/pro/squads/data/workflows/implement-attribution.md +371 -0
  386. package/pro/squads/data/workflows/implement-customer-360.md +297 -0
  387. package/pro/squads/data/workflows/optimize-community-workflow.md +463 -0
  388. package/pro/squads/data/workspace-hardening-state.json +6 -0
  389. package/pro/squads/db-sage/README.md +331 -0
  390. package/pro/squads/db-sage/agents/db-sage.md +317 -0
  391. package/pro/squads/db-sage/checklists/database-design-checklist.md +79 -0
  392. package/pro/squads/db-sage/checklists/database-migration-documentation-checklist.md +348 -0
  393. package/pro/squads/db-sage/checklists/db-kiss-validation-checklist.md +246 -0
  394. package/pro/squads/db-sage/checklists/dba-predeploy-checklist.md +276 -0
  395. package/pro/squads/db-sage/checklists/dba-rollback-checklist.md +65 -0
  396. package/pro/squads/db-sage/checklists/migration-validation-checklist.md +195 -0
  397. package/pro/squads/db-sage/checklists/supabase-best-practices-audit.md +256 -0
  398. package/pro/squads/db-sage/config.yaml +165 -0
  399. package/pro/squads/db-sage/data/database-best-practices.md +42 -0
  400. package/pro/squads/db-sage/data/migration-safety-guide.md +64 -0
  401. package/pro/squads/db-sage/data/postgres-tuning-guide.md +39 -0
  402. package/pro/squads/db-sage/data/rls-security-patterns.md +46 -0
  403. package/pro/squads/db-sage/data/supabase-agent-skills.md +970 -0
  404. package/pro/squads/db-sage/data/supabase-patterns.md +482 -0
  405. package/pro/squads/db-sage/docs/.gitkeep +0 -0
  406. package/pro/squads/db-sage/scripts/database-adapters/detect-database.sh +113 -0
  407. package/pro/squads/db-sage/scripts/database-adapters/postgresql-schema-loader.sh +334 -0
  408. package/pro/squads/db-sage/scripts/database-adapters/unified-db-loader.sh +176 -0
  409. package/pro/squads/db-sage/scripts/database-operations/README.md +638 -0
  410. package/pro/squads/db-sage/scripts/database-operations/backup-manager.sh +341 -0
  411. package/pro/squads/db-sage/scripts/database-operations/connection-monitor.sh +433 -0
  412. package/pro/squads/db-sage/scripts/database-operations/constraint-validator.sh +588 -0
  413. package/pro/squads/db-sage/scripts/database-operations/data-anonymizer.sh +446 -0
  414. package/pro/squads/db-sage/scripts/database-operations/data-loader.sh +346 -0
  415. package/pro/squads/db-sage/scripts/database-operations/explain-analyzer.sh +285 -0
  416. package/pro/squads/db-sage/scripts/database-operations/health-checker.sh +512 -0
  417. package/pro/squads/db-sage/scripts/database-operations/index-manager.sh +380 -0
  418. package/pro/squads/db-sage/scripts/database-operations/migration-generator.sh +490 -0
  419. package/pro/squads/db-sage/scripts/database-operations/migration-safe-runner.sh +228 -0
  420. package/pro/squads/db-sage/scripts/database-operations/permission-auditor.sh +513 -0
  421. package/pro/squads/db-sage/scripts/database-operations/query-killer.sh +306 -0
  422. package/pro/squads/db-sage/scripts/database-operations/replication-monitor.sh +366 -0
  423. package/pro/squads/db-sage/scripts/database-operations/rls-policy-installer.sh +480 -0
  424. package/pro/squads/db-sage/scripts/database-operations/rls-test-suite.sh +172 -0
  425. package/pro/squads/db-sage/scripts/database-operations/schema-differ.sh +265 -0
  426. package/pro/squads/db-sage/scripts/database-operations/security-scanner.sh +683 -0
  427. package/pro/squads/db-sage/scripts/database-operations/setup-pgpass.sh +185 -0
  428. package/pro/squads/db-sage/scripts/database-operations/vacuum-optimizer.sh +448 -0
  429. package/pro/squads/db-sage/scripts/db-ops/backup-manager.sh +321 -0
  430. package/pro/squads/db-sage/scripts/db-ops/best-practices-auditor.sh +534 -0
  431. package/pro/squads/db-sage/scripts/db-ops/bootstrap-runner.sh +255 -0
  432. package/pro/squads/db-sage/scripts/db-ops/data-loader.sh +616 -0
  433. package/pro/squads/db-sage/scripts/db-ops/detect-database.sh +25 -0
  434. package/pro/squads/db-sage/scripts/db-ops/explain-analyzer.sh +90 -0
  435. package/pro/squads/db-sage/scripts/db-ops/health-checker.sh +323 -0
  436. package/pro/squads/db-sage/scripts/db-ops/migration-runner.sh +308 -0
  437. package/pro/squads/db-sage/scripts/db-ops/query-runner.sh +171 -0
  438. package/pro/squads/db-sage/scripts/db-ops/rls-policy-installer.sh +46 -0
  439. package/pro/squads/db-sage/scripts/db-ops/rls-test-suite.sh +38 -0
  440. package/pro/squads/db-sage/scripts/db-ops/schema-context-loader.sh +25 -0
  441. package/pro/squads/db-sage/scripts/db-ops/squad-integration-preflight.sh +155 -0
  442. package/pro/squads/db-sage/tasks/create-doc.md +107 -0
  443. package/pro/squads/db-sage/tasks/db-analyze-hotpaths.md +406 -0
  444. package/pro/squads/db-sage/tasks/db-apply-migration.md +206 -0
  445. package/pro/squads/db-sage/tasks/db-best-practices-audit.md +523 -0
  446. package/pro/squads/db-sage/tasks/db-bootstrap.md +464 -0
  447. package/pro/squads/db-sage/tasks/db-dry-run.md +122 -0
  448. package/pro/squads/db-sage/tasks/db-env-check.md +94 -0
  449. package/pro/squads/db-sage/tasks/db-explain.md +461 -0
  450. package/pro/squads/db-sage/tasks/db-impersonate.md +326 -0
  451. package/pro/squads/db-sage/tasks/db-load-csv.md +433 -0
  452. package/pro/squads/db-sage/tasks/db-policy-apply.md +464 -0
  453. package/pro/squads/db-sage/tasks/db-rls-audit.md +241 -0
  454. package/pro/squads/db-sage/tasks/db-rollback.md +573 -0
  455. package/pro/squads/db-sage/tasks/db-run-sql.md +453 -0
  456. package/pro/squads/db-sage/tasks/db-seed.md +230 -0
  457. package/pro/squads/db-sage/tasks/db-smoke-test.md +181 -0
  458. package/pro/squads/db-sage/tasks/db-snapshot.md +403 -0
  459. package/pro/squads/db-sage/tasks/db-squad-integration.md +487 -0
  460. package/pro/squads/db-sage/tasks/db-verify-order.md +344 -0
  461. package/pro/squads/db-sage/tasks/domain-modeling.md +517 -0
  462. package/pro/squads/db-sage/tasks/execute-checklist.md +99 -0
  463. package/pro/squads/db-sage/tasks/kiss.md +129 -0
  464. package/pro/squads/db-sage/tasks/query-optimization.md +599 -0
  465. package/pro/squads/db-sage/tasks/schema-audit.md +833 -0
  466. package/pro/squads/db-sage/tasks/supabase-setup.md +536 -0
  467. package/pro/squads/db-sage/templates/backup-metadata.json.tmpl +7 -0
  468. package/pro/squads/db-sage/templates/db-analysis-template.yaml +291 -0
  469. package/pro/squads/db-sage/templates/index-strategy-tmpl.yaml +53 -0
  470. package/pro/squads/db-sage/templates/migration-plan-tmpl.yaml +1022 -0
  471. package/pro/squads/db-sage/templates/migration.sql.tmpl +9 -0
  472. package/pro/squads/db-sage/templates/rls-policies-tmpl.yaml +1201 -0
  473. package/pro/squads/db-sage/templates/rollback.sql.tmpl +9 -0
  474. package/pro/squads/db-sage/templates/schema-design-tmpl.yaml +426 -0
  475. package/pro/squads/db-sage/workflows/analyze-data-workflow.yaml +407 -0
  476. package/pro/squads/db-sage/workflows/backup-restore-workflow.yaml +121 -0
  477. package/pro/squads/db-sage/workflows/kiss-gate-workflow.yaml +143 -0
  478. package/pro/squads/db-sage/workflows/modify-schema-workflow.yaml +440 -0
  479. package/pro/squads/db-sage/workflows/performance-tuning-workflow.yaml +104 -0
  480. package/pro/squads/db-sage/workflows/query-database-workflow.yaml +394 -0
  481. package/pro/squads/db-sage/workflows/setup-database-workflow.yaml +428 -0
  482. package/pro/squads/design/agents/nano-banana-generator.md +2 -2
  483. package/pro/squads/design/config.yaml +3 -0
  484. package/pro/squads/design/docs/tool-discovery-report.md +1 -1
  485. package/pro/squads/design/tasks/create-doc.md +1 -1
  486. package/pro/squads/etl-ops/HEADLINE.md +3 -0
  487. package/pro/squads/etl-ops/README.md +121 -0
  488. package/pro/squads/etl-ops/agents/etl-chief.md +440 -0
  489. package/pro/squads/etl-ops/agents/etl-extractor.md +352 -0
  490. package/pro/squads/etl-ops/agents/etl-transformer.md +409 -0
  491. package/pro/squads/etl-ops/checklists/.gitkeep +0 -0
  492. package/pro/squads/etl-ops/checklists/README.md +1 -0
  493. package/pro/squads/etl-ops/config.yaml +405 -0
  494. package/pro/squads/etl-ops/data/checkpoints.yaml +92 -0
  495. package/pro/squads/etl-ops/data/enriched-transcript.schema.json +107 -0
  496. package/pro/squads/etl-ops/data/infrastructure-map.yaml +27 -0
  497. package/pro/squads/etl-ops/data/output-contract.yaml +85 -0
  498. package/pro/squads/etl-ops/data/process.schema.json +293 -0
  499. package/pro/squads/etl-ops/data/quality-gates.yaml +40 -0
  500. package/pro/squads/etl-ops/data/routing-profiles.yaml +239 -0
  501. package/pro/squads/etl-ops/data/service-catalog.yaml +13 -0
  502. package/pro/squads/etl-ops/data/token-registry.yaml +58 -0
  503. package/pro/squads/etl-ops/docs/.gitkeep +0 -0
  504. package/pro/squads/etl-ops/scripts/bootstrap-etl-workspace.sh +42 -0
  505. package/pro/squads/etl-ops/scripts/etl-env-bootstrap.sh +876 -0
  506. package/pro/squads/etl-ops/scripts/validate-etl-essentials.sh +164 -0
  507. package/pro/squads/etl-ops/squad-io.yaml +61 -0
  508. package/pro/squads/etl-ops/tasks/compile.md +191 -0
  509. package/pro/squads/etl-ops/tasks/enrich.md +236 -0
  510. package/pro/squads/etl-ops/tasks/etl-env-bootstrap.md +140 -0
  511. package/pro/squads/etl-ops/tasks/extract-keyframes.md +318 -0
  512. package/pro/squads/etl-ops/tasks/extract-podcast.md +146 -0
  513. package/pro/squads/etl-ops/tasks/load-workspace-context.md +140 -0
  514. package/pro/squads/etl-ops/tasks/process.md +185 -0
  515. package/pro/squads/etl-ops/tasks/summarize-book.md +121 -0
  516. package/pro/squads/etl-ops/templates/cross-domain-handoff-tmpl.yaml +9 -0
  517. package/pro/squads/etl-ops/workflows/etl-pipeline.yaml +25 -0
  518. package/pro/squads/etl-ops/workflows/etl-thresholds.yaml +15 -0
  519. package/pro/squads/hormozi/HEADLINE.md +3 -0
  520. package/pro/squads/hormozi/README.md +313 -0
  521. package/pro/squads/hormozi/agents/hormozi-ads.md +1863 -0
  522. package/pro/squads/hormozi/agents/hormozi-advisor.md +1866 -0
  523. package/pro/squads/hormozi/agents/hormozi-audit.md +2301 -0
  524. package/pro/squads/hormozi/agents/hormozi-chief.md +1671 -0
  525. package/pro/squads/hormozi/agents/hormozi-closer.md +2631 -0
  526. package/pro/squads/hormozi/agents/hormozi-content.md +2148 -0
  527. package/pro/squads/hormozi/agents/hormozi-copy.md +2000 -0
  528. package/pro/squads/hormozi/agents/hormozi-hooks.md +1790 -0
  529. package/pro/squads/hormozi/agents/hormozi-launch.md +1734 -0
  530. package/pro/squads/hormozi/agents/hormozi-leads.md +1022 -0
  531. package/pro/squads/hormozi/agents/hormozi-models.md +1429 -0
  532. package/pro/squads/hormozi/agents/hormozi-offers.md +2228 -0
  533. package/pro/squads/hormozi/agents/hormozi-pricing.md +1784 -0
  534. package/pro/squads/hormozi/agents/hormozi-retention.md +1467 -0
  535. package/pro/squads/hormozi/agents/hormozi-scale.md +2312 -0
  536. package/pro/squads/hormozi/agents/hormozi-workshop.md +2715 -0
  537. package/pro/squads/hormozi/checklists/5-horsemen-checklist.md +188 -0
  538. package/pro/squads/hormozi/checklists/activation-point-checklist.md +156 -0
  539. package/pro/squads/hormozi/checklists/ad-angles-checklist.md +395 -0
  540. package/pro/squads/hormozi/checklists/affiliates-referrals-checklist.md +411 -0
  541. package/pro/squads/hormozi/checklists/antipattern-screening.md +319 -0
  542. package/pro/squads/hormozi/checklists/bonuses-checklist.md +282 -0
  543. package/pro/squads/hormozi/checklists/branding-checklist.md +547 -0
  544. package/pro/squads/hormozi/checklists/churn-diagnosis-checklist.md +148 -0
  545. package/pro/squads/hormozi/checklists/content-creation-checklist.md +598 -0
  546. package/pro/squads/hormozi/checklists/core-four-checklist.md +543 -0
  547. package/pro/squads/hormozi/checklists/customer-journey-checklist.md +207 -0
  548. package/pro/squads/hormozi/checklists/downsell-strategy-checklist.md +306 -0
  549. package/pro/squads/hormozi/checklists/email-campaign-checklist.md +484 -0
  550. package/pro/squads/hormozi/checklists/engagement-scoring-checklist.md +227 -0
  551. package/pro/squads/hormozi/checklists/exit-interview-checklist.md +206 -0
  552. package/pro/squads/hormozi/checklists/fast-cash-checklist.md +434 -0
  553. package/pro/squads/hormozi/checklists/goated-ads-checklist.md +558 -0
  554. package/pro/squads/hormozi/checklists/golden-ratios-veto.md +340 -0
  555. package/pro/squads/hormozi/checklists/guarantees-checklist.md +312 -0
  556. package/pro/squads/hormozi/checklists/hooks-checklist.md +621 -0
  557. package/pro/squads/hormozi/checklists/landing-page-checklist.md +514 -0
  558. package/pro/squads/hormozi/checklists/launch-checklist.md +1033 -0
  559. package/pro/squads/hormozi/checklists/lead-magnet-checklist.md +421 -0
  560. package/pro/squads/hormozi/checklists/lead-nurture-checklist.md +730 -0
  561. package/pro/squads/hormozi/checklists/ltv-checklist.md +953 -0
  562. package/pro/squads/hormozi/checklists/market-validation-veto.md +248 -0
  563. package/pro/squads/hormozi/checklists/marketing-machine-checklist.md +570 -0
  564. package/pro/squads/hormozi/checklists/money-model-checklist.md +226 -0
  565. package/pro/squads/hormozi/checklists/naming-framework-checklist.md +325 -0
  566. package/pro/squads/hormozi/checklists/offer-architecture-checklist.md +542 -0
  567. package/pro/squads/hormozi/checklists/onboarding-30-day-checklist.md +223 -0
  568. package/pro/squads/hormozi/checklists/price-raise-checklist.md +399 -0
  569. package/pro/squads/hormozi/checklists/pricing-checklist.md +228 -0
  570. package/pro/squads/hormozi/checklists/pricing-framework-checklist.md +627 -0
  571. package/pro/squads/hormozi/checklists/registration-page-checklist.md +429 -0
  572. package/pro/squads/hormozi/checklists/retention-checklist.md +977 -0
  573. package/pro/squads/hormozi/checklists/sales-page-checklist.md +682 -0
  574. package/pro/squads/hormozi/checklists/scarcity-urgency-checklist.md +423 -0
  575. package/pro/squads/hormozi/checklists/subscription-model-checklist.md +342 -0
  576. package/pro/squads/hormozi/checklists/upsell-page-checklist.md +374 -0
  577. package/pro/squads/hormozi/checklists/upsell-sequence-checklist.md +217 -0
  578. package/pro/squads/hormozi/checklists/upsell-strategy-checklist.md +424 -0
  579. package/pro/squads/hormozi/checklists/value-equation-checklist.md +387 -0
  580. package/pro/squads/hormozi/checklists/vsl-script-checklist.md +464 -0
  581. package/pro/squads/hormozi/checklists/workshop-launch-checklist.md +585 -0
  582. package/pro/squads/hormozi/config/veto-conditions.yaml +324 -0
  583. package/pro/squads/hormozi/config.yaml +617 -0
  584. package/pro/squads/hormozi/data/antipatterns-database.yaml +402 -0
  585. package/pro/squads/hormozi/data/hormozi-case-library.yaml +469 -0
  586. package/pro/squads/hormozi/data/hormozi-infrastructure-map.yaml +16 -0
  587. package/pro/squads/hormozi/data/hormozi-service-catalog.yaml +14 -0
  588. package/pro/squads/hormozi/data/minds/hormozi-ads_dna.yaml +75 -0
  589. package/pro/squads/hormozi/data/minds/hormozi-advisor_dna.yaml +112 -0
  590. package/pro/squads/hormozi/data/minds/hormozi-audit_dna.yaml +124 -0
  591. package/pro/squads/hormozi/data/minds/hormozi-closer_dna.yaml +109 -0
  592. package/pro/squads/hormozi/data/minds/hormozi-content_dna.yaml +112 -0
  593. package/pro/squads/hormozi/data/minds/hormozi-copy_dna.yaml +115 -0
  594. package/pro/squads/hormozi/data/minds/hormozi-hooks_dna.yaml +134 -0
  595. package/pro/squads/hormozi/data/minds/hormozi-launch_dna.yaml +122 -0
  596. package/pro/squads/hormozi/data/minds/hormozi-leads_dna.yaml +64 -0
  597. package/pro/squads/hormozi/data/minds/hormozi-models_dna.yaml +111 -0
  598. package/pro/squads/hormozi/data/minds/hormozi-offers_dna.yaml +100 -0
  599. package/pro/squads/hormozi/data/minds/hormozi-pricing_dna.yaml +129 -0
  600. package/pro/squads/hormozi/data/minds/hormozi-retention_dna.yaml +120 -0
  601. package/pro/squads/hormozi/data/minds/hormozi-scale_dna.yaml +112 -0
  602. package/pro/squads/hormozi/data/minds/hormozi-thinking-dna.yaml +421 -0
  603. package/pro/squads/hormozi/data/minds/hormozi-voice-dna.yaml +548 -0
  604. package/pro/squads/hormozi/data/minds/hormozi-workshop_dna.yaml +109 -0
  605. package/pro/squads/hormozi/data/quality-gates.yaml +76 -0
  606. package/pro/squads/hormozi/data/scaling-by-business-type.yaml +166 -0
  607. package/pro/squads/hormozi/data/source-index.yaml +215 -0
  608. package/pro/squads/hormozi/data/swipefiles/ads-swipefile.yaml +378 -0
  609. package/pro/squads/hormozi/data/swipefiles/blueprint-swipefile.yaml +1223 -0
  610. package/pro/squads/hormozi/data/swipefiles/branding-swipefile.yaml +142 -0
  611. package/pro/squads/hormozi/data/swipefiles/closing-swipefile.yaml +716 -0
  612. package/pro/squads/hormozi/data/swipefiles/content-swipefile.yaml +579 -0
  613. package/pro/squads/hormozi/data/swipefiles/copy-sales-swipefile.yaml +1085 -0
  614. package/pro/squads/hormozi/data/swipefiles/fast-cash-swipefile.yaml +190 -0
  615. package/pro/squads/hormozi/data/swipefiles/goated-ads-swipefile.yaml +770 -0
  616. package/pro/squads/hormozi/data/swipefiles/hooks-swipefile.yaml +1982 -0
  617. package/pro/squads/hormozi/data/swipefiles/lead-nurture-swipefile.yaml +191 -0
  618. package/pro/squads/hormozi/data/swipefiles/ltv-swipefile.yaml +216 -0
  619. package/pro/squads/hormozi/data/swipefiles/marketing-machine-swipefile.yaml +191 -0
  620. package/pro/squads/hormozi/data/swipefiles/naming-swipefile-brasil.yaml +596 -0
  621. package/pro/squads/hormozi/data/swipefiles/naming-swipefile-global.yaml +543 -0
  622. package/pro/squads/hormozi/data/swipefiles/price-raise-swipefile.yaml +213 -0
  623. package/pro/squads/hormozi/data/swipefiles/pricing-swipefile.yaml +203 -0
  624. package/pro/squads/hormozi/data/swipefiles/proof-swipefile.yaml +443 -0
  625. package/pro/squads/hormozi/data/swipefiles/retention-swipefile.yaml +245 -0
  626. package/pro/squads/hormozi/data/swipefiles/scaling-roadmap-swipefile.yaml +529 -0
  627. package/pro/squads/hormozi/data/swipefiles/workshop-launch-swipefile.yaml +912 -0
  628. package/pro/squads/hormozi/data/token-registry.yaml +89 -0
  629. package/pro/squads/hormozi/docs/MIGRATION-PLAN-AGENT-CONFORMITY.md +326 -0
  630. package/pro/squads/hormozi/docs/frameworks/100m-offers-framework.md +363 -0
  631. package/pro/squads/hormozi/docs/frameworks/attraction-offers-framework.md +720 -0
  632. package/pro/squads/hormozi/docs/frameworks/bonuses-framework.md +501 -0
  633. package/pro/squads/hormozi/docs/frameworks/core-four-framework.md +685 -0
  634. package/pro/squads/hormozi/docs/frameworks/goated-ads-framework.md +916 -0
  635. package/pro/squads/hormozi/docs/frameworks/guarantees-framework.md +709 -0
  636. package/pro/squads/hormozi/docs/frameworks/hooks-framework.md +1007 -0
  637. package/pro/squads/hormozi/docs/frameworks/lead-magnet-framework.md +485 -0
  638. package/pro/squads/hormozi/docs/frameworks/money-models-framework.md +891 -0
  639. package/pro/squads/hormozi/docs/frameworks/scarcity-framework.md +793 -0
  640. package/pro/squads/hormozi/docs/frameworks/urgency-framework.md +533 -0
  641. package/pro/squads/hormozi/docs/frameworks/value-equation-framework.md +428 -0
  642. package/pro/squads/hormozi/docs/frameworks/workshop-framework.md +289 -0
  643. package/pro/squads/hormozi/docs/sops/.parallel-execution-plan-batch2.md +344 -0
  644. package/pro/squads/hormozi/docs/sops/.parallel-execution-plan-batch3.md +331 -0
  645. package/pro/squads/hormozi/docs/sops/.parallel-execution-plan.md +558 -0
  646. package/pro/squads/hormozi/docs/sops/ad-angles-sop.md +1247 -0
  647. package/pro/squads/hormozi/docs/sops/ad-angles-squad-blueprint.yaml +739 -0
  648. package/pro/squads/hormozi/docs/sops/affiliates-referrals-sop.md +1105 -0
  649. package/pro/squads/hormozi/docs/sops/affiliates-referrals-squad-blueprint.yaml +1131 -0
  650. package/pro/squads/hormozi/docs/sops/bonuses-sop.md +1014 -0
  651. package/pro/squads/hormozi/docs/sops/bonuses-squad-blueprint.yaml +994 -0
  652. package/pro/squads/hormozi/docs/sops/branding-sop.md +870 -0
  653. package/pro/squads/hormozi/docs/sops/branding-squad-blueprint.yaml +1107 -0
  654. package/pro/squads/hormozi/docs/sops/content-creation-sop.md +877 -0
  655. package/pro/squads/hormozi/docs/sops/content-creation-squad-blueprint.yaml +1362 -0
  656. package/pro/squads/hormozi/docs/sops/core-four-sop.md +1231 -0
  657. package/pro/squads/hormozi/docs/sops/core-four-squad-blueprint.yaml +1205 -0
  658. package/pro/squads/hormozi/docs/sops/downsell-strategy-sop.md +832 -0
  659. package/pro/squads/hormozi/docs/sops/downsell-strategy-squad-blueprint.yaml +1230 -0
  660. package/pro/squads/hormozi/docs/sops/email-campaign-sop.md +1547 -0
  661. package/pro/squads/hormozi/docs/sops/email-campaign-squad-blueprint.yaml +1150 -0
  662. package/pro/squads/hormozi/docs/sops/fast-cash-sop.md +1224 -0
  663. package/pro/squads/hormozi/docs/sops/fast-cash-squad-blueprint.yaml +1128 -0
  664. package/pro/squads/hormozi/docs/sops/goated-ads-sop.md +671 -0
  665. package/pro/squads/hormozi/docs/sops/goated-ads-squad-blueprint.yaml +627 -0
  666. package/pro/squads/hormozi/docs/sops/guarantees-sop.md +1017 -0
  667. package/pro/squads/hormozi/docs/sops/guarantees-squad-blueprint.yaml +1252 -0
  668. package/pro/squads/hormozi/docs/sops/hooks-sop.md +958 -0
  669. package/pro/squads/hormozi/docs/sops/hooks-squad-blueprint.yaml +740 -0
  670. package/pro/squads/hormozi/docs/sops/landing-page-sop.md +1079 -0
  671. package/pro/squads/hormozi/docs/sops/landing-page-squad-blueprint.yaml +1373 -0
  672. package/pro/squads/hormozi/docs/sops/launch-sop.md +1055 -0
  673. package/pro/squads/hormozi/docs/sops/launch-squad-blueprint.yaml +1276 -0
  674. package/pro/squads/hormozi/docs/sops/lead-magnet-sop.md +807 -0
  675. package/pro/squads/hormozi/docs/sops/lead-magnet-squad-blueprint.yaml +1144 -0
  676. package/pro/squads/hormozi/docs/sops/lead-nurture-sop.md +867 -0
  677. package/pro/squads/hormozi/docs/sops/lead-nurture-squad-blueprint.yaml +1168 -0
  678. package/pro/squads/hormozi/docs/sops/ltv-sop.md +897 -0
  679. package/pro/squads/hormozi/docs/sops/ltv-squad-blueprint.yaml +1286 -0
  680. package/pro/squads/hormozi/docs/sops/marketing-machine-sop.md +1257 -0
  681. package/pro/squads/hormozi/docs/sops/marketing-machine-squad-blueprint.yaml +1433 -0
  682. package/pro/squads/hormozi/docs/sops/naming-framework-sop.md +1006 -0
  683. package/pro/squads/hormozi/docs/sops/naming-framework-squad-blueprint.yaml +543 -0
  684. package/pro/squads/hormozi/docs/sops/offer-architecture-sop.md +843 -0
  685. package/pro/squads/hormozi/docs/sops/offer-architecture-squad-blueprint.yaml +794 -0
  686. package/pro/squads/hormozi/docs/sops/price-raise-sop.md +983 -0
  687. package/pro/squads/hormozi/docs/sops/price-raise-squad-blueprint.yaml +919 -0
  688. package/pro/squads/hormozi/docs/sops/pricing-framework-sop.md +459 -0
  689. package/pro/squads/hormozi/docs/sops/pricing-squad-blueprint.yaml +517 -0
  690. package/pro/squads/hormozi/docs/sops/registration-page-sop.md +1111 -0
  691. package/pro/squads/hormozi/docs/sops/registration-page-squad-blueprint.yaml +762 -0
  692. package/pro/squads/hormozi/docs/sops/retention-sop.md +1065 -0
  693. package/pro/squads/hormozi/docs/sops/retention-squad-blueprint.yaml +1356 -0
  694. package/pro/squads/hormozi/docs/sops/sales-page-sop.md +924 -0
  695. package/pro/squads/hormozi/docs/sops/sales-page-squad-blueprint.yaml +1096 -0
  696. package/pro/squads/hormozi/docs/sops/scarcity-urgency-sop.md +1092 -0
  697. package/pro/squads/hormozi/docs/sops/scarcity-urgency-squad-blueprint.yaml +1206 -0
  698. package/pro/squads/hormozi/docs/sops/subscription-model-sop.md +1077 -0
  699. package/pro/squads/hormozi/docs/sops/subscription-model-squad-blueprint.yaml +1007 -0
  700. package/pro/squads/hormozi/docs/sops/upsell-page-sop.md +886 -0
  701. package/pro/squads/hormozi/docs/sops/upsell-page-squad-blueprint.yaml +1100 -0
  702. package/pro/squads/hormozi/docs/sops/upsell-strategy-sop.md +1265 -0
  703. package/pro/squads/hormozi/docs/sops/upsell-strategy-squad-blueprint.yaml +1245 -0
  704. package/pro/squads/hormozi/docs/sops/value-equation-sop.md +793 -0
  705. package/pro/squads/hormozi/docs/sops/value-equation-squad-blueprint.yaml +777 -0
  706. package/pro/squads/hormozi/docs/sops/vsl-script-sop.md +1145 -0
  707. package/pro/squads/hormozi/docs/sops/vsl-script-squad-blueprint.yaml +777 -0
  708. package/pro/squads/hormozi/docs/sops/workshop-launch-sop.md +1273 -0
  709. package/pro/squads/hormozi/docs/sops/workshop-launch-squad-blueprint.yaml +1292 -0
  710. package/pro/squads/hormozi/docs/validation-report-2026-02-10.md +79 -0
  711. package/pro/squads/hormozi/scripts/generate-hormozi-greeting.cjs +132 -0
  712. package/pro/squads/hormozi/scripts/load-context.cjs +139 -0
  713. package/pro/squads/hormozi/scripts/resolve-readiness.cjs +45 -0
  714. package/pro/squads/hormozi/scripts/runtime-paths.cjs +44 -0
  715. package/pro/squads/hormozi/scripts/set-active-context.cjs +104 -0
  716. package/pro/squads/hormozi/scripts/show-context.cjs +22 -0
  717. package/pro/squads/hormozi/scripts/validate-antipattern.py +287 -0
  718. package/pro/squads/hormozi/scripts/validate-handoff.py +166 -0
  719. package/pro/squads/hormozi/scripts/validate-mvn.py +198 -0
  720. package/pro/squads/hormozi/sops/pricing-squad-blueprint.yaml +1445 -0
  721. package/pro/squads/hormozi/squad-io.yaml +917 -0
  722. package/pro/squads/hormozi/tasks/architect-offer-stack.md +228 -0
  723. package/pro/squads/hormozi/tasks/build-marketing-machine.md +205 -0
  724. package/pro/squads/hormozi/tasks/build-scaling-team.md +271 -0
  725. package/pro/squads/hormozi/tasks/calculate-30-day-profit.md +418 -0
  726. package/pro/squads/hormozi/tasks/calculate-ppd.md +200 -0
  727. package/pro/squads/hormozi/tasks/create-ad-angles.md +182 -0
  728. package/pro/squads/hormozi/tasks/create-ad-campaign.md +399 -0
  729. package/pro/squads/hormozi/tasks/create-bonus-stack.md +287 -0
  730. package/pro/squads/hormozi/tasks/create-closer-script.md +240 -0
  731. package/pro/squads/hormozi/tasks/create-content-unit.md +176 -0
  732. package/pro/squads/hormozi/tasks/create-contingency-plan.md +426 -0
  733. package/pro/squads/hormozi/tasks/create-downsell-sequence.md +427 -0
  734. package/pro/squads/hormozi/tasks/create-email-sequence.md +196 -0
  735. package/pro/squads/hormozi/tasks/create-engagement-scoring.md +484 -0
  736. package/pro/squads/hormozi/tasks/create-exit-interview-system.md +382 -0
  737. package/pro/squads/hormozi/tasks/create-grand-slam-offer.md +499 -0
  738. package/pro/squads/hormozi/tasks/create-guarantee-stack.md +246 -0
  739. package/pro/squads/hormozi/tasks/create-hook-set.md +368 -0
  740. package/pro/squads/hormozi/tasks/create-landing-page.md +130 -0
  741. package/pro/squads/hormozi/tasks/create-launch-narrative.md +406 -0
  742. package/pro/squads/hormozi/tasks/create-launch-timeline.md +473 -0
  743. package/pro/squads/hormozi/tasks/create-lead-magnet.md +479 -0
  744. package/pro/squads/hormozi/tasks/create-nurture-sequence.md +207 -0
  745. package/pro/squads/hormozi/tasks/create-offer-name.md +165 -0
  746. package/pro/squads/hormozi/tasks/create-pricing-strategy.md +177 -0
  747. package/pro/squads/hormozi/tasks/create-registration-page.md +190 -0
  748. package/pro/squads/hormozi/tasks/create-sales-page.md +157 -0
  749. package/pro/squads/hormozi/tasks/create-upsell-page.md +138 -0
  750. package/pro/squads/hormozi/tasks/create-upsell-sequence.md +449 -0
  751. package/pro/squads/hormozi/tasks/create-vsl-script.md +175 -0
  752. package/pro/squads/hormozi/tasks/design-brand-identity.md +186 -0
  753. package/pro/squads/hormozi/tasks/design-continuity-offer.md +462 -0
  754. package/pro/squads/hormozi/tasks/design-core-four-strategy.md +733 -0
  755. package/pro/squads/hormozi/tasks/design-customer-journey.md +426 -0
  756. package/pro/squads/hormozi/tasks/design-launch-value-stack.md +379 -0
  757. package/pro/squads/hormozi/tasks/design-money-model.md +391 -0
  758. package/pro/squads/hormozi/tasks/design-onboarding-sequence.md +380 -0
  759. package/pro/squads/hormozi/tasks/design-scarcity-urgency.md +216 -0
  760. package/pro/squads/hormozi/tasks/design-subscription-model.md +162 -0
  761. package/pro/squads/hormozi/tasks/design-systems-automation.md +234 -0
  762. package/pro/squads/hormozi/tasks/design-workshop.md +167 -0
  763. package/pro/squads/hormozi/tasks/diagnose-business-stage.md +323 -0
  764. package/pro/squads/hormozi/tasks/diagnose-cfa-level.md +198 -0
  765. package/pro/squads/hormozi/tasks/diagnose-churn-rate.md +265 -0
  766. package/pro/squads/hormozi/tasks/diagnose-scaling-constraint.md +257 -0
  767. package/pro/squads/hormozi/tasks/diagnose-value-equation.md +431 -0
  768. package/pro/squads/hormozi/tasks/discover-activation-points.md +329 -0
  769. package/pro/squads/hormozi/tasks/execute-price-raise.md +221 -0
  770. package/pro/squads/hormozi/tasks/execute-rule-of-100.md +423 -0
  771. package/pro/squads/hormozi/tasks/generate-fast-cash.md +217 -0
  772. package/pro/squads/hormozi/tasks/implement-5-horsemen.md +430 -0
  773. package/pro/squads/hormozi/tasks/optimize-ltv-cac-ratio.md +505 -0
  774. package/pro/squads/hormozi/tasks/plan-launch-evento.md +395 -0
  775. package/pro/squads/hormozi/tasks/run-launch-post-mortem.md +461 -0
  776. package/pro/squads/hormozi/tasks/setup-affiliate-program.md +406 -0
  777. package/pro/squads/hormozi/tasks/setup-war-room.md +407 -0
  778. package/pro/squads/hormozi/tasks/validate-market-selection.md +331 -0
  779. package/pro/squads/hormozi/templates/capacity-planning-worksheet.yaml +151 -0
  780. package/pro/squads/hormozi/templates/grand-slam-offer-output.yaml +462 -0
  781. package/pro/squads/hormozi/templates/grand-slam-offer-tmpl.md +34 -0
  782. package/pro/squads/hormozi/templates/handoff-context-tmpl.yaml +215 -0
  783. package/pro/squads/hormozi/templates/money-model-tmpl.md +29 -0
  784. package/pro/squads/hormozi/templates/offer-analysis-tmpl.md +33 -0
  785. package/pro/squads/hormozi/templates/value-equation-scorecard.md +267 -0
  786. package/pro/squads/hormozi/workflows/wf-context-diagnosis.yaml +569 -0
  787. package/pro/squads/hormozi/workflows/wf-full-launch-sequence.yaml +995 -0
  788. package/pro/squads/hormozi/workflows/wf-grand-slam-offer.yaml +1138 -0
  789. package/pro/squads/hormozi/workflows/wf-growth-decision.yaml +135 -0
  790. package/pro/squads/hormozi/workflows/wf-lead-magnet-pipeline.yaml +1147 -0
  791. package/pro/squads/hormozi/workflows/wf-money-model-design.yaml +1168 -0
  792. package/pro/squads/hormozi/workflows/wf-opportunity-screening.yaml +511 -0
  793. package/pro/squads/hormozi/workflows/wf-paid-ads-campaign.yaml +1204 -0
  794. package/pro/squads/hormozi/workflows/wf-scaling-diagnostic.yaml +636 -0
  795. package/pro/squads/index.js +2 -2
  796. package/pro/squads/spy/HEADLINE.md +3 -0
  797. package/pro/squads/spy/README.md +115 -0
  798. package/pro/squads/spy/agents/bench-analyst.md +654 -0
  799. package/pro/squads/spy/agents/research-head.md +673 -0
  800. package/pro/squads/spy/agents/spy.md +498 -0
  801. package/pro/squads/spy/checklists/bench-quality-checklist.md +119 -0
  802. package/pro/squads/spy/checklists/content-creation-checklist.md +136 -0
  803. package/pro/squads/spy/config.yaml +587 -0
  804. package/pro/squads/spy/data/bench-data-sources.yaml +46 -0
  805. package/pro/squads/spy/data/bench-dimension-packs.yaml +182 -0
  806. package/pro/squads/spy/data/bench-output-formats.yaml +44 -0
  807. package/pro/squads/spy/data/bench-skeleton.md +184 -0
  808. package/pro/squads/spy/data/capability-tools.yaml +109 -0
  809. package/pro/squads/spy/data/knowledge-base.md +337 -0
  810. package/pro/squads/spy/data/quality-gates.yaml +48 -0
  811. package/pro/squads/spy/data/spy-infrastructure-map.yaml +27 -0
  812. package/pro/squads/spy/data/spy-service-catalog.yaml +13 -0
  813. package/pro/squads/spy/data/token-registry.yaml +57 -0
  814. package/pro/squads/spy/data/viral-content-framework.md +304 -0
  815. package/pro/squads/spy/docs/tool-discovery-report.md +110 -0
  816. package/pro/squads/spy/docs/tool-integration-plan.md +47 -0
  817. package/pro/squads/spy/scripts/prepare-benchmark-workspace.sh +14 -0
  818. package/pro/squads/spy/scripts/publish-benchmark-report.sh +16 -0
  819. package/pro/squads/spy/squad-io.yaml +24 -0
  820. package/pro/squads/spy/tasks/bench-absorb.md +266 -0
  821. package/pro/squads/spy/tasks/bench-battle-card.md +398 -0
  822. package/pro/squads/spy/tasks/bench-codebase-recon.md +339 -0
  823. package/pro/squads/spy/tasks/bench-company-intel.md +360 -0
  824. package/pro/squads/spy/tasks/bench-deep-compare.md +573 -0
  825. package/pro/squads/spy/tasks/bench-detect.md +349 -0
  826. package/pro/squads/spy/tasks/bench-framework.md +105 -0
  827. package/pro/squads/spy/tasks/bench-gap-analysis.md +168 -0
  828. package/pro/squads/spy/tasks/bench-gap-company.md +48 -0
  829. package/pro/squads/spy/tasks/bench-gap-llm.md +48 -0
  830. package/pro/squads/spy/tasks/bench-gap-product.md +48 -0
  831. package/pro/squads/spy/tasks/bench-gap-technology.md +48 -0
  832. package/pro/squads/spy/tasks/bench-gap.md +78 -0
  833. package/pro/squads/spy/tasks/bench-hooks.md +209 -0
  834. package/pro/squads/spy/tasks/bench-inventory.md +98 -0
  835. package/pro/squads/spy/tasks/bench-llm-eval.md +359 -0
  836. package/pro/squads/spy/tasks/bench-matrix-codebase.md +50 -0
  837. package/pro/squads/spy/tasks/bench-matrix-company.md +50 -0
  838. package/pro/squads/spy/tasks/bench-matrix-llm.md +50 -0
  839. package/pro/squads/spy/tasks/bench-matrix-product.md +50 -0
  840. package/pro/squads/spy/tasks/bench-matrix-technology.md +50 -0
  841. package/pro/squads/spy/tasks/bench-matrix.md +78 -0
  842. package/pro/squads/spy/tasks/bench-migrate.md +207 -0
  843. package/pro/squads/spy/tasks/bench-product-research.md +370 -0
  844. package/pro/squads/spy/tasks/bench-quick-compare.md +287 -0
  845. package/pro/squads/spy/tasks/bench-report-load-evidence.md +49 -0
  846. package/pro/squads/spy/tasks/bench-report-publish.md +49 -0
  847. package/pro/squads/spy/tasks/bench-report-synthesize-findings.md +48 -0
  848. package/pro/squads/spy/tasks/bench-report.md +70 -0
  849. package/pro/squads/spy/tasks/bench-score.md +406 -0
  850. package/pro/squads/spy/tasks/bench-synergy.md +248 -0
  851. package/pro/squads/spy/tasks/bench-tech-eval.md +417 -0
  852. package/pro/squads/spy/tasks/bench-traceability.md +225 -0
  853. package/pro/squads/spy/tasks/deep-research-collect.md +50 -0
  854. package/pro/squads/spy/tasks/deep-research-comments.md +48 -0
  855. package/pro/squads/spy/tasks/deep-research-patterns.md +49 -0
  856. package/pro/squads/spy/tasks/deep-research-publish.md +49 -0
  857. package/pro/squads/spy/tasks/deep-research-select.md +48 -0
  858. package/pro/squads/spy/tasks/deep-research-synthesis.md +49 -0
  859. package/pro/squads/spy/tasks/deep-research-transcribe.md +48 -0
  860. package/pro/squads/spy/tasks/deep-research.md +116 -0
  861. package/pro/squads/spy/tasks/quick-analysis.md +130 -0
  862. package/pro/squads/spy/templates/bench-battle-card-tmpl.md +52 -0
  863. package/pro/squads/spy/templates/bench-codebase-comparativo-tmpl.md +84 -0
  864. package/pro/squads/spy/templates/bench-codebase-scores-tmpl.md +41 -0
  865. package/pro/squads/spy/templates/bench-comparativo-tmpl.md +86 -0
  866. package/pro/squads/spy/templates/bench-deep-compare-tmpl.md +117 -0
  867. package/pro/squads/spy/templates/bench-gap-tmpl.md +194 -0
  868. package/pro/squads/spy/templates/bench-matrix-tmpl.md +130 -0
  869. package/pro/squads/spy/templates/bench-migration-tmpl.md +127 -0
  870. package/pro/squads/spy/templates/bench-quadrant-tmpl.md +227 -0
  871. package/pro/squads/spy/templates/bench-report-tmpl.md +167 -0
  872. package/pro/squads/spy/templates/bench-scorecard-tmpl.md +113 -0
  873. package/pro/squads/spy/templates/bench-scores-tmpl.md +43 -0
  874. package/pro/squads/spy/templates/bench-synergy-tmpl.md +381 -0
  875. package/pro/squads/spy/templates/cross-domain-handoff-tmpl.yaml +9 -0
  876. package/pro/squads/spy/templates/player-analysis-tmpl.md +145 -0
  877. package/pro/squads/spy/workflows/bench-comparison-pipeline.yaml +1193 -0
  878. package/pro/squads/squad-creator/CHANGELOG.md +162 -0
  879. package/pro/squads/squad-creator/README.md +1176 -0
  880. package/pro/squads/squad-creator/agents/squad-chief.md +1449 -0
  881. package/pro/squads/squad-creator/checklists/agent-quality-gate.md +433 -0
  882. package/pro/squads/squad-creator/checklists/analysis-quality-checklist.md +70 -0
  883. package/pro/squads/squad-creator/checklists/create-agent-checklist.md +239 -0
  884. package/pro/squads/squad-creator/checklists/create-squad-checklist.md +326 -0
  885. package/pro/squads/squad-creator/checklists/create-task-checklist.md +225 -0
  886. package/pro/squads/squad-creator/checklists/create-workflow-checklist.md +243 -0
  887. package/pro/squads/squad-creator/checklists/greeting-script-checklist.md +110 -0
  888. package/pro/squads/squad-creator/checklists/install-skills-checklist.md +197 -0
  889. package/pro/squads/squad-creator/checklists/pipeline-runner-checklist.md +135 -0
  890. package/pro/squads/squad-creator/checklists/report-quality-checklist.md +49 -0
  891. package/pro/squads/squad-creator/checklists/squad-checklist.md +1000 -0
  892. package/pro/squads/squad-creator/checklists/squad-consistency-patterns.md +134 -0
  893. package/pro/squads/squad-creator/checklists/squad-overview-checklist.md +381 -0
  894. package/pro/squads/squad-creator/checklists/squad-structural-completeness.md +394 -0
  895. package/pro/squads/squad-creator/checklists/task-anatomy-checklist.md +687 -0
  896. package/pro/squads/squad-creator/checklists/upgrade-squad-checklist.md +222 -0
  897. package/pro/squads/squad-creator/config/squad-config.yaml +202 -0
  898. package/pro/squads/squad-creator/config/workflow-yaml-schema.yaml +323 -0
  899. package/pro/squads/squad-creator/config.yaml +429 -0
  900. package/pro/squads/squad-creator/data/base-core-contract.yaml +22 -0
  901. package/pro/squads/squad-creator/data/baselines/ecosystem-baseline.yaml +88 -0
  902. package/pro/squads/squad-creator/data/baselines/initial-radar.yaml +89 -0
  903. package/pro/squads/squad-creator/data/best-practices.md +986 -0
  904. package/pro/squads/squad-creator/data/cc-agent-schema-ref.yaml +405 -0
  905. package/pro/squads/squad-creator/data/core-heuristics.md +510 -0
  906. package/pro/squads/squad-creator/data/decision-heuristics-framework.md +695 -0
  907. package/pro/squads/squad-creator/data/design-heuristics-diagnostic-systems.md +140 -0
  908. package/pro/squads/squad-creator/data/executor-matrix-framework.md +441 -0
  909. package/pro/squads/squad-creator/data/hybridops-patterns.md +1351 -0
  910. package/pro/squads/squad-creator/data/journey-log-events.yaml +72 -0
  911. package/pro/squads/squad-creator/data/kaizen-legacy/kaizen-infrastructure-map.yaml +16 -0
  912. package/pro/squads/squad-creator/data/kpi-baseline.yaml +72 -0
  913. package/pro/squads/squad-creator/data/process-token-map.yaml +225 -0
  914. package/pro/squads/squad-creator/data/quality-dimensions-framework.md +405 -0
  915. package/pro/squads/squad-creator/data/quality-gates.yaml +135 -0
  916. package/pro/squads/squad-creator/data/radar/initial-radar.yaml +76 -0
  917. package/pro/squads/squad-creator/data/recommendation-tracker.yaml +53 -0
  918. package/pro/squads/squad-creator/data/reports/self-improve-2026-02-15.md +111 -0
  919. package/pro/squads/squad-creator/data/reports/week-07-2026-02-15.md +210 -0
  920. package/pro/squads/squad-creator/data/reports/week-09-2026-02-28.md +295 -0
  921. package/pro/squads/squad-creator/data/reports/week-14-2026-04-04.md +234 -0
  922. package/pro/squads/squad-creator/data/squad-analytics-guide.md +252 -0
  923. package/pro/squads/squad-creator/data/squad-creator-infrastructure-map.yaml +36 -0
  924. package/pro/squads/squad-creator/data/squad-creator-service-catalog.yaml +17 -0
  925. package/pro/squads/squad-creator/data/squad-kb.md +987 -0
  926. package/pro/squads/squad-creator/data/squad-registry.yaml +14 -0
  927. package/pro/squads/squad-creator/data/tier-system-framework.md +475 -0
  928. package/pro/squads/squad-creator/data/tool-discovery-sources.yaml +68 -0
  929. package/pro/squads/squad-creator/docs/ADR-001-model-tier-qualification.md +344 -0
  930. package/pro/squads/squad-creator/docs/AGENT-COLLABORATION.md +820 -0
  931. package/pro/squads/squad-creator/docs/COMMANDS.md +895 -0
  932. package/pro/squads/squad-creator/docs/CONCEPTS.md +979 -0
  933. package/pro/squads/squad-creator/docs/FAQ.md +773 -0
  934. package/pro/squads/squad-creator/docs/HITL-FLOW.md +406 -0
  935. package/pro/squads/squad-creator/docs/MODEL-TIER-QUALIFICATION.md +337 -0
  936. package/pro/squads/squad-creator/docs/PATTERN-LIBRARY.md +620 -0
  937. package/pro/squads/squad-creator/docs/PEDRO-VALERIO-ARCHITECTURE.md +456 -0
  938. package/pro/squads/squad-creator/docs/POR-ONDE-COMECAR.md +211 -0
  939. package/pro/squads/squad-creator/docs/QUICK-START.md +205 -0
  940. package/pro/squads/squad-creator/docs/TUTORIAL-COMPLETO.md +458 -0
  941. package/pro/squads/squad-creator/docs/sop-extraction-process.md +675 -0
  942. package/pro/squads/squad-creator/docs/squad-free-vs-open.md +596 -0
  943. package/pro/squads/squad-creator/package-lock.json +38 -0
  944. package/pro/squads/squad-creator/package.json +27 -0
  945. package/pro/squads/squad-creator/protocols/ai-first-governance.md +63 -0
  946. package/pro/squads/squad-creator/requirements.txt +1 -0
  947. package/pro/squads/squad-creator/rules/agent-naming-convention.md +58 -0
  948. package/pro/squads/squad-creator/rules/recommendation-defensibility.md +161 -0
  949. package/pro/squads/squad-creator/schemas/agent-persona.schema.json +64 -0
  950. package/pro/squads/squad-creator/schemas/squad-config.schema.json +92 -0
  951. package/pro/squads/squad-creator/schemas/validation-report.schema.json +158 -0
  952. package/pro/squads/squad-creator/scripts/README.md +262 -0
  953. package/pro/squads/squad-creator/scripts/checklist_validator.py +451 -0
  954. package/pro/squads/squad-creator/scripts/coherence-validator.py +62 -0
  955. package/pro/squads/squad-creator/scripts/dependency_check.py +341 -0
  956. package/pro/squads/squad-creator/scripts/detect-environment-contract.cjs +583 -0
  957. package/pro/squads/squad-creator/scripts/export-antigravity-workflows.cjs +199 -0
  958. package/pro/squads/squad-creator/scripts/generate-squad-greeting.js +1150 -0
  959. package/pro/squads/squad-creator/scripts/generate-squad-guide.js +596 -0
  960. package/pro/squads/squad-creator/scripts/inventory.py +286 -0
  961. package/pro/squads/squad-creator/scripts/kaizen/kaizen-trigger.sh +126 -0
  962. package/pro/squads/squad-creator/scripts/lib/config-loader.js +151 -0
  963. package/pro/squads/squad-creator/scripts/lib/doom-loop-detector.js +120 -0
  964. package/pro/squads/squad-creator/scripts/lib/squad-runtime-paths.cjs +187 -0
  965. package/pro/squads/squad-creator/scripts/lib/validate-runtime-state.cjs +271 -0
  966. package/pro/squads/squad-creator/scripts/naming_validator.py +303 -0
  967. package/pro/squads/squad-creator/scripts/on-specialist-complete.py +98 -0
  968. package/pro/squads/squad-creator/scripts/refresh-registry.py +933 -0
  969. package/pro/squads/squad-creator/scripts/rename-squad.sh +395 -0
  970. package/pro/squads/squad-creator/scripts/scaffold-squad.cjs +317 -0
  971. package/pro/squads/squad-creator/scripts/scoring.py +65 -0
  972. package/pro/squads/squad-creator/scripts/security_scanner.py +378 -0
  973. package/pro/squads/squad-creator/scripts/squad-analytics.py +810 -0
  974. package/pro/squads/squad-creator/scripts/squad_utils.py +267 -0
  975. package/pro/squads/squad-creator/scripts/sync-chief-codex-skill.js +242 -0
  976. package/pro/squads/squad-creator/scripts/sync-ide-skills.py +705 -0
  977. package/pro/squads/squad-creator/scripts/tests/__init__.py +1 -0
  978. package/pro/squads/squad-creator/scripts/tests/test_adapters.py +73 -0
  979. package/pro/squads/squad-creator/scripts/tests/test_assess_sources.sh +216 -0
  980. package/pro/squads/squad-creator/scripts/tests/test_clone_review.sh +239 -0
  981. package/pro/squads/squad-creator/scripts/tests/test_fidelity_score.sh +298 -0
  982. package/pro/squads/squad-creator/scripts/tests/test_refresh_registry_contract.py +110 -0
  983. package/pro/squads/squad-creator/scripts/tests/test_squad_analytics.py +332 -0
  984. package/pro/squads/squad-creator/scripts/tests/test_validate_squad_contextual_lifecycle.py +111 -0
  985. package/pro/squads/squad-creator/scripts/tests/test_validate_squad_tested_inference.py +102 -0
  986. package/pro/squads/squad-creator/scripts/tests/test_validate_squad_yolo_warning.py +108 -0
  987. package/pro/squads/squad-creator/scripts/update-aiox-sync-config.py +144 -0
  988. package/pro/squads/squad-creator/scripts/update-claude-command-registry.py +171 -0
  989. package/pro/squads/squad-creator/scripts/validate-all.sh +49 -0
  990. package/pro/squads/squad-creator/scripts/validate-report.sh +98 -0
  991. package/pro/squads/squad-creator/scripts/validate-squad-deep.sh +318 -0
  992. package/pro/squads/squad-creator/scripts/validate-squad-quality.py +514 -0
  993. package/pro/squads/squad-creator/scripts/validate-squad-structure.py +881 -0
  994. package/pro/squads/squad-creator/scripts/validate-squad.sh +4340 -0
  995. package/pro/squads/squad-creator/scripts/validate-tokens.sh +178 -0
  996. package/pro/squads/squad-creator/scripts/verify-squad-completeness.sh +294 -0
  997. package/pro/squads/squad-creator/scripts/yaml_validator.py +528 -0
  998. package/pro/squads/squad-creator/squad-io.yaml +71 -0
  999. package/pro/squads/squad-creator/tasks/audit-output-quality.md +135 -0
  1000. package/pro/squads/squad-creator/tasks/auto-heal-close.md +134 -0
  1001. package/pro/squads/squad-creator/tasks/auto-heal-resolve.md +128 -0
  1002. package/pro/squads/squad-creator/tasks/auto-heal.md +86 -0
  1003. package/pro/squads/squad-creator/tasks/auto-healing-gate.md +166 -0
  1004. package/pro/squads/squad-creator/tasks/cost-analysis.md +117 -0
  1005. package/pro/squads/squad-creator/tasks/create-agent-commands.md +197 -0
  1006. package/pro/squads/squad-creator/tasks/create-agent-generate.md +224 -0
  1007. package/pro/squads/squad-creator/tasks/create-agent-persona.md +207 -0
  1008. package/pro/squads/squad-creator/tasks/create-agent-publish.md +136 -0
  1009. package/pro/squads/squad-creator/tasks/create-agent-research.md +201 -0
  1010. package/pro/squads/squad-creator/tasks/create-agent-validate.md +213 -0
  1011. package/pro/squads/squad-creator/tasks/create-agent.md +145 -0
  1012. package/pro/squads/squad-creator/tasks/create-documentation.md +284 -0
  1013. package/pro/squads/squad-creator/tasks/create-greeting-script-discovery.md +59 -0
  1014. package/pro/squads/squad-creator/tasks/create-greeting-script-gap-map.md +59 -0
  1015. package/pro/squads/squad-creator/tasks/create-greeting-script-generate.md +60 -0
  1016. package/pro/squads/squad-creator/tasks/create-greeting-script-integrate.md +59 -0
  1017. package/pro/squads/squad-creator/tasks/create-greeting-script-validate.md +59 -0
  1018. package/pro/squads/squad-creator/tasks/create-greeting-script.md +130 -0
  1019. package/pro/squads/squad-creator/tasks/create-pipeline-design.md +143 -0
  1020. package/pro/squads/squad-creator/tasks/create-pipeline-persist.md +100 -0
  1021. package/pro/squads/squad-creator/tasks/create-pipeline-qualify.md +103 -0
  1022. package/pro/squads/squad-creator/tasks/create-pipeline-render.md +296 -0
  1023. package/pro/squads/squad-creator/tasks/create-pipeline-validate.md +121 -0
  1024. package/pro/squads/squad-creator/tasks/create-pipeline.md +171 -0
  1025. package/pro/squads/squad-creator/tasks/create-squad-build.md +383 -0
  1026. package/pro/squads/squad-creator/tasks/create-squad-design.md +349 -0
  1027. package/pro/squads/squad-creator/tasks/create-squad-discover.md +392 -0
  1028. package/pro/squads/squad-creator/tasks/create-squad-publish.md +225 -0
  1029. package/pro/squads/squad-creator/tasks/create-squad-validate.md +327 -0
  1030. package/pro/squads/squad-creator/tasks/create-squad.md +113 -0
  1031. package/pro/squads/squad-creator/tasks/create-task-anatomy.md +273 -0
  1032. package/pro/squads/squad-creator/tasks/create-task-classify.md +222 -0
  1033. package/pro/squads/squad-creator/tasks/create-task-executor.md +205 -0
  1034. package/pro/squads/squad-creator/tasks/create-task-generate.md +224 -0
  1035. package/pro/squads/squad-creator/tasks/create-task-register.md +192 -0
  1036. package/pro/squads/squad-creator/tasks/create-task-validate.md +232 -0
  1037. package/pro/squads/squad-creator/tasks/create-task.md +113 -0
  1038. package/pro/squads/squad-creator/tasks/create-template-elicitation.md +59 -0
  1039. package/pro/squads/squad-creator/tasks/create-template-identity.md +59 -0
  1040. package/pro/squads/squad-creator/tasks/create-template-register.md +58 -0
  1041. package/pro/squads/squad-creator/tasks/create-template-structure.md +59 -0
  1042. package/pro/squads/squad-creator/tasks/create-template-validate.md +59 -0
  1043. package/pro/squads/squad-creator/tasks/create-template.md +95 -0
  1044. package/pro/squads/squad-creator/tasks/create-workflow-classify.md +213 -0
  1045. package/pro/squads/squad-creator/tasks/create-workflow-design.md +494 -0
  1046. package/pro/squads/squad-creator/tasks/create-workflow-from-sop.md +301 -0
  1047. package/pro/squads/squad-creator/tasks/create-workflow-generate.md +262 -0
  1048. package/pro/squads/squad-creator/tasks/create-workflow.md +108 -0
  1049. package/pro/squads/squad-creator/tasks/detect-gaps.md +116 -0
  1050. package/pro/squads/squad-creator/tasks/detect-operational-mode-classify.md +112 -0
  1051. package/pro/squads/squad-creator/tasks/detect-operational-mode-infrastructure.md +104 -0
  1052. package/pro/squads/squad-creator/tasks/detect-operational-mode-outputs.md +94 -0
  1053. package/pro/squads/squad-creator/tasks/detect-operational-mode-systems.md +91 -0
  1054. package/pro/squads/squad-creator/tasks/detect-operational-mode-verbs.md +94 -0
  1055. package/pro/squads/squad-creator/tasks/detect-operational-mode.md +115 -0
  1056. package/pro/squads/squad-creator/tasks/detect-squad-context.md +120 -0
  1057. package/pro/squads/squad-creator/tasks/discover-tools-classify.md +191 -0
  1058. package/pro/squads/squad-creator/tasks/discover-tools-evaluate.md +173 -0
  1059. package/pro/squads/squad-creator/tasks/discover-tools-recommend.md +180 -0
  1060. package/pro/squads/squad-creator/tasks/discover-tools-report.md +184 -0
  1061. package/pro/squads/squad-creator/tasks/discover-tools-scan.md +188 -0
  1062. package/pro/squads/squad-creator/tasks/discover-tools.md +139 -0
  1063. package/pro/squads/squad-creator/tasks/generate-recommendations.md +162 -0
  1064. package/pro/squads/squad-creator/tasks/improve-workflow-from-report.md +127 -0
  1065. package/pro/squads/squad-creator/tasks/improve-workflow-report-apply-p1.md +59 -0
  1066. package/pro/squads/squad-creator/tasks/improve-workflow-report-apply-secondary.md +59 -0
  1067. package/pro/squads/squad-creator/tasks/improve-workflow-report-backup.md +59 -0
  1068. package/pro/squads/squad-creator/tasks/improve-workflow-report-ingest.md +59 -0
  1069. package/pro/squads/squad-creator/tasks/improve-workflow-report-target.md +59 -0
  1070. package/pro/squads/squad-creator/tasks/improve-workflow-report-validate-report.md +59 -0
  1071. package/pro/squads/squad-creator/tasks/install-skills-finalize.md +415 -0
  1072. package/pro/squads/squad-creator/tasks/install-skills-prepare.md +353 -0
  1073. package/pro/squads/squad-creator/tasks/install-skills-write.md +395 -0
  1074. package/pro/squads/squad-creator/tasks/install-skills.md +282 -0
  1075. package/pro/squads/squad-creator/tasks/next-squad-ranking.md +58 -0
  1076. package/pro/squads/squad-creator/tasks/next-squad-registry.md +58 -0
  1077. package/pro/squads/squad-creator/tasks/next-squad-report.md +59 -0
  1078. package/pro/squads/squad-creator/tasks/next-squad-scoring.md +59 -0
  1079. package/pro/squads/squad-creator/tasks/next-squad-signals.md +58 -0
  1080. package/pro/squads/squad-creator/tasks/next-squad.md +98 -0
  1081. package/pro/squads/squad-creator/tasks/operational-test-baseline.md +69 -0
  1082. package/pro/squads/squad-creator/tasks/operational-test-preflight.md +70 -0
  1083. package/pro/squads/squad-creator/tasks/operational-test-report.md +71 -0
  1084. package/pro/squads/squad-creator/tasks/operational-test-smoke.md +72 -0
  1085. package/pro/squads/squad-creator/tasks/operational-test-target.md +71 -0
  1086. package/pro/squads/squad-creator/tasks/operational-test.md +102 -0
  1087. package/pro/squads/squad-creator/tasks/performance-dashboard.md +118 -0
  1088. package/pro/squads/squad-creator/tasks/qa-after-creation.md +129 -0
  1089. package/pro/squads/squad-creator/tasks/qa-check-compatibility.md +191 -0
  1090. package/pro/squads/squad-creator/tasks/qa-check-completeness.md +218 -0
  1091. package/pro/squads/squad-creator/tasks/qa-check-references.md +172 -0
  1092. package/pro/squads/squad-creator/tasks/qa-check-schema.md +190 -0
  1093. package/pro/squads/squad-creator/tasks/qa-check-structure.md +176 -0
  1094. package/pro/squads/squad-creator/tasks/qa-generate-report.md +240 -0
  1095. package/pro/squads/squad-creator/tasks/qualify-provider-baseline.md +122 -0
  1096. package/pro/squads/squad-creator/tasks/qualify-provider-compare.md +159 -0
  1097. package/pro/squads/squad-creator/tasks/qualify-provider-preflight.md +143 -0
  1098. package/pro/squads/squad-creator/tasks/qualify-provider-ptbr.md +166 -0
  1099. package/pro/squads/squad-creator/tasks/qualify-provider-reliability.md +140 -0
  1100. package/pro/squads/squad-creator/tasks/qualify-provider-report.md +178 -0
  1101. package/pro/squads/squad-creator/tasks/reexecute-squad-phase.md +97 -0
  1102. package/pro/squads/squad-creator/tasks/refresh-registry.md +299 -0
  1103. package/pro/squads/squad-creator/tasks/rename-squad-map.md +59 -0
  1104. package/pro/squads/squad-creator/tasks/rename-squad-propagate.md +59 -0
  1105. package/pro/squads/squad-creator/tasks/rename-squad-structural.md +59 -0
  1106. package/pro/squads/squad-creator/tasks/rename-squad-validate.md +59 -0
  1107. package/pro/squads/squad-creator/tasks/rename-squad.md +118 -0
  1108. package/pro/squads/squad-creator/tasks/self-improve.md +107 -0
  1109. package/pro/squads/squad-creator/tasks/setup-runtime-handoff.md +74 -0
  1110. package/pro/squads/squad-creator/tasks/setup-runtime-persist.md +81 -0
  1111. package/pro/squads/squad-creator/tasks/setup-runtime-requirements.md +84 -0
  1112. package/pro/squads/squad-creator/tasks/setup-runtime-validate.md +82 -0
  1113. package/pro/squads/squad-creator/tasks/setup-runtime-wizard.md +84 -0
  1114. package/pro/squads/squad-creator/tasks/setup-runtime.md +103 -0
  1115. package/pro/squads/squad-creator/tasks/squad-analytics.md +276 -0
  1116. package/pro/squads/squad-creator/tasks/squad-overview-agents.md +110 -0
  1117. package/pro/squads/squad-creator/tasks/squad-overview-generate.md +102 -0
  1118. package/pro/squads/squad-creator/tasks/squad-overview-metadata.md +121 -0
  1119. package/pro/squads/squad-creator/tasks/squad-overview-minds.md +100 -0
  1120. package/pro/squads/squad-creator/tasks/squad-overview-structure.md +106 -0
  1121. package/pro/squads/squad-creator/tasks/squad-overview-write.md +103 -0
  1122. package/pro/squads/squad-creator/tasks/squad-overview.md +117 -0
  1123. package/pro/squads/squad-creator/tasks/sync-chief-codex-skill.md +73 -0
  1124. package/pro/squads/squad-creator/tasks/sync-ide-skills.md +240 -0
  1125. package/pro/squads/squad-creator/tasks/update-radar.md +151 -0
  1126. package/pro/squads/squad-creator/tasks/upgrade-squad-apply.md +187 -0
  1127. package/pro/squads/squad-creator/tasks/upgrade-squad-gap.md +203 -0
  1128. package/pro/squads/squad-creator/tasks/upgrade-squad-inventory.md +186 -0
  1129. package/pro/squads/squad-creator/tasks/upgrade-squad-plan.md +163 -0
  1130. package/pro/squads/squad-creator/tasks/upgrade-squad-verify.md +178 -0
  1131. package/pro/squads/squad-creator/tasks/upgrade-squad.md +138 -0
  1132. package/pro/squads/squad-creator/tasks/validate-final-artifacts.md +104 -0
  1133. package/pro/squads/squad-creator/tasks/validate-squad-classify.md +335 -0
  1134. package/pro/squads/squad-creator/tasks/validate-squad-deep-review.md +226 -0
  1135. package/pro/squads/squad-creator/tasks/validate-squad-preflight.md +189 -0
  1136. package/pro/squads/squad-creator/tasks/validate-squad-verdict.md +442 -0
  1137. package/pro/squads/squad-creator/tasks/validate-squad.md +117 -0
  1138. package/pro/squads/squad-creator/templates/agent-flow-doc-tmpl.md +512 -0
  1139. package/pro/squads/squad-creator/templates/agent-tmpl.md +703 -0
  1140. package/pro/squads/squad-creator/templates/auto-heal-task-tmpl.md +417 -0
  1141. package/pro/squads/squad-creator/templates/capability-map-tmpl.md +95 -0
  1142. package/pro/squads/squad-creator/templates/config-tmpl.yaml +534 -0
  1143. package/pro/squads/squad-creator/templates/cross-domain-handoff-tmpl.yaml +18 -0
  1144. package/pro/squads/squad-creator/templates/ecosystem-health-tmpl.md +19 -0
  1145. package/pro/squads/squad-creator/templates/gap-analysis-tmpl.md +13 -0
  1146. package/pro/squads/squad-creator/templates/greeting-script-tmpl.cjs +169 -0
  1147. package/pro/squads/squad-creator/templates/journey-log-tmpl.yaml +93 -0
  1148. package/pro/squads/squad-creator/templates/operational-test-task-tmpl.md +514 -0
  1149. package/pro/squads/squad-creator/templates/performance-dashboard-tmpl.md +77 -0
  1150. package/pro/squads/squad-creator/templates/pipeline-prompt-tmpl.md +94 -0
  1151. package/pro/squads/squad-creator/templates/pop-extractor-prompt.md +549 -0
  1152. package/pro/squads/squad-creator/templates/quality-gate-tmpl.yaml +589 -0
  1153. package/pro/squads/squad-creator/templates/readme-tmpl.md +254 -0
  1154. package/pro/squads/squad-creator/templates/research-output-tmpl.md +625 -0
  1155. package/pro/squads/squad-creator/templates/research-prompt-tmpl.md +479 -0
  1156. package/pro/squads/squad-creator/templates/setup-runtime-task-tmpl.md +627 -0
  1157. package/pro/squads/squad-creator/templates/squad-mappings-tmpl.yaml +71 -0
  1158. package/pro/squads/squad-creator/templates/squad-prd-tmpl.md +488 -0
  1159. package/pro/squads/squad-creator/templates/story-create-agent-tmpl.md +284 -0
  1160. package/pro/squads/squad-creator/templates/task-tmpl.md +533 -0
  1161. package/pro/squads/squad-creator/templates/tech-radar-tmpl.md +73 -0
  1162. package/pro/squads/squad-creator/templates/template-tmpl.yaml +227 -0
  1163. package/pro/squads/squad-creator/templates/weekly-digest-tmpl.md +11 -0
  1164. package/pro/squads/squad-creator/templates/weekly-report-tmpl.md +155 -0
  1165. package/pro/squads/squad-creator/templates/workflow-doc-tmpl.md +860 -0
  1166. package/pro/squads/squad-creator/templates/workflow-tmpl.yaml +486 -0
  1167. package/pro/squads/squad-creator/test-cases/an-assess-sources/TEST-REPORT-v2.1.md +351 -0
  1168. package/pro/squads/squad-creator/test-cases/an-assess-sources/formal-qualification-report.yaml +389 -0
  1169. package/pro/squads/squad-creator/test-cases/an-clone-review/opus-baseline.yaml +566 -0
  1170. package/pro/squads/squad-creator/test-cases/pv-axioma-assessment/opus-baseline.yaml +96 -0
  1171. package/pro/squads/squad-creator/test-cases/pv-modernization-score/opus-baseline.yaml +488 -0
  1172. package/pro/squads/squad-creator/test-cases/smoke-test-model-routing/test-case.yaml +100 -0
  1173. package/pro/squads/squad-creator/workflows/wf-auto-heal.yaml +33 -0
  1174. package/pro/squads/squad-creator/workflows/wf-create-agent.yaml +252 -0
  1175. package/pro/squads/squad-creator/workflows/wf-create-greeting-script.yaml +60 -0
  1176. package/pro/squads/squad-creator/workflows/wf-create-pipeline.yaml +60 -0
  1177. package/pro/squads/squad-creator/workflows/wf-create-squad.yaml +1916 -0
  1178. package/pro/squads/squad-creator/workflows/wf-create-task.yaml +172 -0
  1179. package/pro/squads/squad-creator/workflows/wf-create-template.yaml +60 -0
  1180. package/pro/squads/squad-creator/workflows/wf-create-workflow.yaml +138 -0
  1181. package/pro/squads/squad-creator/workflows/wf-cross-provider-qualification.yaml +769 -0
  1182. package/pro/squads/squad-creator/workflows/wf-detect-operational-mode.yaml +112 -0
  1183. package/pro/squads/squad-creator/workflows/wf-discover-tools.yaml +1695 -0
  1184. package/pro/squads/squad-creator/workflows/wf-ecosystem-analysis.yaml +338 -0
  1185. package/pro/squads/squad-creator/workflows/wf-improve-workflow-from-report.yaml +69 -0
  1186. package/pro/squads/squad-creator/workflows/wf-install-skills.yaml +52 -0
  1187. package/pro/squads/squad-creator/workflows/wf-next-squad.yaml +60 -0
  1188. package/pro/squads/squad-creator/workflows/wf-operational-test.yaml +86 -0
  1189. package/pro/squads/squad-creator/workflows/wf-qa-after-creation.yaml +339 -0
  1190. package/pro/squads/squad-creator/workflows/wf-rename-squad.yaml +51 -0
  1191. package/pro/squads/squad-creator/workflows/wf-self-improve.yaml +206 -0
  1192. package/pro/squads/squad-creator/workflows/wf-setup-runtime.yaml +86 -0
  1193. package/pro/squads/squad-creator/workflows/wf-squad-overview.yaml +100 -0
  1194. package/pro/squads/squad-creator/workflows/wf-sync-ide-skills.yaml +24 -0
  1195. package/pro/squads/squad-creator/workflows/wf-upgrade-squad.yaml +236 -0
  1196. package/pro/squads/squad-creator/workflows/wf-weekly-report.yaml +139 -0
  1197. package/pro/squads/squad-creator-pro/ARCHITECTURE.md +37 -0
  1198. package/pro/squads/squad-creator-pro/CHANGELOG.md +12 -12
  1199. package/pro/squads/squad-creator-pro/README.md +19 -17
  1200. package/pro/squads/squad-creator-pro/agents/ecosystem-analyst.md +989 -0
  1201. package/pro/squads/squad-creator-pro/agents/heuristic-ops.md +369 -0
  1202. package/pro/squads/squad-creator-pro/agents/oalanicolas.md +582 -22
  1203. package/pro/squads/squad-creator-pro/agents/pedro-valerio.md +957 -115
  1204. package/pro/squads/squad-creator-pro/agents/squad-chief.md +580 -412
  1205. package/pro/squads/squad-creator-pro/agents/thiago_finch.md +31 -21
  1206. package/pro/squads/squad-creator-pro/benchmarks/golden/hormozi-golden.yaml +382 -0
  1207. package/pro/squads/squad-creator-pro/benchmarks/scripts/run-benchmark.sh +363 -0
  1208. package/pro/squads/squad-creator-pro/checklists/agent-depth-checklist.md +4 -4
  1209. package/pro/squads/squad-creator-pro/checklists/agent-quality-gate.md +1 -1
  1210. package/pro/squads/squad-creator-pro/checklists/create-squad-checklist.md +78 -6
  1211. package/pro/squads/squad-creator-pro/checklists/deep-research-quality.md +3 -4
  1212. package/pro/squads/squad-creator-pro/checklists/executor-matrix-checklist.md +3 -3
  1213. package/pro/squads/squad-creator-pro/checklists/mental-model-integration-checklist.md +3 -3
  1214. package/pro/squads/squad-creator-pro/checklists/mind-validation.md +2 -3
  1215. package/pro/squads/squad-creator-pro/checklists/pipeline-quality-checklist.md +84 -0
  1216. package/pro/squads/squad-creator-pro/checklists/quality-gate-checklist.md +3 -3
  1217. package/pro/squads/squad-creator-pro/checklists/session-heuristics-extraction.md +65 -0
  1218. package/pro/squads/squad-creator-pro/checklists/sop-validation.md +2 -2
  1219. package/pro/squads/squad-creator-pro/checklists/squad-checklist.md +20 -20
  1220. package/pro/squads/squad-creator-pro/checklists/task-anatomy-checklist.md +1 -1
  1221. package/pro/squads/squad-creator-pro/config/heuristic-watcher-rubric.yaml +300 -0
  1222. package/pro/squads/squad-creator-pro/config/heuristics.yaml +196 -12
  1223. package/pro/squads/squad-creator-pro/config/model-routing.yaml +10 -10
  1224. package/pro/squads/squad-creator-pro/config/scoring-rubric.yaml +1 -1
  1225. package/pro/squads/squad-creator-pro/config/squad-config.yaml +1 -1
  1226. package/pro/squads/squad-creator-pro/config.yaml +452 -32
  1227. package/pro/squads/squad-creator-pro/data/an-output-examples.yaml +9 -9
  1228. package/pro/squads/squad-creator-pro/data/best-practices.md +8 -8
  1229. package/pro/squads/squad-creator-pro/data/core-heuristics.md +5 -5
  1230. package/pro/squads/squad-creator-pro/data/decision-heuristics-framework.md +2 -2
  1231. package/pro/squads/squad-creator-pro/data/executor-matrix-framework.md +2 -2
  1232. package/pro/squads/squad-creator-pro/data/extraction-mentoria-processos-dec19.yaml +337 -0
  1233. package/pro/squads/squad-creator-pro/data/fusion-dry-runs/traffic-masters-absorve-_traffic-2026-03-09.md +135 -0
  1234. package/pro/squads/squad-creator-pro/data/fusion-executor-analysis.md +1 -1
  1235. package/pro/squads/squad-creator-pro/data/hybridops-patterns.md +3 -3
  1236. package/pro/squads/squad-creator-pro/data/internal-infrastructure-library.yaml +5 -1
  1237. package/pro/squads/squad-creator-pro/data/mental-model-task-matrix.yaml +4 -4
  1238. package/pro/squads/squad-creator-pro/data/pm-best-practices.md +71 -7
  1239. package/pro/squads/squad-creator-pro/data/pv-output-examples.yaml +1 -1
  1240. package/pro/squads/squad-creator-pro/data/pv-workflow-validation.yaml +4 -4
  1241. package/pro/squads/squad-creator-pro/data/quality-dimensions-framework.md +2 -2
  1242. package/pro/squads/squad-creator-pro/data/quality-gate-coverage.yaml +169 -0
  1243. package/pro/squads/squad-creator-pro/data/squad-analytics-guide.md +2 -2
  1244. package/pro/squads/squad-creator-pro/data/squad-kb.md +14 -14
  1245. package/pro/squads/squad-creator-pro/data/squad-kpis.yaml +60 -0
  1246. package/pro/squads/squad-creator-pro/data/squad-registry.yaml +4868 -809
  1247. package/pro/squads/squad-creator-pro/data/tier-system-framework.md +2 -2
  1248. package/pro/squads/squad-creator-pro/data/token-registry.yaml +386 -0
  1249. package/pro/squads/squad-creator-pro/data/tool-registry.yaml +130 -14
  1250. package/pro/squads/squad-creator-pro/docs/COMMANDS.md +1 -1
  1251. package/pro/squads/squad-creator-pro/docs/FAQ.md +4 -4
  1252. package/pro/squads/squad-creator-pro/docs/PATTERN-LIBRARY.md +12 -4
  1253. package/pro/squads/squad-creator-pro/docs/PEDRO-VALERIO-ARCHITECTURE.md +2 -2
  1254. package/pro/squads/squad-creator-pro/docs/POR-ONDE-COMECAR.md +4 -4
  1255. package/pro/squads/squad-creator-pro/docs/QUICK-START.md +2 -2
  1256. package/pro/squads/squad-creator-pro/docs/TOOL-RECOMMENDATIONS.md +3 -1
  1257. package/pro/squads/squad-creator-pro/docs/TUTORIAL-COMPLETO.md +3 -3
  1258. package/pro/squads/squad-creator-pro/docs/sop-extraction-process.md +2 -2
  1259. package/pro/squads/squad-creator-pro/docs/squad-chief-agent-flow.md +8 -8
  1260. package/pro/squads/squad-creator-pro/minds/oalanicolas/artifacts/HANDOFF_PROTOCOL.md +1 -1
  1261. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_001.md +85 -134
  1262. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_002.md +88 -179
  1263. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_003.md +82 -211
  1264. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_004.md +79 -123
  1265. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_005.md +90 -135
  1266. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_006.md +17 -0
  1267. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_007.md +83 -0
  1268. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_008.md +13 -0
  1269. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_009.md +12 -0
  1270. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_010.md +27 -2
  1271. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_011.md +72 -0
  1272. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_012.md +59 -0
  1273. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_013.md +69 -0
  1274. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_014.md +69 -0
  1275. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_015.md +83 -0
  1276. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_016.md +67 -0
  1277. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_017.md +64 -0
  1278. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_018.md +79 -0
  1279. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_019.md +69 -0
  1280. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_020.md +67 -0
  1281. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_021.md +114 -0
  1282. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_022.md +75 -0
  1283. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_023.md +60 -0
  1284. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_024.md +66 -0
  1285. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_025.md +81 -0
  1286. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_026.md +82 -0
  1287. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_027.md +85 -0
  1288. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_028.md +74 -0
  1289. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_029.md +73 -0
  1290. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_030.md +80 -0
  1291. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_031.md +78 -0
  1292. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_032.md +81 -0
  1293. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_033.md +69 -0
  1294. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_034.md +119 -0
  1295. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_035.md +120 -0
  1296. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_036.md +134 -0
  1297. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_037.md +123 -0
  1298. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_038.md +85 -0
  1299. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_039.md +74 -0
  1300. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_040.md +130 -0
  1301. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_041.md +87 -0
  1302. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_042.md +89 -0
  1303. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_043.md +78 -0
  1304. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_044.md +97 -0
  1305. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_045.md +82 -0
  1306. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_046.md +83 -0
  1307. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_047.md +77 -0
  1308. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_048.md +83 -0
  1309. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_049.md +102 -0
  1310. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_050.md +85 -0
  1311. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_051.md +90 -0
  1312. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_052.md +84 -0
  1313. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_053.md +83 -0
  1314. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_054.md +96 -0
  1315. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_055.md +137 -0
  1316. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_056.md +114 -0
  1317. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_057.md +82 -0
  1318. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_058.md +79 -0
  1319. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_059.md +88 -0
  1320. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_060.md +78 -0
  1321. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_061.md +79 -0
  1322. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_062.md +99 -0
  1323. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_063.md +73 -0
  1324. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_064.md +106 -0
  1325. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_065.md +87 -0
  1326. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_066.md +66 -0
  1327. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_067.md +65 -0
  1328. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_068.md +70 -0
  1329. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_069.md +69 -0
  1330. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_070.md +67 -0
  1331. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_071.md +87 -0
  1332. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_072.md +84 -0
  1333. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_073.md +89 -0
  1334. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_074.md +60 -0
  1335. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_075.md +87 -0
  1336. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_076.md +107 -0
  1337. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_077.md +98 -0
  1338. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_078.md +66 -0
  1339. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_079.md +91 -0
  1340. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_080.md +59 -0
  1341. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_081.md +64 -0
  1342. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_082.md +71 -0
  1343. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_083.md +62 -0
  1344. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_084.md +66 -0
  1345. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_085.md +62 -0
  1346. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_086.md +69 -0
  1347. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_087.md +74 -0
  1348. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_088.md +89 -0
  1349. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_089.md +88 -0
  1350. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_090.md +74 -0
  1351. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_091.md +76 -0
  1352. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_092.md +61 -0
  1353. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_093.md +69 -0
  1354. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_094.md +58 -0
  1355. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_095.md +58 -0
  1356. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_096.md +65 -0
  1357. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_097.md +63 -0
  1358. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_098.md +98 -0
  1359. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_099.md +97 -0
  1360. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_100.md +100 -0
  1361. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_101.md +62 -0
  1362. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_102.md +65 -0
  1363. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_103.md +60 -0
  1364. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_104.md +60 -0
  1365. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_105.md +67 -0
  1366. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_106.md +64 -0
  1367. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_107.md +63 -0
  1368. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_108.md +60 -0
  1369. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_109.md +62 -0
  1370. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_110.md +58 -0
  1371. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_111.md +88 -0
  1372. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_112.md +60 -0
  1373. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_113.md +74 -0
  1374. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_114.md +55 -0
  1375. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_115.md +126 -0
  1376. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_116.md +76 -0
  1377. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_117.md +65 -0
  1378. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_118.md +72 -0
  1379. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_119.md +58 -0
  1380. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_120.md +77 -0
  1381. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_121.md +65 -0
  1382. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_122.md +57 -0
  1383. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_123.md +63 -0
  1384. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_124.md +69 -0
  1385. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_125.md +73 -0
  1386. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_126.md +81 -0
  1387. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_127.md +77 -0
  1388. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_128.md +76 -0
  1389. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_129.md +81 -0
  1390. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_130.md +88 -0
  1391. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_131.md +85 -0
  1392. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_132.md +81 -0
  1393. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_133.md +86 -0
  1394. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/decision-cards.yaml +1010 -0
  1395. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/heuristic-analytics.md +24 -0
  1396. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_BS_001.md +7 -0
  1397. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_041.md +80 -0
  1398. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_042.md +79 -0
  1399. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_043.md +81 -0
  1400. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_044.md +83 -0
  1401. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_045.md +82 -0
  1402. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_046.md +82 -0
  1403. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_047.md +81 -0
  1404. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_048.md +77 -0
  1405. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_049.md +81 -0
  1406. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_050.md +79 -0
  1407. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_051.md +81 -0
  1408. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_052.md +81 -0
  1409. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_053.md +79 -0
  1410. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_054.md +74 -0
  1411. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_055.md +78 -0
  1412. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_056.md +78 -0
  1413. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_057.md +78 -0
  1414. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_058.md +81 -0
  1415. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_059.md +81 -0
  1416. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_060.md +82 -0
  1417. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_061.md +74 -0
  1418. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_062.md +75 -0
  1419. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_063.md +80 -0
  1420. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_064.md +75 -0
  1421. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_065.md +74 -0
  1422. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_066.md +76 -0
  1423. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_067.md +75 -0
  1424. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_068.md +78 -0
  1425. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_069.md +78 -0
  1426. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_070.md +75 -0
  1427. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_071.md +77 -0
  1428. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_072.md +76 -0
  1429. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_073.md +82 -0
  1430. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_074.md +80 -0
  1431. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_075.md +85 -0
  1432. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_076.md +81 -0
  1433. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_077.md +77 -0
  1434. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_078.md +81 -0
  1435. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_079.md +77 -0
  1436. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_080.md +81 -0
  1437. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_081.md +76 -0
  1438. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_082.md +84 -0
  1439. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_083.md +78 -0
  1440. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_084.md +76 -0
  1441. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_085.md +83 -0
  1442. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_086.md +74 -0
  1443. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_087.md +87 -0
  1444. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_088.md +75 -0
  1445. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_089.md +79 -0
  1446. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_090.md +75 -0
  1447. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_091.md +77 -0
  1448. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_092.md +81 -0
  1449. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_093.md +74 -0
  1450. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_094.md +73 -0
  1451. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_095.md +84 -0
  1452. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_096.md +78 -0
  1453. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_097.md +79 -0
  1454. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_098.md +85 -0
  1455. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_099.md +82 -0
  1456. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_100.md +81 -0
  1457. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_101.md +61 -0
  1458. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_001.md +23 -0
  1459. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_002.md +165 -0
  1460. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_003.md +164 -0
  1461. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_004.md +163 -0
  1462. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_005.md +161 -0
  1463. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_006.md +164 -0
  1464. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_007.md +162 -0
  1465. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_008.md +156 -0
  1466. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_009.md +157 -0
  1467. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_010.md +166 -0
  1468. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_011.md +161 -0
  1469. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_012.md +80 -0
  1470. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_013.md +66 -0
  1471. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_014.md +64 -0
  1472. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_015.md +61 -0
  1473. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_016.md +60 -0
  1474. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_017.md +66 -0
  1475. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_018.md +56 -0
  1476. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_019.md +63 -0
  1477. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_020.md +64 -0
  1478. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_021.md +71 -0
  1479. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_022.md +69 -0
  1480. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_023.md +56 -0
  1481. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_024.md +61 -0
  1482. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_025.md +60 -0
  1483. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_026.md +71 -0
  1484. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_027.md +65 -0
  1485. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_028.md +61 -0
  1486. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_029.md +62 -0
  1487. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_030.md +62 -0
  1488. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_031.md +62 -0
  1489. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_032.md +59 -0
  1490. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_033.md +64 -0
  1491. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_034.md +65 -0
  1492. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_035.md +62 -0
  1493. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_036.md +63 -0
  1494. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_037.md +60 -0
  1495. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_038.md +78 -0
  1496. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_039.md +58 -0
  1497. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_040.md +62 -0
  1498. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_041.md +61 -0
  1499. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PM_001.md +7 -0
  1500. package/pro/squads/squad-creator-pro/package-lock.json +38 -0
  1501. package/pro/squads/squad-creator-pro/package.json +10 -6
  1502. package/pro/squads/squad-creator-pro/requirements.txt +1 -0
  1503. package/pro/squads/squad-creator-pro/schemas/agent-persona.schema.json +78 -0
  1504. package/pro/squads/squad-creator-pro/schemas/squad-config.schema.json +146 -0
  1505. package/pro/squads/squad-creator-pro/scripts/README.md +123 -203
  1506. package/pro/squads/squad-creator-pro/scripts/WAVE-LOOP.md +157 -0
  1507. package/pro/squads/squad-creator-pro/scripts/checklist_validator.py +34 -426
  1508. package/pro/squads/squad-creator-pro/scripts/create-agent-preflight.py +2 -2
  1509. package/pro/squads/squad-creator-pro/scripts/cross-mind-linker.py +143 -0
  1510. package/pro/squads/squad-creator-pro/scripts/cross_map.json +338 -0
  1511. package/pro/squads/squad-creator-pro/scripts/dependency_check.py +8 -4
  1512. package/pro/squads/squad-creator-pro/scripts/detect-environment-contract.cjs +37 -0
  1513. package/pro/squads/squad-creator-pro/scripts/export-antigravity-workflows.cjs +12 -0
  1514. package/pro/squads/squad-creator-pro/scripts/generate-heuristic-registry.py +83 -0
  1515. package/pro/squads/squad-creator-pro/scripts/generate-squad-greeting.js +3 -3
  1516. package/pro/squads/squad-creator-pro/scripts/generate-squad-guide.js +13 -533
  1517. package/pro/squads/squad-creator-pro/scripts/inventory.py +35 -245
  1518. package/pro/squads/squad-creator-pro/scripts/lib/config-loader.js +10 -149
  1519. package/pro/squads/squad-creator-pro/scripts/lib/squad-runtime-paths.cjs +14 -0
  1520. package/pro/squads/squad-creator-pro/scripts/lib/validate-runtime-state.cjs +14 -0
  1521. package/pro/squads/squad-creator-pro/scripts/load-business-sops.cjs +460 -0
  1522. package/pro/squads/squad-creator-pro/scripts/model-usage-logger.cjs +1 -1
  1523. package/pro/squads/squad-creator-pro/scripts/modernization-score.sh +14 -14
  1524. package/pro/squads/squad-creator-pro/scripts/naming_validator.py +34 -274
  1525. package/pro/squads/squad-creator-pro/scripts/on-specialist-complete.py +72 -18
  1526. package/pro/squads/squad-creator-pro/scripts/refresh-registry.py +157 -2
  1527. package/pro/squads/squad-creator-pro/scripts/rename-squad.sh +8 -0
  1528. package/pro/squads/squad-creator-pro/scripts/save-session-metrics.py +72 -19
  1529. package/pro/squads/squad-creator-pro/scripts/scaffold-squad.cjs +8 -277
  1530. package/pro/squads/squad-creator-pro/scripts/security_scanner.py +34 -353
  1531. package/pro/squads/squad-creator-pro/scripts/squad-analytics.py +34 -560
  1532. package/pro/squads/squad-creator-pro/scripts/squad-context-loader.cjs +48 -21
  1533. package/pro/squads/squad-creator-pro/scripts/squad-state-manager.cjs +322 -66
  1534. package/pro/squads/squad-creator-pro/scripts/squad-workflow-runner.cjs +615 -202
  1535. package/pro/squads/squad-creator-pro/scripts/squad_utils.py +37 -239
  1536. package/pro/squads/squad-creator-pro/scripts/sync-chief-codex-skill.js +242 -0
  1537. package/pro/squads/squad-creator-pro/scripts/sync-ide-skills.py +59 -0
  1538. package/pro/squads/squad-creator-pro/scripts/tests/__init__.py +1 -1
  1539. package/pro/squads/squad-creator-pro/scripts/tests/test_load_business_sops.cjs +158 -0
  1540. package/pro/squads/squad-creator-pro/scripts/tests/test_modernization_score.sh +4 -4
  1541. package/pro/squads/squad-creator-pro/scripts/tests/test_refresh_registry.py +243 -253
  1542. package/pro/squads/squad-creator-pro/scripts/tests/test_security_scanner.py +2 -2
  1543. package/pro/squads/squad-creator-pro/scripts/tests/test_squad_analytics.py +210 -351
  1544. package/pro/squads/squad-creator-pro/scripts/tests/test_squad_runtime_pipeline_e2e.cjs +267 -0
  1545. package/pro/squads/squad-creator-pro/scripts/tests/test_validate_squad_runtime_state_e2e.cjs +99 -0
  1546. package/pro/squads/squad-creator-pro/scripts/tests/test_wave_loop_runtime_e2e.cjs +216 -0
  1547. package/pro/squads/squad-creator-pro/scripts/tests/test_wave_loop_runtime_unit.cjs +336 -0
  1548. package/pro/squads/squad-creator-pro/scripts/validate-clone.sh +345 -0
  1549. package/pro/squads/squad-creator-pro/scripts/validate-squad-structure.py +35 -511
  1550. package/pro/squads/squad-creator-pro/scripts/validate-squad.sh +6 -938
  1551. package/pro/squads/squad-creator-pro/scripts/validate-workspace-contract.py +204 -0
  1552. package/pro/squads/squad-creator-pro/scripts/verify-squad-completeness.sh +8 -0
  1553. package/pro/squads/squad-creator-pro/scripts/wave-loop.cjs +911 -0
  1554. package/pro/squads/squad-creator-pro/scripts/wave-loop.sh +5 -0
  1555. package/pro/squads/squad-creator-pro/scripts/yaml_validator.py +34 -503
  1556. package/pro/squads/squad-creator-pro/skills/fidelity-score.md +245 -0
  1557. package/pro/squads/squad-creator-pro/skills/squad.md +7 -14
  1558. package/pro/squads/squad-creator-pro/squad-io.yaml +49 -0
  1559. package/pro/squads/squad-creator-pro/tasks/CHANGELOG.md +38 -0
  1560. package/pro/squads/squad-creator-pro/tasks/an-assess-sources-collect.md +197 -0
  1561. package/pro/squads/squad-creator-pro/tasks/an-assess-sources-score.md +471 -0
  1562. package/pro/squads/squad-creator-pro/tasks/an-assess-sources.md +157 -58
  1563. package/pro/squads/squad-creator-pro/tasks/an-clone-review-report.md +171 -0
  1564. package/pro/squads/squad-creator-pro/tasks/an-clone-review-source-trinity.md +227 -0
  1565. package/pro/squads/squad-creator-pro/tasks/an-clone-review-stages-fidelity.md +158 -0
  1566. package/pro/squads/squad-creator-pro/tasks/an-clone-review.md +146 -77
  1567. package/pro/squads/squad-creator-pro/tasks/an-compare-outputs-score.md +340 -0
  1568. package/pro/squads/squad-creator-pro/tasks/an-compare-outputs.md +105 -305
  1569. package/pro/squads/squad-creator-pro/tasks/an-design-clone-blueprint.md +51 -0
  1570. package/pro/squads/squad-creator-pro/tasks/an-design-clone-contexts.md +48 -0
  1571. package/pro/squads/squad-creator-pro/tasks/an-design-clone-memory.md +49 -0
  1572. package/pro/squads/squad-creator-pro/tasks/an-design-clone-stages.md +48 -0
  1573. package/pro/squads/squad-creator-pro/tasks/an-design-clone-trinity.md +49 -0
  1574. package/pro/squads/squad-creator-pro/tasks/an-design-clone.md +86 -59
  1575. package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone-prescribe.md +147 -0
  1576. package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone-symptoms.md +147 -0
  1577. package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone-verify-trinity.md +200 -0
  1578. package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone.md +105 -60
  1579. package/pro/squads/squad-creator-pro/tasks/an-extract-dna-layer-extraction.md +54 -0
  1580. package/pro/squads/squad-creator-pro/tasks/an-extract-dna-report.md +55 -0
  1581. package/pro/squads/squad-creator-pro/tasks/an-extract-dna-source-assessment.md +54 -0
  1582. package/pro/squads/squad-creator-pro/tasks/an-extract-dna-thinking-dna.md +54 -0
  1583. package/pro/squads/squad-creator-pro/tasks/an-extract-dna-voice-dna.md +54 -0
  1584. package/pro/squads/squad-creator-pro/tasks/an-extract-dna.md +86 -70
  1585. package/pro/squads/squad-creator-pro/tasks/an-extract-framework-analyze.md +178 -0
  1586. package/pro/squads/squad-creator-pro/tasks/an-extract-framework-integrate.md +239 -0
  1587. package/pro/squads/squad-creator-pro/tasks/an-extract-framework-trinity.md +206 -0
  1588. package/pro/squads/squad-creator-pro/tasks/an-extract-framework.md +119 -75
  1589. package/pro/squads/squad-creator-pro/tasks/an-extract-heuristics.md +560 -0
  1590. package/pro/squads/squad-creator-pro/tasks/an-extract-session-heuristics.md +633 -0
  1591. package/pro/squads/squad-creator-pro/tasks/an-fidelity-score-calculate.md +317 -0
  1592. package/pro/squads/squad-creator-pro/tasks/an-fidelity-score.md +113 -89
  1593. package/pro/squads/squad-creator-pro/tasks/an-validate-clone-hackability.md +346 -0
  1594. package/pro/squads/squad-creator-pro/tasks/an-validate-clone.md +89 -78
  1595. package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources-consolidate.md +186 -0
  1596. package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources-expand.md +173 -0
  1597. package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources-search.md +200 -0
  1598. package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources.md +103 -285
  1599. package/pro/squads/squad-creator-pro/tasks/batch-closeout.md +96 -0
  1600. package/pro/squads/squad-creator-pro/tasks/clone-mind-quality-dashboard.md +142 -0
  1601. package/pro/squads/squad-creator-pro/tasks/clone-mind-smoke-test.md +137 -0
  1602. package/pro/squads/squad-creator-pro/tasks/clone-mind-synthesis.md +147 -0
  1603. package/pro/squads/squad-creator-pro/tasks/collect-sources-classify.md +209 -0
  1604. package/pro/squads/squad-creator-pro/tasks/collect-sources-discover.md +244 -0
  1605. package/pro/squads/squad-creator-pro/tasks/collect-sources-gap-analysis.md +201 -0
  1606. package/pro/squads/squad-creator-pro/tasks/collect-sources-quality-gate.md +227 -0
  1607. package/pro/squads/squad-creator-pro/tasks/collect-sources-validate.md +234 -0
  1608. package/pro/squads/squad-creator-pro/tasks/collect-sources.md +111 -466
  1609. package/pro/squads/squad-creator-pro/tasks/create-agent.md +101 -747
  1610. package/pro/squads/squad-creator-pro/tasks/create-documentation.md +149 -205
  1611. package/pro/squads/squad-creator-pro/tasks/create-from-sop-brief.md +139 -0
  1612. package/pro/squads/squad-creator-pro/tasks/create-from-sop-load-classify.md +173 -0
  1613. package/pro/squads/squad-creator-pro/tasks/create-from-sop-map-workflow.md +172 -0
  1614. package/pro/squads/squad-creator-pro/tasks/create-from-sop.md +130 -0
  1615. package/pro/squads/squad-creator-pro/tasks/create-greeting-script.md +148 -0
  1616. package/pro/squads/squad-creator-pro/tasks/create-pipeline.md +99 -288
  1617. package/pro/squads/squad-creator-pro/tasks/create-squad.md +135 -927
  1618. package/pro/squads/squad-creator-pro/tasks/create-task.md +102 -1125
  1619. package/pro/squads/squad-creator-pro/tasks/create-template.md +87 -456
  1620. package/pro/squads/squad-creator-pro/tasks/create-workflow.md +107 -697
  1621. package/pro/squads/squad-creator-pro/tasks/deconstruct-extract.md +221 -0
  1622. package/pro/squads/squad-creator-pro/tasks/deconstruct-synthesize.md +154 -0
  1623. package/pro/squads/squad-creator-pro/tasks/deconstruct.md +89 -133
  1624. package/pro/squads/squad-creator-pro/tasks/deep-research-check-local-knowledge.md +164 -0
  1625. package/pro/squads/squad-creator-pro/tasks/deep-research-execute.md +200 -0
  1626. package/pro/squads/squad-creator-pro/tasks/deep-research-generate-prompt.md +245 -0
  1627. package/pro/squads/squad-creator-pro/tasks/deep-research-pre-agent.md +114 -512
  1628. package/pro/squads/squad-creator-pro/tasks/deep-research-validate.md +192 -0
  1629. package/pro/squads/squad-creator-pro/tasks/delete-squad.md +104 -0
  1630. package/pro/squads/squad-creator-pro/tasks/discover-tools-execute.md +293 -0
  1631. package/pro/squads/squad-creator-pro/tasks/discover-tools.md +142 -885
  1632. package/pro/squads/squad-creator-pro/tasks/etd-assemble-output.md +183 -0
  1633. package/pro/squads/squad-creator-pro/tasks/etd-discovery.md +216 -0
  1634. package/pro/squads/squad-creator-pro/tasks/etd-extract-and-classify.md +250 -0
  1635. package/pro/squads/squad-creator-pro/tasks/etd-extract-heuristics.md +173 -0
  1636. package/pro/squads/squad-creator-pro/tasks/etd-handoff-triggers.md +166 -0
  1637. package/pro/squads/squad-creator-pro/tasks/etd-l4-card-generation.md +224 -0
  1638. package/pro/squads/squad-creator-pro/tasks/etd-objection-handling.md +167 -0
  1639. package/pro/squads/squad-creator-pro/tasks/etd-resolve-and-consolidate.md +158 -0
  1640. package/pro/squads/squad-creator-pro/tasks/evd-assemble-voice-dna.md +218 -0
  1641. package/pro/squads/squad-creator-pro/tasks/evd-collect-sources.md +176 -0
  1642. package/pro/squads/squad-creator-pro/tasks/evd-extract-dimensions.md +667 -0
  1643. package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-context-load.md +180 -0
  1644. package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-enrichment.md +181 -0
  1645. package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-filter.md +192 -0
  1646. package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-multi-lense.md +158 -0
  1647. package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-validation.md +167 -0
  1648. package/pro/squads/squad-creator-pro/tasks/extract-expert-gold.md +185 -0
  1649. package/pro/squads/squad-creator-pro/tasks/extract-implicit-analyze.md +192 -0
  1650. package/pro/squads/squad-creator-pro/tasks/extract-implicit-prioritize.md +212 -0
  1651. package/pro/squads/squad-creator-pro/tasks/extract-implicit-scan.md +231 -0
  1652. package/pro/squads/squad-creator-pro/tasks/extract-implicit-synthesize.md +176 -0
  1653. package/pro/squads/squad-creator-pro/tasks/extract-implicit-validate.md +234 -0
  1654. package/pro/squads/squad-creator-pro/tasks/extract-implicit.md +137 -317
  1655. package/pro/squads/squad-creator-pro/tasks/extract-knowledge-checklist.md +220 -0
  1656. package/pro/squads/squad-creator-pro/tasks/extract-knowledge-framework.md +244 -0
  1657. package/pro/squads/squad-creator-pro/tasks/extract-knowledge-sop.md +244 -0
  1658. package/pro/squads/squad-creator-pro/tasks/extract-knowledge-source-validation.md +191 -0
  1659. package/pro/squads/squad-creator-pro/tasks/extract-knowledge-validation.md +224 -0
  1660. package/pro/squads/squad-creator-pro/tasks/extract-knowledge.md +92 -476
  1661. package/pro/squads/squad-creator-pro/tasks/extract-sop-analyze.md +180 -0
  1662. package/pro/squads/squad-creator-pro/tasks/extract-sop-assemble.md +184 -0
  1663. package/pro/squads/squad-creator-pro/tasks/extract-sop-extract.md +178 -0
  1664. package/pro/squads/squad-creator-pro/tasks/extract-sop-prepare.md +189 -0
  1665. package/pro/squads/squad-creator-pro/tasks/extract-sop.md +129 -267
  1666. package/pro/squads/squad-creator-pro/tasks/extract-thinking-dna.md +103 -596
  1667. package/pro/squads/squad-creator-pro/tasks/extract-voice-dna.md +102 -551
  1668. package/pro/squads/squad-creator-pro/tasks/find-0-8-classify.md +203 -0
  1669. package/pro/squads/squad-creator-pro/tasks/find-0-8-recommend.md +166 -0
  1670. package/pro/squads/squad-creator-pro/tasks/find-0-8.md +136 -0
  1671. package/pro/squads/squad-creator-pro/tasks/ics-audit.md +211 -0
  1672. package/pro/squads/squad-creator-pro/tasks/ics-domain-mapping.md +172 -0
  1673. package/pro/squads/squad-creator-pro/tasks/ics-generate-scripts.md +241 -0
  1674. package/pro/squads/squad-creator-pro/tasks/ics-integration.md +182 -0
  1675. package/pro/squads/squad-creator-pro/tasks/ics-validation.md +181 -0
  1676. package/pro/squads/squad-creator-pro/tasks/install-context-stack.md +228 -0
  1677. package/pro/squads/squad-creator-pro/tasks/install-skills.md +180 -0
  1678. package/pro/squads/squad-creator-pro/tasks/lookup-model.md +61 -0
  1679. package/pro/squads/squad-creator-pro/tasks/migrate-workflows-analyze.md +154 -0
  1680. package/pro/squads/squad-creator-pro/tasks/migrate-workflows-archive.md +162 -0
  1681. package/pro/squads/squad-creator-pro/tasks/migrate-workflows-convert.md +167 -0
  1682. package/pro/squads/squad-creator-pro/tasks/migrate-workflows-to-yaml.md +77 -239
  1683. package/pro/squads/squad-creator-pro/tasks/modernize-squad.md +338 -0
  1684. package/pro/squads/squad-creator-pro/tasks/next-action-discovery.md +191 -0
  1685. package/pro/squads/squad-creator-pro/tasks/next-action-gap-map.md +220 -0
  1686. package/pro/squads/squad-creator-pro/tasks/next-action-implement.md +183 -0
  1687. package/pro/squads/squad-creator-pro/tasks/next-action.md +149 -0
  1688. package/pro/squads/squad-creator-pro/tasks/optimize-binary-checkpoints.md +114 -0
  1689. package/pro/squads/squad-creator-pro/tasks/optimize-determinism-analysis.md +164 -0
  1690. package/pro/squads/squad-creator-pro/tasks/optimize-empirical-validation.md +138 -0
  1691. package/pro/squads/squad-creator-pro/tasks/optimize-gap-zero.md +111 -0
  1692. package/pro/squads/squad-creator-pro/tasks/optimize-gatekeeper-detection.md +113 -0
  1693. package/pro/squads/squad-creator-pro/tasks/optimize-hybrid-executor.md +117 -0
  1694. package/pro/squads/squad-creator-pro/tasks/optimize-post-economy.md +158 -0
  1695. package/pro/squads/squad-creator-pro/tasks/optimize-scope-clarification.md +110 -0
  1696. package/pro/squads/squad-creator-pro/tasks/optimize-workflow-apply.md +142 -0
  1697. package/pro/squads/squad-creator-pro/tasks/optimize-workflow-checkpoints.md +108 -0
  1698. package/pro/squads/squad-creator-pro/tasks/optimize-workflow-executor-distribution.md +107 -0
  1699. package/pro/squads/squad-creator-pro/tasks/optimize-workflow-gap-zero.md +113 -0
  1700. package/pro/squads/squad-creator-pro/tasks/optimize-workflow-parallelization.md +107 -0
  1701. package/pro/squads/squad-creator-pro/tasks/optimize-workflow-phase-necessity.md +139 -0
  1702. package/pro/squads/squad-creator-pro/tasks/optimize-workflow-report.md +146 -0
  1703. package/pro/squads/squad-creator-pro/tasks/optimize-workflow.md +119 -831
  1704. package/pro/squads/squad-creator-pro/tasks/optimize.md +149 -1059
  1705. package/pro/squads/squad-creator-pro/tasks/parallel-discovery.md +56 -3
  1706. package/pro/squads/squad-creator-pro/tasks/plan-squad-architecture.md +34 -0
  1707. package/pro/squads/squad-creator-pro/tasks/plan-squad-challenge-reorder.md +34 -0
  1708. package/pro/squads/squad-creator-pro/tasks/plan-squad-contract.md +38 -0
  1709. package/pro/squads/squad-creator-pro/tasks/plan-squad-depth-calibration.md +34 -0
  1710. package/pro/squads/squad-creator-pro/tasks/plan-squad-domain-mapping.md +32 -0
  1711. package/pro/squads/squad-creator-pro/tasks/plan-squad-prd-assembly.md +37 -0
  1712. package/pro/squads/squad-creator-pro/tasks/plan-squad-roadmap.md +32 -0
  1713. package/pro/squads/squad-creator-pro/tasks/plan-squad.md +90 -0
  1714. package/pro/squads/squad-creator-pro/tasks/pv-audit-deep-dive.md +157 -0
  1715. package/pro/squads/squad-creator-pro/tasks/pv-audit-overview.md +157 -0
  1716. package/pro/squads/squad-creator-pro/tasks/pv-audit-sample.md +188 -0
  1717. package/pro/squads/squad-creator-pro/tasks/pv-audit.md +118 -191
  1718. package/pro/squads/squad-creator-pro/tasks/pv-axioma-assessment.md +89 -0
  1719. package/pro/squads/squad-creator-pro/tasks/pv-modernization-score.md +87 -8
  1720. package/pro/squads/squad-creator-pro/tasks/qa-after-creation.md +94 -455
  1721. package/pro/squads/squad-creator-pro/tasks/qualify-task.md +93 -241
  1722. package/pro/squads/squad-creator-pro/tasks/refresh-registry-enrich.md +171 -0
  1723. package/pro/squads/squad-creator-pro/tasks/refresh-registry-scan.md +173 -0
  1724. package/pro/squads/squad-creator-pro/tasks/refresh-registry-write.md +192 -0
  1725. package/pro/squads/squad-creator-pro/tasks/refresh-registry.md +111 -351
  1726. package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-comparison.md +49 -0
  1727. package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-execution.md +49 -0
  1728. package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-lookup.md +49 -0
  1729. package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-preflight.md +48 -0
  1730. package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-report.md +51 -0
  1731. package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing.md +84 -146
  1732. package/pro/squads/squad-creator-pro/tasks/squad-analytics.md +141 -214
  1733. package/pro/squads/squad-creator-pro/tasks/squad-fusion-cleanup.md +93 -0
  1734. package/pro/squads/squad-creator-pro/tasks/squad-fusion-command-sync.md +97 -0
  1735. package/pro/squads/squad-creator-pro/tasks/squad-fusion-deduplication.md +234 -0
  1736. package/pro/squads/squad-creator-pro/tasks/squad-fusion-discovery.md +98 -0
  1737. package/pro/squads/squad-creator-pro/tasks/squad-fusion-execution.md +246 -0
  1738. package/pro/squads/squad-creator-pro/tasks/squad-fusion-initialize.md +247 -0
  1739. package/pro/squads/squad-creator-pro/tasks/squad-fusion-integration.md +95 -0
  1740. package/pro/squads/squad-creator-pro/tasks/squad-fusion-resolution.md +205 -0
  1741. package/pro/squads/squad-creator-pro/tasks/squad-fusion-scope.md +95 -0
  1742. package/pro/squads/squad-creator-pro/tasks/squad-fusion-structure.md +128 -0
  1743. package/pro/squads/squad-creator-pro/tasks/squad-fusion-validation.md +96 -0
  1744. package/pro/squads/squad-creator-pro/tasks/squad-fusion.md +115 -784
  1745. package/pro/squads/squad-creator-pro/tasks/sync-chief-codex-skill.md +107 -0
  1746. package/pro/squads/squad-creator-pro/tasks/sync-ide-skills.md +192 -0
  1747. package/pro/squads/squad-creator-pro/tasks/update-mind-apply.md +207 -0
  1748. package/pro/squads/squad-creator-pro/tasks/update-mind-extract-merge.md +257 -0
  1749. package/pro/squads/squad-creator-pro/tasks/update-mind-extract.md +201 -0
  1750. package/pro/squads/squad-creator-pro/tasks/update-mind-load-snapshot.md +177 -0
  1751. package/pro/squads/squad-creator-pro/tasks/update-mind-load.md +173 -0
  1752. package/pro/squads/squad-creator-pro/tasks/update-mind-merge.md +193 -0
  1753. package/pro/squads/squad-creator-pro/tasks/update-mind.md +113 -364
  1754. package/pro/squads/squad-creator-pro/tasks/upgrade-squad-apply.md +104 -0
  1755. package/pro/squads/squad-creator-pro/tasks/upgrade-squad-gap.md +110 -0
  1756. package/pro/squads/squad-creator-pro/tasks/upgrade-squad-inventory.md +110 -0
  1757. package/pro/squads/squad-creator-pro/tasks/upgrade-squad-plan.md +107 -0
  1758. package/pro/squads/squad-creator-pro/tasks/upgrade-squad-qualitative.md +104 -0
  1759. package/pro/squads/squad-creator-pro/tasks/upgrade-squad-verify.md +106 -0
  1760. package/pro/squads/squad-creator-pro/tasks/upgrade-squad.md +143 -907
  1761. package/pro/squads/squad-creator-pro/tasks/validate-extraction-adversarial.md +182 -0
  1762. package/pro/squads/squad-creator-pro/tasks/validate-extraction-checklist.md +155 -0
  1763. package/pro/squads/squad-creator-pro/tasks/validate-extraction-gate.md +175 -0
  1764. package/pro/squads/squad-creator-pro/tasks/validate-extraction.md +114 -172
  1765. package/pro/squads/squad-creator-pro/tasks/validate-squad-contextual.md +120 -0
  1766. package/pro/squads/squad-creator-pro/tasks/validate-squad-cross-references.md +122 -0
  1767. package/pro/squads/squad-creator-pro/tasks/validate-squad-deterministic.md +261 -0
  1768. package/pro/squads/squad-creator-pro/tasks/validate-squad-quality.md +138 -0
  1769. package/pro/squads/squad-creator-pro/tasks/validate-squad-verdict.md +183 -0
  1770. package/pro/squads/squad-creator-pro/tasks/validate-squad.md +102 -1352
  1771. package/pro/squads/squad-creator-pro/tasks/workspace-integration-hardening.md +187 -0
  1772. package/pro/squads/squad-creator-pro/templates/agent-flow-doc-tmpl.md +3 -3
  1773. package/pro/squads/squad-creator-pro/templates/agent-tmpl.md +1 -1
  1774. package/pro/squads/squad-creator-pro/templates/config-tmpl.yaml +87 -5
  1775. package/pro/squads/squad-creator-pro/templates/cross-domain-handoff-tmpl.yaml +17 -0
  1776. package/pro/squads/squad-creator-pro/templates/journey-log-tmpl.yaml +75 -0
  1777. package/pro/squads/squad-creator-pro/templates/pop-extractor-prompt.md +4 -4
  1778. package/pro/squads/squad-creator-pro/templates/quality-gate-tmpl.yaml +4 -4
  1779. package/pro/squads/squad-creator-pro/templates/readme-tmpl.md +5 -5
  1780. package/pro/squads/squad-creator-pro/templates/report-tmpl.yaml +14 -0
  1781. package/pro/squads/squad-creator-pro/templates/session-heuristic-tmpl.md +100 -0
  1782. package/pro/squads/squad-creator-pro/templates/squad-prd-deep-tmpl.md +434 -0
  1783. package/pro/squads/squad-creator-pro/templates/task-tmpl.md +1 -1
  1784. package/pro/squads/squad-creator-pro/templates/workflow-doc-tmpl.md +2 -2
  1785. package/pro/squads/squad-creator-pro/templates/workflow-tmpl.yaml +4 -4
  1786. package/pro/squads/squad-creator-pro/test-cases/BATCH-PROGRESS.md +3 -3
  1787. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/README.md +1 -1
  1788. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/TEST-REPORT-v2.1.md +2 -2
  1789. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/VERIFICATION-CHECKLIST.txt +2 -2
  1790. package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/opus-baseline.yaml +2 -2
  1791. package/pro/squads/squad-creator-pro/test-cases/create-task/test-case.yaml +2 -2
  1792. package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/opus-baseline.yaml +3 -3
  1793. package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/opus-baseline.yaml +1 -1
  1794. package/pro/squads/squad-creator-pro/test-cases/upgrade-squad/test-case.yaml +3 -3
  1795. package/pro/squads/squad-creator-pro/test-cases/validate-squad/opus-round-3-v4-task.yaml +1 -1
  1796. package/pro/squads/squad-creator-pro/workflows/create-squad.yaml +219 -267
  1797. package/pro/squads/squad-creator-pro/workflows/modules/module-discovery.yaml +3 -3
  1798. package/pro/squads/squad-creator-pro/workflows/modules/module-integration.yaml +19 -1
  1799. package/pro/squads/squad-creator-pro/workflows/modules/module-quality-gates.yaml +6 -1
  1800. package/pro/squads/squad-creator-pro/workflows/validate-squad.yaml +461 -491
  1801. package/pro/squads/squad-creator-pro/workflows/wf-assess-sources.yaml +62 -0
  1802. package/pro/squads/squad-creator-pro/workflows/wf-auto-acquire-sources.yaml +258 -256
  1803. package/pro/squads/squad-creator-pro/workflows/wf-brownfield-upgrade-squad.yaml +115 -19
  1804. package/pro/squads/squad-creator-pro/workflows/wf-clone-mind.yaml +327 -241
  1805. package/pro/squads/squad-creator-pro/workflows/wf-clone-review.yaml +111 -0
  1806. package/pro/squads/squad-creator-pro/workflows/wf-collect-sources.yaml +104 -0
  1807. package/pro/squads/squad-creator-pro/workflows/wf-compare-outputs.yaml +77 -0
  1808. package/pro/squads/squad-creator-pro/workflows/wf-context-aware-create-squad.yaml +150 -20
  1809. package/pro/squads/squad-creator-pro/workflows/wf-create-from-sop.yaml +117 -0
  1810. package/pro/squads/squad-creator-pro/workflows/wf-create-pipeline.yaml +19 -0
  1811. package/pro/squads/squad-creator-pro/workflows/wf-create-squad.yaml +1053 -909
  1812. package/pro/squads/squad-creator-pro/workflows/wf-create-task.yaml +22 -0
  1813. package/pro/squads/squad-creator-pro/workflows/wf-create-template.yaml +17 -0
  1814. package/pro/squads/squad-creator-pro/workflows/wf-create-workflow.yaml +22 -0
  1815. package/pro/squads/squad-creator-pro/workflows/wf-cross-provider-qualification.yaml +289 -340
  1816. package/pro/squads/squad-creator-pro/workflows/wf-deconstruct.yaml +92 -0
  1817. package/pro/squads/squad-creator-pro/workflows/wf-deep-research.yaml +148 -0
  1818. package/pro/squads/squad-creator-pro/workflows/wf-design-clone.yaml +103 -0
  1819. package/pro/squads/squad-creator-pro/workflows/wf-diagnose-clone.yaml +115 -0
  1820. package/pro/squads/squad-creator-pro/workflows/wf-discover-tools.yaml +881 -609
  1821. package/pro/squads/squad-creator-pro/workflows/wf-extract-dna.yaml +103 -0
  1822. package/pro/squads/squad-creator-pro/workflows/wf-extract-expert-gold.yaml +101 -0
  1823. package/pro/squads/squad-creator-pro/workflows/wf-extract-framework.yaml +108 -0
  1824. package/pro/squads/squad-creator-pro/workflows/wf-extract-implicit.yaml +101 -0
  1825. package/pro/squads/squad-creator-pro/workflows/wf-extract-knowledge.yaml +162 -0
  1826. package/pro/squads/squad-creator-pro/workflows/wf-extract-sop.yaml +143 -0
  1827. package/pro/squads/squad-creator-pro/workflows/wf-extract-thinking-dna.yaml +210 -0
  1828. package/pro/squads/squad-creator-pro/workflows/wf-extract-voice-dna.yaml +76 -0
  1829. package/pro/squads/squad-creator-pro/workflows/wf-extraction-pipeline.yaml +267 -278
  1830. package/pro/squads/squad-creator-pro/workflows/wf-fidelity-score.yaml +88 -0
  1831. package/pro/squads/squad-creator-pro/workflows/wf-find-08.yaml +71 -0
  1832. package/pro/squads/squad-creator-pro/workflows/wf-install-context-stack.yaml +88 -0
  1833. package/pro/squads/squad-creator-pro/workflows/wf-install-workspace-context.yaml +764 -0
  1834. package/pro/squads/squad-creator-pro/workflows/wf-migrate-workflows.yaml +103 -0
  1835. package/pro/squads/squad-creator-pro/workflows/wf-mind-research-loop.yaml +364 -361
  1836. package/pro/squads/squad-creator-pro/workflows/wf-model-tier-qualification.yaml +297 -360
  1837. package/pro/squads/squad-creator-pro/workflows/wf-modernize-squad.yaml +178 -0
  1838. package/pro/squads/squad-creator-pro/workflows/wf-next-action.yaml +113 -0
  1839. package/pro/squads/squad-creator-pro/workflows/wf-optimize-squad.yaml +450 -373
  1840. package/pro/squads/squad-creator-pro/workflows/wf-optimize-workflow.yaml +122 -0
  1841. package/pro/squads/squad-creator-pro/workflows/wf-optimize-yolo.yaml +595 -0
  1842. package/pro/squads/squad-creator-pro/workflows/wf-plan-squad.yaml +255 -0
  1843. package/pro/squads/squad-creator-pro/workflows/wf-pv-audit.yaml +115 -0
  1844. package/pro/squads/squad-creator-pro/workflows/wf-refresh-registry.yaml +110 -0
  1845. package/pro/squads/squad-creator-pro/workflows/wf-research-then-create-agent.yaml +489 -552
  1846. package/pro/squads/squad-creator-pro/workflows/wf-smoke-test-model-routing.yaml +103 -0
  1847. package/pro/squads/squad-creator-pro/workflows/wf-squad-fusion.yaml +697 -690
  1848. package/pro/squads/squad-creator-pro/workflows/wf-update-mind.yaml +148 -0
  1849. package/pro/squads/squad-creator-pro/workflows/wf-upgrade-squad.yaml +141 -0
  1850. package/pro/squads/squad-creator-pro/workflows/wf-validate-clone.yaml +120 -0
  1851. package/pro/squads/squad-creator-pro/workflows/wf-validate-extraction.yaml +111 -0
  1852. package/pro/squads/squad-creator-pro/workflows/wf-workspace-integration-hardening.yaml +119 -0
  1853. package/pro/squads/storytelling/CHANGELOG.md +30 -0
  1854. package/pro/squads/storytelling/HEADLINE.md +3 -0
  1855. package/pro/squads/storytelling/README.md +137 -0
  1856. package/pro/squads/storytelling/agents/blake-snyder.md +451 -0
  1857. package/pro/squads/storytelling/agents/dan-harmon.md +742 -0
  1858. package/pro/squads/storytelling/agents/donald-miller.md +662 -0
  1859. package/pro/squads/storytelling/agents/joseph-campbell.md +625 -0
  1860. package/pro/squads/storytelling/agents/keith-johnstone.md +467 -0
  1861. package/pro/squads/storytelling/agents/kindra-hall.md +953 -0
  1862. package/pro/squads/storytelling/agents/marshall-ganz.md +473 -0
  1863. package/pro/squads/storytelling/agents/matthew-dicks.md +526 -0
  1864. package/pro/squads/storytelling/agents/nancy-duarte.md +528 -0
  1865. package/pro/squads/storytelling/agents/oren-klaff.md +785 -0
  1866. package/pro/squads/storytelling/agents/park-howell.md +807 -0
  1867. package/pro/squads/storytelling/agents/shawn-coyne.md +540 -0
  1868. package/pro/squads/storytelling/agents/story-chief.md +409 -0
  1869. package/pro/squads/storytelling/checklists/story-quality-checklist.md +100 -0
  1870. package/pro/squads/storytelling/config.yaml +248 -0
  1871. package/pro/squads/storytelling/data/story-mappings.yaml +200 -0
  1872. package/pro/squads/storytelling/docs/.gitkeep +0 -0
  1873. package/pro/squads/storytelling/research/blake-snyder-save-the-cat-research.md +958 -0
  1874. package/pro/squads/storytelling/research/donald-miller-storybrand-research.md +1205 -0
  1875. package/pro/squads/storytelling/research/joseph-campbell-heros-journey-research.md +1170 -0
  1876. package/pro/squads/storytelling/research/keith-johnstone-improv-spontaneity-research.md +574 -0
  1877. package/pro/squads/storytelling/research/marshall-ganz-public-narrative-research.md +658 -0
  1878. package/pro/squads/storytelling/research/nancy-duarte-sparkline-research.md +892 -0
  1879. package/pro/squads/storytelling/research/shawn-coyne-story-grid-research.md +760 -0
  1880. package/pro/squads/storytelling/scripts/generate-story-greeting.cjs +140 -0
  1881. package/pro/squads/storytelling/scripts/load-context.cjs +141 -0
  1882. package/pro/squads/storytelling/scripts/resolve-readiness.cjs +45 -0
  1883. package/pro/squads/storytelling/scripts/runtime-paths.cjs +44 -0
  1884. package/pro/squads/storytelling/scripts/set-active-context.cjs +108 -0
  1885. package/pro/squads/storytelling/scripts/show-context.cjs +22 -0
  1886. package/pro/squads/storytelling/squad-io.yaml +573 -0
  1887. package/pro/squads/storytelling/tasks/apply-abt.md +856 -0
  1888. package/pro/squads/storytelling/tasks/apply-beat-sheet.md +1245 -0
  1889. package/pro/squads/storytelling/tasks/apply-heros-journey.md +1100 -0
  1890. package/pro/squads/storytelling/tasks/apply-save-the-cat.md +1075 -0
  1891. package/pro/squads/storytelling/tasks/apply-story-circle.md +1116 -0
  1892. package/pro/squads/storytelling/tasks/craft-personal-story.md +1004 -0
  1893. package/pro/squads/storytelling/tasks/craft-public-narrative.md +1193 -0
  1894. package/pro/squads/storytelling/tasks/craft-ted-talk.md +773 -0
  1895. package/pro/squads/storytelling/tasks/create-brandscript.md +1376 -0
  1896. package/pro/squads/storytelling/tasks/create-business-story.md +1472 -0
  1897. package/pro/squads/storytelling/tasks/create-pitch.md +1128 -0
  1898. package/pro/squads/storytelling/tasks/diagnose-story-grid.md +979 -0
  1899. package/pro/squads/storytelling/tasks/improvise-story.md +772 -0
  1900. package/pro/squads/storytelling/templates/narrative-output-tmpl.md +44 -0
  1901. package/pro/squads/storytelling/workflows/story-creation.yaml +80 -0
  1902. package/scripts/validate-package-completeness.js +4 -1
  1903. package/.aiox-core/core/execution/predictive-pipeline.js +0 -1283
  1904. package/.aiox-core/core/memory/decision-memory.js +0 -564
  1905. package/.aiox-core/data/registry-update-log.jsonl +0 -2
  1906. package/pro/squads/mmos-squad/minds/alex_hormozi/artifacts/ARQUITETURA_COGNITIVA_DE_ALEX_HORMOZI_EXTRA/303/207/303/203O_COMPLETA.md +0 -215
  1907. package/pro/squads/mmos-squad/minds/alex_hormozi/artifacts/A_Rotina_de_Alta_Performance_de_Alex_Hormozi_Arquitetura,_Motiva/303/247/303/265es_e_Replica/303/247/303/243o.md +0 -309
  1908. package/pro/squads/mmos-squad/minds/alex_hormozi/artifacts/O_sistema_completo_de_cria/303/247/303/243o_de_conte/303/272do_de_Alex_Hormozi.md +0 -416
  1909. package/pro/squads/mmos-squad/minds/brad_frost/.backup/2026-01-13/artifacts/DECIS/303/225ES_ESTRAT/303/211GICAS_DE_DESIGN_SYSTEMS_(2022_2025).md +0 -1038
  1910. package/pro/squads/mmos-squad/minds/brad_frost/.backup/2026-01-13/artifacts/FRAMEWORK_COMPLETO_DE_IMPLEMENTA/303/207/303/203O_ATOMIC_DESIGN.md +0 -797
  1911. package/pro/squads/mmos-squad/minds/brad_frost/.backup/2026-01-13/artifacts/O_Cemit/303/251rio_de_Design_Systems.md +0 -447
  1912. package/pro/squads/mmos-squad/minds/brad_frost/.backup/2026-01-13/artifacts/PRINC/303/215PIOS_DE_RACIOC/303/215NIO.md +0 -190
  1913. package/pro/squads/mmos-squad/minds/brad_frost/artifacts/DECIS/303/225ES_ESTRAT/303/211GICAS_DE_DESIGN_SYSTEMS_(2022_2025).md +0 -1038
  1914. package/pro/squads/mmos-squad/minds/brad_frost/artifacts/FRAMEWORK_COMPLETO_DE_IMPLEMENTA/303/207/303/203O_ATOMIC_DESIGN.md +0 -797
  1915. package/pro/squads/mmos-squad/minds/brad_frost/artifacts/O_Cemit/303/251rio_de_Design_Systems.md +0 -447
  1916. package/pro/squads/mmos-squad/minds/brad_frost/artifacts/PRINC/303/215PIOS_DE_RACIOC/303/215NIO.md +0 -190
  1917. package/pro/squads/mmos-squad/minds/elon_musk/artifacts/AN/303/201LISE_PSICOM/303/211TRICA_PROFUNDA_ELON_MUSK.md +0 -291
  1918. package/pro/squads/mmos-squad/minds/elon_musk/artifacts/ASSINATURA_LINGU/303/215STICA_ELON_MUSK.md +0 -485
  1919. package/pro/squads/mmos-squad/minds/elon_musk/artifacts/A_Arquitetura_Mental_de_Elon_Musk_Uma_An/303/241lise_Sistem/303/241tica_dos_Frameworks_de_Pensamento.md +0 -907
  1920. package/pro/squads/mmos-squad/minds/elon_musk/artifacts/Dossi/303/252_Estrat/303/251gico_A_Arquitetura_Psicol/303/263gica_de_Elon_Musk.md +0 -252
  1921. package/pro/squads/mmos-squad/minds/elon_musk/artifacts/Os_Padr/303/265es_de_Leitura_de_Elon_Musk_e_Sua_Influ/303/252ncia_Sistem/303/241tica.md +0 -287
  1922. package/pro/squads/mmos-squad/minds/elon_musk/artifacts/Uma_an/303/241lise_psicol/303/263gica_abrangente.md +0 -187
  1923. package/pro/squads/mmos-squad/minds/eugene_schwartz/artifacts/AN/303/201LISE_PSICOM/303/211TRICA_PROFUNDA_EUGENE_M._SCHWARTZ.md +0 -790
  1924. package/pro/squads/mmos-squad/minds/eugene_schwartz/artifacts/An/303/241lise_Completa_Eugene_Schwartz_Arquitetura_Cognitiva_DEEP.md +0 -210
  1925. package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/5H_EXTRA/303/207/303/203O_COGNITIVA_COMPLETA_PEDRO_VAL/303/211RIO_LOPEZ.md +0 -226
  1926. package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/AN/303/201LISE_COMPARATIVA_REVISADA_PEDRO_VAL/303/211RIO_LOPEZ.md +0 -246
  1927. package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/AN/303/201LISE_LINGU/303/215STICA_CARIOCA_PEDRO_VAL/303/211RIO_LOPEZ.md +0 -274
  1928. package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/AN/303/201LISE_PSICOM/303/211TRICA_DEFINITIVA_PEDRO_VAL/303/211RIO_LOPEZ.md +0 -821
  1929. package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/AN/303/201LISE_PSICOM/303/211TRICA_PROFUNDA_PEDRO_VAL/303/211RIO.md +0 -1844
  1930. package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/C/303/201LCULO_DE_RARIDADE_ESTAT/303/215STICA_PEDRO_VAL/303/211RIO_LOPEZ.md +0 -154
  1931. package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/EXTRA/303/207/303/203O_PEDRO_VAL/303/211RIO.md +0 -237
  1932. package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/MAPEAMENTO_LINGU/303/215STICO_PROFUNDO.md +0 -161
  1933. package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/META_AXIOMAS_DE_PEDRO_VAL/303/211RIO.md +0 -256
  1934. package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/SISTEMA_IMUNOL/303/223GICO_COGNITIVO_PEDRO_VAL/303/211RIO_LOPEZ.md +0 -586
  1935. package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/SISTEMA_IMUNOL/303/223GICO_COGNITIVO_V2_/342/200/224_CLONE_IA.md +0 -452
  1936. package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/TABELA_COMPARATIVA_AN/303/201LISE_COMPLETA_DOS_CLONES_IA.md +0 -102
  1937. package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/WHATSAPP_PADR/303/225ES_LINGU/303/215STICOS_PEDRO_VAL/303/211RIO_LOPEZ.md +0 -286
  1938. package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/heur/303/255sticas_de_decis/303/243o_e_algoritmos_mentais_/303/272nicos.md +0 -268
  1939. package/pro/squads/mmos-squad/minds/ray_kurzweil/sources/books/PROTOCOLO_COMPLETO_DE_INTERROGA/303/207/303/203O_-_NAVAL_RAVIKANT.md +0 -3624
  1940. package/pro/squads/mmos-squad/minds/steve_jobs/artifacts/FRAMEWORK_COMPLETO_DE_IMPLEMENTA/303/207/303/203O_JOBS.md +0 -488
  1941. package/pro/squads/mmos-squad/minds/steve_jobs/artifacts/Framework_Cabe/303/247a_Steve.md +0 -257
  1942. package/pro/squads/mmos-squad/minds/steve_jobs/artifacts/Relat/303/263rio_Abrangente_sobre_Steve_Jobs_para_Cria/303/247/303/243o_de_Clone_de_IA.md +0 -370
  1943. package/pro/squads/mmos-squad/minds/steve_jobs/artifacts/Steve_Jobs_An/303/241lise_Psicol/303/263gica_Profunda_e_Valida/303/247/303/243o_Comportamental.md +0 -65
  1944. package/pro/squads/squad-creator-pro/assessments/axioma-assessment-wf-create-squad.yaml +0 -325
  1945. package/pro/squads/squad-creator-pro/checklists/create-agent-checklist.md +0 -184
  1946. package/pro/squads/squad-creator-pro/checklists/create-workflow-checklist.md +0 -224
  1947. package/pro/squads/squad-creator-pro/checklists/squad-overview-checklist.md +0 -393
  1948. package/pro/squads/squad-creator-pro/docs/ADR-001-model-tier-qualification.md +0 -344
  1949. package/pro/squads/squad-creator-pro/docs/AGENT-COLLABORATION.md +0 -609
  1950. package/pro/squads/squad-creator-pro/docs/MIGRATION-PLAN-AGENT-CONFORMITY.md +0 -861
  1951. package/pro/squads/squad-creator-pro/docs/MIGRATION-ROADMAP-HYBRIDOPS.md +0 -1161
  1952. package/pro/squads/squad-creator-pro/docs/MODEL-TIER-QUALIFICATION.md +0 -337
  1953. package/pro/squads/squad-creator-pro/docs/RFC-001-deterministic-refactoring.md +0 -463
  1954. package/pro/squads/squad-creator-pro/docs/optimize-v4-proposal.md +0 -354
  1955. package/pro/squads/squad-creator-pro/docs/session-report-2026-02-01.md +0 -411
  1956. package/pro/squads/squad-creator-pro/docs/validation-report-2026-02-01.md +0 -439
  1957. package/pro/squads/squad-creator-pro/protocols/ai-first-governance.md +0 -63
  1958. package/pro/squads/squad-creator-pro/scripts/__pycache__/dependency_check.cpython-314.pyc +0 -0
  1959. package/pro/squads/squad-creator-pro/scripts/__pycache__/inventory.cpython-314.pyc +0 -0
  1960. package/pro/squads/squad-creator-pro/scripts/__pycache__/naming_validator.cpython-314.pyc +0 -0
  1961. package/pro/squads/squad-creator-pro/scripts/__pycache__/quality_gate.cpython-314.pyc +0 -0
  1962. package/pro/squads/squad-creator-pro/scripts/__pycache__/scoring.cpython-314.pyc +0 -0
  1963. package/pro/squads/squad-creator-pro/scripts/__pycache__/yaml_validator.cpython-314.pyc +0 -0
  1964. package/pro/squads/squad-creator-pro/scripts/sync-ide-command.py +0 -590
  1965. package/pro/squads/squad-creator-pro/squad.yaml +0 -36
  1966. package/pro/squads/squad-creator-pro/tasks/detect-squad-context.md +0 -81
  1967. package/pro/squads/squad-creator-pro/tasks/find-0.8.md +0 -222
  1968. package/pro/squads/squad-creator-pro/tasks/install-commands.md +0 -373
  1969. package/pro/squads/squad-creator-pro/tasks/next-squad.md +0 -487
  1970. package/pro/squads/squad-creator-pro/tasks/pv-axioma-assessment-wf-clone-mind.yaml +0 -256
  1971. package/pro/squads/squad-creator-pro/tasks/reexecute-squad-phase.md +0 -64
  1972. package/pro/squads/squad-creator-pro/tasks/squad-overview.md +0 -683
  1973. package/pro/squads/squad-creator-pro/tasks/sync-ide-command.md +0 -392
  1974. package/pro/squads/squad-creator-pro/tasks/validate-final-artifacts.md +0 -80
  1975. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-output.yaml +0 -366
  1976. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.1-output.yaml +0 -452
  1977. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.2.1-output.yaml +0 -281
  1978. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.2.2-output.yaml +0 -332
  1979. package/pro/squads/squad-creator-pro/test-cases/an-clone-review/haiku-round-1.yaml +0 -213
  1980. package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/haiku-round-1.yaml +0 -262
  1981. package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/haiku-round-1.yaml +0 -282
  1982. package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/haiku-output.yaml +0 -209
  1983. package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/haiku-round-1.yaml +0 -393
  1984. package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/haiku-round-1.yaml +0 -292
  1985. package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-1-MINE.yaml +0 -36
  1986. package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-1.yaml +0 -193
  1987. package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-2.yaml +0 -303
  1988. package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-3-v4-task.yaml +0 -149
  1989. package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/haiku-output-v2-calibrated.yaml +0 -200
  1990. package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/haiku-output.yaml +0 -183
  1991. /package/pro/squads/{mmos-squad/minds/alex_hormozi/artifacts/Processo_Cria/303/247/303/243o_Conte/303/272do_Hormozi.md" → claude-code-mastery/docs/.gitkeep} +0 -0
  1992. /package/pro/squads/{squad-creator-pro → squad-creator}/HEADLINE.md +0 -0
  1993. /package/pro/squads/{squad-creator-pro → squad-creator}/checklists/smoke-test-agent.md +0 -0
  1994. /package/pro/squads/{squad-creator-pro → squad-creator}/data/executor-decision-tree.md +0 -0
  1995. /package/pro/squads/{squad-creator-pro → squad-creator}/data/pipeline-patterns.md +0 -0
  1996. /package/pro/squads/{squad-creator-pro → squad-creator}/data/squad-type-definitions.yaml +0 -0
  1997. /package/pro/squads/{squad-creator-pro → squad-creator}/docs/TROUBLESHOOTING.md +0 -0
  1998. /package/pro/squads/{squad-creator-pro → squad-creator}/docs/task-optimization-framework.md +0 -0
  1999. /package/pro/squads/{squad-creator-pro → squad-creator}/templates/handoff-insumos-tmpl.yaml +0 -0
  2000. /package/pro/squads/{squad-creator-pro → squad-creator}/templates/orchestrator-tmpl.md +0 -0
  2001. /package/pro/squads/{squad-creator-pro → squad-creator}/templates/pipeline-progress-tmpl.py +0 -0
  2002. /package/pro/squads/{squad-creator-pro → squad-creator}/templates/pipeline-runner-tmpl.py +0 -0
  2003. /package/pro/squads/{squad-creator-pro → squad-creator}/templates/pipeline-state-tmpl.py +0 -0
  2004. /package/pro/squads/{squad-creator-pro → squad-creator}/templates/quality-dashboard-tmpl.md +0 -0
  2005. /package/pro/squads/{squad-creator-pro → squad-creator}/templates/squad-readme-tmpl.md +0 -0
@@ -1,78 +1,215 @@
1
- # wf-create-squad.yaml
2
- # Master Workflow: Complete Squad Creation Orchestration
3
- # Version: 2.7
4
- # Last Updated: 2026-02-10
5
-
6
- # ═══════════════════════════════════════════════════════════════════════════════
7
- # WORKFLOW METADATA
8
- # ═══════════════════════════════════════════════════════════════════════════════
9
-
10
1
  workflow:
11
2
  id: wf-create-squad
12
- name: "Create Complete Squad"
13
- version: "2.6"
14
- purpose: "Orchestrate the complete creation of an AIOS squad from research to validation"
3
+ name: Create Complete Squad
4
+ version: "2.11"
5
+ purpose: Orchestrate the complete creation of an AIOX squad from research to validation
6
+ description: Legacy phase-based orchestration for complete squad creation (pro).
7
+ type: orchestration
8
+ state_machine:
9
+ states: [init, discovery, deep-tool-discovery, research, architecture, creation, integration, validation, handoff, fix-cycle, phase_3_handoff_cdt, complete, failed]
10
+ transitions:
11
+ - trigger: start
12
+ source: init
13
+ dest: discovery
14
+ - trigger: discovery_complete
15
+ source: discovery
16
+ dest: deep-tool-discovery
17
+ - trigger: discovery_failed
18
+ source: discovery
19
+ dest: failed
20
+ - trigger: deep_tool_discovery_complete
21
+ source: deep-tool-discovery
22
+ dest: research
23
+ - trigger: deep_tool_discovery_failed
24
+ source: deep-tool-discovery
25
+ dest: failed
26
+ - trigger: research_complete
27
+ source: research
28
+ dest: architecture
29
+ - trigger: research_failed
30
+ source: research
31
+ dest: failed
32
+ - trigger: architecture_complete
33
+ source: architecture
34
+ dest: creation
35
+ - trigger: architecture_failed
36
+ source: architecture
37
+ dest: failed
38
+ - trigger: creation_complete
39
+ source: creation
40
+ dest: integration
41
+ - trigger: creation_failed
42
+ source: creation
43
+ dest: failed
44
+ - trigger: integration_complete
45
+ source: integration
46
+ dest: validation
47
+ - trigger: integration_failed
48
+ source: integration
49
+ dest: failed
50
+ - trigger: validation_complete
51
+ source: validation
52
+ dest: handoff
53
+ - trigger: validation_failed
54
+ source: validation
55
+ dest: fix-cycle
56
+ - trigger: handoff_complete
57
+ source: handoff
58
+ dest: complete
59
+ - trigger: handoff_failed
60
+ source: handoff
61
+ dest: fix-cycle
62
+ - trigger: fix_cycle_complete
63
+ source: fix-cycle
64
+ dest: complete
65
+ - trigger: fix_cycle_failed
66
+ source: fix-cycle
67
+ dest: failed
68
+ - trigger: fail
69
+ source: "*"
70
+ dest: failed
71
+ sequence:
72
+ - step: phase-0
73
+ id: phase-0
74
+ phase: 1
75
+ phase_name: DISCOVERY
76
+ agent: "@squad-chief"
77
+ action: execute_discovery
78
+ task_ref: parallel-discovery
79
+ next: phase-0-5
80
+ - step: phase-0-5
81
+ id: phase-0-5
82
+ phase: 2
83
+ phase_name: DEEP TOOL DISCOVERY
84
+ agent: "@squad-chief"
85
+ action: execute_deep-tool-discovery
86
+ task_ref: discover-tools
87
+ outputs:
88
+ - .aiox/squad-runtime/discovery/{domain}/tool-discovery-report.md
89
+ - .aiox/squad-runtime/discovery/{domain}/tool-integration-plan.md
90
+ - .aiox/squad-runtime/discovery/{domain}/capability-tools.yaml
91
+ - .aiox/squad-runtime/discovery/{domain}/tool-registry.yaml (updated)
92
+ next: phase-1
93
+ - step: phase-1
94
+ id: phase-1
95
+ phase: 3
96
+ phase_name: RESEARCH
97
+ agent: "@squad-chief"
98
+ action: execute_research
99
+ task_ref: deep-research-execute
100
+ next: phase-2
101
+ - step: phase-2
102
+ id: phase-2
103
+ phase: 4
104
+ phase_name: ARCHITECTURE
105
+ agent: "@squad-chief"
106
+ action: execute_architecture
107
+ task_ref: create-squad
108
+ next: phase-3
109
+ - step: phase-3
110
+ id: phase-3
111
+ phase: 5
112
+ phase_name: CREATION
113
+ agent: "@squad-chief"
114
+ action: execute_creation
115
+ task_ref: create-agent
116
+ next: phase-4
117
+ - step: phase-4
118
+ id: phase-4
119
+ phase: 6
120
+ phase_name: INTEGRATION
121
+ agent: "@squad-chief"
122
+ action: execute_integration
123
+ task_ref: install-skills
124
+ next: phase-5
125
+ - step: phase-5
126
+ id: phase-5
127
+ phase: 7
128
+ phase_name: VALIDATION
129
+ agent: "@squad-chief"
130
+ action: execute_validation
131
+ task_ref: validate-squad
132
+ next: phase-6
133
+ - step: phase-6
134
+ id: phase-6
135
+ phase: 8
136
+ phase_name: HANDOFF
137
+ agent: "@squad-chief"
138
+ action: execute_handoff
139
+ task_ref: create-squad
140
+ outputs:
141
+ - squad_path
142
+ - activation_command
143
+ - quality_score
144
+ - agents_created
145
+ next: fix-cycle
146
+ - step: fix-cycle
147
+ id: fix-cycle
148
+ phase: 9
149
+ phase_name: FIX CYCLE
150
+ agent: "@squad-chief"
151
+ action: execute_fix-cycle
152
+ task_ref: qa-after-creation
153
+ next: failed
154
+ - step: failed
155
+ id: failed
156
+ phase: 10
157
+ phase_name: FAILED
158
+ agent: "@squad-chief"
159
+ action: execute_failed
160
+ outputs:
161
+ - failure_report
162
+ - workflow_end:
163
+ id: complete
164
+ action: workflow_complete
15
165
  orchestrator: "@squad-chief"
16
- mode: "yolo" # yolo | quality | hybrid
17
- governance_protocol: "squads/squad-creator-pro/protocols/ai-first-governance.md"
166
+ mode: yolo
167
+ governance_protocol: squads/squad-creator/protocols/ai-first-governance.md
18
168
  ci_policy:
19
169
  blocking_deterministic_only: true
20
170
  semantic_checks_in_checkpoints: true
21
-
22
171
  routing:
23
- preflight_task: "detect-squad-context"
172
+ preflight_task: detect-squad-context
24
173
  routes:
25
- greenfield_or_resume: "wf-context-aware-create-squad"
26
- brownfield_upgrade: "wf-brownfield-upgrade-squad"
27
- note: "Use detect-squad-context before starting this legacy orchestration path."
28
-
29
- # ═══════════════════════════════════════════════════════════════════════════════
30
- # SPECIALIST AGENTS
31
- # ═══════════════════════════════════════════════════════════════════════════════
32
-
174
+ greenfield_or_resume: wf-context-aware-create-squad
175
+ brownfield_upgrade: wf-brownfield-upgrade-squad
176
+ note: Use detect-squad-context before starting this legacy orchestration path.
33
177
  specialists:
34
178
  mind_cloning:
35
179
  agent: "@oalanicolas"
36
- role: "Mind Cloning Architect"
37
- invoke_in_phases: ["phase_3"]
180
+ role: Mind Cloning Architect
181
+ invoke_in_phases:
182
+ - phase_3
38
183
  responsibilities:
39
- - "Curadoria de fontes (ouro vs bronze)"
40
- - "Extração de Voice DNA + Thinking DNA"
41
- - "Validação de fidelidade (85-97%)"
42
- - "Playbook + Framework + Swipe File trinity"
43
-
184
+ - Curadoria de fontes (ouro vs bronze)
185
+ - Extração de Voice DNA + Thinking DNA
186
+ - Validação de fidelidade (85-97%)
187
+ - Playbook + Framework + Swipe File trinity
44
188
  process_design:
45
189
  agent: "@pedro-valerio"
46
- role: "Process Absolutist"
47
- invoke_in_phases: ["phase_5"]
190
+ role: Process Absolutist
191
+ invoke_in_phases:
192
+ - phase_5
48
193
  responsibilities:
49
- - "Validar se workflows impedem caminhos errados"
50
- - "Criar veto conditions em quality gates"
51
- - "Auditar checkpoints para gaps de tempo"
52
- - "Garantir fluxo unidirecional"
53
-
54
- # ═══════════════════════════════════════════════════════════════════════════════
55
- # YOLO MODE CONFIGURATION (RUN AUTONOMOUSLY, STOP ONLY WHEN DATA MISSING)
56
- # ═══════════════════════════════════════════════════════════════════════════════
57
-
194
+ - Validar se workflows impedem caminhos errados
195
+ - Criar veto conditions em quality gates
196
+ - Auditar checkpoints para gaps de tempo
197
+ - Garantir fluxo unidirecional
58
198
  yolo_mode:
59
199
  philosophy: |
60
200
  "Run autonomously until you hit a wall.
61
201
  Only stop when data is genuinely missing.
62
202
  Warn about quality trade-offs, but don't block."
63
-
64
203
  auto_proceed_when:
65
- - "10+ fontes web encontradas por mind"
66
- - "Triangulação possível (3+ fontes por claim principal)"
67
- - "Quality gates passam automaticamente"
68
- - "Usuário escolheu YOLO mode no pre-flight"
69
-
204
+ - 10+ fontes web encontradas por mind
205
+ - Triangulação possível (3+ fontes por claim principal)
206
+ - Quality gates passam automaticamente
207
+ - Usuário escolheu YOLO mode no pre-flight
70
208
  must_stop_when:
71
- - "< 5 fontes encontradas para um mind (muito obscuro)"
72
- - "Usuário disse que tem materiais mas não forneceu path"
73
- - "Quality gate CRÍTICO falha sem recovery possível"
74
- - "Usuário marcou que conhece expert (DNA validation obrigatória)"
75
-
209
+ - < 5 fontes encontradas para um mind (muito obscuro)
210
+ - Usuário disse que tem materiais mas não forneceu path
211
+ - Quality gate CRÍTICO falha sem recovery possível
212
+ - Usuário marcou que conhece expert (DNA validation obrigatória)
76
213
  quality_warning: |
77
214
  ═══════════════════════════════════════════════════════════════════
78
215
  ⚠️ AVISO DE QUALIDADE - YOLO MODE
@@ -96,16 +233,10 @@ yolo_mode:
96
233
 
97
234
  "Materiais próprios = CLONE. Web only = APROXIMAÇÃO."
98
235
  ═══════════════════════════════════════════════════════════════════
99
-
100
- # ═══════════════════════════════════════════════════════════════════════════════
101
- # PRE-FLIGHT: AVISO INICIAL DO QUE VAI PRECISAR
102
- # ═══════════════════════════════════════════════════════════════════════════════
103
-
104
236
  pre_flight:
105
- trigger: "Início do workflow (ANTES de tudo)"
106
- blocking: true # Precisa de resposta para continuar
107
- purpose: "Informar usuário sobre o que vai precisar e escolher modo"
108
-
237
+ trigger: Início do workflow (ANTES de tudo)
238
+ blocking: true
239
+ purpose: Informar usuário sobre o que vai precisar e escolher modo
109
240
  message: |
110
241
  ═══════════════════════════════════════════════════════════════════
111
242
  📋 PRE-FLIGHT: CRIAÇÃO DE SQUAD
@@ -127,79 +258,87 @@ pre_flight:
127
258
  • Só web: 6-8 horas (mais pesquisa, menos qualidade)
128
259
 
129
260
  ═══════════════════════════════════════════════════════════════════
130
-
131
261
  questions:
132
- - id: "execution_mode"
133
- question: "Como você quer executar?"
262
+ - id: execution_mode
263
+ question: Como você quer executar?
134
264
  required: true
135
265
  options:
136
- - id: "yolo"
137
- label: "🚀 YOLO MODE - Não tenho materiais"
138
- description: "Rodo automaticamente com pesquisa web. Paro só se algo crítico faltar."
139
- quality: "60-75%"
140
- interaction: "Mínima (só aprovação final)"
141
-
142
- - id: "quality"
143
- label: "💎 QUALITY MODE - Tenho materiais para fornecer"
144
- description: "Você fornece materiais. Valido DNA extraído com você."
145
- quality: "85-95%"
146
- interaction: "Moderada (coleta + validação)"
147
-
148
- - id: "hybrid"
149
- label: "🔀 HYBRID MODE - Tenho materiais de alguns"
266
+ - id: yolo
267
+ label: 🚀 YOLO MODE - Não tenho materiais
268
+ description: Rodo automaticamente com pesquisa web. Paro só se algo crítico faltar.
269
+ quality: 60-75%
270
+ interaction: Mínima (só aprovação final)
271
+ - id: quality
272
+ label: 💎 QUALITY MODE - Tenho materiais para fornecer
273
+ description: Você fornece materiais. Valido DNA extraído com você.
274
+ quality: 85-95%
275
+ interaction: Moderada (coleta + validação)
276
+ - id: hybrid
277
+ label: 🔀 HYBRID MODE - Tenho materiais de alguns
150
278
  description: "Mix: alguns experts com materiais, outros com web."
151
- quality: "Variável por expert"
152
- interaction: "Por expert"
153
-
154
- - id: "expert_knowledge"
155
- question: "Você conhece PROFUNDAMENTE algum expert do domínio?"
156
- description: "Se sim, vou pedir para validar o DNA extraído"
279
+ quality: Variável por expert
280
+ interaction: Por expert
281
+ - id: expert_knowledge
282
+ question: Você conhece PROFUNDAMENTE algum expert do domínio?
283
+ description: Se sim, vou pedir para validar o DNA extraído
157
284
  required: true
158
285
  options:
159
286
  - id: "yes"
160
- label: "Sim - Posso validar"
161
- action: "CP3 (DNA Validation) será OBRIGATÓRIO"
162
-
287
+ label: Sim - Posso validar
288
+ action: CP3 (DNA Validation) será OBRIGATÓRIO
163
289
  - id: "no"
164
- label: "Não - Confio na extração"
165
- action: "CP3 será AUTOMÁTICO"
166
-
167
- - id: "time_commitment"
168
- question: "Quanto tempo você tem para interações?"
290
+ label: Não - Confio na extração
291
+ action: CP3 será AUTOMÁTICO
292
+ - id: time_commitment
293
+ question: Quanto tempo você tem para interações?
169
294
  required: true
170
295
  options:
171
- - id: "minimal"
172
- label: "Mínimo - Só me chame se for CRÍTICO"
173
- checkpoints: ["CP6 only"]
174
-
175
- - id: "moderate"
176
- label: "Moderado - Checkpoints principais"
177
- checkpoints: ["CP1", "CP3", "CP6"]
178
-
179
- - id: "high"
180
- label: "Alto - Validar cada etapa"
181
- checkpoints: ["ALL"]
182
-
296
+ - id: minimal
297
+ label: Mínimo - Só me chame se for CRÍTICO
298
+ checkpoints:
299
+ - CP6 only
300
+ - id: moderate
301
+ label: Moderado - Checkpoints principais
302
+ checkpoints:
303
+ - CP1
304
+ - CP3
305
+ - CP6
306
+ - id: high
307
+ label: Alto - Validar cada etapa
308
+ checkpoints:
309
+ - ALL
183
310
  decision_matrix:
184
311
  yolo_minimal:
185
- checkpoints_active: ["CP6"]
312
+ checkpoints_active:
313
+ - CP6
186
314
  auto_proceed: true
187
- stops_for: ["Critical failures only"]
188
-
315
+ stops_for:
316
+ - Critical failures only
189
317
  yolo_moderate:
190
- checkpoints_active: ["CP1", "CP6"]
318
+ checkpoints_active:
319
+ - CP1
320
+ - CP6
191
321
  auto_proceed: true
192
- stops_for: ["Mind selection", "Final approval"]
193
-
322
+ stops_for:
323
+ - Mind selection
324
+ - Final approval
194
325
  quality_any:
195
- checkpoints_active: ["CP_MATERIALS", "CP1", "CP3", "CP4", "CP6"]
326
+ checkpoints_active:
327
+ - CP_MATERIALS
328
+ - CP1
329
+ - CP3
330
+ - CP4
331
+ - CP6
196
332
  auto_proceed: false
197
- stops_for: ["Materials collection", "DNA validation"]
198
-
333
+ stops_for:
334
+ - Materials collection
335
+ - DNA validation
199
336
  hybrid_any:
200
- checkpoints_active: ["CP_MATERIALS per mind", "CP3 for known experts", "CP6"]
201
- auto_proceed: "per mind based on materials"
202
-
337
+ checkpoints_active:
338
+ - CP_MATERIALS per mind
339
+ - CP3 for known experts
340
+ - CP6
341
+ auto_proceed: per mind based on materials
203
342
  post_pre_flight: |
204
343
  {quality_warning}
205
344
 
@@ -207,22 +346,15 @@ pre_flight:
207
346
  Checkpoints ativos: {active_checkpoints}
208
347
 
209
348
  Posso começar?
210
-
211
- # ═══════════════════════════════════════════════════════════════════════════════
212
- # PHASE: MATERIALS COLLECTION (QUALITY/HYBRID MODE ONLY)
213
- # ═══════════════════════════════════════════════════════════════════════════════
214
-
215
349
  phase_materials:
216
350
  id: phase_materials
217
- name: "MATERIALS COLLECTION"
218
- condition: "mode == 'quality' OR mode == 'hybrid'"
219
- trigger: "After minds are identified (post Phase 1)"
351
+ name: MATERIALS COLLECTION
352
+ condition: mode == 'quality' OR mode == 'hybrid'
353
+ trigger: After minds are identified (post Phase 1)
220
354
  blocking: true
221
-
222
355
  purpose: |
223
356
  Coletar materiais do usuário ANTES de iniciar extração.
224
357
  Materiais do usuário = Tier 0 (máxima confiança).
225
-
226
358
  prompt_template: |
227
359
  ═══════════════════════════════════════════════════════════════════
228
360
  📚 COLETA DE MATERIAIS
@@ -252,18 +384,15 @@ phase_materials:
252
384
 
253
385
  Quando terminar, me avise para prosseguir.
254
386
  ═══════════════════════════════════════════════════════════════════
255
-
256
387
  processing:
257
388
  for_each_response:
258
389
  if_has_materials:
259
- - action: "Index materials as Tier 0"
260
- - action: "Validate files exist/accessible"
261
- - action: "Add to sources_inventory"
262
-
390
+ - action: Index materials as Tier 0
391
+ - action: Validate files exist/accessible
392
+ - action: Add to sources_inventory
263
393
  if_no_materials:
264
- - action: "Mark mind for web-only research"
265
- - action: "Warn about reduced quality for this mind"
266
-
394
+ - action: Mark mind for web-only research
395
+ - action: Warn about reduced quality for this mind
267
396
  output:
268
397
  materials_inventory:
269
398
  per_mind:
@@ -271,173 +400,194 @@ phase_materials:
271
400
  has_user_materials: true/false
272
401
  materials_path: ""
273
402
  material_types: []
274
- expected_quality: "85-95% | 60-75%"
275
-
403
+ expected_quality: 85-95% | 60-75%
276
404
  quality_standard:
277
- agents: "300+ lines, voice_dna, output_examples"
278
- workflows: "500+ lines, 3+ phases, checkpoints"
279
- tasks: "500+ lines complex, 300+ simple, Task Anatomy (8 fields)"
405
+ agents: 300+ lines, voice_dna, output_examples
406
+ workflows: 500+ lines, 3+ phases, checkpoints
407
+ tasks: 500+ lines complex, 300+ simple, Task Anatomy (8 fields)
280
408
  overall_score: ">= 7.0"
281
-
282
409
  frameworks_used:
283
- - id: "tier-system-framework"
284
- file: "data/tier-system-framework.md"
285
- applied_in: ["phase_2", "phase_3"]
286
-
287
- - id: "quality-dimensions-framework"
288
- file: "data/quality-dimensions-framework.md"
289
- applied_in: ["phase_1", "phase_5"]
290
-
291
- - id: "decision-heuristics-framework"
292
- file: "data/decision-heuristics-framework.md"
293
- applied_in: ["phase_0", "phase_1", "phase_3", "phase_5"]
294
-
295
- - id: "executor-matrix-framework"
296
- file: "data/executor-matrix-framework.md"
297
- applied_in: ["phase_3"]
298
-
299
- # ═══════════════════════════════════════════════════════════════════════════════
300
- # CONFIG FILES (Updated 2026-02-10 - Added AN_* heuristics/vetos)
301
- # ═══════════════════════════════════════════════════════════════════════════════
410
+ - id: tier-system-framework
411
+ file: data/tier-system-framework.md
412
+ applied_in:
413
+ - phase_2
414
+ - phase_3
415
+ - id: quality-dimensions-framework
416
+ file: data/quality-dimensions-framework.md
417
+ applied_in:
418
+ - phase_1
419
+ - phase_5
420
+ - id: decision-heuristics-framework
421
+ file: data/decision-heuristics-framework.md
422
+ applied_in:
423
+ - phase_0
424
+ - phase_1
425
+ - phase_3
426
+ - phase_5
427
+ - id: executor-matrix-framework
428
+ file: data/executor-matrix-framework.md
429
+ applied_in:
430
+ - phase_3
302
431
  config_files:
303
- - id: "heuristics-engine"
304
- file: "config/heuristics.yaml"
432
+ - id: heuristics-engine
433
+ file: config/heuristics.yaml
305
434
  version: "2.0"
306
- purpose: "6 heuristics: SC_HE_001-003 (PV) + AN_HE_001-003 (AN) with veto mappings"
435
+ purpose: "13 heuristics: SC_HE_001-003 (PV) + AN_HE_001-010 (AN) with veto mappings"
307
436
  agents:
308
- pedro_valerio: ["SC_HE_001", "SC_HE_002", "SC_HE_003"]
309
- oalanicolas: ["AN_HE_001", "AN_HE_002", "AN_HE_003"]
310
- applied_in: ["phase_0", "phase_3", "phase_5"]
311
-
312
- - id: "veto-conditions"
313
- file: "config/veto-conditions.yaml"
437
+ pedro_valerio:
438
+ - SC_HE_001
439
+ - SC_HE_002
440
+ - SC_HE_003
441
+ oalanicolas:
442
+ - AN_HE_001
443
+ - AN_HE_002
444
+ - AN_HE_003
445
+ - AN_HE_004
446
+ - AN_HE_005
447
+ - AN_HE_006
448
+ - AN_HE_007
449
+ - AN_HE_008
450
+ - AN_HE_009
451
+ - AN_HE_010
452
+ applied_in:
453
+ - phase_0
454
+ - phase_3
455
+ - phase_5
456
+ - id: veto-conditions
457
+ file: config/veto-conditions.yaml
314
458
  version: "2.0"
315
459
  purpose: "15 veto conditions: SC_VC_001-010 (PV) + AN_VC_001-005 (AN)"
316
460
  agents:
317
- pedro_valerio: ["SC_VC_001", "SC_VC_002", "SC_VC_003", "SC_VC_004", "SC_VC_005",
318
- "SC_VC_006", "SC_VC_007", "SC_VC_008", "SC_VC_009", "SC_VC_010"]
319
- oalanicolas: ["AN_VC_001", "AN_VC_002", "AN_VC_003", "AN_VC_004", "AN_VC_005"]
320
- applied_in: ["phase_0", "phase_1", "phase_3", "phase_5"]
321
-
322
- - id: "axioma-validator"
323
- file: "config/axioma-validator.yaml"
324
- purpose: "10 axioma dimensions (D1-D10) for quality scoring"
325
- applied_in: ["phase_5"]
326
-
327
- - id: "quality-gates"
328
- file: "config/quality-gates.yaml"
329
- purpose: "10 quality gates (QG-SC-1.1 to 6.2) for checkpoints"
330
- applied_in: ["phase_0", "phase_1", "phase_3", "phase_4", "phase_5"]
331
-
332
- - id: "task-anatomy"
333
- file: "config/task-anatomy.yaml"
334
- purpose: "8 mandatory fields for task validation"
335
- applied_in: ["phase_3", "phase_5"]
336
-
337
- validation_script: "scripts/coherence-validator.py"
338
- pattern_library: "docs/PATTERN-LIBRARY.md"
339
-
461
+ pedro_valerio:
462
+ - SC_VC_001
463
+ - SC_VC_002
464
+ - SC_VC_003
465
+ - SC_VC_004
466
+ - SC_VC_005
467
+ - SC_VC_006
468
+ - SC_VC_007
469
+ - SC_VC_008
470
+ - SC_VC_009
471
+ - SC_VC_010
472
+ oalanicolas:
473
+ - AN_VC_001
474
+ - AN_VC_002
475
+ - AN_VC_003
476
+ - AN_VC_004
477
+ - AN_VC_005
478
+ applied_in:
479
+ - phase_0
480
+ - phase_1
481
+ - phase_3
482
+ - phase_5
483
+ - id: axioma-validator
484
+ file: config/axioma-validator.yaml
485
+ purpose: 10 axioma dimensions (D1-D10) for quality scoring
486
+ applied_in:
487
+ - phase_5
488
+ - id: quality-gates
489
+ file: config/quality-gates.yaml
490
+ purpose: 10 quality gates (QG-SC-1.1 to 6.2) for checkpoints
491
+ applied_in:
492
+ - phase_0
493
+ - phase_1
494
+ - phase_3
495
+ - phase_4
496
+ - phase_5
497
+ - id: task-anatomy
498
+ file: config/task-anatomy.yaml
499
+ purpose: 8 mandatory fields for task validation
500
+ applied_in:
501
+ - phase_3
502
+ - phase_5
503
+ validation_script: scripts/coherence-validator.py
504
+ pattern_library: docs/PATTERN-LIBRARY.md
340
505
  estimated_duration:
341
- incremental: "60-90 minutes"
342
- yolo: "30-45 minutes"
343
-
344
- # ═══════════════════════════════════════════════════════════════════════════════
345
- # INPUTS
346
- # ═══════════════════════════════════════════════════════════════════════════════
347
-
506
+ incremental: 60-90 minutes
507
+ yolo: 30-45 minutes
348
508
  inputs:
349
509
  required:
350
510
  - name: domain
351
511
  type: string
352
- description: "Domain expertise area (e.g., 'copywriting', 'legal', 'data')"
353
- example: "copywriting"
354
-
512
+ description: Domain expertise area (e.g., 'copywriting', 'legal', 'data')
513
+ example: copywriting
355
514
  - name: purpose
356
515
  type: string
357
- description: "What the squad should accomplish"
358
- example: "Create high-converting sales pages and marketing copy"
359
-
516
+ description: What the squad should accomplish
517
+ example: Create high-converting sales pages and marketing copy
360
518
  - name: target_user
361
519
  type: string
362
- description: "Who will use this squad"
363
- example: "Marketing teams at SaaS companies"
364
-
520
+ description: Who will use this squad
521
+ example: Marketing teams at SaaS companies
365
522
  - name: use_cases
366
523
  type: list
367
- description: "3-5 key use cases"
524
+ description: 3-5 key use cases
368
525
  example:
369
- - "Sales pages"
370
- - "Email sequences"
371
- - "Ad copy"
372
- - "Landing pages"
373
-
526
+ - Sales pages
527
+ - Email sequences
528
+ - Ad copy
529
+ - Landing pages
374
530
  optional:
375
531
  - name: mode
376
532
  type: enum
377
- values: ["incremental", "yolo"]
378
- default: "incremental"
379
- description: "Workflow execution mode"
380
-
533
+ values:
534
+ - incremental
535
+ - yolo
536
+ default: incremental
537
+ description: Workflow execution mode
381
538
  - name: squad_name
382
539
  type: string
383
- description: "Override default squad name (kebab-case)"
384
- example: "copy"
385
-
540
+ description: Override default squad name (kebab-case)
541
+ example: copy
386
542
  - name: existing_research
387
543
  type: path
388
- description: "Path to existing research if available"
389
- example: "docs/research/copywriting-research.md"
390
-
391
- # ═══════════════════════════════════════════════════════════════════════════════
392
- # PRECONDITIONS
393
- # ═══════════════════════════════════════════════════════════════════════════════
394
-
544
+ description: Path to existing research if available
545
+ example: docs/research/copywriting-research.md
546
+ - name: workspace_integration_level
547
+ type: enum
548
+ values:
549
+ - none
550
+ - read_only
551
+ - controlled_runtime_consumer
552
+ - workspace_first
553
+ default: read_only
554
+ description: Override workspace integration level for generated squad (advanced levels require squads/c-level present)
395
555
  preconditions:
396
556
  system:
397
- - "squad-chief agent is active"
398
- - "WebSearch tool available for research"
399
- - "Write permissions for squads/ directory"
400
- - "All 4 frameworks loaded and accessible"
401
-
557
+ - squad-chief agent is active
558
+ - WebSearch tool available for research
559
+ - Write permissions for squads/ directory
560
+ - All 4 frameworks loaded and accessible
402
561
  user:
403
- - "Clear domain understanding"
404
- - "Defined use cases (3-5)"
405
- - "Available for checkpoints (incremental mode)"
406
-
407
- # ═══════════════════════════════════════════════════════════════════════════════
408
- # PHASES
409
- # ═══════════════════════════════════════════════════════════════════════════════
410
-
562
+ - Clear domain understanding
563
+ - Defined use cases (3-5)
564
+ - Available for checkpoints (incremental mode)
411
565
  phases:
412
- # ─────────────────────────────────────────────────────────────────────────────
413
- # PHASE 0: DISCOVERY
414
- # ─────────────────────────────────────────────────────────────────────────────
415
566
  - id: phase_0
416
- name: "DISCOVERY"
417
- purpose: "Validate domain viability and define squad structure"
418
- duration: "5-10 minutes"
419
- mode: "interactive"
420
-
567
+ name: DISCOVERY
568
+ purpose: Validate domain viability and define squad structure
569
+ duration: 5-10 minutes
570
+ mode: interactive
421
571
  steps:
422
572
  - id: step_0_0
423
- name: "Scope Complexity Check (PRD Gate)"
424
- action: "Map workflows and check if PRD is required"
573
+ name: Scope Complexity Check (PRD Gate)
574
+ action: Map workflows and check if PRD is required
425
575
  heuristic:
426
576
  id: SC_SCP_001
427
- name: "Scope Complexity Gate"
577
+ name: Scope Complexity Gate
428
578
  blocking: true
429
- reference: "data/decision-heuristics-framework.md#10"
579
+ reference: data/decision-heuristics-framework.md#10
430
580
  workflow:
431
- - "Map ALL workflows the squad needs to handle"
432
- - "Count total workflows"
433
- - "Estimate agents needed"
434
- - "Check for existing similar squads"
581
+ - Map ALL workflows the squad needs to handle
582
+ - Count total workflows
583
+ - Estimate agents needed
584
+ - Check for existing similar squads
435
585
  thresholds:
436
586
  workflows_require_prd: 10
437
587
  agents_require_prd: 8
438
588
  decision:
439
589
  if_workflows_gte_10:
440
- action: "VETO - PRD Required"
590
+ action: VETO - PRD Required
441
591
  message: |
442
592
  ═══════════════════════════════════════════════════════════════════
443
593
  ❌ ESCOPO GRANDE DEMAIS PARA CRIAÇÃO DIRETA
@@ -448,10 +598,11 @@ phases:
448
598
 
449
599
  AÇÃO NECESSÁRIA:
450
600
  ┌─────────────────────────────────────────────────────────────────┐
451
- │ 1. Criar PRD: docs/projects/{domain}/prd.md
452
- │ 2. Dividir em Epics (por Tier ou funcionalidade)
453
- │ 3. Criar Stories com acceptance criteria
454
- │ 4. Implementar por fases
601
+ │ 1. Executar *plan-squad {domain}
602
+ │ 2. Gerar/atualizar docs/projects/{domain}/prd.md
603
+ │ 3. Dividir em Epics (por Tier ou funcionalidade)
604
+ │ 4. Criar Stories com acceptance criteria
605
+ │ 5. Implementar por fases │
455
606
  └─────────────────────────────────────────────────────────────────┘
456
607
 
457
608
  Benefícios do PRD:
@@ -460,40 +611,33 @@ phases:
460
611
  • Validação por Epic
461
612
  • Possibilidade de pausa/retomada
462
613
 
463
- Quer que eu crie o PRD agora? (Sim/Não)
614
+ Quer que eu rode *plan-squad {domain} agora? (Sim/Não)
464
615
  ═══════════════════════════════════════════════════════════════════
465
- next_action: "Create PRD using templates/squad-prd-tmpl.md"
616
+ next_action: Run *plan-squad {domain} using squads/squad-creator-pro/workflows/wf-plan-squad.yaml
466
617
  reference_files:
467
- - "data/pm-best-practices.md"
468
- - "templates/squad-prd-tmpl.md"
469
-
470
- # ═══════════════════════════════════════════════════════════════════
471
- # CRITICAL: Story Generation Rules for Agents
472
- # ═══════════════════════════════════════════════════════════════════
618
+ - squads/squad-creator-pro/data/pm-best-practices.md
619
+ - squads/squad-creator-pro/templates/squad-prd-deep-tmpl.md
620
+ - docs/projects/editais/epics/epic-editais-squad/epic.md
473
621
  story_generation_rules:
474
622
  agent_stories:
475
- template: "templates/story-create-agent-tmpl.md"
623
+ template: templates/story-create-agent-tmpl.md
476
624
  rule: |
477
625
  ❌ NUNCA especificar agent YAML inline na story
478
626
  ✅ SEMPRE referenciar workflow de criação
479
-
480
627
  wrong_pattern: |
481
628
  # Story especifica o agent completo (200+ linhas de YAML)
482
629
  # Executor apenas copia → Agent genérico/fraco
483
-
484
630
  correct_pattern: |
485
631
  # Story referencia workflow
486
632
  workflow: "wf-clone-mind.yaml" | "create-agent.md"
487
633
  inputs: [agent_id, domain, sources_path]
488
634
  quality_gates: [SC_AGT_001, SC_AGT_002, SC_AGT_003]
489
635
  # Executor EXECUTA workflow → Agent com profundidade
490
-
491
636
  quality_gates_required:
492
637
  - "SC_AGT_001: Structure (300+ lines)"
493
638
  - "SC_AGT_002: Content (all levels present)"
494
639
  - "SC_AGT_003: Depth (frameworks with theory)"
495
640
  - "SMOKE_TEST: 3/3 behavioral tests"
496
-
497
641
  rationale: |
498
642
  Stories com especificação inline geram agents fracos porque:
499
643
  1. Pulam pesquisa de fontes
@@ -502,83 +646,93 @@ phases:
502
646
  4. Não passam no depth gate (SC_AGT_003)
503
647
 
504
648
  Referência de qualidade: squads com agents de 1500+ lines com profundidade
505
-
506
649
  if_agents_gte_8:
507
- action: "VETO - Roadmap Required"
508
- message: "Muitos agents ({agents_count}) - precisa roadmap"
650
+ action: VETO - Roadmap Required
651
+ message: Muitos agents ({agents_count}) - precisa roadmap
509
652
  else:
510
- action: "PROCEED"
511
- message: "Escopo adequado para criação direta"
653
+ action: PROCEED
654
+ message: Escopo adequado para criação direta
512
655
  output:
513
- workflows_mapped: "count"
514
- agents_needed: "count"
515
- prd_required: "true|false"
516
- decision: "proceed|prd_required"
517
-
656
+ workflows_mapped: count
657
+ agents_needed: count
658
+ prd_required: true|false
659
+ decision: proceed|prd_required
518
660
  - id: step_0_1
519
- name: "Validate Domain Viability"
520
- action: "Assess if domain has sufficient documented frameworks"
521
- depends_on: "step_0_0.decision == 'proceed'"
661
+ name: Validate Domain Viability
662
+ action: Assess if domain has sufficient documented frameworks
663
+ depends_on: step_0_0.decision == 'proceed'
522
664
  heuristic:
523
665
  id: SC_DSC_001
524
- name: "Discovery Complete"
666
+ name: Discovery Complete
525
667
  blocking: true
526
668
  criteria:
527
669
  documented_methodologies: ">= 2"
528
670
  elite_practitioners: ">= 3"
529
671
  validation_possible: true
530
672
  output:
531
- viability_score: "0-10"
532
- recommendation: "proceed | limited_scope | abort"
533
-
673
+ viability_score: 0-10
674
+ recommendation: proceed | limited_scope | abort
534
675
  - id: step_0_2
535
- name: "Check Existing Squads"
536
- action: "Search for similar squads that might overlap"
676
+ name: Check Existing Squads
677
+ action: Search for similar squads that might overlap
537
678
  search_paths:
538
- - "squads/*"
539
- - ".claude/agents/*"
679
+ - squads/*
680
+ - .claude/agents/*
540
681
  decision:
541
- if_80_percent_overlap: "suggest extend existing"
542
- if_partial_overlap: "warn about integration"
543
- if_no_overlap: "proceed"
544
-
682
+ if_80_percent_overlap: suggest extend existing
683
+ if_partial_overlap: warn about integration
684
+ if_no_overlap: proceed
545
685
  - id: step_0_3
546
- name: "Define squad structure"
547
- action: "Elicit squad metadata"
686
+ name: Define squad structure
687
+ action: Elicit squad metadata
548
688
  elicit:
549
- - squad_name: "kebab-case identifier"
550
- - pack_title: "Human-readable title"
551
- - version: "1.0.0"
689
+ - squad_name: kebab-case identifier
690
+ - pack_title: Human-readable title
691
+ - version: 1.0.0
552
692
  - entry_agent: "Primary activation agent id (default: {squad_name}-chief)"
553
- - slash_prefix: "camelCase"
554
- - pattern_prefix: "2-letter code"
693
+ - slash_prefix: camelCase
694
+ - pattern_prefix: 2-letter code
695
+ - workspace_integration_level: none | read_only | controlled_runtime_consumer | workspace_first
555
696
  output:
556
- pack_config: "Initial config.yaml content"
557
-
697
+ pack_config: Initial config.yaml content
698
+ workspace_integration_level: Selected level
699
+ - id: step_0_4
700
+ name: Classify Workspace Integration
701
+ action: Define canonical workspace contract for generated squad
702
+ rules:
703
+ - level_none: No workspace reads/writes required by squad behavior
704
+ - level_read_only: Reads workspace context/data but does not mutate it
705
+ - level_controlled_runtime_consumer: Consumes canonical workspace context via COO readiness gate before final output
706
+ - level_workspace_first: Squad bootstraps runtime from workspace and must validate essentials
707
+ output:
708
+ workspace_contract:
709
+ level: none|read_only|controlled_runtime_consumer|workspace_first
710
+ rationale: Why this level is required
711
+ read_paths: list
712
+ write_paths: list
713
+ template_namespace: string|null
714
+ output_file: .aiox/squad-runtime/create-squad/{squad_name}/workspace-integration-level.yaml
558
715
  checkpoint:
559
716
  id: CP_PHASE_0
560
- name: "Discovery Complete"
717
+ name: Discovery Complete
561
718
  blocking: true
562
719
  criteria:
563
720
  - viability_score: ">= 6"
564
- - squad_name: "defined"
721
+ - squad_name: defined
722
+ - workspace_integration_level: defined
565
723
  - no_duplicate: true
566
724
  on_fail:
567
- action: "Present issues, suggest alternatives"
725
+ action: Present issues, suggest alternatives
568
726
  approval:
569
- incremental: "Human approval required"
570
- yolo: "Auto-approve if criteria met"
571
-
572
- # ─────────────────────────────────────────────────────────────────────────────
573
- # PHASE 0.5: DEEP TOOL DISCOVERY (Parallel Sub-Agents)
574
- # ─────────────────────────────────────────────────────────────────────────────
727
+ incremental: Human approval required
728
+ yolo: Auto-approve if criteria met
575
729
  - id: phase_0_5
576
- name: "DEEP TOOL DISCOVERY"
577
- purpose: "Launch parallel sub-agents for deep research of MCPs, APIs, CLIs, Libraries, GitHub projects"
578
- duration: "15-25 minutes"
579
- mode: "autonomous"
580
- depends_on: ["phase_0"]
581
-
730
+ name: DEEP TOOL DISCOVERY
731
+ purpose: Launch parallel sub-agents for deep research of MCPs, APIs, CLIs, Libraries, GitHub projects
732
+ duration: 15-25 minutes
733
+ mode: autonomous
734
+ depends_on:
735
+ - phase_0
582
736
  philosophy: |
583
737
  "A squad should leverage ALL available tools to deliver maximum value
584
738
  with minimum user intervention."
@@ -592,85 +746,86 @@ phases:
592
746
 
593
747
  Each agent performs DEEP SEARCH in its category, then results are
594
748
  synthesized into a decision matrix (Impact vs Effort).
595
-
596
749
  execute:
597
- workflow: "workflows/wf-discover-tools.yaml"
750
+ workflow: workflows/wf-discover-tools.yaml
598
751
  inputs:
599
752
  domain: "{domain}"
600
753
  use_cases: "{use_cases}"
601
754
  budget_tier: "{from pre_flight or default: low_cost}"
602
- search_depth: "standard" # quick | standard | exhaustive
603
-
755
+ search_depth: standard
604
756
  parallel_execution:
605
757
  enabled: true
606
758
  agents:
607
- - name: "MCP Discovery Agent"
608
- searches: ["modelcontextprotocol/servers", "github topics:mcp-server", "glama.ai/mcp"]
609
-
610
- - name: "API Discovery Agent"
611
- searches: ["RapidAPI", "PublicAPIs", "ProgrammableWeb"]
612
-
613
- - name: "CLI Discovery Agent"
614
- searches: ["awesome-cli-apps", "homebrew", "npm cli tools"]
615
-
616
- - name: "Library Discovery Agent"
617
- searches: ["PyPI", "npm", "GitHub SDKs"]
618
-
619
- - name: "GitHub Project Discovery Agent"
620
- searches: ["github topics", "github collections", "awesome lists"]
621
-
759
+ - name: MCP Discovery Agent
760
+ searches:
761
+ - modelcontextprotocol/servers
762
+ - github topics:mcp-server
763
+ - glama.ai/mcp
764
+ - name: API Discovery Agent
765
+ searches:
766
+ - RapidAPI
767
+ - PublicAPIs
768
+ - ProgrammableWeb
769
+ - name: CLI Discovery Agent
770
+ searches:
771
+ - awesome-cli-apps
772
+ - homebrew
773
+ - npm cli tools
774
+ - name: Library Discovery Agent
775
+ searches:
776
+ - PyPI
777
+ - npm
778
+ - GitHub SDKs
779
+ - name: GitHub Project Discovery Agent
780
+ searches:
781
+ - github topics
782
+ - github collections
783
+ - awesome lists
622
784
  synthesis:
623
785
  scoring_dimensions:
624
786
  impact:
625
- - capability_coverage: 0.20
787
+ - capability_coverage: 0.2
626
788
  - automation_potential: 0.15
627
789
  - quality_improvement: 0.15
628
- - uniqueness: 0.10
790
+ - uniqueness: 0.1
629
791
  effort:
630
- - installation_complexity: 0.10
631
- - integration_effort: 0.10
632
- - maintenance_burden: 0.10
633
- - cost: 0.10
634
-
792
+ - installation_complexity: 0.1
793
+ - integration_effort: 0.1
794
+ - maintenance_burden: 0.1
795
+ - cost: 0.1
635
796
  decision_matrix:
636
- quick_wins: "impact >= 7 AND effort_score >= 7"
637
- strategic: "impact >= 7 AND effort_score < 7"
638
- fill_ins: "impact < 7 AND effort_score >= 7"
639
- avoid: "impact < 7 AND effort_score < 7"
640
-
797
+ quick_wins: impact >= 7 AND effort_score >= 7
798
+ strategic: impact >= 7 AND effort_score < 7
799
+ fill_ins: impact < 7 AND effort_score >= 7
800
+ avoid: impact < 7 AND effort_score < 7
641
801
  outputs:
642
- - "squads/{squad_name}/docs/tool-discovery-report.md"
643
- - "squads/{squad_name}/docs/tool-integration-plan.md"
644
- - "squads/{squad_name}/data/capability-tools.yaml"
645
- - "data/tool-registry.yaml (updated)"
646
-
802
+ - .aiox/squad-runtime/discovery/{domain}/tool-discovery-report.md
803
+ - .aiox/squad-runtime/discovery/{domain}/tool-integration-plan.md
804
+ - .aiox/squad-runtime/discovery/{domain}/capability-tools.yaml
805
+ - .aiox/squad-runtime/discovery/{domain}/tool-registry.yaml (updated)
647
806
  checkpoint:
648
807
  id: CP_PHASE_0_5
649
- name: "Deep Tool Discovery Complete"
650
- blocking: true # BLOCKING - Tools are essential for squad value
808
+ name: Deep Tool Discovery Complete
809
+ blocking: true
651
810
  heuristic: SC_TLD_001
652
811
  criteria:
653
- # Execution criteria
654
- - parallel_agents_executed: ">= 3 of 5" # At least 3 agents must complete
812
+ - parallel_agents_executed: ">= 3 of 5"
655
813
  - total_tools_discovered: ">= 10"
656
- # Quality criteria
657
814
  - decision_matrix_generated: true
658
815
  - integration_plan_created: true
659
816
  - reports_generated: true
660
- # Registry criteria
661
817
  - capability_mapping_created: true
662
818
  - tool_registry_updated: true
663
819
  veto_conditions:
664
- - all_agents_failed: "VETO - Retry required"
665
- - zero_tools_found: "VETO - Domain may be too niche, manual research needed"
820
+ - all_agents_failed: VETO - Retry required
821
+ - zero_tools_found: VETO - Domain may be too niche, manual research needed
666
822
  output:
667
- tools_discovered: "count"
668
- quick_wins: "count"
669
- strategic: "count"
670
- decision_matrix: "generated"
671
- report_path: "squads/{squad_name}/docs/tool-discovery-report.md"
672
- integration_plan_path: "squads/{squad_name}/docs/tool-integration-plan.md"
673
-
823
+ tools_discovered: count
824
+ quick_wins: count
825
+ strategic: count
826
+ decision_matrix: generated
827
+ report_path: .aiox/squad-runtime/discovery/{domain}/tool-discovery-report.md
828
+ integration_plan_path: .aiox/squad-runtime/discovery/{domain}/tool-integration-plan.md
674
829
  yolo_mode_behavior: |
675
830
  In YOLO mode:
676
831
  - Execute all 5 parallel agents
@@ -678,53 +833,48 @@ phases:
678
833
  - Add quick_wins to squad dependencies
679
834
  - Log summary (skip detailed presentation)
680
835
  - Continue to Phase 1 immediately
681
-
682
- # ─────────────────────────────────────────────────────────────────────────────
683
- # PHASE 1: RESEARCH
684
- # ─────────────────────────────────────────────────────────────────────────────
685
836
  - id: phase_1
686
- name: "RESEARCH"
687
- purpose: "Identify elite minds with documented frameworks"
688
- duration: "15-30 minutes"
689
- mode: "autonomous"
690
- depends_on: ["phase_0", "phase_0_5"]
691
-
837
+ name: RESEARCH
838
+ purpose: Identify elite minds with documented frameworks
839
+ duration: 15-30 minutes
840
+ mode: autonomous
841
+ depends_on:
842
+ - phase_0
843
+ - phase_0_5
692
844
  steps:
693
845
  - id: step_1_1
694
- name: "Execute Mind Research Loop"
695
- action: "Run iterative research workflow"
846
+ name: Execute Mind Research Loop
847
+ action: Run iterative research workflow
696
848
  execute:
697
- workflow: "workflows/mind-research-loop.md"
849
+ workflow: workflows/wf-mind-research-loop.yaml
698
850
  inputs:
699
851
  domain: "{domain}"
700
852
  min_minds: 5
701
853
  max_minds: 10
702
- iterations: "3-5"
854
+ iterations: 3-5
703
855
  output:
704
- minds_list: "Curated list of elite minds"
705
- frameworks_per_mind: "Documented frameworks"
706
- tier_preliminary: "Initial tier classification"
707
-
856
+ minds_list: Curated list of elite minds
857
+ frameworks_per_mind: Documented frameworks
858
+ tier_preliminary: Initial tier classification
708
859
  - id: step_1_2
709
- name: "Validate Research Quality"
710
- action: "Apply quality dimensions to research output"
711
- framework: "quality-dimensions-framework"
860
+ name: Validate Research Quality
861
+ action: Apply quality dimensions to research output
862
+ framework: quality-dimensions-framework
712
863
  dimensions:
713
- - accuracy: "Minds are real with verifiable work"
714
- - coherence: "Frameworks complement each other"
715
- - strategic_alignment: "Cover the use cases"
864
+ - accuracy: Minds are real with verifiable work
865
+ - coherence: Frameworks complement each other
866
+ - strategic_alignment: Cover the use cases
716
867
  heuristic:
717
868
  id: SC_RES_001
718
- name: "Research Quality Gate"
869
+ name: Research Quality Gate
719
870
  blocking: true
720
- threshold: 7.0
871
+ threshold: 7
721
872
  veto_conditions:
722
- - minds_count: "< 3"
873
+ - minds_count: < 3
723
874
  - no_tier_0: true
724
-
725
875
  checkpoint:
726
876
  id: CP_PHASE_1
727
- name: "Research Complete"
877
+ name: Research Complete
728
878
  blocking: true
729
879
  criteria:
730
880
  - minds_found: ">= 5"
@@ -736,110 +886,110 @@ phases:
736
886
  | Mind | Tier | Frameworks | Use Cases |
737
887
  |------|------|------------|-----------|
738
888
  | ... | ... | ... | ... |
739
-
740
889
  fallback:
741
890
  on_minds_below_5:
742
- action: "Expand search to adjacent domains"
891
+ action: Expand search to adjacent domains
743
892
  retry_with:
744
- - "Related experts in broader {domain}"
745
- - "Historical figures in {domain}"
746
- - "Practitioners vs theorists mix"
893
+ - Related experts in broader {domain}
894
+ - Historical figures in {domain}
895
+ - Practitioners vs theorists mix
747
896
  max_iterations: 2
748
897
  on_no_tier_0:
749
- action: "Research for diagnostic/analysis experts"
898
+ action: Research for diagnostic/analysis experts
750
899
  search_queries:
751
- - '"{domain}" diagnostic framework"'
752
- - '"{domain}" assessment methodology"'
900
+ - "\"{domain}\" diagnostic framework\""
901
+ - "\"{domain}\" assessment methodology\""
753
902
  on_retry_fail: |
754
903
  ESCALATE: Cannot find 5+ elite minds for {domain}.
755
904
  → Present available minds (even if < 5)
756
905
  → Ask user for manual expert suggestions
757
906
  → Proceed with reduced scope if user approves
758
-
759
- # ─────────────────────────────────────────────────────────────────────────────
760
- # PHASE 2: ARCHITECTURE
761
- # ─────────────────────────────────────────────────────────────────────────────
762
907
  - id: phase_2
763
- name: "ARCHITECTURE"
764
- purpose: "Design squad structure and relationships"
765
- duration: "10-20 minutes"
908
+ name: ARCHITECTURE
909
+ purpose: Design squad structure and relationships
910
+ duration: 10-20 minutes
766
911
  mode:
767
- incremental: "interactive"
768
- yolo: "autonomous"
769
- depends_on: ["phase_1"]
770
-
912
+ incremental: interactive
913
+ yolo: autonomous
914
+ depends_on:
915
+ - phase_1
771
916
  steps:
772
917
  - id: step_2_1
773
- name: "Define Tier Structure"
774
- action: "Assign minds to tiers using tier-system-framework"
775
- framework: "tier-system-framework"
918
+ name: Define Tier Structure
919
+ action: Assign minds to tiers using tier-system-framework
920
+ framework: tier-system-framework
776
921
  structure:
777
922
  orchestrator:
778
923
  required: true
779
- purpose: "Coordinates all tiers, routes requests"
924
+ purpose: Coordinates all tiers, routes requests
780
925
  tier_0:
781
926
  required: true
782
- purpose: "Diagnosis, analysis, classification"
927
+ purpose: Diagnosis, analysis, classification
783
928
  tier_1:
784
- purpose: "Masters with proven results"
929
+ purpose: Masters with proven results
785
930
  tier_2:
786
- purpose: "Systematizers, framework creators"
931
+ purpose: Systematizers, framework creators
787
932
  tier_3:
788
- purpose: "Format/channel specialists"
933
+ purpose: Format/channel specialists
789
934
  tools:
790
- purpose: "Validation, checklists, calculators"
791
-
935
+ purpose: Validation, checklists, calculators
792
936
  - id: step_2_2
793
- name: "Plan Agent Relationships"
794
- action: "Define handoffs and synergies"
937
+ name: Plan Agent Relationships
938
+ action: Define handoffs and synergies
795
939
  define:
796
- handoff_map: "Who hands off to whom"
797
- synergies: "Agents that work well together"
798
- conflicts: "Agents that shouldn't be combined"
799
-
940
+ handoff_map: Who hands off to whom
941
+ synergies: Agents that work well together
942
+ conflicts: Agents that shouldn't be combined
800
943
  - id: step_2_3
801
- name: "Design Quality Gates"
802
- action: "Define validation points between phases"
944
+ name: Design Quality Gates
945
+ action: Define validation points between phases
803
946
  template:
804
- - id: "QG-001"
805
- transition: "Input → Tier 0"
806
- type: "routing"
807
- - id: "QG-002"
808
- transition: "Tier 0 → Tier 1"
809
- type: "blocking"
810
- - id: "QG-003"
811
- transition: "Execution → Output"
812
- type: "blocking"
813
-
947
+ - id: QG-001
948
+ transition: Input → Tier 0
949
+ type: routing
950
+ - id: QG-002
951
+ transition: Tier 0 → Tier 1
952
+ type: blocking
953
+ - id: QG-003
954
+ transition: Execution → Output
955
+ type: blocking
956
+ - id: step_2_4
957
+ name: Challenge Order and Stress-Test Dependencies
958
+ action: Compare alternatives and validate sequencing before locking architecture
959
+ rules:
960
+ - compare_alternatives: ">= 2"
961
+ - record_rejected_option: true
962
+ - detect_premature_items: true
963
+ - define_not_before_conditions: true
964
+ - if_feedback_changes_dependencies: reopen_phase_2_before_continuing
814
965
  checkpoint:
815
966
  id: CP_PHASE_2
816
- name: "Architecture Approved"
967
+ name: Architecture Approved
817
968
  blocking: true
818
969
  criteria:
819
970
  - tier_0_defined: true
820
971
  - orchestrator_planned: true
821
972
  - quality_gates: ">= 3"
822
- - handoff_map: "complete"
973
+ - handoff_map: complete
974
+ - alternatives_compared: ">= 2"
975
+ - dependency_stress_test_passed: true
976
+ - sequencing_rationale_defined: true
823
977
  approval:
824
- incremental: "Human review architecture"
825
- yolo: "Auto-approve if criteria met"
826
-
827
- # ─────────────────────────────────────────────────────────────────────────────
828
- # PHASE 3: CREATION
829
- # ─────────────────────────────────────────────────────────────────────────────
978
+ incremental: Human review architecture
979
+ yolo: Auto-approve if criteria met
830
980
  - id: phase_3
831
- name: "CREATION"
832
- purpose: "Create all squad components"
833
- duration: "30-60 minutes"
834
- mode: "autonomous"
835
- depends_on: ["phase_2"]
836
-
981
+ name: CREATION
982
+ purpose: Create all squad components
983
+ duration: 30-60 minutes
984
+ mode: autonomous
985
+ depends_on:
986
+ - phase_2
837
987
  steps:
838
988
  - id: step_3_1
839
- name: "Create Directory Structure"
840
- action: "Initialize squad directories"
989
+ name: Create Directory Structure
990
+ action: Initialize squad directories
841
991
  create:
842
- base: "squads/{squad_name}/"
992
+ base: squads/{squad_name}/
843
993
  subdirs:
844
994
  - agents/
845
995
  - tasks/
@@ -848,15 +998,12 @@ phases:
848
998
  - checklists/
849
999
  - data/
850
1000
  - docs/
851
- - outputs/
852
1001
  files:
853
1002
  - config.yaml
854
1003
  - README.md
855
- - outputs/README.md
856
-
857
1004
  - id: step_3_2
858
- name: "Clone Mind & Create Agents"
859
- action: "Execute full mind cloning pipeline for each mind"
1005
+ name: Clone Mind & Create Agents
1006
+ action: Execute full mind cloning pipeline for each mind
860
1007
  specialist: "@oalanicolas"
861
1008
  specialist_guidance: |
862
1009
  Apply DNA Mental™ 8-layer architecture.
@@ -864,8 +1011,8 @@ phases:
864
1011
  Extract Playbook + Framework + Swipe File trinity.
865
1012
  Validate fidelity 85%+ for quality mode.
866
1013
  execute:
867
- workflow: "workflows/wf-clone-mind.yaml"
868
- for_each: "minds_list"
1014
+ workflow: workflows/wf-clone-mind.yaml
1015
+ for_each: minds_list
869
1016
  inputs_per_mind:
870
1017
  mind_name: "{mind.name}"
871
1018
  domain: "{domain}"
@@ -876,30 +1023,28 @@ phases:
876
1023
  - "Phase 2: Thinking DNA Extraction (extract-thinking-dna.md)"
877
1024
  - "Phase 3: Synthesis → mind_dna_complete.yaml"
878
1025
  final_step:
879
- task: "create-agent.md"
880
- input: "mind_dna_complete.yaml"
1026
+ task: create-agent.md
1027
+ input: mind_dna_complete.yaml
881
1028
  quality_gate:
882
1029
  id: SC_AGT_001
883
1030
  blocking: true
884
1031
  retry_on_fail: true
885
-
886
1032
  conditional_checkpoints:
887
1033
  yolo_mode:
888
- - "Auto-proceed unless sources < 5"
1034
+ - Auto-proceed unless sources < 5
889
1035
  quality_mode:
890
1036
  - "CP_SOURCES: Validate sources per mind"
891
1037
  - "CP_DNA: Validate DNA if user knows expert"
892
1038
  hybrid_mode:
893
- - "Per-mind based on materials_inventory"
894
-
1039
+ - Per-mind based on materials_inventory
895
1040
  fallback:
896
1041
  on_clone_fail:
897
- action: "Isolate failed mind, continue with remaining"
1042
+ action: Isolate failed mind, continue with remaining
898
1043
  recovery_path:
899
- - "Log failure reason (sources_insufficient | dna_incomplete | smoke_test_fail)"
900
- - "Create placeholder agent with reduced fidelity warning"
901
- - "Add to remediation_queue for later improvement"
902
- - "Continue squad creation with available agents"
1044
+ - Log failure reason (sources_insufficient | dna_incomplete | smoke_test_fail)
1045
+ - Create placeholder agent with reduced fidelity warning
1046
+ - Add to remediation_queue for later improvement
1047
+ - Continue squad creation with available agents
903
1048
  on_multiple_fails:
904
1049
  threshold: "> 50% of minds fail"
905
1050
  action: |
@@ -908,93 +1053,93 @@ phases:
908
1053
  → Ask user to provide additional materials
909
1054
  → Option: create squad with reduced scope
910
1055
  max_retries_per_mind: 2
911
-
912
1056
  - id: step_3_3
913
- name: "Create Orchestrator"
914
- action: "Create squad orchestrator agent"
915
- template: "templates/agent-tmpl.md"
1057
+ name: Create Orchestrator
1058
+ action: Create squad orchestrator agent
1059
+ template: templates/agent-tmpl.md
916
1060
  special:
917
- tier: "orchestrator"
1061
+ tier: orchestrator
918
1062
  capabilities:
919
- - "Route requests to appropriate tier"
920
- - "Manage multi-agent workflows"
921
- - "Track context across handoffs"
922
-
1063
+ - Route requests to appropriate tier
1064
+ - Manage multi-agent workflows
1065
+ - Track context across handoffs
923
1066
  - id: step_3_4
924
- name: "Create Workflows"
925
- action: "Create multi-phase workflows"
1067
+ name: Create Workflows
1068
+ action: Create multi-phase workflows
926
1069
  criteria:
927
1070
  - spans_multiple_agents: true
928
1071
  - has_checkpoints: true
929
1072
  execute:
930
- task: "tasks/create-workflow.md"
1073
+ task: tasks/create-workflow.md
931
1074
  quality:
932
1075
  min_lines: 500
933
1076
  min_phases: 3
934
-
1077
+ workflow_contract_validation:
1078
+ blocking: true
1079
+ validator_source: .aiox-core/development/scripts/workflow-validator.js
1080
+ command_per_file: |
1081
+ node infrastructure/scripts/squads/validate_workflow_contract_single.cjs --file {workflow_file} --strict --fail-on-warnings
1082
+ policy:
1083
+ - validate_immediately_after_creation: true
1084
+ - stop_on_first_failure: true
1085
+ - rerun_after_fix_until_pass: true
935
1086
  - id: step_3_5
936
- name: "Create Tasks"
937
- action: "Create atomic tasks with Task Anatomy"
938
- framework: "executor-matrix-framework"
1087
+ name: Create Tasks
1088
+ action: Create atomic tasks with Task Anatomy
1089
+ framework: executor-matrix-framework
939
1090
  execute:
940
- task: "tasks/create-task.md"
1091
+ task: tasks/create-task.md
941
1092
  quality:
942
- simple: "300+ lines"
943
- complex: "500+ lines"
1093
+ simple: 300+ lines
1094
+ complex: 500+ lines
944
1095
  anatomy_fields: 8
945
-
946
1096
  checkpoint:
947
1097
  id: CP_PHASE_3
948
- name: "Creation Complete"
1098
+ name: Creation Complete
949
1099
  blocking: true
950
1100
  criteria:
951
1101
  - orchestrator_created: true
952
1102
  - tier_0_agents: ">= 1"
953
1103
  - all_agents_pass_quality: true
954
1104
  - workflows_have_checkpoints: true
1105
+ - all_created_workflows_pass_contract_validation: true
955
1106
  metrics:
956
- agents_created: "count"
957
- total_lines: "sum"
958
- quality_scores: "average"
959
-
960
- # ─────────────────────────────────────────────────────────────────────────────
961
- # PHASE 4: INTEGRATION
962
- # ─────────────────────────────────────────────────────────────────────────────
1107
+ agents_created: count
1108
+ total_lines: sum
1109
+ quality_scores: average
963
1110
  - id: phase_4
964
- name: "INTEGRATION"
965
- purpose: "Wire components and generate documentation"
966
- duration: "10-15 minutes"
967
- mode: "autonomous"
968
- depends_on: ["phase_3"]
969
-
1111
+ name: INTEGRATION
1112
+ purpose: Wire components and generate documentation
1113
+ duration: 10-15 minutes
1114
+ mode: autonomous
1115
+ depends_on:
1116
+ - phase_3
970
1117
  steps:
971
1118
  - id: step_4_1
972
- name: "Wire Dependencies"
973
- action: "Verify and link all component dependencies"
1119
+ name: Wire Dependencies
1120
+ action: Verify and link all component dependencies
974
1121
  for_each_agent:
975
1122
  - verify_tasks_exist: true
976
1123
  - verify_templates_exist: true
977
1124
  - verify_checklists_exist: true
978
1125
  - update_dependencies: true
979
1126
  create_missing:
980
- action: "Create stubs with TODO"
981
-
1127
+ action: Create stubs with TODO
982
1128
  - id: step_4_2
983
- name: "Create Knowledge Base"
984
- action: "Generate domain knowledge documentation"
1129
+ name: Create Knowledge Base
1130
+ action: Generate domain knowledge documentation
985
1131
  output:
986
- file: "data/{squad_name}-kb.md"
1132
+ file: data/{squad_name}-kb.md
987
1133
  sections:
988
1134
  - domain_overview
989
1135
  - key_concepts
990
1136
  - best_practices
991
1137
  - common_patterns
992
1138
  - anti_patterns
993
-
994
1139
  - id: step_4_3
995
- name: "Generate README"
996
- action: "Create comprehensive documentation"
997
- template: "templates/readme-tmpl.md"
1140
+ name: Generate README
1141
+ action: Create comprehensive documentation
1142
+ template: templates/readme-tmpl.md
998
1143
  sections:
999
1144
  - overview
1000
1145
  - installation
@@ -1002,35 +1147,46 @@ phases:
1002
1147
  - agents_list
1003
1148
  - workflows_list
1004
1149
  - tasks_list
1150
+ - workspace_integration_governance
1005
1151
  - usage_examples
1006
-
1007
1152
  - id: step_4_4
1008
- name: "Finalize config.yaml"
1009
- action: "Complete squad configuration"
1153
+ name: Finalize config.yaml
1154
+ action: Complete squad configuration
1010
1155
  validate:
1011
1156
  - yaml_syntax: true
1012
1157
  - all_components_listed: true
1013
1158
  - entry_agent_defined: true
1014
1159
  - version_correct: true
1015
-
1160
+ - workspace_integration_level_declared: true
1161
+ - workspace_integration_level_valid_enum: true
1162
+ - workspace_contract_paths_declared: true
1163
+ - workspace_first_has_bootstrap_scripts: conditional
1164
+ - id: step_4_5
1165
+ name: Run Workspace Integration Governance Check
1166
+ action: Validate workspace integration gates before final validation
1167
+ checks:
1168
+ - level_defined_and_valid: true
1169
+ - if_level_not_none_workspace_paths_referenced: true
1170
+ - if_workspace_first_bootstrap_and_essentials_scripts_exist: true
1171
+ output:
1172
+ workspace_integration_governance: pass|fail
1016
1173
  checkpoint:
1017
1174
  id: CP_PHASE_4
1018
- name: "Integration Complete"
1019
- blocking: false # Non-blocking, warnings only
1175
+ name: Integration Complete
1176
+ blocking: false
1020
1177
  criteria:
1021
1178
  - all_dependencies_wired: true
1022
1179
  - readme_complete: true
1023
1180
  - config_valid: true
1024
-
1025
- # ─────────────────────────────────────────────────────────────────────────────
1026
- # PHASE 5: VALIDATION
1027
- # ─────────────────────────────────────────────────────────────────────────────
1181
+ - workspace_contract_valid: true
1182
+ - workspace_requirements_met: true
1028
1183
  - id: phase_5
1029
- name: "VALIDATION"
1030
- purpose: "Validate squad meets quality standards"
1031
- duration: "5-10 minutes"
1032
- mode: "autonomous"
1033
- depends_on: ["phase_4"]
1184
+ name: VALIDATION
1185
+ purpose: Validate squad meets quality standards
1186
+ duration: 5-10 minutes
1187
+ mode: autonomous
1188
+ depends_on:
1189
+ - phase_4
1034
1190
  specialist: "@pedro-valerio"
1035
1191
  specialist_guidance: |
1036
1192
  Audit all workflows for:
@@ -1039,12 +1195,11 @@ phases:
1039
1195
  - Fluxo unidirecional (cards nunca voltam)
1040
1196
  - Zero gaps de tempo em handoffs
1041
1197
  Apply: "Se executor CONSEGUE fazer errado → processo está errado"
1042
-
1043
1198
  steps:
1044
1199
  - id: step_5_1
1045
- name: "Run Squad Checklist"
1046
- action: "Execute comprehensive validation"
1047
- checklist: "checklists/squad-checklist.md"
1200
+ name: Run Squad Checklist
1201
+ action: Execute comprehensive validation
1202
+ checklist: checklists/squad-checklist.md
1048
1203
  categories:
1049
1204
  - structure
1050
1205
  - agents
@@ -1052,39 +1207,38 @@ phases:
1052
1207
  - tasks
1053
1208
  - documentation
1054
1209
  - integration
1055
-
1210
+ - workspace_governance
1056
1211
  - id: step_5_2
1057
- name: "Quality Dimensions Scoring"
1058
- action: "Score squad against quality dimensions"
1059
- framework: "quality-dimensions-framework"
1212
+ name: Quality Dimensions Scoring
1213
+ action: Score squad against quality dimensions
1214
+ framework: quality-dimensions-framework
1060
1215
  dimensions:
1061
1216
  accuracy:
1062
- weight: 0.20
1063
- check: "Agents based on real minds"
1217
+ weight: 0.2
1218
+ check: Agents based on real minds
1064
1219
  coherence:
1065
- weight: 0.20
1066
- check: "Components work together"
1220
+ weight: 0.2
1221
+ check: Components work together
1067
1222
  strategic_alignment:
1068
1223
  weight: 0.15
1069
- check: "Squad serves stated purpose"
1224
+ check: Squad serves stated purpose
1070
1225
  operational_excellence:
1071
- weight: 0.20
1072
- check: "Squad is usable"
1226
+ weight: 0.2
1227
+ check: Squad is usable
1073
1228
  innovation_capacity:
1074
- weight: 0.10
1075
- check: "Squad can grow"
1229
+ weight: 0.1
1230
+ check: Squad can grow
1076
1231
  risk_management:
1077
1232
  weight: 0.15
1078
- check: "Guardrails in place"
1079
- threshold: 7.0
1233
+ check: Guardrails in place
1234
+ threshold: 7
1080
1235
  veto_if_below_5:
1081
1236
  - accuracy
1082
1237
  - coherence
1083
1238
  - operational_excellence
1084
-
1085
1239
  - id: step_5_3
1086
- name: "Fix Blocking Issues"
1087
- action: "Resolve any blocking validation failures"
1240
+ name: Fix Blocking Issues
1241
+ action: Resolve any blocking validation failures
1088
1242
  for_each_failure:
1089
1243
  - identify_root_cause: true
1090
1244
  - determine_fix: true
@@ -1092,38 +1246,34 @@ phases:
1092
1246
  - revalidate: true
1093
1247
  max_iterations: 3
1094
1248
  on_max_exceeded:
1095
- action: "Report remaining issues to human"
1096
-
1249
+ action: Report remaining issues to human
1097
1250
  checkpoint:
1098
1251
  id: CP_PHASE_5
1099
- name: "Squad Validated"
1252
+ name: Squad Validated
1100
1253
  blocking: true
1101
1254
  criteria:
1102
1255
  - checklist_pass: true
1103
1256
  - quality_score: ">= 7.0"
1104
1257
  - no_blocking_issues: true
1258
+ - workspace_integration_governance_pass: true
1105
1259
  output:
1106
- final_score: "X/10"
1107
- status: "PASS | FAIL"
1108
- issues_remaining: "count"
1109
-
1110
- # ─────────────────────────────────────────────────────────────────────────────
1111
- # PHASE 6: HANDOFF
1112
- # ─────────────────────────────────────────────────────────────────────────────
1260
+ final_score: X/10
1261
+ status: PASS | FAIL
1262
+ issues_remaining: count
1113
1263
  - id: phase_6
1114
- name: "HANDOFF"
1115
- purpose: "Present squad and document next steps"
1116
- duration: "2-5 minutes"
1117
- mode: "interactive"
1118
- depends_on: ["phase_5"]
1119
-
1264
+ name: HANDOFF
1265
+ purpose: Present squad and document next steps
1266
+ duration: 2-5 minutes
1267
+ mode: interactive
1268
+ depends_on:
1269
+ - phase_5
1120
1270
  steps:
1121
1271
  - id: step_6_0
1122
- name: "Generate Quality Dashboard"
1123
- action: "Create comprehensive quality metrics dashboard"
1124
- template: "templates/quality-dashboard-tmpl.md"
1272
+ name: Generate Quality Dashboard
1273
+ action: Create comprehensive quality metrics dashboard
1274
+ template: squads/squad-creator/templates/quality-dashboard-tmpl.md
1125
1275
  output:
1126
- file: "squads/{squad_name}/docs/quality-dashboard.md"
1276
+ file: squads/{squad_name}/docs/quality-dashboard.md
1127
1277
  metrics:
1128
1278
  per_agent:
1129
1279
  - sources_count
@@ -1138,125 +1288,167 @@ phases:
1138
1288
  triangulation:
1139
1289
  - claims_validated
1140
1290
  - overall_score
1141
-
1142
1291
  - id: step_6_1
1143
- name: "Present Squad Summary"
1144
- action: "Display final creation summary"
1292
+ name: Present Squad Summary
1293
+ action: Display final creation summary
1145
1294
  present:
1146
1295
  created:
1147
- - agents: "count"
1148
- - workflows: "count"
1149
- - tasks: "count"
1150
- - templates: "count"
1151
- - checklists: "count"
1296
+ - agents: count
1297
+ - workflows: count
1298
+ - tasks: count
1299
+ - templates: count
1300
+ - checklists: count
1152
1301
  quality:
1153
- - overall_score: "X/10"
1154
- - research_foundation: "X elite minds"
1155
- - tier_coverage: "Full/Partial"
1156
- - fidelity_estimate: "X%"
1157
- - dashboard: "squads/{squad_name}/docs/quality-dashboard.md"
1302
+ - overall_score: X/10
1303
+ - research_foundation: X elite minds
1304
+ - tier_coverage: Full/Partial
1305
+ - fidelity_estimate: X%
1306
+ - dashboard: squads/{squad_name}/docs/quality-dashboard.md
1158
1307
  activation:
1159
- - install: "npm run install:squad {squad_name}"
1308
+ - install: npm run install:squad {squad_name}
1160
1309
  - activate: "@{squad_name}"
1161
-
1162
1310
  - id: step_6_2
1163
- name: "Document Next Steps"
1164
- action: "Provide recommendations for squad usage"
1311
+ name: Document Next Steps
1312
+ action: Provide recommendations for squad usage
1165
1313
  recommendations:
1166
1314
  immediate:
1167
- - "Test squad with sample request"
1168
- - "Activate orchestrator and verify routing"
1315
+ - Test squad with sample request
1316
+ - Activate orchestrator and verify routing
1169
1317
  optional:
1170
- - "Add more Tier 3 specialists"
1171
- - "Create additional templates"
1172
- - "Add integration tests"
1173
-
1318
+ - Add more Tier 3 specialists
1319
+ - Create additional templates
1320
+ - Add integration tests
1174
1321
  output:
1175
- squad_path: "squads/{squad_name}/"
1322
+ squad_path: squads/{squad_name}/
1176
1323
  activation_command: "@{squad_name}"
1177
- quality_score: "X/10"
1178
- agents_created: "count"
1179
- status: "COMPLETE"
1180
-
1181
- # ═══════════════════════════════════════════════════════════════════════════════
1182
- # TRANSITIONS (Explicit conditions for phase progression)
1183
- # ═══════════════════════════════════════════════════════════════════════════════
1184
-
1324
+ quality_score: X/10
1325
+ agents_created: count
1326
+ status: COMPLETE
1327
+ - id: fix_cycle
1328
+ name: FIX CYCLE
1329
+ purpose: Remediation cycle for recoverable failures from checkpoint/veto conditions
1330
+ duration: 5-15 minutes per retry
1331
+ mode: autonomous
1332
+ terminal: false
1333
+ max_retries: 3
1334
+ retry_count: 0
1335
+ actions:
1336
+ - Identify failing checkpoint or veto condition
1337
+ - "Log failure: phase, checkpoint_id, veto_id, failure_reason"
1338
+ - Apply targeted fix based on failure type
1339
+ - Re-validate the specific failing condition
1340
+ failure_context:
1341
+ tracks:
1342
+ - originating_phase: Phase that triggered fix_cycle
1343
+ - failure_type: checkpoint_failed | veto_triggered | quality_gate_failed
1344
+ - checkpoint_id: CP_PHASE_X or veto ID
1345
+ - failure_reason: Specific reason for failure
1346
+ - retry_count: Current retry number
1347
+ - id: failed
1348
+ name: FAILED
1349
+ purpose: Terminal dead-end state for unrecoverable failures
1350
+ terminal: true
1351
+ actions:
1352
+ - Log failure reason, originating phase, and retry history
1353
+ - Generate failure report for human review
1354
+ - Preserve all artifacts created up to failure point
1355
+ - Record failure in session metrics
1356
+ output:
1357
+ failure_report:
1358
+ originating_phase: Phase where failure originated
1359
+ failure_reason: Root cause description
1360
+ retry_history: List of fix_cycle attempts
1361
+ artifacts_preserved: Paths to partial outputs
1362
+ recommended_action: Manual intervention guidance
1363
+ transitions: []
1185
1364
  transitions:
1186
1365
  - from: pre_flight
1187
1366
  to: phase_0
1188
1367
  condition: execution_mode_selected
1189
- description: "User selected YOLO/QUALITY/HYBRID mode"
1190
-
1368
+ description: User selected YOLO/QUALITY/HYBRID mode
1369
+ checkpoints:
1370
+ - checkpoint_id: SC_HE_001
1371
+ name: "Future Back-Casting (PV_BS_001)"
1372
+ gate: "Do proposed squad actions enable the desired end-state?"
1373
+ dimensions:
1374
+ end_state_vision_clarity: "threshold >= 0.7"
1375
+ market_signals: "threshold >= 0.6"
1376
+ strategic_alignment: "threshold >= 0.7"
1377
+ veto_power: true
1378
+ on_veto: "Redesign scope before proceeding"
1191
1379
  - from: phase_0
1192
1380
  to: phase_0_5
1193
1381
  condition: discovery_complete
1194
1382
  checkpoint_required: true
1195
1383
  heuristic: SC_HE_001
1196
1384
  veto_check: SC_VC_001
1197
- description: "Domain viable, squad structure defined"
1198
-
1385
+ description: Domain viable, squad structure defined
1386
+ checkpoints:
1387
+ - checkpoint_id: AN_HE_004
1388
+ name: "Discovery Before Implementation"
1389
+ gate: "Existing systems mapped before proposing new ones?"
1390
+ flow: "Existing - Gap - Options - Recommendation"
1391
+ pass_condition: "AS-IS documented, gap identified, >=2 options evaluated"
1392
+ veto_power: false
1393
+ - checkpoint_id: AN_HE_007
1394
+ name: "REUSE > CREATE"
1395
+ gate: "Existing squads/tasks searched before creating new ones?"
1396
+ scoring: ">=80% similar - REUSE | 50-79% - ADAPT | <50% - CREATE"
1397
+ pass_condition: "Reuse decision documented with similarity score"
1398
+ veto_power: false
1199
1399
  - from: phase_0_5
1200
1400
  to: phase_1
1201
1401
  condition: tools_discovered
1202
1402
  checkpoint_required: true
1203
- description: "Tool discovery complete, decision matrix generated"
1204
-
1403
+ description: Tool discovery complete, decision matrix generated
1205
1404
  - from: phase_1
1206
1405
  to: phase_materials
1207
1406
  condition: minds_identified AND mode != 'yolo'
1208
1407
  checkpoint_required: true
1209
1408
  veto_check: SC_VC_002
1210
- description: "Elite minds found, materials collection needed"
1211
-
1409
+ description: Elite minds found, materials collection needed
1212
1410
  - from: phase_1
1213
1411
  to: phase_2
1214
1412
  condition: minds_identified AND mode == 'yolo'
1215
1413
  checkpoint_required: true
1216
- description: "Elite minds found, skip materials (YOLO mode)"
1217
-
1414
+ description: Elite minds found, skip materials (YOLO mode)
1218
1415
  - from: phase_materials
1219
1416
  to: phase_2
1220
1417
  condition: materials_collected
1221
- description: "User materials indexed"
1222
-
1418
+ description: User materials indexed
1223
1419
  - from: phase_2
1224
1420
  to: phase_3
1225
1421
  condition: architecture_approved
1226
1422
  checkpoint_required: true
1227
1423
  heuristic: SC_HE_002
1228
1424
  veto_check: SC_VC_005
1229
- description: "Tier structure and handoffs defined"
1230
-
1231
- # ═══════════════════════════════════════════════════════════════════════════════
1232
- # PHASE 3 SUB-TRANSITIONS (@oalanicolas DNA Extraction Pipeline)
1233
- # ═══════════════════════════════════════════════════════════════════════════════
1234
-
1425
+ description: Tier structure and handoffs defined
1235
1426
  - from: phase_3
1236
1427
  to: phase_3_sources
1237
1428
  condition: architecture_approved
1238
1429
  checkpoint_required: true
1239
1430
  agent: "@oalanicolas"
1240
- description: "Architecture approved, start source curation"
1241
-
1431
+ description: Architecture approved, start source curation
1242
1432
  - from: phase_3_sources
1243
1433
  to: phase_3_extraction
1244
1434
  condition: sources_curated AND ouro_ratio >= 0.6
1245
1435
  checkpoint_required: true
1246
1436
  agent: "@oalanicolas"
1247
1437
  heuristic: AN_HE_003
1248
- veto_check: [AN_VC_001, AN_VC_003]
1249
- description: "Sources curated with Pareto ao Cubo, proceed to extraction"
1250
-
1438
+ veto_check:
1439
+ - AN_VC_001
1440
+ - AN_VC_003
1441
+ description: Sources curated with Pareto ao Cubo, proceed to extraction
1251
1442
  - from: phase_3_extraction
1252
1443
  to: phase_3_validation
1253
1444
  condition: dna_extracted AND trinity_complete
1254
1445
  checkpoint_required: true
1255
1446
  agent: "@oalanicolas"
1256
1447
  heuristic: AN_HE_001
1257
- veto_check: [AN_VC_002, AN_VC_004]
1258
- description: "DNA extracted with trinity complete (Playbook + Framework + Swipe)"
1259
-
1448
+ veto_check:
1449
+ - AN_VC_002
1450
+ - AN_VC_004
1451
+ description: DNA extracted with trinity complete (Playbook + Framework + Swipe)
1260
1452
  - from: phase_3_validation
1261
1453
  to: phase_3_handoff
1262
1454
  condition: self_validation_passed
@@ -1264,117 +1456,169 @@ transitions:
1264
1456
  agent: "@oalanicolas"
1265
1457
  heuristic: AN_HE_002
1266
1458
  veto_check: AN_VC_005
1267
- description: "Self-validation passed (15+ citations, 5+ phrases, trinity complete)"
1268
-
1459
+ description: Self-validation passed (15+ citations, 5+ phrases, trinity complete)
1460
+ # AN_HE_010 — Context Death Test (applied at handoff boundary)
1461
+ - from: phase_3_handoff
1462
+ to: phase_3_handoff_cdt
1463
+ condition: insumos_ready
1464
+ checkpoint_required: true
1465
+ agent: "@oalanicolas"
1466
+ heuristic: AN_HE_010
1467
+ checkpoint:
1468
+ checkpoint_id: AN_HE_010
1469
+ name: "Context Death Test"
1470
+ question: "Se uma IA zerada ler este squad agora, ela consegue executar sem pedir contexto adicional?"
1471
+ criteria:
1472
+ - "Todos os tasks tem inputs e outputs explicitos"
1473
+ - "Todos os executores estao declarados"
1474
+ - "Nenhum step assume conhecimento implicito"
1475
+ pass_condition: ">=90% dos tasks passam no CDT"
1476
+ veto_power: false
1477
+ on_fail: "Documentar gaps de contexto antes de marcar squad como pronto"
1478
+ veto_check: AN_VC_009
1479
+ description: Context Death Test — all artifacts must be self-contained before handoff
1480
+ - from: phase_3_handoff_cdt
1481
+ to: phase_3_build
1482
+ condition: context_death_test_passed
1483
+ description: CDT passed, proceed to build
1269
1484
  - from: phase_3_handoff
1270
1485
  to: phase_3_build
1271
1486
  condition: insumos_ready
1272
1487
  checkpoint_required: true
1273
1488
  handoff_from: "@oalanicolas"
1274
1489
  handoff_to: "@pedro-valerio"
1275
- handoff_format: "INSUMOS_READY"
1276
- description: "Insumos validated, handoff to @pedro-valerio for agent creation"
1277
-
1278
- # ═══════════════════════════════════════════════════════════════════════════════
1279
-
1490
+ handoff_format: INSUMOS_READY
1491
+ description: Insumos validated, handoff to @pedro-valerio for agent creation
1280
1492
  - from: phase_3
1281
1493
  to: phase_4
1282
1494
  condition: agents_created AND quality_gate_passed
1283
1495
  checkpoint_required: true
1284
- veto_check: [SC_VC_003, SC_VC_004, SC_VC_006]
1285
- description: "All agents pass SC_AGT_001, smoke tests pass"
1286
-
1496
+ veto_check:
1497
+ - SC_VC_003
1498
+ - SC_VC_004
1499
+ - SC_VC_006
1500
+ description: All agents pass SC_AGT_001, smoke tests pass
1287
1501
  - from: phase_4
1288
1502
  to: phase_5
1289
- condition: integration_complete
1503
+ condition: integration_complete AND workspace_integration_governance_passed
1290
1504
  checkpoint_required: false
1291
- description: "Dependencies wired, docs generated"
1292
-
1505
+ description: Dependencies wired, docs generated, workspace governance validated
1293
1506
  - from: phase_5
1294
1507
  to: phase_6
1295
1508
  condition: validation_passed AND axioma_score >= 7.0
1296
1509
  checkpoint_required: true
1297
1510
  heuristic: SC_HE_003
1298
- veto_check: [SC_VC_007, SC_VC_008, SC_VC_009, SC_VC_010]
1299
- description: "All quality gates pass, no blocking issues"
1300
-
1511
+ veto_check:
1512
+ - SC_VC_007
1513
+ - SC_VC_008
1514
+ - SC_VC_009
1515
+ - SC_VC_010
1516
+ description: All quality gates pass, no blocking issues
1517
+ checkpoints:
1518
+ - checkpoint_id: AN_HE_006
1519
+ name: "Verification First"
1520
+ gate: "Physical verification done before theorizing?"
1521
+ examples:
1522
+ - "file exists confirmed"
1523
+ - "command runs confirmed"
1524
+ - "output format verified"
1525
+ pass_condition: "Evidence-based, not assumption-based"
1526
+ veto_power: false
1527
+ - from: fix_cycle
1528
+ to: phase_0
1529
+ trigger: fix_successful
1530
+ condition: originating_phase == 'phase_0' AND retry_count < max_retries AND fix_validated
1531
+ description: Fix validated for discovery phase — return to phase_0
1532
+ - from: fix_cycle
1533
+ to: phase_3
1534
+ trigger: fix_successful
1535
+ condition: originating_phase == 'phase_3' AND retry_count < max_retries AND fix_validated
1536
+ description: Fix validated for creation phase — return to phase_3
1537
+ - from: fix_cycle
1538
+ to: phase_5
1539
+ trigger: fix_successful
1540
+ condition: originating_phase == 'phase_5' AND retry_count < max_retries AND fix_validated
1541
+ description: Fix validated for validation phase — return to phase_5
1542
+ - from: fix_cycle
1543
+ to: failed
1544
+ trigger: max_retries_exceeded
1545
+ condition: retry_count >= max_retries
1546
+ description: Exhausted retries in fix_cycle — move to terminal failed state
1547
+ - from: fix_cycle
1548
+ to: failed
1549
+ trigger: fix_not_possible
1550
+ condition: failure_type == 'unrecoverable'
1551
+ description: Failure is not recoverable — move to terminal failed state
1301
1552
  - from: phase_6
1302
1553
  to: complete
1303
1554
  condition: handoff_accepted
1304
- description: "User acknowledged squad creation"
1305
-
1306
- # ═══════════════════════════════════════════════════════════════════════════════
1307
- # OUTPUTS
1308
- # ═══════════════════════════════════════════════════════════════════════════════
1309
-
1555
+ description: User acknowledged squad creation
1556
+ - from: phase_0
1557
+ to: fix_cycle
1558
+ trigger: checkpoint_failed
1559
+ condition: CP_PHASE_0 fails (viability_score < 6 OR duplicate detected OR SC_VC_001 triggered)
1560
+ description: Discovery validation fails — route to fix_cycle for remediation
1561
+ - from: phase_3
1562
+ to: fix_cycle
1563
+ trigger: checkpoint_failed
1564
+ condition: CP_PHASE_3 fails (quality_gate_failed OR SC_VC_003/004/005/006 triggered)
1565
+ description: Creation quality gate fails — route to fix_cycle for remediation
1566
+ - from: phase_5
1567
+ to: fix_cycle
1568
+ trigger: checkpoint_failed
1569
+ condition: CP_PHASE_5 fails (axioma_score < 7.0 OR SC_VC_007/008/009/010 triggered)
1570
+ description: Validation fails — route to fix_cycle for remediation
1310
1571
  outputs:
1311
1572
  primary:
1312
- - name: "Squad Directory"
1313
- location: "squads/{squad_name}/"
1314
- description: "Complete squad structure"
1315
-
1316
- - name: "Agents"
1317
- location: "squads/{squad_name}/agents/"
1318
- description: "All agent definitions"
1319
-
1320
- - name: "Workflows"
1321
- location: "squads/{squad_name}/workflows/"
1322
- description: "Multi-phase workflows"
1323
-
1324
- - name: "Tasks"
1325
- location: "squads/{squad_name}/tasks/"
1326
- description: "Atomic tasks"
1327
-
1328
- - name: "Documentation"
1329
- location: "squads/{squad_name}/README.md"
1330
- description: "Usage documentation"
1331
-
1573
+ - name: Squad Directory
1574
+ location: squads/{squad_name}/
1575
+ description: Complete squad structure
1576
+ - name: Agents
1577
+ location: squads/{squad_name}/agents/
1578
+ description: All agent definitions
1579
+ - name: Workflows
1580
+ location: squads/{squad_name}/workflows/
1581
+ description: Multi-phase workflows
1582
+ - name: Tasks
1583
+ location: squads/{squad_name}/tasks/
1584
+ description: Atomic tasks
1585
+ - name: Documentation
1586
+ location: squads/{squad_name}/README.md
1587
+ description: Usage documentation
1332
1588
  secondary:
1333
- - name: "Research Files"
1334
- location: "docs/research/{domain}-*.md"
1335
- description: "Research documentation"
1336
-
1337
- - name: "Tool Discovery Report"
1338
- location: "squads/{squad_name}/docs/tool-discovery-report.md"
1339
- description: "Comprehensive tool research findings (MCPs, APIs, CLIs, Libraries)"
1340
-
1341
- - name: "Tool Integration Plan"
1342
- location: "squads/{squad_name}/docs/tool-integration-plan.md"
1343
- description: "Prioritized implementation steps for discovered tools"
1344
-
1345
- - name: "Capability-Tools Mapping"
1346
- location: "squads/{squad_name}/data/capability-tools.yaml"
1347
- description: "Squad-specific capability to tool mapping"
1348
-
1349
- - name: "Session Report"
1350
- location: "squads/{squad_name}/docs/creation-report.md"
1351
- description: "Creation session documentation"
1352
-
1353
- # ═══════════════════════════════════════════════════════════════════════════════
1354
- # HEURISTICS REFERENCE
1355
- # ═══════════════════════════════════════════════════════════════════════════════
1356
- # NOTE: Core heuristics (SC_HE_001-003) and veto conditions (SC_VC_001-010)
1357
- # are defined in config/heuristics.yaml and config/veto-conditions.yaml.
1358
- # The heuristics below are workflow-specific (SC_SCP_*, SC_DSC_*, SC_TLD_*, etc.)
1359
- # ═══════════════════════════════════════════════════════════════════════════════
1360
-
1589
+ - name: Research Files
1590
+ location: docs/research/{domain}-*.md
1591
+ description: Research documentation
1592
+ - name: Tool Discovery Report
1593
+ location: .aiox/squad-runtime/discovery/{domain}/tool-discovery-report.md
1594
+ description: Comprehensive tool research findings (MCPs, APIs, CLIs, Libraries)
1595
+ - name: Tool Integration Plan
1596
+ location: .aiox/squad-runtime/discovery/{domain}/tool-integration-plan.md
1597
+ description: Prioritized implementation steps for discovered tools
1598
+ - name: Capability-Tools Mapping
1599
+ location: .aiox/squad-runtime/discovery/{domain}/capability-tools.yaml
1600
+ description: Domain capability to tool mapping
1601
+ - name: Session Report
1602
+ location: squads/{squad_name}/docs/creation-report.md
1603
+ description: Creation session documentation
1604
+ - name: Workspace Integration Contract
1605
+ location: .aiox/squad-runtime/create-squad/{squad_name}/workspace-integration-level.yaml
1606
+ description: Canonical workspace integration level + rationale and path contract
1361
1607
  heuristics:
1362
1608
  - id: SC_SCP_001
1363
- name: "Scope Complexity Gate (PRD Gate)"
1364
- phase: "phase_0"
1609
+ name: Scope Complexity Gate (PRD Gate)
1610
+ phase: phase_0
1365
1611
  blocking: true
1366
1612
  thresholds:
1367
1613
  workflows: ">= 10 → PRD required"
1368
1614
  agents: ">= 8 → PRD required"
1369
-
1370
1615
  - id: SC_DSC_001
1371
- name: "Discovery Complete"
1372
- phase: "phase_0"
1616
+ name: Discovery Complete
1617
+ phase: phase_0
1373
1618
  blocking: true
1374
-
1375
1619
  - id: SC_TLD_001
1376
- name: "Deep Tool Discovery Complete"
1377
- phase: "phase_0_5"
1620
+ name: Deep Tool Discovery Complete
1621
+ phase: phase_0_5
1378
1622
  blocking: true
1379
1623
  description: |
1380
1624
  5 parallel sub-agents executed deep search for MCPs, APIs, CLIs, Libraries, GitHub projects.
@@ -1382,238 +1626,138 @@ heuristics:
1382
1626
  Comparative report generated with flags for human attention.
1383
1627
  criteria:
1384
1628
  - parallel_agents_executed: ">= 3 of 5"
1385
- - tools_discovered: ">= 5" # Minimum, but quality determined by ranking
1629
+ - tools_discovered: ">= 5"
1386
1630
  - tier_distribution_calculated: true
1387
1631
  - comparative_report_generated: true
1388
1632
  notes:
1389
- - "No tool automatically eliminated - all get tiers"
1390
- - "Even Tier 4 tools included as they may be best option"
1391
-
1633
+ - No tool automatically eliminated - all get tiers
1634
+ - Even Tier 4 tools included as they may be best option
1392
1635
  - id: SC_TLD_002
1393
- name: "Relative Ranking Complete"
1394
- phase: "phase_0_5.step_2_3"
1636
+ name: Relative Ranking Complete
1637
+ phase: phase_0_5.step_2_3
1395
1638
  blocking: true
1396
- description: "All tools ranked by percentile within dataset found"
1639
+ description: All tools ranked by percentile within dataset found
1397
1640
  criteria:
1398
1641
  - all_tools_have_tiers: true
1399
1642
  - percentile_calculation_done: true
1400
1643
  notes:
1401
- - "NO absolute thresholds like 'stars >= 100'"
1402
- - "30 stars can be Tier 1 if best in niche"
1403
-
1644
+ - NO absolute thresholds like 'stars >= 100'
1645
+ - 30 stars can be Tier 1 if best in niche
1404
1646
  - id: SC_TLD_003
1405
- name: "Attention Flags Identified"
1406
- phase: "phase_0_5.step_2_4"
1647
+ name: Attention Flags Identified
1648
+ phase: phase_0_5.step_2_4
1407
1649
  blocking: false
1408
- description: "Security, maturity, and license flags identified for human review"
1650
+ description: Security, maturity, and license flags identified for human review
1409
1651
  criteria:
1410
1652
  - flags_checked: true
1411
1653
  notes:
1412
- - "FLAGS require attention, not automatic elimination"
1413
- - "Tool with flag may still be recommended if best available"
1414
-
1654
+ - FLAGS require attention, not automatic elimination
1655
+ - Tool with flag may still be recommended if best available
1415
1656
  - id: SC_TLD_004
1416
- name: "Cost Comparison Complete"
1417
- phase: "phase_0_5.step_2_5"
1657
+ name: Cost Comparison Complete
1658
+ phase: phase_0_5.step_2_5
1418
1659
  blocking: false
1419
- description: "Paid vs OSS compared by tier within same capability"
1660
+ description: Paid vs OSS compared by tier within same capability
1420
1661
  criteria:
1421
1662
  - paid_vs_oss_grouped_by_capability: true
1422
1663
  - tier_comparison_generated: true
1423
1664
  notes:
1424
- - "NO fixed ROI thresholds"
1425
- - "OSS preferred when same tier as paid"
1426
- - "Present analysis for human decision"
1427
-
1665
+ - NO fixed ROI thresholds
1666
+ - OSS preferred when same tier as paid
1667
+ - Present analysis for human decision
1428
1668
  - id: SC_TLD_005
1429
- name: "Decision Matrix Generated"
1430
- phase: "phase_0_5.step_2_8"
1669
+ name: Decision Matrix Generated
1670
+ phase: phase_0_5.step_2_8
1431
1671
  blocking: true
1432
- description: "Tools assigned to quadrants based on relative tiers"
1672
+ description: Tools assigned to quadrants based on relative tiers
1433
1673
  criteria:
1434
1674
  - quadrants_assigned: true
1435
1675
  - recommendations_per_gap: true
1436
1676
  notes:
1437
- - "Quick Win = Tier 1-2 Value + Tier 1-2 Effort"
1438
- - "No tool excluded - all get quadrant assignment"
1439
-
1677
+ - Quick Win = Tier 1-2 Value + Tier 1-2 Effort
1678
+ - No tool excluded - all get quadrant assignment
1440
1679
  - id: SC_RES_001
1441
- name: "Research Quality Gate"
1442
- phase: "phase_1"
1680
+ name: Research Quality Gate
1681
+ phase: phase_1
1443
1682
  blocking: true
1444
-
1445
1683
  - id: SC_ARC_001
1446
- name: "Architecture Approved"
1447
- phase: "phase_2"
1684
+ name: Architecture Approved
1685
+ phase: phase_2
1448
1686
  blocking: true
1449
-
1450
1687
  - id: SC_AGT_001
1451
- name: "Agent Quality Gate"
1452
- phase: "phase_3"
1688
+ name: Agent Quality Gate
1689
+ phase: phase_3
1453
1690
  blocking: true
1454
-
1455
1691
  - id: SC_CRT_001
1456
- name: "Creation Quality"
1457
- phase: "phase_3"
1692
+ name: Creation Quality
1693
+ phase: phase_3
1458
1694
  blocking: true
1459
-
1460
1695
  - id: SC_INT_001
1461
- name: "Integration Complete"
1462
- phase: "phase_4"
1696
+ name: Integration Complete
1697
+ phase: phase_4
1463
1698
  blocking: false
1464
-
1465
1699
  - id: SC_VAL_001
1466
- name: "Squad Validated"
1467
- phase: "phase_5"
1700
+ name: Squad Validated
1701
+ phase: phase_5
1468
1702
  blocking: true
1469
-
1470
- # ═══════════════════════════════════════════════════════════════════════════════
1471
- # ERROR HANDLING
1472
- # ═══════════════════════════════════════════════════════════════════════════════
1473
- # Veto conditions (SC_VC_001-010) from config/veto-conditions.yaml
1474
- # are applied at each checkpoint. When a veto is triggered:
1475
- # - BLOCKING vetos halt the workflow until resolved
1476
- # - Veto recovery actions are specified in the config
1477
- # ═══════════════════════════════════════════════════════════════════════════════
1478
-
1479
1703
  error_handling:
1480
- # Veto condition mapping (from config/veto-conditions.yaml v2.0)
1481
1704
  veto_conditions_reference:
1482
- # Pedro Valério (SC_VC_*)
1483
- phase_0_discovery: ["SC_VC_001"] # Domain Viability
1484
- phase_2_architecture: ["SC_VC_002"] # Vision Clarity
1485
- phase_3_dna_extraction: ["SC_VC_003", "SC_VC_004"] # Source Quality, DNA Completeness
1486
- phase_3_agent_creation: ["SC_VC_005", "SC_VC_006"] # Agent Coherence, Smoke Test
1487
- phase_5_validation: ["SC_VC_007", "SC_VC_008", "SC_VC_009", "SC_VC_010"] # Guardrail, Unidirectional, Axioma, Task Anatomy
1488
-
1489
- # OalaNicolas (AN_VC_*) - Phase 3 sub-phases
1490
- phase_3_sources: ["AN_VC_001", "AN_VC_003"] # Volume Without Curation, Bronze Majority
1491
- phase_3_extraction: ["AN_VC_002", "AN_VC_004"] # Trinity Incomplete, Citation Missing
1492
- phase_3_validation: ["AN_VC_005"] # Handoff Without Validation
1493
-
1705
+ phase_0_discovery:
1706
+ - SC_VC_001
1707
+ phase_2_architecture:
1708
+ - SC_VC_002
1709
+ phase_3_dna_extraction:
1710
+ - SC_VC_003
1711
+ - SC_VC_004
1712
+ phase_3_agent_creation:
1713
+ - SC_VC_005
1714
+ - SC_VC_006
1715
+ phase_5_validation:
1716
+ - SC_VC_007
1717
+ - SC_VC_008
1718
+ - SC_VC_009
1719
+ - SC_VC_010
1720
+ phase_3_sources:
1721
+ - AN_VC_001
1722
+ - AN_VC_003
1723
+ phase_3_extraction:
1724
+ - AN_VC_002
1725
+ - AN_VC_004
1726
+ phase_3_validation:
1727
+ - AN_VC_005
1494
1728
  research_fails:
1495
- - action: "Retry with different queries"
1496
- - if_still_fails: "Abort with explanation"
1497
- - veto_triggered: "SC_VC_001 (Domain Viability)"
1498
-
1729
+ - action: Retry with different queries
1730
+ - if_still_fails: Abort with explanation
1731
+ - veto_triggered: SC_VC_001 (Domain Viability)
1499
1732
  agent_creation_fails:
1500
- - action: "Identify missing research"
1501
- - action: "Supplement research"
1502
- - action: "Retry creation"
1503
- - if_still_fails: "Create simpler agent, note for improvement"
1504
- - veto_triggered: "SC_VC_005 (Agent Coherence) or SC_VC_006 (Smoke Test)"
1505
-
1733
+ - action: Identify missing research
1734
+ - action: Supplement research
1735
+ - action: Retry creation
1736
+ - if_still_fails: Create simpler agent, note for improvement
1737
+ - veto_triggered: SC_VC_005 (Agent Coherence) or SC_VC_006 (Smoke Test)
1506
1738
  validation_fails:
1507
- - action: "Log specific failures"
1508
- - action: "Attempt automated fix"
1509
- - if_cannot_fix: "Report to human for decision"
1510
- - run_coherence_validator: "python scripts/coherence-validator.py"
1511
-
1739
+ - action: Log specific failures
1740
+ - action: Attempt automated fix
1741
+ - if_cannot_fix: Report to human for decision
1742
+ - run_coherence_validator: python scripts/coherence-validator.py
1512
1743
  checkpoint_fails:
1513
1744
  - blocking_checkpoint:
1514
- action: "Halt and report"
1515
- require: "Human intervention or fix"
1516
- check_vetos: "config/veto-conditions.yaml"
1745
+ action: Halt and report
1746
+ require: Human intervention or fix
1747
+ check_vetos: config/veto-conditions.yaml
1517
1748
  - non_blocking_checkpoint:
1518
- action: "Log warning"
1749
+ action: Log warning
1519
1750
  proceed: true
1520
-
1521
- # ═══════════════════════════════════════════════════════════════════════════════
1522
- # METRICS
1523
- # ═══════════════════════════════════════════════════════════════════════════════
1524
-
1525
1751
  metrics:
1526
1752
  track:
1527
- - duration_per_phase: "minutes"
1528
- - agents_created: "count"
1529
- - total_lines_generated: "sum"
1530
- - quality_scores: "per component"
1531
- - checkpoint_passes: "count"
1532
- - issues_fixed: "count"
1533
- - tools_discovered: "count"
1534
- - tools_integrated: "count"
1535
- - capability_gaps_filled: "count"
1536
-
1753
+ - duration_per_phase: minutes
1754
+ - agents_created: count
1755
+ - total_lines_generated: sum
1756
+ - quality_scores: per component
1757
+ - checkpoint_passes: count
1758
+ - issues_fixed: count
1759
+ - tools_discovered: count
1760
+ - tools_integrated: count
1761
+ - capability_gaps_filled: count
1537
1762
  report_at_end: true
1538
- save_to: "squads/{squad_name}/docs/metrics.yaml"
1539
-
1540
- # ═══════════════════════════════════════════════════════════════════════════════
1541
- # WORKFLOW VERSION
1542
- # ═══════════════════════════════════════════════════════════════════════════════
1543
-
1544
- metadata:
1545
- version: "2.7"
1546
- created: "2026-02-01"
1547
- last_updated: "2026-02-10"
1548
- author: "squad-chief"
1549
- lines: "900+"
1550
- changelog:
1551
- - version: "2.7"
1552
- date: "2026-02-10"
1553
- changes:
1554
- - "MAJOR: Integrated @oalanicolas heuristics and veto conditions into workflow"
1555
- - "Added AN_HE_001-003 (Knowledge Extraction, Trinity, Pareto ao Cubo)"
1556
- - "Added AN_VC_001-005 (Volume, Trinity, Bronze, Citation, Handoff)"
1557
- - "Added Phase 3 sub-transitions for DNA extraction pipeline"
1558
- - "Sub-phases: phase_3_sources → phase_3_extraction → phase_3_validation → phase_3_handoff → phase_3_build"
1559
- - "Updated config_files to reference heuristics.yaml v2.0 and veto-conditions.yaml v2.0"
1560
- - "Updated error_handling with AN_VC_* veto references"
1561
- - "Total heuristics: 6 (3 SC_HE + 3 AN_HE)"
1562
- - "Total veto conditions: 15 (10 SC_VC + 5 AN_VC)"
1563
-
1564
- - version: "2.6"
1565
- date: "2026-02-03"
1566
- changes:
1567
- - "MAJOR: Replaced absolute thresholds with RELATIVE TIERS"
1568
- - "Tools compared by PERCENTILE within dataset (Top 20%, 21-50%, etc.)"
1569
- - "Replaced VETOs with FLAGS requiring human attention"
1570
- - "No tool automatically eliminated - Tier 4 may still be best option"
1571
- - "Cost comparison: tier-based, no fixed ROI thresholds"
1572
- - "Updated tool-evaluation-framework.md to v2.0"
1573
- - "Updated wf-discover-tools.yaml to v2.0"
1574
- - "Philosophy: 30 stars can be Tier 1 if best in niche"
1575
- - version: "2.5"
1576
- date: "2026-02-03"
1577
- changes:
1578
- - "RICE + WSJF frameworks for tool evaluation"
1579
- - "Security/Social Proof gates (replaced by relative tiers in v2.6)"
1580
- - version: "2.4.1"
1581
- date: "2026-02-03"
1582
- changes:
1583
- - "MAJOR: Upgraded PHASE 0.5 to DEEP TOOL DISCOVERY with 5 parallel sub-agents"
1584
- - "Created workflows/wf-discover-tools.yaml (800+ lines) - complete parallel discovery workflow"
1585
- - "Sub-agents: MCP Agent, API Agent, CLI Agent, Library Agent, GitHub Agent"
1586
- - "8-dimensional scoring: Impact (60%) + Effort (40%)"
1587
- - "Decision Matrix: Quick Wins | Strategic | Fill-ins | Avoid"
1588
- - "SC_TLD_001 is now BLOCKING (was non-blocking)"
1589
- - "Veto conditions: all_agents_failed, zero_tools_found"
1590
- - version: "2.4"
1591
- date: "2026-02-03"
1592
- changes:
1593
- - "Added PHASE 0.5: TOOL DISCOVERY (basic version)"
1594
- - "Created data/tool-registry.yaml - global tool catalog"
1595
- - "Created tasks/discover-tools.md - lightweight discovery task"
1596
- - version: "2.3"
1597
- date: "2026-02-03"
1598
- changes:
1599
- - "Added SC_SCP_001: Scope Complexity Gate (PRD Gate)"
1600
- - "Squads with >= 10 workflows require PRD before creation"
1601
- - "Squads with >= 8 agents require roadmap"
1602
- - "New step_0_0 in Discovery phase for early scope detection"
1603
- - version: "2.2"
1604
- date: "2026-02-03"
1605
- changes:
1606
- - "Added specialist agents: @oalanicolas (mind cloning), @pedro-valerio (process design)"
1607
- - "Integrated specialists into Phase 3 (Creation) and Phase 5 (Validation)"
1608
- - version: "2.1"
1609
- date: "2026-02-03"
1610
- changes:
1611
- - "Added auto-acquire-sources.md integration"
1612
- - "Added update-mind.md for brownfield support"
1613
- - "Added quality-dashboard generation in handoff"
1614
- - version: "2.0"
1615
- date: "2026-02-03"
1616
- changes:
1617
- - "Added YOLO mode configuration"
1618
- - "Added pre-flight questionnaire"
1619
- - "Added phase_materials for QUALITY/HYBRID modes"
1763
+ save_to: squads/{squad_name}/docs/metrics.yaml