aiox-core 5.0.2 → 5.0.4
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.
- package/.aiox-core/core/execution/predictive-pipeline.js +1283 -0
- package/.aiox-core/core/memory/decision-memory.js +564 -0
- package/.aiox-core/data/entity-registry.yaml +1068 -1043
- package/.aiox-core/data/registry-update-log.jsonl +2 -2
- package/.aiox-core/development/templates/service-template/README.md.hbs +158 -158
- package/.aiox-core/development/templates/service-template/__tests__/index.test.ts.hbs +237 -237
- package/.aiox-core/development/templates/service-template/client.ts.hbs +403 -403
- package/.aiox-core/development/templates/service-template/errors.ts.hbs +182 -182
- package/.aiox-core/development/templates/service-template/index.ts.hbs +120 -120
- package/.aiox-core/development/templates/service-template/package.json.hbs +87 -87
- package/.aiox-core/development/templates/service-template/types.ts.hbs +145 -145
- package/.aiox-core/development/templates/squad-template/LICENSE +21 -21
- package/.aiox-core/infrastructure/templates/aiox-sync.yaml.template +182 -182
- package/.aiox-core/infrastructure/templates/coderabbit.yaml.template +279 -279
- package/.aiox-core/infrastructure/templates/github-workflows/ci.yml.template +169 -169
- package/.aiox-core/infrastructure/templates/github-workflows/pr-automation.yml.template +330 -330
- package/.aiox-core/infrastructure/templates/github-workflows/release.yml.template +196 -196
- package/.aiox-core/infrastructure/templates/gitignore/gitignore-aiox-base.tmpl +63 -63
- package/.aiox-core/infrastructure/templates/gitignore/gitignore-brownfield-merge.tmpl +18 -18
- package/.aiox-core/infrastructure/templates/gitignore/gitignore-node.tmpl +85 -85
- package/.aiox-core/infrastructure/templates/gitignore/gitignore-python.tmpl +145 -145
- package/.aiox-core/install-manifest.yaml +63 -55
- package/.aiox-core/local-config.yaml.template +71 -71
- package/.aiox-core/monitor/hooks/lib/__init__.py +1 -1
- package/.aiox-core/monitor/hooks/lib/enrich.py +58 -58
- package/.aiox-core/monitor/hooks/lib/send_event.py +47 -47
- package/.aiox-core/monitor/hooks/notification.py +29 -29
- package/.aiox-core/monitor/hooks/post_tool_use.py +45 -45
- package/.aiox-core/monitor/hooks/pre_compact.py +29 -29
- package/.aiox-core/monitor/hooks/pre_tool_use.py +40 -40
- package/.aiox-core/monitor/hooks/stop.py +29 -29
- package/.aiox-core/monitor/hooks/subagent_stop.py +29 -29
- package/.aiox-core/monitor/hooks/user_prompt_submit.py +38 -38
- package/.aiox-core/product/templates/adr.hbs +125 -125
- package/.aiox-core/product/templates/dbdr.hbs +241 -241
- package/.aiox-core/product/templates/epic.hbs +212 -212
- package/.aiox-core/product/templates/pmdr.hbs +186 -186
- package/.aiox-core/product/templates/prd-v2.0.hbs +216 -216
- package/.aiox-core/product/templates/prd.hbs +201 -201
- package/.aiox-core/product/templates/story.hbs +263 -263
- package/.aiox-core/product/templates/task.hbs +170 -170
- package/.aiox-core/product/templates/tmpl-comment-on-examples.sql +158 -158
- package/.aiox-core/product/templates/tmpl-migration-script.sql +91 -91
- package/.aiox-core/product/templates/tmpl-rls-granular-policies.sql +104 -104
- package/.aiox-core/product/templates/tmpl-rls-kiss-policy.sql +10 -10
- package/.aiox-core/product/templates/tmpl-rls-roles.sql +135 -135
- package/.aiox-core/product/templates/tmpl-rls-simple.sql +77 -77
- package/.aiox-core/product/templates/tmpl-rls-tenant.sql +152 -152
- package/.aiox-core/product/templates/tmpl-rollback-script.sql +77 -77
- package/.aiox-core/product/templates/tmpl-seed-data.sql +140 -140
- package/.aiox-core/product/templates/tmpl-smoke-test.sql +16 -16
- package/.aiox-core/product/templates/tmpl-staging-copy-merge.sql +139 -139
- package/.aiox-core/product/templates/tmpl-stored-proc.sql +140 -140
- package/.aiox-core/product/templates/tmpl-trigger.sql +152 -152
- package/.aiox-core/product/templates/tmpl-view-materialized.sql +133 -133
- package/.aiox-core/product/templates/tmpl-view.sql +177 -177
- package/.aiox-core/scripts/pm.sh +0 -0
- package/.claude/hooks/enforce-architecture-first.py +196 -196
- package/.claude/hooks/mind-clone-governance.py +192 -192
- package/.claude/hooks/read-protection.py +151 -151
- package/.claude/hooks/slug-validation.py +176 -176
- package/.claude/hooks/sql-governance.py +182 -182
- package/.claude/hooks/write-path-validation.py +194 -194
- package/LICENSE +33 -33
- package/bin/aiox-graph.js +0 -0
- package/bin/aiox-minimal.js +0 -0
- package/bin/aiox.js +0 -0
- package/package.json +6 -1
- package/packages/aiox-install/bin/aiox-install.js +0 -0
- package/packages/aiox-install/bin/edmcp.js +0 -0
- package/packages/aiox-pro-cli/bin/aiox-pro.js +0 -0
- package/packages/installer/src/wizard/pro-setup.js +28 -0
- package/pro/README.md +66 -66
- package/pro/feature-registry.yaml +225 -0
- package/pro/license/license-api.js +701 -679
- package/pro/package.json +39 -0
- package/pro/pro-config.yaml +63 -0
- package/pro/squads/README.md +24 -0
- package/pro/squads/design/HEADLINE.md +3 -0
- package/pro/squads/design/README.md +109 -0
- package/pro/squads/design/agents/brad-frost.md +1097 -0
- package/pro/squads/design/agents/dan-mall.md +857 -0
- package/pro/squads/design/agents/dave-malouf.md +2272 -0
- package/pro/squads/design/agents/design-chief.md +114 -0
- package/pro/squads/design/agents/ds-foundations-lead.md +194 -0
- package/pro/squads/design/agents/ds-token-architect.md +361 -0
- package/pro/squads/design/agents/nano-banana-generator.md +162 -0
- package/pro/squads/design/agents/storybook-expert.md +809 -0
- package/pro/squads/design/checklists/atomic-refactor-checklist.md +299 -0
- package/pro/squads/design/checklists/component-adaptation-checklist.md +81 -0
- package/pro/squads/design/checklists/design-fidelity-checklist.md +283 -0
- package/pro/squads/design/checklists/design-handoff-checklist.md +55 -0
- package/pro/squads/design/checklists/design-team-health-checklist.md +454 -0
- package/pro/squads/design/checklists/designops-maturity-checklist.md +518 -0
- package/pro/squads/design/checklists/ds-a11y-release-gate-checklist.md +45 -0
- package/pro/squads/design/checklists/ds-accessibility-wcag-checklist.md +147 -0
- package/pro/squads/design/checklists/ds-component-quality-checklist.md +150 -0
- package/pro/squads/design/checklists/ds-critical-eye-review-checklist.md +147 -0
- package/pro/squads/design/checklists/ds-migration-readiness-checklist.md +99 -0
- package/pro/squads/design/checklists/ds-pattern-audit-checklist.md +164 -0
- package/pro/squads/design/checklists/reading-accessibility-checklist.md +275 -0
- package/pro/squads/design/checklists/token-mapping-checklist.md +107 -0
- package/pro/squads/design/config/coding-standards.md +286 -0
- package/pro/squads/design/config/source-tree.md +59 -0
- package/pro/squads/design/config/tech-stack.md +48 -0
- package/pro/squads/design/config.yaml +204 -0
- package/pro/squads/design/data/agentic-design-systems-guide.md +46 -0
- package/pro/squads/design/data/agentic-ds-principles.md +100 -0
- package/pro/squads/design/data/atomic-design-principles.md +108 -0
- package/pro/squads/design/data/atomic-refactor-rules.md +582 -0
- package/pro/squads/design/data/base-component-specs.md +972 -0
- package/pro/squads/design/data/brad-frost-analysis-extract-implicit.yaml +270 -0
- package/pro/squads/design/data/brad-frost-analysis-find-0.8.yaml +176 -0
- package/pro/squads/design/data/brad-frost-analysis-qa-report.yaml +168 -0
- package/pro/squads/design/data/brad-frost-dna.yaml +713 -0
- package/pro/squads/design/data/capability-tools.yaml +124 -0
- package/pro/squads/design/data/component-adaptation-changelog.md +318 -0
- package/pro/squads/design/data/consolidation-algorithms.md +168 -0
- package/pro/squads/design/data/critical-eye-scoring-rules.yaml +240 -0
- package/pro/squads/design/data/design-token-best-practices.md +107 -0
- package/pro/squads/design/data/design-tokens-spec.yaml +418 -0
- package/pro/squads/design/data/ds-reference-architectures.md +93 -0
- package/pro/squads/design/data/f2-qa-report.md +168 -0
- package/pro/squads/design/data/f3-derived-components-changelog.md +100 -0
- package/pro/squads/design/data/f3-qa-report.md +208 -0
- package/pro/squads/design/data/figma-base-components-raw.md +102 -0
- package/pro/squads/design/data/figma-tokens-raw.md +1549 -0
- package/pro/squads/design/data/fluent2-design-principles.md +114 -0
- package/pro/squads/design/data/high-retention-reading-guide.md +349 -0
- package/pro/squads/design/data/integration-patterns.md +207 -0
- package/pro/squads/design/data/internal-quality-chain.yaml +48 -0
- package/pro/squads/design/data/motion-tokens-guide.md +202 -0
- package/pro/squads/design/data/roi-calculation-guide.md +142 -0
- package/pro/squads/design/data/token-mapping-reference.md +213 -0
- package/pro/squads/design/data/w3c-dtcg-spec-reference.md +149 -0
- package/pro/squads/design/data/wcag-compliance-guide.md +267 -0
- package/pro/squads/design/docs/AUDIT_REPORT.md +97 -0
- package/pro/squads/design/docs/DS-CURATION-PIPELINE-PROPOSAL.md +577 -0
- package/pro/squads/design/docs/UPGRADE_PLAN.md +618 -0
- package/pro/squads/design/docs/brad-frost-research-validation.md +372 -0
- package/pro/squads/design/docs/dave-malouf-research-validation.md +391 -0
- package/pro/squads/design/docs/tool-discovery-report.md +87 -0
- package/pro/squads/design/docs/tool-integration-plan.md +44 -0
- package/pro/squads/design/protocols/ai-first-governance.md +56 -0
- package/pro/squads/design/protocols/governance-execution-boundary.md +59 -0
- package/pro/squads/design/protocols/handoff.md +60 -0
- package/pro/squads/design/rules/.claude-rules.md +88 -0
- package/pro/squads/design/scripts/design-system/curate_colors.cjs +447 -0
- package/pro/squads/design/scripts/design-system/curate_components.cjs +217 -0
- package/pro/squads/design/scripts/design-system/curate_radius.cjs +190 -0
- package/pro/squads/design/scripts/design-system/curate_shadows.cjs +208 -0
- package/pro/squads/design/scripts/design-system/curate_spacing.cjs +243 -0
- package/pro/squads/design/scripts/design-system/curate_typography.cjs +404 -0
- package/pro/squads/design/scripts/design-system/design-system-metadata.test.js +49 -0
- package/pro/squads/design/scripts/design-system/design_manifest_lib.cjs +142 -0
- package/pro/squads/design/scripts/design-system/fetch_page_images.cjs +195 -0
- package/pro/squads/design/scripts/design-system/generate_components_metadata.cjs +114 -0
- package/pro/squads/design/scripts/design-system/generate_curation_report.cjs +258 -0
- package/pro/squads/design/scripts/design-system/generate_tokens.cjs +342 -0
- package/pro/squads/design/scripts/design-system/sync_design_manifest.cjs +27 -0
- package/pro/squads/design/scripts/design-system/test_mcp_tools.cjs +232 -0
- package/pro/squads/design/scripts/design-system/validate_components_metadata.cjs +96 -0
- package/pro/squads/design/scripts/design-system/validate_curation.cjs +226 -0
- package/pro/squads/design/scripts/design-system/validate_design_manifest_drift.cjs +72 -0
- package/pro/squads/design/scripts/design-system/validate_mcp_skeleton.cjs +38 -0
- package/pro/squads/design/scripts/design-system/validate_registry.cjs +186 -0
- package/pro/squads/design/scripts/design-system/validate_task_checklist_bindings.cjs +78 -0
- package/pro/squads/design/scripts/dissect-artifact.cjs +806 -0
- package/pro/squads/design/scripts/validate-a11y-integration.cjs +40 -0
- package/pro/squads/design/scripts/validate-design-squad.py +411 -0
- package/pro/squads/design/squad.yaml +714 -0
- package/pro/squads/design/tasks/a11y-audit.md +340 -0
- package/pro/squads/design/tasks/aria-audit.md +525 -0
- package/pro/squads/design/tasks/atomic-refactor-execute.md +391 -0
- package/pro/squads/design/tasks/atomic-refactor-plan.md +262 -0
- package/pro/squads/design/tasks/audit-reading-experience.md +350 -0
- package/pro/squads/design/tasks/audit-tailwind-config.md +101 -0
- package/pro/squads/design/tasks/bootstrap-shadcn-library.md +96 -0
- package/pro/squads/design/tasks/bundle-audit.md +245 -0
- package/pro/squads/design/tasks/contrast-matrix.md +373 -0
- package/pro/squads/design/tasks/create-doc.md +135 -0
- package/pro/squads/design/tasks/dead-code-detection.md +329 -0
- package/pro/squads/design/tasks/design-compare.md +414 -0
- package/pro/squads/design/tasks/design-process-optimization.md +407 -0
- package/pro/squads/design/tasks/design-review-orchestration.md +99 -0
- package/pro/squads/design/tasks/design-team-scaling.md +407 -0
- package/pro/squads/design/tasks/design-tooling-audit.md +404 -0
- package/pro/squads/design/tasks/design-triage.md +89 -0
- package/pro/squads/design/tasks/designops-maturity-assessment.md +364 -0
- package/pro/squads/design/tasks/designops-metrics-setup.md +465 -0
- package/pro/squads/design/tasks/ds-agentic-audit.md +100 -0
- package/pro/squads/design/tasks/ds-agentic-setup.md +103 -0
- package/pro/squads/design/tasks/ds-audit-codebase.md +273 -0
- package/pro/squads/design/tasks/ds-build-component.md +349 -0
- package/pro/squads/design/tasks/ds-build-mcp-server.md +84 -0
- package/pro/squads/design/tasks/ds-calculate-roi.md +282 -0
- package/pro/squads/design/tasks/ds-compose-molecule.md +106 -0
- package/pro/squads/design/tasks/ds-consolidate-patterns.md +253 -0
- package/pro/squads/design/tasks/ds-context-contract.md +194 -0
- package/pro/squads/design/tasks/ds-critical-eye-compare.md +130 -0
- package/pro/squads/design/tasks/ds-critical-eye-decide.md +139 -0
- package/pro/squads/design/tasks/ds-critical-eye-inventory.md +111 -0
- package/pro/squads/design/tasks/ds-critical-eye-report.md +101 -0
- package/pro/squads/design/tasks/ds-critical-eye-score.md +109 -0
- package/pro/squads/design/tasks/ds-designops.md +99 -0
- package/pro/squads/design/tasks/ds-extend-pattern.md +91 -0
- package/pro/squads/design/tasks/ds-extract-tokens.md +312 -0
- package/pro/squads/design/tasks/ds-figma-pipeline.md +95 -0
- package/pro/squads/design/tasks/ds-fluent-audit.md +105 -0
- package/pro/squads/design/tasks/ds-fluent-build.md +110 -0
- package/pro/squads/design/tasks/ds-generate-ai-metadata.md +81 -0
- package/pro/squads/design/tasks/ds-generate-cursor-rules.md +74 -0
- package/pro/squads/design/tasks/ds-generate-documentation.md +101 -0
- package/pro/squads/design/tasks/ds-generate-migration-strategy.md +331 -0
- package/pro/squads/design/tasks/ds-generate-shock-report.md +323 -0
- package/pro/squads/design/tasks/ds-govern-a11y-compliance.md +93 -0
- package/pro/squads/design/tasks/ds-governance.md +187 -0
- package/pro/squads/design/tasks/ds-health-metrics.md +278 -0
- package/pro/squads/design/tasks/ds-integrate-squad.md +130 -0
- package/pro/squads/design/tasks/ds-integrate-workspace.md +100 -0
- package/pro/squads/design/tasks/ds-legacy-modernization.md +302 -0
- package/pro/squads/design/tasks/ds-mcp-status.md +65 -0
- package/pro/squads/design/tasks/ds-motion-audit.md +118 -0
- package/pro/squads/design/tasks/ds-multi-framework.md +96 -0
- package/pro/squads/design/tasks/ds-parallelization-gate.md +246 -0
- package/pro/squads/design/tasks/ds-query.md +90 -0
- package/pro/squads/design/tasks/ds-rebuild-artifact.md +369 -0
- package/pro/squads/design/tasks/ds-reverse-engineer.md +194 -0
- package/pro/squads/design/tasks/ds-scan-artifact.md +131 -0
- package/pro/squads/design/tasks/ds-setup-design-system.md +297 -0
- package/pro/squads/design/tasks/ds-sync-registry.md +287 -0
- package/pro/squads/design/tasks/ds-theme-multi-brand.md +90 -0
- package/pro/squads/design/tasks/ds-token-modes.md +108 -0
- package/pro/squads/design/tasks/ds-token-w3c-extract.md +105 -0
- package/pro/squads/design/tasks/ds-validate-ai-readiness.md +69 -0
- package/pro/squads/design/tasks/ds-visual-regression.md +130 -0
- package/pro/squads/design/tasks/execute-checklist.md +141 -0
- package/pro/squads/design/tasks/export-design-tokens-dtcg.md +97 -0
- package/pro/squads/design/tasks/f1-apply-foundations.md +154 -0
- package/pro/squads/design/tasks/f1-ingest-figma-tokens.md +130 -0
- package/pro/squads/design/tasks/f1-map-tokens-to-shadcn.md +145 -0
- package/pro/squads/design/tasks/f1-qa-foundations.md +95 -0
- package/pro/squads/design/tasks/f2-adapt-shadcn-components.md +155 -0
- package/pro/squads/design/tasks/f2-ingest-base-components.md +148 -0
- package/pro/squads/design/tasks/f2-qa-base-components.md +98 -0
- package/pro/squads/design/tasks/f3-derive-components.md +145 -0
- package/pro/squads/design/tasks/f3-qa-derived-components.md +101 -0
- package/pro/squads/design/tasks/focus-order-audit.md +450 -0
- package/pro/squads/design/tasks/sb-brownfield-migrate.md +367 -0
- package/pro/squads/design/tasks/sb-brownfield-scan.md +318 -0
- package/pro/squads/design/tasks/sb-configure.md +230 -0
- package/pro/squads/design/tasks/sb-expand-shadcn.md +213 -0
- package/pro/squads/design/tasks/sb-generate-all-stories.md +288 -0
- package/pro/squads/design/tasks/sb-install.md +152 -0
- package/pro/squads/design/tasks/sb-sync-workspace.md +239 -0
- package/pro/squads/design/tasks/sb-verify.md +203 -0
- package/pro/squads/design/tasks/tailwind-upgrade.md +117 -0
- package/pro/squads/design/tasks/token-usage-analytics.md +262 -0
- package/pro/squads/design/tasks/ux-rewrite-sixth-grade.md +82 -0
- package/pro/squads/design/tasks/validate-design-fidelity.md +222 -0
- package/pro/squads/design/templates/agent-template.yaml +46 -0
- package/pro/squads/design/templates/clone-mind-template.md +352 -0
- package/pro/squads/design/templates/component-prompt-injection-tmpl.md +236 -0
- package/pro/squads/design/templates/component-visual-spec-tmpl.md +378 -0
- package/pro/squads/design/templates/critical-eye-cycle-report-tmpl.md +165 -0
- package/pro/squads/design/templates/design-fidelity-report-tmpl.md +155 -0
- package/pro/squads/design/templates/ds-ai-component-metadata-schema-tmpl.json +138 -0
- package/pro/squads/design/templates/ds-artifact-analysis.md +70 -0
- package/pro/squads/design/templates/ds-health-report-tmpl.md +236 -0
- package/pro/squads/design/templates/ds-migration-strategy-tmpl.md +524 -0
- package/pro/squads/design/templates/ds-state-persistence-tmpl.yaml +194 -0
- package/pro/squads/design/templates/ds-tokens-schema-tmpl.yaml +139 -0
- package/pro/squads/design/templates/migration-strategy-tmpl.md +524 -0
- package/pro/squads/design/templates/reading-design-tokens.css +26 -0
- package/pro/squads/design/templates/state-persistence-tmpl.yaml +219 -0
- package/pro/squads/design/templates/tokens-schema-tmpl.yaml +305 -0
- package/pro/squads/design/workflows/agentic-readiness.yaml +83 -0
- package/pro/squads/design/workflows/audit-only.yaml +198 -0
- package/pro/squads/design/workflows/brownfield-complete.yaml +257 -0
- package/pro/squads/design/workflows/critical-eye.yaml +184 -0
- package/pro/squads/design/workflows/dtcg-tokens-governance.yaml +64 -0
- package/pro/squads/design/workflows/foundations-pipeline.yaml +192 -0
- package/pro/squads/design/workflows/greenfield-new.yaml +192 -0
- package/pro/squads/design/workflows/motion-quality.yaml +65 -0
- package/pro/squads/design/workflows/self-healing-workflow.yaml +237 -0
- package/pro/squads/design/workflows/storybook-brownfield-migration.yaml +400 -0
- package/pro/squads/design/workflows/storybook-full-setup.yaml +280 -0
- package/pro/squads/index.js +145 -0
- package/pro/squads/mmos-squad/minds/alex_hormozi/artifacts/ARQUITETURA_COGNITIVA_DE_ALEX_HORMOZI_EXTRA/303/207/303/203O_COMPLETA.md +215 -0
- package/pro/squads/mmos-squad/minds/alex_hormozi/artifacts/A_Rotina_de_Alta_Performance_de_Alex_Hormozi_Arquitetura,_Motiva/303/247/303/265es_e_Replica/303/247/303/243o.md +309 -0
- package/pro/squads/mmos-squad/minds/alex_hormozi/artifacts/O_sistema_completo_de_cria/303/247/303/243o_de_conte/303/272do_de_Alex_Hormozi.md +416 -0
- package/pro/squads/mmos-squad/minds/alex_hormozi/artifacts/Processo_Cria/303/247/303/243o_Conte/303/272do_Hormozi.md +0 -0
- package/pro/squads/mmos-squad/minds/brad_frost/.backup/2026-01-13/artifacts/DECIS/303/225ES_ESTRAT/303/211GICAS_DE_DESIGN_SYSTEMS_(2022_2025).md +1038 -0
- package/pro/squads/mmos-squad/minds/brad_frost/.backup/2026-01-13/artifacts/FRAMEWORK_COMPLETO_DE_IMPLEMENTA/303/207/303/203O_ATOMIC_DESIGN.md +797 -0
- package/pro/squads/mmos-squad/minds/brad_frost/.backup/2026-01-13/artifacts/O_Cemit/303/251rio_de_Design_Systems.md +447 -0
- package/pro/squads/mmos-squad/minds/brad_frost/.backup/2026-01-13/artifacts/PRINC/303/215PIOS_DE_RACIOC/303/215NIO.md +190 -0
- package/pro/squads/mmos-squad/minds/brad_frost/artifacts/DECIS/303/225ES_ESTRAT/303/211GICAS_DE_DESIGN_SYSTEMS_(2022_2025).md +1038 -0
- package/pro/squads/mmos-squad/minds/brad_frost/artifacts/FRAMEWORK_COMPLETO_DE_IMPLEMENTA/303/207/303/203O_ATOMIC_DESIGN.md +797 -0
- package/pro/squads/mmos-squad/minds/brad_frost/artifacts/O_Cemit/303/251rio_de_Design_Systems.md +447 -0
- package/pro/squads/mmos-squad/minds/brad_frost/artifacts/PRINC/303/215PIOS_DE_RACIOC/303/215NIO.md +190 -0
- package/pro/squads/mmos-squad/minds/elon_musk/artifacts/AN/303/201LISE_PSICOM/303/211TRICA_PROFUNDA_ELON_MUSK.md +291 -0
- package/pro/squads/mmos-squad/minds/elon_musk/artifacts/ASSINATURA_LINGU/303/215STICA_ELON_MUSK.md +485 -0
- package/pro/squads/mmos-squad/minds/elon_musk/artifacts/A_Arquitetura_Mental_de_Elon_Musk_Uma_An/303/241lise_Sistem/303/241tica_dos_Frameworks_de_Pensamento.md +907 -0
- package/pro/squads/mmos-squad/minds/elon_musk/artifacts/Dossi/303/252_Estrat/303/251gico_A_Arquitetura_Psicol/303/263gica_de_Elon_Musk.md +252 -0
- package/pro/squads/mmos-squad/minds/elon_musk/artifacts/Os_Padr/303/265es_de_Leitura_de_Elon_Musk_e_Sua_Influ/303/252ncia_Sistem/303/241tica.md +287 -0
- package/pro/squads/mmos-squad/minds/elon_musk/artifacts/Uma_an/303/241lise_psicol/303/263gica_abrangente.md +187 -0
- package/pro/squads/mmos-squad/minds/eugene_schwartz/artifacts/AN/303/201LISE_PSICOM/303/211TRICA_PROFUNDA_EUGENE_M._SCHWARTZ.md +790 -0
- package/pro/squads/mmos-squad/minds/eugene_schwartz/artifacts/An/303/241lise_Completa_Eugene_Schwartz_Arquitetura_Cognitiva_DEEP.md +210 -0
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/5H_EXTRA/303/207/303/203O_COGNITIVA_COMPLETA_PEDRO_VAL/303/211RIO_LOPEZ.md +226 -0
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/AN/303/201LISE_COMPARATIVA_REVISADA_PEDRO_VAL/303/211RIO_LOPEZ.md +246 -0
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/AN/303/201LISE_LINGU/303/215STICA_CARIOCA_PEDRO_VAL/303/211RIO_LOPEZ.md +274 -0
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/AN/303/201LISE_PSICOM/303/211TRICA_DEFINITIVA_PEDRO_VAL/303/211RIO_LOPEZ.md +821 -0
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/AN/303/201LISE_PSICOM/303/211TRICA_PROFUNDA_PEDRO_VAL/303/211RIO.md +1844 -0
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/C/303/201LCULO_DE_RARIDADE_ESTAT/303/215STICA_PEDRO_VAL/303/211RIO_LOPEZ.md +154 -0
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/EXTRA/303/207/303/203O_PEDRO_VAL/303/211RIO.md +237 -0
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/MAPEAMENTO_LINGU/303/215STICO_PROFUNDO.md +161 -0
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/META_AXIOMAS_DE_PEDRO_VAL/303/211RIO.md +256 -0
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/SISTEMA_IMUNOL/303/223GICO_COGNITIVO_PEDRO_VAL/303/211RIO_LOPEZ.md +586 -0
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/SISTEMA_IMUNOL/303/223GICO_COGNITIVO_V2_/342/200/224_CLONE_IA.md +452 -0
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/TABELA_COMPARATIVA_AN/303/201LISE_COMPLETA_DOS_CLONES_IA.md +102 -0
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/WHATSAPP_PADR/303/225ES_LINGU/303/215STICOS_PEDRO_VAL/303/211RIO_LOPEZ.md +286 -0
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/heur/303/255sticas_de_decis/303/243o_e_algoritmos_mentais_/303/272nicos.md +268 -0
- package/pro/squads/mmos-squad/minds/ray_kurzweil/sources/books/PROTOCOLO_COMPLETO_DE_INTERROGA/303/207/303/203O_-_NAVAL_RAVIKANT.md +3624 -0
- package/pro/squads/mmos-squad/minds/steve_jobs/artifacts/FRAMEWORK_COMPLETO_DE_IMPLEMENTA/303/207/303/203O_JOBS.md +488 -0
- package/pro/squads/mmos-squad/minds/steve_jobs/artifacts/Framework_Cabe/303/247a_Steve.md +257 -0
- package/pro/squads/mmos-squad/minds/steve_jobs/artifacts/Relat/303/263rio_Abrangente_sobre_Steve_Jobs_para_Cria/303/247/303/243o_de_Clone_de_IA.md +370 -0
- package/pro/squads/mmos-squad/minds/steve_jobs/artifacts/Steve_Jobs_An/303/241lise_Psicol/303/263gica_Profunda_e_Valida/303/247/303/243o_Comportamental.md +65 -0
- package/pro/squads/squad-creator-pro/.state.json +32 -0
- package/pro/squads/squad-creator-pro/CHANGELOG.md +275 -0
- package/pro/squads/squad-creator-pro/HEADLINE.md +3 -0
- package/pro/squads/squad-creator-pro/README.md +1059 -0
- package/pro/squads/squad-creator-pro/agents/oalanicolas.md +438 -0
- package/pro/squads/squad-creator-pro/agents/pedro-valerio.md +449 -0
- package/pro/squads/squad-creator-pro/agents/squad-chief.md +1651 -0
- package/pro/squads/squad-creator-pro/agents/thiago_finch.md +976 -0
- package/pro/squads/squad-creator-pro/assessments/axioma-assessment-wf-create-squad.yaml +325 -0
- package/pro/squads/squad-creator-pro/checklists/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/checklists/agent-depth-checklist.md +244 -0
- package/pro/squads/squad-creator-pro/checklists/agent-quality-gate.md +434 -0
- package/pro/squads/squad-creator-pro/checklists/create-agent-checklist.md +184 -0
- package/pro/squads/squad-creator-pro/checklists/create-squad-checklist.md +219 -0
- package/pro/squads/squad-creator-pro/checklists/create-workflow-checklist.md +224 -0
- package/pro/squads/squad-creator-pro/checklists/deep-research-quality.md +506 -0
- package/pro/squads/squad-creator-pro/checklists/executor-matrix-checklist.md +260 -0
- package/pro/squads/squad-creator-pro/checklists/mental-model-integration-checklist.md +95 -0
- package/pro/squads/squad-creator-pro/checklists/mind-validation.md +374 -0
- package/pro/squads/squad-creator-pro/checklists/quality-gate-checklist.md +385 -0
- package/pro/squads/squad-creator-pro/checklists/smoke-test-agent.md +313 -0
- package/pro/squads/squad-creator-pro/checklists/sop-validation.md +250 -0
- package/pro/squads/squad-creator-pro/checklists/squad-checklist.md +1014 -0
- package/pro/squads/squad-creator-pro/checklists/squad-overview-checklist.md +393 -0
- package/pro/squads/squad-creator-pro/checklists/task-anatomy-checklist.md +626 -0
- package/pro/squads/squad-creator-pro/config/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/config/axioma-validator.yaml +371 -0
- package/pro/squads/squad-creator-pro/config/heuristics.yaml +753 -0
- package/pro/squads/squad-creator-pro/config/model-routing.yaml +693 -0
- package/pro/squads/squad-creator-pro/config/quality-gates.yaml +415 -0
- package/pro/squads/squad-creator-pro/config/scoring-rubric.yaml +199 -0
- package/pro/squads/squad-creator-pro/config/squad-config.yaml +165 -0
- package/pro/squads/squad-creator-pro/config/task-anatomy.yaml +263 -0
- package/pro/squads/squad-creator-pro/config/veto-conditions.yaml +455 -0
- package/pro/squads/squad-creator-pro/config.yaml +35 -0
- package/pro/squads/squad-creator-pro/data/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/data/an-anchor-words.yaml +78 -0
- package/pro/squads/squad-creator-pro/data/an-clone-anti-patterns.yaml +148 -0
- package/pro/squads/squad-creator-pro/data/an-clone-validation.yaml +190 -0
- package/pro/squads/squad-creator-pro/data/an-diagnostic-framework.yaml +164 -0
- package/pro/squads/squad-creator-pro/data/an-output-examples.yaml +102 -0
- package/pro/squads/squad-creator-pro/data/an-source-signals.yaml +98 -0
- package/pro/squads/squad-creator-pro/data/an-source-tiers.yaml +119 -0
- package/pro/squads/squad-creator-pro/data/best-practices.md +986 -0
- package/pro/squads/squad-creator-pro/data/core-heuristics.md +510 -0
- package/pro/squads/squad-creator-pro/data/decision-heuristics-framework.md +620 -0
- package/pro/squads/squad-creator-pro/data/executor-decision-tree.md +774 -0
- package/pro/squads/squad-creator-pro/data/executor-matrix-framework.md +441 -0
- package/pro/squads/squad-creator-pro/data/fusion-decision-points-analysis.md +397 -0
- package/pro/squads/squad-creator-pro/data/fusion-executor-analysis.md +677 -0
- package/pro/squads/squad-creator-pro/data/hybridops-patterns.md +1351 -0
- package/pro/squads/squad-creator-pro/data/internal-infrastructure-library.yaml +99 -0
- package/pro/squads/squad-creator-pro/data/mental-model-task-matrix.yaml +692 -0
- package/pro/squads/squad-creator-pro/data/pipeline-patterns.md +352 -0
- package/pro/squads/squad-creator-pro/data/pm-best-practices.md +440 -0
- package/pro/squads/squad-creator-pro/data/pv-anchor-words.yaml +64 -0
- package/pro/squads/squad-creator-pro/data/pv-authenticity-markers.yaml +200 -0
- package/pro/squads/squad-creator-pro/data/pv-meta-axiomas.yaml +162 -0
- package/pro/squads/squad-creator-pro/data/pv-output-examples.yaml +342 -0
- package/pro/squads/squad-creator-pro/data/pv-workflow-validation.yaml +318 -0
- package/pro/squads/squad-creator-pro/data/quality-dimensions-framework.md +405 -0
- package/pro/squads/squad-creator-pro/data/squad-analytics-guide.md +252 -0
- package/pro/squads/squad-creator-pro/data/squad-kb.md +987 -0
- package/pro/squads/squad-creator-pro/data/squad-registry.yaml +841 -0
- package/pro/squads/squad-creator-pro/data/squad-type-definitions.yaml +578 -0
- package/pro/squads/squad-creator-pro/data/tier-system-framework.md +475 -0
- package/pro/squads/squad-creator-pro/data/tool-evaluation-framework.md +847 -0
- package/pro/squads/squad-creator-pro/data/tool-registry.yaml +700 -0
- package/pro/squads/squad-creator-pro/docs/ADR-001-model-tier-qualification.md +344 -0
- package/pro/squads/squad-creator-pro/docs/AGENT-COLLABORATION.md +609 -0
- package/pro/squads/squad-creator-pro/docs/ARCHITECTURE-DIAGRAMS.md +1466 -0
- package/pro/squads/squad-creator-pro/docs/COMMANDS.md +544 -0
- package/pro/squads/squad-creator-pro/docs/CONCEPTS.md +584 -0
- package/pro/squads/squad-creator-pro/docs/FAQ.md +731 -0
- package/pro/squads/squad-creator-pro/docs/HITL-FLOW.md +255 -0
- package/pro/squads/squad-creator-pro/docs/MIGRATION-PLAN-AGENT-CONFORMITY.md +861 -0
- package/pro/squads/squad-creator-pro/docs/MIGRATION-ROADMAP-HYBRIDOPS.md +1161 -0
- package/pro/squads/squad-creator-pro/docs/MODEL-TIER-QUALIFICATION.md +337 -0
- package/pro/squads/squad-creator-pro/docs/PATTERN-LIBRARY.md +333 -0
- package/pro/squads/squad-creator-pro/docs/PEDRO-VALERIO-ARCHITECTURE.md +456 -0
- package/pro/squads/squad-creator-pro/docs/POR-ONDE-COMECAR.md +210 -0
- package/pro/squads/squad-creator-pro/docs/QUICK-START.md +205 -0
- package/pro/squads/squad-creator-pro/docs/RFC-001-deterministic-refactoring.md +463 -0
- package/pro/squads/squad-creator-pro/docs/TOOL-RECOMMENDATIONS.md +379 -0
- package/pro/squads/squad-creator-pro/docs/TROUBLESHOOTING.md +412 -0
- package/pro/squads/squad-creator-pro/docs/TUTORIAL-COMPLETO.md +458 -0
- package/pro/squads/squad-creator-pro/docs/optimize-v4-proposal.md +354 -0
- package/pro/squads/squad-creator-pro/docs/session-report-2026-02-01.md +411 -0
- package/pro/squads/squad-creator-pro/docs/sop-extraction-process.md +674 -0
- package/pro/squads/squad-creator-pro/docs/squad-chief-agent-flow.md +981 -0
- package/pro/squads/squad-creator-pro/docs/squad-creation-pipeline-workflow.md +937 -0
- package/pro/squads/squad-creator-pro/docs/task-optimization-framework.md +229 -0
- package/pro/squads/squad-creator-pro/docs/validation-report-2026-02-01.md +439 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/artifacts/HANDOFF_PROTOCOL.md +269 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/artifacts/SOURCE_CLASSIFICATION.md +258 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_001.md +166 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_002.md +206 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_003.md +239 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_004.md +153 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_005.md +161 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_006.md +166 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_007.md +190 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_008.md +191 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_009.md +234 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_010.md +240 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/artifacts/Assinatura_Linguistica.md +355 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/artifacts/META_AXIOMAS.md +277 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_BS_001.md +144 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_001.md +174 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PM_001.md +191 -0
- package/pro/squads/squad-creator-pro/package.json +26 -0
- package/pro/squads/squad-creator-pro/protocols/ai-first-governance.md +63 -0
- package/pro/squads/squad-creator-pro/scripts/README.md +246 -0
- package/pro/squads/squad-creator-pro/scripts/__pycache__/dependency_check.cpython-314.pyc +0 -0
- package/pro/squads/squad-creator-pro/scripts/__pycache__/inventory.cpython-314.pyc +0 -0
- package/pro/squads/squad-creator-pro/scripts/__pycache__/naming_validator.cpython-314.pyc +0 -0
- package/pro/squads/squad-creator-pro/scripts/__pycache__/quality_gate.cpython-314.pyc +0 -0
- package/pro/squads/squad-creator-pro/scripts/__pycache__/scoring.cpython-314.pyc +0 -0
- package/pro/squads/squad-creator-pro/scripts/__pycache__/yaml_validator.cpython-314.pyc +0 -0
- package/pro/squads/squad-creator-pro/scripts/assess-sources.sh +443 -0
- package/pro/squads/squad-creator-pro/scripts/checklist_validator.py +451 -0
- package/pro/squads/squad-creator-pro/scripts/clone-review.sh +394 -0
- package/pro/squads/squad-creator-pro/scripts/coherence-validator.py +836 -0
- package/pro/squads/squad-creator-pro/scripts/create-agent-preflight.py +243 -0
- package/pro/squads/squad-creator-pro/scripts/cross-provider/compare-results.js +281 -0
- package/pro/squads/squad-creator-pro/scripts/cross-provider/cross-provider-runner.js +462 -0
- package/pro/squads/squad-creator-pro/scripts/dependency_check.py +333 -0
- package/pro/squads/squad-creator-pro/scripts/fidelity-score.sh +519 -0
- package/pro/squads/squad-creator-pro/scripts/generate-squad-greeting.js +426 -0
- package/pro/squads/squad-creator-pro/scripts/generate-squad-guide.js +558 -0
- package/pro/squads/squad-creator-pro/scripts/inventory.py +269 -0
- package/pro/squads/squad-creator-pro/scripts/lib/config-loader.js +151 -0
- package/pro/squads/squad-creator-pro/scripts/model-tier-validator.cjs +369 -0
- package/pro/squads/squad-creator-pro/scripts/model-usage-logger.cjs +245 -0
- package/pro/squads/squad-creator-pro/scripts/modernization-score.sh +308 -0
- package/pro/squads/squad-creator-pro/scripts/naming_validator.py +299 -0
- package/pro/squads/squad-creator-pro/scripts/on-specialist-complete.py +98 -0
- package/pro/squads/squad-creator-pro/scripts/quality_gate.py +413 -0
- package/pro/squads/squad-creator-pro/scripts/refresh-registry.py +270 -0
- package/pro/squads/squad-creator-pro/scripts/save-session-metrics.py +136 -0
- package/pro/squads/squad-creator-pro/scripts/scaffold-squad.cjs +281 -0
- package/pro/squads/squad-creator-pro/scripts/scoring.py +395 -0
- package/pro/squads/squad-creator-pro/scripts/security_scanner.py +378 -0
- package/pro/squads/squad-creator-pro/scripts/squad-analytics.py +585 -0
- package/pro/squads/squad-creator-pro/scripts/squad-context-loader.cjs +205 -0
- package/pro/squads/squad-creator-pro/scripts/squad-state-manager.cjs +451 -0
- package/pro/squads/squad-creator-pro/scripts/squad-workflow-runner.cjs +471 -0
- package/pro/squads/squad-creator-pro/scripts/squad_utils.py +261 -0
- package/pro/squads/squad-creator-pro/scripts/sync-ide-command.py +590 -0
- package/pro/squads/squad-creator-pro/scripts/tests/__init__.py +1 -0
- package/pro/squads/squad-creator-pro/scripts/tests/conftest.py +309 -0
- package/pro/squads/squad-creator-pro/scripts/tests/run_bash_tests.sh +29 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_assess_sources.sh +216 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_checklist_validator.py +396 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_clone_review.sh +239 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_coherence_validator.py +212 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_dependency_check.py +361 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_fidelity_score.sh +298 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_inventory.py +307 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_modernization_score.sh +211 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_naming_validator.py +373 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_quality_gate.py +280 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_refresh_registry.py +338 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_scoring.py +366 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_security_scanner.py +354 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_squad_analytics.py +450 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_validate_clone.sh +252 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_yaml_validator.py +412 -0
- package/pro/squads/squad-creator-pro/scripts/validate-agent-output.py +115 -0
- package/pro/squads/squad-creator-pro/scripts/validate-all.sh +49 -0
- package/pro/squads/squad-creator-pro/scripts/validate-squad-structure.py +535 -0
- package/pro/squads/squad-creator-pro/scripts/validate-squad.sh +944 -0
- package/pro/squads/squad-creator-pro/scripts/yaml_validator.py +528 -0
- package/pro/squads/squad-creator-pro/skills/squad.md +301 -0
- package/pro/squads/squad-creator-pro/squad.yaml +36 -0
- package/pro/squads/squad-creator-pro/tasks/CHANGELOG.md +80 -0
- package/pro/squads/squad-creator-pro/tasks/an-assess-sources.md +78 -0
- package/pro/squads/squad-creator-pro/tasks/an-clone-review.md +104 -0
- package/pro/squads/squad-creator-pro/tasks/an-compare-outputs.md +354 -0
- package/pro/squads/squad-creator-pro/tasks/an-design-clone.md +79 -0
- package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone.md +87 -0
- package/pro/squads/squad-creator-pro/tasks/an-extract-dna.md +90 -0
- package/pro/squads/squad-creator-pro/tasks/an-extract-framework.md +100 -0
- package/pro/squads/squad-creator-pro/tasks/an-fidelity-score.md +108 -0
- package/pro/squads/squad-creator-pro/tasks/an-validate-clone.md +96 -0
- package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources.md +349 -0
- package/pro/squads/squad-creator-pro/tasks/collect-sources.md +533 -0
- package/pro/squads/squad-creator-pro/tasks/create-agent.md +768 -0
- package/pro/squads/squad-creator-pro/tasks/create-documentation.md +258 -0
- package/pro/squads/squad-creator-pro/tasks/create-pipeline.md +296 -0
- package/pro/squads/squad-creator-pro/tasks/create-squad.md +933 -0
- package/pro/squads/squad-creator-pro/tasks/create-task.md +1148 -0
- package/pro/squads/squad-creator-pro/tasks/create-template.md +474 -0
- package/pro/squads/squad-creator-pro/tasks/create-workflow.md +720 -0
- package/pro/squads/squad-creator-pro/tasks/deconstruct.md +167 -0
- package/pro/squads/squad-creator-pro/tasks/deep-research-pre-agent.md +566 -0
- package/pro/squads/squad-creator-pro/tasks/detect-squad-context.md +81 -0
- package/pro/squads/squad-creator-pro/tasks/discover-tools.md +944 -0
- package/pro/squads/squad-creator-pro/tasks/extract-implicit.md +352 -0
- package/pro/squads/squad-creator-pro/tasks/extract-knowledge.md +577 -0
- package/pro/squads/squad-creator-pro/tasks/extract-sop.md +320 -0
- package/pro/squads/squad-creator-pro/tasks/extract-thinking-dna.md +653 -0
- package/pro/squads/squad-creator-pro/tasks/extract-voice-dna.md +619 -0
- package/pro/squads/squad-creator-pro/tasks/find-0.8.md +222 -0
- package/pro/squads/squad-creator-pro/tasks/install-commands.md +373 -0
- package/pro/squads/squad-creator-pro/tasks/lookup-model.md +78 -0
- package/pro/squads/squad-creator-pro/tasks/migrate-workflows-to-yaml.md +259 -0
- package/pro/squads/squad-creator-pro/tasks/next-squad.md +487 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-workflow.md +851 -0
- package/pro/squads/squad-creator-pro/tasks/optimize.md +1082 -0
- package/pro/squads/squad-creator-pro/tasks/parallel-discovery.md +58 -0
- package/pro/squads/squad-creator-pro/tasks/pv-audit.md +244 -0
- package/pro/squads/squad-creator-pro/tasks/pv-axioma-assessment-wf-clone-mind.yaml +256 -0
- package/pro/squads/squad-creator-pro/tasks/pv-axioma-assessment.md +83 -0
- package/pro/squads/squad-creator-pro/tasks/pv-modernization-score.md +83 -0
- package/pro/squads/squad-creator-pro/tasks/qa-after-creation.md +475 -0
- package/pro/squads/squad-creator-pro/tasks/qualify-task.md +265 -0
- package/pro/squads/squad-creator-pro/tasks/reexecute-squad-phase.md +64 -0
- package/pro/squads/squad-creator-pro/tasks/refresh-registry.md +403 -0
- package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing.md +167 -0
- package/pro/squads/squad-creator-pro/tasks/squad-analytics.md +265 -0
- package/pro/squads/squad-creator-pro/tasks/squad-fusion.md +817 -0
- package/pro/squads/squad-creator-pro/tasks/squad-overview.md +683 -0
- package/pro/squads/squad-creator-pro/tasks/sync-ide-command.md +392 -0
- package/pro/squads/squad-creator-pro/tasks/update-mind.md +428 -0
- package/pro/squads/squad-creator-pro/tasks/upgrade-squad.md +919 -0
- package/pro/squads/squad-creator-pro/tasks/validate-extraction.md +209 -0
- package/pro/squads/squad-creator-pro/tasks/validate-final-artifacts.md +80 -0
- package/pro/squads/squad-creator-pro/tasks/validate-squad.md +1385 -0
- package/pro/squads/squad-creator-pro/templates/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/templates/agent-flow-doc-tmpl.md +512 -0
- package/pro/squads/squad-creator-pro/templates/agent-tmpl.md +697 -0
- package/pro/squads/squad-creator-pro/templates/config-tmpl.yaml +352 -0
- package/pro/squads/squad-creator-pro/templates/handoff-insumos-tmpl.yaml +112 -0
- package/pro/squads/squad-creator-pro/templates/orchestrator-tmpl.md +74 -0
- package/pro/squads/squad-creator-pro/templates/pipeline-progress-tmpl.py +373 -0
- package/pro/squads/squad-creator-pro/templates/pipeline-runner-tmpl.py +444 -0
- package/pro/squads/squad-creator-pro/templates/pipeline-state-tmpl.py +413 -0
- package/pro/squads/squad-creator-pro/templates/pop-extractor-prompt.md +549 -0
- package/pro/squads/squad-creator-pro/templates/quality-dashboard-tmpl.md +286 -0
- package/pro/squads/squad-creator-pro/templates/quality-gate-tmpl.yaml +589 -0
- package/pro/squads/squad-creator-pro/templates/readme-tmpl.md +231 -0
- package/pro/squads/squad-creator-pro/templates/research-output-tmpl.md +625 -0
- package/pro/squads/squad-creator-pro/templates/research-prompt-tmpl.md +479 -0
- package/pro/squads/squad-creator-pro/templates/squad-prd-tmpl.md +464 -0
- package/pro/squads/squad-creator-pro/templates/squad-readme-tmpl.md +170 -0
- package/pro/squads/squad-creator-pro/templates/story-create-agent-tmpl.md +284 -0
- package/pro/squads/squad-creator-pro/templates/task-tmpl.md +461 -0
- package/pro/squads/squad-creator-pro/templates/template-tmpl.yaml +227 -0
- package/pro/squads/squad-creator-pro/templates/workflow-doc-tmpl.md +860 -0
- package/pro/squads/squad-creator-pro/templates/workflow-tmpl.yaml +394 -0
- package/pro/squads/squad-creator-pro/test-cases/BATCH-PROGRESS.md +268 -0
- package/pro/squads/squad-creator-pro/test-cases/QUALIFICATION-DASHBOARD.yaml +13 -0
- package/pro/squads/squad-creator-pro/test-cases/_template.yaml +147 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/ASSESSMENT-SUMMARY.md +275 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/ASSESSMENT_SUMMARY.md +140 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/CHECKPOINT_MATRIX.md +202 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/EXECUTION-REPORT.md +413 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/EXECUTION_NOTES.md +358 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/README-v2.2.2.md +299 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/README.md +320 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/TEST-REPORT-v2.1.md +351 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/VERIFICATION-CHECKLIST.txt +247 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/formal-qualification-report.yaml +389 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-output.yaml +366 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.1-output.yaml +452 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.2.1-output.yaml +281 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.2.2-output.yaml +332 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/opus-baseline.yaml +517 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/qualification-report.yaml +213 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/test-case.yaml +69 -0
- package/pro/squads/squad-creator-pro/test-cases/an-clone-review/haiku-round-1.yaml +213 -0
- package/pro/squads/squad-creator-pro/test-cases/an-clone-review/opus-baseline.yaml +566 -0
- package/pro/squads/squad-creator-pro/test-cases/an-clone-review/qualification-report.yaml +82 -0
- package/pro/squads/squad-creator-pro/test-cases/an-design-clone/test-case.yaml +102 -0
- package/pro/squads/squad-creator-pro/test-cases/an-extract-dna/test-case.yaml +105 -0
- package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/haiku-round-1.yaml +262 -0
- package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/opus-baseline.yaml +266 -0
- package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/qualification-report.yaml +94 -0
- package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/haiku-round-1.yaml +282 -0
- package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/opus-baseline.yaml +470 -0
- package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/qualification-report.yaml +106 -0
- package/pro/squads/squad-creator-pro/test-cases/collect-sources/test-case.yaml +105 -0
- package/pro/squads/squad-creator-pro/test-cases/create-task/test-case.yaml +104 -0
- package/pro/squads/squad-creator-pro/test-cases/cross-provider/DASHBOARD.yaml +11 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-audit/test-case.yaml +106 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/haiku-output.yaml +209 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/opus-baseline.yaml +96 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/sonnet-output.yaml +30 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/test-case.yaml +129 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/comparison-round-1.yaml +242 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/haiku-round-1.yaml +393 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/opus-baseline.yaml +488 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/qualification-report.yaml +74 -0
- package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/haiku-round-1.yaml +292 -0
- package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/opus-baseline.yaml +603 -0
- package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/qualification-report.yaml +97 -0
- package/pro/squads/squad-creator-pro/test-cases/smoke-test-model-routing/test-case.yaml +100 -0
- package/pro/squads/squad-creator-pro/test-cases/upgrade-squad/test-case.yaml +106 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/comparison-round-1.yaml +223 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-1-MINE.yaml +36 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-1.yaml +193 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-2.yaml +303 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-3-v4-task.yaml +149 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/opus-baseline.yaml +529 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/opus-round-3-v4-task.yaml +132 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/qualification-report.yaml +104 -0
- package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/haiku-output-v2-calibrated.yaml +200 -0
- package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/haiku-output.yaml +183 -0
- package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/opus-baseline.yaml +112 -0
- package/pro/squads/squad-creator-pro/utils/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/workflows/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/workflows/create-squad.yaml +348 -0
- package/pro/squads/squad-creator-pro/workflows/modules/module-discovery.yaml +16 -0
- package/pro/squads/squad-creator-pro/workflows/modules/module-integration.yaml +16 -0
- package/pro/squads/squad-creator-pro/workflows/modules/module-quality-gates.yaml +15 -0
- package/pro/squads/squad-creator-pro/workflows/validate-squad.yaml +582 -0
- package/pro/squads/squad-creator-pro/workflows/wf-auto-acquire-sources.yaml +518 -0
- package/pro/squads/squad-creator-pro/workflows/wf-brownfield-upgrade-squad.yaml +46 -0
- package/pro/squads/squad-creator-pro/workflows/wf-clone-mind.yaml +521 -0
- package/pro/squads/squad-creator-pro/workflows/wf-context-aware-create-squad.yaml +47 -0
- package/pro/squads/squad-creator-pro/workflows/wf-create-squad.yaml +1619 -0
- package/pro/squads/squad-creator-pro/workflows/wf-cross-provider-qualification.yaml +711 -0
- package/pro/squads/squad-creator-pro/workflows/wf-discover-tools.yaml +1439 -0
- package/pro/squads/squad-creator-pro/workflows/wf-extraction-pipeline.yaml +486 -0
- package/pro/squads/squad-creator-pro/workflows/wf-mind-research-loop.yaml +668 -0
- package/pro/squads/squad-creator-pro/workflows/wf-model-tier-qualification.yaml +800 -0
- package/pro/squads/squad-creator-pro/workflows/wf-optimize-squad.yaml +684 -0
- package/pro/squads/squad-creator-pro/workflows/wf-research-then-create-agent.yaml +921 -0
- package/pro/squads/squad-creator-pro/workflows/wf-squad-fusion.yaml +1684 -0
- package/scripts/check-markdown-links.py +352 -352
- package/scripts/dashboard-parallel-dev.sh +0 -0
- package/scripts/dashboard-parallel-phase3.sh +0 -0
- package/scripts/dashboard-parallel-phase4.sh +0 -0
- package/scripts/install-monitor-hooks.sh +0 -0
- package/.claude/hooks/code-intel-pretool.cjs +0 -107
- package/docs/guides/aios-workflows/README.md +0 -247
- package/docs/guides/aios-workflows/bob-orchestrator-workflow.md +0 -1536
- package/scripts/glue/README.md +0 -355
- package/scripts/glue/compose-agent-prompt.cjs +0 -362
|
@@ -0,0 +1,1619 @@
|
|
|
1
|
+
# wf-create-squad.yaml
|
|
2
|
+
# Master Workflow: Complete Squad Creation Orchestration
|
|
3
|
+
# Version: 2.7
|
|
4
|
+
# Last Updated: 2026-02-10
|
|
5
|
+
|
|
6
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
7
|
+
# WORKFLOW METADATA
|
|
8
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
9
|
+
|
|
10
|
+
workflow:
|
|
11
|
+
id: wf-create-squad
|
|
12
|
+
name: "Create Complete Squad"
|
|
13
|
+
version: "2.6"
|
|
14
|
+
purpose: "Orchestrate the complete creation of an AIOS squad from research to validation"
|
|
15
|
+
orchestrator: "@squad-chief"
|
|
16
|
+
mode: "yolo" # yolo | quality | hybrid
|
|
17
|
+
governance_protocol: "squads/squad-creator-pro/protocols/ai-first-governance.md"
|
|
18
|
+
ci_policy:
|
|
19
|
+
blocking_deterministic_only: true
|
|
20
|
+
semantic_checks_in_checkpoints: true
|
|
21
|
+
|
|
22
|
+
routing:
|
|
23
|
+
preflight_task: "detect-squad-context"
|
|
24
|
+
routes:
|
|
25
|
+
greenfield_or_resume: "wf-context-aware-create-squad"
|
|
26
|
+
brownfield_upgrade: "wf-brownfield-upgrade-squad"
|
|
27
|
+
note: "Use detect-squad-context before starting this legacy orchestration path."
|
|
28
|
+
|
|
29
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
30
|
+
# SPECIALIST AGENTS
|
|
31
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
32
|
+
|
|
33
|
+
specialists:
|
|
34
|
+
mind_cloning:
|
|
35
|
+
agent: "@oalanicolas"
|
|
36
|
+
role: "Mind Cloning Architect"
|
|
37
|
+
invoke_in_phases: ["phase_3"]
|
|
38
|
+
responsibilities:
|
|
39
|
+
- "Curadoria de fontes (ouro vs bronze)"
|
|
40
|
+
- "Extração de Voice DNA + Thinking DNA"
|
|
41
|
+
- "Validação de fidelidade (85-97%)"
|
|
42
|
+
- "Playbook + Framework + Swipe File trinity"
|
|
43
|
+
|
|
44
|
+
process_design:
|
|
45
|
+
agent: "@pedro-valerio"
|
|
46
|
+
role: "Process Absolutist"
|
|
47
|
+
invoke_in_phases: ["phase_5"]
|
|
48
|
+
responsibilities:
|
|
49
|
+
- "Validar se workflows impedem caminhos errados"
|
|
50
|
+
- "Criar veto conditions em quality gates"
|
|
51
|
+
- "Auditar checkpoints para gaps de tempo"
|
|
52
|
+
- "Garantir fluxo unidirecional"
|
|
53
|
+
|
|
54
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
55
|
+
# YOLO MODE CONFIGURATION (RUN AUTONOMOUSLY, STOP ONLY WHEN DATA MISSING)
|
|
56
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
57
|
+
|
|
58
|
+
yolo_mode:
|
|
59
|
+
philosophy: |
|
|
60
|
+
"Run autonomously until you hit a wall.
|
|
61
|
+
Only stop when data is genuinely missing.
|
|
62
|
+
Warn about quality trade-offs, but don't block."
|
|
63
|
+
|
|
64
|
+
auto_proceed_when:
|
|
65
|
+
- "10+ fontes web encontradas por mind"
|
|
66
|
+
- "Triangulação possível (3+ fontes por claim principal)"
|
|
67
|
+
- "Quality gates passam automaticamente"
|
|
68
|
+
- "Usuário escolheu YOLO mode no pre-flight"
|
|
69
|
+
|
|
70
|
+
must_stop_when:
|
|
71
|
+
- "< 5 fontes encontradas para um mind (muito obscuro)"
|
|
72
|
+
- "Usuário disse que tem materiais mas não forneceu path"
|
|
73
|
+
- "Quality gate CRÍTICO falha sem recovery possível"
|
|
74
|
+
- "Usuário marcou que conhece expert (DNA validation obrigatória)"
|
|
75
|
+
|
|
76
|
+
quality_warning: |
|
|
77
|
+
═══════════════════════════════════════════════════════════════════
|
|
78
|
+
⚠️ AVISO DE QUALIDADE - YOLO MODE
|
|
79
|
+
═══════════════════════════════════════════════════════════════════
|
|
80
|
+
|
|
81
|
+
COM materiais próprios (livros, PDFs, cursos):
|
|
82
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
83
|
+
│ • Fidelidade: 85-95% │
|
|
84
|
+
│ • Frameworks: Completos │
|
|
85
|
+
│ • Voice DNA: Preciso (de fontes originais) │
|
|
86
|
+
│ • Contradições: Capturadas (aparecem em long-form) │
|
|
87
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
88
|
+
|
|
89
|
+
APENAS com pesquisa web:
|
|
90
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
91
|
+
│ • Fidelidade: 60-75% │
|
|
92
|
+
│ • Frameworks: Parciais (só o que é público) │
|
|
93
|
+
│ • Voice DNA: Aproximado │
|
|
94
|
+
│ • Contradições: Podem faltar (não aparecem em highlights) │
|
|
95
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
96
|
+
|
|
97
|
+
"Materiais próprios = CLONE. Web only = APROXIMAÇÃO."
|
|
98
|
+
═══════════════════════════════════════════════════════════════════
|
|
99
|
+
|
|
100
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
101
|
+
# PRE-FLIGHT: AVISO INICIAL DO QUE VAI PRECISAR
|
|
102
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
103
|
+
|
|
104
|
+
pre_flight:
|
|
105
|
+
trigger: "Início do workflow (ANTES de tudo)"
|
|
106
|
+
blocking: true # Precisa de resposta para continuar
|
|
107
|
+
purpose: "Informar usuário sobre o que vai precisar e escolher modo"
|
|
108
|
+
|
|
109
|
+
message: |
|
|
110
|
+
═══════════════════════════════════════════════════════════════════
|
|
111
|
+
📋 PRE-FLIGHT: CRIAÇÃO DE SQUAD
|
|
112
|
+
═══════════════════════════════════════════════════════════════════
|
|
113
|
+
|
|
114
|
+
Vou criar um squad de {domain}.
|
|
115
|
+
|
|
116
|
+
PARA MÁXIMA QUALIDADE, idealmente você teria:
|
|
117
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
118
|
+
│ 📚 POR CADA EXPERT: │
|
|
119
|
+
│ • 2-3 livros principais (PDF ou referência) │
|
|
120
|
+
│ • 5-10 entrevistas/podcasts (links ou transcrições) │
|
|
121
|
+
│ • Artigos/newsletters escritos pelo expert │
|
|
122
|
+
│ • Cursos/workshops (se tiver acesso) │
|
|
123
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
124
|
+
|
|
125
|
+
⏱️ TEMPO ESTIMADO:
|
|
126
|
+
• Com materiais: 4-5 horas
|
|
127
|
+
• Só web: 6-8 horas (mais pesquisa, menos qualidade)
|
|
128
|
+
|
|
129
|
+
═══════════════════════════════════════════════════════════════════
|
|
130
|
+
|
|
131
|
+
questions:
|
|
132
|
+
- id: "execution_mode"
|
|
133
|
+
question: "Como você quer executar?"
|
|
134
|
+
required: true
|
|
135
|
+
options:
|
|
136
|
+
- id: "yolo"
|
|
137
|
+
label: "🚀 YOLO MODE - Não tenho materiais"
|
|
138
|
+
description: "Rodo automaticamente com pesquisa web. Paro só se algo crítico faltar."
|
|
139
|
+
quality: "60-75%"
|
|
140
|
+
interaction: "Mínima (só aprovação final)"
|
|
141
|
+
|
|
142
|
+
- id: "quality"
|
|
143
|
+
label: "💎 QUALITY MODE - Tenho materiais para fornecer"
|
|
144
|
+
description: "Você fornece materiais. Valido DNA extraído com você."
|
|
145
|
+
quality: "85-95%"
|
|
146
|
+
interaction: "Moderada (coleta + validação)"
|
|
147
|
+
|
|
148
|
+
- id: "hybrid"
|
|
149
|
+
label: "🔀 HYBRID MODE - Tenho materiais de alguns"
|
|
150
|
+
description: "Mix: alguns experts com materiais, outros com web."
|
|
151
|
+
quality: "Variável por expert"
|
|
152
|
+
interaction: "Por expert"
|
|
153
|
+
|
|
154
|
+
- id: "expert_knowledge"
|
|
155
|
+
question: "Você conhece PROFUNDAMENTE algum expert do domínio?"
|
|
156
|
+
description: "Se sim, vou pedir para validar o DNA extraído"
|
|
157
|
+
required: true
|
|
158
|
+
options:
|
|
159
|
+
- id: "yes"
|
|
160
|
+
label: "Sim - Posso validar"
|
|
161
|
+
action: "CP3 (DNA Validation) será OBRIGATÓRIO"
|
|
162
|
+
|
|
163
|
+
- id: "no"
|
|
164
|
+
label: "Não - Confio na extração"
|
|
165
|
+
action: "CP3 será AUTOMÁTICO"
|
|
166
|
+
|
|
167
|
+
- id: "time_commitment"
|
|
168
|
+
question: "Quanto tempo você tem para interações?"
|
|
169
|
+
required: true
|
|
170
|
+
options:
|
|
171
|
+
- id: "minimal"
|
|
172
|
+
label: "Mínimo - Só me chame se for CRÍTICO"
|
|
173
|
+
checkpoints: ["CP6 only"]
|
|
174
|
+
|
|
175
|
+
- id: "moderate"
|
|
176
|
+
label: "Moderado - Checkpoints principais"
|
|
177
|
+
checkpoints: ["CP1", "CP3", "CP6"]
|
|
178
|
+
|
|
179
|
+
- id: "high"
|
|
180
|
+
label: "Alto - Validar cada etapa"
|
|
181
|
+
checkpoints: ["ALL"]
|
|
182
|
+
|
|
183
|
+
decision_matrix:
|
|
184
|
+
yolo_minimal:
|
|
185
|
+
checkpoints_active: ["CP6"]
|
|
186
|
+
auto_proceed: true
|
|
187
|
+
stops_for: ["Critical failures only"]
|
|
188
|
+
|
|
189
|
+
yolo_moderate:
|
|
190
|
+
checkpoints_active: ["CP1", "CP6"]
|
|
191
|
+
auto_proceed: true
|
|
192
|
+
stops_for: ["Mind selection", "Final approval"]
|
|
193
|
+
|
|
194
|
+
quality_any:
|
|
195
|
+
checkpoints_active: ["CP_MATERIALS", "CP1", "CP3", "CP4", "CP6"]
|
|
196
|
+
auto_proceed: false
|
|
197
|
+
stops_for: ["Materials collection", "DNA validation"]
|
|
198
|
+
|
|
199
|
+
hybrid_any:
|
|
200
|
+
checkpoints_active: ["CP_MATERIALS per mind", "CP3 for known experts", "CP6"]
|
|
201
|
+
auto_proceed: "per mind based on materials"
|
|
202
|
+
|
|
203
|
+
post_pre_flight: |
|
|
204
|
+
{quality_warning}
|
|
205
|
+
|
|
206
|
+
Modo selecionado: {execution_mode}
|
|
207
|
+
Checkpoints ativos: {active_checkpoints}
|
|
208
|
+
|
|
209
|
+
Posso começar?
|
|
210
|
+
|
|
211
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
212
|
+
# PHASE: MATERIALS COLLECTION (QUALITY/HYBRID MODE ONLY)
|
|
213
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
214
|
+
|
|
215
|
+
phase_materials:
|
|
216
|
+
id: phase_materials
|
|
217
|
+
name: "MATERIALS COLLECTION"
|
|
218
|
+
condition: "mode == 'quality' OR mode == 'hybrid'"
|
|
219
|
+
trigger: "After minds are identified (post Phase 1)"
|
|
220
|
+
blocking: true
|
|
221
|
+
|
|
222
|
+
purpose: |
|
|
223
|
+
Coletar materiais do usuário ANTES de iniciar extração.
|
|
224
|
+
Materiais do usuário = Tier 0 (máxima confiança).
|
|
225
|
+
|
|
226
|
+
prompt_template: |
|
|
227
|
+
═══════════════════════════════════════════════════════════════════
|
|
228
|
+
📚 COLETA DE MATERIAIS
|
|
229
|
+
═══════════════════════════════════════════════════════════════════
|
|
230
|
+
|
|
231
|
+
Identifiquei {minds_count} elite minds para seu squad:
|
|
232
|
+
{minds_list}
|
|
233
|
+
|
|
234
|
+
PARA CADA EXPERT, me diga se você tem materiais:
|
|
235
|
+
|
|
236
|
+
{for_each_mind}
|
|
237
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
238
|
+
│ {mind_name} │
|
|
239
|
+
│ │
|
|
240
|
+
│ Você tem materiais deste expert? │
|
|
241
|
+
│ □ Sim - Path/links: _______________________________ │
|
|
242
|
+
│ □ Não - Use pesquisa web │
|
|
243
|
+
│ │
|
|
244
|
+
│ Tipos que você tem: │
|
|
245
|
+
│ □ Livros (PDF) │
|
|
246
|
+
│ □ Transcrições de cursos │
|
|
247
|
+
│ □ Entrevistas/podcasts │
|
|
248
|
+
│ □ Artigos/newsletters │
|
|
249
|
+
│ □ Outros: ______________ │
|
|
250
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
251
|
+
{end_for_each}
|
|
252
|
+
|
|
253
|
+
Quando terminar, me avise para prosseguir.
|
|
254
|
+
═══════════════════════════════════════════════════════════════════
|
|
255
|
+
|
|
256
|
+
processing:
|
|
257
|
+
for_each_response:
|
|
258
|
+
if_has_materials:
|
|
259
|
+
- action: "Index materials as Tier 0"
|
|
260
|
+
- action: "Validate files exist/accessible"
|
|
261
|
+
- action: "Add to sources_inventory"
|
|
262
|
+
|
|
263
|
+
if_no_materials:
|
|
264
|
+
- action: "Mark mind for web-only research"
|
|
265
|
+
- action: "Warn about reduced quality for this mind"
|
|
266
|
+
|
|
267
|
+
output:
|
|
268
|
+
materials_inventory:
|
|
269
|
+
per_mind:
|
|
270
|
+
- mind_name: ""
|
|
271
|
+
has_user_materials: true/false
|
|
272
|
+
materials_path: ""
|
|
273
|
+
material_types: []
|
|
274
|
+
expected_quality: "85-95% | 60-75%"
|
|
275
|
+
|
|
276
|
+
quality_standard:
|
|
277
|
+
agents: "300+ lines, voice_dna, output_examples"
|
|
278
|
+
workflows: "500+ lines, 3+ phases, checkpoints"
|
|
279
|
+
tasks: "500+ lines complex, 300+ simple, Task Anatomy (8 fields)"
|
|
280
|
+
overall_score: ">= 7.0"
|
|
281
|
+
|
|
282
|
+
frameworks_used:
|
|
283
|
+
- id: "tier-system-framework"
|
|
284
|
+
file: "data/tier-system-framework.md"
|
|
285
|
+
applied_in: ["phase_2", "phase_3"]
|
|
286
|
+
|
|
287
|
+
- id: "quality-dimensions-framework"
|
|
288
|
+
file: "data/quality-dimensions-framework.md"
|
|
289
|
+
applied_in: ["phase_1", "phase_5"]
|
|
290
|
+
|
|
291
|
+
- id: "decision-heuristics-framework"
|
|
292
|
+
file: "data/decision-heuristics-framework.md"
|
|
293
|
+
applied_in: ["phase_0", "phase_1", "phase_3", "phase_5"]
|
|
294
|
+
|
|
295
|
+
- id: "executor-matrix-framework"
|
|
296
|
+
file: "data/executor-matrix-framework.md"
|
|
297
|
+
applied_in: ["phase_3"]
|
|
298
|
+
|
|
299
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
300
|
+
# CONFIG FILES (Updated 2026-02-10 - Added AN_* heuristics/vetos)
|
|
301
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
302
|
+
config_files:
|
|
303
|
+
- id: "heuristics-engine"
|
|
304
|
+
file: "config/heuristics.yaml"
|
|
305
|
+
version: "2.0"
|
|
306
|
+
purpose: "6 heuristics: SC_HE_001-003 (PV) + AN_HE_001-003 (AN) with veto mappings"
|
|
307
|
+
agents:
|
|
308
|
+
pedro_valerio: ["SC_HE_001", "SC_HE_002", "SC_HE_003"]
|
|
309
|
+
oalanicolas: ["AN_HE_001", "AN_HE_002", "AN_HE_003"]
|
|
310
|
+
applied_in: ["phase_0", "phase_3", "phase_5"]
|
|
311
|
+
|
|
312
|
+
- id: "veto-conditions"
|
|
313
|
+
file: "config/veto-conditions.yaml"
|
|
314
|
+
version: "2.0"
|
|
315
|
+
purpose: "15 veto conditions: SC_VC_001-010 (PV) + AN_VC_001-005 (AN)"
|
|
316
|
+
agents:
|
|
317
|
+
pedro_valerio: ["SC_VC_001", "SC_VC_002", "SC_VC_003", "SC_VC_004", "SC_VC_005",
|
|
318
|
+
"SC_VC_006", "SC_VC_007", "SC_VC_008", "SC_VC_009", "SC_VC_010"]
|
|
319
|
+
oalanicolas: ["AN_VC_001", "AN_VC_002", "AN_VC_003", "AN_VC_004", "AN_VC_005"]
|
|
320
|
+
applied_in: ["phase_0", "phase_1", "phase_3", "phase_5"]
|
|
321
|
+
|
|
322
|
+
- id: "axioma-validator"
|
|
323
|
+
file: "config/axioma-validator.yaml"
|
|
324
|
+
purpose: "10 axioma dimensions (D1-D10) for quality scoring"
|
|
325
|
+
applied_in: ["phase_5"]
|
|
326
|
+
|
|
327
|
+
- id: "quality-gates"
|
|
328
|
+
file: "config/quality-gates.yaml"
|
|
329
|
+
purpose: "10 quality gates (QG-SC-1.1 to 6.2) for checkpoints"
|
|
330
|
+
applied_in: ["phase_0", "phase_1", "phase_3", "phase_4", "phase_5"]
|
|
331
|
+
|
|
332
|
+
- id: "task-anatomy"
|
|
333
|
+
file: "config/task-anatomy.yaml"
|
|
334
|
+
purpose: "8 mandatory fields for task validation"
|
|
335
|
+
applied_in: ["phase_3", "phase_5"]
|
|
336
|
+
|
|
337
|
+
validation_script: "scripts/coherence-validator.py"
|
|
338
|
+
pattern_library: "docs/PATTERN-LIBRARY.md"
|
|
339
|
+
|
|
340
|
+
estimated_duration:
|
|
341
|
+
incremental: "60-90 minutes"
|
|
342
|
+
yolo: "30-45 minutes"
|
|
343
|
+
|
|
344
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
345
|
+
# INPUTS
|
|
346
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
347
|
+
|
|
348
|
+
inputs:
|
|
349
|
+
required:
|
|
350
|
+
- name: domain
|
|
351
|
+
type: string
|
|
352
|
+
description: "Domain expertise area (e.g., 'copywriting', 'legal', 'data')"
|
|
353
|
+
example: "copywriting"
|
|
354
|
+
|
|
355
|
+
- name: purpose
|
|
356
|
+
type: string
|
|
357
|
+
description: "What the squad should accomplish"
|
|
358
|
+
example: "Create high-converting sales pages and marketing copy"
|
|
359
|
+
|
|
360
|
+
- name: target_user
|
|
361
|
+
type: string
|
|
362
|
+
description: "Who will use this squad"
|
|
363
|
+
example: "Marketing teams at SaaS companies"
|
|
364
|
+
|
|
365
|
+
- name: use_cases
|
|
366
|
+
type: list
|
|
367
|
+
description: "3-5 key use cases"
|
|
368
|
+
example:
|
|
369
|
+
- "Sales pages"
|
|
370
|
+
- "Email sequences"
|
|
371
|
+
- "Ad copy"
|
|
372
|
+
- "Landing pages"
|
|
373
|
+
|
|
374
|
+
optional:
|
|
375
|
+
- name: mode
|
|
376
|
+
type: enum
|
|
377
|
+
values: ["incremental", "yolo"]
|
|
378
|
+
default: "incremental"
|
|
379
|
+
description: "Workflow execution mode"
|
|
380
|
+
|
|
381
|
+
- name: squad_name
|
|
382
|
+
type: string
|
|
383
|
+
description: "Override default squad name (kebab-case)"
|
|
384
|
+
example: "copy"
|
|
385
|
+
|
|
386
|
+
- name: existing_research
|
|
387
|
+
type: path
|
|
388
|
+
description: "Path to existing research if available"
|
|
389
|
+
example: "docs/research/copywriting-research.md"
|
|
390
|
+
|
|
391
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
392
|
+
# PRECONDITIONS
|
|
393
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
394
|
+
|
|
395
|
+
preconditions:
|
|
396
|
+
system:
|
|
397
|
+
- "squad-chief agent is active"
|
|
398
|
+
- "WebSearch tool available for research"
|
|
399
|
+
- "Write permissions for squads/ directory"
|
|
400
|
+
- "All 4 frameworks loaded and accessible"
|
|
401
|
+
|
|
402
|
+
user:
|
|
403
|
+
- "Clear domain understanding"
|
|
404
|
+
- "Defined use cases (3-5)"
|
|
405
|
+
- "Available for checkpoints (incremental mode)"
|
|
406
|
+
|
|
407
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
408
|
+
# PHASES
|
|
409
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
410
|
+
|
|
411
|
+
phases:
|
|
412
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
413
|
+
# PHASE 0: DISCOVERY
|
|
414
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
415
|
+
- id: phase_0
|
|
416
|
+
name: "DISCOVERY"
|
|
417
|
+
purpose: "Validate domain viability and define squad structure"
|
|
418
|
+
duration: "5-10 minutes"
|
|
419
|
+
mode: "interactive"
|
|
420
|
+
|
|
421
|
+
steps:
|
|
422
|
+
- id: step_0_0
|
|
423
|
+
name: "Scope Complexity Check (PRD Gate)"
|
|
424
|
+
action: "Map workflows and check if PRD is required"
|
|
425
|
+
heuristic:
|
|
426
|
+
id: SC_SCP_001
|
|
427
|
+
name: "Scope Complexity Gate"
|
|
428
|
+
blocking: true
|
|
429
|
+
reference: "data/decision-heuristics-framework.md#10"
|
|
430
|
+
workflow:
|
|
431
|
+
- "Map ALL workflows the squad needs to handle"
|
|
432
|
+
- "Count total workflows"
|
|
433
|
+
- "Estimate agents needed"
|
|
434
|
+
- "Check for existing similar squads"
|
|
435
|
+
thresholds:
|
|
436
|
+
workflows_require_prd: 10
|
|
437
|
+
agents_require_prd: 8
|
|
438
|
+
decision:
|
|
439
|
+
if_workflows_gte_10:
|
|
440
|
+
action: "VETO - PRD Required"
|
|
441
|
+
message: |
|
|
442
|
+
═══════════════════════════════════════════════════════════════════
|
|
443
|
+
❌ ESCOPO GRANDE DEMAIS PARA CRIAÇÃO DIRETA
|
|
444
|
+
═══════════════════════════════════════════════════════════════════
|
|
445
|
+
|
|
446
|
+
Mapeei {workflows_count} workflows.
|
|
447
|
+
Threshold para criação direta: < 10 workflows.
|
|
448
|
+
|
|
449
|
+
AÇÃO NECESSÁRIA:
|
|
450
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
451
|
+
│ 1. Criar PRD: docs/projects/{domain}/prd.md │
|
|
452
|
+
│ 2. Dividir em Epics (por Tier ou funcionalidade) │
|
|
453
|
+
│ 3. Criar Stories com acceptance criteria │
|
|
454
|
+
│ 4. Implementar por fases │
|
|
455
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
456
|
+
|
|
457
|
+
Benefícios do PRD:
|
|
458
|
+
• Nenhum workflow esquecido
|
|
459
|
+
• Roadmap claro de implementação
|
|
460
|
+
• Validação por Epic
|
|
461
|
+
• Possibilidade de pausa/retomada
|
|
462
|
+
|
|
463
|
+
Quer que eu crie o PRD agora? (Sim/Não)
|
|
464
|
+
═══════════════════════════════════════════════════════════════════
|
|
465
|
+
next_action: "Create PRD using templates/squad-prd-tmpl.md"
|
|
466
|
+
reference_files:
|
|
467
|
+
- "data/pm-best-practices.md"
|
|
468
|
+
- "templates/squad-prd-tmpl.md"
|
|
469
|
+
|
|
470
|
+
# ═══════════════════════════════════════════════════════════════════
|
|
471
|
+
# CRITICAL: Story Generation Rules for Agents
|
|
472
|
+
# ═══════════════════════════════════════════════════════════════════
|
|
473
|
+
story_generation_rules:
|
|
474
|
+
agent_stories:
|
|
475
|
+
template: "templates/story-create-agent-tmpl.md"
|
|
476
|
+
rule: |
|
|
477
|
+
❌ NUNCA especificar agent YAML inline na story
|
|
478
|
+
✅ SEMPRE referenciar workflow de criação
|
|
479
|
+
|
|
480
|
+
wrong_pattern: |
|
|
481
|
+
# Story especifica o agent completo (200+ linhas de YAML)
|
|
482
|
+
# Executor apenas copia → Agent genérico/fraco
|
|
483
|
+
|
|
484
|
+
correct_pattern: |
|
|
485
|
+
# Story referencia workflow
|
|
486
|
+
workflow: "wf-clone-mind.yaml" | "create-agent.md"
|
|
487
|
+
inputs: [agent_id, domain, sources_path]
|
|
488
|
+
quality_gates: [SC_AGT_001, SC_AGT_002, SC_AGT_003]
|
|
489
|
+
# Executor EXECUTA workflow → Agent com profundidade
|
|
490
|
+
|
|
491
|
+
quality_gates_required:
|
|
492
|
+
- "SC_AGT_001: Structure (300+ lines)"
|
|
493
|
+
- "SC_AGT_002: Content (all levels present)"
|
|
494
|
+
- "SC_AGT_003: Depth (frameworks with theory)"
|
|
495
|
+
- "SMOKE_TEST: 3/3 behavioral tests"
|
|
496
|
+
|
|
497
|
+
rationale: |
|
|
498
|
+
Stories com especificação inline geram agents fracos porque:
|
|
499
|
+
1. Pulam pesquisa de fontes
|
|
500
|
+
2. Pulam extração de thinking DNA
|
|
501
|
+
3. Pulam extração de voice DNA
|
|
502
|
+
4. Não passam no depth gate (SC_AGT_003)
|
|
503
|
+
|
|
504
|
+
Referência de qualidade: squads com agents de 1500+ lines com profundidade
|
|
505
|
+
|
|
506
|
+
if_agents_gte_8:
|
|
507
|
+
action: "VETO - Roadmap Required"
|
|
508
|
+
message: "Muitos agents ({agents_count}) - precisa roadmap"
|
|
509
|
+
else:
|
|
510
|
+
action: "PROCEED"
|
|
511
|
+
message: "Escopo adequado para criação direta"
|
|
512
|
+
output:
|
|
513
|
+
workflows_mapped: "count"
|
|
514
|
+
agents_needed: "count"
|
|
515
|
+
prd_required: "true|false"
|
|
516
|
+
decision: "proceed|prd_required"
|
|
517
|
+
|
|
518
|
+
- id: step_0_1
|
|
519
|
+
name: "Validate Domain Viability"
|
|
520
|
+
action: "Assess if domain has sufficient documented frameworks"
|
|
521
|
+
depends_on: "step_0_0.decision == 'proceed'"
|
|
522
|
+
heuristic:
|
|
523
|
+
id: SC_DSC_001
|
|
524
|
+
name: "Discovery Complete"
|
|
525
|
+
blocking: true
|
|
526
|
+
criteria:
|
|
527
|
+
documented_methodologies: ">= 2"
|
|
528
|
+
elite_practitioners: ">= 3"
|
|
529
|
+
validation_possible: true
|
|
530
|
+
output:
|
|
531
|
+
viability_score: "0-10"
|
|
532
|
+
recommendation: "proceed | limited_scope | abort"
|
|
533
|
+
|
|
534
|
+
- id: step_0_2
|
|
535
|
+
name: "Check Existing Squads"
|
|
536
|
+
action: "Search for similar squads that might overlap"
|
|
537
|
+
search_paths:
|
|
538
|
+
- "squads/*"
|
|
539
|
+
- ".claude/agents/*"
|
|
540
|
+
decision:
|
|
541
|
+
if_80_percent_overlap: "suggest extend existing"
|
|
542
|
+
if_partial_overlap: "warn about integration"
|
|
543
|
+
if_no_overlap: "proceed"
|
|
544
|
+
|
|
545
|
+
- id: step_0_3
|
|
546
|
+
name: "Define squad structure"
|
|
547
|
+
action: "Elicit squad metadata"
|
|
548
|
+
elicit:
|
|
549
|
+
- squad_name: "kebab-case identifier"
|
|
550
|
+
- pack_title: "Human-readable title"
|
|
551
|
+
- version: "1.0.0"
|
|
552
|
+
- entry_agent: "Primary activation agent id (default: {squad_name}-chief)"
|
|
553
|
+
- slash_prefix: "camelCase"
|
|
554
|
+
- pattern_prefix: "2-letter code"
|
|
555
|
+
output:
|
|
556
|
+
pack_config: "Initial config.yaml content"
|
|
557
|
+
|
|
558
|
+
checkpoint:
|
|
559
|
+
id: CP_PHASE_0
|
|
560
|
+
name: "Discovery Complete"
|
|
561
|
+
blocking: true
|
|
562
|
+
criteria:
|
|
563
|
+
- viability_score: ">= 6"
|
|
564
|
+
- squad_name: "defined"
|
|
565
|
+
- no_duplicate: true
|
|
566
|
+
on_fail:
|
|
567
|
+
action: "Present issues, suggest alternatives"
|
|
568
|
+
approval:
|
|
569
|
+
incremental: "Human approval required"
|
|
570
|
+
yolo: "Auto-approve if criteria met"
|
|
571
|
+
|
|
572
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
573
|
+
# PHASE 0.5: DEEP TOOL DISCOVERY (Parallel Sub-Agents)
|
|
574
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
575
|
+
- id: phase_0_5
|
|
576
|
+
name: "DEEP TOOL DISCOVERY"
|
|
577
|
+
purpose: "Launch parallel sub-agents for deep research of MCPs, APIs, CLIs, Libraries, GitHub projects"
|
|
578
|
+
duration: "15-25 minutes"
|
|
579
|
+
mode: "autonomous"
|
|
580
|
+
depends_on: ["phase_0"]
|
|
581
|
+
|
|
582
|
+
philosophy: |
|
|
583
|
+
"A squad should leverage ALL available tools to deliver maximum value
|
|
584
|
+
with minimum user intervention."
|
|
585
|
+
|
|
586
|
+
This phase launches 5 SPECIALIZED SUB-AGENTS in PARALLEL:
|
|
587
|
+
1. MCP Discovery Agent - Model Context Protocol servers
|
|
588
|
+
2. API Discovery Agent - REST/GraphQL services
|
|
589
|
+
3. CLI Discovery Agent - Command-line tools
|
|
590
|
+
4. Library Discovery Agent - Python/Node packages
|
|
591
|
+
5. GitHub Project Discovery Agent - Reusable components
|
|
592
|
+
|
|
593
|
+
Each agent performs DEEP SEARCH in its category, then results are
|
|
594
|
+
synthesized into a decision matrix (Impact vs Effort).
|
|
595
|
+
|
|
596
|
+
execute:
|
|
597
|
+
workflow: "workflows/wf-discover-tools.yaml"
|
|
598
|
+
inputs:
|
|
599
|
+
domain: "{domain}"
|
|
600
|
+
use_cases: "{use_cases}"
|
|
601
|
+
budget_tier: "{from pre_flight or default: low_cost}"
|
|
602
|
+
search_depth: "standard" # quick | standard | exhaustive
|
|
603
|
+
|
|
604
|
+
parallel_execution:
|
|
605
|
+
enabled: true
|
|
606
|
+
agents:
|
|
607
|
+
- name: "MCP Discovery Agent"
|
|
608
|
+
searches: ["modelcontextprotocol/servers", "github topics:mcp-server", "glama.ai/mcp"]
|
|
609
|
+
|
|
610
|
+
- name: "API Discovery Agent"
|
|
611
|
+
searches: ["RapidAPI", "PublicAPIs", "ProgrammableWeb"]
|
|
612
|
+
|
|
613
|
+
- name: "CLI Discovery Agent"
|
|
614
|
+
searches: ["awesome-cli-apps", "homebrew", "npm cli tools"]
|
|
615
|
+
|
|
616
|
+
- name: "Library Discovery Agent"
|
|
617
|
+
searches: ["PyPI", "npm", "GitHub SDKs"]
|
|
618
|
+
|
|
619
|
+
- name: "GitHub Project Discovery Agent"
|
|
620
|
+
searches: ["github topics", "github collections", "awesome lists"]
|
|
621
|
+
|
|
622
|
+
synthesis:
|
|
623
|
+
scoring_dimensions:
|
|
624
|
+
impact:
|
|
625
|
+
- capability_coverage: 0.20
|
|
626
|
+
- automation_potential: 0.15
|
|
627
|
+
- quality_improvement: 0.15
|
|
628
|
+
- uniqueness: 0.10
|
|
629
|
+
effort:
|
|
630
|
+
- installation_complexity: 0.10
|
|
631
|
+
- integration_effort: 0.10
|
|
632
|
+
- maintenance_burden: 0.10
|
|
633
|
+
- cost: 0.10
|
|
634
|
+
|
|
635
|
+
decision_matrix:
|
|
636
|
+
quick_wins: "impact >= 7 AND effort_score >= 7"
|
|
637
|
+
strategic: "impact >= 7 AND effort_score < 7"
|
|
638
|
+
fill_ins: "impact < 7 AND effort_score >= 7"
|
|
639
|
+
avoid: "impact < 7 AND effort_score < 7"
|
|
640
|
+
|
|
641
|
+
outputs:
|
|
642
|
+
- "squads/{squad_name}/docs/tool-discovery-report.md"
|
|
643
|
+
- "squads/{squad_name}/docs/tool-integration-plan.md"
|
|
644
|
+
- "squads/{squad_name}/data/capability-tools.yaml"
|
|
645
|
+
- "data/tool-registry.yaml (updated)"
|
|
646
|
+
|
|
647
|
+
checkpoint:
|
|
648
|
+
id: CP_PHASE_0_5
|
|
649
|
+
name: "Deep Tool Discovery Complete"
|
|
650
|
+
blocking: true # BLOCKING - Tools are essential for squad value
|
|
651
|
+
heuristic: SC_TLD_001
|
|
652
|
+
criteria:
|
|
653
|
+
# Execution criteria
|
|
654
|
+
- parallel_agents_executed: ">= 3 of 5" # At least 3 agents must complete
|
|
655
|
+
- total_tools_discovered: ">= 10"
|
|
656
|
+
# Quality criteria
|
|
657
|
+
- decision_matrix_generated: true
|
|
658
|
+
- integration_plan_created: true
|
|
659
|
+
- reports_generated: true
|
|
660
|
+
# Registry criteria
|
|
661
|
+
- capability_mapping_created: true
|
|
662
|
+
- tool_registry_updated: true
|
|
663
|
+
veto_conditions:
|
|
664
|
+
- all_agents_failed: "VETO - Retry required"
|
|
665
|
+
- zero_tools_found: "VETO - Domain may be too niche, manual research needed"
|
|
666
|
+
output:
|
|
667
|
+
tools_discovered: "count"
|
|
668
|
+
quick_wins: "count"
|
|
669
|
+
strategic: "count"
|
|
670
|
+
decision_matrix: "generated"
|
|
671
|
+
report_path: "squads/{squad_name}/docs/tool-discovery-report.md"
|
|
672
|
+
integration_plan_path: "squads/{squad_name}/docs/tool-integration-plan.md"
|
|
673
|
+
|
|
674
|
+
yolo_mode_behavior: |
|
|
675
|
+
In YOLO mode:
|
|
676
|
+
- Execute all 5 parallel agents
|
|
677
|
+
- Generate decision matrix automatically
|
|
678
|
+
- Add quick_wins to squad dependencies
|
|
679
|
+
- Log summary (skip detailed presentation)
|
|
680
|
+
- Continue to Phase 1 immediately
|
|
681
|
+
|
|
682
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
683
|
+
# PHASE 1: RESEARCH
|
|
684
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
685
|
+
- id: phase_1
|
|
686
|
+
name: "RESEARCH"
|
|
687
|
+
purpose: "Identify elite minds with documented frameworks"
|
|
688
|
+
duration: "15-30 minutes"
|
|
689
|
+
mode: "autonomous"
|
|
690
|
+
depends_on: ["phase_0", "phase_0_5"]
|
|
691
|
+
|
|
692
|
+
steps:
|
|
693
|
+
- id: step_1_1
|
|
694
|
+
name: "Execute Mind Research Loop"
|
|
695
|
+
action: "Run iterative research workflow"
|
|
696
|
+
execute:
|
|
697
|
+
workflow: "workflows/mind-research-loop.md"
|
|
698
|
+
inputs:
|
|
699
|
+
domain: "{domain}"
|
|
700
|
+
min_minds: 5
|
|
701
|
+
max_minds: 10
|
|
702
|
+
iterations: "3-5"
|
|
703
|
+
output:
|
|
704
|
+
minds_list: "Curated list of elite minds"
|
|
705
|
+
frameworks_per_mind: "Documented frameworks"
|
|
706
|
+
tier_preliminary: "Initial tier classification"
|
|
707
|
+
|
|
708
|
+
- id: step_1_2
|
|
709
|
+
name: "Validate Research Quality"
|
|
710
|
+
action: "Apply quality dimensions to research output"
|
|
711
|
+
framework: "quality-dimensions-framework"
|
|
712
|
+
dimensions:
|
|
713
|
+
- accuracy: "Minds are real with verifiable work"
|
|
714
|
+
- coherence: "Frameworks complement each other"
|
|
715
|
+
- strategic_alignment: "Cover the use cases"
|
|
716
|
+
heuristic:
|
|
717
|
+
id: SC_RES_001
|
|
718
|
+
name: "Research Quality Gate"
|
|
719
|
+
blocking: true
|
|
720
|
+
threshold: 7.0
|
|
721
|
+
veto_conditions:
|
|
722
|
+
- minds_count: "< 3"
|
|
723
|
+
- no_tier_0: true
|
|
724
|
+
|
|
725
|
+
checkpoint:
|
|
726
|
+
id: CP_PHASE_1
|
|
727
|
+
name: "Research Complete"
|
|
728
|
+
blocking: true
|
|
729
|
+
criteria:
|
|
730
|
+
- minds_found: ">= 5"
|
|
731
|
+
- all_have_frameworks: true
|
|
732
|
+
- tier_0_covered: true
|
|
733
|
+
- use_cases_coverage: ">= 80%"
|
|
734
|
+
output:
|
|
735
|
+
minds_table: |
|
|
736
|
+
| Mind | Tier | Frameworks | Use Cases |
|
|
737
|
+
|------|------|------------|-----------|
|
|
738
|
+
| ... | ... | ... | ... |
|
|
739
|
+
|
|
740
|
+
fallback:
|
|
741
|
+
on_minds_below_5:
|
|
742
|
+
action: "Expand search to adjacent domains"
|
|
743
|
+
retry_with:
|
|
744
|
+
- "Related experts in broader {domain}"
|
|
745
|
+
- "Historical figures in {domain}"
|
|
746
|
+
- "Practitioners vs theorists mix"
|
|
747
|
+
max_iterations: 2
|
|
748
|
+
on_no_tier_0:
|
|
749
|
+
action: "Research for diagnostic/analysis experts"
|
|
750
|
+
search_queries:
|
|
751
|
+
- '"{domain}" diagnostic framework"'
|
|
752
|
+
- '"{domain}" assessment methodology"'
|
|
753
|
+
on_retry_fail: |
|
|
754
|
+
ESCALATE: Cannot find 5+ elite minds for {domain}.
|
|
755
|
+
→ Present available minds (even if < 5)
|
|
756
|
+
→ Ask user for manual expert suggestions
|
|
757
|
+
→ Proceed with reduced scope if user approves
|
|
758
|
+
|
|
759
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
760
|
+
# PHASE 2: ARCHITECTURE
|
|
761
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
762
|
+
- id: phase_2
|
|
763
|
+
name: "ARCHITECTURE"
|
|
764
|
+
purpose: "Design squad structure and relationships"
|
|
765
|
+
duration: "10-20 minutes"
|
|
766
|
+
mode:
|
|
767
|
+
incremental: "interactive"
|
|
768
|
+
yolo: "autonomous"
|
|
769
|
+
depends_on: ["phase_1"]
|
|
770
|
+
|
|
771
|
+
steps:
|
|
772
|
+
- id: step_2_1
|
|
773
|
+
name: "Define Tier Structure"
|
|
774
|
+
action: "Assign minds to tiers using tier-system-framework"
|
|
775
|
+
framework: "tier-system-framework"
|
|
776
|
+
structure:
|
|
777
|
+
orchestrator:
|
|
778
|
+
required: true
|
|
779
|
+
purpose: "Coordinates all tiers, routes requests"
|
|
780
|
+
tier_0:
|
|
781
|
+
required: true
|
|
782
|
+
purpose: "Diagnosis, analysis, classification"
|
|
783
|
+
tier_1:
|
|
784
|
+
purpose: "Masters with proven results"
|
|
785
|
+
tier_2:
|
|
786
|
+
purpose: "Systematizers, framework creators"
|
|
787
|
+
tier_3:
|
|
788
|
+
purpose: "Format/channel specialists"
|
|
789
|
+
tools:
|
|
790
|
+
purpose: "Validation, checklists, calculators"
|
|
791
|
+
|
|
792
|
+
- id: step_2_2
|
|
793
|
+
name: "Plan Agent Relationships"
|
|
794
|
+
action: "Define handoffs and synergies"
|
|
795
|
+
define:
|
|
796
|
+
handoff_map: "Who hands off to whom"
|
|
797
|
+
synergies: "Agents that work well together"
|
|
798
|
+
conflicts: "Agents that shouldn't be combined"
|
|
799
|
+
|
|
800
|
+
- id: step_2_3
|
|
801
|
+
name: "Design Quality Gates"
|
|
802
|
+
action: "Define validation points between phases"
|
|
803
|
+
template:
|
|
804
|
+
- id: "QG-001"
|
|
805
|
+
transition: "Input → Tier 0"
|
|
806
|
+
type: "routing"
|
|
807
|
+
- id: "QG-002"
|
|
808
|
+
transition: "Tier 0 → Tier 1"
|
|
809
|
+
type: "blocking"
|
|
810
|
+
- id: "QG-003"
|
|
811
|
+
transition: "Execution → Output"
|
|
812
|
+
type: "blocking"
|
|
813
|
+
|
|
814
|
+
checkpoint:
|
|
815
|
+
id: CP_PHASE_2
|
|
816
|
+
name: "Architecture Approved"
|
|
817
|
+
blocking: true
|
|
818
|
+
criteria:
|
|
819
|
+
- tier_0_defined: true
|
|
820
|
+
- orchestrator_planned: true
|
|
821
|
+
- quality_gates: ">= 3"
|
|
822
|
+
- handoff_map: "complete"
|
|
823
|
+
approval:
|
|
824
|
+
incremental: "Human review architecture"
|
|
825
|
+
yolo: "Auto-approve if criteria met"
|
|
826
|
+
|
|
827
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
828
|
+
# PHASE 3: CREATION
|
|
829
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
830
|
+
- id: phase_3
|
|
831
|
+
name: "CREATION"
|
|
832
|
+
purpose: "Create all squad components"
|
|
833
|
+
duration: "30-60 minutes"
|
|
834
|
+
mode: "autonomous"
|
|
835
|
+
depends_on: ["phase_2"]
|
|
836
|
+
|
|
837
|
+
steps:
|
|
838
|
+
- id: step_3_1
|
|
839
|
+
name: "Create Directory Structure"
|
|
840
|
+
action: "Initialize squad directories"
|
|
841
|
+
create:
|
|
842
|
+
base: "squads/{squad_name}/"
|
|
843
|
+
subdirs:
|
|
844
|
+
- agents/
|
|
845
|
+
- tasks/
|
|
846
|
+
- workflows/
|
|
847
|
+
- templates/
|
|
848
|
+
- checklists/
|
|
849
|
+
- data/
|
|
850
|
+
- docs/
|
|
851
|
+
- outputs/
|
|
852
|
+
files:
|
|
853
|
+
- config.yaml
|
|
854
|
+
- README.md
|
|
855
|
+
- outputs/README.md
|
|
856
|
+
|
|
857
|
+
- id: step_3_2
|
|
858
|
+
name: "Clone Mind & Create Agents"
|
|
859
|
+
action: "Execute full mind cloning pipeline for each mind"
|
|
860
|
+
specialist: "@oalanicolas"
|
|
861
|
+
specialist_guidance: |
|
|
862
|
+
Apply DNA Mental™ 8-layer architecture.
|
|
863
|
+
Curate sources (ouro > bronze).
|
|
864
|
+
Extract Playbook + Framework + Swipe File trinity.
|
|
865
|
+
Validate fidelity 85%+ for quality mode.
|
|
866
|
+
execute:
|
|
867
|
+
workflow: "workflows/wf-clone-mind.yaml"
|
|
868
|
+
for_each: "minds_list"
|
|
869
|
+
inputs_per_mind:
|
|
870
|
+
mind_name: "{mind.name}"
|
|
871
|
+
domain: "{domain}"
|
|
872
|
+
user_materials: "{materials_inventory[mind.name]}"
|
|
873
|
+
sub_phases:
|
|
874
|
+
- "Phase 0: Source Collection (collect-sources.md)"
|
|
875
|
+
- "Phase 1: Voice DNA Extraction (extract-voice-dna.md)"
|
|
876
|
+
- "Phase 2: Thinking DNA Extraction (extract-thinking-dna.md)"
|
|
877
|
+
- "Phase 3: Synthesis → mind_dna_complete.yaml"
|
|
878
|
+
final_step:
|
|
879
|
+
task: "create-agent.md"
|
|
880
|
+
input: "mind_dna_complete.yaml"
|
|
881
|
+
quality_gate:
|
|
882
|
+
id: SC_AGT_001
|
|
883
|
+
blocking: true
|
|
884
|
+
retry_on_fail: true
|
|
885
|
+
|
|
886
|
+
conditional_checkpoints:
|
|
887
|
+
yolo_mode:
|
|
888
|
+
- "Auto-proceed unless sources < 5"
|
|
889
|
+
quality_mode:
|
|
890
|
+
- "CP_SOURCES: Validate sources per mind"
|
|
891
|
+
- "CP_DNA: Validate DNA if user knows expert"
|
|
892
|
+
hybrid_mode:
|
|
893
|
+
- "Per-mind based on materials_inventory"
|
|
894
|
+
|
|
895
|
+
fallback:
|
|
896
|
+
on_clone_fail:
|
|
897
|
+
action: "Isolate failed mind, continue with remaining"
|
|
898
|
+
recovery_path:
|
|
899
|
+
- "Log failure reason (sources_insufficient | dna_incomplete | smoke_test_fail)"
|
|
900
|
+
- "Create placeholder agent with reduced fidelity warning"
|
|
901
|
+
- "Add to remediation_queue for later improvement"
|
|
902
|
+
- "Continue squad creation with available agents"
|
|
903
|
+
on_multiple_fails:
|
|
904
|
+
threshold: "> 50% of minds fail"
|
|
905
|
+
action: |
|
|
906
|
+
ESCALATE: Too many agent creation failures.
|
|
907
|
+
→ Present failure analysis
|
|
908
|
+
→ Ask user to provide additional materials
|
|
909
|
+
→ Option: create squad with reduced scope
|
|
910
|
+
max_retries_per_mind: 2
|
|
911
|
+
|
|
912
|
+
- id: step_3_3
|
|
913
|
+
name: "Create Orchestrator"
|
|
914
|
+
action: "Create squad orchestrator agent"
|
|
915
|
+
template: "templates/agent-tmpl.md"
|
|
916
|
+
special:
|
|
917
|
+
tier: "orchestrator"
|
|
918
|
+
capabilities:
|
|
919
|
+
- "Route requests to appropriate tier"
|
|
920
|
+
- "Manage multi-agent workflows"
|
|
921
|
+
- "Track context across handoffs"
|
|
922
|
+
|
|
923
|
+
- id: step_3_4
|
|
924
|
+
name: "Create Workflows"
|
|
925
|
+
action: "Create multi-phase workflows"
|
|
926
|
+
criteria:
|
|
927
|
+
- spans_multiple_agents: true
|
|
928
|
+
- has_checkpoints: true
|
|
929
|
+
execute:
|
|
930
|
+
task: "tasks/create-workflow.md"
|
|
931
|
+
quality:
|
|
932
|
+
min_lines: 500
|
|
933
|
+
min_phases: 3
|
|
934
|
+
|
|
935
|
+
- id: step_3_5
|
|
936
|
+
name: "Create Tasks"
|
|
937
|
+
action: "Create atomic tasks with Task Anatomy"
|
|
938
|
+
framework: "executor-matrix-framework"
|
|
939
|
+
execute:
|
|
940
|
+
task: "tasks/create-task.md"
|
|
941
|
+
quality:
|
|
942
|
+
simple: "300+ lines"
|
|
943
|
+
complex: "500+ lines"
|
|
944
|
+
anatomy_fields: 8
|
|
945
|
+
|
|
946
|
+
checkpoint:
|
|
947
|
+
id: CP_PHASE_3
|
|
948
|
+
name: "Creation Complete"
|
|
949
|
+
blocking: true
|
|
950
|
+
criteria:
|
|
951
|
+
- orchestrator_created: true
|
|
952
|
+
- tier_0_agents: ">= 1"
|
|
953
|
+
- all_agents_pass_quality: true
|
|
954
|
+
- workflows_have_checkpoints: true
|
|
955
|
+
metrics:
|
|
956
|
+
agents_created: "count"
|
|
957
|
+
total_lines: "sum"
|
|
958
|
+
quality_scores: "average"
|
|
959
|
+
|
|
960
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
961
|
+
# PHASE 4: INTEGRATION
|
|
962
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
963
|
+
- id: phase_4
|
|
964
|
+
name: "INTEGRATION"
|
|
965
|
+
purpose: "Wire components and generate documentation"
|
|
966
|
+
duration: "10-15 minutes"
|
|
967
|
+
mode: "autonomous"
|
|
968
|
+
depends_on: ["phase_3"]
|
|
969
|
+
|
|
970
|
+
steps:
|
|
971
|
+
- id: step_4_1
|
|
972
|
+
name: "Wire Dependencies"
|
|
973
|
+
action: "Verify and link all component dependencies"
|
|
974
|
+
for_each_agent:
|
|
975
|
+
- verify_tasks_exist: true
|
|
976
|
+
- verify_templates_exist: true
|
|
977
|
+
- verify_checklists_exist: true
|
|
978
|
+
- update_dependencies: true
|
|
979
|
+
create_missing:
|
|
980
|
+
action: "Create stubs with TODO"
|
|
981
|
+
|
|
982
|
+
- id: step_4_2
|
|
983
|
+
name: "Create Knowledge Base"
|
|
984
|
+
action: "Generate domain knowledge documentation"
|
|
985
|
+
output:
|
|
986
|
+
file: "data/{squad_name}-kb.md"
|
|
987
|
+
sections:
|
|
988
|
+
- domain_overview
|
|
989
|
+
- key_concepts
|
|
990
|
+
- best_practices
|
|
991
|
+
- common_patterns
|
|
992
|
+
- anti_patterns
|
|
993
|
+
|
|
994
|
+
- id: step_4_3
|
|
995
|
+
name: "Generate README"
|
|
996
|
+
action: "Create comprehensive documentation"
|
|
997
|
+
template: "templates/readme-tmpl.md"
|
|
998
|
+
sections:
|
|
999
|
+
- overview
|
|
1000
|
+
- installation
|
|
1001
|
+
- quick_start
|
|
1002
|
+
- agents_list
|
|
1003
|
+
- workflows_list
|
|
1004
|
+
- tasks_list
|
|
1005
|
+
- usage_examples
|
|
1006
|
+
|
|
1007
|
+
- id: step_4_4
|
|
1008
|
+
name: "Finalize config.yaml"
|
|
1009
|
+
action: "Complete squad configuration"
|
|
1010
|
+
validate:
|
|
1011
|
+
- yaml_syntax: true
|
|
1012
|
+
- all_components_listed: true
|
|
1013
|
+
- entry_agent_defined: true
|
|
1014
|
+
- version_correct: true
|
|
1015
|
+
|
|
1016
|
+
checkpoint:
|
|
1017
|
+
id: CP_PHASE_4
|
|
1018
|
+
name: "Integration Complete"
|
|
1019
|
+
blocking: false # Non-blocking, warnings only
|
|
1020
|
+
criteria:
|
|
1021
|
+
- all_dependencies_wired: true
|
|
1022
|
+
- readme_complete: true
|
|
1023
|
+
- config_valid: true
|
|
1024
|
+
|
|
1025
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
1026
|
+
# PHASE 5: VALIDATION
|
|
1027
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
1028
|
+
- id: phase_5
|
|
1029
|
+
name: "VALIDATION"
|
|
1030
|
+
purpose: "Validate squad meets quality standards"
|
|
1031
|
+
duration: "5-10 minutes"
|
|
1032
|
+
mode: "autonomous"
|
|
1033
|
+
depends_on: ["phase_4"]
|
|
1034
|
+
specialist: "@pedro-valerio"
|
|
1035
|
+
specialist_guidance: |
|
|
1036
|
+
Audit all workflows for:
|
|
1037
|
+
- Veto conditions in every checkpoint
|
|
1038
|
+
- Zero caminhos errados possíveis
|
|
1039
|
+
- Fluxo unidirecional (cards nunca voltam)
|
|
1040
|
+
- Zero gaps de tempo em handoffs
|
|
1041
|
+
Apply: "Se executor CONSEGUE fazer errado → processo está errado"
|
|
1042
|
+
|
|
1043
|
+
steps:
|
|
1044
|
+
- id: step_5_1
|
|
1045
|
+
name: "Run Squad Checklist"
|
|
1046
|
+
action: "Execute comprehensive validation"
|
|
1047
|
+
checklist: "checklists/squad-checklist.md"
|
|
1048
|
+
categories:
|
|
1049
|
+
- structure
|
|
1050
|
+
- agents
|
|
1051
|
+
- workflows
|
|
1052
|
+
- tasks
|
|
1053
|
+
- documentation
|
|
1054
|
+
- integration
|
|
1055
|
+
|
|
1056
|
+
- id: step_5_2
|
|
1057
|
+
name: "Quality Dimensions Scoring"
|
|
1058
|
+
action: "Score squad against quality dimensions"
|
|
1059
|
+
framework: "quality-dimensions-framework"
|
|
1060
|
+
dimensions:
|
|
1061
|
+
accuracy:
|
|
1062
|
+
weight: 0.20
|
|
1063
|
+
check: "Agents based on real minds"
|
|
1064
|
+
coherence:
|
|
1065
|
+
weight: 0.20
|
|
1066
|
+
check: "Components work together"
|
|
1067
|
+
strategic_alignment:
|
|
1068
|
+
weight: 0.15
|
|
1069
|
+
check: "Squad serves stated purpose"
|
|
1070
|
+
operational_excellence:
|
|
1071
|
+
weight: 0.20
|
|
1072
|
+
check: "Squad is usable"
|
|
1073
|
+
innovation_capacity:
|
|
1074
|
+
weight: 0.10
|
|
1075
|
+
check: "Squad can grow"
|
|
1076
|
+
risk_management:
|
|
1077
|
+
weight: 0.15
|
|
1078
|
+
check: "Guardrails in place"
|
|
1079
|
+
threshold: 7.0
|
|
1080
|
+
veto_if_below_5:
|
|
1081
|
+
- accuracy
|
|
1082
|
+
- coherence
|
|
1083
|
+
- operational_excellence
|
|
1084
|
+
|
|
1085
|
+
- id: step_5_3
|
|
1086
|
+
name: "Fix Blocking Issues"
|
|
1087
|
+
action: "Resolve any blocking validation failures"
|
|
1088
|
+
for_each_failure:
|
|
1089
|
+
- identify_root_cause: true
|
|
1090
|
+
- determine_fix: true
|
|
1091
|
+
- execute_fix: true
|
|
1092
|
+
- revalidate: true
|
|
1093
|
+
max_iterations: 3
|
|
1094
|
+
on_max_exceeded:
|
|
1095
|
+
action: "Report remaining issues to human"
|
|
1096
|
+
|
|
1097
|
+
checkpoint:
|
|
1098
|
+
id: CP_PHASE_5
|
|
1099
|
+
name: "Squad Validated"
|
|
1100
|
+
blocking: true
|
|
1101
|
+
criteria:
|
|
1102
|
+
- checklist_pass: true
|
|
1103
|
+
- quality_score: ">= 7.0"
|
|
1104
|
+
- no_blocking_issues: true
|
|
1105
|
+
output:
|
|
1106
|
+
final_score: "X/10"
|
|
1107
|
+
status: "PASS | FAIL"
|
|
1108
|
+
issues_remaining: "count"
|
|
1109
|
+
|
|
1110
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
1111
|
+
# PHASE 6: HANDOFF
|
|
1112
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
1113
|
+
- id: phase_6
|
|
1114
|
+
name: "HANDOFF"
|
|
1115
|
+
purpose: "Present squad and document next steps"
|
|
1116
|
+
duration: "2-5 minutes"
|
|
1117
|
+
mode: "interactive"
|
|
1118
|
+
depends_on: ["phase_5"]
|
|
1119
|
+
|
|
1120
|
+
steps:
|
|
1121
|
+
- id: step_6_0
|
|
1122
|
+
name: "Generate Quality Dashboard"
|
|
1123
|
+
action: "Create comprehensive quality metrics dashboard"
|
|
1124
|
+
template: "templates/quality-dashboard-tmpl.md"
|
|
1125
|
+
output:
|
|
1126
|
+
file: "squads/{squad_name}/docs/quality-dashboard.md"
|
|
1127
|
+
metrics:
|
|
1128
|
+
per_agent:
|
|
1129
|
+
- sources_count
|
|
1130
|
+
- tier_1_ratio
|
|
1131
|
+
- voice_score
|
|
1132
|
+
- thinking_score
|
|
1133
|
+
- fidelity_estimate
|
|
1134
|
+
squad_level:
|
|
1135
|
+
- coverage_gaps
|
|
1136
|
+
- handoff_clarity
|
|
1137
|
+
- integration_test_status
|
|
1138
|
+
triangulation:
|
|
1139
|
+
- claims_validated
|
|
1140
|
+
- overall_score
|
|
1141
|
+
|
|
1142
|
+
- id: step_6_1
|
|
1143
|
+
name: "Present Squad Summary"
|
|
1144
|
+
action: "Display final creation summary"
|
|
1145
|
+
present:
|
|
1146
|
+
created:
|
|
1147
|
+
- agents: "count"
|
|
1148
|
+
- workflows: "count"
|
|
1149
|
+
- tasks: "count"
|
|
1150
|
+
- templates: "count"
|
|
1151
|
+
- checklists: "count"
|
|
1152
|
+
quality:
|
|
1153
|
+
- overall_score: "X/10"
|
|
1154
|
+
- research_foundation: "X elite minds"
|
|
1155
|
+
- tier_coverage: "Full/Partial"
|
|
1156
|
+
- fidelity_estimate: "X%"
|
|
1157
|
+
- dashboard: "squads/{squad_name}/docs/quality-dashboard.md"
|
|
1158
|
+
activation:
|
|
1159
|
+
- install: "npm run install:squad {squad_name}"
|
|
1160
|
+
- activate: "@{squad_name}"
|
|
1161
|
+
|
|
1162
|
+
- id: step_6_2
|
|
1163
|
+
name: "Document Next Steps"
|
|
1164
|
+
action: "Provide recommendations for squad usage"
|
|
1165
|
+
recommendations:
|
|
1166
|
+
immediate:
|
|
1167
|
+
- "Test squad with sample request"
|
|
1168
|
+
- "Activate orchestrator and verify routing"
|
|
1169
|
+
optional:
|
|
1170
|
+
- "Add more Tier 3 specialists"
|
|
1171
|
+
- "Create additional templates"
|
|
1172
|
+
- "Add integration tests"
|
|
1173
|
+
|
|
1174
|
+
output:
|
|
1175
|
+
squad_path: "squads/{squad_name}/"
|
|
1176
|
+
activation_command: "@{squad_name}"
|
|
1177
|
+
quality_score: "X/10"
|
|
1178
|
+
agents_created: "count"
|
|
1179
|
+
status: "COMPLETE"
|
|
1180
|
+
|
|
1181
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1182
|
+
# TRANSITIONS (Explicit conditions for phase progression)
|
|
1183
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1184
|
+
|
|
1185
|
+
transitions:
|
|
1186
|
+
- from: pre_flight
|
|
1187
|
+
to: phase_0
|
|
1188
|
+
condition: execution_mode_selected
|
|
1189
|
+
description: "User selected YOLO/QUALITY/HYBRID mode"
|
|
1190
|
+
|
|
1191
|
+
- from: phase_0
|
|
1192
|
+
to: phase_0_5
|
|
1193
|
+
condition: discovery_complete
|
|
1194
|
+
checkpoint_required: true
|
|
1195
|
+
heuristic: SC_HE_001
|
|
1196
|
+
veto_check: SC_VC_001
|
|
1197
|
+
description: "Domain viable, squad structure defined"
|
|
1198
|
+
|
|
1199
|
+
- from: phase_0_5
|
|
1200
|
+
to: phase_1
|
|
1201
|
+
condition: tools_discovered
|
|
1202
|
+
checkpoint_required: true
|
|
1203
|
+
description: "Tool discovery complete, decision matrix generated"
|
|
1204
|
+
|
|
1205
|
+
- from: phase_1
|
|
1206
|
+
to: phase_materials
|
|
1207
|
+
condition: minds_identified AND mode != 'yolo'
|
|
1208
|
+
checkpoint_required: true
|
|
1209
|
+
veto_check: SC_VC_002
|
|
1210
|
+
description: "Elite minds found, materials collection needed"
|
|
1211
|
+
|
|
1212
|
+
- from: phase_1
|
|
1213
|
+
to: phase_2
|
|
1214
|
+
condition: minds_identified AND mode == 'yolo'
|
|
1215
|
+
checkpoint_required: true
|
|
1216
|
+
description: "Elite minds found, skip materials (YOLO mode)"
|
|
1217
|
+
|
|
1218
|
+
- from: phase_materials
|
|
1219
|
+
to: phase_2
|
|
1220
|
+
condition: materials_collected
|
|
1221
|
+
description: "User materials indexed"
|
|
1222
|
+
|
|
1223
|
+
- from: phase_2
|
|
1224
|
+
to: phase_3
|
|
1225
|
+
condition: architecture_approved
|
|
1226
|
+
checkpoint_required: true
|
|
1227
|
+
heuristic: SC_HE_002
|
|
1228
|
+
veto_check: SC_VC_005
|
|
1229
|
+
description: "Tier structure and handoffs defined"
|
|
1230
|
+
|
|
1231
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1232
|
+
# PHASE 3 SUB-TRANSITIONS (@oalanicolas DNA Extraction Pipeline)
|
|
1233
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1234
|
+
|
|
1235
|
+
- from: phase_3
|
|
1236
|
+
to: phase_3_sources
|
|
1237
|
+
condition: architecture_approved
|
|
1238
|
+
checkpoint_required: true
|
|
1239
|
+
agent: "@oalanicolas"
|
|
1240
|
+
description: "Architecture approved, start source curation"
|
|
1241
|
+
|
|
1242
|
+
- from: phase_3_sources
|
|
1243
|
+
to: phase_3_extraction
|
|
1244
|
+
condition: sources_curated AND ouro_ratio >= 0.6
|
|
1245
|
+
checkpoint_required: true
|
|
1246
|
+
agent: "@oalanicolas"
|
|
1247
|
+
heuristic: AN_HE_003
|
|
1248
|
+
veto_check: [AN_VC_001, AN_VC_003]
|
|
1249
|
+
description: "Sources curated with Pareto ao Cubo, proceed to extraction"
|
|
1250
|
+
|
|
1251
|
+
- from: phase_3_extraction
|
|
1252
|
+
to: phase_3_validation
|
|
1253
|
+
condition: dna_extracted AND trinity_complete
|
|
1254
|
+
checkpoint_required: true
|
|
1255
|
+
agent: "@oalanicolas"
|
|
1256
|
+
heuristic: AN_HE_001
|
|
1257
|
+
veto_check: [AN_VC_002, AN_VC_004]
|
|
1258
|
+
description: "DNA extracted with trinity complete (Playbook + Framework + Swipe)"
|
|
1259
|
+
|
|
1260
|
+
- from: phase_3_validation
|
|
1261
|
+
to: phase_3_handoff
|
|
1262
|
+
condition: self_validation_passed
|
|
1263
|
+
checkpoint_required: true
|
|
1264
|
+
agent: "@oalanicolas"
|
|
1265
|
+
heuristic: AN_HE_002
|
|
1266
|
+
veto_check: AN_VC_005
|
|
1267
|
+
description: "Self-validation passed (15+ citations, 5+ phrases, trinity complete)"
|
|
1268
|
+
|
|
1269
|
+
- from: phase_3_handoff
|
|
1270
|
+
to: phase_3_build
|
|
1271
|
+
condition: insumos_ready
|
|
1272
|
+
checkpoint_required: true
|
|
1273
|
+
handoff_from: "@oalanicolas"
|
|
1274
|
+
handoff_to: "@pedro-valerio"
|
|
1275
|
+
handoff_format: "INSUMOS_READY"
|
|
1276
|
+
description: "Insumos validated, handoff to @pedro-valerio for agent creation"
|
|
1277
|
+
|
|
1278
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1279
|
+
|
|
1280
|
+
- from: phase_3
|
|
1281
|
+
to: phase_4
|
|
1282
|
+
condition: agents_created AND quality_gate_passed
|
|
1283
|
+
checkpoint_required: true
|
|
1284
|
+
veto_check: [SC_VC_003, SC_VC_004, SC_VC_006]
|
|
1285
|
+
description: "All agents pass SC_AGT_001, smoke tests pass"
|
|
1286
|
+
|
|
1287
|
+
- from: phase_4
|
|
1288
|
+
to: phase_5
|
|
1289
|
+
condition: integration_complete
|
|
1290
|
+
checkpoint_required: false
|
|
1291
|
+
description: "Dependencies wired, docs generated"
|
|
1292
|
+
|
|
1293
|
+
- from: phase_5
|
|
1294
|
+
to: phase_6
|
|
1295
|
+
condition: validation_passed AND axioma_score >= 7.0
|
|
1296
|
+
checkpoint_required: true
|
|
1297
|
+
heuristic: SC_HE_003
|
|
1298
|
+
veto_check: [SC_VC_007, SC_VC_008, SC_VC_009, SC_VC_010]
|
|
1299
|
+
description: "All quality gates pass, no blocking issues"
|
|
1300
|
+
|
|
1301
|
+
- from: phase_6
|
|
1302
|
+
to: complete
|
|
1303
|
+
condition: handoff_accepted
|
|
1304
|
+
description: "User acknowledged squad creation"
|
|
1305
|
+
|
|
1306
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1307
|
+
# OUTPUTS
|
|
1308
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1309
|
+
|
|
1310
|
+
outputs:
|
|
1311
|
+
primary:
|
|
1312
|
+
- name: "Squad Directory"
|
|
1313
|
+
location: "squads/{squad_name}/"
|
|
1314
|
+
description: "Complete squad structure"
|
|
1315
|
+
|
|
1316
|
+
- name: "Agents"
|
|
1317
|
+
location: "squads/{squad_name}/agents/"
|
|
1318
|
+
description: "All agent definitions"
|
|
1319
|
+
|
|
1320
|
+
- name: "Workflows"
|
|
1321
|
+
location: "squads/{squad_name}/workflows/"
|
|
1322
|
+
description: "Multi-phase workflows"
|
|
1323
|
+
|
|
1324
|
+
- name: "Tasks"
|
|
1325
|
+
location: "squads/{squad_name}/tasks/"
|
|
1326
|
+
description: "Atomic tasks"
|
|
1327
|
+
|
|
1328
|
+
- name: "Documentation"
|
|
1329
|
+
location: "squads/{squad_name}/README.md"
|
|
1330
|
+
description: "Usage documentation"
|
|
1331
|
+
|
|
1332
|
+
secondary:
|
|
1333
|
+
- name: "Research Files"
|
|
1334
|
+
location: "docs/research/{domain}-*.md"
|
|
1335
|
+
description: "Research documentation"
|
|
1336
|
+
|
|
1337
|
+
- name: "Tool Discovery Report"
|
|
1338
|
+
location: "squads/{squad_name}/docs/tool-discovery-report.md"
|
|
1339
|
+
description: "Comprehensive tool research findings (MCPs, APIs, CLIs, Libraries)"
|
|
1340
|
+
|
|
1341
|
+
- name: "Tool Integration Plan"
|
|
1342
|
+
location: "squads/{squad_name}/docs/tool-integration-plan.md"
|
|
1343
|
+
description: "Prioritized implementation steps for discovered tools"
|
|
1344
|
+
|
|
1345
|
+
- name: "Capability-Tools Mapping"
|
|
1346
|
+
location: "squads/{squad_name}/data/capability-tools.yaml"
|
|
1347
|
+
description: "Squad-specific capability to tool mapping"
|
|
1348
|
+
|
|
1349
|
+
- name: "Session Report"
|
|
1350
|
+
location: "squads/{squad_name}/docs/creation-report.md"
|
|
1351
|
+
description: "Creation session documentation"
|
|
1352
|
+
|
|
1353
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1354
|
+
# HEURISTICS REFERENCE
|
|
1355
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1356
|
+
# NOTE: Core heuristics (SC_HE_001-003) and veto conditions (SC_VC_001-010)
|
|
1357
|
+
# are defined in config/heuristics.yaml and config/veto-conditions.yaml.
|
|
1358
|
+
# The heuristics below are workflow-specific (SC_SCP_*, SC_DSC_*, SC_TLD_*, etc.)
|
|
1359
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1360
|
+
|
|
1361
|
+
heuristics:
|
|
1362
|
+
- id: SC_SCP_001
|
|
1363
|
+
name: "Scope Complexity Gate (PRD Gate)"
|
|
1364
|
+
phase: "phase_0"
|
|
1365
|
+
blocking: true
|
|
1366
|
+
thresholds:
|
|
1367
|
+
workflows: ">= 10 → PRD required"
|
|
1368
|
+
agents: ">= 8 → PRD required"
|
|
1369
|
+
|
|
1370
|
+
- id: SC_DSC_001
|
|
1371
|
+
name: "Discovery Complete"
|
|
1372
|
+
phase: "phase_0"
|
|
1373
|
+
blocking: true
|
|
1374
|
+
|
|
1375
|
+
- id: SC_TLD_001
|
|
1376
|
+
name: "Deep Tool Discovery Complete"
|
|
1377
|
+
phase: "phase_0_5"
|
|
1378
|
+
blocking: true
|
|
1379
|
+
description: |
|
|
1380
|
+
5 parallel sub-agents executed deep search for MCPs, APIs, CLIs, Libraries, GitHub projects.
|
|
1381
|
+
Tools ranked by RELATIVE TIERS (percentile comparison), not absolute thresholds.
|
|
1382
|
+
Comparative report generated with flags for human attention.
|
|
1383
|
+
criteria:
|
|
1384
|
+
- parallel_agents_executed: ">= 3 of 5"
|
|
1385
|
+
- tools_discovered: ">= 5" # Minimum, but quality determined by ranking
|
|
1386
|
+
- tier_distribution_calculated: true
|
|
1387
|
+
- comparative_report_generated: true
|
|
1388
|
+
notes:
|
|
1389
|
+
- "No tool automatically eliminated - all get tiers"
|
|
1390
|
+
- "Even Tier 4 tools included as they may be best option"
|
|
1391
|
+
|
|
1392
|
+
- id: SC_TLD_002
|
|
1393
|
+
name: "Relative Ranking Complete"
|
|
1394
|
+
phase: "phase_0_5.step_2_3"
|
|
1395
|
+
blocking: true
|
|
1396
|
+
description: "All tools ranked by percentile within dataset found"
|
|
1397
|
+
criteria:
|
|
1398
|
+
- all_tools_have_tiers: true
|
|
1399
|
+
- percentile_calculation_done: true
|
|
1400
|
+
notes:
|
|
1401
|
+
- "NO absolute thresholds like 'stars >= 100'"
|
|
1402
|
+
- "30 stars can be Tier 1 if best in niche"
|
|
1403
|
+
|
|
1404
|
+
- id: SC_TLD_003
|
|
1405
|
+
name: "Attention Flags Identified"
|
|
1406
|
+
phase: "phase_0_5.step_2_4"
|
|
1407
|
+
blocking: false
|
|
1408
|
+
description: "Security, maturity, and license flags identified for human review"
|
|
1409
|
+
criteria:
|
|
1410
|
+
- flags_checked: true
|
|
1411
|
+
notes:
|
|
1412
|
+
- "FLAGS require attention, not automatic elimination"
|
|
1413
|
+
- "Tool with flag may still be recommended if best available"
|
|
1414
|
+
|
|
1415
|
+
- id: SC_TLD_004
|
|
1416
|
+
name: "Cost Comparison Complete"
|
|
1417
|
+
phase: "phase_0_5.step_2_5"
|
|
1418
|
+
blocking: false
|
|
1419
|
+
description: "Paid vs OSS compared by tier within same capability"
|
|
1420
|
+
criteria:
|
|
1421
|
+
- paid_vs_oss_grouped_by_capability: true
|
|
1422
|
+
- tier_comparison_generated: true
|
|
1423
|
+
notes:
|
|
1424
|
+
- "NO fixed ROI thresholds"
|
|
1425
|
+
- "OSS preferred when same tier as paid"
|
|
1426
|
+
- "Present analysis for human decision"
|
|
1427
|
+
|
|
1428
|
+
- id: SC_TLD_005
|
|
1429
|
+
name: "Decision Matrix Generated"
|
|
1430
|
+
phase: "phase_0_5.step_2_8"
|
|
1431
|
+
blocking: true
|
|
1432
|
+
description: "Tools assigned to quadrants based on relative tiers"
|
|
1433
|
+
criteria:
|
|
1434
|
+
- quadrants_assigned: true
|
|
1435
|
+
- recommendations_per_gap: true
|
|
1436
|
+
notes:
|
|
1437
|
+
- "Quick Win = Tier 1-2 Value + Tier 1-2 Effort"
|
|
1438
|
+
- "No tool excluded - all get quadrant assignment"
|
|
1439
|
+
|
|
1440
|
+
- id: SC_RES_001
|
|
1441
|
+
name: "Research Quality Gate"
|
|
1442
|
+
phase: "phase_1"
|
|
1443
|
+
blocking: true
|
|
1444
|
+
|
|
1445
|
+
- id: SC_ARC_001
|
|
1446
|
+
name: "Architecture Approved"
|
|
1447
|
+
phase: "phase_2"
|
|
1448
|
+
blocking: true
|
|
1449
|
+
|
|
1450
|
+
- id: SC_AGT_001
|
|
1451
|
+
name: "Agent Quality Gate"
|
|
1452
|
+
phase: "phase_3"
|
|
1453
|
+
blocking: true
|
|
1454
|
+
|
|
1455
|
+
- id: SC_CRT_001
|
|
1456
|
+
name: "Creation Quality"
|
|
1457
|
+
phase: "phase_3"
|
|
1458
|
+
blocking: true
|
|
1459
|
+
|
|
1460
|
+
- id: SC_INT_001
|
|
1461
|
+
name: "Integration Complete"
|
|
1462
|
+
phase: "phase_4"
|
|
1463
|
+
blocking: false
|
|
1464
|
+
|
|
1465
|
+
- id: SC_VAL_001
|
|
1466
|
+
name: "Squad Validated"
|
|
1467
|
+
phase: "phase_5"
|
|
1468
|
+
blocking: true
|
|
1469
|
+
|
|
1470
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1471
|
+
# ERROR HANDLING
|
|
1472
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1473
|
+
# Veto conditions (SC_VC_001-010) from config/veto-conditions.yaml
|
|
1474
|
+
# are applied at each checkpoint. When a veto is triggered:
|
|
1475
|
+
# - BLOCKING vetos halt the workflow until resolved
|
|
1476
|
+
# - Veto recovery actions are specified in the config
|
|
1477
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1478
|
+
|
|
1479
|
+
error_handling:
|
|
1480
|
+
# Veto condition mapping (from config/veto-conditions.yaml v2.0)
|
|
1481
|
+
veto_conditions_reference:
|
|
1482
|
+
# Pedro Valério (SC_VC_*)
|
|
1483
|
+
phase_0_discovery: ["SC_VC_001"] # Domain Viability
|
|
1484
|
+
phase_2_architecture: ["SC_VC_002"] # Vision Clarity
|
|
1485
|
+
phase_3_dna_extraction: ["SC_VC_003", "SC_VC_004"] # Source Quality, DNA Completeness
|
|
1486
|
+
phase_3_agent_creation: ["SC_VC_005", "SC_VC_006"] # Agent Coherence, Smoke Test
|
|
1487
|
+
phase_5_validation: ["SC_VC_007", "SC_VC_008", "SC_VC_009", "SC_VC_010"] # Guardrail, Unidirectional, Axioma, Task Anatomy
|
|
1488
|
+
|
|
1489
|
+
# OalaNicolas (AN_VC_*) - Phase 3 sub-phases
|
|
1490
|
+
phase_3_sources: ["AN_VC_001", "AN_VC_003"] # Volume Without Curation, Bronze Majority
|
|
1491
|
+
phase_3_extraction: ["AN_VC_002", "AN_VC_004"] # Trinity Incomplete, Citation Missing
|
|
1492
|
+
phase_3_validation: ["AN_VC_005"] # Handoff Without Validation
|
|
1493
|
+
|
|
1494
|
+
research_fails:
|
|
1495
|
+
- action: "Retry with different queries"
|
|
1496
|
+
- if_still_fails: "Abort with explanation"
|
|
1497
|
+
- veto_triggered: "SC_VC_001 (Domain Viability)"
|
|
1498
|
+
|
|
1499
|
+
agent_creation_fails:
|
|
1500
|
+
- action: "Identify missing research"
|
|
1501
|
+
- action: "Supplement research"
|
|
1502
|
+
- action: "Retry creation"
|
|
1503
|
+
- if_still_fails: "Create simpler agent, note for improvement"
|
|
1504
|
+
- veto_triggered: "SC_VC_005 (Agent Coherence) or SC_VC_006 (Smoke Test)"
|
|
1505
|
+
|
|
1506
|
+
validation_fails:
|
|
1507
|
+
- action: "Log specific failures"
|
|
1508
|
+
- action: "Attempt automated fix"
|
|
1509
|
+
- if_cannot_fix: "Report to human for decision"
|
|
1510
|
+
- run_coherence_validator: "python scripts/coherence-validator.py"
|
|
1511
|
+
|
|
1512
|
+
checkpoint_fails:
|
|
1513
|
+
- blocking_checkpoint:
|
|
1514
|
+
action: "Halt and report"
|
|
1515
|
+
require: "Human intervention or fix"
|
|
1516
|
+
check_vetos: "config/veto-conditions.yaml"
|
|
1517
|
+
- non_blocking_checkpoint:
|
|
1518
|
+
action: "Log warning"
|
|
1519
|
+
proceed: true
|
|
1520
|
+
|
|
1521
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1522
|
+
# METRICS
|
|
1523
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1524
|
+
|
|
1525
|
+
metrics:
|
|
1526
|
+
track:
|
|
1527
|
+
- duration_per_phase: "minutes"
|
|
1528
|
+
- agents_created: "count"
|
|
1529
|
+
- total_lines_generated: "sum"
|
|
1530
|
+
- quality_scores: "per component"
|
|
1531
|
+
- checkpoint_passes: "count"
|
|
1532
|
+
- issues_fixed: "count"
|
|
1533
|
+
- tools_discovered: "count"
|
|
1534
|
+
- tools_integrated: "count"
|
|
1535
|
+
- capability_gaps_filled: "count"
|
|
1536
|
+
|
|
1537
|
+
report_at_end: true
|
|
1538
|
+
save_to: "squads/{squad_name}/docs/metrics.yaml"
|
|
1539
|
+
|
|
1540
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1541
|
+
# WORKFLOW VERSION
|
|
1542
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1543
|
+
|
|
1544
|
+
metadata:
|
|
1545
|
+
version: "2.7"
|
|
1546
|
+
created: "2026-02-01"
|
|
1547
|
+
last_updated: "2026-02-10"
|
|
1548
|
+
author: "squad-chief"
|
|
1549
|
+
lines: "900+"
|
|
1550
|
+
changelog:
|
|
1551
|
+
- version: "2.7"
|
|
1552
|
+
date: "2026-02-10"
|
|
1553
|
+
changes:
|
|
1554
|
+
- "MAJOR: Integrated @oalanicolas heuristics and veto conditions into workflow"
|
|
1555
|
+
- "Added AN_HE_001-003 (Knowledge Extraction, Trinity, Pareto ao Cubo)"
|
|
1556
|
+
- "Added AN_VC_001-005 (Volume, Trinity, Bronze, Citation, Handoff)"
|
|
1557
|
+
- "Added Phase 3 sub-transitions for DNA extraction pipeline"
|
|
1558
|
+
- "Sub-phases: phase_3_sources → phase_3_extraction → phase_3_validation → phase_3_handoff → phase_3_build"
|
|
1559
|
+
- "Updated config_files to reference heuristics.yaml v2.0 and veto-conditions.yaml v2.0"
|
|
1560
|
+
- "Updated error_handling with AN_VC_* veto references"
|
|
1561
|
+
- "Total heuristics: 6 (3 SC_HE + 3 AN_HE)"
|
|
1562
|
+
- "Total veto conditions: 15 (10 SC_VC + 5 AN_VC)"
|
|
1563
|
+
|
|
1564
|
+
- version: "2.6"
|
|
1565
|
+
date: "2026-02-03"
|
|
1566
|
+
changes:
|
|
1567
|
+
- "MAJOR: Replaced absolute thresholds with RELATIVE TIERS"
|
|
1568
|
+
- "Tools compared by PERCENTILE within dataset (Top 20%, 21-50%, etc.)"
|
|
1569
|
+
- "Replaced VETOs with FLAGS requiring human attention"
|
|
1570
|
+
- "No tool automatically eliminated - Tier 4 may still be best option"
|
|
1571
|
+
- "Cost comparison: tier-based, no fixed ROI thresholds"
|
|
1572
|
+
- "Updated tool-evaluation-framework.md to v2.0"
|
|
1573
|
+
- "Updated wf-discover-tools.yaml to v2.0"
|
|
1574
|
+
- "Philosophy: 30 stars can be Tier 1 if best in niche"
|
|
1575
|
+
- version: "2.5"
|
|
1576
|
+
date: "2026-02-03"
|
|
1577
|
+
changes:
|
|
1578
|
+
- "RICE + WSJF frameworks for tool evaluation"
|
|
1579
|
+
- "Security/Social Proof gates (replaced by relative tiers in v2.6)"
|
|
1580
|
+
- version: "2.4.1"
|
|
1581
|
+
date: "2026-02-03"
|
|
1582
|
+
changes:
|
|
1583
|
+
- "MAJOR: Upgraded PHASE 0.5 to DEEP TOOL DISCOVERY with 5 parallel sub-agents"
|
|
1584
|
+
- "Created workflows/wf-discover-tools.yaml (800+ lines) - complete parallel discovery workflow"
|
|
1585
|
+
- "Sub-agents: MCP Agent, API Agent, CLI Agent, Library Agent, GitHub Agent"
|
|
1586
|
+
- "8-dimensional scoring: Impact (60%) + Effort (40%)"
|
|
1587
|
+
- "Decision Matrix: Quick Wins | Strategic | Fill-ins | Avoid"
|
|
1588
|
+
- "SC_TLD_001 is now BLOCKING (was non-blocking)"
|
|
1589
|
+
- "Veto conditions: all_agents_failed, zero_tools_found"
|
|
1590
|
+
- version: "2.4"
|
|
1591
|
+
date: "2026-02-03"
|
|
1592
|
+
changes:
|
|
1593
|
+
- "Added PHASE 0.5: TOOL DISCOVERY (basic version)"
|
|
1594
|
+
- "Created data/tool-registry.yaml - global tool catalog"
|
|
1595
|
+
- "Created tasks/discover-tools.md - lightweight discovery task"
|
|
1596
|
+
- version: "2.3"
|
|
1597
|
+
date: "2026-02-03"
|
|
1598
|
+
changes:
|
|
1599
|
+
- "Added SC_SCP_001: Scope Complexity Gate (PRD Gate)"
|
|
1600
|
+
- "Squads with >= 10 workflows require PRD before creation"
|
|
1601
|
+
- "Squads with >= 8 agents require roadmap"
|
|
1602
|
+
- "New step_0_0 in Discovery phase for early scope detection"
|
|
1603
|
+
- version: "2.2"
|
|
1604
|
+
date: "2026-02-03"
|
|
1605
|
+
changes:
|
|
1606
|
+
- "Added specialist agents: @oalanicolas (mind cloning), @pedro-valerio (process design)"
|
|
1607
|
+
- "Integrated specialists into Phase 3 (Creation) and Phase 5 (Validation)"
|
|
1608
|
+
- version: "2.1"
|
|
1609
|
+
date: "2026-02-03"
|
|
1610
|
+
changes:
|
|
1611
|
+
- "Added auto-acquire-sources.md integration"
|
|
1612
|
+
- "Added update-mind.md for brownfield support"
|
|
1613
|
+
- "Added quality-dashboard generation in handoff"
|
|
1614
|
+
- version: "2.0"
|
|
1615
|
+
date: "2026-02-03"
|
|
1616
|
+
changes:
|
|
1617
|
+
- "Added YOLO mode configuration"
|
|
1618
|
+
- "Added pre-flight questionnaire"
|
|
1619
|
+
- "Added phase_materials for QUALITY/HYBRID modes"
|