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,1351 +0,0 @@
1
- # PATTERNS REUTILIZÁVEIS DO HYBRIDOPS PARA SQUAD-CREATOR
2
-
3
- **Data da Extração:** 2026-02-10
4
- **Fonte:** `/Users/oalanicolas/Code/mmos/squads/hybrid-ops-squad`
5
- **Status:** Pronto para Implementação
6
- **Última Atualização:** 2026-02-10 (v1.2 - Self-contained: COPIAR artifacts)
7
-
8
- ---
9
-
10
- ## ESTRUTURA DO PEDRO VALÉRIO NO SQUAD-CREATOR
11
-
12
- ### Os 4 Modos (Validado com Pedro Original - 2026-02-10)
13
-
14
- ```
15
- SQUAD-CREATOR
16
- ├── squad-chief (orquestra squad + revisa)
17
- ├── oalanicolas (extrai DNA, SOPs, frameworks)
18
- └── pedro-valerio (AI Head de OPS)
19
- ├── modo: engenheiro-processos
20
- ├── modo: arquiteto-sistemas
21
- ├── modo: arquiteto-automacao
22
- └── modo: construtor-templates
23
- ```
24
-
25
- ### Mapeamento Modo → Pattern → Comandos
26
-
27
- | Modo | Responsabilidade | Patterns Usados | Comandos | Veto Conditions |
28
- |------|------------------|-----------------|----------|-----------------|
29
- | **Engenheiro de Processos** | Mapear do fim pro começo, encontrar gaps | HO-HE-001 (Future Back-Casting), HO-VC-001 | `*map-process`, `*find-gaps`, `*identify-owners` | Vision clarity < 0.7 |
30
- | **Arquiteto de Sistemas** | Estrutura, statuses, campos, permissões | HO-TP-001 (Task Anatomy), HO-EP-001/002/003/004 | `*design-structure`, `*create-statuses`, `*define-fields` | Missing required fields |
31
- | **Arquiteto de Automação** | Bloqueios, triggers, conexões, N8N | HO-HE-003 (Automation Tipping), HO-VC-003, HO-QG-001 | `*create-rules`, `*connect-systems`, `*design-triggers` | Guardrails missing |
32
- | **Construtor de Templates** | Templates, checklists, docs, teste da filha | HO-QG-001, HO-CV-001, HO-AX-001 | `*create-template`, `*write-instructions`, `*test-leigo` | Truthfulness < 0.7 |
33
-
34
- ### Ferramentas por Modo (da reunião)
35
-
36
- | Modo | Ferramentas |
37
- |------|-------------|
38
- | Engenheiro de Processos | Figma, Notion, Google Docs, Loom |
39
- | Arquiteto de Sistemas | ClickUp, Notion, Google Drive, Airtable |
40
- | Arquiteto de Automação | ClickUp Automations, N8N, Webhooks, APIs |
41
- | Construtor de Templates | Notion, ClickUp, Markdown, Loom |
42
-
43
- ---
44
-
45
- ## MIND ARTIFACTS (Self-Contained)
46
-
47
- **REGRA:** Squad-creator é 100% self-contained. Todos os artifacts são COPIADOS para dentro do squad.
48
-
49
- ### Estrutura Local (após migração)
50
-
51
- ```
52
- squads/squad-creator-pro/
53
- ├── minds/
54
- │ └── pedro_valerio/
55
- │ ├── heuristics/
56
- │ │ ├── PV_BS_001.md # Future Back-Casting
57
- │ │ ├── PV_PA_001.md # Systemic Coherence Scan
58
- │ │ └── PV_PM_001.md # Automation Tipping Point
59
- │ └── artifacts/
60
- │ ├── META_AXIOMAS.md # 10 dimensões + Axiomas Level -4 a 0
61
- │ └── Assinatura_Linguistica.md # Voice DNA original
62
- ```
63
-
64
- ### Heuristics (Copiados de HybridOps)
65
-
66
- | Arquivo | Path Local | O que contém |
67
- |---------|------------|--------------|
68
- | **PV_BS_001** | `minds/pedro_valerio/heuristics/PV_BS_001.md` | Future Back-Casting (decisão estratégica) |
69
- | **PV_PA_001** | `minds/pedro_valerio/heuristics/PV_PA_001.md` | Systemic Coherence Scan (validação de executores) |
70
- | **PV_PM_001** | `minds/pedro_valerio/heuristics/PV_PM_001.md` | Automation Tipping Point (quando automatizar) |
71
-
72
- ### Artifacts (Copiados de HybridOps)
73
-
74
- | Arquivo | Path Local | O que contém |
75
- |---------|------------|--------------|
76
- | **META_AXIOMAS** | `minds/pedro_valerio/artifacts/META_AXIOMAS.md` | 10 dimensões de validação, Axiomas Level -4 a 0 |
77
- | **Assinatura_Linguistica** | `minds/pedro_valerio/artifacts/Assinatura_Linguistica.md` | Voice DNA original |
78
-
79
- ### Fonte Original (para referência)
80
-
81
- | Arquivo | Path Original (HybridOps) |
82
- |---------|---------------------------|
83
- | PV_BS_001 | `squads/hybrid-ops-squad/minds/pedro_valerio/heuristics/PV_BS_001.md` |
84
- | PV_PA_001 | `squads/hybrid-ops-squad/minds/pedro_valerio/heuristics/PV_PA_001.md` |
85
- | PV_PM_001 | `squads/hybrid-ops-squad/minds/pedro_valerio/heuristics/PV_PM_001.md` |
86
- | META_AXIOMAS | `squads/hybrid-ops-squad/minds/pedro_valerio/artifacts/META_AXIOMAS.md` |
87
- | Assinatura | `squads/hybrid-ops-squad/minds/pedro_valerio/artifacts/Assinatura_Linguistica.md` |
88
- | heuristics.yaml | `squads/hybrid-ops-squad/config/heuristics.yaml` |
89
-
90
- **NOTA:** Os arquivos são COPIADOS uma vez. Atualizações futuras devem ser feitas no squad-creator diretamente.
91
-
92
- ---
93
-
94
- ## ÍNDICE DE PATTERNS
95
-
96
- 1. [Veto Conditions Patterns](#veto-conditions-patterns)
97
- 2. [Task Anatomy Patterns (8 Campos)](#task-anatomy-patterns-8-campos)
98
- 3. [Heuristics Patterns (PV_BS_001, PV_PA_001, PV_PM_001)](#heuristics-patterns)
99
- 4. [Axioma Validator Pattern](#axioma-validator-pattern)
100
- 5. [Quality Gate Patterns (HO-PP-003)](#quality-gate-patterns)
101
- 6. [Executor Assignment Patterns (HO-EP-XXX)](#executor-assignment-patterns)
102
- 7. [Coherence Validation Patterns](#coherence-validation-patterns)
103
-
104
- ---
105
-
106
- ## VETO CONDITIONS PATTERNS
107
-
108
- ### HO-VC-001: Veto Condição - Visão Estratégica Incompleta
109
-
110
- **ID Pattern:** `HO-VC-001`
111
- **Nome:** Vision Clarity Veto
112
- **Fase:** Architecture (Phase 2)
113
- **Heurística:** PV_BS_001
114
-
115
- **Definição:**
116
- ```yaml
117
- veto_trigger:
118
- condition: "end_state_vision_clarity < 0.7"
119
- action: "VETO - Vision unclear, return to Discovery"
120
- severity: "BLOCKING"
121
- recovery: "Clarify end-state vision before proceeding"
122
- ```
123
-
124
- **Quando Usar:**
125
- - Quando visão estratégica está abaixo de 70% de clareza
126
- - Antes de commitar recursos significativos e irreversíveis
127
- - Em decisões de arquitetura que definem fundação do sistema
128
-
129
- **Exemplo de Aplicação no Squad-Creator:**
130
- - Verificar se "DNA extraction pipeline" está claro antes de design
131
- - Validar se meta de "automated agent generation" é visível
132
- - Confirmar escopo de "quality gates" antes de Phase 2
133
-
134
- **Como Adaptar:**
135
- - Substituir `end_state_vision` por: `squad_creation_vision_clarity`
136
- - Manter threshold em 0.7
137
- - Criar questões validação específicas para squad-creator
138
-
139
- **Outputs Esperados:**
140
- - APPROVE: Proceed to Architecture
141
- - REVIEW: Clarify vision with team
142
- - VETO: Return to Discovery phase
143
-
144
- ---
145
-
146
- ### HO-VC-002: Veto Condição - Incoerência de Executor
147
-
148
- **ID Pattern:** `HO-VC-002`
149
- **Nome:** Executor Coherence Veto
150
- **Fase:** Executors (Phase 3)
151
- **Heurística:** PV_PA_001
152
-
153
- **Definição:**
154
- ```yaml
155
- veto_conditions:
156
- - condition: "truthfulness_coherence < 0.7"
157
- action: "VETO - REJECT/REMOVE immediately"
158
- severity: "CRITICAL"
159
- - condition: "detected_incoherence = true"
160
- action: "VETO - Trust breach, cannot proceed"
161
- severity: "CRITICAL"
162
- ```
163
-
164
- **Quando Usar:**
165
- - Incoerência detectada entre statements e actions
166
- - Mentira identificada propositalmente
167
- - Agent assignment não-confiável
168
-
169
- **Exemplo de Aplicação:**
170
- - Validar que agent do squad-creator segue suas próprias axiomas
171
- - Verificar se extraction logic é determinístico
172
- - Confirmar que output bate com documented behavior
173
-
174
- **Como Adaptar:**
175
- - `truthfulness_coherence` → `agent_behavior_coherence`
176
- - Aplicar a agents que pertencem ao squad
177
- - Usar para validar DNA clones antes de deploy
178
-
179
- **Guardrails:**
180
- - Teste comportamento com tasks que revelam consistência
181
- - Use métricas objetivas sobre impressões subjetivas
182
- - Implemente appeal tribunal para casos borderline
183
-
184
- ---
185
-
186
- ### HO-VC-003: Veto Condição - Falta de Guardrails
187
-
188
- **ID Pattern:** `HO-VC-003`
189
- **Nome:** Automation Guardrail Veto
190
- **Fase:** Workflows (Phase 4)
191
- **Heurística:** PV_PM_001
192
-
193
- **Definição:**
194
- ```yaml
195
- veto_condition:
196
- trigger: "guardrails_missing = true"
197
- action: "VETO - Define safety guardrails first"
198
- scope: "Any automation"
199
- required_guardrails:
200
- - loop_prevention
201
- - idempotency
202
- - audit_trail
203
- - manual_escape
204
- - retry_logic
205
- ```
206
-
207
- **Quando Usar:**
208
- - Antes de automate qualquer workflow
209
- - Quando frequency > 2x por mês
210
- - Em automations com systemic impact > 0.6
211
-
212
- **Exemplo no Squad-Creator:**
213
- - Agent-geração precisa: loop prevention, idempotency, audit trail
214
- - Extraction pipeline: rollback mechanism, manual override
215
- - Validation gates: timeout handling, fallback behavior
216
-
217
- **Como Adaptar:**
218
- - Manter 5 guardrails obrigatórios
219
- - Adicionar: `max_iterations`, `failure_threshold`, `notification_on_veto`
220
- - Criar checklist pré-automation
221
-
222
- ---
223
-
224
- ## TASK ANATOMY PATTERNS (8 CAMPOS)
225
-
226
- ### HO-TP-001: Task Anatomy Standard
227
-
228
- **ID Pattern:** `HO-TP-001`
229
- **Nome:** 8-Field Task Definition Standard
230
- **Aplicável a:** Todas as tasks
231
- **Compliance Rate:** 100% (validado em prioritization-system)
232
-
233
- **Os 8 Campos Obrigatórios:**
234
-
235
- | # | Campo | Tipo | Validação | Exemplo |
236
- |---|-------|------|-----------|---------|
237
- | 1 | `task_name` | string | "Verb + Object" format | "Extract Mind DNA" |
238
- | 2 | `status` | enum | pending \| in_progress \| review \| completed \| blocked | "pending" |
239
- | 3 | `responsible_executor` | string | role or @agent reference | "@squad-creator:analyzer" |
240
- | 4 | `execution_type` | enum | Human \| Agent \| Hybrid \| Worker | "Agent" |
241
- | 5 | `estimated_time` | duration | Must include unit (h, m, d) | "2-3 hours" |
242
- | 6 | `input` | array | At least 1 item required | ["DNA template", "agent config"] |
243
- | 7 | `output` | array | At least 1 item required | ["extracted axiomas", "validation report"] |
244
- | 8 | `action_items` | array | Step-by-step execution (≥1) | ["Parse agent markdown", "Extract axiomas", "Validate..."] |
245
- | 9 | `acceptance_criteria` | array | "Done" definition (≥1) | ["All fields extracted", "Pass validation gate"] |
246
-
247
- **Estrutura Completa:**
248
-
249
- ```yaml
250
- task_definition:
251
- # REQUIRED (8 FIELDS)
252
- task_name: "Extract Mind DNA"
253
- status: "pending"
254
- responsible_executor: "@squad-creator:analyzer"
255
- execution_type: "Agent"
256
- estimated_time: "3h"
257
- input:
258
- - "Agent markdown file"
259
- - "DNA extraction template"
260
- output:
261
- - "DNA YAML file"
262
- - "Extraction report"
263
- action_items:
264
- - "Parse agent markdown"
265
- - "Extract axiomas"
266
- - "Validate coherence"
267
- - "Generate YAML"
268
- acceptance_criteria:
269
- - "All axiomas extracted"
270
- - "DNA passes coherence check"
271
- - "YAML well-formed"
272
-
273
- # OPTIONAL EXTENSIONS
274
- tools:
275
- - "ClickUp"
276
- - "Claude API"
277
- templates:
278
- - "dna-extraction-template.yaml"
279
- quality_gate: "QG-2.1A"
280
- handoff:
281
- to: "create-agent"
282
- trigger: "dna_extraction_complete"
283
- ```
284
-
285
- **Validação Checklist:**
286
- - [ ] task_name começa com verbo de ação
287
- - [ ] status é valor válido
288
- - [ ] responsible_executor é role ou @agent
289
- - [ ] execution_type é um dos 4 tipos
290
- - [ ] estimated_time tem unidade (h/m/d)
291
- - [ ] input array não vazio
292
- - [ ] output array não vazio
293
- - [ ] action_items tem ≥1 step
294
- - [ ] acceptance_criteria tem ≥1 criterion
295
- - [ ] Sem typos ou caracteres inválidos
296
-
297
- **Reusável em Squad-Creator:**
298
- - Aplicar ao 100% das tasks
299
- - Usar "Verb + Object" em Portuguese (Extrair, Validar, Gerar, etc)
300
- - Criar dependency graph baseado em handoff triggers
301
- - Validar compliance em Phase 5
302
-
303
- ---
304
-
305
- ## HEURISTICS PATTERNS
306
-
307
- ### HO-HE-001: PV_BS_001 - Future Back-Casting
308
-
309
- **ID Pattern:** `HO-HE-001`
310
- **Nome Completo:** Future Back-Casting Heuristic
311
- **Categoria:** Strategic Decision Heuristic
312
- **Fase:** 2 (Architecture)
313
- **Agent Executor:** `@hybridOps:process-architect`
314
-
315
- **Propósito:**
316
- Validar alinhamento estratégico usando metodologia future back-casting. Responde: "Esta ação direta ou cria opcionality paths para o end-state vision?"
317
-
318
- **Pesos e Thresholds:**
319
-
320
- ```yaml
321
- PV_BS_001:
322
- weights:
323
- end_state_vision: 0.9 # Primary weight
324
- market_signals: 0.1 # Secondary
325
-
326
- thresholds:
327
- high_priority: 0.8
328
- medium_priority: 0.7
329
- low_priority: 0.5
330
- veto_threshold: 0.7
331
-
332
- veto_conditions:
333
- - "end_state_vision_clarity < 0.7" # VETO
334
- - "strategic_priority_score < 0.5" # REVIEW
335
- ```
336
-
337
- **Decision Tree:**
338
-
339
- ```
340
- IF (proposed_action directly enables 'end_state_vision')
341
- THEN resource_allocation_priority = HIGH → APPROVE
342
-
343
- ELSE IF (proposed_action creates optionality_path)
344
- THEN resource_allocation_priority = MEDIUM → APPROVE with conditions
345
-
346
- ELSE IF (action does not serve end_state vision)
347
- THEN REVIEW - requires justification
348
-
349
- TERMINATION: If action contradicts end_state OR more direct path exists
350
- FALLBACK: If multiple actions conflict, prioritize the one that builds
351
- the more fundamental layer of the future system
352
- ```
353
-
354
- **Critérios de Avaliação:**
355
-
356
- | Critério | Weight | Threshold | Descrição |
357
- |----------|--------|-----------|-----------|
358
- | End-state vision clarity | 0.9 | ≥0.8 | Quão bem definido é o estado futuro? |
359
- | Strategic priority score | 0.1 | ≥0.7 | Alinha com top priorities? |
360
- | Optionality creation | 0.8 | ≥0.6 | Cria flexibilidade futura? |
361
- | Resource efficiency | 0.7 | ≥0.5 | Uso ótimo de recursos? |
362
-
363
- **Exemplo Behavioral Evidence (do HybridOps):**
364
- - **Context:** Mercado de influencer focado em ativação manual
365
- - **Decision:** Criar AI team 1.5 anos antes de ser necessário
366
- - **Rationale:** Mudança estrutural do mercado para advertising automation (TTCX)
367
- - **Outcome:** #1 em Latin America quando mercado mudou
368
-
369
- **Reusável em Squad-Creator Como:**
370
-
371
- ```yaml
372
- HO-HE-001-SC: "Squad-Creator Architecture Validation"
373
- phase: 2
374
- question: "Does this architecture directly enable full-stack squad creation?"
375
-
376
- decision_points:
377
- - "DNA extraction pipeline → YES (fundamental)"
378
- - "Agent generation → YES (core capability)"
379
- - "Quality gates → YES (systemic requirement)"
380
- - "Workflow automation → YES (efficiency layer)"
381
- - "Dashboard analytics → REVIEW (nice-to-have, not core)"
382
-
383
- end_state_vision: "Autonomous creation of purpose-built squads with 0 manual configuration"
384
- vision_clarity: 0.85 # Clear vision
385
- strategic_priority: 0.9 # Top priority for AIOS
386
- optionality_paths: 3 # Multiple integration points
387
-
388
- result: APPROVE (0.87 score)
389
- ```
390
-
391
- **Performance Metrics:**
392
- - Decision speed: "1-3 days (vision crystallization); <1 hour (tactical)"
393
- - Accuracy rate: "85% (3-5 year horizons)"
394
- - Confidence level: "95% (once vision is established)"
395
-
396
- ---
397
-
398
- ### HO-HE-002: PV_PA_001 - Systemic Coherence Scan
399
-
400
- **ID Pattern:** `HO-HE-002`
401
- **Nome Completo:** Systemic Coherence Scan
402
- **Categoria:** People/Executor Assessment Heuristic
403
- **Fase:** 3 (Executors)
404
- **Agent Executor:** `@hybridOps:executor-designer`
405
-
406
- **Propósito:**
407
- Validar coerência de executor assignments e people assessment. Truthfulness tem **VETO POWER**.
408
-
409
- **Pesos Críticos:**
410
-
411
- ```yaml
412
- PV_PA_001:
413
- weights:
414
- truthfulness_coherence: 1.0 # VETO power - absolute
415
- system_adherence_potential: 0.8
416
- technical_skill: 0.3
417
-
418
- thresholds:
419
- truthfulness: 0.7 # Must be 'Coherent'
420
- system_adherence: 0.7
421
- technical_skill: null # No minimum, context-dependent
422
-
423
- veto_conditions:
424
- - condition: "truthfulness_coherence < 0.7"
425
- action: "VETO - REJECT/REMOVE immediately"
426
- - condition: "lie_detected = true"
427
- action: "VETO - Trust violation"
428
- ```
429
-
430
- **Truthfulness States:**
431
-
432
- ```yaml
433
- truthfulness_states:
434
- coherent:
435
- range: [0.7, 1.0]
436
- description: "Statements align with actions and observable data"
437
- action: "APPROVE"
438
-
439
- incoherent:
440
- range: [0.4, 0.7]
441
- description: "Statements contradict actions or data"
442
- action: "REVIEW - Investigate"
443
-
444
- lie_detected:
445
- range: [0.0, 0.4]
446
- description: "Deliberate misrepresentation"
447
- action: "VETO - Immediate removal"
448
- ```
449
-
450
- **Executor Type Coherence Matrix:**
451
-
452
- | Executor Type | Min Truthfulness | Min System Adherence | Tech Weight |
453
- |---------------|------------------|----------------------|-------------|
454
- | Human | 0.7 (VETO) | 0.7 | 0.3 |
455
- | Hybrid | 0.7 (VETO) | 0.8 | 0.4 |
456
- | Agent | N/A | 0.9 | 0.6 |
457
- | Worker | N/A | 0.95 | 0.8 |
458
-
459
- **Failure Modes to Watch:**
460
-
461
- - **False Negative:** Rejecting talented candidate por pequena inconsistência
462
- - Recovery: Appeal tribunal com trusted circle
463
- - Prevention: Diferenciar "nervousness" de "intentional lie"
464
-
465
- - **False Positive:** Accepting incoherent executor por charming presentation
466
- - Detection: Contradictions em behavioral evidence
467
- - Recovery: Apply test period com revealing tasks
468
-
469
- **Reusável em Squad-Creator:**
470
-
471
- ```yaml
472
- HO-HE-002-SC: "Agent Executor Coherence Validation"
473
- phase: 3
474
- scope: "All agents generated by squad-creator"
475
-
476
- validation_criteria:
477
- - agent_output_matches_prompt: 0.9
478
- - consistency_across_runs: 0.85
479
- - behavior_matches_persona: 0.80
480
- - follows_guardrails: 1.0 # VETO if fails
481
-
482
- veto_conditions:
483
- - "Agent generates outputs contradicting its persona"
484
- - "Agent ignores quality gates"
485
- - "Agent produces inconsistent results for same input"
486
-
487
- example:
488
- agent: "@squad-creator:analyzer"
489
- truthfulness_score: 0.92
490
- system_adherence: 0.88
491
- consistency: "Extracts same axiomas from same agent 10/10 times"
492
- result: APPROVE
493
- ```
494
-
495
- ---
496
-
497
- ### HO-HE-003: PV_PM_001 - Automation Tipping Point
498
-
499
- **ID Pattern:** `HO-HE-003`
500
- **Nome Completo:** Automation Tipping Point
501
- **Categoria:** Automation Decision Heuristic
502
- **Fase:** 4 (Workflows)
503
- **Agent Executor:** `@hybridOps:workflow-designer`
504
-
505
- **Propósito:**
506
- Determinar QUANDO e SE automate um processo. Implementa "Automation Before Delegation". **Guardrails têm VETO POWER**.
507
-
508
- **A Lei da Automação:**
509
-
510
- ```yaml
511
- automation_mandate:
512
- rule_1:
513
- trigger: "Task repeated 2+ times"
514
- action: "Document and automate"
515
-
516
- rule_2:
517
- trigger: "Task repeated 3+ times without automation"
518
- assessment: "Grave design failure"
519
- action: "Immediate remediation required"
520
-
521
- rule_3:
522
- trigger: "Any automation"
523
- requirement: "MUST have guardrails, idempotency, logs, and manual escape"
524
- ```
525
-
526
- **Pesos e Thresholds:**
527
-
528
- ```yaml
529
- PV_PM_001:
530
- weights:
531
- task_systemic_impact: 0.9
532
- task_automatability: 0.8
533
- task_frequency: 0.7
534
- guardrails_present: 1.0 # VETO power
535
-
536
- thresholds:
537
- systemic_impact: 0.6 # For deep work allocation
538
- automatability: 0.5 # For removal from agenda
539
- frequency: "2x per month" # Minimum for automation justification
540
- standardization: 0.7 # Process must be standardized
541
- ```
542
-
543
- **Decision Tree:**
544
-
545
- ```
546
- PRIMARY:
547
- IF (task_automatability > 0.5)
548
- THEN AUTOMATE/DELEGATE
549
-
550
- SECONDARY:
551
- ELSE IF (task_systemic_impact > 0.6)
552
- THEN ALLOCATE_DEEP_WORK_TIME (keep for humans)
553
-
554
- CONSTRAINT: NEVER automate without guardrails
555
-
556
- AUTOMATION DECISION MATRIX:
557
- ┌───────────┬────────┬──────────────┬──────────────┐
558
- │ Frequency │ Impact │ Automatability│ Decision │
559
- ├───────────┼────────┼──────────────┼──────────────┤
560
- │ High (4x) │ High │ High │ **AUTOMATE** │
561
- │ High │ High │ Low │ DELEGATE │
562
- │ High │ Low │ High │ AUTOMATE │
563
- │ Low (<2x) │ High │ Any │ KEEP_MANUAL │
564
- │ Low │ Low │ Any │ **ELIMINATE**│
565
- │ Any │ Any │ Any (no GR) │ **VETO** │
566
- └───────────┴────────┴──────────────┴──────────────┘
567
- ```
568
-
569
- **Guardrails Requirements (OBRIGATÓRIOS):**
570
-
571
- ```yaml
572
- automation_guardrails:
573
- required:
574
- - loop_prevention: "Deduplication and max iteration limits"
575
- - idempotency: "Same input always produces same output"
576
- - audit_trail: "Log of last agent/event"
577
- - manual_escape: "Human override route available"
578
- - retry_logic: "Graceful failure handling"
579
-
580
- validation:
581
- - "Can a human intervene at any point?"
582
- - "Are all state changes logged?"
583
- - "Is there a rollback mechanism?"
584
- - "Are rate limits implemented?"
585
- ```
586
-
587
- **Reusável em Squad-Creator:**
588
-
589
- ```yaml
590
- HO-HE-003-SC: "DNA Extraction Automation Decision"
591
- phase: 4
592
-
593
- analysis:
594
- frequency: "Every agent created (10+ times/month)" # High
595
- systemic_impact: 0.95 # Core to squad creation
596
- automatability: 0.85 # Parse, extract, validate are deterministic
597
- guardrails: "Present" # 5/5 required
598
- - loop_prevention: "Max 100 iterations per extraction"
599
- - idempotency: "Same agent file → same DNA output"
600
- - audit_trail: "Log each extraction step"
601
- - manual_escape: "Manual DNA review before deploy"
602
- - retry_logic: "Fallback to template on parse error"
603
-
604
- decision: AUTOMATE (0.91 score)
605
- confidence: HIGH
606
- ```
607
-
608
- ---
609
-
610
- ## AXIOMA VALIDATOR PATTERN
611
-
612
- ### HO-AX-001: 10-Dimension Axioma Assessment
613
-
614
- **ID Pattern:** `HO-AX-001`
615
- **Nome:** Meta-Axiomas Assessment Framework
616
- **Fase:** 6 (Quality Assurance)
617
- **Scope:** Process-level validation
618
-
619
- **Definição:**
620
- Framework de 10 dimensões para validar se um processo está **coerente com axiomas fundamentais**. Baseado em 40+ decisões documentadas.
621
-
622
- **As 10 Dimensões:**
623
-
624
- | # | Dimensão | Definição | Weight | Threshold | Veto Power |
625
- |---|----------|-----------|--------|-----------|------------|
626
- | 1 | Truthfulness | Acurácia e confiabilidade dos outputs | 1.0 | 7.0 | YES |
627
- | 2 | Coherence | Consistência interna e lógica | 0.9 | 6.0 | NO |
628
- | 3 | Strategic Alignment | Suporta objetivos organizacionais | 0.9 | 6.0 | NO |
629
- | 4 | Operational Excellence | Eficiência, confiabilidade, documentação | 0.8 | 6.0 | NO |
630
- | 5 | Innovation Capacity | Habilidade de melhoria e adaptação | 0.7 | 5.0 | NO |
631
- | 6 | Risk Management | Identificação e mitigação de riscos | 0.8 | 6.0 | NO |
632
- | 7 | Resource Optimization | Uso eficiente de tempo/dinheiro/pessoas | 0.8 | 6.0 | NO |
633
- | 8 | Stakeholder Value | Valor entregue a todas as partes | 0.7 | 6.0 | NO |
634
- | 9 | Sustainability | Viabilidade a longo prazo | 0.7 | 6.0 | NO |
635
- | 10 | Adaptability | Capacidade de evolução | 0.6 | 5.0 | NO |
636
-
637
- **Scoring:**
638
- ```yaml
639
- overall_score: (Σ(score_i × weight_i)) ÷ Σ(weight_i)
640
-
641
- pass_criteria:
642
- overall: ">= 7.0"
643
- per_dimension: ">= 6.0 for all"
644
- veto: "truthfulness < 7.0"
645
- ```
646
-
647
- **Assessment Template:**
648
-
649
- ```yaml
650
- axioma_assessment:
651
- process_name: "DNA Extraction Pipeline"
652
- assessor: "@squad-creator:qa-architect"
653
-
654
- dimensions:
655
- - name: "Truthfulness"
656
- score: 8.5/10
657
- evidence: "Extracts same axiomas consistently from same agent"
658
- recommendations: ["Add confidence scoring", "Document edge cases"]
659
-
660
- - name: "Coherence"
661
- score: 8.0/10
662
- evidence: "Output YAML format matches schema 100%"
663
- recommendations: []
664
-
665
- # ... remaining 8 dimensions
666
-
667
- overall_score: 7.9
668
- pass_threshold: 7.0
669
- status: "PASS"
670
- veto_triggered: false
671
- ```
672
-
673
- **Reusável em Squad-Creator:**
674
-
675
- ```yaml
676
- HO-AX-001-SC: "Squad-Creator Pipeline Axioma Assessment"
677
-
678
- process_components:
679
- - "DNA Extraction"
680
- - "Agent Generation"
681
- - "Quality Gates"
682
- - "Validation Pipeline"
683
-
684
- example_assessment:
685
- DNA_Extraction:
686
- truthfulness: 8.5 # Consistent output
687
- coherence: 8.0 # Follows YAML schema
688
- strategic_alignment: 8.5 # Enables core mission
689
- operational_excellence: 8.0 # Well-documented, 99.9% uptime
690
- innovation_capacity: 7.0 # Templates can be enhanced
691
- risk_management: 8.5 # Guardrails present
692
- resource_optimization: 8.0 # 48% automated
693
- stakeholder_value: 8.5 # Saves 3h per agent
694
- sustainability: 7.5 # No custom code
695
- adaptability: 7.5 # Config-based
696
-
697
- overall_score: 7.9 # PASS
698
- recommendation: "Proceed to Phase 7"
699
- ```
700
-
701
- ---
702
-
703
- ## QUALITY GATE PATTERNS (HO-PP-003)
704
-
705
- ### HO-QG-001: Quality Gate Pattern - 3-Type Taxonomy
706
-
707
- **ID Pattern:** `HO-QG-001`
708
- **Nome:** Quality Gate Pattern (HO-PP-003)
709
- **Aplicável a:** Todas as fases (1-9)
710
-
711
- **Os 3 Tipos de Quality Gates:**
712
-
713
- | Tipo | Executor | Velocidade | Uso | Exemplo |
714
- |------|----------|-----------|-----|---------|
715
- | **Automated** | Sistema/AI | <1 segundo | Deterministic checks | Field validation, calculations |
716
- | **Hybrid** | Sistema + Human | 1-5 minutos | AI prepara, humano aprova | Template generation review |
717
- | **Manual** | Human/Team | 1-8 horas | Judgment-based | Acceptance sign-off |
718
-
719
- **Estrutura Completa de Quality Gate:**
720
-
721
- ```yaml
722
- quality_gate:
723
- id: "QG-R02" # Unique identifier
724
- name: "RICE Inputs Completeness"
725
- phase: "Runtime"
726
- workflow: "WF-R01"
727
- location: "Before RT-004"
728
- type: "Automated" # One of: Automated, Hybrid, Manual
729
- risk_level: "Medium" # Low, Medium, High, Critical
730
-
731
- # TRIGGER DEFINITION
732
- trigger:
733
- event: "field_change" # What event activates gate
734
- condition: "any_rice_field_updated"
735
-
736
- # ACCEPTANCE CRITERIA
737
- criteria:
738
- - check: "Reach field filled"
739
- type: "not_empty" # Type: not_empty, validation, boolean, threshold, etc
740
- field_id: "a1f4fcb9-..."
741
- required: true
742
-
743
- - check: "Impact field selected"
744
- type: "not_empty"
745
- field_id: "daeaffa6-..."
746
- required: true
747
-
748
- - check: "Effort field selected"
749
- type: "not_empty"
750
- field_id: "056d774e-..."
751
- required: true
752
-
753
- threshold: "100% fields filled" # Pass condition
754
-
755
- # EXECUTOR CONFIGURATION
756
- executor:
757
- type: "automated" # Or: hybrid, manual
758
- agent: "ClickUp AI Field" # Who/what validates
759
-
760
- # ACTIONS ON PASS/FAIL
761
- pass_action:
762
- - "Proceed with RICE calculation"
763
- - "Log success"
764
-
765
- fail_action:
766
- - "Return '-' as score"
767
- - "Display incomplete status"
768
- - "Log failure details"
769
-
770
- sla: "<1 second" # Service level agreement
771
- guardrail: "GR-001" # Linked guardrail (optional)
772
- ```
773
-
774
- **5-Layer QG Taxonomy:**
775
-
776
- ```
777
- Layer 1: RUNTIME GATES (System-level, automated)
778
- ├── Template application gates
779
- ├── Calculation completeness gates
780
- ├── Value validity gates
781
- └── Status transition gates
782
-
783
- Layer 2: IMPLEMENTATION GATES (Wave-based)
784
- ├── Wave 1 completion
785
- ├── Wave 2 completion
786
- ├── Wave 3 completion
787
- └── Acceptance gate
788
-
789
- Layer 3: INTEGRATION GATES (End-to-end)
790
- ├── Complete epic flow test
791
- ├── Complete story flow test
792
- └── Validation gate blocking test
793
-
794
- Layer 4: APPROVAL GATES (Management)
795
- ├── Product Owner sign-off
796
- ├── Tech Lead sign-off
797
- └── Executive approval
798
-
799
- Layer 5: MONITORING GATES (Operational)
800
- ├── SLA monitoring
801
- ├── Failure rate tracking
802
- └── Performance dashboards
803
- ```
804
-
805
- **Reusável em Squad-Creator:**
806
-
807
- ```yaml
808
- HO-QG-001-SC: "Agent Generation Quality Gates"
809
-
810
- gates:
811
- - id: "QG-1.1"
812
- name: "DNA Extraction Completeness"
813
- type: "Automated"
814
- location: "After extraction, before generation"
815
- criteria:
816
- - "All axiomas extracted (≥5)"
817
- - "No empty fields in DNA YAML"
818
- - "Coherence score ≥ 0.7"
819
- threshold: "100% criteria met"
820
- pass_action: ["Proceed to agent generation"]
821
- fail_action: ["Return to extraction", "Notify user"]
822
-
823
- - id: "QG-1.2"
824
- name: "Agent Generation Validity"
825
- type: "Hybrid"
826
- location: "After agent YAML generated"
827
- criteria:
828
- - "Agent markdown parses without error"
829
- - "All required fields present"
830
- - "No undefined placeholder values"
831
- threshold: "100% criteria met"
832
- pass_action: ["Deploy agent", "Generate documentation"]
833
- fail_action: ["Regenerate", "Request manual fixes"]
834
-
835
- - id: "QG-1.3"
836
- name: "Axioma Compliance Review"
837
- type: "Manual"
838
- location: "Before go-live"
839
- criteria:
840
- - "Agent behavior matches persona (PV assessment)"
841
- - "No security/safety violations"
842
- - "Meets squad requirements"
843
- threshold: "Product Owner approval"
844
- pass_action: ["Mark as Production-Ready"]
845
- fail_action: ["Send back for refinement"]
846
- ```
847
-
848
- ---
849
-
850
- ## EXECUTOR ASSIGNMENT PATTERNS (HO-EP-XXX)
851
-
852
- ### HO-EP-001: Human Executor Pattern
853
-
854
- **ID Pattern:** `HO-EP-001`
855
- **Nome:** Human Executor Assignment
856
- **Quando Usar:** Tasks requiring judgment, creativity, relationships
857
-
858
- **Characteristics:**
859
- - Cost: $$$ (expensive)
860
- - Speed: Slow (hours to days)
861
- - Judgment Required: YES
862
- - Can be automated: NO
863
-
864
- **Typical Tasks:**
865
- - Business value assessment
866
- - Technical estimation
867
- - Leadership decisions
868
- - Code reviews (with judgment)
869
- - Stakeholder communication
870
-
871
- **Executor Matrix Entry:**
872
-
873
- ```yaml
874
- - task_id: COMP-H01
875
- task_name: "Assess Agent Fit for Squad"
876
- executor_type: human
877
- pattern: HO-EP-001
878
- assigned_to: "Squad Lead"
879
- backup: "Product Owner"
880
-
881
- rationale: "Judgment about agent personality, culture fit requires human discernment"
882
- automation_potential: low
883
- frequency: "per agent creation"
884
-
885
- capabilities_required:
886
- - name: "Agent Capability Assessment"
887
- level: expert
888
- - name: "Team Dynamics Understanding"
889
- level: expert
890
-
891
- raci:
892
- responsible: "Squad Lead"
893
- accountable: "Squad Lead"
894
- consulted: ["Agent Creator", "PM"]
895
- informed: ["Team"]
896
- ```
897
-
898
- ---
899
-
900
- ### HO-EP-002: Agent (AI) Executor Pattern
901
-
902
- **ID Pattern:** `HO-EP-002`
903
- **Nome:** Agent (AI) Executor Assignment
904
- **Quando Usar:** Analysis, generation, pattern recognition
905
-
906
- **Characteristics:**
907
- - Cost: $$$$ (API calls)
908
- - Speed: Very Fast (seconds to minutes)
909
- - Judgment Required: NO (deterministic or guided)
910
- - Can be automated: YES (fully)
911
-
912
- **Typical Tasks:**
913
- - Code generation
914
- - Data analysis
915
- - Content generation
916
- - Complex pattern matching
917
- - Reasoning over structured data
918
-
919
- **Executor Matrix Entry:**
920
-
921
- ```yaml
922
- - task_id: COMP-A01
923
- task_name: "Extract Agent Axiomas"
924
- executor_type: agent
925
- pattern: HO-EP-002
926
- assigned_to: "Claude API (Opus)"
927
- backup: null
928
-
929
- rationale: "Axioma extraction is deterministic pattern recognition"
930
- automation_potential: high
931
- frequency: "per agent"
932
-
933
- tools_available:
934
- - "Claude Opus API"
935
- - "Extraction templates"
936
-
937
- raci:
938
- responsible: "API System"
939
- accountable: "Squad Creator Admin"
940
- consulted: []
941
- informed: ["QA team"]
942
- ```
943
-
944
- ---
945
-
946
- ### HO-EP-003: Hybrid Executor Pattern
947
-
948
- **ID Pattern:** `HO-EP-003`
949
- **Nome:** Hybrid Executor Assignment
950
- **Quando Usar:** AI assists, human validates and directs
951
-
952
- **Characteristics:**
953
- - Cost: $$ (split cost)
954
- - Speed: Moderate (minutes to hours)
955
- - Judgment Required: BOTH
956
- - Can be automated: Partially (AI part yes, validation part no)
957
-
958
- **Typical Tasks:**
959
- - Code generation with review
960
- - Design + implementation (separate roles)
961
- - AI draft + human refinement
962
- - Complex automation with human gates
963
-
964
- **Executor Matrix Entry:**
965
-
966
- ```yaml
967
- - task_id: IMP-006
968
- task_name: "Create WSJF Validation Gate"
969
- executor_type: hybrid
970
- pattern: HO-EP-003
971
- assigned_to:
972
- design: "@squad-creator:architect" # AI designs automation logic
973
- implement: "Admin" # Human implements in ClickUp
974
- backup: "Tech Lead"
975
-
976
- rationale: "Automation logic requires AI design, implementation requires admin access"
977
- effort: "2h total (1h design + 1h implement)"
978
- risk: medium
979
-
980
- raci:
981
- responsible: "@architect" # Design lead
982
- accountable: "Tech Lead" # Overall accountability
983
- consulted: ["Product Owner"]
984
- informed: ["Dev Team"]
985
-
986
- workflow:
987
- step_1: "AI designs validation logic"
988
- step_2: "Human reviews AI output"
989
- step_3: "Human implements in platform"
990
- step_4: "Test end-to-end"
991
- ```
992
-
993
- ---
994
-
995
- ### HO-EP-004: Worker Executor Pattern
996
-
997
- **ID Pattern:** `HO-EP-004`
998
- **Nome:** Worker (Deterministic Automation) Executor
999
- **Quando Usar:** Deterministic tasks, file operations, API calls
1000
-
1001
- **Characteristics:**
1002
- - Cost: $ (cheapest)
1003
- - Speed: Very Fast (sub-second to seconds)
1004
- - Judgment Required: NO
1005
- - Can be automated: YES (100%)
1006
-
1007
- **Typical Tasks:**
1008
- - Template application
1009
- - Field calculations (formulas)
1010
- - Validation (if/then rules)
1011
- - File operations
1012
- - Data transformations
1013
-
1014
- **Executor Matrix Entry:**
1015
-
1016
- ```yaml
1017
- - task_id: COMP-W01
1018
- task_name: "Apply Agent Template"
1019
- executor_type: worker
1020
- pattern: HO-EP-004
1021
- assigned_to: "ClickUp Task Template" # Or: automation system, worker process
1022
- backup: null
1023
-
1024
- rationale: "Template application is deterministic, no judgment"
1025
- automation_potential: high
1026
- frequency: "per agent creation"
1027
- platform: "ClickUp native"
1028
- trigger: "task_created with type=agent"
1029
-
1030
- required_fields:
1031
- - "agent name"
1032
- - "agent type"
1033
-
1034
- capabilities_required:
1035
- - name: "Template Application"
1036
- level: basic
1037
-
1038
- raci:
1039
- responsible: "System"
1040
- accountable: "Admin"
1041
- consulted: []
1042
- informed: ["Squad Creator"]
1043
-
1044
- worker_logic: |
1045
- IF task_type = 'agent' AND created_by = '@squad-creator'
1046
- THEN apply_template('agent-standard.yaml')
1047
- AND set_default_fields()
1048
- AND notify_creator()
1049
- ```
1050
-
1051
- ---
1052
-
1053
- ## COHERENCE VALIDATION PATTERNS
1054
-
1055
- ### HO-CV-001: Truthfulness Assessment
1056
-
1057
- **ID Pattern:** `HO-CV-001`
1058
- **Nome:** Truthfulness Coherence Validation
1059
- **Source:** PV_PA_001 Heuristic
1060
-
1061
- **Truthfulness Evaluation States:**
1062
-
1063
- ```yaml
1064
- coherence_levels:
1065
- coherent: # 0.7 - 1.0
1066
- description: "Statements align with observable data and actions"
1067
- examples:
1068
- - "Agent always extracts same axiomas from same input"
1069
- - "Agent behavior matches its documented persona"
1070
- action: "APPROVE"
1071
- score_range: [0.7, 1.0]
1072
-
1073
- inconsistent: # 0.4 - 0.7
1074
- description: "Statements contradict data without clear explanation"
1075
- examples:
1076
- - "Agent claims 'deterministic' but output varies"
1077
- - "Agent says 'truthfulness matters' but outputs contain errors"
1078
- action: "REVIEW - Investigate"
1079
- score_range: [0.4, 0.7]
1080
- remediation: "Apply test period with revealing tasks"
1081
-
1082
- incoherent: # 0.0 - 0.4
1083
- description: "Deliberate misrepresentation detected"
1084
- examples:
1085
- - "Agent fabricates extraction data"
1086
- - "Agent ignores documented safety guardrails"
1087
- action: "VETO - Remove immediately"
1088
- score_range: [0.0, 0.4]
1089
- consequence: "Trust breach - cannot proceed"
1090
- ```
1091
-
1092
- **Assessment Checklist:**
1093
-
1094
- ```yaml
1095
- truthfulness_validation:
1096
- - test: "Run same input 10x, check output consistency"
1097
- threshold: "10/10 identical outputs"
1098
-
1099
- - test: "Verify extracted data against source"
1100
- threshold: ">95% accuracy"
1101
-
1102
- - test: "Check if behavior matches documented persona"
1103
- threshold: "100% alignment"
1104
-
1105
- - test: "Verify compliance with safety guardrails"
1106
- threshold: "0 violations across 100 runs"
1107
-
1108
- - test: "Check if error messages are truthful"
1109
- threshold: "No false positives or negatives"
1110
-
1111
- scoring:
1112
- all_tests_pass: 0.95 # Coherent
1113
- 1_test_fails: 0.65 # Inconsistent
1114
- 2+_tests_fail: 0.35 # Incoherent
1115
- ```
1116
-
1117
- ---
1118
-
1119
- ### HO-CV-002: Weighted Coherence Assessment
1120
-
1121
- **ID Pattern:** `HO-CV-002`
1122
- **Nome:** Weighted Coherence Score Calculation
1123
- **Source:** PV_PA_001 Checkpoint
1124
-
1125
- **Evaluation Criteria:**
1126
-
1127
- ```yaml
1128
- weighted_coherence_formula:
1129
- components:
1130
- - criterion: "Capability-Task Alignment"
1131
- weight: 0.35
1132
- evaluation: "Does task match executor capabilities?"
1133
-
1134
- - criterion: "Accountability Clarity"
1135
- weight: 0.25
1136
- evaluation: "Is R/A/C/I clear for task?"
1137
-
1138
- - criterion: "Backup Coverage"
1139
- weight: 0.15
1140
- evaluation: "Is there clear backup executor?"
1141
-
1142
- - criterion: "Escalation Paths"
1143
- weight: 0.10
1144
- evaluation: "Are escalation routes defined?"
1145
-
1146
- - criterion: "Pattern Compliance"
1147
- weight: 0.15
1148
- evaluation: "Does task follow HO patterns?"
1149
-
1150
- formula: "(Σ(score_i × weight_i)) / Σ(weight_i)"
1151
-
1152
- example_calculation:
1153
- capability_alignment: 0.92 × 0.35 = 0.322
1154
- accountability: 0.90 × 0.25 = 0.225
1155
- backup: 0.85 × 0.15 = 0.128
1156
- escalation: 0.90 × 0.10 = 0.090
1157
- pattern: 0.95 × 0.15 = 0.143
1158
- ────────────────────────────────
1159
- total_score: 0.908 # PASS (threshold: 0.8)
1160
- ```
1161
-
1162
- **Reusável em Squad-Creator:**
1163
-
1164
- ```yaml
1165
- HO-CV-002-SC: "Agent-Squad Coherence Assessment"
1166
-
1167
- agents:
1168
- - name: "@squad-creator:analyzer"
1169
- capability_alignment: 0.92 # DNA extraction ✓
1170
- accountability: 0.90 # Clear RACI ✓
1171
- backup: 0.85 # Fallback template ✓
1172
- escalation: 0.90 # QA review available ✓
1173
- pattern: 0.95 # Follows HO-EP-002 ✓
1174
-
1175
- weighted_score: 0.91 # PASS
1176
- ```
1177
-
1178
- ---
1179
-
1180
- ## RESUMO DE PATTERNS PARA IMPLEMENTAÇÃO
1181
-
1182
- ### Prioridade 1: CRÍTICO (Implementar Primeiro)
1183
-
1184
- | Pattern | Descrição | Fase | Esforço |
1185
- |---------|-----------|------|---------|
1186
- | **HO-TP-001** | 8-field task anatomy | 5 | 3h |
1187
- | **HO-VC-001/002/003** | Veto conditions framework | 2-4 | 5h |
1188
- | **HO-HE-001** | Future back-casting | 2 | 4h |
1189
- | **HO-HE-002** | Coherence scan | 3 | 4h |
1190
- | **HO-QG-001** | Quality gate pattern | 6 | 6h |
1191
-
1192
- ### Prioridade 2: IMPORTANTE (Próximas)
1193
-
1194
- | Pattern | Descrição | Fase | Esforço |
1195
- |---------|-----------|------|---------|
1196
- | **HO-HE-003** | Automation tipping point | 4 | 4h |
1197
- | **HO-AX-001** | Axioma validation | 6 | 8h |
1198
- | **HO-EP-001 a 004** | Executor patterns | 3 | 6h |
1199
-
1200
- ### Prioridade 3: COMPLEMENTAR (Depois)
1201
-
1202
- | Pattern | Descrição | Uso |
1203
- |---------|-----------|-----|
1204
- | **HO-CV-001/002** | Coherence validation | Specific assessments |
1205
-
1206
- ---
1207
-
1208
- ## ESTRUTURA DE ARQUIVO RECOMENDADA (Self-Contained)
1209
-
1210
- Para implementar todos os patterns no squad-creator, criar:
1211
-
1212
- ```
1213
- squads/squad-creator-pro/
1214
- ├── minds/ # MIND ARTIFACTS (copiados de HybridOps)
1215
- │ └── pedro_valerio/
1216
- │ ├── heuristics/
1217
- │ │ ├── PV_BS_001.md # Future Back-Casting
1218
- │ │ ├── PV_PA_001.md # Systemic Coherence Scan
1219
- │ │ └── PV_PM_001.md # Automation Tipping Point
1220
- │ └── artifacts/
1221
- │ ├── META_AXIOMAS.md # 10 dimensões
1222
- │ └── Assinatura_Linguistica.md
1223
-
1224
- ├── config/ # CONFIGURAÇÕES
1225
- │ ├── veto-conditions.yaml # Engine de veto
1226
- │ ├── task-anatomy.yaml # Schema 8 campos
1227
- │ ├── heuristics.yaml # Engine de heuristics (adaptado)
1228
- │ ├── axioma-validator.yaml # Scoring 10 dimensões
1229
- │ └── quality-gates.yaml # Quality gates por fase
1230
-
1231
- ├── patterns/ # PATTERNS ADAPTADOS
1232
- │ ├── veto-conditions/
1233
- │ │ ├── SC-VC-001-vision-clarity.yaml
1234
- │ │ ├── SC-VC-002-agent-coherence.yaml
1235
- │ │ └── SC-VC-003-guardrail-requirement.yaml
1236
- │ │
1237
- │ ├── heuristics/
1238
- │ │ ├── SC-HE-001-squad-vision.md
1239
- │ │ ├── SC-HE-002-agent-coherence.md
1240
- │ │ └── SC-HE-003-workflow-automation.md
1241
- │ │
1242
- │ ├── quality-gates/
1243
- │ │ └── SC-QG-001-pattern.yaml
1244
- │ │
1245
- │ └── executors/
1246
- │ ├── SC-EP-001-human.yaml
1247
- │ ├── SC-EP-002-agent.yaml
1248
- │ ├── SC-EP-003-hybrid.yaml
1249
- │ └── SC-EP-004-worker.yaml
1250
-
1251
- └── scripts/ # VALIDADORES
1252
- ├── task-anatomy-validator.py
1253
- └── coherence-validator.py
1254
- ```
1255
-
1256
- **NOTA:** Prefixo `SC-` = Squad-Creator (adaptação local). Prefixo `PV_` ou `HO-` = Original do HybridOps.
1257
-
1258
- ---
1259
-
1260
- ## INTEGRAÇÃO COM WORKFLOW EXISTENTE
1261
-
1262
- ### Fluxo Atual do Squad-Creator
1263
-
1264
- ```
1265
- squad-chief (orquestra)
1266
- ↓ *create-squad, *review-*
1267
- oalanicolas (extrai)
1268
- ↓ INSUMOS_READY (template: handoff-insumos-tmpl.yaml)
1269
- pedro-valerio (constrói)
1270
- ↓ Artefatos validados
1271
- squad-chief (revisa)
1272
- ↓ *review-extraction, *review-artifacts
1273
- Entrega final
1274
- ```
1275
-
1276
- ### Template de Handoff (Já Existe)
1277
-
1278
- **Path:** `squads/squad-creator-pro/templates/handoff-insumos-tmpl.yaml`
1279
-
1280
- O Pedro Valério aceita insumos no formato:
1281
- ```yaml
1282
- handoff_type: INSUMOS_READY
1283
- from: "@oalanicolas"
1284
- to: "@pedro-valerio"
1285
-
1286
- insumos:
1287
- voice_dna:
1288
- signature_phrases: ["...", "..."] # Mínimo 5
1289
- source_verified: true # OBRIGATÓRIO
1290
- thinking_dna:
1291
- frameworks: ["...", "..."]
1292
- heuristics: ["...", "..."]
1293
- quotes:
1294
- verified_count: 15 # Mínimo 15
1295
-
1296
- validation_gates:
1297
- - all_sources_have_SOURCE_tag: true
1298
- - min_quotes: 15
1299
- - min_signature_phrases: 5
1300
- ```
1301
-
1302
- ### Veto no Handoff
1303
-
1304
- Se insumos incompletos, Pedro Valério **devolve** para @oalanicolas:
1305
-
1306
- ```yaml
1307
- veto_handoff:
1308
- trigger: "insumos_incomplete"
1309
- conditions:
1310
- - "< 15 citações verificáveis"
1311
- - "< 5 signature phrases"
1312
- - "Conceitos sem [SOURCE:]"
1313
- - "Inferências não marcadas"
1314
- action: "DEVOLVER para @oalanicolas com lista específica"
1315
- ```
1316
-
1317
- ---
1318
-
1319
- ## CONCLUSÃO
1320
-
1321
- Extraí **23 patterns reutilizáveis** do HybridOps squad:
1322
-
1323
- - **3 Veto Conditions** (para quality gates)
1324
- - **1 Task Anatomy pattern** (8 campos obrigatórios)
1325
- - **3 Heuristics** (PV_BS_001, PV_PA_001, PV_PM_001)
1326
- - **1 Axioma Validator** (10 dimensões)
1327
- - **3 Quality Gate types** (Automated, Hybrid, Manual)
1328
- - **4 Executor Patterns** (Human, Agent, Hybrid, Worker)
1329
- - **2 Coherence Validation** patterns
1330
-
1331
- **ADICIONAL (v1.2):**
1332
- - **4 Modos do Pedro Valério** com mapeamento modo → pattern
1333
- - **5 Mind Artifacts** COPIADOS para dentro do squad-creator (self-contained)
1334
- - **Integração com workflow** squad-chief → oalanicolas → pedro-valerio
1335
- - **Zero referências externas** - squad é 100% portável
1336
-
1337
- Todos estão **prontos para adaptação** ao squad-creator com minimal customization. Recomendo iniciar pela **Fase 0 (Agent Update)** antes dos patterns.
1338
-
1339
- ---
1340
-
1341
- ## CHANGELOG
1342
-
1343
- | Versão | Data | Mudanças |
1344
- |--------|------|----------|
1345
- | v1.2 | 2026-02-10 | Self-contained: COPIAR artifacts, zero refs externas |
1346
- | v1.1 | 2026-02-10 | 4 Modos, Mind Artifacts, Workflow integration |
1347
- | v1.0 | 2026-02-10 | Versão inicial - 23 patterns extraídos |
1348
-
1349
- ---
1350
-
1351
- *Documento atualizado: 2026-02-10 v1.2*