aiox-core 5.0.3 → 5.0.5

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 (652) 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 +1039 -1034
  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/service-template/README.md.hbs +158 -158
  12. package/.aiox-core/development/templates/service-template/__tests__/index.test.ts.hbs +237 -237
  13. package/.aiox-core/development/templates/service-template/client.ts.hbs +403 -403
  14. package/.aiox-core/development/templates/service-template/errors.ts.hbs +182 -182
  15. package/.aiox-core/development/templates/service-template/index.ts.hbs +120 -120
  16. package/.aiox-core/development/templates/service-template/package.json.hbs +87 -87
  17. package/.aiox-core/development/templates/service-template/types.ts.hbs +145 -145
  18. package/.aiox-core/development/templates/squad/workflow-template.yaml +106 -91
  19. package/.aiox-core/development/templates/squad-template/LICENSE +21 -21
  20. package/.aiox-core/development/templates/squad-template/workflows/example-workflow.yaml +72 -51
  21. package/.aiox-core/development/workflows/README.md +12 -5
  22. package/.aiox-core/development/workflows/development-cycle.yaml +90 -0
  23. package/.aiox-core/infrastructure/scripts/config-cache.js +10 -1
  24. package/.aiox-core/infrastructure/templates/aiox-sync.yaml.template +182 -182
  25. package/.aiox-core/infrastructure/templates/coderabbit.yaml.template +279 -279
  26. package/.aiox-core/infrastructure/templates/github-workflows/ci.yml.template +169 -169
  27. package/.aiox-core/infrastructure/templates/github-workflows/pr-automation.yml.template +330 -330
  28. package/.aiox-core/infrastructure/templates/github-workflows/release.yml.template +196 -196
  29. package/.aiox-core/infrastructure/templates/gitignore/gitignore-aiox-base.tmpl +63 -63
  30. package/.aiox-core/infrastructure/templates/gitignore/gitignore-brownfield-merge.tmpl +18 -18
  31. package/.aiox-core/infrastructure/templates/gitignore/gitignore-node.tmpl +85 -85
  32. package/.aiox-core/infrastructure/templates/gitignore/gitignore-python.tmpl +145 -145
  33. package/.aiox-core/install-manifest.yaml +85 -81
  34. package/.aiox-core/lib/build.json +1 -0
  35. package/.aiox-core/local-config.yaml.template +71 -71
  36. package/.aiox-core/monitor/hooks/lib/__init__.py +1 -1
  37. package/.aiox-core/monitor/hooks/lib/enrich.py +58 -58
  38. package/.aiox-core/monitor/hooks/lib/send_event.py +47 -47
  39. package/.aiox-core/monitor/hooks/notification.py +29 -29
  40. package/.aiox-core/monitor/hooks/post_tool_use.py +45 -45
  41. package/.aiox-core/monitor/hooks/pre_compact.py +29 -29
  42. package/.aiox-core/monitor/hooks/pre_tool_use.py +40 -40
  43. package/.aiox-core/monitor/hooks/stop.py +29 -29
  44. package/.aiox-core/monitor/hooks/subagent_stop.py +29 -29
  45. package/.aiox-core/monitor/hooks/user_prompt_submit.py +38 -38
  46. package/.aiox-core/product/templates/adr.hbs +125 -125
  47. package/.aiox-core/product/templates/dbdr.hbs +241 -241
  48. package/.aiox-core/product/templates/epic.hbs +212 -212
  49. package/.aiox-core/product/templates/pmdr.hbs +186 -186
  50. package/.aiox-core/product/templates/prd-v2.0.hbs +216 -216
  51. package/.aiox-core/product/templates/prd.hbs +201 -201
  52. package/.aiox-core/product/templates/story.hbs +263 -263
  53. package/.aiox-core/product/templates/task.hbs +170 -170
  54. package/.aiox-core/product/templates/tmpl-comment-on-examples.sql +158 -158
  55. package/.aiox-core/product/templates/tmpl-migration-script.sql +91 -91
  56. package/.aiox-core/product/templates/tmpl-rls-granular-policies.sql +104 -104
  57. package/.aiox-core/product/templates/tmpl-rls-kiss-policy.sql +10 -10
  58. package/.aiox-core/product/templates/tmpl-rls-roles.sql +135 -135
  59. package/.aiox-core/product/templates/tmpl-rls-simple.sql +77 -77
  60. package/.aiox-core/product/templates/tmpl-rls-tenant.sql +152 -152
  61. package/.aiox-core/product/templates/tmpl-rollback-script.sql +77 -77
  62. package/.aiox-core/product/templates/tmpl-seed-data.sql +140 -140
  63. package/.aiox-core/product/templates/tmpl-smoke-test.sql +16 -16
  64. package/.aiox-core/product/templates/tmpl-staging-copy-merge.sql +139 -139
  65. package/.aiox-core/product/templates/tmpl-stored-proc.sql +140 -140
  66. package/.aiox-core/product/templates/tmpl-trigger.sql +152 -152
  67. package/.aiox-core/product/templates/tmpl-view-materialized.sql +133 -133
  68. package/.aiox-core/product/templates/tmpl-view.sql +177 -177
  69. package/.aiox-core/scripts/pm.sh +0 -0
  70. package/.claude/hooks/enforce-architecture-first.py +196 -196
  71. package/.claude/hooks/mind-clone-governance.py +192 -192
  72. package/.claude/hooks/precompact-session-digest.cjs +47 -12
  73. package/.claude/hooks/read-protection.py +151 -151
  74. package/.claude/hooks/slug-validation.py +176 -176
  75. package/.claude/hooks/sql-governance.py +182 -182
  76. package/.claude/hooks/synapse-engine.cjs +13 -13
  77. package/.claude/hooks/write-path-validation.py +194 -194
  78. package/LICENSE +33 -33
  79. package/README.en.md +23 -37
  80. package/README.md +26 -38
  81. package/bin/aiox-graph.js +0 -0
  82. package/bin/aiox-minimal.js +0 -0
  83. package/bin/aiox.js +0 -0
  84. package/package.json +1 -1
  85. package/packages/aiox-install/bin/aiox-install.js +0 -0
  86. package/packages/aiox-install/bin/edmcp.js +0 -0
  87. package/packages/aiox-pro-cli/bin/aiox-pro.js +0 -0
  88. package/packages/installer/src/wizard/i18n.js +18 -15
  89. package/packages/installer/src/wizard/pro-setup.js +302 -40
  90. package/scripts/check-markdown-links.py +352 -352
  91. package/scripts/dashboard-parallel-dev.sh +0 -0
  92. package/scripts/dashboard-parallel-phase3.sh +0 -0
  93. package/scripts/dashboard-parallel-phase4.sh +0 -0
  94. package/scripts/install-monitor-hooks.sh +0 -0
  95. package/.aiox-core/data/registry-update-log.jsonl +0 -2
  96. package/.claude/hooks/code-intel-pretool.cjs +0 -107
  97. package/docs/guides/aios-workflows/README.md +0 -247
  98. package/docs/guides/aios-workflows/bob-orchestrator-workflow.md +0 -1536
  99. package/pro/README.md +0 -66
  100. package/pro/feature-registry.yaml +0 -223
  101. package/pro/license/degradation.js +0 -220
  102. package/pro/license/errors.js +0 -450
  103. package/pro/license/feature-gate.js +0 -354
  104. package/pro/license/index.js +0 -181
  105. package/pro/license/license-api.js +0 -679
  106. package/pro/license/license-cache.js +0 -523
  107. package/pro/license/license-crypto.js +0 -303
  108. package/pro/package.json +0 -39
  109. package/pro/pro-config.yaml +0 -63
  110. package/pro/squads/README.md +0 -24
  111. package/pro/squads/design/HEADLINE.md +0 -3
  112. package/pro/squads/design/README.md +0 -109
  113. package/pro/squads/design/agents/brad-frost.md +0 -1097
  114. package/pro/squads/design/agents/dan-mall.md +0 -857
  115. package/pro/squads/design/agents/dave-malouf.md +0 -2272
  116. package/pro/squads/design/agents/design-chief.md +0 -114
  117. package/pro/squads/design/agents/ds-foundations-lead.md +0 -194
  118. package/pro/squads/design/agents/ds-token-architect.md +0 -361
  119. package/pro/squads/design/agents/nano-banana-generator.md +0 -162
  120. package/pro/squads/design/agents/storybook-expert.md +0 -809
  121. package/pro/squads/design/checklists/atomic-refactor-checklist.md +0 -299
  122. package/pro/squads/design/checklists/component-adaptation-checklist.md +0 -81
  123. package/pro/squads/design/checklists/design-fidelity-checklist.md +0 -283
  124. package/pro/squads/design/checklists/design-handoff-checklist.md +0 -55
  125. package/pro/squads/design/checklists/design-team-health-checklist.md +0 -454
  126. package/pro/squads/design/checklists/designops-maturity-checklist.md +0 -518
  127. package/pro/squads/design/checklists/ds-a11y-release-gate-checklist.md +0 -45
  128. package/pro/squads/design/checklists/ds-accessibility-wcag-checklist.md +0 -147
  129. package/pro/squads/design/checklists/ds-component-quality-checklist.md +0 -150
  130. package/pro/squads/design/checklists/ds-critical-eye-review-checklist.md +0 -147
  131. package/pro/squads/design/checklists/ds-migration-readiness-checklist.md +0 -99
  132. package/pro/squads/design/checklists/ds-pattern-audit-checklist.md +0 -164
  133. package/pro/squads/design/checklists/reading-accessibility-checklist.md +0 -275
  134. package/pro/squads/design/checklists/token-mapping-checklist.md +0 -107
  135. package/pro/squads/design/config/coding-standards.md +0 -286
  136. package/pro/squads/design/config/source-tree.md +0 -59
  137. package/pro/squads/design/config/tech-stack.md +0 -48
  138. package/pro/squads/design/config.yaml +0 -204
  139. package/pro/squads/design/data/agentic-design-systems-guide.md +0 -46
  140. package/pro/squads/design/data/agentic-ds-principles.md +0 -100
  141. package/pro/squads/design/data/atomic-design-principles.md +0 -108
  142. package/pro/squads/design/data/atomic-refactor-rules.md +0 -582
  143. package/pro/squads/design/data/base-component-specs.md +0 -972
  144. package/pro/squads/design/data/brad-frost-analysis-extract-implicit.yaml +0 -270
  145. package/pro/squads/design/data/brad-frost-analysis-find-0.8.yaml +0 -176
  146. package/pro/squads/design/data/brad-frost-analysis-qa-report.yaml +0 -168
  147. package/pro/squads/design/data/brad-frost-dna.yaml +0 -713
  148. package/pro/squads/design/data/capability-tools.yaml +0 -124
  149. package/pro/squads/design/data/component-adaptation-changelog.md +0 -318
  150. package/pro/squads/design/data/consolidation-algorithms.md +0 -168
  151. package/pro/squads/design/data/critical-eye-scoring-rules.yaml +0 -240
  152. package/pro/squads/design/data/design-token-best-practices.md +0 -107
  153. package/pro/squads/design/data/design-tokens-spec.yaml +0 -418
  154. package/pro/squads/design/data/ds-reference-architectures.md +0 -93
  155. package/pro/squads/design/data/f2-qa-report.md +0 -168
  156. package/pro/squads/design/data/f3-derived-components-changelog.md +0 -100
  157. package/pro/squads/design/data/f3-qa-report.md +0 -208
  158. package/pro/squads/design/data/figma-base-components-raw.md +0 -102
  159. package/pro/squads/design/data/figma-tokens-raw.md +0 -1549
  160. package/pro/squads/design/data/fluent2-design-principles.md +0 -114
  161. package/pro/squads/design/data/high-retention-reading-guide.md +0 -349
  162. package/pro/squads/design/data/integration-patterns.md +0 -207
  163. package/pro/squads/design/data/internal-quality-chain.yaml +0 -48
  164. package/pro/squads/design/data/motion-tokens-guide.md +0 -202
  165. package/pro/squads/design/data/roi-calculation-guide.md +0 -142
  166. package/pro/squads/design/data/token-mapping-reference.md +0 -213
  167. package/pro/squads/design/data/w3c-dtcg-spec-reference.md +0 -149
  168. package/pro/squads/design/data/wcag-compliance-guide.md +0 -267
  169. package/pro/squads/design/docs/AUDIT_REPORT.md +0 -97
  170. package/pro/squads/design/docs/DS-CURATION-PIPELINE-PROPOSAL.md +0 -577
  171. package/pro/squads/design/docs/UPGRADE_PLAN.md +0 -618
  172. package/pro/squads/design/docs/brad-frost-research-validation.md +0 -372
  173. package/pro/squads/design/docs/dave-malouf-research-validation.md +0 -391
  174. package/pro/squads/design/docs/tool-discovery-report.md +0 -87
  175. package/pro/squads/design/docs/tool-integration-plan.md +0 -44
  176. package/pro/squads/design/protocols/ai-first-governance.md +0 -56
  177. package/pro/squads/design/protocols/governance-execution-boundary.md +0 -59
  178. package/pro/squads/design/protocols/handoff.md +0 -60
  179. package/pro/squads/design/rules/.claude-rules.md +0 -88
  180. package/pro/squads/design/scripts/design-system/curate_colors.cjs +0 -447
  181. package/pro/squads/design/scripts/design-system/curate_components.cjs +0 -217
  182. package/pro/squads/design/scripts/design-system/curate_radius.cjs +0 -190
  183. package/pro/squads/design/scripts/design-system/curate_shadows.cjs +0 -208
  184. package/pro/squads/design/scripts/design-system/curate_spacing.cjs +0 -243
  185. package/pro/squads/design/scripts/design-system/curate_typography.cjs +0 -404
  186. package/pro/squads/design/scripts/design-system/design-system-metadata.test.js +0 -49
  187. package/pro/squads/design/scripts/design-system/design_manifest_lib.cjs +0 -142
  188. package/pro/squads/design/scripts/design-system/fetch_page_images.cjs +0 -195
  189. package/pro/squads/design/scripts/design-system/generate_components_metadata.cjs +0 -114
  190. package/pro/squads/design/scripts/design-system/generate_curation_report.cjs +0 -258
  191. package/pro/squads/design/scripts/design-system/generate_tokens.cjs +0 -342
  192. package/pro/squads/design/scripts/design-system/sync_design_manifest.cjs +0 -27
  193. package/pro/squads/design/scripts/design-system/test_mcp_tools.cjs +0 -232
  194. package/pro/squads/design/scripts/design-system/validate_components_metadata.cjs +0 -96
  195. package/pro/squads/design/scripts/design-system/validate_curation.cjs +0 -226
  196. package/pro/squads/design/scripts/design-system/validate_design_manifest_drift.cjs +0 -72
  197. package/pro/squads/design/scripts/design-system/validate_mcp_skeleton.cjs +0 -38
  198. package/pro/squads/design/scripts/design-system/validate_registry.cjs +0 -186
  199. package/pro/squads/design/scripts/design-system/validate_task_checklist_bindings.cjs +0 -78
  200. package/pro/squads/design/scripts/dissect-artifact.cjs +0 -806
  201. package/pro/squads/design/scripts/validate-a11y-integration.cjs +0 -40
  202. package/pro/squads/design/scripts/validate-design-squad.py +0 -411
  203. package/pro/squads/design/squad.yaml +0 -714
  204. package/pro/squads/design/tasks/a11y-audit.md +0 -340
  205. package/pro/squads/design/tasks/aria-audit.md +0 -525
  206. package/pro/squads/design/tasks/atomic-refactor-execute.md +0 -391
  207. package/pro/squads/design/tasks/atomic-refactor-plan.md +0 -262
  208. package/pro/squads/design/tasks/audit-reading-experience.md +0 -350
  209. package/pro/squads/design/tasks/audit-tailwind-config.md +0 -101
  210. package/pro/squads/design/tasks/bootstrap-shadcn-library.md +0 -96
  211. package/pro/squads/design/tasks/bundle-audit.md +0 -245
  212. package/pro/squads/design/tasks/contrast-matrix.md +0 -373
  213. package/pro/squads/design/tasks/create-doc.md +0 -135
  214. package/pro/squads/design/tasks/dead-code-detection.md +0 -329
  215. package/pro/squads/design/tasks/design-compare.md +0 -414
  216. package/pro/squads/design/tasks/design-process-optimization.md +0 -407
  217. package/pro/squads/design/tasks/design-review-orchestration.md +0 -99
  218. package/pro/squads/design/tasks/design-team-scaling.md +0 -407
  219. package/pro/squads/design/tasks/design-tooling-audit.md +0 -404
  220. package/pro/squads/design/tasks/design-triage.md +0 -89
  221. package/pro/squads/design/tasks/designops-maturity-assessment.md +0 -364
  222. package/pro/squads/design/tasks/designops-metrics-setup.md +0 -465
  223. package/pro/squads/design/tasks/ds-agentic-audit.md +0 -100
  224. package/pro/squads/design/tasks/ds-agentic-setup.md +0 -103
  225. package/pro/squads/design/tasks/ds-audit-codebase.md +0 -273
  226. package/pro/squads/design/tasks/ds-build-component.md +0 -349
  227. package/pro/squads/design/tasks/ds-build-mcp-server.md +0 -84
  228. package/pro/squads/design/tasks/ds-calculate-roi.md +0 -282
  229. package/pro/squads/design/tasks/ds-compose-molecule.md +0 -106
  230. package/pro/squads/design/tasks/ds-consolidate-patterns.md +0 -253
  231. package/pro/squads/design/tasks/ds-context-contract.md +0 -194
  232. package/pro/squads/design/tasks/ds-critical-eye-compare.md +0 -130
  233. package/pro/squads/design/tasks/ds-critical-eye-decide.md +0 -139
  234. package/pro/squads/design/tasks/ds-critical-eye-inventory.md +0 -111
  235. package/pro/squads/design/tasks/ds-critical-eye-report.md +0 -101
  236. package/pro/squads/design/tasks/ds-critical-eye-score.md +0 -109
  237. package/pro/squads/design/tasks/ds-designops.md +0 -99
  238. package/pro/squads/design/tasks/ds-extend-pattern.md +0 -91
  239. package/pro/squads/design/tasks/ds-extract-tokens.md +0 -312
  240. package/pro/squads/design/tasks/ds-figma-pipeline.md +0 -95
  241. package/pro/squads/design/tasks/ds-fluent-audit.md +0 -105
  242. package/pro/squads/design/tasks/ds-fluent-build.md +0 -110
  243. package/pro/squads/design/tasks/ds-generate-ai-metadata.md +0 -81
  244. package/pro/squads/design/tasks/ds-generate-cursor-rules.md +0 -74
  245. package/pro/squads/design/tasks/ds-generate-documentation.md +0 -101
  246. package/pro/squads/design/tasks/ds-generate-migration-strategy.md +0 -331
  247. package/pro/squads/design/tasks/ds-generate-shock-report.md +0 -323
  248. package/pro/squads/design/tasks/ds-govern-a11y-compliance.md +0 -93
  249. package/pro/squads/design/tasks/ds-governance.md +0 -187
  250. package/pro/squads/design/tasks/ds-health-metrics.md +0 -278
  251. package/pro/squads/design/tasks/ds-integrate-squad.md +0 -130
  252. package/pro/squads/design/tasks/ds-integrate-workspace.md +0 -100
  253. package/pro/squads/design/tasks/ds-legacy-modernization.md +0 -302
  254. package/pro/squads/design/tasks/ds-mcp-status.md +0 -65
  255. package/pro/squads/design/tasks/ds-motion-audit.md +0 -118
  256. package/pro/squads/design/tasks/ds-multi-framework.md +0 -96
  257. package/pro/squads/design/tasks/ds-parallelization-gate.md +0 -246
  258. package/pro/squads/design/tasks/ds-query.md +0 -90
  259. package/pro/squads/design/tasks/ds-rebuild-artifact.md +0 -369
  260. package/pro/squads/design/tasks/ds-reverse-engineer.md +0 -194
  261. package/pro/squads/design/tasks/ds-scan-artifact.md +0 -131
  262. package/pro/squads/design/tasks/ds-setup-design-system.md +0 -297
  263. package/pro/squads/design/tasks/ds-sync-registry.md +0 -287
  264. package/pro/squads/design/tasks/ds-theme-multi-brand.md +0 -90
  265. package/pro/squads/design/tasks/ds-token-modes.md +0 -108
  266. package/pro/squads/design/tasks/ds-token-w3c-extract.md +0 -105
  267. package/pro/squads/design/tasks/ds-validate-ai-readiness.md +0 -69
  268. package/pro/squads/design/tasks/ds-visual-regression.md +0 -130
  269. package/pro/squads/design/tasks/execute-checklist.md +0 -141
  270. package/pro/squads/design/tasks/export-design-tokens-dtcg.md +0 -97
  271. package/pro/squads/design/tasks/f1-apply-foundations.md +0 -154
  272. package/pro/squads/design/tasks/f1-ingest-figma-tokens.md +0 -130
  273. package/pro/squads/design/tasks/f1-map-tokens-to-shadcn.md +0 -145
  274. package/pro/squads/design/tasks/f1-qa-foundations.md +0 -95
  275. package/pro/squads/design/tasks/f2-adapt-shadcn-components.md +0 -155
  276. package/pro/squads/design/tasks/f2-ingest-base-components.md +0 -148
  277. package/pro/squads/design/tasks/f2-qa-base-components.md +0 -98
  278. package/pro/squads/design/tasks/f3-derive-components.md +0 -145
  279. package/pro/squads/design/tasks/f3-qa-derived-components.md +0 -101
  280. package/pro/squads/design/tasks/focus-order-audit.md +0 -450
  281. package/pro/squads/design/tasks/sb-brownfield-migrate.md +0 -367
  282. package/pro/squads/design/tasks/sb-brownfield-scan.md +0 -318
  283. package/pro/squads/design/tasks/sb-configure.md +0 -230
  284. package/pro/squads/design/tasks/sb-expand-shadcn.md +0 -213
  285. package/pro/squads/design/tasks/sb-generate-all-stories.md +0 -288
  286. package/pro/squads/design/tasks/sb-install.md +0 -152
  287. package/pro/squads/design/tasks/sb-sync-workspace.md +0 -239
  288. package/pro/squads/design/tasks/sb-verify.md +0 -203
  289. package/pro/squads/design/tasks/tailwind-upgrade.md +0 -117
  290. package/pro/squads/design/tasks/token-usage-analytics.md +0 -262
  291. package/pro/squads/design/tasks/ux-rewrite-sixth-grade.md +0 -82
  292. package/pro/squads/design/tasks/validate-design-fidelity.md +0 -222
  293. package/pro/squads/design/templates/agent-template.yaml +0 -46
  294. package/pro/squads/design/templates/clone-mind-template.md +0 -352
  295. package/pro/squads/design/templates/component-prompt-injection-tmpl.md +0 -236
  296. package/pro/squads/design/templates/component-visual-spec-tmpl.md +0 -378
  297. package/pro/squads/design/templates/critical-eye-cycle-report-tmpl.md +0 -165
  298. package/pro/squads/design/templates/design-fidelity-report-tmpl.md +0 -155
  299. package/pro/squads/design/templates/ds-ai-component-metadata-schema-tmpl.json +0 -138
  300. package/pro/squads/design/templates/ds-artifact-analysis.md +0 -70
  301. package/pro/squads/design/templates/ds-health-report-tmpl.md +0 -236
  302. package/pro/squads/design/templates/ds-migration-strategy-tmpl.md +0 -524
  303. package/pro/squads/design/templates/ds-state-persistence-tmpl.yaml +0 -194
  304. package/pro/squads/design/templates/ds-tokens-schema-tmpl.yaml +0 -139
  305. package/pro/squads/design/templates/migration-strategy-tmpl.md +0 -524
  306. package/pro/squads/design/templates/reading-design-tokens.css +0 -26
  307. package/pro/squads/design/templates/state-persistence-tmpl.yaml +0 -219
  308. package/pro/squads/design/templates/tokens-schema-tmpl.yaml +0 -305
  309. package/pro/squads/design/workflows/agentic-readiness.yaml +0 -83
  310. package/pro/squads/design/workflows/audit-only.yaml +0 -198
  311. package/pro/squads/design/workflows/brownfield-complete.yaml +0 -257
  312. package/pro/squads/design/workflows/critical-eye.yaml +0 -184
  313. package/pro/squads/design/workflows/dtcg-tokens-governance.yaml +0 -64
  314. package/pro/squads/design/workflows/foundations-pipeline.yaml +0 -192
  315. package/pro/squads/design/workflows/greenfield-new.yaml +0 -192
  316. package/pro/squads/design/workflows/motion-quality.yaml +0 -65
  317. package/pro/squads/design/workflows/self-healing-workflow.yaml +0 -237
  318. package/pro/squads/design/workflows/storybook-brownfield-migration.yaml +0 -400
  319. package/pro/squads/design/workflows/storybook-full-setup.yaml +0 -280
  320. package/pro/squads/index.js +0 -145
  321. package/pro/squads/squad-creator-pro/.state.json +0 -32
  322. package/pro/squads/squad-creator-pro/CHANGELOG.md +0 -275
  323. package/pro/squads/squad-creator-pro/HEADLINE.md +0 -3
  324. package/pro/squads/squad-creator-pro/README.md +0 -1059
  325. package/pro/squads/squad-creator-pro/agents/oalanicolas.md +0 -438
  326. package/pro/squads/squad-creator-pro/agents/pedro-valerio.md +0 -449
  327. package/pro/squads/squad-creator-pro/agents/squad-chief.md +0 -1651
  328. package/pro/squads/squad-creator-pro/agents/thiago_finch.md +0 -976
  329. package/pro/squads/squad-creator-pro/assessments/axioma-assessment-wf-create-squad.yaml +0 -325
  330. package/pro/squads/squad-creator-pro/checklists/.gitkeep +0 -1
  331. package/pro/squads/squad-creator-pro/checklists/agent-depth-checklist.md +0 -244
  332. package/pro/squads/squad-creator-pro/checklists/agent-quality-gate.md +0 -434
  333. package/pro/squads/squad-creator-pro/checklists/create-agent-checklist.md +0 -184
  334. package/pro/squads/squad-creator-pro/checklists/create-squad-checklist.md +0 -219
  335. package/pro/squads/squad-creator-pro/checklists/create-workflow-checklist.md +0 -224
  336. package/pro/squads/squad-creator-pro/checklists/deep-research-quality.md +0 -506
  337. package/pro/squads/squad-creator-pro/checklists/executor-matrix-checklist.md +0 -260
  338. package/pro/squads/squad-creator-pro/checklists/mental-model-integration-checklist.md +0 -95
  339. package/pro/squads/squad-creator-pro/checklists/mind-validation.md +0 -374
  340. package/pro/squads/squad-creator-pro/checklists/quality-gate-checklist.md +0 -385
  341. package/pro/squads/squad-creator-pro/checklists/smoke-test-agent.md +0 -313
  342. package/pro/squads/squad-creator-pro/checklists/sop-validation.md +0 -250
  343. package/pro/squads/squad-creator-pro/checklists/squad-checklist.md +0 -1014
  344. package/pro/squads/squad-creator-pro/checklists/squad-overview-checklist.md +0 -393
  345. package/pro/squads/squad-creator-pro/checklists/task-anatomy-checklist.md +0 -626
  346. package/pro/squads/squad-creator-pro/config/.gitkeep +0 -1
  347. package/pro/squads/squad-creator-pro/config/axioma-validator.yaml +0 -371
  348. package/pro/squads/squad-creator-pro/config/heuristics.yaml +0 -753
  349. package/pro/squads/squad-creator-pro/config/model-routing.yaml +0 -693
  350. package/pro/squads/squad-creator-pro/config/quality-gates.yaml +0 -415
  351. package/pro/squads/squad-creator-pro/config/scoring-rubric.yaml +0 -199
  352. package/pro/squads/squad-creator-pro/config/squad-config.yaml +0 -165
  353. package/pro/squads/squad-creator-pro/config/task-anatomy.yaml +0 -263
  354. package/pro/squads/squad-creator-pro/config/veto-conditions.yaml +0 -455
  355. package/pro/squads/squad-creator-pro/config.yaml +0 -35
  356. package/pro/squads/squad-creator-pro/data/.gitkeep +0 -1
  357. package/pro/squads/squad-creator-pro/data/an-anchor-words.yaml +0 -78
  358. package/pro/squads/squad-creator-pro/data/an-clone-anti-patterns.yaml +0 -148
  359. package/pro/squads/squad-creator-pro/data/an-clone-validation.yaml +0 -190
  360. package/pro/squads/squad-creator-pro/data/an-diagnostic-framework.yaml +0 -164
  361. package/pro/squads/squad-creator-pro/data/an-output-examples.yaml +0 -102
  362. package/pro/squads/squad-creator-pro/data/an-source-signals.yaml +0 -98
  363. package/pro/squads/squad-creator-pro/data/an-source-tiers.yaml +0 -119
  364. package/pro/squads/squad-creator-pro/data/best-practices.md +0 -986
  365. package/pro/squads/squad-creator-pro/data/core-heuristics.md +0 -510
  366. package/pro/squads/squad-creator-pro/data/decision-heuristics-framework.md +0 -620
  367. package/pro/squads/squad-creator-pro/data/executor-decision-tree.md +0 -774
  368. package/pro/squads/squad-creator-pro/data/executor-matrix-framework.md +0 -441
  369. package/pro/squads/squad-creator-pro/data/fusion-decision-points-analysis.md +0 -397
  370. package/pro/squads/squad-creator-pro/data/fusion-executor-analysis.md +0 -677
  371. package/pro/squads/squad-creator-pro/data/hybridops-patterns.md +0 -1351
  372. package/pro/squads/squad-creator-pro/data/internal-infrastructure-library.yaml +0 -99
  373. package/pro/squads/squad-creator-pro/data/mental-model-task-matrix.yaml +0 -692
  374. package/pro/squads/squad-creator-pro/data/pipeline-patterns.md +0 -352
  375. package/pro/squads/squad-creator-pro/data/pm-best-practices.md +0 -440
  376. package/pro/squads/squad-creator-pro/data/pv-anchor-words.yaml +0 -64
  377. package/pro/squads/squad-creator-pro/data/pv-authenticity-markers.yaml +0 -200
  378. package/pro/squads/squad-creator-pro/data/pv-meta-axiomas.yaml +0 -162
  379. package/pro/squads/squad-creator-pro/data/pv-output-examples.yaml +0 -342
  380. package/pro/squads/squad-creator-pro/data/pv-workflow-validation.yaml +0 -318
  381. package/pro/squads/squad-creator-pro/data/quality-dimensions-framework.md +0 -405
  382. package/pro/squads/squad-creator-pro/data/squad-analytics-guide.md +0 -252
  383. package/pro/squads/squad-creator-pro/data/squad-kb.md +0 -987
  384. package/pro/squads/squad-creator-pro/data/squad-registry.yaml +0 -841
  385. package/pro/squads/squad-creator-pro/data/squad-type-definitions.yaml +0 -578
  386. package/pro/squads/squad-creator-pro/data/tier-system-framework.md +0 -475
  387. package/pro/squads/squad-creator-pro/data/tool-evaluation-framework.md +0 -847
  388. package/pro/squads/squad-creator-pro/data/tool-registry.yaml +0 -700
  389. package/pro/squads/squad-creator-pro/docs/ADR-001-model-tier-qualification.md +0 -344
  390. package/pro/squads/squad-creator-pro/docs/AGENT-COLLABORATION.md +0 -609
  391. package/pro/squads/squad-creator-pro/docs/ARCHITECTURE-DIAGRAMS.md +0 -1466
  392. package/pro/squads/squad-creator-pro/docs/COMMANDS.md +0 -544
  393. package/pro/squads/squad-creator-pro/docs/CONCEPTS.md +0 -584
  394. package/pro/squads/squad-creator-pro/docs/FAQ.md +0 -731
  395. package/pro/squads/squad-creator-pro/docs/HITL-FLOW.md +0 -255
  396. package/pro/squads/squad-creator-pro/docs/MIGRATION-PLAN-AGENT-CONFORMITY.md +0 -861
  397. package/pro/squads/squad-creator-pro/docs/MIGRATION-ROADMAP-HYBRIDOPS.md +0 -1161
  398. package/pro/squads/squad-creator-pro/docs/MODEL-TIER-QUALIFICATION.md +0 -337
  399. package/pro/squads/squad-creator-pro/docs/PATTERN-LIBRARY.md +0 -333
  400. package/pro/squads/squad-creator-pro/docs/PEDRO-VALERIO-ARCHITECTURE.md +0 -456
  401. package/pro/squads/squad-creator-pro/docs/POR-ONDE-COMECAR.md +0 -210
  402. package/pro/squads/squad-creator-pro/docs/QUICK-START.md +0 -205
  403. package/pro/squads/squad-creator-pro/docs/RFC-001-deterministic-refactoring.md +0 -463
  404. package/pro/squads/squad-creator-pro/docs/TOOL-RECOMMENDATIONS.md +0 -379
  405. package/pro/squads/squad-creator-pro/docs/TROUBLESHOOTING.md +0 -412
  406. package/pro/squads/squad-creator-pro/docs/TUTORIAL-COMPLETO.md +0 -458
  407. package/pro/squads/squad-creator-pro/docs/optimize-v4-proposal.md +0 -354
  408. package/pro/squads/squad-creator-pro/docs/session-report-2026-02-01.md +0 -411
  409. package/pro/squads/squad-creator-pro/docs/sop-extraction-process.md +0 -674
  410. package/pro/squads/squad-creator-pro/docs/squad-chief-agent-flow.md +0 -981
  411. package/pro/squads/squad-creator-pro/docs/squad-creation-pipeline-workflow.md +0 -937
  412. package/pro/squads/squad-creator-pro/docs/task-optimization-framework.md +0 -229
  413. package/pro/squads/squad-creator-pro/docs/validation-report-2026-02-01.md +0 -439
  414. package/pro/squads/squad-creator-pro/minds/oalanicolas/artifacts/HANDOFF_PROTOCOL.md +0 -269
  415. package/pro/squads/squad-creator-pro/minds/oalanicolas/artifacts/SOURCE_CLASSIFICATION.md +0 -258
  416. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_001.md +0 -166
  417. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_002.md +0 -206
  418. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_003.md +0 -239
  419. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_004.md +0 -153
  420. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_005.md +0 -161
  421. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_006.md +0 -166
  422. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_007.md +0 -190
  423. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_008.md +0 -191
  424. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_009.md +0 -234
  425. package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_010.md +0 -240
  426. package/pro/squads/squad-creator-pro/minds/pedro_valerio/artifacts/Assinatura_Linguistica.md +0 -355
  427. package/pro/squads/squad-creator-pro/minds/pedro_valerio/artifacts/META_AXIOMAS.md +0 -277
  428. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_BS_001.md +0 -144
  429. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_001.md +0 -174
  430. package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PM_001.md +0 -191
  431. package/pro/squads/squad-creator-pro/package.json +0 -26
  432. package/pro/squads/squad-creator-pro/protocols/ai-first-governance.md +0 -63
  433. package/pro/squads/squad-creator-pro/scripts/README.md +0 -246
  434. package/pro/squads/squad-creator-pro/scripts/__pycache__/dependency_check.cpython-314.pyc +0 -0
  435. package/pro/squads/squad-creator-pro/scripts/__pycache__/inventory.cpython-314.pyc +0 -0
  436. package/pro/squads/squad-creator-pro/scripts/__pycache__/naming_validator.cpython-314.pyc +0 -0
  437. package/pro/squads/squad-creator-pro/scripts/__pycache__/quality_gate.cpython-314.pyc +0 -0
  438. package/pro/squads/squad-creator-pro/scripts/__pycache__/scoring.cpython-314.pyc +0 -0
  439. package/pro/squads/squad-creator-pro/scripts/__pycache__/yaml_validator.cpython-314.pyc +0 -0
  440. package/pro/squads/squad-creator-pro/scripts/assess-sources.sh +0 -443
  441. package/pro/squads/squad-creator-pro/scripts/checklist_validator.py +0 -451
  442. package/pro/squads/squad-creator-pro/scripts/clone-review.sh +0 -394
  443. package/pro/squads/squad-creator-pro/scripts/coherence-validator.py +0 -836
  444. package/pro/squads/squad-creator-pro/scripts/create-agent-preflight.py +0 -243
  445. package/pro/squads/squad-creator-pro/scripts/cross-provider/compare-results.js +0 -281
  446. package/pro/squads/squad-creator-pro/scripts/cross-provider/cross-provider-runner.js +0 -462
  447. package/pro/squads/squad-creator-pro/scripts/dependency_check.py +0 -333
  448. package/pro/squads/squad-creator-pro/scripts/fidelity-score.sh +0 -519
  449. package/pro/squads/squad-creator-pro/scripts/generate-squad-greeting.js +0 -426
  450. package/pro/squads/squad-creator-pro/scripts/generate-squad-guide.js +0 -558
  451. package/pro/squads/squad-creator-pro/scripts/inventory.py +0 -269
  452. package/pro/squads/squad-creator-pro/scripts/lib/config-loader.js +0 -151
  453. package/pro/squads/squad-creator-pro/scripts/model-tier-validator.cjs +0 -369
  454. package/pro/squads/squad-creator-pro/scripts/model-usage-logger.cjs +0 -245
  455. package/pro/squads/squad-creator-pro/scripts/modernization-score.sh +0 -308
  456. package/pro/squads/squad-creator-pro/scripts/naming_validator.py +0 -299
  457. package/pro/squads/squad-creator-pro/scripts/on-specialist-complete.py +0 -98
  458. package/pro/squads/squad-creator-pro/scripts/quality_gate.py +0 -413
  459. package/pro/squads/squad-creator-pro/scripts/refresh-registry.py +0 -270
  460. package/pro/squads/squad-creator-pro/scripts/save-session-metrics.py +0 -136
  461. package/pro/squads/squad-creator-pro/scripts/scaffold-squad.cjs +0 -281
  462. package/pro/squads/squad-creator-pro/scripts/scoring.py +0 -395
  463. package/pro/squads/squad-creator-pro/scripts/security_scanner.py +0 -378
  464. package/pro/squads/squad-creator-pro/scripts/squad-analytics.py +0 -585
  465. package/pro/squads/squad-creator-pro/scripts/squad-context-loader.cjs +0 -205
  466. package/pro/squads/squad-creator-pro/scripts/squad-state-manager.cjs +0 -451
  467. package/pro/squads/squad-creator-pro/scripts/squad-workflow-runner.cjs +0 -471
  468. package/pro/squads/squad-creator-pro/scripts/squad_utils.py +0 -261
  469. package/pro/squads/squad-creator-pro/scripts/sync-ide-command.py +0 -590
  470. package/pro/squads/squad-creator-pro/scripts/tests/__init__.py +0 -1
  471. package/pro/squads/squad-creator-pro/scripts/tests/conftest.py +0 -309
  472. package/pro/squads/squad-creator-pro/scripts/tests/run_bash_tests.sh +0 -29
  473. package/pro/squads/squad-creator-pro/scripts/tests/test_assess_sources.sh +0 -216
  474. package/pro/squads/squad-creator-pro/scripts/tests/test_checklist_validator.py +0 -396
  475. package/pro/squads/squad-creator-pro/scripts/tests/test_clone_review.sh +0 -239
  476. package/pro/squads/squad-creator-pro/scripts/tests/test_coherence_validator.py +0 -212
  477. package/pro/squads/squad-creator-pro/scripts/tests/test_dependency_check.py +0 -361
  478. package/pro/squads/squad-creator-pro/scripts/tests/test_fidelity_score.sh +0 -298
  479. package/pro/squads/squad-creator-pro/scripts/tests/test_inventory.py +0 -307
  480. package/pro/squads/squad-creator-pro/scripts/tests/test_modernization_score.sh +0 -211
  481. package/pro/squads/squad-creator-pro/scripts/tests/test_naming_validator.py +0 -373
  482. package/pro/squads/squad-creator-pro/scripts/tests/test_quality_gate.py +0 -280
  483. package/pro/squads/squad-creator-pro/scripts/tests/test_refresh_registry.py +0 -338
  484. package/pro/squads/squad-creator-pro/scripts/tests/test_scoring.py +0 -366
  485. package/pro/squads/squad-creator-pro/scripts/tests/test_security_scanner.py +0 -354
  486. package/pro/squads/squad-creator-pro/scripts/tests/test_squad_analytics.py +0 -450
  487. package/pro/squads/squad-creator-pro/scripts/tests/test_validate_clone.sh +0 -252
  488. package/pro/squads/squad-creator-pro/scripts/tests/test_yaml_validator.py +0 -412
  489. package/pro/squads/squad-creator-pro/scripts/validate-agent-output.py +0 -115
  490. package/pro/squads/squad-creator-pro/scripts/validate-all.sh +0 -49
  491. package/pro/squads/squad-creator-pro/scripts/validate-squad-structure.py +0 -535
  492. package/pro/squads/squad-creator-pro/scripts/validate-squad.sh +0 -944
  493. package/pro/squads/squad-creator-pro/scripts/yaml_validator.py +0 -528
  494. package/pro/squads/squad-creator-pro/skills/squad.md +0 -301
  495. package/pro/squads/squad-creator-pro/squad.yaml +0 -36
  496. package/pro/squads/squad-creator-pro/tasks/CHANGELOG.md +0 -80
  497. package/pro/squads/squad-creator-pro/tasks/an-assess-sources.md +0 -78
  498. package/pro/squads/squad-creator-pro/tasks/an-clone-review.md +0 -104
  499. package/pro/squads/squad-creator-pro/tasks/an-compare-outputs.md +0 -354
  500. package/pro/squads/squad-creator-pro/tasks/an-design-clone.md +0 -79
  501. package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone.md +0 -87
  502. package/pro/squads/squad-creator-pro/tasks/an-extract-dna.md +0 -90
  503. package/pro/squads/squad-creator-pro/tasks/an-extract-framework.md +0 -100
  504. package/pro/squads/squad-creator-pro/tasks/an-fidelity-score.md +0 -108
  505. package/pro/squads/squad-creator-pro/tasks/an-validate-clone.md +0 -96
  506. package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources.md +0 -349
  507. package/pro/squads/squad-creator-pro/tasks/collect-sources.md +0 -533
  508. package/pro/squads/squad-creator-pro/tasks/create-agent.md +0 -768
  509. package/pro/squads/squad-creator-pro/tasks/create-documentation.md +0 -258
  510. package/pro/squads/squad-creator-pro/tasks/create-pipeline.md +0 -296
  511. package/pro/squads/squad-creator-pro/tasks/create-squad.md +0 -933
  512. package/pro/squads/squad-creator-pro/tasks/create-task.md +0 -1148
  513. package/pro/squads/squad-creator-pro/tasks/create-template.md +0 -474
  514. package/pro/squads/squad-creator-pro/tasks/create-workflow.md +0 -720
  515. package/pro/squads/squad-creator-pro/tasks/deconstruct.md +0 -167
  516. package/pro/squads/squad-creator-pro/tasks/deep-research-pre-agent.md +0 -566
  517. package/pro/squads/squad-creator-pro/tasks/detect-squad-context.md +0 -81
  518. package/pro/squads/squad-creator-pro/tasks/discover-tools.md +0 -944
  519. package/pro/squads/squad-creator-pro/tasks/extract-implicit.md +0 -352
  520. package/pro/squads/squad-creator-pro/tasks/extract-knowledge.md +0 -577
  521. package/pro/squads/squad-creator-pro/tasks/extract-sop.md +0 -320
  522. package/pro/squads/squad-creator-pro/tasks/extract-thinking-dna.md +0 -653
  523. package/pro/squads/squad-creator-pro/tasks/extract-voice-dna.md +0 -619
  524. package/pro/squads/squad-creator-pro/tasks/find-0.8.md +0 -222
  525. package/pro/squads/squad-creator-pro/tasks/install-commands.md +0 -373
  526. package/pro/squads/squad-creator-pro/tasks/lookup-model.md +0 -78
  527. package/pro/squads/squad-creator-pro/tasks/migrate-workflows-to-yaml.md +0 -259
  528. package/pro/squads/squad-creator-pro/tasks/next-squad.md +0 -487
  529. package/pro/squads/squad-creator-pro/tasks/optimize-workflow.md +0 -851
  530. package/pro/squads/squad-creator-pro/tasks/optimize.md +0 -1082
  531. package/pro/squads/squad-creator-pro/tasks/parallel-discovery.md +0 -58
  532. package/pro/squads/squad-creator-pro/tasks/pv-audit.md +0 -244
  533. package/pro/squads/squad-creator-pro/tasks/pv-axioma-assessment-wf-clone-mind.yaml +0 -256
  534. package/pro/squads/squad-creator-pro/tasks/pv-axioma-assessment.md +0 -83
  535. package/pro/squads/squad-creator-pro/tasks/pv-modernization-score.md +0 -83
  536. package/pro/squads/squad-creator-pro/tasks/qa-after-creation.md +0 -475
  537. package/pro/squads/squad-creator-pro/tasks/qualify-task.md +0 -265
  538. package/pro/squads/squad-creator-pro/tasks/reexecute-squad-phase.md +0 -64
  539. package/pro/squads/squad-creator-pro/tasks/refresh-registry.md +0 -403
  540. package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing.md +0 -167
  541. package/pro/squads/squad-creator-pro/tasks/squad-analytics.md +0 -265
  542. package/pro/squads/squad-creator-pro/tasks/squad-fusion.md +0 -817
  543. package/pro/squads/squad-creator-pro/tasks/squad-overview.md +0 -683
  544. package/pro/squads/squad-creator-pro/tasks/sync-ide-command.md +0 -392
  545. package/pro/squads/squad-creator-pro/tasks/update-mind.md +0 -428
  546. package/pro/squads/squad-creator-pro/tasks/upgrade-squad.md +0 -919
  547. package/pro/squads/squad-creator-pro/tasks/validate-extraction.md +0 -209
  548. package/pro/squads/squad-creator-pro/tasks/validate-final-artifacts.md +0 -80
  549. package/pro/squads/squad-creator-pro/tasks/validate-squad.md +0 -1385
  550. package/pro/squads/squad-creator-pro/templates/.gitkeep +0 -1
  551. package/pro/squads/squad-creator-pro/templates/agent-flow-doc-tmpl.md +0 -512
  552. package/pro/squads/squad-creator-pro/templates/agent-tmpl.md +0 -697
  553. package/pro/squads/squad-creator-pro/templates/config-tmpl.yaml +0 -352
  554. package/pro/squads/squad-creator-pro/templates/handoff-insumos-tmpl.yaml +0 -112
  555. package/pro/squads/squad-creator-pro/templates/orchestrator-tmpl.md +0 -74
  556. package/pro/squads/squad-creator-pro/templates/pipeline-progress-tmpl.py +0 -373
  557. package/pro/squads/squad-creator-pro/templates/pipeline-runner-tmpl.py +0 -444
  558. package/pro/squads/squad-creator-pro/templates/pipeline-state-tmpl.py +0 -413
  559. package/pro/squads/squad-creator-pro/templates/pop-extractor-prompt.md +0 -549
  560. package/pro/squads/squad-creator-pro/templates/quality-dashboard-tmpl.md +0 -286
  561. package/pro/squads/squad-creator-pro/templates/quality-gate-tmpl.yaml +0 -589
  562. package/pro/squads/squad-creator-pro/templates/readme-tmpl.md +0 -231
  563. package/pro/squads/squad-creator-pro/templates/research-output-tmpl.md +0 -625
  564. package/pro/squads/squad-creator-pro/templates/research-prompt-tmpl.md +0 -479
  565. package/pro/squads/squad-creator-pro/templates/squad-prd-tmpl.md +0 -464
  566. package/pro/squads/squad-creator-pro/templates/squad-readme-tmpl.md +0 -170
  567. package/pro/squads/squad-creator-pro/templates/story-create-agent-tmpl.md +0 -284
  568. package/pro/squads/squad-creator-pro/templates/task-tmpl.md +0 -461
  569. package/pro/squads/squad-creator-pro/templates/template-tmpl.yaml +0 -227
  570. package/pro/squads/squad-creator-pro/templates/workflow-doc-tmpl.md +0 -860
  571. package/pro/squads/squad-creator-pro/templates/workflow-tmpl.yaml +0 -394
  572. package/pro/squads/squad-creator-pro/test-cases/BATCH-PROGRESS.md +0 -268
  573. package/pro/squads/squad-creator-pro/test-cases/QUALIFICATION-DASHBOARD.yaml +0 -13
  574. package/pro/squads/squad-creator-pro/test-cases/_template.yaml +0 -147
  575. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/ASSESSMENT-SUMMARY.md +0 -275
  576. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/ASSESSMENT_SUMMARY.md +0 -140
  577. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/CHECKPOINT_MATRIX.md +0 -202
  578. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/EXECUTION-REPORT.md +0 -413
  579. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/EXECUTION_NOTES.md +0 -358
  580. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/README-v2.2.2.md +0 -299
  581. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/README.md +0 -320
  582. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/TEST-REPORT-v2.1.md +0 -351
  583. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/VERIFICATION-CHECKLIST.txt +0 -247
  584. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/formal-qualification-report.yaml +0 -389
  585. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-output.yaml +0 -366
  586. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.1-output.yaml +0 -452
  587. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.2.1-output.yaml +0 -281
  588. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.2.2-output.yaml +0 -332
  589. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/opus-baseline.yaml +0 -517
  590. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/qualification-report.yaml +0 -213
  591. package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/test-case.yaml +0 -69
  592. package/pro/squads/squad-creator-pro/test-cases/an-clone-review/haiku-round-1.yaml +0 -213
  593. package/pro/squads/squad-creator-pro/test-cases/an-clone-review/opus-baseline.yaml +0 -566
  594. package/pro/squads/squad-creator-pro/test-cases/an-clone-review/qualification-report.yaml +0 -82
  595. package/pro/squads/squad-creator-pro/test-cases/an-design-clone/test-case.yaml +0 -102
  596. package/pro/squads/squad-creator-pro/test-cases/an-extract-dna/test-case.yaml +0 -105
  597. package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/haiku-round-1.yaml +0 -262
  598. package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/opus-baseline.yaml +0 -266
  599. package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/qualification-report.yaml +0 -94
  600. package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/haiku-round-1.yaml +0 -282
  601. package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/opus-baseline.yaml +0 -470
  602. package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/qualification-report.yaml +0 -106
  603. package/pro/squads/squad-creator-pro/test-cases/collect-sources/test-case.yaml +0 -105
  604. package/pro/squads/squad-creator-pro/test-cases/create-task/test-case.yaml +0 -104
  605. package/pro/squads/squad-creator-pro/test-cases/cross-provider/DASHBOARD.yaml +0 -11
  606. package/pro/squads/squad-creator-pro/test-cases/pv-audit/test-case.yaml +0 -106
  607. package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/haiku-output.yaml +0 -209
  608. package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/opus-baseline.yaml +0 -96
  609. package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/sonnet-output.yaml +0 -30
  610. package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/test-case.yaml +0 -129
  611. package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/comparison-round-1.yaml +0 -242
  612. package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/haiku-round-1.yaml +0 -393
  613. package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/opus-baseline.yaml +0 -488
  614. package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/qualification-report.yaml +0 -74
  615. package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/haiku-round-1.yaml +0 -292
  616. package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/opus-baseline.yaml +0 -603
  617. package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/qualification-report.yaml +0 -97
  618. package/pro/squads/squad-creator-pro/test-cases/smoke-test-model-routing/test-case.yaml +0 -100
  619. package/pro/squads/squad-creator-pro/test-cases/upgrade-squad/test-case.yaml +0 -106
  620. package/pro/squads/squad-creator-pro/test-cases/validate-squad/comparison-round-1.yaml +0 -223
  621. package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-1-MINE.yaml +0 -36
  622. package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-1.yaml +0 -193
  623. package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-2.yaml +0 -303
  624. package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-3-v4-task.yaml +0 -149
  625. package/pro/squads/squad-creator-pro/test-cases/validate-squad/opus-baseline.yaml +0 -529
  626. package/pro/squads/squad-creator-pro/test-cases/validate-squad/opus-round-3-v4-task.yaml +0 -132
  627. package/pro/squads/squad-creator-pro/test-cases/validate-squad/qualification-report.yaml +0 -104
  628. package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/haiku-output-v2-calibrated.yaml +0 -200
  629. package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/haiku-output.yaml +0 -183
  630. package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/opus-baseline.yaml +0 -112
  631. package/pro/squads/squad-creator-pro/utils/.gitkeep +0 -1
  632. package/pro/squads/squad-creator-pro/workflows/.gitkeep +0 -1
  633. package/pro/squads/squad-creator-pro/workflows/create-squad.yaml +0 -348
  634. package/pro/squads/squad-creator-pro/workflows/modules/module-discovery.yaml +0 -16
  635. package/pro/squads/squad-creator-pro/workflows/modules/module-integration.yaml +0 -16
  636. package/pro/squads/squad-creator-pro/workflows/modules/module-quality-gates.yaml +0 -15
  637. package/pro/squads/squad-creator-pro/workflows/validate-squad.yaml +0 -582
  638. package/pro/squads/squad-creator-pro/workflows/wf-auto-acquire-sources.yaml +0 -518
  639. package/pro/squads/squad-creator-pro/workflows/wf-brownfield-upgrade-squad.yaml +0 -46
  640. package/pro/squads/squad-creator-pro/workflows/wf-clone-mind.yaml +0 -521
  641. package/pro/squads/squad-creator-pro/workflows/wf-context-aware-create-squad.yaml +0 -47
  642. package/pro/squads/squad-creator-pro/workflows/wf-create-squad.yaml +0 -1619
  643. package/pro/squads/squad-creator-pro/workflows/wf-cross-provider-qualification.yaml +0 -711
  644. package/pro/squads/squad-creator-pro/workflows/wf-discover-tools.yaml +0 -1439
  645. package/pro/squads/squad-creator-pro/workflows/wf-extraction-pipeline.yaml +0 -486
  646. package/pro/squads/squad-creator-pro/workflows/wf-mind-research-loop.yaml +0 -668
  647. package/pro/squads/squad-creator-pro/workflows/wf-model-tier-qualification.yaml +0 -800
  648. package/pro/squads/squad-creator-pro/workflows/wf-optimize-squad.yaml +0 -684
  649. package/pro/squads/squad-creator-pro/workflows/wf-research-then-create-agent.yaml +0 -921
  650. package/pro/squads/squad-creator-pro/workflows/wf-squad-fusion.yaml +0 -1684
  651. package/scripts/glue/README.md +0 -355
  652. package/scripts/glue/compose-agent-prompt.cjs +0 -362
@@ -1,1439 +0,0 @@
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"