aiox-core 5.0.2 → 5.0.3

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 (547) hide show
  1. package/.aiox-core/data/entity-registry.yaml +748 -763
  2. package/.aiox-core/install-manifest.yaml +4 -4
  3. package/package.json +6 -1
  4. package/pro/feature-registry.yaml +223 -0
  5. package/pro/package.json +39 -0
  6. package/pro/pro-config.yaml +63 -0
  7. package/pro/squads/README.md +24 -0
  8. package/pro/squads/design/HEADLINE.md +3 -0
  9. package/pro/squads/design/README.md +109 -0
  10. package/pro/squads/design/agents/brad-frost.md +1097 -0
  11. package/pro/squads/design/agents/dan-mall.md +857 -0
  12. package/pro/squads/design/agents/dave-malouf.md +2272 -0
  13. package/pro/squads/design/agents/design-chief.md +114 -0
  14. package/pro/squads/design/agents/ds-foundations-lead.md +194 -0
  15. package/pro/squads/design/agents/ds-token-architect.md +361 -0
  16. package/pro/squads/design/agents/nano-banana-generator.md +162 -0
  17. package/pro/squads/design/agents/storybook-expert.md +809 -0
  18. package/pro/squads/design/checklists/atomic-refactor-checklist.md +299 -0
  19. package/pro/squads/design/checklists/component-adaptation-checklist.md +81 -0
  20. package/pro/squads/design/checklists/design-fidelity-checklist.md +283 -0
  21. package/pro/squads/design/checklists/design-handoff-checklist.md +55 -0
  22. package/pro/squads/design/checklists/design-team-health-checklist.md +454 -0
  23. package/pro/squads/design/checklists/designops-maturity-checklist.md +518 -0
  24. package/pro/squads/design/checklists/ds-a11y-release-gate-checklist.md +45 -0
  25. package/pro/squads/design/checklists/ds-accessibility-wcag-checklist.md +147 -0
  26. package/pro/squads/design/checklists/ds-component-quality-checklist.md +150 -0
  27. package/pro/squads/design/checklists/ds-critical-eye-review-checklist.md +147 -0
  28. package/pro/squads/design/checklists/ds-migration-readiness-checklist.md +99 -0
  29. package/pro/squads/design/checklists/ds-pattern-audit-checklist.md +164 -0
  30. package/pro/squads/design/checklists/reading-accessibility-checklist.md +275 -0
  31. package/pro/squads/design/checklists/token-mapping-checklist.md +107 -0
  32. package/pro/squads/design/config/coding-standards.md +286 -0
  33. package/pro/squads/design/config/source-tree.md +59 -0
  34. package/pro/squads/design/config/tech-stack.md +48 -0
  35. package/pro/squads/design/config.yaml +204 -0
  36. package/pro/squads/design/data/agentic-design-systems-guide.md +46 -0
  37. package/pro/squads/design/data/agentic-ds-principles.md +100 -0
  38. package/pro/squads/design/data/atomic-design-principles.md +108 -0
  39. package/pro/squads/design/data/atomic-refactor-rules.md +582 -0
  40. package/pro/squads/design/data/base-component-specs.md +972 -0
  41. package/pro/squads/design/data/brad-frost-analysis-extract-implicit.yaml +270 -0
  42. package/pro/squads/design/data/brad-frost-analysis-find-0.8.yaml +176 -0
  43. package/pro/squads/design/data/brad-frost-analysis-qa-report.yaml +168 -0
  44. package/pro/squads/design/data/brad-frost-dna.yaml +713 -0
  45. package/pro/squads/design/data/capability-tools.yaml +124 -0
  46. package/pro/squads/design/data/component-adaptation-changelog.md +318 -0
  47. package/pro/squads/design/data/consolidation-algorithms.md +168 -0
  48. package/pro/squads/design/data/critical-eye-scoring-rules.yaml +240 -0
  49. package/pro/squads/design/data/design-token-best-practices.md +107 -0
  50. package/pro/squads/design/data/design-tokens-spec.yaml +418 -0
  51. package/pro/squads/design/data/ds-reference-architectures.md +93 -0
  52. package/pro/squads/design/data/f2-qa-report.md +168 -0
  53. package/pro/squads/design/data/f3-derived-components-changelog.md +100 -0
  54. package/pro/squads/design/data/f3-qa-report.md +208 -0
  55. package/pro/squads/design/data/figma-base-components-raw.md +102 -0
  56. package/pro/squads/design/data/figma-tokens-raw.md +1549 -0
  57. package/pro/squads/design/data/fluent2-design-principles.md +114 -0
  58. package/pro/squads/design/data/high-retention-reading-guide.md +349 -0
  59. package/pro/squads/design/data/integration-patterns.md +207 -0
  60. package/pro/squads/design/data/internal-quality-chain.yaml +48 -0
  61. package/pro/squads/design/data/motion-tokens-guide.md +202 -0
  62. package/pro/squads/design/data/roi-calculation-guide.md +142 -0
  63. package/pro/squads/design/data/token-mapping-reference.md +213 -0
  64. package/pro/squads/design/data/w3c-dtcg-spec-reference.md +149 -0
  65. package/pro/squads/design/data/wcag-compliance-guide.md +267 -0
  66. package/pro/squads/design/docs/AUDIT_REPORT.md +97 -0
  67. package/pro/squads/design/docs/DS-CURATION-PIPELINE-PROPOSAL.md +577 -0
  68. package/pro/squads/design/docs/UPGRADE_PLAN.md +618 -0
  69. package/pro/squads/design/docs/brad-frost-research-validation.md +372 -0
  70. package/pro/squads/design/docs/dave-malouf-research-validation.md +391 -0
  71. package/pro/squads/design/docs/tool-discovery-report.md +87 -0
  72. package/pro/squads/design/docs/tool-integration-plan.md +44 -0
  73. package/pro/squads/design/protocols/ai-first-governance.md +56 -0
  74. package/pro/squads/design/protocols/governance-execution-boundary.md +59 -0
  75. package/pro/squads/design/protocols/handoff.md +60 -0
  76. package/pro/squads/design/rules/.claude-rules.md +88 -0
  77. package/pro/squads/design/scripts/design-system/curate_colors.cjs +447 -0
  78. package/pro/squads/design/scripts/design-system/curate_components.cjs +217 -0
  79. package/pro/squads/design/scripts/design-system/curate_radius.cjs +190 -0
  80. package/pro/squads/design/scripts/design-system/curate_shadows.cjs +208 -0
  81. package/pro/squads/design/scripts/design-system/curate_spacing.cjs +243 -0
  82. package/pro/squads/design/scripts/design-system/curate_typography.cjs +404 -0
  83. package/pro/squads/design/scripts/design-system/design-system-metadata.test.js +49 -0
  84. package/pro/squads/design/scripts/design-system/design_manifest_lib.cjs +142 -0
  85. package/pro/squads/design/scripts/design-system/fetch_page_images.cjs +195 -0
  86. package/pro/squads/design/scripts/design-system/generate_components_metadata.cjs +114 -0
  87. package/pro/squads/design/scripts/design-system/generate_curation_report.cjs +258 -0
  88. package/pro/squads/design/scripts/design-system/generate_tokens.cjs +342 -0
  89. package/pro/squads/design/scripts/design-system/sync_design_manifest.cjs +27 -0
  90. package/pro/squads/design/scripts/design-system/test_mcp_tools.cjs +232 -0
  91. package/pro/squads/design/scripts/design-system/validate_components_metadata.cjs +96 -0
  92. package/pro/squads/design/scripts/design-system/validate_curation.cjs +226 -0
  93. package/pro/squads/design/scripts/design-system/validate_design_manifest_drift.cjs +72 -0
  94. package/pro/squads/design/scripts/design-system/validate_mcp_skeleton.cjs +38 -0
  95. package/pro/squads/design/scripts/design-system/validate_registry.cjs +186 -0
  96. package/pro/squads/design/scripts/design-system/validate_task_checklist_bindings.cjs +78 -0
  97. package/pro/squads/design/scripts/dissect-artifact.cjs +806 -0
  98. package/pro/squads/design/scripts/validate-a11y-integration.cjs +40 -0
  99. package/pro/squads/design/scripts/validate-design-squad.py +411 -0
  100. package/pro/squads/design/squad.yaml +714 -0
  101. package/pro/squads/design/tasks/a11y-audit.md +340 -0
  102. package/pro/squads/design/tasks/aria-audit.md +525 -0
  103. package/pro/squads/design/tasks/atomic-refactor-execute.md +391 -0
  104. package/pro/squads/design/tasks/atomic-refactor-plan.md +262 -0
  105. package/pro/squads/design/tasks/audit-reading-experience.md +350 -0
  106. package/pro/squads/design/tasks/audit-tailwind-config.md +101 -0
  107. package/pro/squads/design/tasks/bootstrap-shadcn-library.md +96 -0
  108. package/pro/squads/design/tasks/bundle-audit.md +245 -0
  109. package/pro/squads/design/tasks/contrast-matrix.md +373 -0
  110. package/pro/squads/design/tasks/create-doc.md +135 -0
  111. package/pro/squads/design/tasks/dead-code-detection.md +329 -0
  112. package/pro/squads/design/tasks/design-compare.md +414 -0
  113. package/pro/squads/design/tasks/design-process-optimization.md +407 -0
  114. package/pro/squads/design/tasks/design-review-orchestration.md +99 -0
  115. package/pro/squads/design/tasks/design-team-scaling.md +407 -0
  116. package/pro/squads/design/tasks/design-tooling-audit.md +404 -0
  117. package/pro/squads/design/tasks/design-triage.md +89 -0
  118. package/pro/squads/design/tasks/designops-maturity-assessment.md +364 -0
  119. package/pro/squads/design/tasks/designops-metrics-setup.md +465 -0
  120. package/pro/squads/design/tasks/ds-agentic-audit.md +100 -0
  121. package/pro/squads/design/tasks/ds-agentic-setup.md +103 -0
  122. package/pro/squads/design/tasks/ds-audit-codebase.md +273 -0
  123. package/pro/squads/design/tasks/ds-build-component.md +349 -0
  124. package/pro/squads/design/tasks/ds-build-mcp-server.md +84 -0
  125. package/pro/squads/design/tasks/ds-calculate-roi.md +282 -0
  126. package/pro/squads/design/tasks/ds-compose-molecule.md +106 -0
  127. package/pro/squads/design/tasks/ds-consolidate-patterns.md +253 -0
  128. package/pro/squads/design/tasks/ds-context-contract.md +194 -0
  129. package/pro/squads/design/tasks/ds-critical-eye-compare.md +130 -0
  130. package/pro/squads/design/tasks/ds-critical-eye-decide.md +139 -0
  131. package/pro/squads/design/tasks/ds-critical-eye-inventory.md +111 -0
  132. package/pro/squads/design/tasks/ds-critical-eye-report.md +101 -0
  133. package/pro/squads/design/tasks/ds-critical-eye-score.md +109 -0
  134. package/pro/squads/design/tasks/ds-designops.md +99 -0
  135. package/pro/squads/design/tasks/ds-extend-pattern.md +91 -0
  136. package/pro/squads/design/tasks/ds-extract-tokens.md +312 -0
  137. package/pro/squads/design/tasks/ds-figma-pipeline.md +95 -0
  138. package/pro/squads/design/tasks/ds-fluent-audit.md +105 -0
  139. package/pro/squads/design/tasks/ds-fluent-build.md +110 -0
  140. package/pro/squads/design/tasks/ds-generate-ai-metadata.md +81 -0
  141. package/pro/squads/design/tasks/ds-generate-cursor-rules.md +74 -0
  142. package/pro/squads/design/tasks/ds-generate-documentation.md +101 -0
  143. package/pro/squads/design/tasks/ds-generate-migration-strategy.md +331 -0
  144. package/pro/squads/design/tasks/ds-generate-shock-report.md +323 -0
  145. package/pro/squads/design/tasks/ds-govern-a11y-compliance.md +93 -0
  146. package/pro/squads/design/tasks/ds-governance.md +187 -0
  147. package/pro/squads/design/tasks/ds-health-metrics.md +278 -0
  148. package/pro/squads/design/tasks/ds-integrate-squad.md +130 -0
  149. package/pro/squads/design/tasks/ds-integrate-workspace.md +100 -0
  150. package/pro/squads/design/tasks/ds-legacy-modernization.md +302 -0
  151. package/pro/squads/design/tasks/ds-mcp-status.md +65 -0
  152. package/pro/squads/design/tasks/ds-motion-audit.md +118 -0
  153. package/pro/squads/design/tasks/ds-multi-framework.md +96 -0
  154. package/pro/squads/design/tasks/ds-parallelization-gate.md +246 -0
  155. package/pro/squads/design/tasks/ds-query.md +90 -0
  156. package/pro/squads/design/tasks/ds-rebuild-artifact.md +369 -0
  157. package/pro/squads/design/tasks/ds-reverse-engineer.md +194 -0
  158. package/pro/squads/design/tasks/ds-scan-artifact.md +131 -0
  159. package/pro/squads/design/tasks/ds-setup-design-system.md +297 -0
  160. package/pro/squads/design/tasks/ds-sync-registry.md +287 -0
  161. package/pro/squads/design/tasks/ds-theme-multi-brand.md +90 -0
  162. package/pro/squads/design/tasks/ds-token-modes.md +108 -0
  163. package/pro/squads/design/tasks/ds-token-w3c-extract.md +105 -0
  164. package/pro/squads/design/tasks/ds-validate-ai-readiness.md +69 -0
  165. package/pro/squads/design/tasks/ds-visual-regression.md +130 -0
  166. package/pro/squads/design/tasks/execute-checklist.md +141 -0
  167. package/pro/squads/design/tasks/export-design-tokens-dtcg.md +97 -0
  168. package/pro/squads/design/tasks/f1-apply-foundations.md +154 -0
  169. package/pro/squads/design/tasks/f1-ingest-figma-tokens.md +130 -0
  170. package/pro/squads/design/tasks/f1-map-tokens-to-shadcn.md +145 -0
  171. package/pro/squads/design/tasks/f1-qa-foundations.md +95 -0
  172. package/pro/squads/design/tasks/f2-adapt-shadcn-components.md +155 -0
  173. package/pro/squads/design/tasks/f2-ingest-base-components.md +148 -0
  174. package/pro/squads/design/tasks/f2-qa-base-components.md +98 -0
  175. package/pro/squads/design/tasks/f3-derive-components.md +145 -0
  176. package/pro/squads/design/tasks/f3-qa-derived-components.md +101 -0
  177. package/pro/squads/design/tasks/focus-order-audit.md +450 -0
  178. package/pro/squads/design/tasks/sb-brownfield-migrate.md +367 -0
  179. package/pro/squads/design/tasks/sb-brownfield-scan.md +318 -0
  180. package/pro/squads/design/tasks/sb-configure.md +230 -0
  181. package/pro/squads/design/tasks/sb-expand-shadcn.md +213 -0
  182. package/pro/squads/design/tasks/sb-generate-all-stories.md +288 -0
  183. package/pro/squads/design/tasks/sb-install.md +152 -0
  184. package/pro/squads/design/tasks/sb-sync-workspace.md +239 -0
  185. package/pro/squads/design/tasks/sb-verify.md +203 -0
  186. package/pro/squads/design/tasks/tailwind-upgrade.md +117 -0
  187. package/pro/squads/design/tasks/token-usage-analytics.md +262 -0
  188. package/pro/squads/design/tasks/ux-rewrite-sixth-grade.md +82 -0
  189. package/pro/squads/design/tasks/validate-design-fidelity.md +222 -0
  190. package/pro/squads/design/templates/agent-template.yaml +46 -0
  191. package/pro/squads/design/templates/clone-mind-template.md +352 -0
  192. package/pro/squads/design/templates/component-prompt-injection-tmpl.md +236 -0
  193. package/pro/squads/design/templates/component-visual-spec-tmpl.md +378 -0
  194. package/pro/squads/design/templates/critical-eye-cycle-report-tmpl.md +165 -0
  195. package/pro/squads/design/templates/design-fidelity-report-tmpl.md +155 -0
  196. package/pro/squads/design/templates/ds-ai-component-metadata-schema-tmpl.json +138 -0
  197. package/pro/squads/design/templates/ds-artifact-analysis.md +70 -0
  198. package/pro/squads/design/templates/ds-health-report-tmpl.md +236 -0
  199. package/pro/squads/design/templates/ds-migration-strategy-tmpl.md +524 -0
  200. package/pro/squads/design/templates/ds-state-persistence-tmpl.yaml +194 -0
  201. package/pro/squads/design/templates/ds-tokens-schema-tmpl.yaml +139 -0
  202. package/pro/squads/design/templates/migration-strategy-tmpl.md +524 -0
  203. package/pro/squads/design/templates/reading-design-tokens.css +26 -0
  204. package/pro/squads/design/templates/state-persistence-tmpl.yaml +219 -0
  205. package/pro/squads/design/templates/tokens-schema-tmpl.yaml +305 -0
  206. package/pro/squads/design/workflows/agentic-readiness.yaml +83 -0
  207. package/pro/squads/design/workflows/audit-only.yaml +198 -0
  208. package/pro/squads/design/workflows/brownfield-complete.yaml +257 -0
  209. package/pro/squads/design/workflows/critical-eye.yaml +184 -0
  210. package/pro/squads/design/workflows/dtcg-tokens-governance.yaml +64 -0
  211. package/pro/squads/design/workflows/foundations-pipeline.yaml +192 -0
  212. package/pro/squads/design/workflows/greenfield-new.yaml +192 -0
  213. package/pro/squads/design/workflows/motion-quality.yaml +65 -0
  214. package/pro/squads/design/workflows/self-healing-workflow.yaml +237 -0
  215. package/pro/squads/design/workflows/storybook-brownfield-migration.yaml +400 -0
  216. package/pro/squads/design/workflows/storybook-full-setup.yaml +280 -0
  217. package/pro/squads/index.js +145 -0
  218. package/pro/squads/squad-creator-pro/.state.json +32 -0
  219. package/pro/squads/squad-creator-pro/CHANGELOG.md +275 -0
  220. package/pro/squads/squad-creator-pro/HEADLINE.md +3 -0
  221. package/pro/squads/squad-creator-pro/README.md +1059 -0
  222. package/pro/squads/squad-creator-pro/agents/oalanicolas.md +438 -0
  223. package/pro/squads/squad-creator-pro/agents/pedro-valerio.md +449 -0
  224. package/pro/squads/squad-creator-pro/agents/squad-chief.md +1651 -0
  225. package/pro/squads/squad-creator-pro/agents/thiago_finch.md +976 -0
  226. package/pro/squads/squad-creator-pro/assessments/axioma-assessment-wf-create-squad.yaml +325 -0
  227. package/pro/squads/squad-creator-pro/checklists/.gitkeep +1 -0
  228. package/pro/squads/squad-creator-pro/checklists/agent-depth-checklist.md +244 -0
  229. package/pro/squads/squad-creator-pro/checklists/agent-quality-gate.md +434 -0
  230. package/pro/squads/squad-creator-pro/checklists/create-agent-checklist.md +184 -0
  231. package/pro/squads/squad-creator-pro/checklists/create-squad-checklist.md +219 -0
  232. package/pro/squads/squad-creator-pro/checklists/create-workflow-checklist.md +224 -0
  233. package/pro/squads/squad-creator-pro/checklists/deep-research-quality.md +506 -0
  234. package/pro/squads/squad-creator-pro/checklists/executor-matrix-checklist.md +260 -0
  235. package/pro/squads/squad-creator-pro/checklists/mental-model-integration-checklist.md +95 -0
  236. package/pro/squads/squad-creator-pro/checklists/mind-validation.md +374 -0
  237. package/pro/squads/squad-creator-pro/checklists/quality-gate-checklist.md +385 -0
  238. package/pro/squads/squad-creator-pro/checklists/smoke-test-agent.md +313 -0
  239. package/pro/squads/squad-creator-pro/checklists/sop-validation.md +250 -0
  240. package/pro/squads/squad-creator-pro/checklists/squad-checklist.md +1014 -0
  241. package/pro/squads/squad-creator-pro/checklists/squad-overview-checklist.md +393 -0
  242. package/pro/squads/squad-creator-pro/checklists/task-anatomy-checklist.md +626 -0
  243. package/pro/squads/squad-creator-pro/config/.gitkeep +1 -0
  244. package/pro/squads/squad-creator-pro/config/axioma-validator.yaml +371 -0
  245. package/pro/squads/squad-creator-pro/config/heuristics.yaml +753 -0
  246. package/pro/squads/squad-creator-pro/config/model-routing.yaml +693 -0
  247. package/pro/squads/squad-creator-pro/config/quality-gates.yaml +415 -0
  248. package/pro/squads/squad-creator-pro/config/scoring-rubric.yaml +199 -0
  249. package/pro/squads/squad-creator-pro/config/squad-config.yaml +165 -0
  250. package/pro/squads/squad-creator-pro/config/task-anatomy.yaml +263 -0
  251. package/pro/squads/squad-creator-pro/config/veto-conditions.yaml +455 -0
  252. package/pro/squads/squad-creator-pro/config.yaml +35 -0
  253. package/pro/squads/squad-creator-pro/data/.gitkeep +1 -0
  254. package/pro/squads/squad-creator-pro/data/an-anchor-words.yaml +78 -0
  255. package/pro/squads/squad-creator-pro/data/an-clone-anti-patterns.yaml +148 -0
  256. package/pro/squads/squad-creator-pro/data/an-clone-validation.yaml +190 -0
  257. package/pro/squads/squad-creator-pro/data/an-diagnostic-framework.yaml +164 -0
  258. package/pro/squads/squad-creator-pro/data/an-output-examples.yaml +102 -0
  259. package/pro/squads/squad-creator-pro/data/an-source-signals.yaml +98 -0
  260. package/pro/squads/squad-creator-pro/data/an-source-tiers.yaml +119 -0
  261. package/pro/squads/squad-creator-pro/data/best-practices.md +986 -0
  262. package/pro/squads/squad-creator-pro/data/core-heuristics.md +510 -0
  263. package/pro/squads/squad-creator-pro/data/decision-heuristics-framework.md +620 -0
  264. package/pro/squads/squad-creator-pro/data/executor-decision-tree.md +774 -0
  265. package/pro/squads/squad-creator-pro/data/executor-matrix-framework.md +441 -0
  266. package/pro/squads/squad-creator-pro/data/fusion-decision-points-analysis.md +397 -0
  267. package/pro/squads/squad-creator-pro/data/fusion-executor-analysis.md +677 -0
  268. package/pro/squads/squad-creator-pro/data/hybridops-patterns.md +1351 -0
  269. package/pro/squads/squad-creator-pro/data/internal-infrastructure-library.yaml +99 -0
  270. package/pro/squads/squad-creator-pro/data/mental-model-task-matrix.yaml +692 -0
  271. package/pro/squads/squad-creator-pro/data/pipeline-patterns.md +352 -0
  272. package/pro/squads/squad-creator-pro/data/pm-best-practices.md +440 -0
  273. package/pro/squads/squad-creator-pro/data/pv-anchor-words.yaml +64 -0
  274. package/pro/squads/squad-creator-pro/data/pv-authenticity-markers.yaml +200 -0
  275. package/pro/squads/squad-creator-pro/data/pv-meta-axiomas.yaml +162 -0
  276. package/pro/squads/squad-creator-pro/data/pv-output-examples.yaml +342 -0
  277. package/pro/squads/squad-creator-pro/data/pv-workflow-validation.yaml +318 -0
  278. package/pro/squads/squad-creator-pro/data/quality-dimensions-framework.md +405 -0
  279. package/pro/squads/squad-creator-pro/data/squad-analytics-guide.md +252 -0
  280. package/pro/squads/squad-creator-pro/data/squad-kb.md +987 -0
  281. package/pro/squads/squad-creator-pro/data/squad-registry.yaml +841 -0
  282. package/pro/squads/squad-creator-pro/data/squad-type-definitions.yaml +578 -0
  283. package/pro/squads/squad-creator-pro/data/tier-system-framework.md +475 -0
  284. package/pro/squads/squad-creator-pro/data/tool-evaluation-framework.md +847 -0
  285. package/pro/squads/squad-creator-pro/data/tool-registry.yaml +700 -0
  286. package/pro/squads/squad-creator-pro/docs/ADR-001-model-tier-qualification.md +344 -0
  287. package/pro/squads/squad-creator-pro/docs/AGENT-COLLABORATION.md +609 -0
  288. package/pro/squads/squad-creator-pro/docs/ARCHITECTURE-DIAGRAMS.md +1466 -0
  289. package/pro/squads/squad-creator-pro/docs/COMMANDS.md +544 -0
  290. package/pro/squads/squad-creator-pro/docs/CONCEPTS.md +584 -0
  291. package/pro/squads/squad-creator-pro/docs/FAQ.md +731 -0
  292. package/pro/squads/squad-creator-pro/docs/HITL-FLOW.md +255 -0
  293. package/pro/squads/squad-creator-pro/docs/MIGRATION-PLAN-AGENT-CONFORMITY.md +861 -0
  294. package/pro/squads/squad-creator-pro/docs/MIGRATION-ROADMAP-HYBRIDOPS.md +1161 -0
  295. package/pro/squads/squad-creator-pro/docs/MODEL-TIER-QUALIFICATION.md +337 -0
  296. package/pro/squads/squad-creator-pro/docs/PATTERN-LIBRARY.md +333 -0
  297. package/pro/squads/squad-creator-pro/docs/PEDRO-VALERIO-ARCHITECTURE.md +456 -0
  298. package/pro/squads/squad-creator-pro/docs/POR-ONDE-COMECAR.md +210 -0
  299. package/pro/squads/squad-creator-pro/docs/QUICK-START.md +205 -0
  300. package/pro/squads/squad-creator-pro/docs/RFC-001-deterministic-refactoring.md +463 -0
  301. package/pro/squads/squad-creator-pro/docs/TOOL-RECOMMENDATIONS.md +379 -0
  302. package/pro/squads/squad-creator-pro/docs/TROUBLESHOOTING.md +412 -0
  303. package/pro/squads/squad-creator-pro/docs/TUTORIAL-COMPLETO.md +458 -0
  304. package/pro/squads/squad-creator-pro/docs/optimize-v4-proposal.md +354 -0
  305. package/pro/squads/squad-creator-pro/docs/session-report-2026-02-01.md +411 -0
  306. package/pro/squads/squad-creator-pro/docs/sop-extraction-process.md +674 -0
  307. package/pro/squads/squad-creator-pro/docs/squad-chief-agent-flow.md +981 -0
  308. package/pro/squads/squad-creator-pro/docs/squad-creation-pipeline-workflow.md +937 -0
  309. package/pro/squads/squad-creator-pro/docs/task-optimization-framework.md +229 -0
  310. package/pro/squads/squad-creator-pro/docs/validation-report-2026-02-01.md +439 -0
  311. package/pro/squads/squad-creator-pro/minds/oalanicolas/artifacts/HANDOFF_PROTOCOL.md +269 -0
  312. package/pro/squads/squad-creator-pro/minds/oalanicolas/artifacts/SOURCE_CLASSIFICATION.md +258 -0
  313. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_001.md +166 -0
  314. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_002.md +206 -0
  315. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_003.md +239 -0
  316. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_004.md +153 -0
  317. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_005.md +161 -0
  318. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_006.md +166 -0
  319. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_007.md +190 -0
  320. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_008.md +191 -0
  321. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_009.md +234 -0
  322. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_010.md +240 -0
  323. package/pro/squads/squad-creator-pro/minds/pedro_valerio/artifacts/Assinatura_Linguistica.md +355 -0
  324. package/pro/squads/squad-creator-pro/minds/pedro_valerio/artifacts/META_AXIOMAS.md +277 -0
  325. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_BS_001.md +144 -0
  326. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_001.md +174 -0
  327. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PM_001.md +191 -0
  328. package/pro/squads/squad-creator-pro/package.json +26 -0
  329. package/pro/squads/squad-creator-pro/protocols/ai-first-governance.md +63 -0
  330. package/pro/squads/squad-creator-pro/scripts/README.md +246 -0
  331. package/pro/squads/squad-creator-pro/scripts/__pycache__/dependency_check.cpython-314.pyc +0 -0
  332. package/pro/squads/squad-creator-pro/scripts/__pycache__/inventory.cpython-314.pyc +0 -0
  333. package/pro/squads/squad-creator-pro/scripts/__pycache__/naming_validator.cpython-314.pyc +0 -0
  334. package/pro/squads/squad-creator-pro/scripts/__pycache__/quality_gate.cpython-314.pyc +0 -0
  335. package/pro/squads/squad-creator-pro/scripts/__pycache__/scoring.cpython-314.pyc +0 -0
  336. package/pro/squads/squad-creator-pro/scripts/__pycache__/yaml_validator.cpython-314.pyc +0 -0
  337. package/pro/squads/squad-creator-pro/scripts/assess-sources.sh +443 -0
  338. package/pro/squads/squad-creator-pro/scripts/checklist_validator.py +451 -0
  339. package/pro/squads/squad-creator-pro/scripts/clone-review.sh +394 -0
  340. package/pro/squads/squad-creator-pro/scripts/coherence-validator.py +836 -0
  341. package/pro/squads/squad-creator-pro/scripts/create-agent-preflight.py +243 -0
  342. package/pro/squads/squad-creator-pro/scripts/cross-provider/compare-results.js +281 -0
  343. package/pro/squads/squad-creator-pro/scripts/cross-provider/cross-provider-runner.js +462 -0
  344. package/pro/squads/squad-creator-pro/scripts/dependency_check.py +333 -0
  345. package/pro/squads/squad-creator-pro/scripts/fidelity-score.sh +519 -0
  346. package/pro/squads/squad-creator-pro/scripts/generate-squad-greeting.js +426 -0
  347. package/pro/squads/squad-creator-pro/scripts/generate-squad-guide.js +558 -0
  348. package/pro/squads/squad-creator-pro/scripts/inventory.py +269 -0
  349. package/pro/squads/squad-creator-pro/scripts/lib/config-loader.js +151 -0
  350. package/pro/squads/squad-creator-pro/scripts/model-tier-validator.cjs +369 -0
  351. package/pro/squads/squad-creator-pro/scripts/model-usage-logger.cjs +245 -0
  352. package/pro/squads/squad-creator-pro/scripts/modernization-score.sh +308 -0
  353. package/pro/squads/squad-creator-pro/scripts/naming_validator.py +299 -0
  354. package/pro/squads/squad-creator-pro/scripts/on-specialist-complete.py +98 -0
  355. package/pro/squads/squad-creator-pro/scripts/quality_gate.py +413 -0
  356. package/pro/squads/squad-creator-pro/scripts/refresh-registry.py +270 -0
  357. package/pro/squads/squad-creator-pro/scripts/save-session-metrics.py +136 -0
  358. package/pro/squads/squad-creator-pro/scripts/scaffold-squad.cjs +281 -0
  359. package/pro/squads/squad-creator-pro/scripts/scoring.py +395 -0
  360. package/pro/squads/squad-creator-pro/scripts/security_scanner.py +378 -0
  361. package/pro/squads/squad-creator-pro/scripts/squad-analytics.py +585 -0
  362. package/pro/squads/squad-creator-pro/scripts/squad-context-loader.cjs +205 -0
  363. package/pro/squads/squad-creator-pro/scripts/squad-state-manager.cjs +451 -0
  364. package/pro/squads/squad-creator-pro/scripts/squad-workflow-runner.cjs +471 -0
  365. package/pro/squads/squad-creator-pro/scripts/squad_utils.py +261 -0
  366. package/pro/squads/squad-creator-pro/scripts/sync-ide-command.py +590 -0
  367. package/pro/squads/squad-creator-pro/scripts/tests/__init__.py +1 -0
  368. package/pro/squads/squad-creator-pro/scripts/tests/conftest.py +309 -0
  369. package/pro/squads/squad-creator-pro/scripts/tests/run_bash_tests.sh +29 -0
  370. package/pro/squads/squad-creator-pro/scripts/tests/test_assess_sources.sh +216 -0
  371. package/pro/squads/squad-creator-pro/scripts/tests/test_checklist_validator.py +396 -0
  372. package/pro/squads/squad-creator-pro/scripts/tests/test_clone_review.sh +239 -0
  373. package/pro/squads/squad-creator-pro/scripts/tests/test_coherence_validator.py +212 -0
  374. package/pro/squads/squad-creator-pro/scripts/tests/test_dependency_check.py +361 -0
  375. package/pro/squads/squad-creator-pro/scripts/tests/test_fidelity_score.sh +298 -0
  376. package/pro/squads/squad-creator-pro/scripts/tests/test_inventory.py +307 -0
  377. package/pro/squads/squad-creator-pro/scripts/tests/test_modernization_score.sh +211 -0
  378. package/pro/squads/squad-creator-pro/scripts/tests/test_naming_validator.py +373 -0
  379. package/pro/squads/squad-creator-pro/scripts/tests/test_quality_gate.py +280 -0
  380. package/pro/squads/squad-creator-pro/scripts/tests/test_refresh_registry.py +338 -0
  381. package/pro/squads/squad-creator-pro/scripts/tests/test_scoring.py +366 -0
  382. package/pro/squads/squad-creator-pro/scripts/tests/test_security_scanner.py +354 -0
  383. package/pro/squads/squad-creator-pro/scripts/tests/test_squad_analytics.py +450 -0
  384. package/pro/squads/squad-creator-pro/scripts/tests/test_validate_clone.sh +252 -0
  385. package/pro/squads/squad-creator-pro/scripts/tests/test_yaml_validator.py +412 -0
  386. package/pro/squads/squad-creator-pro/scripts/validate-agent-output.py +115 -0
  387. package/pro/squads/squad-creator-pro/scripts/validate-all.sh +49 -0
  388. package/pro/squads/squad-creator-pro/scripts/validate-squad-structure.py +535 -0
  389. package/pro/squads/squad-creator-pro/scripts/validate-squad.sh +944 -0
  390. package/pro/squads/squad-creator-pro/scripts/yaml_validator.py +528 -0
  391. package/pro/squads/squad-creator-pro/skills/squad.md +301 -0
  392. package/pro/squads/squad-creator-pro/squad.yaml +36 -0
  393. package/pro/squads/squad-creator-pro/tasks/CHANGELOG.md +80 -0
  394. package/pro/squads/squad-creator-pro/tasks/an-assess-sources.md +78 -0
  395. package/pro/squads/squad-creator-pro/tasks/an-clone-review.md +104 -0
  396. package/pro/squads/squad-creator-pro/tasks/an-compare-outputs.md +354 -0
  397. package/pro/squads/squad-creator-pro/tasks/an-design-clone.md +79 -0
  398. package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone.md +87 -0
  399. package/pro/squads/squad-creator-pro/tasks/an-extract-dna.md +90 -0
  400. package/pro/squads/squad-creator-pro/tasks/an-extract-framework.md +100 -0
  401. package/pro/squads/squad-creator-pro/tasks/an-fidelity-score.md +108 -0
  402. package/pro/squads/squad-creator-pro/tasks/an-validate-clone.md +96 -0
  403. package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources.md +349 -0
  404. package/pro/squads/squad-creator-pro/tasks/collect-sources.md +533 -0
  405. package/pro/squads/squad-creator-pro/tasks/create-agent.md +768 -0
  406. package/pro/squads/squad-creator-pro/tasks/create-documentation.md +258 -0
  407. package/pro/squads/squad-creator-pro/tasks/create-pipeline.md +296 -0
  408. package/pro/squads/squad-creator-pro/tasks/create-squad.md +933 -0
  409. package/pro/squads/squad-creator-pro/tasks/create-task.md +1148 -0
  410. package/pro/squads/squad-creator-pro/tasks/create-template.md +474 -0
  411. package/pro/squads/squad-creator-pro/tasks/create-workflow.md +720 -0
  412. package/pro/squads/squad-creator-pro/tasks/deconstruct.md +167 -0
  413. package/pro/squads/squad-creator-pro/tasks/deep-research-pre-agent.md +566 -0
  414. package/pro/squads/squad-creator-pro/tasks/detect-squad-context.md +81 -0
  415. package/pro/squads/squad-creator-pro/tasks/discover-tools.md +944 -0
  416. package/pro/squads/squad-creator-pro/tasks/extract-implicit.md +352 -0
  417. package/pro/squads/squad-creator-pro/tasks/extract-knowledge.md +577 -0
  418. package/pro/squads/squad-creator-pro/tasks/extract-sop.md +320 -0
  419. package/pro/squads/squad-creator-pro/tasks/extract-thinking-dna.md +653 -0
  420. package/pro/squads/squad-creator-pro/tasks/extract-voice-dna.md +619 -0
  421. package/pro/squads/squad-creator-pro/tasks/find-0.8.md +222 -0
  422. package/pro/squads/squad-creator-pro/tasks/install-commands.md +373 -0
  423. package/pro/squads/squad-creator-pro/tasks/lookup-model.md +78 -0
  424. package/pro/squads/squad-creator-pro/tasks/migrate-workflows-to-yaml.md +259 -0
  425. package/pro/squads/squad-creator-pro/tasks/next-squad.md +487 -0
  426. package/pro/squads/squad-creator-pro/tasks/optimize-workflow.md +851 -0
  427. package/pro/squads/squad-creator-pro/tasks/optimize.md +1082 -0
  428. package/pro/squads/squad-creator-pro/tasks/parallel-discovery.md +58 -0
  429. package/pro/squads/squad-creator-pro/tasks/pv-audit.md +244 -0
  430. package/pro/squads/squad-creator-pro/tasks/pv-axioma-assessment-wf-clone-mind.yaml +256 -0
  431. package/pro/squads/squad-creator-pro/tasks/pv-axioma-assessment.md +83 -0
  432. package/pro/squads/squad-creator-pro/tasks/pv-modernization-score.md +83 -0
  433. package/pro/squads/squad-creator-pro/tasks/qa-after-creation.md +475 -0
  434. package/pro/squads/squad-creator-pro/tasks/qualify-task.md +265 -0
  435. package/pro/squads/squad-creator-pro/tasks/reexecute-squad-phase.md +64 -0
  436. package/pro/squads/squad-creator-pro/tasks/refresh-registry.md +403 -0
  437. package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing.md +167 -0
  438. package/pro/squads/squad-creator-pro/tasks/squad-analytics.md +265 -0
  439. package/pro/squads/squad-creator-pro/tasks/squad-fusion.md +817 -0
  440. package/pro/squads/squad-creator-pro/tasks/squad-overview.md +683 -0
  441. package/pro/squads/squad-creator-pro/tasks/sync-ide-command.md +392 -0
  442. package/pro/squads/squad-creator-pro/tasks/update-mind.md +428 -0
  443. package/pro/squads/squad-creator-pro/tasks/upgrade-squad.md +919 -0
  444. package/pro/squads/squad-creator-pro/tasks/validate-extraction.md +209 -0
  445. package/pro/squads/squad-creator-pro/tasks/validate-final-artifacts.md +80 -0
  446. package/pro/squads/squad-creator-pro/tasks/validate-squad.md +1385 -0
  447. package/pro/squads/squad-creator-pro/templates/.gitkeep +1 -0
  448. package/pro/squads/squad-creator-pro/templates/agent-flow-doc-tmpl.md +512 -0
  449. package/pro/squads/squad-creator-pro/templates/agent-tmpl.md +697 -0
  450. package/pro/squads/squad-creator-pro/templates/config-tmpl.yaml +352 -0
  451. package/pro/squads/squad-creator-pro/templates/handoff-insumos-tmpl.yaml +112 -0
  452. package/pro/squads/squad-creator-pro/templates/orchestrator-tmpl.md +74 -0
  453. package/pro/squads/squad-creator-pro/templates/pipeline-progress-tmpl.py +373 -0
  454. package/pro/squads/squad-creator-pro/templates/pipeline-runner-tmpl.py +444 -0
  455. package/pro/squads/squad-creator-pro/templates/pipeline-state-tmpl.py +413 -0
  456. package/pro/squads/squad-creator-pro/templates/pop-extractor-prompt.md +549 -0
  457. package/pro/squads/squad-creator-pro/templates/quality-dashboard-tmpl.md +286 -0
  458. package/pro/squads/squad-creator-pro/templates/quality-gate-tmpl.yaml +589 -0
  459. package/pro/squads/squad-creator-pro/templates/readme-tmpl.md +231 -0
  460. package/pro/squads/squad-creator-pro/templates/research-output-tmpl.md +625 -0
  461. package/pro/squads/squad-creator-pro/templates/research-prompt-tmpl.md +479 -0
  462. package/pro/squads/squad-creator-pro/templates/squad-prd-tmpl.md +464 -0
  463. package/pro/squads/squad-creator-pro/templates/squad-readme-tmpl.md +170 -0
  464. package/pro/squads/squad-creator-pro/templates/story-create-agent-tmpl.md +284 -0
  465. package/pro/squads/squad-creator-pro/templates/task-tmpl.md +461 -0
  466. package/pro/squads/squad-creator-pro/templates/template-tmpl.yaml +227 -0
  467. package/pro/squads/squad-creator-pro/templates/workflow-doc-tmpl.md +860 -0
  468. package/pro/squads/squad-creator-pro/templates/workflow-tmpl.yaml +394 -0
  469. package/pro/squads/squad-creator-pro/test-cases/BATCH-PROGRESS.md +268 -0
  470. package/pro/squads/squad-creator-pro/test-cases/QUALIFICATION-DASHBOARD.yaml +13 -0
  471. package/pro/squads/squad-creator-pro/test-cases/_template.yaml +147 -0
  472. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/ASSESSMENT-SUMMARY.md +275 -0
  473. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/ASSESSMENT_SUMMARY.md +140 -0
  474. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/CHECKPOINT_MATRIX.md +202 -0
  475. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/EXECUTION-REPORT.md +413 -0
  476. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/EXECUTION_NOTES.md +358 -0
  477. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/README-v2.2.2.md +299 -0
  478. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/README.md +320 -0
  479. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/TEST-REPORT-v2.1.md +351 -0
  480. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/VERIFICATION-CHECKLIST.txt +247 -0
  481. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/formal-qualification-report.yaml +389 -0
  482. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-output.yaml +366 -0
  483. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.1-output.yaml +452 -0
  484. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.2.1-output.yaml +281 -0
  485. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.2.2-output.yaml +332 -0
  486. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/opus-baseline.yaml +517 -0
  487. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/qualification-report.yaml +213 -0
  488. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/test-case.yaml +69 -0
  489. package/pro/squads/squad-creator-pro/test-cases/an-clone-review/haiku-round-1.yaml +213 -0
  490. package/pro/squads/squad-creator-pro/test-cases/an-clone-review/opus-baseline.yaml +566 -0
  491. package/pro/squads/squad-creator-pro/test-cases/an-clone-review/qualification-report.yaml +82 -0
  492. package/pro/squads/squad-creator-pro/test-cases/an-design-clone/test-case.yaml +102 -0
  493. package/pro/squads/squad-creator-pro/test-cases/an-extract-dna/test-case.yaml +105 -0
  494. package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/haiku-round-1.yaml +262 -0
  495. package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/opus-baseline.yaml +266 -0
  496. package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/qualification-report.yaml +94 -0
  497. package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/haiku-round-1.yaml +282 -0
  498. package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/opus-baseline.yaml +470 -0
  499. package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/qualification-report.yaml +106 -0
  500. package/pro/squads/squad-creator-pro/test-cases/collect-sources/test-case.yaml +105 -0
  501. package/pro/squads/squad-creator-pro/test-cases/create-task/test-case.yaml +104 -0
  502. package/pro/squads/squad-creator-pro/test-cases/cross-provider/DASHBOARD.yaml +11 -0
  503. package/pro/squads/squad-creator-pro/test-cases/pv-audit/test-case.yaml +106 -0
  504. package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/haiku-output.yaml +209 -0
  505. package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/opus-baseline.yaml +96 -0
  506. package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/sonnet-output.yaml +30 -0
  507. package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/test-case.yaml +129 -0
  508. package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/comparison-round-1.yaml +242 -0
  509. package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/haiku-round-1.yaml +393 -0
  510. package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/opus-baseline.yaml +488 -0
  511. package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/qualification-report.yaml +74 -0
  512. package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/haiku-round-1.yaml +292 -0
  513. package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/opus-baseline.yaml +603 -0
  514. package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/qualification-report.yaml +97 -0
  515. package/pro/squads/squad-creator-pro/test-cases/smoke-test-model-routing/test-case.yaml +100 -0
  516. package/pro/squads/squad-creator-pro/test-cases/upgrade-squad/test-case.yaml +106 -0
  517. package/pro/squads/squad-creator-pro/test-cases/validate-squad/comparison-round-1.yaml +223 -0
  518. package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-1-MINE.yaml +36 -0
  519. package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-1.yaml +193 -0
  520. package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-2.yaml +303 -0
  521. package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-3-v4-task.yaml +149 -0
  522. package/pro/squads/squad-creator-pro/test-cases/validate-squad/opus-baseline.yaml +529 -0
  523. package/pro/squads/squad-creator-pro/test-cases/validate-squad/opus-round-3-v4-task.yaml +132 -0
  524. package/pro/squads/squad-creator-pro/test-cases/validate-squad/qualification-report.yaml +104 -0
  525. package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/haiku-output-v2-calibrated.yaml +200 -0
  526. package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/haiku-output.yaml +183 -0
  527. package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/opus-baseline.yaml +112 -0
  528. package/pro/squads/squad-creator-pro/utils/.gitkeep +1 -0
  529. package/pro/squads/squad-creator-pro/workflows/.gitkeep +1 -0
  530. package/pro/squads/squad-creator-pro/workflows/create-squad.yaml +348 -0
  531. package/pro/squads/squad-creator-pro/workflows/modules/module-discovery.yaml +16 -0
  532. package/pro/squads/squad-creator-pro/workflows/modules/module-integration.yaml +16 -0
  533. package/pro/squads/squad-creator-pro/workflows/modules/module-quality-gates.yaml +15 -0
  534. package/pro/squads/squad-creator-pro/workflows/validate-squad.yaml +582 -0
  535. package/pro/squads/squad-creator-pro/workflows/wf-auto-acquire-sources.yaml +518 -0
  536. package/pro/squads/squad-creator-pro/workflows/wf-brownfield-upgrade-squad.yaml +46 -0
  537. package/pro/squads/squad-creator-pro/workflows/wf-clone-mind.yaml +521 -0
  538. package/pro/squads/squad-creator-pro/workflows/wf-context-aware-create-squad.yaml +47 -0
  539. package/pro/squads/squad-creator-pro/workflows/wf-create-squad.yaml +1619 -0
  540. package/pro/squads/squad-creator-pro/workflows/wf-cross-provider-qualification.yaml +711 -0
  541. package/pro/squads/squad-creator-pro/workflows/wf-discover-tools.yaml +1439 -0
  542. package/pro/squads/squad-creator-pro/workflows/wf-extraction-pipeline.yaml +486 -0
  543. package/pro/squads/squad-creator-pro/workflows/wf-mind-research-loop.yaml +668 -0
  544. package/pro/squads/squad-creator-pro/workflows/wf-model-tier-qualification.yaml +800 -0
  545. package/pro/squads/squad-creator-pro/workflows/wf-optimize-squad.yaml +684 -0
  546. package/pro/squads/squad-creator-pro/workflows/wf-research-then-create-agent.yaml +921 -0
  547. package/pro/squads/squad-creator-pro/workflows/wf-squad-fusion.yaml +1684 -0
@@ -0,0 +1,1439 @@
1
+ # wf-discover-tools.yaml
2
+ # Workflow: Deep Tool Discovery with Parallel Sub-Agents
3
+ # Version: 2.0
4
+ # Last Updated: 2026-02-03
5
+
6
+ # ═══════════════════════════════════════════════════════════════════════════════
7
+ # WORKFLOW METADATA
8
+ # ═══════════════════════════════════════════════════════════════════════════════
9
+
10
+ workflow:
11
+ id: wf-discover-tools
12
+ name: "Deep Tool Discovery"
13
+ version: "2.0"
14
+ purpose: |
15
+ Orquestrar pesquisa PROFUNDA e PARALELA de ferramentas que potencializam
16
+ os entregáveis de um squad, usando subagentes especializados para cada
17
+ categoria de ferramenta.
18
+ orchestrator: "@squad-chief"
19
+ mode: "autonomous"
20
+
21
+ philosophy: |
22
+ "A squad should leverage ALL available tools to deliver maximum value
23
+ with minimum user intervention."
24
+
25
+ Este workflow NÃO é um check superficial - é uma pesquisa PROFUNDA
26
+ que lança 5 subagentes em PARALELO, cada um especializado em uma
27
+ categoria de ferramenta.
28
+
29
+ # ═══════════════════════════════════════════════════════════════════════════════
30
+ # EXECUTION STRATEGY
31
+ # ═══════════════════════════════════════════════════════════════════════════════
32
+
33
+ execution_strategy:
34
+ mode: "parallel_then_synthesize"
35
+ description: |
36
+ 1. PHASE 0: Capability Gap Analysis (sequential, fast)
37
+ 2. PHASE 1: Deep Search (5 subagents in PARALLEL)
38
+ - MCP Discovery Agent
39
+ - API Discovery Agent
40
+ - CLI Discovery Agent
41
+ - Library Discovery Agent
42
+ - GitHub Project Discovery Agent
43
+ 3. PHASE 2: Synthesis & Scoring (sequential, after all agents complete)
44
+ 4. PHASE 3: Decision Matrix & Integration Plan
45
+
46
+ parallelization:
47
+ enabled: true
48
+ max_concurrent_agents: 5
49
+ timeout_per_agent: "15 minutes"
50
+ fail_strategy: "continue_others" # Don't block if one agent fails
51
+
52
+ # ═══════════════════════════════════════════════════════════════════════════════
53
+ # INPUTS
54
+ # ═══════════════════════════════════════════════════════════════════════════════
55
+
56
+ inputs:
57
+ required:
58
+ - name: domain
59
+ type: string
60
+ description: "Squad domain (e.g., 'copywriting', 'legal', 'cybersecurity')"
61
+ example: "copywriting"
62
+
63
+ - name: use_cases
64
+ type: list
65
+ description: "Key use cases the squad must handle"
66
+ example: ["sales pages", "email sequences", "ad copy"]
67
+
68
+ optional:
69
+ - name: existing_tools
70
+ type: list
71
+ description: "Tools already in use (to avoid duplicates)"
72
+ default: []
73
+
74
+ - name: budget_tier
75
+ type: enum
76
+ values: ["free_only", "low_cost", "enterprise"]
77
+ default: "low_cost"
78
+
79
+ - name: priority_capabilities
80
+ type: list
81
+ description: "Capabilities to prioritize in search"
82
+ default: []
83
+
84
+ - name: search_depth
85
+ type: enum
86
+ values: ["quick", "standard", "exhaustive"]
87
+ default: "standard"
88
+ description: |
89
+ quick: 5 results per category, 5 min timeout
90
+ standard: 15 results per category, 10 min timeout
91
+ exhaustive: 30 results per category, 20 min timeout
92
+
93
+ # ═══════════════════════════════════════════════════════════════════════════════
94
+ # PRECONDITIONS
95
+ # ═══════════════════════════════════════════════════════════════════════════════
96
+
97
+ preconditions:
98
+ - "squad-chief agent is active"
99
+ - "WebSearch/EXA tool available"
100
+ - "WebFetch tool available"
101
+ - "Task tool available (for spawning subagents)"
102
+ - "Write permissions for data/tool-registry.yaml"
103
+
104
+ # ═══════════════════════════════════════════════════════════════════════════════
105
+ # PHASES
106
+ # ═══════════════════════════════════════════════════════════════════════════════
107
+
108
+ phases:
109
+ # ─────────────────────────────────────────────────────────────────────────────
110
+ # PHASE 0: CAPABILITY GAP ANALYSIS
111
+ # ─────────────────────────────────────────────────────────────────────────────
112
+ - id: phase_0
113
+ name: "CAPABILITY GAP ANALYSIS"
114
+ purpose: "Map required capabilities and identify gaps that need tools"
115
+ duration: "5-10 minutes"
116
+ mode: "sequential"
117
+
118
+ steps:
119
+ - id: step_0_1
120
+ name: "Map Use Case Requirements"
121
+ action: "Analyze each use case to identify required capabilities"
122
+ logic: |
123
+ for each use_case in inputs.use_cases:
124
+ analyze:
125
+ - INPUT_NEEDS: What data/info does this use case need?
126
+ - PROCESSING_NEEDS: What transformations/analysis?
127
+ - OUTPUT_NEEDS: What should be produced?
128
+ - INTEGRATION_NEEDS: What external systems?
129
+ - AUTOMATION_POTENTIAL: What can be automated?
130
+
131
+ output:
132
+ capability_requirements:
133
+ - use_case: "sales pages"
134
+ capabilities:
135
+ - { name: "competitor_analysis", priority: "high" }
136
+ - { name: "headline_generation", priority: "high" }
137
+ - { name: "screenshot_capture", priority: "medium" }
138
+
139
+ - id: step_0_2
140
+ name: "Check Existing Coverage"
141
+ action: "Load tool-registry.yaml and check what's already covered"
142
+ logic: |
143
+ load: "data/tool-registry.yaml"
144
+
145
+ for each capability in capability_requirements:
146
+ check:
147
+ - native_tools_coverage
148
+ - installed_mcp_coverage
149
+ - known_mcp_coverage
150
+
151
+ classify:
152
+ - COVERED: Tool exists and is installed
153
+ - KNOWN: Tool exists but not installed
154
+ - GAP: No known tool for this capability
155
+
156
+ output:
157
+ coverage_report:
158
+ covered: []
159
+ known_not_installed: []
160
+ gaps: [] # These go to deep search
161
+
162
+ - id: step_0_3
163
+ name: "Prioritize Gaps"
164
+ action: "Score and prioritize capability gaps for deep search"
165
+ scoring:
166
+ impact:
167
+ weight: 0.35
168
+ question: "How much value does filling this gap add?"
169
+ frequency:
170
+ weight: 0.25
171
+ question: "How often is this capability needed?"
172
+ user_dependency:
173
+ weight: 0.25
174
+ question: "How much manual work does the gap require?"
175
+ uniqueness:
176
+ weight: 0.15
177
+ question: "Is this a differentiating capability?"
178
+
179
+ output:
180
+ prioritized_gaps:
181
+ - capability: "competitor_analysis"
182
+ priority_score: 8.7
183
+ search_keywords: ["competitor", "analysis", "monitoring", "scraping"]
184
+ - capability: "email_automation"
185
+ priority_score: 8.2
186
+ search_keywords: ["email", "smtp", "sendgrid", "mailgun"]
187
+
188
+ checkpoint:
189
+ id: CP_GAP_ANALYSIS
190
+ name: "Gap Analysis Complete"
191
+ blocking: true
192
+ criteria:
193
+ - capabilities_mapped: true
194
+ - gaps_identified: ">= 1"
195
+ - gaps_prioritized: true
196
+
197
+ # ─────────────────────────────────────────────────────────────────────────────
198
+ # PHASE 1: PARALLEL DEEP SEARCH
199
+ # ─────────────────────────────────────────────────────────────────────────────
200
+ - id: phase_1
201
+ name: "PARALLEL DEEP SEARCH"
202
+ purpose: "Launch 5 specialized subagents to search each tool category"
203
+ duration: "10-20 minutes (parallel)"
204
+ mode: "parallel"
205
+
206
+ description: |
207
+ This phase launches 5 subagents SIMULTANEOUSLY using the Task tool.
208
+ Each subagent is specialized in searching one category of tools.
209
+ All agents receive the same inputs (domain, gaps, keywords) but
210
+ search in different ecosystems.
211
+
212
+ parallel_agents:
213
+ # ─────────────────────────────────────────────────────────────────────────
214
+ # AGENT 1: MCP DISCOVERY
215
+ # ─────────────────────────────────────────────────────────────────────────
216
+ - id: agent_mcp
217
+ name: "MCP Discovery Agent"
218
+ task_prompt: |
219
+ You are a specialized MCP (Model Context Protocol) discovery agent.
220
+
221
+ ## Your Mission
222
+ Find MCP servers that can fill these capability gaps for a {domain} squad:
223
+ {prioritized_gaps}
224
+
225
+ ## Search Strategy
226
+
227
+ ### 1. Official Sources (Priority 1)
228
+ - https://github.com/modelcontextprotocol/servers
229
+ - https://github.com/anthropics/anthropic-tools
230
+ - https://glama.ai/mcp/servers
231
+
232
+ ### 2. Community Sources (Priority 2)
233
+ Search GitHub with these queries:
234
+ - "topic:mcp-server {keyword}"
235
+ - "mcp server {domain}" in:readme
236
+ - "model context protocol {capability}"
237
+
238
+ ### 3. Filter Criteria
239
+ - Stars >= 10 (quality signal)
240
+ - Updated within 6 months (maintained)
241
+ - Has README with installation docs
242
+ - Compatible with Claude (anthropic/claude mentions)
243
+
244
+ ## For Each MCP Found, Extract:
245
+ ```yaml
246
+ mcp:
247
+ name: ""
248
+ source_url: ""
249
+ description: ""
250
+ capabilities: []
251
+ installation:
252
+ method: "npm | pip | docker"
253
+ command: ""
254
+ requirements: []
255
+ last_updated: ""
256
+ stars: N
257
+ quality_signals:
258
+ has_docs: true/false
259
+ has_examples: true/false
260
+ active_maintenance: true/false
261
+ fills_gaps: [] # Which of our gaps does this fill?
262
+ ```
263
+
264
+ ## Output Format
265
+ Return a YAML list of all MCPs found, sorted by relevance to our gaps.
266
+ Include at least {search_depth_count} results.
267
+
268
+ subagent_type: "Explore"
269
+ timeout: "{search_timeout}"
270
+ output_key: "mcp_results"
271
+
272
+ # ─────────────────────────────────────────────────────────────────────────
273
+ # AGENT 2: API DISCOVERY
274
+ # ─────────────────────────────────────────────────────────────────────────
275
+ - id: agent_api
276
+ name: "API Discovery Agent"
277
+ task_prompt: |
278
+ You are a specialized API discovery agent.
279
+
280
+ ## Your Mission
281
+ Find REST/GraphQL APIs that can fill these capability gaps for a {domain} squad:
282
+ {prioritized_gaps}
283
+
284
+ ## Search Strategy
285
+
286
+ ### 1. API Directories
287
+ - RapidAPI: https://rapidapi.com/search/{domain}
288
+ - Public APIs: https://github.com/public-apis/public-apis
289
+ - API List: https://apilist.fun
290
+ - ProgrammableWeb categories
291
+
292
+ ### 2. Search Queries
293
+ - "{domain} API"
294
+ - "{capability} REST API"
295
+ - "best {domain} APIs 2025 2026"
296
+ - "{domain} SaaS API integration"
297
+
298
+ ### 3. For Each API, Evaluate:
299
+
300
+ **Pricing:**
301
+ - Free tier available?
302
+ - Free requests/month?
303
+ - Paid starting price?
304
+
305
+ **Reliability:**
306
+ - Documented uptime (99.X%)?
307
+ - Status page exists?
308
+
309
+ **Documentation:**
310
+ - OpenAPI/Swagger spec?
311
+ - Code examples?
312
+ - SDKs available?
313
+
314
+ **Authentication:**
315
+ - Type: API key | OAuth | JWT
316
+ - Complexity: Simple | Moderate | Complex
317
+
318
+ **Rate Limits:**
319
+ - Requests/second
320
+ - Requests/day
321
+ - Burst limit
322
+
323
+ ## For Each API Found, Extract:
324
+ ```yaml
325
+ api:
326
+ name: ""
327
+ url: ""
328
+ description: ""
329
+ capabilities: []
330
+ pricing:
331
+ free_tier: true/false
332
+ free_requests: "N/month"
333
+ paid_starting: "$X/month"
334
+ reliability:
335
+ uptime: "99.X%"
336
+ status_page: true/false
337
+ documentation:
338
+ openapi_spec: true/false
339
+ code_examples: true/false
340
+ sdks: ["python", "node", "etc"]
341
+ auth:
342
+ type: "api_key | oauth | jwt"
343
+ complexity: "simple | moderate | complex"
344
+ rate_limits:
345
+ per_second: N
346
+ per_day: N
347
+ fills_gaps: []
348
+ ```
349
+
350
+ ## Output Format
351
+ Return a YAML list of all APIs found, sorted by:
352
+ 1. Free tier availability
353
+ 2. Relevance to our gaps
354
+ 3. Documentation quality
355
+
356
+ Include at least {search_depth_count} results.
357
+
358
+ subagent_type: "Explore"
359
+ timeout: "{search_timeout}"
360
+ output_key: "api_results"
361
+
362
+ # ─────────────────────────────────────────────────────────────────────────
363
+ # AGENT 3: CLI DISCOVERY
364
+ # ─────────────────────────────────────────────────────────────────────────
365
+ - id: agent_cli
366
+ name: "CLI Tool Discovery Agent"
367
+ task_prompt: |
368
+ You are a specialized CLI tool discovery agent.
369
+
370
+ ## Your Mission
371
+ Find command-line tools that can fill these capability gaps for a {domain} squad:
372
+ {prioritized_gaps}
373
+
374
+ ## Search Strategy
375
+
376
+ ### 1. Awesome Lists
377
+ - https://github.com/agarrharr/awesome-cli-apps
378
+ - https://github.com/alebcay/awesome-shell
379
+ - https://github.com/topics/awesome-{domain}
380
+ - https://github.com/sindresorhus/awesome
381
+
382
+ ### 2. Package Managers
383
+ - Homebrew: "brew search {keyword}"
384
+ - npm: "npm search {keyword} cli"
385
+ - pip/PyPI: "{keyword} cli tool"
386
+
387
+ ### 3. Search Queries
388
+ - "{domain} CLI tool"
389
+ - "best {domain} command line tools"
390
+ - "awesome {domain} CLI github"
391
+ - "{capability} terminal tool"
392
+
393
+ ### 4. Filter Criteria
394
+ - Easy installation (brew/npm/pip)
395
+ - Cross-platform (macOS + Linux at minimum)
396
+ - Good documentation (--help, man page)
397
+ - Scriptable output (JSON/YAML option)
398
+ - Active maintenance
399
+
400
+ ## For Each CLI Found, Extract:
401
+ ```yaml
402
+ cli:
403
+ name: ""
404
+ description: ""
405
+ capabilities: []
406
+ installation:
407
+ homebrew: "brew install X"
408
+ npm: "npm install -g X"
409
+ pip: "pip install X"
410
+ other: ""
411
+ platforms: ["macos", "linux", "windows"]
412
+ documentation:
413
+ help_flag: true/false
414
+ man_page: true/false
415
+ online_docs: "url"
416
+ output_formats: ["json", "yaml", "text"]
417
+ github:
418
+ url: ""
419
+ stars: N
420
+ last_updated: ""
421
+ fills_gaps: []
422
+ ```
423
+
424
+ ## Output Format
425
+ Return a YAML list of all CLIs found, sorted by:
426
+ 1. Installation ease
427
+ 2. Relevance to our gaps
428
+ 3. Cross-platform support
429
+
430
+ Include at least {search_depth_count} results.
431
+
432
+ subagent_type: "Explore"
433
+ timeout: "{search_timeout}"
434
+ output_key: "cli_results"
435
+
436
+ # ─────────────────────────────────────────────────────────────────────────
437
+ # AGENT 4: LIBRARY DISCOVERY
438
+ # ─────────────────────────────────────────────────────────────────────────
439
+ - id: agent_library
440
+ name: "Library Discovery Agent"
441
+ task_prompt: |
442
+ You are a specialized library/SDK discovery agent.
443
+
444
+ ## Your Mission
445
+ Find Python/Node libraries that can fill these capability gaps for a {domain} squad:
446
+ {prioritized_gaps}
447
+
448
+ ## Search Strategy
449
+
450
+ ### 1. Package Registries
451
+ **PyPI (Python):**
452
+ - Search: "{domain}", "{capability}"
453
+ - Filter: downloads > 10,000/month
454
+ - Check: Python 3.8+ support
455
+
456
+ **npm (Node.js):**
457
+ - Search: "{domain}", "@{company}/{domain}"
458
+ - Filter: downloads > 5,000/week
459
+ - Check: Node 16+ support
460
+
461
+ ### 2. Search Queries
462
+ - "python {domain} library"
463
+ - "node {domain} package"
464
+ - "{domain} SDK"
465
+ - "{capability} python library"
466
+ - "best {domain} npm packages 2025"
467
+
468
+ ### 3. Quality Criteria
469
+ - Type hints (TypeScript/Python types)
470
+ - Test coverage > 80%
471
+ - Active maintenance (release < 6 months)
472
+ - Minimal dependencies
473
+ - Good documentation with examples
474
+
475
+ ## For Each Library Found, Extract:
476
+ ```yaml
477
+ library:
478
+ name: ""
479
+ language: "python | node | both"
480
+ description: ""
481
+ capabilities: []
482
+ installation:
483
+ pip: "pip install X"
484
+ npm: "npm install X"
485
+ version:
486
+ current: "X.Y.Z"
487
+ python_support: ">=3.8"
488
+ node_support: ">=16"
489
+ quality:
490
+ type_hints: true/false
491
+ test_coverage: "X%"
492
+ last_release: "YYYY-MM-DD"
493
+ dependencies_count: N
494
+ documentation:
495
+ docs_site: "url"
496
+ examples: true/false
497
+ api_reference: true/false
498
+ stats:
499
+ pypi_downloads: "N/month"
500
+ npm_downloads: "N/week"
501
+ github_stars: N
502
+ fills_gaps: []
503
+ ```
504
+
505
+ ## Output Format
506
+ Return a YAML list of all libraries found, sorted by:
507
+ 1. Language preference (Python first, then Node)
508
+ 2. Relevance to our gaps
509
+ 3. Quality metrics
510
+
511
+ Include at least {search_depth_count} results.
512
+
513
+ subagent_type: "Explore"
514
+ timeout: "{search_timeout}"
515
+ output_key: "library_results"
516
+
517
+ # ─────────────────────────────────────────────────────────────────────────
518
+ # AGENT 5: GITHUB PROJECT DISCOVERY
519
+ # ─────────────────────────────────────────────────────────────────────────
520
+ - id: agent_github
521
+ name: "GitHub Project Discovery Agent"
522
+ task_prompt: |
523
+ You are a specialized GitHub project discovery agent.
524
+
525
+ ## Your Mission
526
+ Find open-source projects that can fill these capability gaps for a {domain} squad:
527
+ {prioritized_gaps}
528
+
529
+ Focus on REUSABLE COMPONENTS - scripts, modules, or tools that can be
530
+ extracted and integrated into our squad.
531
+
532
+ ## Search Strategy
533
+
534
+ ### 1. GitHub Topics
535
+ - topic:{domain}
536
+ - topic:{domain}-automation
537
+ - topic:awesome-{domain}
538
+ - topic:{capability}
539
+
540
+ ### 2. GitHub Collections
541
+ - https://github.com/collections/{domain}
542
+ - https://github.com/topics/{domain}
543
+
544
+ ### 3. Search Queries
545
+ - "{domain} automation github stars:>100"
546
+ - "awesome {domain} github"
547
+ - "{capability} tool github"
548
+ - "{domain} toolkit"
549
+ - "{domain} scripts"
550
+
551
+ ### 4. Filter Criteria
552
+ - Stars >= 100 (quality signal)
553
+ - Updated within 1 year
554
+ - Has LICENSE (MIT, Apache-2.0, BSD preferred)
555
+ - Has README with usage docs
556
+ - Language: Python, JavaScript, TypeScript, Go
557
+
558
+ ### 5. Reusability Analysis
559
+ For each project, analyze:
560
+ - Can scripts be run standalone?
561
+ - Can modules be imported?
562
+ - Does it expose an API?
563
+ - Are there reusable prompt templates?
564
+ - Are there automation workflows?
565
+
566
+ ## For Each Project Found, Extract:
567
+ ```yaml
568
+ github_project:
569
+ name: ""
570
+ url: ""
571
+ description: ""
572
+ capabilities: []
573
+ stats:
574
+ stars: N
575
+ forks: N
576
+ last_commit: "YYYY-MM-DD"
577
+ contributors: N
578
+ technical:
579
+ language: ""
580
+ license: ""
581
+ dependencies: []
582
+ reusability:
583
+ standalone_scripts: true/false
584
+ importable_modules: true/false
585
+ api_endpoints: true/false
586
+ prompt_templates: true/false
587
+ automation_workflows: true/false
588
+ integration_effort:
589
+ estimate: "low | medium | high"
590
+ notes: ""
591
+ fills_gaps: []
592
+ ```
593
+
594
+ ## Output Format
595
+ Return a YAML list of all projects found, sorted by:
596
+ 1. Reusability potential
597
+ 2. Stars/quality signals
598
+ 3. Relevance to our gaps
599
+
600
+ Include at least {search_depth_count} results.
601
+
602
+ subagent_type: "Explore"
603
+ timeout: "{search_timeout}"
604
+ output_key: "github_results"
605
+
606
+ # Agent execution logic
607
+ execution:
608
+ launch_all_parallel: true
609
+ wait_for_all: true
610
+ collect_results:
611
+ - mcp_results
612
+ - api_results
613
+ - cli_results
614
+ - library_results
615
+ - github_results
616
+
617
+ checkpoint:
618
+ id: CP_DEEP_SEARCH
619
+ name: "Deep Search Complete"
620
+ blocking: true
621
+ criteria:
622
+ - at_least_3_agents_succeeded: true
623
+ - total_tools_found: ">= 10"
624
+ on_partial_failure:
625
+ action: "Continue with available results, note failures"
626
+
627
+ # ─────────────────────────────────────────────────────────────────────────────
628
+ # PHASE 2: COMPARATIVE EVALUATION (Tiers Relativos)
629
+ # ─────────────────────────────────────────────────────────────────────────────
630
+ - id: phase_2
631
+ name: "COMPARATIVE EVALUATION"
632
+ purpose: "Evaluate tools using RELATIVE TIERS - comparing tools against each other, not absolute values"
633
+ duration: "10-15 minutes"
634
+ mode: "sequential"
635
+ depends_on: ["phase_1"]
636
+
637
+ framework_reference: "data/tool-evaluation-framework.md"
638
+
639
+ philosophy: |
640
+ NÃO EXISTEM VALORES ABSOLUTOS UNIVERSAIS.
641
+
642
+ Um projeto com 30 stars pode ser EXCELENTE se for o melhor do nicho.
643
+ Um projeto com 10,000 stars pode ser MEDIANO se todos os concorrentes
644
+ tiverem 50,000.
645
+
646
+ SEMPRE comparar ferramentas ENTRE SI, dentro do contexto da pesquisa.
647
+
648
+ principles:
649
+ - "COMPARAÇÃO RELATIVA - Tiers baseados nos projetos encontrados, não em números mágicos"
650
+ - "CONTEXTO DE DOMÍNIO - Ferramentas de nicho competem com ferramentas de nicho"
651
+ - "FLAGS, NÃO VETOS - Problemas são destacados para decisão humana, não eliminados automaticamente"
652
+ - "DADOS > HEURÍSTICAS - Normalizar dentro do dataset encontrado"
653
+
654
+ steps:
655
+ - id: step_2_1
656
+ name: "Consolidate & Deduplicate"
657
+ action: "Merge all subagent results and remove duplicates"
658
+ logic: |
659
+ all_tools = []
660
+ for category in [mcp, api, cli, library, github]:
661
+ for tool in category_results:
662
+ tool.category = category
663
+ tool.source_agent = agent_name
664
+ all_tools.append(tool)
665
+
666
+ deduplicated = deduplicate_by_name_and_url(all_tools)
667
+
668
+ output:
669
+ consolidated_tools:
670
+ total: N
671
+ by_category: { mcp: N, api: N, cli: N, library: N, github: N }
672
+
673
+ # ─────────────────────────────────────────────────────────────────────────
674
+ # STEP 2.2: COLLECT RAW METRICS
675
+ # ─────────────────────────────────────────────────────────────────────────
676
+ - id: step_2_2
677
+ name: "Collect Raw Metrics"
678
+ action: "Gather all metrics for each tool to enable relative comparison"
679
+
680
+ metrics_to_collect:
681
+ social_proof:
682
+ - github_stars
683
+ - github_forks
684
+ - npm_downloads_weekly
685
+ - pypi_downloads_monthly
686
+ - contributors_count
687
+ - open_issues_count
688
+ - closed_issues_count
689
+ - last_commit_days_ago
690
+ - releases_last_year
691
+ - stackoverflow_questions
692
+
693
+ security:
694
+ - critical_cves_count
695
+ - high_cves_count
696
+ - medium_cves_count
697
+ - deps_vulnerabilities_count
698
+ - has_security_policy
699
+ - has_security_audit
700
+ - signed_releases
701
+
702
+ maturity:
703
+ - age_months
704
+ - major_version
705
+ - has_documentation
706
+ - has_examples
707
+ - has_tests
708
+
709
+ output:
710
+ raw_metrics_matrix:
711
+ tool_name: { metric_name: value, ... }
712
+
713
+ # ─────────────────────────────────────────────────────────────────────────
714
+ # STEP 2.3: CALCULATE RELATIVE TIERS (Percentis)
715
+ # ─────────────────────────────────────────────────────────────────────────
716
+ - id: step_2_3
717
+ name: "Calculate Relative Tiers"
718
+ action: "For each dimension, rank tools by percentile within the dataset"
719
+
720
+ tier_calculation:
721
+ method: "percentile"
722
+ tiers:
723
+ tier_1: "Top 20% (above P80)"
724
+ tier_2: "21-50% (P50 to P80)"
725
+ tier_3: "51-80% (P20 to P50)"
726
+ tier_4: "Bottom 20% (below P20)"
727
+
728
+ dimensions:
729
+ social_proof:
730
+ components:
731
+ - name: "popularity"
732
+ metrics: [github_stars, npm_downloads, pypi_downloads]
733
+ weight: 0.30
734
+ - name: "community_health"
735
+ metrics: [contributors_count, issues_response_ratio]
736
+ weight: 0.25
737
+ - name: "activity"
738
+ metrics: [last_commit_days_ago, releases_last_year]
739
+ weight: 0.25
740
+ inverse: [last_commit_days_ago] # Lower is better
741
+ - name: "adoption"
742
+ metrics: [stackoverflow_questions]
743
+ weight: 0.20
744
+
745
+ security:
746
+ note: "For CVEs, compare relative counts - lower tier = fewer CVEs"
747
+ components:
748
+ - name: "vulnerabilities"
749
+ metrics: [critical_cves, high_cves, deps_vulnerabilities]
750
+ weight: 0.60
751
+ inverse: true # Fewer is better
752
+ - name: "practices"
753
+ metrics: [has_security_policy, has_security_audit, signed_releases]
754
+ weight: 0.40
755
+
756
+ maturity:
757
+ components:
758
+ - name: "longevity"
759
+ metrics: [age_months, major_version]
760
+ weight: 0.40
761
+ - name: "documentation"
762
+ metrics: [has_documentation, has_examples]
763
+ weight: 0.30
764
+ - name: "quality"
765
+ metrics: [has_tests]
766
+ weight: 0.30
767
+
768
+ output:
769
+ tier_matrix:
770
+ tool_name:
771
+ social_proof_tier: 1-4
772
+ security_tier: 1-4
773
+ maturity_tier: 1-4
774
+
775
+ # ─────────────────────────────────────────────────────────────────────────
776
+ # STEP 2.4: FLAG ATTENTION ITEMS (Not VETOs)
777
+ # ─────────────────────────────────────────────────────────────────────────
778
+ - id: step_2_4
779
+ name: "Flag Attention Items"
780
+ action: "Identify items that require human attention (flags, not automatic vetos)"
781
+
782
+ note: |
783
+ FLAGS highlight concerns but do NOT automatically eliminate tools.
784
+ A tool with a flag may still be the best option if all alternatives
785
+ have worse issues.
786
+
787
+ flags:
788
+ security:
789
+ - flag: "🔴 CRITICAL_CVE"
790
+ condition: "Has unpatched critical CVE"
791
+ action: "Highlight for human review"
792
+ note: "Check if patch available or workaround exists"
793
+
794
+ - flag: "🟠 HIGH_CVE"
795
+ condition: "Has unpatched high CVE"
796
+ action: "Compare with alternatives"
797
+
798
+ - flag: "🟡 SECURITY_INCIDENT"
799
+ condition: "History of security incident"
800
+ action: "Research if resolved"
801
+
802
+ maturity:
803
+ - flag: "🔵 VERY_NEW"
804
+ condition: "Project < 3 months old"
805
+ action: "May be innovative or unstable"
806
+
807
+ - flag: "🟤 SINGLE_MAINTAINER"
808
+ condition: "Only 1 contributor"
809
+ action: "Bus factor concern"
810
+
811
+ - flag: "⚪ NO_RECENT_RELEASES"
812
+ condition: "No releases in 12 months"
813
+ action: "Check if stable or abandoned"
814
+
815
+ licensing:
816
+ - flag: "⚫ NO_LICENSE"
817
+ condition: "No OSS license"
818
+ action: "Cannot use without license clarification"
819
+
820
+ output:
821
+ flagged_tools:
822
+ tool_name: [list of flags]
823
+
824
+ # ─────────────────────────────────────────────────────────────────────────
825
+ # STEP 2.5: COST-BENEFIT COMPARISON (Relative)
826
+ # ─────────────────────────────────────────────────────────────────────────
827
+ - id: step_2_5
828
+ name: "Cost-Benefit Comparison"
829
+ action: "Compare paid vs OSS alternatives within same tier"
830
+
831
+ principle: |
832
+ NO fixed ROI thresholds.
833
+ Compare tiers between paid and OSS options for same capability.
834
+ Present analysis for human decision.
835
+
836
+ analysis:
837
+ step_1:
838
+ action: "Group tools by capability gap they fill"
839
+
840
+ step_2:
841
+ action: "For each gap, identify paid and OSS options"
842
+
843
+ step_3:
844
+ action: "Compare tiers within each group"
845
+ logic: |
846
+ If OSS is Tier 1-2 and Paid is also Tier 1-2:
847
+ → Prefer OSS (cost advantage)
848
+ If Paid is Tier 1 and OSS is Tier 3-4:
849
+ → Present both with tier comparison
850
+ If only Paid options exist:
851
+ → Present with cost analysis
852
+
853
+ step_4:
854
+ action: "Generate comparison table for human decision"
855
+
856
+ output:
857
+ cost_comparison:
858
+ by_capability:
859
+ capability_name:
860
+ oss_options: [{ tool, tier, cost: "free" }]
861
+ paid_options: [{ tool, tier, cost: "$X/mo" }]
862
+ recommendation: "OSS Tier 1 exists" | "Consider paid" | "Only paid available"
863
+
864
+ # ─────────────────────────────────────────────────────────────────────────
865
+ # STEP 2.6: RICE SCORING (Relative)
866
+ # ─────────────────────────────────────────────────────────────────────────
867
+ - id: step_2_6
868
+ name: "RICE Scoring (Relative)"
869
+ action: "Calculate RICE for each tool, then rank by percentile"
870
+
871
+ rice_components:
872
+ reach:
873
+ description: "Proportion of squad use cases affected"
874
+ calculation: "(use_cases_affected / total_use_cases) * 10"
875
+
876
+ impact:
877
+ description: "Magnitude of benefit when implemented"
878
+ assessment:
879
+ - "Manual work reduction %"
880
+ - "Quality improvement %"
881
+ - "Necessity (can squad work without it?)"
882
+ - "Differentiation value"
883
+ calculation: "weighted average of assessments"
884
+
885
+ confidence:
886
+ description: "Certainty about Reach and Impact estimates"
887
+ based_on:
888
+ - "Have we tested similar tool?"
889
+ - "Quality of documentation"
890
+ - "Number of reviews/case studies"
891
+ - "Community activity"
892
+
893
+ effort:
894
+ description: "Time and resources to implement"
895
+ components:
896
+ - installation_complexity
897
+ - integration_effort
898
+ - learning_curve
899
+ - maintenance_burden
900
+
901
+ formula: "RICE = (Reach * Impact * Confidence) / Effort"
902
+
903
+ tier_assignment: |
904
+ Calculate RICE for ALL tools, then assign tiers by percentile:
905
+ - Tier 1: Top 20% RICE scores
906
+ - Tier 2: 21-50%
907
+ - Tier 3: 51-80%
908
+ - Tier 4: Bottom 20%
909
+
910
+ NOTE: NO absolute threshold like "RICE > 50 is good".
911
+ A tool with RICE 15 can be Tier 1 if it's the best in the dataset.
912
+
913
+ # ─────────────────────────────────────────────────────────────────────────
914
+ # STEP 2.7: WSJF SCORING (Relative)
915
+ # ─────────────────────────────────────────────────────────────────────────
916
+ - id: step_2_7
917
+ name: "WSJF Scoring (Relative)"
918
+ action: "Calculate WSJF for prioritization, rank by percentile"
919
+
920
+ cost_of_delay:
921
+ user_business_value:
922
+ weight: 0.40
923
+ question: "How much business value does user gain?"
924
+ comparison: "Rank tools against each other"
925
+
926
+ time_criticality:
927
+ weight: 0.30
928
+ question: "How urgent is this capability?"
929
+ context: "Depends on squad project timeline"
930
+
931
+ risk_reduction:
932
+ weight: 0.30
933
+ question: "How much risk does this tool mitigate?"
934
+
935
+ job_duration:
936
+ description: "Estimated implementation time"
937
+ mapping:
938
+ 1: "< 1 hour"
939
+ 2: "1-4 hours"
940
+ 3: "1 day"
941
+ 5: "1 week"
942
+ 7: "2-4 weeks"
943
+ 10: "> 3 months"
944
+
945
+ formula: "WSJF = Cost_of_Delay / Job_Duration"
946
+
947
+ tier_assignment: |
948
+ Same as RICE - assign tiers by percentile within dataset.
949
+ High WSJF = High value, low effort (prioritize first)
950
+
951
+ # ─────────────────────────────────────────────────────────────────────────
952
+ # STEP 2.8: COMPOSITE TIER & RANKING
953
+ # ─────────────────────────────────────────────────────────────────────────
954
+ - id: step_2_8
955
+ name: "Calculate Composite Tier"
956
+ action: "Combine all dimension tiers into final ranking"
957
+
958
+ composite_calculation:
959
+ weights:
960
+ rice_tier: 0.30
961
+ wsjf_tier: 0.25
962
+ social_proof_tier: 0.20
963
+ security_tier: 0.15
964
+ maturity_tier: 0.10
965
+
966
+ formula: |
967
+ # Convert tiers to scores (Tier 1 = 4, Tier 2 = 3, etc.)
968
+ tier_to_score = {1: 4, 2: 3, 3: 2, 4: 1}
969
+
970
+ composite_score = sum(tier_to_score[tier] * weight for each dimension)
971
+
972
+ # Convert back to tier
973
+ if composite_score >= 3.5: Tier 1
974
+ elif composite_score >= 2.5: Tier 2
975
+ elif composite_score >= 1.5: Tier 3
976
+ else: Tier 4
977
+
978
+ decision_matrix:
979
+ note: "Based on VALUE tier (RICE+WSJF) vs EFFORT tier"
980
+ quadrants:
981
+ quick_wins:
982
+ criteria: "Tier 1-2 Value AND Tier 1-2 Effort"
983
+ action: "Implement first"
984
+
985
+ strategic:
986
+ criteria: "Tier 1-2 Value AND Tier 3-4 Effort"
987
+ action: "Plan and schedule"
988
+
989
+ fill_ins:
990
+ criteria: "Tier 3-4 Value AND Tier 1-2 Effort"
991
+ action: "If time permits"
992
+
993
+ backlog:
994
+ criteria: "Tier 3-4 Value AND Tier 3-4 Effort"
995
+ action: "Low priority"
996
+
997
+ output:
998
+ ranked_tools:
999
+ - tool: "Tool A"
1000
+ composite_tier: 1
1001
+ quadrant: "Quick Win"
1002
+ flags: []
1003
+ tiers:
1004
+ rice: 1
1005
+ wsjf: 1
1006
+ social_proof: 2
1007
+ security: 1
1008
+ maturity: 2
1009
+
1010
+ - id: step_2_9
1011
+ name: "Generate Comparative Report"
1012
+ action: "Create report showing relative rankings and comparisons"
1013
+
1014
+ report_sections:
1015
+ tier_distribution:
1016
+ description: "How many tools in each tier"
1017
+ format: |
1018
+ Tier 1 (Top 20%): N tools
1019
+ Tier 2 (21-50%): N tools
1020
+ Tier 3 (51-80%): N tools
1021
+ Tier 4 (Bottom 20%): N tools
1022
+
1023
+ top_by_category:
1024
+ description: "Best tools per category"
1025
+ categories: [mcp, api, cli, library, github]
1026
+ show: "Top 3 per category with tier info"
1027
+
1028
+ gap_coverage:
1029
+ description: "Which gaps have Tier 1-2 options"
1030
+ format: |
1031
+ ✅ Gap X: Tool A (Tier 1), Tool B (Tier 2)
1032
+ ⚠️ Gap Y: Only Tier 3-4 options available
1033
+ ❌ Gap Z: No tools found
1034
+
1035
+ flags_summary:
1036
+ description: "All flagged items requiring attention"
1037
+ format: |
1038
+ 🔴 CRITICAL_CVE: Tool X, Tool Y
1039
+ 🔵 VERY_NEW: Tool Z
1040
+
1041
+ paid_vs_oss:
1042
+ description: "Comparison for gaps where both exist"
1043
+
1044
+ output:
1045
+ comparative_report:
1046
+ tier_distribution: {}
1047
+ top_overall: []
1048
+ top_by_category: {}
1049
+ gap_coverage: {}
1050
+ flags_summary: {}
1051
+ paid_vs_oss_analysis: {}
1052
+
1053
+ checkpoint:
1054
+ id: CP_SCORING
1055
+ name: "Scoring Complete"
1056
+ blocking: true
1057
+ criteria:
1058
+ - all_tools_scored: true
1059
+ - rankings_generated: true
1060
+
1061
+ # ─────────────────────────────────────────────────────────────────────────────
1062
+ # PHASE 3: DECISION MATRIX & INTEGRATION PLAN
1063
+ # ─────────────────────────────────────────────────────────────────────────────
1064
+ - id: phase_3
1065
+ name: "DECISION MATRIX & INTEGRATION PLAN"
1066
+ purpose: "Create actionable decision matrix and implementation plan"
1067
+ duration: "5-10 minutes"
1068
+ mode: "sequential"
1069
+ depends_on: ["phase_2"]
1070
+
1071
+ steps:
1072
+ - id: step_3_1
1073
+ name: "Generate Decision Matrix"
1074
+ action: "Create impact vs effort quadrant matrix"
1075
+ matrix:
1076
+ quadrants:
1077
+ quick_wins:
1078
+ criteria: "impact_score >= 7 AND effort_score >= 7"
1079
+ action: "Implement immediately"
1080
+ priority: 1
1081
+
1082
+ strategic:
1083
+ criteria: "impact_score >= 7 AND effort_score < 7"
1084
+ action: "Plan for implementation"
1085
+ priority: 2
1086
+
1087
+ fill_ins:
1088
+ criteria: "impact_score < 7 AND effort_score >= 7"
1089
+ action: "Nice to have, low priority"
1090
+ priority: 3
1091
+
1092
+ avoid:
1093
+ criteria: "impact_score < 7 AND effort_score < 7"
1094
+ action: "Don't implement"
1095
+ priority: 4
1096
+
1097
+ output:
1098
+ decision_matrix:
1099
+ quick_wins: []
1100
+ strategic: []
1101
+ fill_ins: []
1102
+ avoid: []
1103
+
1104
+ - id: step_3_2
1105
+ name: "Generate Integration Plan"
1106
+ action: "Create phased implementation plan"
1107
+ plan_structure:
1108
+ immediate:
1109
+ timeframe: "Today"
1110
+ criteria: "Quick wins with < 30 min setup"
1111
+ actions:
1112
+ - tool_name: ""
1113
+ action: "Install via {command}"
1114
+ effort: "5-30 min"
1115
+ fills_gap: ""
1116
+
1117
+ short_term:
1118
+ timeframe: "This Week"
1119
+ criteria: "Quick wins and high-value strategic"
1120
+ actions:
1121
+ - tool_name: ""
1122
+ action: "Configure and integrate"
1123
+ effort: "1-4 hours"
1124
+ fills_gap: ""
1125
+
1126
+ medium_term:
1127
+ timeframe: "This Month"
1128
+ criteria: "Strategic tools requiring planning"
1129
+ actions:
1130
+ - tool_name: ""
1131
+ action: "Full integration with squad"
1132
+ effort: "1-2 days"
1133
+ fills_gap: ""
1134
+
1135
+ backlog:
1136
+ timeframe: "Future"
1137
+ criteria: "Fill-ins and tools needing evaluation"
1138
+ actions:
1139
+ - tool_name: ""
1140
+ action: "Evaluate when time permits"
1141
+ reason: ""
1142
+
1143
+ output:
1144
+ integration_plan:
1145
+ immediate: []
1146
+ short_term: []
1147
+ medium_term: []
1148
+ backlog: []
1149
+
1150
+ - id: step_3_3
1151
+ name: "Update Tool Registry"
1152
+ action: "Add discovered tools to global registry"
1153
+ updates:
1154
+ - add_to: "mcp_servers"
1155
+ status: "discovered"
1156
+ tools: "{new_mcps}"
1157
+
1158
+ - add_to: "domain_recommendations.{domain}"
1159
+ essential: "{quick_wins}"
1160
+ recommended: "{strategic}"
1161
+ optional: "{fill_ins}"
1162
+
1163
+ - add_to: "capability_mapping"
1164
+ new_mappings: "{gap_to_tool_mappings}"
1165
+
1166
+ output:
1167
+ registry_updates:
1168
+ mcps_added: N
1169
+ apis_added: N
1170
+ mappings_added: N
1171
+
1172
+ - id: step_3_4
1173
+ name: "Generate Reports"
1174
+ action: "Create comprehensive documentation"
1175
+ reports:
1176
+ - name: "Tool Discovery Report"
1177
+ location: "squads/{pack_name}/docs/tool-discovery-report.md"
1178
+ sections:
1179
+ - executive_summary
1180
+ - capability_gaps_analyzed
1181
+ - tools_discovered_by_category
1182
+ - decision_matrix_visual
1183
+ - top_recommendations
1184
+ - detailed_tool_profiles
1185
+
1186
+ - name: "Integration Plan"
1187
+ location: "squads/{pack_name}/docs/tool-integration-plan.md"
1188
+ sections:
1189
+ - timeline_overview
1190
+ - immediate_actions
1191
+ - short_term_plan
1192
+ - medium_term_plan
1193
+ - backlog
1194
+
1195
+ - name: "Capability-Tools Mapping"
1196
+ location: "squads/{pack_name}/data/capability-tools.yaml"
1197
+ format: "yaml"
1198
+
1199
+ checkpoint:
1200
+ id: CP_DECISION
1201
+ name: "Decision Matrix Complete"
1202
+ blocking: true
1203
+ criteria:
1204
+ - matrix_generated: true
1205
+ - plan_created: true
1206
+ - registry_updated: true
1207
+ - reports_generated: true
1208
+
1209
+ # ─────────────────────────────────────────────────────────────────────────────
1210
+ # PHASE 4: HANDOFF
1211
+ # ─────────────────────────────────────────────────────────────────────────────
1212
+ - id: phase_4
1213
+ name: "HANDOFF"
1214
+ purpose: "Present findings and get approval"
1215
+ duration: "2-5 minutes"
1216
+ mode: "interactive"
1217
+ depends_on: ["phase_3"]
1218
+
1219
+ steps:
1220
+ - id: step_4_1
1221
+ name: "Present Summary"
1222
+ action: "Display comprehensive discovery summary"
1223
+ template: |
1224
+ ═══════════════════════════════════════════════════════════════════
1225
+ 🔧 DEEP TOOL DISCOVERY COMPLETE
1226
+ ═══════════════════════════════════════════════════════════════════
1227
+
1228
+ DOMAIN: {domain}
1229
+ CAPABILITY GAPS ANALYZED: {gaps_count}
1230
+ TOTAL TOOLS DISCOVERED: {tools_count}
1231
+
1232
+ ┌─────────────────────────────────────────────────────────────────┐
1233
+ │ DISCOVERY BY CATEGORY │
1234
+ ├─────────────────────────────────────────────────────────────────┤
1235
+ │ MCPs: {mcp_count:>3} found │ Top: {top_mcp} │
1236
+ │ APIs: {api_count:>3} found │ Top: {top_api} │
1237
+ │ CLIs: {cli_count:>3} found │ Top: {top_cli} │
1238
+ │ Libraries: {lib_count:>3} found │ Top: {top_lib} │
1239
+ │ GitHub Projects:{gh_count:>3} found │ Top: {top_gh} │
1240
+ └─────────────────────────────────────────────────────────────────┘
1241
+
1242
+ ┌─────────────────────────────────────────────────────────────────┐
1243
+ │ DECISION MATRIX │
1244
+ ├─────────────────────────────────────────────────────────────────┤
1245
+ │ 🚀 QUICK WINS: {quick_wins_count:>2} tools (implement now) │
1246
+ │ 📋 STRATEGIC: {strategic_count:>2} tools (plan for later) │
1247
+ │ 📦 FILL-INS: {fillins_count:>2} tools (nice to have) │
1248
+ │ ❌ AVOID: {avoid_count:>2} tools (not worth effort) │
1249
+ └─────────────────────────────────────────────────────────────────┘
1250
+
1251
+ TOP 5 QUICK WINS:
1252
+ {quick_wins_table}
1253
+
1254
+ REPORTS GENERATED:
1255
+ • squads/{pack_name}/docs/tool-discovery-report.md
1256
+ • squads/{pack_name}/docs/tool-integration-plan.md
1257
+ • squads/{pack_name}/data/capability-tools.yaml
1258
+
1259
+ ═══════════════════════════════════════════════════════════════════
1260
+
1261
+ - id: step_4_2
1262
+ name: "Request Approval"
1263
+ action: "Ask user to approve integration plan"
1264
+ question: "How would you like to proceed?"
1265
+ options:
1266
+ - id: "approve_all"
1267
+ label: "Approve all quick wins - integrate now"
1268
+ action: "Execute immediate actions from integration plan"
1269
+
1270
+ - id: "review_first"
1271
+ label: "Review detailed report first"
1272
+ action: "Open tool-discovery-report.md"
1273
+
1274
+ - id: "selective"
1275
+ label: "Select specific tools to integrate"
1276
+ action: "Present tool list for selection"
1277
+
1278
+ - id: "skip"
1279
+ label: "Skip tool integration for now"
1280
+ action: "Save reports, continue to next phase"
1281
+
1282
+ # ═══════════════════════════════════════════════════════════════════════════════
1283
+ # OUTPUTS
1284
+ # ═══════════════════════════════════════════════════════════════════════════════
1285
+
1286
+ outputs:
1287
+ primary:
1288
+ - name: "Tool Discovery Report"
1289
+ location: "squads/{pack_name}/docs/tool-discovery-report.md"
1290
+ description: "Comprehensive research findings with all discovered tools"
1291
+
1292
+ - name: "Integration Plan"
1293
+ location: "squads/{pack_name}/docs/tool-integration-plan.md"
1294
+ description: "Prioritized implementation timeline"
1295
+
1296
+ - name: "Decision Matrix"
1297
+ location: "Embedded in tool-discovery-report.md"
1298
+ description: "Impact vs Effort quadrant visualization"
1299
+
1300
+ secondary:
1301
+ - name: "Capability-Tools Mapping"
1302
+ location: "squads/{pack_name}/data/capability-tools.yaml"
1303
+ description: "Squad-specific capability to tool mapping"
1304
+
1305
+ - name: "Updated Tool Registry"
1306
+ location: "data/tool-registry.yaml"
1307
+ description: "Global registry updated with discoveries"
1308
+
1309
+ # ═══════════════════════════════════════════════════════════════════════════════
1310
+ # HEURISTICS
1311
+ # ═══════════════════════════════════════════════════════════════════════════════
1312
+
1313
+ heuristics:
1314
+ - id: SC_TLD_001
1315
+ name: "Tool Discovery Complete"
1316
+ phase: "phase_3"
1317
+ blocking: true
1318
+ criteria:
1319
+ - parallel_agents_executed: ">= 3 of 5"
1320
+ - tools_discovered: ">= 5" # At least some tools found
1321
+ - tier_distribution_calculated: true
1322
+ - comparative_report_generated: true
1323
+ notes:
1324
+ - "No minimum tool count threshold - even 5 tools can be valuable if ranked"
1325
+ - "Quality is determined by relative ranking, not absolute counts"
1326
+
1327
+ - id: SC_TLD_002
1328
+ name: "Relative Ranking Complete"
1329
+ phase: "phase_2.step_2_3"
1330
+ blocking: true
1331
+ criteria:
1332
+ - all_tools_have_tiers: true
1333
+ - percentile_calculation_done: true
1334
+ notes:
1335
+ - "NO absolute thresholds - all tools get tiers based on comparison"
1336
+ - "Even Tier 4 tools are included - they may be the only option"
1337
+
1338
+ - id: SC_TLD_003
1339
+ name: "Flags Identified"
1340
+ phase: "phase_2.step_2_4"
1341
+ blocking: false
1342
+ criteria:
1343
+ - security_flags_checked: true
1344
+ - maturity_flags_checked: true
1345
+ - license_flags_checked: true
1346
+ notes:
1347
+ - "Flags are for ATTENTION, not automatic elimination"
1348
+ - "A tool with flags may still be recommended if best in tier"
1349
+
1350
+ - id: SC_TLD_004
1351
+ name: "Cost Comparison Done"
1352
+ phase: "phase_2.step_2_5"
1353
+ blocking: false
1354
+ criteria:
1355
+ - paid_vs_oss_grouped: true
1356
+ - tier_comparison_per_gap: true
1357
+ notes:
1358
+ - "NO fixed ROI thresholds"
1359
+ - "Present tier comparison for human decision"
1360
+ - "OSS preferred when same tier as paid"
1361
+
1362
+ - id: SC_TLD_005
1363
+ name: "Decision Matrix Generated"
1364
+ phase: "phase_2.step_2_8"
1365
+ blocking: true
1366
+ criteria:
1367
+ - quadrants_assigned: true # Quick Win, Strategic, Fill-in, Backlog
1368
+ - recommendations_by_gap: true
1369
+ notes:
1370
+ - "Quadrants based on relative tiers, not absolute scores"
1371
+ - "All tools get a quadrant - none automatically excluded"
1372
+
1373
+ # ═══════════════════════════════════════════════════════════════════════════════
1374
+ # SEARCH DEPTH CONFIGURATION
1375
+ # ═══════════════════════════════════════════════════════════════════════════════
1376
+
1377
+ search_depth_config:
1378
+ quick:
1379
+ results_per_category: 5
1380
+ timeout_minutes: 5
1381
+ use_case: "Fast exploration"
1382
+
1383
+ standard:
1384
+ results_per_category: 15
1385
+ timeout_minutes: 10
1386
+ use_case: "Normal squad creation"
1387
+
1388
+ exhaustive:
1389
+ results_per_category: 30
1390
+ timeout_minutes: 20
1391
+ use_case: "Enterprise squads, complex domains"
1392
+
1393
+ # ═══════════════════════════════════════════════════════════════════════════════
1394
+ # ERROR HANDLING
1395
+ # ═══════════════════════════════════════════════════════════════════════════════
1396
+
1397
+ error_handling:
1398
+ agent_timeout:
1399
+ action: "Continue with other agents, mark as partial"
1400
+ retry: false
1401
+
1402
+ agent_failure:
1403
+ action: "Log error, continue with other agents"
1404
+ retry_count: 1
1405
+
1406
+ no_tools_found:
1407
+ action: "Expand search to adjacent domains"
1408
+ fallback: "Mark as 'custom development needed'"
1409
+
1410
+ scoring_failure:
1411
+ action: "Use default scores, flag for manual review"
1412
+
1413
+ # ═══════════════════════════════════════════════════════════════════════════════
1414
+ # METADATA
1415
+ # ═══════════════════════════════════════════════════════════════════════════════
1416
+
1417
+ metadata:
1418
+ version: "2.0"
1419
+ created: "2026-02-03"
1420
+ updated: "2026-02-03"
1421
+ author: "squad-chief"
1422
+ lines: "900+"
1423
+ purpose: "Deep parallel tool discovery with RELATIVE TIERS - comparing tools against each other, not absolute values"
1424
+ philosophy: "Não existem valores absolutos universais. Um projeto com 30 stars pode ser excelente se for o melhor do nicho."
1425
+ changelog:
1426
+ v2.0:
1427
+ - "MAJOR: Replaced absolute thresholds with RELATIVE TIERS"
1428
+ - "Tools compared by PERCENTILE within dataset (Top 20%, 21-50%, etc.)"
1429
+ - "Replaced VETOs with FLAGS requiring human attention"
1430
+ - "No tool automatically eliminated - Tier 4 may still be best option"
1431
+ - "Cost comparison: tier-based, no fixed ROI thresholds"
1432
+ - "RICE/WSJF scores ranked relatively, not against fixed values"
1433
+ - "Framework reference: data/tool-evaluation-framework.md v2.0"
1434
+ v1.1:
1435
+ - "Added RICE Framework scoring"
1436
+ - "Added WSJF Framework scoring"
1437
+ - "Added Security/Social Proof gates (replaced in v2.0)"
1438
+ v1.0:
1439
+ - "Initial release with 5 parallel sub-agents"