aiox-core 5.0.4 → 5.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.aiox-core/core/config/config-cache.js +10 -1
- package/.aiox-core/core/config/config-loader.js +2 -2
- package/.aiox-core/core/execution/build-state-manager.js +1 -1
- package/.aiox-core/core/synapse/runtime/hook-runtime.js +11 -2
- package/.aiox-core/core/utils/yaml-validator.js +1 -1
- package/.aiox-core/data/entity-registry.yaml +761 -796
- package/.aiox-core/development/scripts/workflow-validator.js +92 -18
- package/.aiox-core/development/tasks/create-workflow.md +44 -42
- package/.aiox-core/development/tasks/project-status.md +280 -0
- package/.aiox-core/development/tasks/validate-workflow.md +2 -2
- package/.aiox-core/development/templates/squad/workflow-template.yaml +106 -91
- package/.aiox-core/development/templates/squad-template/workflows/example-workflow.yaml +72 -51
- package/.aiox-core/development/workflows/README.md +12 -5
- package/.aiox-core/development/workflows/development-cycle.yaml +90 -0
- package/.aiox-core/infrastructure/scripts/config-cache.js +10 -1
- package/.aiox-core/install-manifest.yaml +35 -39
- package/.aiox-core/lib/build.json +1 -0
- package/.claude/hooks/precompact-session-digest.cjs +47 -12
- package/.claude/hooks/synapse-engine.cjs +13 -13
- package/README.en.md +23 -37
- package/README.md +26 -38
- package/bin/utils/validate-publish.js +5 -4
- package/package.json +1 -1
- package/packages/installer/src/wizard/i18n.js +18 -15
- package/packages/installer/src/wizard/pro-setup.js +304 -69
- package/pro/README.md +1 -1
- package/pro/feature-registry.yaml +2 -2
- package/pro/license/degradation.js +7 -7
- package/pro/license/errors.js +7 -7
- package/pro/license/index.js +2 -2
- package/pro/license/license-api.js +0 -22
- package/pro/package.json +17 -4
- package/pro/pro-config.yaml +2 -2
- package/pro/squads/README.md +23 -5
- package/pro/squads/aiox-sop/ARCHITECTURE.md +86 -0
- package/pro/squads/aiox-sop/CHANGELOG.md +27 -0
- package/pro/squads/aiox-sop/HEADLINE.md +3 -0
- package/pro/squads/aiox-sop/README.md +77 -0
- package/pro/squads/aiox-sop/agents/sop-analyst.md +363 -0
- package/pro/squads/aiox-sop/agents/sop-auditor.md +294 -0
- package/pro/squads/aiox-sop/agents/sop-chief.md +279 -0
- package/pro/squads/aiox-sop/agents/sop-creator.md +322 -0
- package/pro/squads/aiox-sop/agents/sop-extractor.md +246 -0
- package/pro/squads/aiox-sop/agents/sop-ml-architect.md +310 -0
- package/pro/squads/aiox-sop/checklists/14-point-crosby-checklist.md +84 -0
- package/pro/squads/aiox-sop/checklists/extraction-completeness-checklist.md +78 -0
- package/pro/squads/aiox-sop/checklists/sop-completeness-checklist.md +283 -0
- package/pro/squads/aiox-sop/checklists/sop-ml-validation-checklist.md +157 -0
- package/pro/squads/aiox-sop/checklists/sop-quality-checklist.md +138 -0
- package/pro/squads/aiox-sop/checklists/stranger-test-checklist.md +108 -0
- package/pro/squads/aiox-sop/config.yaml +460 -0
- package/pro/squads/aiox-sop/data/category-map.yaml +647 -0
- package/pro/squads/aiox-sop/data/confidence-levels.yaml +133 -0
- package/pro/squads/aiox-sop/data/infrastructure-connections.yaml +730 -0
- package/pro/squads/aiox-sop/data/market-categories.yaml +65 -0
- package/pro/squads/aiox-sop/data/risk-register.yaml +90 -0
- package/pro/squads/aiox-sop/data/sop-ml-schema-examples.yaml +420 -0
- package/pro/squads/aiox-sop/data/sop-ml-schema.yaml +780 -0
- package/pro/squads/aiox-sop/data/sop-registry.yaml +42 -0
- package/pro/squads/aiox-sop/data/sop-scoring-rubric.yaml +601 -0
- package/pro/squads/aiox-sop/data/sop-standards-reference.yaml +475 -0
- package/pro/squads/aiox-sop/data/task-definitions.yaml +1602 -0
- package/pro/squads/aiox-sop/data/token-assignments.yaml +304 -0
- package/pro/squads/aiox-sop/data/verdict-thresholds.yaml +117 -0
- package/pro/squads/aiox-sop/data/workflow-quality-rubric.yaml +579 -0
- package/pro/squads/aiox-sop/docs/README.md +10 -0
- package/pro/squads/aiox-sop/docs/optimization-doc-drift-2026-03-18.json +20 -0
- package/pro/squads/aiox-sop/docs/optimization-economy-2026-03-18.md +40 -0
- package/pro/squads/aiox-sop/docs/optimization-environment-2026-03-18.json +24 -0
- package/pro/squads/aiox-sop/docs/optimization-material-inventory-2026-03-18.yaml +73 -0
- package/pro/squads/aiox-sop/docs/optimization-repo-baseline-2026-03-18.json +38 -0
- package/pro/squads/aiox-sop/docs/optimization-runtime-smoke-2026-03-18.json +57 -0
- package/pro/squads/aiox-sop/docs/optimization-split-verdict-2026-03-18.json +21 -0
- package/pro/squads/aiox-sop/docs/optimization-validation-2026-03-18.json +53 -0
- package/pro/squads/aiox-sop/docs/optimization-validation-fallback-2026-03-18.json +6 -0
- package/pro/squads/aiox-sop/docs/optimization-workflow-contracts-2026-03-18.json +81 -0
- package/pro/squads/aiox-sop/docs/optimization-yolo-plan-2026-03-18.md +177 -0
- package/pro/squads/aiox-sop/docs/optimization-yolo-report-2026-03-18.md +181 -0
- package/pro/squads/aiox-sop/docs/scaling-strategy.md +129 -0
- package/pro/squads/aiox-sop/examples/README.md +14 -0
- package/pro/squads/aiox-sop/examples/sample-human-sop.md +11 -0
- package/pro/squads/aiox-sop/examples/sample-ml-sop.yaml +14 -0
- package/pro/squads/aiox-sop/outputs/README.md +20 -0
- package/pro/squads/aiox-sop/outputs/SOP-SLIDES-001.md +864 -0
- package/pro/squads/aiox-sop/outputs/SOP-SLIDES-001.yaml +1225 -0
- package/pro/squads/aiox-sop/outputs/SOP-SLIDES-002.md +904 -0
- package/pro/squads/aiox-sop/outputs/SOP-SLIDES-002.yaml +431 -0
- package/pro/squads/aiox-sop/outputs/SOP-SLIDES-003.md +964 -0
- package/pro/squads/aiox-sop/outputs/SOP-SLIDES-003.yaml +392 -0
- package/pro/squads/aiox-sop/outputs/SOP-SLIDES-004.md +975 -0
- package/pro/squads/aiox-sop/outputs/SOP-SLIDES-004.yaml +786 -0
- package/pro/squads/aiox-sop/protocols/sop-workflow-integration.md +209 -0
- package/pro/squads/aiox-sop/scripts/convert-sop-format-worker.py +299 -0
- package/pro/squads/aiox-sop/scripts/load-workspace-context.cjs +296 -0
- package/pro/squads/aiox-sop/scripts/normalize-thiagoroas-vsl-extractions.cjs +1448 -0
- package/pro/squads/aiox-sop/scripts/refresh-sop-registry.cjs +331 -0
- package/pro/squads/aiox-sop/scripts/resolve-environment-contract.cjs +107 -0
- package/pro/squads/aiox-sop/scripts/test-load-workspace-context.cjs +100 -0
- package/pro/squads/aiox-sop/scripts/test-resolve-environment-contract.cjs +159 -0
- package/pro/squads/aiox-sop/tasks/analyze-sop.md +464 -0
- package/pro/squads/aiox-sop/tasks/analyze-squad.md +317 -0
- package/pro/squads/aiox-sop/tasks/analyze-workflow.md +343 -0
- package/pro/squads/aiox-sop/tasks/audit-batch.md +354 -0
- package/pro/squads/aiox-sop/tasks/audit-sop.md +528 -0
- package/pro/squads/aiox-sop/tasks/benchmark-sop.md +408 -0
- package/pro/squads/aiox-sop/tasks/certify-sop.md +193 -0
- package/pro/squads/aiox-sop/tasks/check-environment.md +47 -0
- package/pro/squads/aiox-sop/tasks/compliance-check.md +84 -0
- package/pro/squads/aiox-sop/tasks/convert-sop-format.md +413 -0
- package/pro/squads/aiox-sop/tasks/create-checklist.md +267 -0
- package/pro/squads/aiox-sop/tasks/create-sop-human.md +306 -0
- package/pro/squads/aiox-sop/tasks/create-sop-ml.md +313 -0
- package/pro/squads/aiox-sop/tasks/create-sop-operations-suite.md +177 -0
- package/pro/squads/aiox-sop/tasks/delete-aiox-sop.md +38 -0
- package/pro/squads/aiox-sop/tasks/extract-from-video.md +354 -0
- package/pro/squads/aiox-sop/tasks/extract-sop.md +389 -0
- package/pro/squads/aiox-sop/tasks/load-workspace-context.md +112 -0
- package/pro/squads/aiox-sop/tasks/map-core-sop-backlog.md +651 -0
- package/pro/squads/aiox-sop/tasks/re-audit.md +97 -0
- package/pro/squads/aiox-sop/tasks/structured-interview.md +243 -0
- package/pro/squads/aiox-sop/tasks/update-aiox-sop.md +39 -0
- package/pro/squads/aiox-sop/templates/audit-report-template.md +119 -0
- package/pro/squads/aiox-sop/templates/certification-template.md +31 -0
- package/pro/squads/aiox-sop/templates/checklist-from-sop-tmpl.md +142 -0
- package/pro/squads/aiox-sop/templates/decision-tree-template.yaml +209 -0
- package/pro/squads/aiox-sop/templates/extraction-output-template.md +150 -0
- package/pro/squads/aiox-sop/templates/handoff-tmpl.yaml +85 -0
- package/pro/squads/aiox-sop/templates/ml-sop-json-template.json +208 -0
- package/pro/squads/aiox-sop/templates/ml-sop-yaml-template.yaml +204 -0
- package/pro/squads/aiox-sop/templates/nonconformity-register-template.md +85 -0
- package/pro/squads/aiox-sop/templates/sop-analysis-report-tmpl.md +378 -0
- package/pro/squads/aiox-sop/templates/sop-human-tmpl.md +385 -0
- package/pro/squads/aiox-sop/templates/sop-ml-tmpl.md +352 -0
- package/pro/squads/aiox-sop/templates/sop-scorecard-tmpl.md +123 -0
- package/pro/squads/aiox-sop/templates/state-machine-template.yaml +232 -0
- package/pro/squads/aiox-sop/templates/tool-binding-template.yaml +255 -0
- package/pro/squads/aiox-sop/templates/workflow-gap-report-tmpl.yaml +227 -0
- package/pro/squads/aiox-sop/workflows/wf-sop-audit-pipeline.yaml +381 -0
- package/pro/squads/aiox-sop/workflows/wf-sop-audit-pipeline.yaml.bak +332 -0
- package/pro/squads/aiox-sop/workflows/wf-sop-creation-pipeline.yaml +200 -0
- package/pro/squads/aiox-sop/workflows/wf-sop-creation-pipeline.yaml.bak +147 -0
- package/pro/squads/aiox-sop/workflows/wf-sop-extraction-pipeline.yaml +476 -0
- package/pro/squads/aiox-sop/workflows/wf-sop-extraction-pipeline.yaml.bak +441 -0
- package/pro/squads/aiox-sop/workflows/wf-sop-pipeline-definition.yaml +813 -0
- package/pro/squads/aiox-sop/workflows/wf-sop-quality-gates.yaml +473 -0
- package/pro/squads/brand/ARCHITECTURE.md +79 -0
- package/pro/squads/brand/CHANGELOG.md +38 -0
- package/pro/squads/brand/README.md +213 -0
- package/pro/squads/brand/agents/aaker-brand-identity.md +475 -0
- package/pro/squads/brand/agents/archetype-consultant.md +424 -0
- package/pro/squads/brand/agents/brand-chief.md +502 -0
- package/pro/squads/brand/agents/brand-strategist.md +661 -0
- package/pro/squads/brand/agents/domain-scout.md +412 -0
- package/pro/squads/brand/agents/heyward-dtc-brand.md +399 -0
- package/pro/squads/brand/agents/keller-brand-equity.md +390 -0
- package/pro/squads/brand/agents/miller-sticky-brand.md +510 -0
- package/pro/squads/brand/agents/naming-strategist.md +638 -0
- package/pro/squads/brand/agents/nano-banana-generator.md +38 -0
- package/pro/squads/brand/agents/neumeier-differentiation.md +390 -0
- package/pro/squads/brand/agents/ries-positioning.md +413 -0
- package/pro/squads/brand/agents/sharp-brand-science.md +444 -0
- package/pro/squads/brand/agents/storybrand-narrator.md +442 -0
- package/pro/squads/brand/agents/wheeler-brand-design.md +700 -0
- package/pro/squads/brand/agents/yohn-brand-culture.md +391 -0
- package/pro/squads/brand/checklists/brand-naming-checklist.md +46 -0
- package/pro/squads/brand/checklists/brand-quality-gate.md +58 -0
- package/pro/squads/brand/config/veto-conditions.yaml +54 -0
- package/pro/squads/brand/config.yaml +634 -0
- package/pro/squads/brand/data/brand-mappings.yaml +140 -0
- package/pro/squads/brand/data/logo-scds-templates.yaml +224 -0
- package/pro/squads/brand/data/logo-style-library.yaml +226 -0
- package/pro/squads/brand/data/swipe-file.yaml +282 -0
- package/pro/squads/brand/docs/optimization-economy-2026-03-10.md +25 -0
- package/pro/squads/brand/docs/optimization-material-inventory-2026-03-10.yaml +40 -0
- package/pro/squads/brand/docs/optimization-validation-2026-03-10.json +26 -0
- package/pro/squads/brand/docs/optimization-yolo-plan-2026-03-10.md +80 -0
- package/pro/squads/brand/docs/optimization-yolo-report-2026-03-10.md +158 -0
- package/pro/squads/brand/scripts/bootstrap-brand-workspace.sh +47 -0
- package/pro/squads/brand/scripts/validate-brand-essentials.sh +289 -0
- package/pro/squads/brand/tasks/brand-activation.md +86 -0
- package/pro/squads/brand/tasks/brand-book.md +224 -0
- package/pro/squads/brand/tasks/brand-consulting.md +189 -0
- package/pro/squads/brand/tasks/brand-diagnosis.md +81 -0
- package/pro/squads/brand/tasks/brand-identity.md +255 -0
- package/pro/squads/brand/tasks/brand-messaging.md +226 -0
- package/pro/squads/brand/tasks/brand-quality-gate.md +213 -0
- package/pro/squads/brand/tasks/create-brand-epic.md +129 -0
- package/pro/squads/brand/tasks/create-brand-story.md +155 -0
- package/pro/squads/brand/tasks/delete-brand.md +56 -0
- package/pro/squads/brand/tasks/domain-check.md +120 -0
- package/pro/squads/brand/tasks/load-workspace-context.md +112 -0
- package/pro/squads/brand/tasks/logo-curate.md +180 -0
- package/pro/squads/brand/tasks/logo-deliverable.md +210 -0
- package/pro/squads/brand/tasks/logo-generate.md +143 -0
- package/pro/squads/brand/tasks/logo-intake.md +151 -0
- package/pro/squads/brand/tasks/logo-prompt-engineering.md +151 -0
- package/pro/squads/brand/tasks/logo-refine.md +156 -0
- package/pro/squads/brand/tasks/logo-strategic-direction.md +160 -0
- package/pro/squads/brand/tasks/naming-generation.md +118 -0
- package/pro/squads/brand/tasks/positioning-narrative.md +93 -0
- package/pro/squads/brand/tasks/update-brand.md +52 -0
- package/pro/squads/brand/templates/brand-epic-tmpl.md +124 -0
- package/pro/squads/brand/templates/brand-story-tmpl.md +133 -0
- package/pro/squads/brand/templates/brandbook-tmpl.yaml +38 -0
- package/pro/squads/brand/templates/naming-report-tmpl.md +36 -0
- package/pro/squads/brand/workflows/wf-brand-activation-system.yaml +148 -0
- package/pro/squads/brand/workflows/wf-brand-all-hands.yaml +368 -0
- package/pro/squads/brand/workflows/wf-brand-complete.yaml +223 -0
- package/pro/squads/brand/workflows/wf-brand-consulting.yaml +301 -0
- package/pro/squads/brand/workflows/wf-brand-foundations.yaml +129 -0
- package/pro/squads/brand/workflows/wf-brand-mockup-generation.yaml +247 -0
- package/pro/squads/brand/workflows/wf-brand-positioning-narrative.yaml +146 -0
- package/pro/squads/brand/workflows/wf-logo-brainstorm.yaml +297 -0
- package/pro/squads/brand/workflows/wf-naming-to-domain.yaml +152 -0
- package/pro/squads/claude-code-mastery/ARCHITECTURE.md +224 -0
- package/pro/squads/claude-code-mastery/CHANGELOG.md +41 -0
- package/pro/squads/claude-code-mastery/README.md +146 -0
- package/pro/squads/claude-code-mastery/agents/claude-mastery-chief.md +542 -0
- package/pro/squads/claude-code-mastery/agents/config-engineer.md +1051 -0
- package/pro/squads/claude-code-mastery/agents/hooks-architect.md +1088 -0
- package/pro/squads/claude-code-mastery/agents/mcp-integrator.md +790 -0
- package/pro/squads/claude-code-mastery/agents/project-integrator.md +1184 -0
- package/pro/squads/claude-code-mastery/agents/roadmap-sentinel.md +922 -0
- package/pro/squads/claude-code-mastery/agents/skill-craftsman.md +1302 -0
- package/pro/squads/claude-code-mastery/agents/swarm-orchestrator.md +1072 -0
- package/pro/squads/claude-code-mastery/checklists/agent-team-readiness-checklist.md +88 -0
- package/pro/squads/claude-code-mastery/checklists/brownfield-readiness-checklist.md +91 -0
- package/pro/squads/claude-code-mastery/checklists/change-checklist.md +75 -0
- package/pro/squads/claude-code-mastery/checklists/context-rot-checklist.md +116 -0
- package/pro/squads/claude-code-mastery/checklists/integration-audit-checklist.md +104 -0
- package/pro/squads/claude-code-mastery/checklists/multi-agent-review-checklist.md +77 -0
- package/pro/squads/claude-code-mastery/checklists/pre-push-checklist.md +79 -0
- package/pro/squads/claude-code-mastery/config.yaml +351 -0
- package/pro/squads/claude-code-mastery/data/cc-architecture-map.yaml +217 -0
- package/pro/squads/claude-code-mastery/data/cc-permission-rules.yaml +281 -0
- package/pro/squads/claude-code-mastery/data/ci-cd-patterns.yaml +412 -0
- package/pro/squads/claude-code-mastery/data/claude-code-quick-ref.yaml +436 -0
- package/pro/squads/claude-code-mastery/data/frontmatter-schemas.yaml +395 -0
- package/pro/squads/claude-code-mastery/data/hook-patterns.yaml +799 -0
- package/pro/squads/claude-code-mastery/data/infrastructure-map.yaml +53 -0
- package/pro/squads/claude-code-mastery/data/journey-log-events.yaml +115 -0
- package/pro/squads/claude-code-mastery/data/mcp-integration-catalog.yaml +323 -0
- package/pro/squads/claude-code-mastery/data/project-type-signatures.yaml +335 -0
- package/pro/squads/claude-code-mastery/data/quality-gates.yaml +43 -0
- package/pro/squads/claude-code-mastery/data/swarm-agent-schema.yaml +35 -0
- package/pro/squads/claude-code-mastery/data/token-registry.yaml +213 -0
- package/pro/squads/claude-code-mastery/scripts/README-Permission-Sync.md +38 -0
- package/pro/squads/claude-code-mastery/scripts/generate-tool-allowlists.js +232 -0
- package/pro/squads/claude-code-mastery/scripts/inject-accountability-tokens.js +91 -0
- package/pro/squads/claude-code-mastery/scripts/inject-output-schemas.js +131 -0
- package/pro/squads/claude-code-mastery/scripts/inject-swarm-fields.js +92 -0
- package/pro/squads/claude-code-mastery/scripts/prepare-claude-runtime.sh +26 -0
- package/pro/squads/claude-code-mastery/scripts/publish-mastery-report.sh +17 -0
- package/pro/squads/claude-code-mastery/scripts/session-usage-report.py +982 -0
- package/pro/squads/claude-code-mastery/scripts/session_usage_report_cache.py +163 -0
- package/pro/squads/claude-code-mastery/scripts/session_usage_report_claude_adapter.py +375 -0
- package/pro/squads/claude-code-mastery/scripts/session_usage_report_facets.py +1128 -0
- package/pro/squads/claude-code-mastery/scripts/session_usage_report_html.py +989 -0
- package/pro/squads/claude-code-mastery/scripts/session_usage_report_inventory.py +66 -0
- package/pro/squads/claude-code-mastery/scripts/session_usage_report_markdown.py +506 -0
- package/pro/squads/claude-code-mastery/scripts/session_usage_report_mock_insights_adapter.py +277 -0
- package/pro/squads/claude-code-mastery/scripts/session_usage_report_pipeline.py +519 -0
- package/pro/squads/claude-code-mastery/scripts/session_usage_report_recommendations.py +317 -0
- package/pro/squads/claude-code-mastery/scripts/session_usage_report_usage.py +235 -0
- package/pro/squads/claude-code-mastery/scripts/test_session_usage_report.py +1910 -0
- package/pro/squads/claude-code-mastery/scripts/validate-setup.js +597 -0
- package/pro/squads/claude-code-mastery/squad-io.yaml +151 -0
- package/pro/squads/claude-code-mastery/tasks/align-memory-context.md +212 -0
- package/pro/squads/claude-code-mastery/tasks/audit-integration.md +252 -0
- package/pro/squads/claude-code-mastery/tasks/audit-settings.md +239 -0
- package/pro/squads/claude-code-mastery/tasks/audit-setup.md +258 -0
- package/pro/squads/claude-code-mastery/tasks/brownfield-setup.md +355 -0
- package/pro/squads/claude-code-mastery/tasks/ci-cd-setup.md +368 -0
- package/pro/squads/claude-code-mastery/tasks/claude-md-engineer.md +367 -0
- package/pro/squads/claude-code-mastery/tasks/configure-claude-code.md +248 -0
- package/pro/squads/claude-code-mastery/tasks/context-rot-audit.md +363 -0
- package/pro/squads/claude-code-mastery/tasks/create-agent-definition.md +311 -0
- package/pro/squads/claude-code-mastery/tasks/create-rules.md +239 -0
- package/pro/squads/claude-code-mastery/tasks/create-team-topology.md +291 -0
- package/pro/squads/claude-code-mastery/tasks/delete-claude-code-mastery.md +224 -0
- package/pro/squads/claude-code-mastery/tasks/diagnose.md +199 -0
- package/pro/squads/claude-code-mastery/tasks/enterprise-config.md +379 -0
- package/pro/squads/claude-code-mastery/tasks/hook-designer.md +315 -0
- package/pro/squads/claude-code-mastery/tasks/integrate-project.md +337 -0
- package/pro/squads/claude-code-mastery/tasks/mcp-integration-plan.md +284 -0
- package/pro/squads/claude-code-mastery/tasks/mcp-workflow.md +330 -0
- package/pro/squads/claude-code-mastery/tasks/multi-project-setup.md +261 -0
- package/pro/squads/claude-code-mastery/tasks/optimize-context.md +250 -0
- package/pro/squads/claude-code-mastery/tasks/optimize-workflow.md +270 -0
- package/pro/squads/claude-code-mastery/tasks/parallel-decomposition.md +326 -0
- package/pro/squads/claude-code-mastery/tasks/permission-strategy.md +315 -0
- package/pro/squads/claude-code-mastery/tasks/rebuild-runtime-validator.md +234 -0
- package/pro/squads/claude-code-mastery/tasks/refresh-runtime-contract.md +235 -0
- package/pro/squads/claude-code-mastery/tasks/sandbox-setup.md +312 -0
- package/pro/squads/claude-code-mastery/tasks/setup-repository.md +263 -0
- package/pro/squads/claude-code-mastery/tasks/setup-wizard.md +269 -0
- package/pro/squads/claude-code-mastery/tasks/update-claude-code-mastery.md +227 -0
- package/pro/squads/claude-code-mastery/tasks/worktree-strategy.md +353 -0
- package/pro/squads/claude-code-mastery/templates/baseline-kpis-tmpl.yaml +0 -0
- package/pro/squads/claude-code-mastery/templates/claude-md-fullstack.md +147 -0
- package/pro/squads/claude-code-mastery/templates/claude-md-library.md +175 -0
- package/pro/squads/claude-code-mastery/templates/claude-md-microservices.md +186 -0
- package/pro/squads/claude-code-mastery/templates/claude-md-mobile.md +198 -0
- package/pro/squads/claude-code-mastery/templates/claude-md-monorepo.md +139 -0
- package/pro/squads/claude-code-mastery/templates/concept-mapping-tmpl.yaml +0 -0
- package/pro/squads/claude-code-mastery/templates/cross-domain-handoff-tmpl.yaml +15 -0
- package/pro/squads/claude-code-mastery/templates/github-actions-claude-ci.yml +348 -0
- package/pro/squads/claude-code-mastery/templates/github-actions-claude-review.yml +179 -0
- package/pro/squads/claude-code-mastery/templates/hook-implementation-tmpl.md +24 -0
- package/pro/squads/claude-code-mastery/templates/mcp-config-tmpl.yaml +18 -0
- package/pro/squads/claude-code-mastery/templates/session-usage-report-page.css +591 -0
- package/pro/squads/claude-code-mastery/templates/session-usage-report-page.html +32 -0
- package/pro/squads/claude-code-mastery/templates/session-usage-report-tmpl.yaml +224 -0
- package/pro/squads/claude-code-mastery/templates/skill-definition-tmpl.md +67 -0
- package/pro/squads/claude-code-mastery/templates/violations-log-tmpl.jsonl +0 -0
- package/pro/squads/claude-code-mastery/workflows/wf-audit-complete.yaml +178 -0
- package/pro/squads/claude-code-mastery/workflows/wf-knowledge-update.yaml +447 -0
- package/pro/squads/claude-code-mastery/workflows/wf-project-setup.yaml +236 -0
- package/pro/squads/data/HEADLINE.md +3 -0
- package/pro/squads/data/README.md +292 -0
- package/pro/squads/data/agents/avinash-kaushik.md +1117 -0
- package/pro/squads/data/agents/data-chief.md +1035 -0
- package/pro/squads/data/agents/david-spinks.md +1896 -0
- package/pro/squads/data/agents/nick-mehta.md +1338 -0
- package/pro/squads/data/agents/peter-fader.md +1815 -0
- package/pro/squads/data/agents/sean-ellis.md +2460 -0
- package/pro/squads/data/agents/wes-kao.md +2124 -0
- package/pro/squads/data/checklists/cbc-readiness-checklist.md +155 -0
- package/pro/squads/data/checklists/community-health-checklist.md +131 -0
- package/pro/squads/data/checklists/customer-360-checklist.md +997 -0
- package/pro/squads/data/checklists/customer-centricity-checklist.md +105 -0
- package/pro/squads/data/checklists/health-score-checklist.md +984 -0
- package/pro/squads/data/checklists/pre-implementation-checklist.md +291 -0
- package/pro/squads/data/checklists/so-what-checklist.md +326 -0
- package/pro/squads/data/config.yaml +705 -0
- package/pro/squads/data/data/.gitkeep +0 -0
- package/pro/squads/data/data/README.md +84 -0
- package/pro/squads/data/data/framework/01_arquitetura_geral.md +134 -0
- package/pro/squads/data/data/framework/02_tier0_fundacao.md +198 -0
- package/pro/squads/data/data/framework/03_tier0_fundamentadores.md +297 -0
- package/pro/squads/data/data/framework/04_tier1_operacionalizadores.md +447 -0
- package/pro/squads/data/data/framework/05_tier2_comunicadores.md +297 -0
- package/pro/squads/data/data/framework/06_matriz_decisao.md +328 -0
- package/pro/squads/data/data/framework/07_workflows.md +552 -0
- package/pro/squads/data/data/framework/08_cheatsheet.md +216 -0
- package/pro/squads/data/examples/cohorts-diagnostic-sample-output.yaml +10 -0
- package/pro/squads/data/outputs/workspace-hardening-summary.md +12 -0
- package/pro/squads/data/projects/data-v1-setup/prd.json +440 -0
- package/pro/squads/data/projects/data-v1-setup/prompt.md +184 -0
- package/pro/squads/data/scripts/bootstrap-data-workspace.sh +186 -0
- package/pro/squads/data/scripts/validate-data-essentials.sh +237 -0
- package/pro/squads/data/tasks/analyze-cohort.md +1777 -0
- package/pro/squads/data/tasks/build-attribution.md +1695 -0
- package/pro/squads/data/tasks/calculate-clv.md +1660 -0
- package/pro/squads/data/tasks/create-dashboard.md +2305 -0
- package/pro/squads/data/tasks/define-north-star.md +1779 -0
- package/pro/squads/data/tasks/design-health-score.md +1952 -0
- package/pro/squads/data/tasks/design-learning-outcomes.md +2122 -0
- package/pro/squads/data/tasks/load-workspace-context.md +115 -0
- package/pro/squads/data/tasks/measure-community.md +1376 -0
- package/pro/squads/data/tasks/predict-churn.md +1979 -0
- package/pro/squads/data/tasks/run-growth-experiment.md +1863 -0
- package/pro/squads/data/tasks/run-pmf-test.md +1514 -0
- package/pro/squads/data/tasks/segment-rfm.md +2070 -0
- package/pro/squads/data/templates/attribution-report-tmpl.yaml +94 -0
- package/pro/squads/data/templates/churn-alert-tmpl.yaml +529 -0
- package/pro/squads/data/templates/clv-report-tmpl.yaml +818 -0
- package/pro/squads/data/templates/cohort-analysis-tmpl.yaml +72 -0
- package/pro/squads/data/templates/cohorts/community-health-cohort-tmpl.yaml +60 -0
- package/pro/squads/data/templates/cohorts/executive-summary-tmpl.yaml +54 -0
- package/pro/squads/data/templates/cohorts/icp-deep-analysis-tmpl.yaml +49 -0
- package/pro/squads/data/templates/cohorts/learning-journey-tmpl.yaml +52 -0
- package/pro/squads/data/templates/cohorts/segmentation-rfm-tmpl.yaml +48 -0
- package/pro/squads/data/templates/cohorts/student-health-score-tmpl.yaml +50 -0
- package/pro/squads/data/templates/community-health-tmpl.yaml +106 -0
- package/pro/squads/data/templates/customer-360-tmpl.yaml +80 -0
- package/pro/squads/data/templates/dmmm-tmpl.yaml +134 -0
- package/pro/squads/data/templates/executive-report-tmpl.yaml +432 -0
- package/pro/squads/data/templates/health-score-report-tmpl.yaml +644 -0
- package/pro/squads/data/templates/learning-outcomes-tmpl.yaml +112 -0
- package/pro/squads/data/workflows/cohort-analysis-workflow.md +356 -0
- package/pro/squads/data/workflows/cohorts-diagnostic.md +96 -0
- package/pro/squads/data/workflows/create-churn-system.md +354 -0
- package/pro/squads/data/workflows/fix-completion-rate.md +436 -0
- package/pro/squads/data/workflows/implement-attribution.md +371 -0
- package/pro/squads/data/workflows/implement-customer-360.md +297 -0
- package/pro/squads/data/workflows/optimize-community-workflow.md +463 -0
- package/pro/squads/data/workspace-hardening-state.json +6 -0
- package/pro/squads/db-sage/README.md +331 -0
- package/pro/squads/db-sage/agents/db-sage.md +317 -0
- package/pro/squads/db-sage/checklists/database-design-checklist.md +79 -0
- package/pro/squads/db-sage/checklists/database-migration-documentation-checklist.md +348 -0
- package/pro/squads/db-sage/checklists/db-kiss-validation-checklist.md +246 -0
- package/pro/squads/db-sage/checklists/dba-predeploy-checklist.md +276 -0
- package/pro/squads/db-sage/checklists/dba-rollback-checklist.md +65 -0
- package/pro/squads/db-sage/checklists/migration-validation-checklist.md +195 -0
- package/pro/squads/db-sage/checklists/supabase-best-practices-audit.md +256 -0
- package/pro/squads/db-sage/config.yaml +165 -0
- package/pro/squads/db-sage/data/database-best-practices.md +42 -0
- package/pro/squads/db-sage/data/migration-safety-guide.md +64 -0
- package/pro/squads/db-sage/data/postgres-tuning-guide.md +39 -0
- package/pro/squads/db-sage/data/rls-security-patterns.md +46 -0
- package/pro/squads/db-sage/data/supabase-agent-skills.md +970 -0
- package/pro/squads/db-sage/data/supabase-patterns.md +482 -0
- package/pro/squads/db-sage/docs/.gitkeep +0 -0
- package/pro/squads/db-sage/scripts/database-adapters/detect-database.sh +113 -0
- package/pro/squads/db-sage/scripts/database-adapters/postgresql-schema-loader.sh +334 -0
- package/pro/squads/db-sage/scripts/database-adapters/unified-db-loader.sh +176 -0
- package/pro/squads/db-sage/scripts/database-operations/README.md +638 -0
- package/pro/squads/db-sage/scripts/database-operations/backup-manager.sh +341 -0
- package/pro/squads/db-sage/scripts/database-operations/connection-monitor.sh +433 -0
- package/pro/squads/db-sage/scripts/database-operations/constraint-validator.sh +588 -0
- package/pro/squads/db-sage/scripts/database-operations/data-anonymizer.sh +446 -0
- package/pro/squads/db-sage/scripts/database-operations/data-loader.sh +346 -0
- package/pro/squads/db-sage/scripts/database-operations/explain-analyzer.sh +285 -0
- package/pro/squads/db-sage/scripts/database-operations/health-checker.sh +512 -0
- package/pro/squads/db-sage/scripts/database-operations/index-manager.sh +380 -0
- package/pro/squads/db-sage/scripts/database-operations/migration-generator.sh +490 -0
- package/pro/squads/db-sage/scripts/database-operations/migration-safe-runner.sh +228 -0
- package/pro/squads/db-sage/scripts/database-operations/permission-auditor.sh +513 -0
- package/pro/squads/db-sage/scripts/database-operations/query-killer.sh +306 -0
- package/pro/squads/db-sage/scripts/database-operations/replication-monitor.sh +366 -0
- package/pro/squads/db-sage/scripts/database-operations/rls-policy-installer.sh +480 -0
- package/pro/squads/db-sage/scripts/database-operations/rls-test-suite.sh +172 -0
- package/pro/squads/db-sage/scripts/database-operations/schema-differ.sh +265 -0
- package/pro/squads/db-sage/scripts/database-operations/security-scanner.sh +683 -0
- package/pro/squads/db-sage/scripts/database-operations/setup-pgpass.sh +185 -0
- package/pro/squads/db-sage/scripts/database-operations/vacuum-optimizer.sh +448 -0
- package/pro/squads/db-sage/scripts/db-ops/backup-manager.sh +321 -0
- package/pro/squads/db-sage/scripts/db-ops/best-practices-auditor.sh +534 -0
- package/pro/squads/db-sage/scripts/db-ops/bootstrap-runner.sh +255 -0
- package/pro/squads/db-sage/scripts/db-ops/data-loader.sh +616 -0
- package/pro/squads/db-sage/scripts/db-ops/detect-database.sh +25 -0
- package/pro/squads/db-sage/scripts/db-ops/explain-analyzer.sh +90 -0
- package/pro/squads/db-sage/scripts/db-ops/health-checker.sh +323 -0
- package/pro/squads/db-sage/scripts/db-ops/migration-runner.sh +308 -0
- package/pro/squads/db-sage/scripts/db-ops/query-runner.sh +171 -0
- package/pro/squads/db-sage/scripts/db-ops/rls-policy-installer.sh +46 -0
- package/pro/squads/db-sage/scripts/db-ops/rls-test-suite.sh +38 -0
- package/pro/squads/db-sage/scripts/db-ops/schema-context-loader.sh +25 -0
- package/pro/squads/db-sage/scripts/db-ops/squad-integration-preflight.sh +155 -0
- package/pro/squads/db-sage/tasks/create-doc.md +107 -0
- package/pro/squads/db-sage/tasks/db-analyze-hotpaths.md +406 -0
- package/pro/squads/db-sage/tasks/db-apply-migration.md +206 -0
- package/pro/squads/db-sage/tasks/db-best-practices-audit.md +523 -0
- package/pro/squads/db-sage/tasks/db-bootstrap.md +464 -0
- package/pro/squads/db-sage/tasks/db-dry-run.md +122 -0
- package/pro/squads/db-sage/tasks/db-env-check.md +94 -0
- package/pro/squads/db-sage/tasks/db-explain.md +461 -0
- package/pro/squads/db-sage/tasks/db-impersonate.md +326 -0
- package/pro/squads/db-sage/tasks/db-load-csv.md +433 -0
- package/pro/squads/db-sage/tasks/db-policy-apply.md +464 -0
- package/pro/squads/db-sage/tasks/db-rls-audit.md +241 -0
- package/pro/squads/db-sage/tasks/db-rollback.md +573 -0
- package/pro/squads/db-sage/tasks/db-run-sql.md +453 -0
- package/pro/squads/db-sage/tasks/db-seed.md +230 -0
- package/pro/squads/db-sage/tasks/db-smoke-test.md +181 -0
- package/pro/squads/db-sage/tasks/db-snapshot.md +403 -0
- package/pro/squads/db-sage/tasks/db-squad-integration.md +487 -0
- package/pro/squads/db-sage/tasks/db-verify-order.md +344 -0
- package/pro/squads/db-sage/tasks/domain-modeling.md +517 -0
- package/pro/squads/db-sage/tasks/execute-checklist.md +99 -0
- package/pro/squads/db-sage/tasks/kiss.md +129 -0
- package/pro/squads/db-sage/tasks/query-optimization.md +599 -0
- package/pro/squads/db-sage/tasks/schema-audit.md +833 -0
- package/pro/squads/db-sage/tasks/supabase-setup.md +536 -0
- package/pro/squads/db-sage/templates/backup-metadata.json.tmpl +7 -0
- package/pro/squads/db-sage/templates/db-analysis-template.yaml +291 -0
- package/pro/squads/db-sage/templates/index-strategy-tmpl.yaml +53 -0
- package/pro/squads/db-sage/templates/migration-plan-tmpl.yaml +1022 -0
- package/pro/squads/db-sage/templates/migration.sql.tmpl +9 -0
- package/pro/squads/db-sage/templates/rls-policies-tmpl.yaml +1201 -0
- package/pro/squads/db-sage/templates/rollback.sql.tmpl +9 -0
- package/pro/squads/db-sage/templates/schema-design-tmpl.yaml +426 -0
- package/pro/squads/db-sage/workflows/analyze-data-workflow.yaml +407 -0
- package/pro/squads/db-sage/workflows/backup-restore-workflow.yaml +121 -0
- package/pro/squads/db-sage/workflows/kiss-gate-workflow.yaml +143 -0
- package/pro/squads/db-sage/workflows/modify-schema-workflow.yaml +440 -0
- package/pro/squads/db-sage/workflows/performance-tuning-workflow.yaml +104 -0
- package/pro/squads/db-sage/workflows/query-database-workflow.yaml +394 -0
- package/pro/squads/db-sage/workflows/setup-database-workflow.yaml +428 -0
- package/pro/squads/design/agents/nano-banana-generator.md +2 -2
- package/pro/squads/design/config.yaml +3 -0
- package/pro/squads/design/docs/tool-discovery-report.md +1 -1
- package/pro/squads/design/tasks/create-doc.md +1 -1
- package/pro/squads/etl-ops/HEADLINE.md +3 -0
- package/pro/squads/etl-ops/README.md +121 -0
- package/pro/squads/etl-ops/agents/etl-chief.md +440 -0
- package/pro/squads/etl-ops/agents/etl-extractor.md +352 -0
- package/pro/squads/etl-ops/agents/etl-transformer.md +409 -0
- package/pro/squads/etl-ops/checklists/.gitkeep +0 -0
- package/pro/squads/etl-ops/checklists/README.md +1 -0
- package/pro/squads/etl-ops/config.yaml +405 -0
- package/pro/squads/etl-ops/data/checkpoints.yaml +92 -0
- package/pro/squads/etl-ops/data/enriched-transcript.schema.json +107 -0
- package/pro/squads/etl-ops/data/infrastructure-map.yaml +27 -0
- package/pro/squads/etl-ops/data/output-contract.yaml +85 -0
- package/pro/squads/etl-ops/data/process.schema.json +293 -0
- package/pro/squads/etl-ops/data/quality-gates.yaml +40 -0
- package/pro/squads/etl-ops/data/routing-profiles.yaml +239 -0
- package/pro/squads/etl-ops/data/service-catalog.yaml +13 -0
- package/pro/squads/etl-ops/data/token-registry.yaml +58 -0
- package/pro/squads/etl-ops/docs/.gitkeep +0 -0
- package/pro/squads/etl-ops/scripts/bootstrap-etl-workspace.sh +42 -0
- package/pro/squads/etl-ops/scripts/etl-env-bootstrap.sh +876 -0
- package/pro/squads/etl-ops/scripts/validate-etl-essentials.sh +164 -0
- package/pro/squads/etl-ops/squad-io.yaml +61 -0
- package/pro/squads/etl-ops/tasks/compile.md +191 -0
- package/pro/squads/etl-ops/tasks/enrich.md +236 -0
- package/pro/squads/etl-ops/tasks/etl-env-bootstrap.md +140 -0
- package/pro/squads/etl-ops/tasks/extract-keyframes.md +318 -0
- package/pro/squads/etl-ops/tasks/extract-podcast.md +146 -0
- package/pro/squads/etl-ops/tasks/load-workspace-context.md +140 -0
- package/pro/squads/etl-ops/tasks/process.md +185 -0
- package/pro/squads/etl-ops/tasks/summarize-book.md +121 -0
- package/pro/squads/etl-ops/templates/cross-domain-handoff-tmpl.yaml +9 -0
- package/pro/squads/etl-ops/workflows/etl-pipeline.yaml +25 -0
- package/pro/squads/etl-ops/workflows/etl-thresholds.yaml +15 -0
- package/pro/squads/hormozi/HEADLINE.md +3 -0
- package/pro/squads/hormozi/README.md +313 -0
- package/pro/squads/hormozi/agents/hormozi-ads.md +1863 -0
- package/pro/squads/hormozi/agents/hormozi-advisor.md +1866 -0
- package/pro/squads/hormozi/agents/hormozi-audit.md +2301 -0
- package/pro/squads/hormozi/agents/hormozi-chief.md +1671 -0
- package/pro/squads/hormozi/agents/hormozi-closer.md +2631 -0
- package/pro/squads/hormozi/agents/hormozi-content.md +2148 -0
- package/pro/squads/hormozi/agents/hormozi-copy.md +2000 -0
- package/pro/squads/hormozi/agents/hormozi-hooks.md +1790 -0
- package/pro/squads/hormozi/agents/hormozi-launch.md +1734 -0
- package/pro/squads/hormozi/agents/hormozi-leads.md +1022 -0
- package/pro/squads/hormozi/agents/hormozi-models.md +1429 -0
- package/pro/squads/hormozi/agents/hormozi-offers.md +2228 -0
- package/pro/squads/hormozi/agents/hormozi-pricing.md +1784 -0
- package/pro/squads/hormozi/agents/hormozi-retention.md +1467 -0
- package/pro/squads/hormozi/agents/hormozi-scale.md +2312 -0
- package/pro/squads/hormozi/agents/hormozi-workshop.md +2715 -0
- package/pro/squads/hormozi/checklists/5-horsemen-checklist.md +188 -0
- package/pro/squads/hormozi/checklists/activation-point-checklist.md +156 -0
- package/pro/squads/hormozi/checklists/ad-angles-checklist.md +395 -0
- package/pro/squads/hormozi/checklists/affiliates-referrals-checklist.md +411 -0
- package/pro/squads/hormozi/checklists/antipattern-screening.md +319 -0
- package/pro/squads/hormozi/checklists/bonuses-checklist.md +282 -0
- package/pro/squads/hormozi/checklists/branding-checklist.md +547 -0
- package/pro/squads/hormozi/checklists/churn-diagnosis-checklist.md +148 -0
- package/pro/squads/hormozi/checklists/content-creation-checklist.md +598 -0
- package/pro/squads/hormozi/checklists/core-four-checklist.md +543 -0
- package/pro/squads/hormozi/checklists/customer-journey-checklist.md +207 -0
- package/pro/squads/hormozi/checklists/downsell-strategy-checklist.md +306 -0
- package/pro/squads/hormozi/checklists/email-campaign-checklist.md +484 -0
- package/pro/squads/hormozi/checklists/engagement-scoring-checklist.md +227 -0
- package/pro/squads/hormozi/checklists/exit-interview-checklist.md +206 -0
- package/pro/squads/hormozi/checklists/fast-cash-checklist.md +434 -0
- package/pro/squads/hormozi/checklists/goated-ads-checklist.md +558 -0
- package/pro/squads/hormozi/checklists/golden-ratios-veto.md +340 -0
- package/pro/squads/hormozi/checklists/guarantees-checklist.md +312 -0
- package/pro/squads/hormozi/checklists/hooks-checklist.md +621 -0
- package/pro/squads/hormozi/checklists/landing-page-checklist.md +514 -0
- package/pro/squads/hormozi/checklists/launch-checklist.md +1033 -0
- package/pro/squads/hormozi/checklists/lead-magnet-checklist.md +421 -0
- package/pro/squads/hormozi/checklists/lead-nurture-checklist.md +730 -0
- package/pro/squads/hormozi/checklists/ltv-checklist.md +953 -0
- package/pro/squads/hormozi/checklists/market-validation-veto.md +248 -0
- package/pro/squads/hormozi/checklists/marketing-machine-checklist.md +570 -0
- package/pro/squads/hormozi/checklists/money-model-checklist.md +226 -0
- package/pro/squads/hormozi/checklists/naming-framework-checklist.md +325 -0
- package/pro/squads/hormozi/checklists/offer-architecture-checklist.md +542 -0
- package/pro/squads/hormozi/checklists/onboarding-30-day-checklist.md +223 -0
- package/pro/squads/hormozi/checklists/price-raise-checklist.md +399 -0
- package/pro/squads/hormozi/checklists/pricing-checklist.md +228 -0
- package/pro/squads/hormozi/checklists/pricing-framework-checklist.md +627 -0
- package/pro/squads/hormozi/checklists/registration-page-checklist.md +429 -0
- package/pro/squads/hormozi/checklists/retention-checklist.md +977 -0
- package/pro/squads/hormozi/checklists/sales-page-checklist.md +682 -0
- package/pro/squads/hormozi/checklists/scarcity-urgency-checklist.md +423 -0
- package/pro/squads/hormozi/checklists/subscription-model-checklist.md +342 -0
- package/pro/squads/hormozi/checklists/upsell-page-checklist.md +374 -0
- package/pro/squads/hormozi/checklists/upsell-sequence-checklist.md +217 -0
- package/pro/squads/hormozi/checklists/upsell-strategy-checklist.md +424 -0
- package/pro/squads/hormozi/checklists/value-equation-checklist.md +387 -0
- package/pro/squads/hormozi/checklists/vsl-script-checklist.md +464 -0
- package/pro/squads/hormozi/checklists/workshop-launch-checklist.md +585 -0
- package/pro/squads/hormozi/config/veto-conditions.yaml +324 -0
- package/pro/squads/hormozi/config.yaml +617 -0
- package/pro/squads/hormozi/data/antipatterns-database.yaml +402 -0
- package/pro/squads/hormozi/data/hormozi-case-library.yaml +469 -0
- package/pro/squads/hormozi/data/hormozi-infrastructure-map.yaml +16 -0
- package/pro/squads/hormozi/data/hormozi-service-catalog.yaml +14 -0
- package/pro/squads/hormozi/data/minds/hormozi-ads_dna.yaml +75 -0
- package/pro/squads/hormozi/data/minds/hormozi-advisor_dna.yaml +112 -0
- package/pro/squads/hormozi/data/minds/hormozi-audit_dna.yaml +124 -0
- package/pro/squads/hormozi/data/minds/hormozi-closer_dna.yaml +109 -0
- package/pro/squads/hormozi/data/minds/hormozi-content_dna.yaml +112 -0
- package/pro/squads/hormozi/data/minds/hormozi-copy_dna.yaml +115 -0
- package/pro/squads/hormozi/data/minds/hormozi-hooks_dna.yaml +134 -0
- package/pro/squads/hormozi/data/minds/hormozi-launch_dna.yaml +122 -0
- package/pro/squads/hormozi/data/minds/hormozi-leads_dna.yaml +64 -0
- package/pro/squads/hormozi/data/minds/hormozi-models_dna.yaml +111 -0
- package/pro/squads/hormozi/data/minds/hormozi-offers_dna.yaml +100 -0
- package/pro/squads/hormozi/data/minds/hormozi-pricing_dna.yaml +129 -0
- package/pro/squads/hormozi/data/minds/hormozi-retention_dna.yaml +120 -0
- package/pro/squads/hormozi/data/minds/hormozi-scale_dna.yaml +112 -0
- package/pro/squads/hormozi/data/minds/hormozi-thinking-dna.yaml +421 -0
- package/pro/squads/hormozi/data/minds/hormozi-voice-dna.yaml +548 -0
- package/pro/squads/hormozi/data/minds/hormozi-workshop_dna.yaml +109 -0
- package/pro/squads/hormozi/data/quality-gates.yaml +76 -0
- package/pro/squads/hormozi/data/scaling-by-business-type.yaml +166 -0
- package/pro/squads/hormozi/data/source-index.yaml +215 -0
- package/pro/squads/hormozi/data/swipefiles/ads-swipefile.yaml +378 -0
- package/pro/squads/hormozi/data/swipefiles/blueprint-swipefile.yaml +1223 -0
- package/pro/squads/hormozi/data/swipefiles/branding-swipefile.yaml +142 -0
- package/pro/squads/hormozi/data/swipefiles/closing-swipefile.yaml +716 -0
- package/pro/squads/hormozi/data/swipefiles/content-swipefile.yaml +579 -0
- package/pro/squads/hormozi/data/swipefiles/copy-sales-swipefile.yaml +1085 -0
- package/pro/squads/hormozi/data/swipefiles/fast-cash-swipefile.yaml +190 -0
- package/pro/squads/hormozi/data/swipefiles/goated-ads-swipefile.yaml +770 -0
- package/pro/squads/hormozi/data/swipefiles/hooks-swipefile.yaml +1982 -0
- package/pro/squads/hormozi/data/swipefiles/lead-nurture-swipefile.yaml +191 -0
- package/pro/squads/hormozi/data/swipefiles/ltv-swipefile.yaml +216 -0
- package/pro/squads/hormozi/data/swipefiles/marketing-machine-swipefile.yaml +191 -0
- package/pro/squads/hormozi/data/swipefiles/naming-swipefile-brasil.yaml +596 -0
- package/pro/squads/hormozi/data/swipefiles/naming-swipefile-global.yaml +543 -0
- package/pro/squads/hormozi/data/swipefiles/price-raise-swipefile.yaml +213 -0
- package/pro/squads/hormozi/data/swipefiles/pricing-swipefile.yaml +203 -0
- package/pro/squads/hormozi/data/swipefiles/proof-swipefile.yaml +443 -0
- package/pro/squads/hormozi/data/swipefiles/retention-swipefile.yaml +245 -0
- package/pro/squads/hormozi/data/swipefiles/scaling-roadmap-swipefile.yaml +529 -0
- package/pro/squads/hormozi/data/swipefiles/workshop-launch-swipefile.yaml +912 -0
- package/pro/squads/hormozi/data/token-registry.yaml +89 -0
- package/pro/squads/hormozi/docs/MIGRATION-PLAN-AGENT-CONFORMITY.md +326 -0
- package/pro/squads/hormozi/docs/frameworks/100m-offers-framework.md +363 -0
- package/pro/squads/hormozi/docs/frameworks/attraction-offers-framework.md +720 -0
- package/pro/squads/hormozi/docs/frameworks/bonuses-framework.md +501 -0
- package/pro/squads/hormozi/docs/frameworks/core-four-framework.md +685 -0
- package/pro/squads/hormozi/docs/frameworks/goated-ads-framework.md +916 -0
- package/pro/squads/hormozi/docs/frameworks/guarantees-framework.md +709 -0
- package/pro/squads/hormozi/docs/frameworks/hooks-framework.md +1007 -0
- package/pro/squads/hormozi/docs/frameworks/lead-magnet-framework.md +485 -0
- package/pro/squads/hormozi/docs/frameworks/money-models-framework.md +891 -0
- package/pro/squads/hormozi/docs/frameworks/scarcity-framework.md +793 -0
- package/pro/squads/hormozi/docs/frameworks/urgency-framework.md +533 -0
- package/pro/squads/hormozi/docs/frameworks/value-equation-framework.md +428 -0
- package/pro/squads/hormozi/docs/frameworks/workshop-framework.md +289 -0
- package/pro/squads/hormozi/docs/sops/.parallel-execution-plan-batch2.md +344 -0
- package/pro/squads/hormozi/docs/sops/.parallel-execution-plan-batch3.md +331 -0
- package/pro/squads/hormozi/docs/sops/.parallel-execution-plan.md +558 -0
- package/pro/squads/hormozi/docs/sops/ad-angles-sop.md +1247 -0
- package/pro/squads/hormozi/docs/sops/ad-angles-squad-blueprint.yaml +739 -0
- package/pro/squads/hormozi/docs/sops/affiliates-referrals-sop.md +1105 -0
- package/pro/squads/hormozi/docs/sops/affiliates-referrals-squad-blueprint.yaml +1131 -0
- package/pro/squads/hormozi/docs/sops/bonuses-sop.md +1014 -0
- package/pro/squads/hormozi/docs/sops/bonuses-squad-blueprint.yaml +994 -0
- package/pro/squads/hormozi/docs/sops/branding-sop.md +870 -0
- package/pro/squads/hormozi/docs/sops/branding-squad-blueprint.yaml +1107 -0
- package/pro/squads/hormozi/docs/sops/content-creation-sop.md +877 -0
- package/pro/squads/hormozi/docs/sops/content-creation-squad-blueprint.yaml +1362 -0
- package/pro/squads/hormozi/docs/sops/core-four-sop.md +1231 -0
- package/pro/squads/hormozi/docs/sops/core-four-squad-blueprint.yaml +1205 -0
- package/pro/squads/hormozi/docs/sops/downsell-strategy-sop.md +832 -0
- package/pro/squads/hormozi/docs/sops/downsell-strategy-squad-blueprint.yaml +1230 -0
- package/pro/squads/hormozi/docs/sops/email-campaign-sop.md +1547 -0
- package/pro/squads/hormozi/docs/sops/email-campaign-squad-blueprint.yaml +1150 -0
- package/pro/squads/hormozi/docs/sops/fast-cash-sop.md +1224 -0
- package/pro/squads/hormozi/docs/sops/fast-cash-squad-blueprint.yaml +1128 -0
- package/pro/squads/hormozi/docs/sops/goated-ads-sop.md +671 -0
- package/pro/squads/hormozi/docs/sops/goated-ads-squad-blueprint.yaml +627 -0
- package/pro/squads/hormozi/docs/sops/guarantees-sop.md +1017 -0
- package/pro/squads/hormozi/docs/sops/guarantees-squad-blueprint.yaml +1252 -0
- package/pro/squads/hormozi/docs/sops/hooks-sop.md +958 -0
- package/pro/squads/hormozi/docs/sops/hooks-squad-blueprint.yaml +740 -0
- package/pro/squads/hormozi/docs/sops/landing-page-sop.md +1079 -0
- package/pro/squads/hormozi/docs/sops/landing-page-squad-blueprint.yaml +1373 -0
- package/pro/squads/hormozi/docs/sops/launch-sop.md +1055 -0
- package/pro/squads/hormozi/docs/sops/launch-squad-blueprint.yaml +1276 -0
- package/pro/squads/hormozi/docs/sops/lead-magnet-sop.md +807 -0
- package/pro/squads/hormozi/docs/sops/lead-magnet-squad-blueprint.yaml +1144 -0
- package/pro/squads/hormozi/docs/sops/lead-nurture-sop.md +867 -0
- package/pro/squads/hormozi/docs/sops/lead-nurture-squad-blueprint.yaml +1168 -0
- package/pro/squads/hormozi/docs/sops/ltv-sop.md +897 -0
- package/pro/squads/hormozi/docs/sops/ltv-squad-blueprint.yaml +1286 -0
- package/pro/squads/hormozi/docs/sops/marketing-machine-sop.md +1257 -0
- package/pro/squads/hormozi/docs/sops/marketing-machine-squad-blueprint.yaml +1433 -0
- package/pro/squads/hormozi/docs/sops/naming-framework-sop.md +1006 -0
- package/pro/squads/hormozi/docs/sops/naming-framework-squad-blueprint.yaml +543 -0
- package/pro/squads/hormozi/docs/sops/offer-architecture-sop.md +843 -0
- package/pro/squads/hormozi/docs/sops/offer-architecture-squad-blueprint.yaml +794 -0
- package/pro/squads/hormozi/docs/sops/price-raise-sop.md +983 -0
- package/pro/squads/hormozi/docs/sops/price-raise-squad-blueprint.yaml +919 -0
- package/pro/squads/hormozi/docs/sops/pricing-framework-sop.md +459 -0
- package/pro/squads/hormozi/docs/sops/pricing-squad-blueprint.yaml +517 -0
- package/pro/squads/hormozi/docs/sops/registration-page-sop.md +1111 -0
- package/pro/squads/hormozi/docs/sops/registration-page-squad-blueprint.yaml +762 -0
- package/pro/squads/hormozi/docs/sops/retention-sop.md +1065 -0
- package/pro/squads/hormozi/docs/sops/retention-squad-blueprint.yaml +1356 -0
- package/pro/squads/hormozi/docs/sops/sales-page-sop.md +924 -0
- package/pro/squads/hormozi/docs/sops/sales-page-squad-blueprint.yaml +1096 -0
- package/pro/squads/hormozi/docs/sops/scarcity-urgency-sop.md +1092 -0
- package/pro/squads/hormozi/docs/sops/scarcity-urgency-squad-blueprint.yaml +1206 -0
- package/pro/squads/hormozi/docs/sops/subscription-model-sop.md +1077 -0
- package/pro/squads/hormozi/docs/sops/subscription-model-squad-blueprint.yaml +1007 -0
- package/pro/squads/hormozi/docs/sops/upsell-page-sop.md +886 -0
- package/pro/squads/hormozi/docs/sops/upsell-page-squad-blueprint.yaml +1100 -0
- package/pro/squads/hormozi/docs/sops/upsell-strategy-sop.md +1265 -0
- package/pro/squads/hormozi/docs/sops/upsell-strategy-squad-blueprint.yaml +1245 -0
- package/pro/squads/hormozi/docs/sops/value-equation-sop.md +793 -0
- package/pro/squads/hormozi/docs/sops/value-equation-squad-blueprint.yaml +777 -0
- package/pro/squads/hormozi/docs/sops/vsl-script-sop.md +1145 -0
- package/pro/squads/hormozi/docs/sops/vsl-script-squad-blueprint.yaml +777 -0
- package/pro/squads/hormozi/docs/sops/workshop-launch-sop.md +1273 -0
- package/pro/squads/hormozi/docs/sops/workshop-launch-squad-blueprint.yaml +1292 -0
- package/pro/squads/hormozi/docs/validation-report-2026-02-10.md +79 -0
- package/pro/squads/hormozi/scripts/generate-hormozi-greeting.cjs +132 -0
- package/pro/squads/hormozi/scripts/load-context.cjs +139 -0
- package/pro/squads/hormozi/scripts/resolve-readiness.cjs +45 -0
- package/pro/squads/hormozi/scripts/runtime-paths.cjs +44 -0
- package/pro/squads/hormozi/scripts/set-active-context.cjs +104 -0
- package/pro/squads/hormozi/scripts/show-context.cjs +22 -0
- package/pro/squads/hormozi/scripts/validate-antipattern.py +287 -0
- package/pro/squads/hormozi/scripts/validate-handoff.py +166 -0
- package/pro/squads/hormozi/scripts/validate-mvn.py +198 -0
- package/pro/squads/hormozi/sops/pricing-squad-blueprint.yaml +1445 -0
- package/pro/squads/hormozi/squad-io.yaml +917 -0
- package/pro/squads/hormozi/tasks/architect-offer-stack.md +228 -0
- package/pro/squads/hormozi/tasks/build-marketing-machine.md +205 -0
- package/pro/squads/hormozi/tasks/build-scaling-team.md +271 -0
- package/pro/squads/hormozi/tasks/calculate-30-day-profit.md +418 -0
- package/pro/squads/hormozi/tasks/calculate-ppd.md +200 -0
- package/pro/squads/hormozi/tasks/create-ad-angles.md +182 -0
- package/pro/squads/hormozi/tasks/create-ad-campaign.md +399 -0
- package/pro/squads/hormozi/tasks/create-bonus-stack.md +287 -0
- package/pro/squads/hormozi/tasks/create-closer-script.md +240 -0
- package/pro/squads/hormozi/tasks/create-content-unit.md +176 -0
- package/pro/squads/hormozi/tasks/create-contingency-plan.md +426 -0
- package/pro/squads/hormozi/tasks/create-downsell-sequence.md +427 -0
- package/pro/squads/hormozi/tasks/create-email-sequence.md +196 -0
- package/pro/squads/hormozi/tasks/create-engagement-scoring.md +484 -0
- package/pro/squads/hormozi/tasks/create-exit-interview-system.md +382 -0
- package/pro/squads/hormozi/tasks/create-grand-slam-offer.md +499 -0
- package/pro/squads/hormozi/tasks/create-guarantee-stack.md +246 -0
- package/pro/squads/hormozi/tasks/create-hook-set.md +368 -0
- package/pro/squads/hormozi/tasks/create-landing-page.md +130 -0
- package/pro/squads/hormozi/tasks/create-launch-narrative.md +406 -0
- package/pro/squads/hormozi/tasks/create-launch-timeline.md +473 -0
- package/pro/squads/hormozi/tasks/create-lead-magnet.md +479 -0
- package/pro/squads/hormozi/tasks/create-nurture-sequence.md +207 -0
- package/pro/squads/hormozi/tasks/create-offer-name.md +165 -0
- package/pro/squads/hormozi/tasks/create-pricing-strategy.md +177 -0
- package/pro/squads/hormozi/tasks/create-registration-page.md +190 -0
- package/pro/squads/hormozi/tasks/create-sales-page.md +157 -0
- package/pro/squads/hormozi/tasks/create-upsell-page.md +138 -0
- package/pro/squads/hormozi/tasks/create-upsell-sequence.md +449 -0
- package/pro/squads/hormozi/tasks/create-vsl-script.md +175 -0
- package/pro/squads/hormozi/tasks/design-brand-identity.md +186 -0
- package/pro/squads/hormozi/tasks/design-continuity-offer.md +462 -0
- package/pro/squads/hormozi/tasks/design-core-four-strategy.md +733 -0
- package/pro/squads/hormozi/tasks/design-customer-journey.md +426 -0
- package/pro/squads/hormozi/tasks/design-launch-value-stack.md +379 -0
- package/pro/squads/hormozi/tasks/design-money-model.md +391 -0
- package/pro/squads/hormozi/tasks/design-onboarding-sequence.md +380 -0
- package/pro/squads/hormozi/tasks/design-scarcity-urgency.md +216 -0
- package/pro/squads/hormozi/tasks/design-subscription-model.md +162 -0
- package/pro/squads/hormozi/tasks/design-systems-automation.md +234 -0
- package/pro/squads/hormozi/tasks/design-workshop.md +167 -0
- package/pro/squads/hormozi/tasks/diagnose-business-stage.md +323 -0
- package/pro/squads/hormozi/tasks/diagnose-cfa-level.md +198 -0
- package/pro/squads/hormozi/tasks/diagnose-churn-rate.md +265 -0
- package/pro/squads/hormozi/tasks/diagnose-scaling-constraint.md +257 -0
- package/pro/squads/hormozi/tasks/diagnose-value-equation.md +431 -0
- package/pro/squads/hormozi/tasks/discover-activation-points.md +329 -0
- package/pro/squads/hormozi/tasks/execute-price-raise.md +221 -0
- package/pro/squads/hormozi/tasks/execute-rule-of-100.md +423 -0
- package/pro/squads/hormozi/tasks/generate-fast-cash.md +217 -0
- package/pro/squads/hormozi/tasks/implement-5-horsemen.md +430 -0
- package/pro/squads/hormozi/tasks/optimize-ltv-cac-ratio.md +505 -0
- package/pro/squads/hormozi/tasks/plan-launch-evento.md +395 -0
- package/pro/squads/hormozi/tasks/run-launch-post-mortem.md +461 -0
- package/pro/squads/hormozi/tasks/setup-affiliate-program.md +406 -0
- package/pro/squads/hormozi/tasks/setup-war-room.md +407 -0
- package/pro/squads/hormozi/tasks/validate-market-selection.md +331 -0
- package/pro/squads/hormozi/templates/capacity-planning-worksheet.yaml +151 -0
- package/pro/squads/hormozi/templates/grand-slam-offer-output.yaml +462 -0
- package/pro/squads/hormozi/templates/grand-slam-offer-tmpl.md +34 -0
- package/pro/squads/hormozi/templates/handoff-context-tmpl.yaml +215 -0
- package/pro/squads/hormozi/templates/money-model-tmpl.md +29 -0
- package/pro/squads/hormozi/templates/offer-analysis-tmpl.md +33 -0
- package/pro/squads/hormozi/templates/value-equation-scorecard.md +267 -0
- package/pro/squads/hormozi/workflows/wf-context-diagnosis.yaml +569 -0
- package/pro/squads/hormozi/workflows/wf-full-launch-sequence.yaml +995 -0
- package/pro/squads/hormozi/workflows/wf-grand-slam-offer.yaml +1138 -0
- package/pro/squads/hormozi/workflows/wf-growth-decision.yaml +135 -0
- package/pro/squads/hormozi/workflows/wf-lead-magnet-pipeline.yaml +1147 -0
- package/pro/squads/hormozi/workflows/wf-money-model-design.yaml +1168 -0
- package/pro/squads/hormozi/workflows/wf-opportunity-screening.yaml +511 -0
- package/pro/squads/hormozi/workflows/wf-paid-ads-campaign.yaml +1204 -0
- package/pro/squads/hormozi/workflows/wf-scaling-diagnostic.yaml +636 -0
- package/pro/squads/index.js +2 -2
- package/pro/squads/spy/HEADLINE.md +3 -0
- package/pro/squads/spy/README.md +115 -0
- package/pro/squads/spy/agents/bench-analyst.md +654 -0
- package/pro/squads/spy/agents/research-head.md +673 -0
- package/pro/squads/spy/agents/spy.md +498 -0
- package/pro/squads/spy/checklists/bench-quality-checklist.md +119 -0
- package/pro/squads/spy/checklists/content-creation-checklist.md +136 -0
- package/pro/squads/spy/config.yaml +587 -0
- package/pro/squads/spy/data/bench-data-sources.yaml +46 -0
- package/pro/squads/spy/data/bench-dimension-packs.yaml +182 -0
- package/pro/squads/spy/data/bench-output-formats.yaml +44 -0
- package/pro/squads/spy/data/bench-skeleton.md +184 -0
- package/pro/squads/spy/data/capability-tools.yaml +109 -0
- package/pro/squads/spy/data/knowledge-base.md +337 -0
- package/pro/squads/spy/data/quality-gates.yaml +48 -0
- package/pro/squads/spy/data/spy-infrastructure-map.yaml +27 -0
- package/pro/squads/spy/data/spy-service-catalog.yaml +13 -0
- package/pro/squads/spy/data/token-registry.yaml +57 -0
- package/pro/squads/spy/data/viral-content-framework.md +304 -0
- package/pro/squads/spy/docs/tool-discovery-report.md +110 -0
- package/pro/squads/spy/docs/tool-integration-plan.md +47 -0
- package/pro/squads/spy/scripts/prepare-benchmark-workspace.sh +14 -0
- package/pro/squads/spy/scripts/publish-benchmark-report.sh +16 -0
- package/pro/squads/spy/squad-io.yaml +24 -0
- package/pro/squads/spy/tasks/bench-absorb.md +266 -0
- package/pro/squads/spy/tasks/bench-battle-card.md +398 -0
- package/pro/squads/spy/tasks/bench-codebase-recon.md +339 -0
- package/pro/squads/spy/tasks/bench-company-intel.md +360 -0
- package/pro/squads/spy/tasks/bench-deep-compare.md +573 -0
- package/pro/squads/spy/tasks/bench-detect.md +349 -0
- package/pro/squads/spy/tasks/bench-framework.md +105 -0
- package/pro/squads/spy/tasks/bench-gap-analysis.md +168 -0
- package/pro/squads/spy/tasks/bench-gap-company.md +48 -0
- package/pro/squads/spy/tasks/bench-gap-llm.md +48 -0
- package/pro/squads/spy/tasks/bench-gap-product.md +48 -0
- package/pro/squads/spy/tasks/bench-gap-technology.md +48 -0
- package/pro/squads/spy/tasks/bench-gap.md +78 -0
- package/pro/squads/spy/tasks/bench-hooks.md +209 -0
- package/pro/squads/spy/tasks/bench-inventory.md +98 -0
- package/pro/squads/spy/tasks/bench-llm-eval.md +359 -0
- package/pro/squads/spy/tasks/bench-matrix-codebase.md +50 -0
- package/pro/squads/spy/tasks/bench-matrix-company.md +50 -0
- package/pro/squads/spy/tasks/bench-matrix-llm.md +50 -0
- package/pro/squads/spy/tasks/bench-matrix-product.md +50 -0
- package/pro/squads/spy/tasks/bench-matrix-technology.md +50 -0
- package/pro/squads/spy/tasks/bench-matrix.md +78 -0
- package/pro/squads/spy/tasks/bench-migrate.md +207 -0
- package/pro/squads/spy/tasks/bench-product-research.md +370 -0
- package/pro/squads/spy/tasks/bench-quick-compare.md +287 -0
- package/pro/squads/spy/tasks/bench-report-load-evidence.md +49 -0
- package/pro/squads/spy/tasks/bench-report-publish.md +49 -0
- package/pro/squads/spy/tasks/bench-report-synthesize-findings.md +48 -0
- package/pro/squads/spy/tasks/bench-report.md +70 -0
- package/pro/squads/spy/tasks/bench-score.md +406 -0
- package/pro/squads/spy/tasks/bench-synergy.md +248 -0
- package/pro/squads/spy/tasks/bench-tech-eval.md +417 -0
- package/pro/squads/spy/tasks/bench-traceability.md +225 -0
- package/pro/squads/spy/tasks/deep-research-collect.md +50 -0
- package/pro/squads/spy/tasks/deep-research-comments.md +48 -0
- package/pro/squads/spy/tasks/deep-research-patterns.md +49 -0
- package/pro/squads/spy/tasks/deep-research-publish.md +49 -0
- package/pro/squads/spy/tasks/deep-research-select.md +48 -0
- package/pro/squads/spy/tasks/deep-research-synthesis.md +49 -0
- package/pro/squads/spy/tasks/deep-research-transcribe.md +48 -0
- package/pro/squads/spy/tasks/deep-research.md +116 -0
- package/pro/squads/spy/tasks/quick-analysis.md +130 -0
- package/pro/squads/spy/templates/bench-battle-card-tmpl.md +52 -0
- package/pro/squads/spy/templates/bench-codebase-comparativo-tmpl.md +84 -0
- package/pro/squads/spy/templates/bench-codebase-scores-tmpl.md +41 -0
- package/pro/squads/spy/templates/bench-comparativo-tmpl.md +86 -0
- package/pro/squads/spy/templates/bench-deep-compare-tmpl.md +117 -0
- package/pro/squads/spy/templates/bench-gap-tmpl.md +194 -0
- package/pro/squads/spy/templates/bench-matrix-tmpl.md +130 -0
- package/pro/squads/spy/templates/bench-migration-tmpl.md +127 -0
- package/pro/squads/spy/templates/bench-quadrant-tmpl.md +227 -0
- package/pro/squads/spy/templates/bench-report-tmpl.md +167 -0
- package/pro/squads/spy/templates/bench-scorecard-tmpl.md +113 -0
- package/pro/squads/spy/templates/bench-scores-tmpl.md +43 -0
- package/pro/squads/spy/templates/bench-synergy-tmpl.md +381 -0
- package/pro/squads/spy/templates/cross-domain-handoff-tmpl.yaml +9 -0
- package/pro/squads/spy/templates/player-analysis-tmpl.md +145 -0
- package/pro/squads/spy/workflows/bench-comparison-pipeline.yaml +1193 -0
- package/pro/squads/squad-creator/CHANGELOG.md +162 -0
- package/pro/squads/squad-creator/README.md +1176 -0
- package/pro/squads/squad-creator/agents/squad-chief.md +1449 -0
- package/pro/squads/squad-creator/checklists/agent-quality-gate.md +433 -0
- package/pro/squads/squad-creator/checklists/analysis-quality-checklist.md +70 -0
- package/pro/squads/squad-creator/checklists/create-agent-checklist.md +239 -0
- package/pro/squads/squad-creator/checklists/create-squad-checklist.md +326 -0
- package/pro/squads/squad-creator/checklists/create-task-checklist.md +225 -0
- package/pro/squads/squad-creator/checklists/create-workflow-checklist.md +243 -0
- package/pro/squads/squad-creator/checklists/greeting-script-checklist.md +110 -0
- package/pro/squads/squad-creator/checklists/install-skills-checklist.md +197 -0
- package/pro/squads/squad-creator/checklists/pipeline-runner-checklist.md +135 -0
- package/pro/squads/squad-creator/checklists/report-quality-checklist.md +49 -0
- package/pro/squads/squad-creator/checklists/squad-checklist.md +1000 -0
- package/pro/squads/squad-creator/checklists/squad-consistency-patterns.md +134 -0
- package/pro/squads/squad-creator/checklists/squad-overview-checklist.md +381 -0
- package/pro/squads/squad-creator/checklists/squad-structural-completeness.md +394 -0
- package/pro/squads/squad-creator/checklists/task-anatomy-checklist.md +687 -0
- package/pro/squads/squad-creator/checklists/upgrade-squad-checklist.md +222 -0
- package/pro/squads/squad-creator/config/squad-config.yaml +202 -0
- package/pro/squads/squad-creator/config/workflow-yaml-schema.yaml +323 -0
- package/pro/squads/squad-creator/config.yaml +429 -0
- package/pro/squads/squad-creator/data/base-core-contract.yaml +22 -0
- package/pro/squads/squad-creator/data/baselines/ecosystem-baseline.yaml +88 -0
- package/pro/squads/squad-creator/data/baselines/initial-radar.yaml +89 -0
- package/pro/squads/squad-creator/data/best-practices.md +986 -0
- package/pro/squads/squad-creator/data/cc-agent-schema-ref.yaml +405 -0
- package/pro/squads/squad-creator/data/core-heuristics.md +510 -0
- package/pro/squads/squad-creator/data/decision-heuristics-framework.md +695 -0
- package/pro/squads/squad-creator/data/design-heuristics-diagnostic-systems.md +140 -0
- package/pro/squads/squad-creator/data/executor-matrix-framework.md +441 -0
- package/pro/squads/squad-creator/data/hybridops-patterns.md +1351 -0
- package/pro/squads/squad-creator/data/journey-log-events.yaml +72 -0
- package/pro/squads/squad-creator/data/kaizen-legacy/kaizen-infrastructure-map.yaml +16 -0
- package/pro/squads/squad-creator/data/kpi-baseline.yaml +72 -0
- package/pro/squads/squad-creator/data/process-token-map.yaml +225 -0
- package/pro/squads/squad-creator/data/quality-dimensions-framework.md +405 -0
- package/pro/squads/squad-creator/data/quality-gates.yaml +135 -0
- package/pro/squads/squad-creator/data/radar/initial-radar.yaml +76 -0
- package/pro/squads/squad-creator/data/recommendation-tracker.yaml +53 -0
- package/pro/squads/squad-creator/data/reports/self-improve-2026-02-15.md +111 -0
- package/pro/squads/squad-creator/data/reports/week-07-2026-02-15.md +210 -0
- package/pro/squads/squad-creator/data/reports/week-09-2026-02-28.md +295 -0
- package/pro/squads/squad-creator/data/reports/week-14-2026-04-04.md +234 -0
- package/pro/squads/squad-creator/data/squad-analytics-guide.md +252 -0
- package/pro/squads/squad-creator/data/squad-creator-infrastructure-map.yaml +36 -0
- package/pro/squads/squad-creator/data/squad-creator-service-catalog.yaml +17 -0
- package/pro/squads/squad-creator/data/squad-kb.md +987 -0
- package/pro/squads/squad-creator/data/squad-registry.yaml +14 -0
- package/pro/squads/squad-creator/data/tier-system-framework.md +475 -0
- package/pro/squads/squad-creator/data/tool-discovery-sources.yaml +68 -0
- package/pro/squads/squad-creator/docs/ADR-001-model-tier-qualification.md +344 -0
- package/pro/squads/squad-creator/docs/AGENT-COLLABORATION.md +820 -0
- package/pro/squads/squad-creator/docs/COMMANDS.md +895 -0
- package/pro/squads/squad-creator/docs/CONCEPTS.md +979 -0
- package/pro/squads/squad-creator/docs/FAQ.md +773 -0
- package/pro/squads/squad-creator/docs/HITL-FLOW.md +406 -0
- package/pro/squads/squad-creator/docs/MODEL-TIER-QUALIFICATION.md +337 -0
- package/pro/squads/squad-creator/docs/PATTERN-LIBRARY.md +620 -0
- package/pro/squads/squad-creator/docs/PEDRO-VALERIO-ARCHITECTURE.md +456 -0
- package/pro/squads/squad-creator/docs/POR-ONDE-COMECAR.md +211 -0
- package/pro/squads/squad-creator/docs/QUICK-START.md +205 -0
- package/pro/squads/squad-creator/docs/TUTORIAL-COMPLETO.md +458 -0
- package/pro/squads/squad-creator/docs/sop-extraction-process.md +675 -0
- package/pro/squads/squad-creator/docs/squad-free-vs-open.md +596 -0
- package/pro/squads/squad-creator/package-lock.json +38 -0
- package/pro/squads/squad-creator/package.json +27 -0
- package/pro/squads/squad-creator/protocols/ai-first-governance.md +63 -0
- package/pro/squads/squad-creator/requirements.txt +1 -0
- package/pro/squads/squad-creator/rules/agent-naming-convention.md +58 -0
- package/pro/squads/squad-creator/rules/recommendation-defensibility.md +161 -0
- package/pro/squads/squad-creator/schemas/agent-persona.schema.json +64 -0
- package/pro/squads/squad-creator/schemas/squad-config.schema.json +92 -0
- package/pro/squads/squad-creator/schemas/validation-report.schema.json +158 -0
- package/pro/squads/squad-creator/scripts/README.md +262 -0
- package/pro/squads/squad-creator/scripts/checklist_validator.py +451 -0
- package/pro/squads/squad-creator/scripts/coherence-validator.py +62 -0
- package/pro/squads/squad-creator/scripts/dependency_check.py +341 -0
- package/pro/squads/squad-creator/scripts/detect-environment-contract.cjs +583 -0
- package/pro/squads/squad-creator/scripts/export-antigravity-workflows.cjs +199 -0
- package/pro/squads/squad-creator/scripts/generate-squad-greeting.js +1150 -0
- package/pro/squads/squad-creator/scripts/generate-squad-guide.js +596 -0
- package/pro/squads/squad-creator/scripts/inventory.py +286 -0
- package/pro/squads/squad-creator/scripts/kaizen/kaizen-trigger.sh +126 -0
- package/pro/squads/squad-creator/scripts/lib/config-loader.js +151 -0
- package/pro/squads/squad-creator/scripts/lib/doom-loop-detector.js +120 -0
- package/pro/squads/squad-creator/scripts/lib/squad-runtime-paths.cjs +187 -0
- package/pro/squads/squad-creator/scripts/lib/validate-runtime-state.cjs +271 -0
- package/pro/squads/squad-creator/scripts/naming_validator.py +303 -0
- package/pro/squads/squad-creator/scripts/on-specialist-complete.py +98 -0
- package/pro/squads/squad-creator/scripts/refresh-registry.py +933 -0
- package/pro/squads/squad-creator/scripts/rename-squad.sh +395 -0
- package/pro/squads/squad-creator/scripts/scaffold-squad.cjs +317 -0
- package/pro/squads/squad-creator/scripts/scoring.py +65 -0
- package/pro/squads/squad-creator/scripts/security_scanner.py +378 -0
- package/pro/squads/squad-creator/scripts/squad-analytics.py +810 -0
- package/pro/squads/squad-creator/scripts/squad_utils.py +267 -0
- package/pro/squads/squad-creator/scripts/sync-chief-codex-skill.js +242 -0
- package/pro/squads/squad-creator/scripts/sync-ide-skills.py +705 -0
- package/pro/squads/squad-creator/scripts/tests/__init__.py +1 -0
- package/pro/squads/squad-creator/scripts/tests/test_adapters.py +73 -0
- package/pro/squads/squad-creator/scripts/tests/test_assess_sources.sh +216 -0
- package/pro/squads/squad-creator/scripts/tests/test_clone_review.sh +239 -0
- package/pro/squads/squad-creator/scripts/tests/test_fidelity_score.sh +298 -0
- package/pro/squads/squad-creator/scripts/tests/test_refresh_registry_contract.py +110 -0
- package/pro/squads/squad-creator/scripts/tests/test_squad_analytics.py +332 -0
- package/pro/squads/squad-creator/scripts/tests/test_validate_squad_contextual_lifecycle.py +111 -0
- package/pro/squads/squad-creator/scripts/tests/test_validate_squad_tested_inference.py +102 -0
- package/pro/squads/squad-creator/scripts/tests/test_validate_squad_yolo_warning.py +108 -0
- package/pro/squads/squad-creator/scripts/update-aiox-sync-config.py +144 -0
- package/pro/squads/squad-creator/scripts/update-claude-command-registry.py +171 -0
- package/pro/squads/squad-creator/scripts/validate-all.sh +49 -0
- package/pro/squads/squad-creator/scripts/validate-report.sh +98 -0
- package/pro/squads/squad-creator/scripts/validate-squad-deep.sh +318 -0
- package/pro/squads/squad-creator/scripts/validate-squad-quality.py +514 -0
- package/pro/squads/squad-creator/scripts/validate-squad-structure.py +881 -0
- package/pro/squads/squad-creator/scripts/validate-squad.sh +4340 -0
- package/pro/squads/squad-creator/scripts/validate-tokens.sh +178 -0
- package/pro/squads/squad-creator/scripts/verify-squad-completeness.sh +294 -0
- package/pro/squads/squad-creator/scripts/yaml_validator.py +528 -0
- package/pro/squads/squad-creator/squad-io.yaml +71 -0
- package/pro/squads/squad-creator/tasks/audit-output-quality.md +135 -0
- package/pro/squads/squad-creator/tasks/auto-heal-close.md +134 -0
- package/pro/squads/squad-creator/tasks/auto-heal-resolve.md +128 -0
- package/pro/squads/squad-creator/tasks/auto-heal.md +86 -0
- package/pro/squads/squad-creator/tasks/auto-healing-gate.md +166 -0
- package/pro/squads/squad-creator/tasks/cost-analysis.md +117 -0
- package/pro/squads/squad-creator/tasks/create-agent-commands.md +197 -0
- package/pro/squads/squad-creator/tasks/create-agent-generate.md +224 -0
- package/pro/squads/squad-creator/tasks/create-agent-persona.md +207 -0
- package/pro/squads/squad-creator/tasks/create-agent-publish.md +136 -0
- package/pro/squads/squad-creator/tasks/create-agent-research.md +201 -0
- package/pro/squads/squad-creator/tasks/create-agent-validate.md +213 -0
- package/pro/squads/squad-creator/tasks/create-agent.md +145 -0
- package/pro/squads/squad-creator/tasks/create-documentation.md +284 -0
- package/pro/squads/squad-creator/tasks/create-greeting-script-discovery.md +59 -0
- package/pro/squads/squad-creator/tasks/create-greeting-script-gap-map.md +59 -0
- package/pro/squads/squad-creator/tasks/create-greeting-script-generate.md +60 -0
- package/pro/squads/squad-creator/tasks/create-greeting-script-integrate.md +59 -0
- package/pro/squads/squad-creator/tasks/create-greeting-script-validate.md +59 -0
- package/pro/squads/squad-creator/tasks/create-greeting-script.md +130 -0
- package/pro/squads/squad-creator/tasks/create-pipeline-design.md +143 -0
- package/pro/squads/squad-creator/tasks/create-pipeline-persist.md +100 -0
- package/pro/squads/squad-creator/tasks/create-pipeline-qualify.md +103 -0
- package/pro/squads/squad-creator/tasks/create-pipeline-render.md +296 -0
- package/pro/squads/squad-creator/tasks/create-pipeline-validate.md +121 -0
- package/pro/squads/squad-creator/tasks/create-pipeline.md +171 -0
- package/pro/squads/squad-creator/tasks/create-squad-build.md +383 -0
- package/pro/squads/squad-creator/tasks/create-squad-design.md +349 -0
- package/pro/squads/squad-creator/tasks/create-squad-discover.md +392 -0
- package/pro/squads/squad-creator/tasks/create-squad-publish.md +225 -0
- package/pro/squads/squad-creator/tasks/create-squad-validate.md +327 -0
- package/pro/squads/squad-creator/tasks/create-squad.md +113 -0
- package/pro/squads/squad-creator/tasks/create-task-anatomy.md +273 -0
- package/pro/squads/squad-creator/tasks/create-task-classify.md +222 -0
- package/pro/squads/squad-creator/tasks/create-task-executor.md +205 -0
- package/pro/squads/squad-creator/tasks/create-task-generate.md +224 -0
- package/pro/squads/squad-creator/tasks/create-task-register.md +192 -0
- package/pro/squads/squad-creator/tasks/create-task-validate.md +232 -0
- package/pro/squads/squad-creator/tasks/create-task.md +113 -0
- package/pro/squads/squad-creator/tasks/create-template-elicitation.md +59 -0
- package/pro/squads/squad-creator/tasks/create-template-identity.md +59 -0
- package/pro/squads/squad-creator/tasks/create-template-register.md +58 -0
- package/pro/squads/squad-creator/tasks/create-template-structure.md +59 -0
- package/pro/squads/squad-creator/tasks/create-template-validate.md +59 -0
- package/pro/squads/squad-creator/tasks/create-template.md +95 -0
- package/pro/squads/squad-creator/tasks/create-workflow-classify.md +213 -0
- package/pro/squads/squad-creator/tasks/create-workflow-design.md +494 -0
- package/pro/squads/squad-creator/tasks/create-workflow-from-sop.md +301 -0
- package/pro/squads/squad-creator/tasks/create-workflow-generate.md +262 -0
- package/pro/squads/squad-creator/tasks/create-workflow.md +108 -0
- package/pro/squads/squad-creator/tasks/detect-gaps.md +116 -0
- package/pro/squads/squad-creator/tasks/detect-operational-mode-classify.md +112 -0
- package/pro/squads/squad-creator/tasks/detect-operational-mode-infrastructure.md +104 -0
- package/pro/squads/squad-creator/tasks/detect-operational-mode-outputs.md +94 -0
- package/pro/squads/squad-creator/tasks/detect-operational-mode-systems.md +91 -0
- package/pro/squads/squad-creator/tasks/detect-operational-mode-verbs.md +94 -0
- package/pro/squads/squad-creator/tasks/detect-operational-mode.md +115 -0
- package/pro/squads/squad-creator/tasks/detect-squad-context.md +120 -0
- package/pro/squads/squad-creator/tasks/discover-tools-classify.md +191 -0
- package/pro/squads/squad-creator/tasks/discover-tools-evaluate.md +173 -0
- package/pro/squads/squad-creator/tasks/discover-tools-recommend.md +180 -0
- package/pro/squads/squad-creator/tasks/discover-tools-report.md +184 -0
- package/pro/squads/squad-creator/tasks/discover-tools-scan.md +188 -0
- package/pro/squads/squad-creator/tasks/discover-tools.md +139 -0
- package/pro/squads/squad-creator/tasks/generate-recommendations.md +162 -0
- package/pro/squads/squad-creator/tasks/improve-workflow-from-report.md +127 -0
- package/pro/squads/squad-creator/tasks/improve-workflow-report-apply-p1.md +59 -0
- package/pro/squads/squad-creator/tasks/improve-workflow-report-apply-secondary.md +59 -0
- package/pro/squads/squad-creator/tasks/improve-workflow-report-backup.md +59 -0
- package/pro/squads/squad-creator/tasks/improve-workflow-report-ingest.md +59 -0
- package/pro/squads/squad-creator/tasks/improve-workflow-report-target.md +59 -0
- package/pro/squads/squad-creator/tasks/improve-workflow-report-validate-report.md +59 -0
- package/pro/squads/squad-creator/tasks/install-skills-finalize.md +415 -0
- package/pro/squads/squad-creator/tasks/install-skills-prepare.md +353 -0
- package/pro/squads/squad-creator/tasks/install-skills-write.md +395 -0
- package/pro/squads/squad-creator/tasks/install-skills.md +282 -0
- package/pro/squads/squad-creator/tasks/next-squad-ranking.md +58 -0
- package/pro/squads/squad-creator/tasks/next-squad-registry.md +58 -0
- package/pro/squads/squad-creator/tasks/next-squad-report.md +59 -0
- package/pro/squads/squad-creator/tasks/next-squad-scoring.md +59 -0
- package/pro/squads/squad-creator/tasks/next-squad-signals.md +58 -0
- package/pro/squads/squad-creator/tasks/next-squad.md +98 -0
- package/pro/squads/squad-creator/tasks/operational-test-baseline.md +69 -0
- package/pro/squads/squad-creator/tasks/operational-test-preflight.md +70 -0
- package/pro/squads/squad-creator/tasks/operational-test-report.md +71 -0
- package/pro/squads/squad-creator/tasks/operational-test-smoke.md +72 -0
- package/pro/squads/squad-creator/tasks/operational-test-target.md +71 -0
- package/pro/squads/squad-creator/tasks/operational-test.md +102 -0
- package/pro/squads/squad-creator/tasks/performance-dashboard.md +118 -0
- package/pro/squads/squad-creator/tasks/qa-after-creation.md +129 -0
- package/pro/squads/squad-creator/tasks/qa-check-compatibility.md +191 -0
- package/pro/squads/squad-creator/tasks/qa-check-completeness.md +218 -0
- package/pro/squads/squad-creator/tasks/qa-check-references.md +172 -0
- package/pro/squads/squad-creator/tasks/qa-check-schema.md +190 -0
- package/pro/squads/squad-creator/tasks/qa-check-structure.md +176 -0
- package/pro/squads/squad-creator/tasks/qa-generate-report.md +240 -0
- package/pro/squads/squad-creator/tasks/qualify-provider-baseline.md +122 -0
- package/pro/squads/squad-creator/tasks/qualify-provider-compare.md +159 -0
- package/pro/squads/squad-creator/tasks/qualify-provider-preflight.md +143 -0
- package/pro/squads/squad-creator/tasks/qualify-provider-ptbr.md +166 -0
- package/pro/squads/squad-creator/tasks/qualify-provider-reliability.md +140 -0
- package/pro/squads/squad-creator/tasks/qualify-provider-report.md +178 -0
- package/pro/squads/squad-creator/tasks/reexecute-squad-phase.md +97 -0
- package/pro/squads/squad-creator/tasks/refresh-registry.md +299 -0
- package/pro/squads/squad-creator/tasks/rename-squad-map.md +59 -0
- package/pro/squads/squad-creator/tasks/rename-squad-propagate.md +59 -0
- package/pro/squads/squad-creator/tasks/rename-squad-structural.md +59 -0
- package/pro/squads/squad-creator/tasks/rename-squad-validate.md +59 -0
- package/pro/squads/squad-creator/tasks/rename-squad.md +118 -0
- package/pro/squads/squad-creator/tasks/self-improve.md +107 -0
- package/pro/squads/squad-creator/tasks/setup-runtime-handoff.md +74 -0
- package/pro/squads/squad-creator/tasks/setup-runtime-persist.md +81 -0
- package/pro/squads/squad-creator/tasks/setup-runtime-requirements.md +84 -0
- package/pro/squads/squad-creator/tasks/setup-runtime-validate.md +82 -0
- package/pro/squads/squad-creator/tasks/setup-runtime-wizard.md +84 -0
- package/pro/squads/squad-creator/tasks/setup-runtime.md +103 -0
- package/pro/squads/squad-creator/tasks/squad-analytics.md +276 -0
- package/pro/squads/squad-creator/tasks/squad-overview-agents.md +110 -0
- package/pro/squads/squad-creator/tasks/squad-overview-generate.md +102 -0
- package/pro/squads/squad-creator/tasks/squad-overview-metadata.md +121 -0
- package/pro/squads/squad-creator/tasks/squad-overview-minds.md +100 -0
- package/pro/squads/squad-creator/tasks/squad-overview-structure.md +106 -0
- package/pro/squads/squad-creator/tasks/squad-overview-write.md +103 -0
- package/pro/squads/squad-creator/tasks/squad-overview.md +117 -0
- package/pro/squads/squad-creator/tasks/sync-chief-codex-skill.md +73 -0
- package/pro/squads/squad-creator/tasks/sync-ide-skills.md +240 -0
- package/pro/squads/squad-creator/tasks/update-radar.md +151 -0
- package/pro/squads/squad-creator/tasks/upgrade-squad-apply.md +187 -0
- package/pro/squads/squad-creator/tasks/upgrade-squad-gap.md +203 -0
- package/pro/squads/squad-creator/tasks/upgrade-squad-inventory.md +186 -0
- package/pro/squads/squad-creator/tasks/upgrade-squad-plan.md +163 -0
- package/pro/squads/squad-creator/tasks/upgrade-squad-verify.md +178 -0
- package/pro/squads/squad-creator/tasks/upgrade-squad.md +138 -0
- package/pro/squads/squad-creator/tasks/validate-final-artifacts.md +104 -0
- package/pro/squads/squad-creator/tasks/validate-squad-classify.md +335 -0
- package/pro/squads/squad-creator/tasks/validate-squad-deep-review.md +226 -0
- package/pro/squads/squad-creator/tasks/validate-squad-preflight.md +189 -0
- package/pro/squads/squad-creator/tasks/validate-squad-verdict.md +442 -0
- package/pro/squads/squad-creator/tasks/validate-squad.md +117 -0
- package/pro/squads/squad-creator/templates/agent-flow-doc-tmpl.md +512 -0
- package/pro/squads/squad-creator/templates/agent-tmpl.md +703 -0
- package/pro/squads/squad-creator/templates/auto-heal-task-tmpl.md +417 -0
- package/pro/squads/squad-creator/templates/capability-map-tmpl.md +95 -0
- package/pro/squads/squad-creator/templates/config-tmpl.yaml +534 -0
- package/pro/squads/squad-creator/templates/cross-domain-handoff-tmpl.yaml +18 -0
- package/pro/squads/squad-creator/templates/ecosystem-health-tmpl.md +19 -0
- package/pro/squads/squad-creator/templates/gap-analysis-tmpl.md +13 -0
- package/pro/squads/squad-creator/templates/greeting-script-tmpl.cjs +169 -0
- package/pro/squads/squad-creator/templates/journey-log-tmpl.yaml +93 -0
- package/pro/squads/squad-creator/templates/operational-test-task-tmpl.md +514 -0
- package/pro/squads/squad-creator/templates/performance-dashboard-tmpl.md +77 -0
- package/pro/squads/squad-creator/templates/pipeline-prompt-tmpl.md +94 -0
- package/pro/squads/squad-creator/templates/pop-extractor-prompt.md +549 -0
- package/pro/squads/squad-creator/templates/quality-gate-tmpl.yaml +589 -0
- package/pro/squads/squad-creator/templates/readme-tmpl.md +254 -0
- package/pro/squads/squad-creator/templates/research-output-tmpl.md +625 -0
- package/pro/squads/squad-creator/templates/research-prompt-tmpl.md +479 -0
- package/pro/squads/squad-creator/templates/setup-runtime-task-tmpl.md +627 -0
- package/pro/squads/squad-creator/templates/squad-mappings-tmpl.yaml +71 -0
- package/pro/squads/squad-creator/templates/squad-prd-tmpl.md +488 -0
- package/pro/squads/squad-creator/templates/story-create-agent-tmpl.md +284 -0
- package/pro/squads/squad-creator/templates/task-tmpl.md +533 -0
- package/pro/squads/squad-creator/templates/tech-radar-tmpl.md +73 -0
- package/pro/squads/squad-creator/templates/template-tmpl.yaml +227 -0
- package/pro/squads/squad-creator/templates/weekly-digest-tmpl.md +11 -0
- package/pro/squads/squad-creator/templates/weekly-report-tmpl.md +155 -0
- package/pro/squads/squad-creator/templates/workflow-doc-tmpl.md +860 -0
- package/pro/squads/squad-creator/templates/workflow-tmpl.yaml +486 -0
- package/pro/squads/squad-creator/test-cases/an-assess-sources/TEST-REPORT-v2.1.md +351 -0
- package/pro/squads/squad-creator/test-cases/an-assess-sources/formal-qualification-report.yaml +389 -0
- package/pro/squads/squad-creator/test-cases/an-clone-review/opus-baseline.yaml +566 -0
- package/pro/squads/squad-creator/test-cases/pv-axioma-assessment/opus-baseline.yaml +96 -0
- package/pro/squads/squad-creator/test-cases/pv-modernization-score/opus-baseline.yaml +488 -0
- package/pro/squads/squad-creator/test-cases/smoke-test-model-routing/test-case.yaml +100 -0
- package/pro/squads/squad-creator/workflows/wf-auto-heal.yaml +33 -0
- package/pro/squads/squad-creator/workflows/wf-create-agent.yaml +252 -0
- package/pro/squads/squad-creator/workflows/wf-create-greeting-script.yaml +60 -0
- package/pro/squads/squad-creator/workflows/wf-create-pipeline.yaml +60 -0
- package/pro/squads/squad-creator/workflows/wf-create-squad.yaml +1916 -0
- package/pro/squads/squad-creator/workflows/wf-create-task.yaml +172 -0
- package/pro/squads/squad-creator/workflows/wf-create-template.yaml +60 -0
- package/pro/squads/squad-creator/workflows/wf-create-workflow.yaml +138 -0
- package/pro/squads/squad-creator/workflows/wf-cross-provider-qualification.yaml +769 -0
- package/pro/squads/squad-creator/workflows/wf-detect-operational-mode.yaml +112 -0
- package/pro/squads/squad-creator/workflows/wf-discover-tools.yaml +1695 -0
- package/pro/squads/squad-creator/workflows/wf-ecosystem-analysis.yaml +338 -0
- package/pro/squads/squad-creator/workflows/wf-improve-workflow-from-report.yaml +69 -0
- package/pro/squads/squad-creator/workflows/wf-install-skills.yaml +52 -0
- package/pro/squads/squad-creator/workflows/wf-next-squad.yaml +60 -0
- package/pro/squads/squad-creator/workflows/wf-operational-test.yaml +86 -0
- package/pro/squads/squad-creator/workflows/wf-qa-after-creation.yaml +339 -0
- package/pro/squads/squad-creator/workflows/wf-rename-squad.yaml +51 -0
- package/pro/squads/squad-creator/workflows/wf-self-improve.yaml +206 -0
- package/pro/squads/squad-creator/workflows/wf-setup-runtime.yaml +86 -0
- package/pro/squads/squad-creator/workflows/wf-squad-overview.yaml +100 -0
- package/pro/squads/squad-creator/workflows/wf-sync-ide-skills.yaml +24 -0
- package/pro/squads/squad-creator/workflows/wf-upgrade-squad.yaml +236 -0
- package/pro/squads/squad-creator/workflows/wf-weekly-report.yaml +139 -0
- package/pro/squads/squad-creator-pro/ARCHITECTURE.md +37 -0
- package/pro/squads/squad-creator-pro/CHANGELOG.md +12 -12
- package/pro/squads/squad-creator-pro/README.md +19 -17
- package/pro/squads/squad-creator-pro/agents/ecosystem-analyst.md +989 -0
- package/pro/squads/squad-creator-pro/agents/heuristic-ops.md +369 -0
- package/pro/squads/squad-creator-pro/agents/oalanicolas.md +582 -22
- package/pro/squads/squad-creator-pro/agents/pedro-valerio.md +957 -115
- package/pro/squads/squad-creator-pro/agents/squad-chief.md +580 -412
- package/pro/squads/squad-creator-pro/agents/thiago_finch.md +31 -21
- package/pro/squads/squad-creator-pro/benchmarks/golden/hormozi-golden.yaml +382 -0
- package/pro/squads/squad-creator-pro/benchmarks/scripts/run-benchmark.sh +363 -0
- package/pro/squads/squad-creator-pro/checklists/agent-depth-checklist.md +4 -4
- package/pro/squads/squad-creator-pro/checklists/agent-quality-gate.md +1 -1
- package/pro/squads/squad-creator-pro/checklists/create-squad-checklist.md +78 -6
- package/pro/squads/squad-creator-pro/checklists/deep-research-quality.md +3 -4
- package/pro/squads/squad-creator-pro/checklists/executor-matrix-checklist.md +3 -3
- package/pro/squads/squad-creator-pro/checklists/mental-model-integration-checklist.md +3 -3
- package/pro/squads/squad-creator-pro/checklists/mind-validation.md +2 -3
- package/pro/squads/squad-creator-pro/checklists/pipeline-quality-checklist.md +84 -0
- package/pro/squads/squad-creator-pro/checklists/quality-gate-checklist.md +3 -3
- package/pro/squads/squad-creator-pro/checklists/session-heuristics-extraction.md +65 -0
- package/pro/squads/squad-creator-pro/checklists/sop-validation.md +2 -2
- package/pro/squads/squad-creator-pro/checklists/squad-checklist.md +20 -20
- package/pro/squads/squad-creator-pro/checklists/task-anatomy-checklist.md +1 -1
- package/pro/squads/squad-creator-pro/config/heuristic-watcher-rubric.yaml +300 -0
- package/pro/squads/squad-creator-pro/config/heuristics.yaml +196 -12
- package/pro/squads/squad-creator-pro/config/model-routing.yaml +10 -10
- package/pro/squads/squad-creator-pro/config/scoring-rubric.yaml +1 -1
- package/pro/squads/squad-creator-pro/config/squad-config.yaml +1 -1
- package/pro/squads/squad-creator-pro/config.yaml +452 -32
- package/pro/squads/squad-creator-pro/data/an-output-examples.yaml +9 -9
- package/pro/squads/squad-creator-pro/data/best-practices.md +8 -8
- package/pro/squads/squad-creator-pro/data/core-heuristics.md +5 -5
- package/pro/squads/squad-creator-pro/data/decision-heuristics-framework.md +2 -2
- package/pro/squads/squad-creator-pro/data/executor-matrix-framework.md +2 -2
- package/pro/squads/squad-creator-pro/data/extraction-mentoria-processos-dec19.yaml +337 -0
- package/pro/squads/squad-creator-pro/data/fusion-dry-runs/traffic-masters-absorve-_traffic-2026-03-09.md +135 -0
- package/pro/squads/squad-creator-pro/data/fusion-executor-analysis.md +1 -1
- package/pro/squads/squad-creator-pro/data/hybridops-patterns.md +3 -3
- package/pro/squads/squad-creator-pro/data/internal-infrastructure-library.yaml +5 -1
- package/pro/squads/squad-creator-pro/data/mental-model-task-matrix.yaml +4 -4
- package/pro/squads/squad-creator-pro/data/pm-best-practices.md +71 -7
- package/pro/squads/squad-creator-pro/data/pv-output-examples.yaml +1 -1
- package/pro/squads/squad-creator-pro/data/pv-workflow-validation.yaml +4 -4
- package/pro/squads/squad-creator-pro/data/quality-dimensions-framework.md +2 -2
- package/pro/squads/squad-creator-pro/data/quality-gate-coverage.yaml +169 -0
- package/pro/squads/squad-creator-pro/data/squad-analytics-guide.md +2 -2
- package/pro/squads/squad-creator-pro/data/squad-kb.md +14 -14
- package/pro/squads/squad-creator-pro/data/squad-kpis.yaml +60 -0
- package/pro/squads/squad-creator-pro/data/squad-registry.yaml +4868 -809
- package/pro/squads/squad-creator-pro/data/tier-system-framework.md +2 -2
- package/pro/squads/squad-creator-pro/data/token-registry.yaml +386 -0
- package/pro/squads/squad-creator-pro/data/tool-registry.yaml +130 -14
- package/pro/squads/squad-creator-pro/docs/COMMANDS.md +1 -1
- package/pro/squads/squad-creator-pro/docs/FAQ.md +4 -4
- package/pro/squads/squad-creator-pro/docs/PATTERN-LIBRARY.md +12 -4
- package/pro/squads/squad-creator-pro/docs/PEDRO-VALERIO-ARCHITECTURE.md +2 -2
- package/pro/squads/squad-creator-pro/docs/POR-ONDE-COMECAR.md +4 -4
- package/pro/squads/squad-creator-pro/docs/QUICK-START.md +2 -2
- package/pro/squads/squad-creator-pro/docs/TOOL-RECOMMENDATIONS.md +3 -1
- package/pro/squads/squad-creator-pro/docs/TUTORIAL-COMPLETO.md +3 -3
- package/pro/squads/squad-creator-pro/docs/sop-extraction-process.md +2 -2
- package/pro/squads/squad-creator-pro/docs/squad-chief-agent-flow.md +8 -8
- package/pro/squads/squad-creator-pro/minds/oalanicolas/artifacts/HANDOFF_PROTOCOL.md +1 -1
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_001.md +85 -134
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_002.md +88 -179
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_003.md +82 -211
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_004.md +79 -123
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_005.md +90 -135
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_006.md +17 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_007.md +83 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_008.md +13 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_009.md +12 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_010.md +27 -2
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_011.md +72 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_012.md +59 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_013.md +69 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_014.md +69 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_015.md +83 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_016.md +67 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_017.md +64 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_018.md +79 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_019.md +69 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_020.md +67 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_021.md +114 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_022.md +75 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_023.md +60 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_024.md +66 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_025.md +81 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_026.md +82 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_027.md +85 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_028.md +74 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_029.md +73 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_030.md +80 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_031.md +78 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_032.md +81 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_033.md +69 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_034.md +119 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_035.md +120 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_036.md +134 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_037.md +123 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_038.md +85 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_039.md +74 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_040.md +130 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_041.md +87 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_042.md +89 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_043.md +78 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_044.md +97 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_045.md +82 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_046.md +83 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_047.md +77 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_048.md +83 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_049.md +102 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_050.md +85 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_051.md +90 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_052.md +84 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_053.md +83 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_054.md +96 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_055.md +137 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_056.md +114 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_057.md +82 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_058.md +79 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_059.md +88 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_060.md +78 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_061.md +79 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_062.md +99 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_063.md +73 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_064.md +106 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_065.md +87 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_066.md +66 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_067.md +65 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_068.md +70 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_069.md +69 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_070.md +67 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_071.md +87 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_072.md +84 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_073.md +89 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_074.md +60 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_075.md +87 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_076.md +107 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_077.md +98 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_078.md +66 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_079.md +91 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_080.md +59 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_081.md +64 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_082.md +71 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_083.md +62 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_084.md +66 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_085.md +62 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_086.md +69 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_087.md +74 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_088.md +89 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_089.md +88 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_090.md +74 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_091.md +76 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_092.md +61 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_093.md +69 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_094.md +58 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_095.md +58 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_096.md +65 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_097.md +63 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_098.md +98 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_099.md +97 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_100.md +100 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_101.md +62 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_102.md +65 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_103.md +60 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_104.md +60 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_105.md +67 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_106.md +64 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_107.md +63 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_108.md +60 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_109.md +62 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_110.md +58 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_111.md +88 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_112.md +60 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_113.md +74 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_114.md +55 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_115.md +126 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_116.md +76 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_117.md +65 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_118.md +72 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_119.md +58 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_120.md +77 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_121.md +65 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_122.md +57 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_123.md +63 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_124.md +69 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_125.md +73 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_126.md +81 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_127.md +77 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_128.md +76 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_129.md +81 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_130.md +88 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_131.md +85 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_132.md +81 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_133.md +86 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/decision-cards.yaml +1010 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/heuristic-analytics.md +24 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_BS_001.md +7 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_041.md +80 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_042.md +79 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_043.md +81 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_044.md +83 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_045.md +82 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_046.md +82 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_047.md +81 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_048.md +77 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_049.md +81 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_050.md +79 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_051.md +81 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_052.md +81 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_053.md +79 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_054.md +74 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_055.md +78 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_056.md +78 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_057.md +78 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_058.md +81 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_059.md +81 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_060.md +82 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_061.md +74 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_062.md +75 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_063.md +80 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_064.md +75 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_065.md +74 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_066.md +76 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_067.md +75 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_068.md +78 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_069.md +78 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_070.md +75 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_071.md +77 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_072.md +76 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_073.md +82 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_074.md +80 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_075.md +85 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_076.md +81 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_077.md +77 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_078.md +81 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_079.md +77 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_080.md +81 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_081.md +76 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_082.md +84 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_083.md +78 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_084.md +76 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_085.md +83 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_086.md +74 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_087.md +87 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_088.md +75 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_089.md +79 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_090.md +75 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_091.md +77 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_092.md +81 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_093.md +74 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_094.md +73 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_095.md +84 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_096.md +78 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_097.md +79 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_098.md +85 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_099.md +82 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_100.md +81 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_KE_101.md +61 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_001.md +23 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_002.md +165 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_003.md +164 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_004.md +163 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_005.md +161 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_006.md +164 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_007.md +162 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_008.md +156 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_009.md +157 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_010.md +166 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_011.md +161 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_012.md +80 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_013.md +66 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_014.md +64 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_015.md +61 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_016.md +60 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_017.md +66 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_018.md +56 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_019.md +63 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_020.md +64 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_021.md +71 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_022.md +69 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_023.md +56 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_024.md +61 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_025.md +60 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_026.md +71 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_027.md +65 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_028.md +61 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_029.md +62 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_030.md +62 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_031.md +62 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_032.md +59 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_033.md +64 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_034.md +65 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_035.md +62 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_036.md +63 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_037.md +60 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_038.md +78 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_039.md +58 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_040.md +62 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_041.md +61 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PM_001.md +7 -0
- package/pro/squads/squad-creator-pro/package-lock.json +38 -0
- package/pro/squads/squad-creator-pro/package.json +10 -6
- package/pro/squads/squad-creator-pro/requirements.txt +1 -0
- package/pro/squads/squad-creator-pro/schemas/agent-persona.schema.json +78 -0
- package/pro/squads/squad-creator-pro/schemas/squad-config.schema.json +146 -0
- package/pro/squads/squad-creator-pro/scripts/README.md +123 -203
- package/pro/squads/squad-creator-pro/scripts/WAVE-LOOP.md +157 -0
- package/pro/squads/squad-creator-pro/scripts/checklist_validator.py +34 -426
- package/pro/squads/squad-creator-pro/scripts/create-agent-preflight.py +2 -2
- package/pro/squads/squad-creator-pro/scripts/cross-mind-linker.py +143 -0
- package/pro/squads/squad-creator-pro/scripts/cross_map.json +338 -0
- package/pro/squads/squad-creator-pro/scripts/dependency_check.py +8 -4
- package/pro/squads/squad-creator-pro/scripts/detect-environment-contract.cjs +37 -0
- package/pro/squads/squad-creator-pro/scripts/export-antigravity-workflows.cjs +12 -0
- package/pro/squads/squad-creator-pro/scripts/generate-heuristic-registry.py +83 -0
- package/pro/squads/squad-creator-pro/scripts/generate-squad-greeting.js +3 -3
- package/pro/squads/squad-creator-pro/scripts/generate-squad-guide.js +13 -533
- package/pro/squads/squad-creator-pro/scripts/inventory.py +35 -245
- package/pro/squads/squad-creator-pro/scripts/lib/config-loader.js +10 -149
- package/pro/squads/squad-creator-pro/scripts/lib/squad-runtime-paths.cjs +14 -0
- package/pro/squads/squad-creator-pro/scripts/lib/validate-runtime-state.cjs +14 -0
- package/pro/squads/squad-creator-pro/scripts/load-business-sops.cjs +460 -0
- package/pro/squads/squad-creator-pro/scripts/model-usage-logger.cjs +1 -1
- package/pro/squads/squad-creator-pro/scripts/modernization-score.sh +14 -14
- package/pro/squads/squad-creator-pro/scripts/naming_validator.py +34 -274
- package/pro/squads/squad-creator-pro/scripts/on-specialist-complete.py +72 -18
- package/pro/squads/squad-creator-pro/scripts/refresh-registry.py +157 -2
- package/pro/squads/squad-creator-pro/scripts/rename-squad.sh +8 -0
- package/pro/squads/squad-creator-pro/scripts/save-session-metrics.py +72 -19
- package/pro/squads/squad-creator-pro/scripts/scaffold-squad.cjs +8 -277
- package/pro/squads/squad-creator-pro/scripts/security_scanner.py +34 -353
- package/pro/squads/squad-creator-pro/scripts/squad-analytics.py +34 -560
- package/pro/squads/squad-creator-pro/scripts/squad-context-loader.cjs +48 -21
- package/pro/squads/squad-creator-pro/scripts/squad-state-manager.cjs +322 -66
- package/pro/squads/squad-creator-pro/scripts/squad-workflow-runner.cjs +615 -202
- package/pro/squads/squad-creator-pro/scripts/squad_utils.py +37 -239
- package/pro/squads/squad-creator-pro/scripts/sync-chief-codex-skill.js +242 -0
- package/pro/squads/squad-creator-pro/scripts/sync-ide-skills.py +59 -0
- package/pro/squads/squad-creator-pro/scripts/tests/__init__.py +1 -1
- package/pro/squads/squad-creator-pro/scripts/tests/test_load_business_sops.cjs +158 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_modernization_score.sh +4 -4
- package/pro/squads/squad-creator-pro/scripts/tests/test_refresh_registry.py +243 -253
- package/pro/squads/squad-creator-pro/scripts/tests/test_security_scanner.py +2 -2
- package/pro/squads/squad-creator-pro/scripts/tests/test_squad_analytics.py +210 -351
- package/pro/squads/squad-creator-pro/scripts/tests/test_squad_runtime_pipeline_e2e.cjs +267 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_validate_squad_runtime_state_e2e.cjs +99 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_wave_loop_runtime_e2e.cjs +216 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_wave_loop_runtime_unit.cjs +336 -0
- package/pro/squads/squad-creator-pro/scripts/validate-clone.sh +345 -0
- package/pro/squads/squad-creator-pro/scripts/validate-squad-structure.py +35 -511
- package/pro/squads/squad-creator-pro/scripts/validate-squad.sh +6 -938
- package/pro/squads/squad-creator-pro/scripts/validate-workspace-contract.py +204 -0
- package/pro/squads/squad-creator-pro/scripts/verify-squad-completeness.sh +8 -0
- package/pro/squads/squad-creator-pro/scripts/wave-loop.cjs +911 -0
- package/pro/squads/squad-creator-pro/scripts/wave-loop.sh +5 -0
- package/pro/squads/squad-creator-pro/scripts/yaml_validator.py +34 -503
- package/pro/squads/squad-creator-pro/skills/fidelity-score.md +245 -0
- package/pro/squads/squad-creator-pro/skills/squad.md +7 -14
- package/pro/squads/squad-creator-pro/squad-io.yaml +49 -0
- package/pro/squads/squad-creator-pro/tasks/CHANGELOG.md +38 -0
- package/pro/squads/squad-creator-pro/tasks/an-assess-sources-collect.md +197 -0
- package/pro/squads/squad-creator-pro/tasks/an-assess-sources-score.md +471 -0
- package/pro/squads/squad-creator-pro/tasks/an-assess-sources.md +157 -58
- package/pro/squads/squad-creator-pro/tasks/an-clone-review-report.md +171 -0
- package/pro/squads/squad-creator-pro/tasks/an-clone-review-source-trinity.md +227 -0
- package/pro/squads/squad-creator-pro/tasks/an-clone-review-stages-fidelity.md +158 -0
- package/pro/squads/squad-creator-pro/tasks/an-clone-review.md +146 -77
- package/pro/squads/squad-creator-pro/tasks/an-compare-outputs-score.md +340 -0
- package/pro/squads/squad-creator-pro/tasks/an-compare-outputs.md +105 -305
- package/pro/squads/squad-creator-pro/tasks/an-design-clone-blueprint.md +51 -0
- package/pro/squads/squad-creator-pro/tasks/an-design-clone-contexts.md +48 -0
- package/pro/squads/squad-creator-pro/tasks/an-design-clone-memory.md +49 -0
- package/pro/squads/squad-creator-pro/tasks/an-design-clone-stages.md +48 -0
- package/pro/squads/squad-creator-pro/tasks/an-design-clone-trinity.md +49 -0
- package/pro/squads/squad-creator-pro/tasks/an-design-clone.md +86 -59
- package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone-prescribe.md +147 -0
- package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone-symptoms.md +147 -0
- package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone-verify-trinity.md +200 -0
- package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone.md +105 -60
- package/pro/squads/squad-creator-pro/tasks/an-extract-dna-layer-extraction.md +54 -0
- package/pro/squads/squad-creator-pro/tasks/an-extract-dna-report.md +55 -0
- package/pro/squads/squad-creator-pro/tasks/an-extract-dna-source-assessment.md +54 -0
- package/pro/squads/squad-creator-pro/tasks/an-extract-dna-thinking-dna.md +54 -0
- package/pro/squads/squad-creator-pro/tasks/an-extract-dna-voice-dna.md +54 -0
- package/pro/squads/squad-creator-pro/tasks/an-extract-dna.md +86 -70
- package/pro/squads/squad-creator-pro/tasks/an-extract-framework-analyze.md +178 -0
- package/pro/squads/squad-creator-pro/tasks/an-extract-framework-integrate.md +239 -0
- package/pro/squads/squad-creator-pro/tasks/an-extract-framework-trinity.md +206 -0
- package/pro/squads/squad-creator-pro/tasks/an-extract-framework.md +119 -75
- package/pro/squads/squad-creator-pro/tasks/an-extract-heuristics.md +560 -0
- package/pro/squads/squad-creator-pro/tasks/an-extract-session-heuristics.md +633 -0
- package/pro/squads/squad-creator-pro/tasks/an-fidelity-score-calculate.md +317 -0
- package/pro/squads/squad-creator-pro/tasks/an-fidelity-score.md +113 -89
- package/pro/squads/squad-creator-pro/tasks/an-validate-clone-hackability.md +346 -0
- package/pro/squads/squad-creator-pro/tasks/an-validate-clone.md +89 -78
- package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources-consolidate.md +186 -0
- package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources-expand.md +173 -0
- package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources-search.md +200 -0
- package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources.md +103 -285
- package/pro/squads/squad-creator-pro/tasks/batch-closeout.md +96 -0
- package/pro/squads/squad-creator-pro/tasks/clone-mind-quality-dashboard.md +142 -0
- package/pro/squads/squad-creator-pro/tasks/clone-mind-smoke-test.md +137 -0
- package/pro/squads/squad-creator-pro/tasks/clone-mind-synthesis.md +147 -0
- package/pro/squads/squad-creator-pro/tasks/collect-sources-classify.md +209 -0
- package/pro/squads/squad-creator-pro/tasks/collect-sources-discover.md +244 -0
- package/pro/squads/squad-creator-pro/tasks/collect-sources-gap-analysis.md +201 -0
- package/pro/squads/squad-creator-pro/tasks/collect-sources-quality-gate.md +227 -0
- package/pro/squads/squad-creator-pro/tasks/collect-sources-validate.md +234 -0
- package/pro/squads/squad-creator-pro/tasks/collect-sources.md +111 -466
- package/pro/squads/squad-creator-pro/tasks/create-agent.md +101 -747
- package/pro/squads/squad-creator-pro/tasks/create-documentation.md +149 -205
- package/pro/squads/squad-creator-pro/tasks/create-from-sop-brief.md +139 -0
- package/pro/squads/squad-creator-pro/tasks/create-from-sop-load-classify.md +173 -0
- package/pro/squads/squad-creator-pro/tasks/create-from-sop-map-workflow.md +172 -0
- package/pro/squads/squad-creator-pro/tasks/create-from-sop.md +130 -0
- package/pro/squads/squad-creator-pro/tasks/create-greeting-script.md +148 -0
- package/pro/squads/squad-creator-pro/tasks/create-pipeline.md +99 -288
- package/pro/squads/squad-creator-pro/tasks/create-squad.md +135 -927
- package/pro/squads/squad-creator-pro/tasks/create-task.md +102 -1125
- package/pro/squads/squad-creator-pro/tasks/create-template.md +87 -456
- package/pro/squads/squad-creator-pro/tasks/create-workflow.md +107 -697
- package/pro/squads/squad-creator-pro/tasks/deconstruct-extract.md +221 -0
- package/pro/squads/squad-creator-pro/tasks/deconstruct-synthesize.md +154 -0
- package/pro/squads/squad-creator-pro/tasks/deconstruct.md +89 -133
- package/pro/squads/squad-creator-pro/tasks/deep-research-check-local-knowledge.md +164 -0
- package/pro/squads/squad-creator-pro/tasks/deep-research-execute.md +200 -0
- package/pro/squads/squad-creator-pro/tasks/deep-research-generate-prompt.md +245 -0
- package/pro/squads/squad-creator-pro/tasks/deep-research-pre-agent.md +114 -512
- package/pro/squads/squad-creator-pro/tasks/deep-research-validate.md +192 -0
- package/pro/squads/squad-creator-pro/tasks/delete-squad.md +104 -0
- package/pro/squads/squad-creator-pro/tasks/discover-tools-execute.md +293 -0
- package/pro/squads/squad-creator-pro/tasks/discover-tools.md +142 -885
- package/pro/squads/squad-creator-pro/tasks/etd-assemble-output.md +183 -0
- package/pro/squads/squad-creator-pro/tasks/etd-discovery.md +216 -0
- package/pro/squads/squad-creator-pro/tasks/etd-extract-and-classify.md +250 -0
- package/pro/squads/squad-creator-pro/tasks/etd-extract-heuristics.md +173 -0
- package/pro/squads/squad-creator-pro/tasks/etd-handoff-triggers.md +166 -0
- package/pro/squads/squad-creator-pro/tasks/etd-l4-card-generation.md +224 -0
- package/pro/squads/squad-creator-pro/tasks/etd-objection-handling.md +167 -0
- package/pro/squads/squad-creator-pro/tasks/etd-resolve-and-consolidate.md +158 -0
- package/pro/squads/squad-creator-pro/tasks/evd-assemble-voice-dna.md +218 -0
- package/pro/squads/squad-creator-pro/tasks/evd-collect-sources.md +176 -0
- package/pro/squads/squad-creator-pro/tasks/evd-extract-dimensions.md +667 -0
- package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-context-load.md +180 -0
- package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-enrichment.md +181 -0
- package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-filter.md +192 -0
- package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-multi-lense.md +158 -0
- package/pro/squads/squad-creator-pro/tasks/extract-expert-gold-validation.md +167 -0
- package/pro/squads/squad-creator-pro/tasks/extract-expert-gold.md +185 -0
- package/pro/squads/squad-creator-pro/tasks/extract-implicit-analyze.md +192 -0
- package/pro/squads/squad-creator-pro/tasks/extract-implicit-prioritize.md +212 -0
- package/pro/squads/squad-creator-pro/tasks/extract-implicit-scan.md +231 -0
- package/pro/squads/squad-creator-pro/tasks/extract-implicit-synthesize.md +176 -0
- package/pro/squads/squad-creator-pro/tasks/extract-implicit-validate.md +234 -0
- package/pro/squads/squad-creator-pro/tasks/extract-implicit.md +137 -317
- package/pro/squads/squad-creator-pro/tasks/extract-knowledge-checklist.md +220 -0
- package/pro/squads/squad-creator-pro/tasks/extract-knowledge-framework.md +244 -0
- package/pro/squads/squad-creator-pro/tasks/extract-knowledge-sop.md +244 -0
- package/pro/squads/squad-creator-pro/tasks/extract-knowledge-source-validation.md +191 -0
- package/pro/squads/squad-creator-pro/tasks/extract-knowledge-validation.md +224 -0
- package/pro/squads/squad-creator-pro/tasks/extract-knowledge.md +92 -476
- package/pro/squads/squad-creator-pro/tasks/extract-sop-analyze.md +180 -0
- package/pro/squads/squad-creator-pro/tasks/extract-sop-assemble.md +184 -0
- package/pro/squads/squad-creator-pro/tasks/extract-sop-extract.md +178 -0
- package/pro/squads/squad-creator-pro/tasks/extract-sop-prepare.md +189 -0
- package/pro/squads/squad-creator-pro/tasks/extract-sop.md +129 -267
- package/pro/squads/squad-creator-pro/tasks/extract-thinking-dna.md +103 -596
- package/pro/squads/squad-creator-pro/tasks/extract-voice-dna.md +102 -551
- package/pro/squads/squad-creator-pro/tasks/find-0-8-classify.md +203 -0
- package/pro/squads/squad-creator-pro/tasks/find-0-8-recommend.md +166 -0
- package/pro/squads/squad-creator-pro/tasks/find-0-8.md +136 -0
- package/pro/squads/squad-creator-pro/tasks/ics-audit.md +211 -0
- package/pro/squads/squad-creator-pro/tasks/ics-domain-mapping.md +172 -0
- package/pro/squads/squad-creator-pro/tasks/ics-generate-scripts.md +241 -0
- package/pro/squads/squad-creator-pro/tasks/ics-integration.md +182 -0
- package/pro/squads/squad-creator-pro/tasks/ics-validation.md +181 -0
- package/pro/squads/squad-creator-pro/tasks/install-context-stack.md +228 -0
- package/pro/squads/squad-creator-pro/tasks/install-skills.md +180 -0
- package/pro/squads/squad-creator-pro/tasks/lookup-model.md +61 -0
- package/pro/squads/squad-creator-pro/tasks/migrate-workflows-analyze.md +154 -0
- package/pro/squads/squad-creator-pro/tasks/migrate-workflows-archive.md +162 -0
- package/pro/squads/squad-creator-pro/tasks/migrate-workflows-convert.md +167 -0
- package/pro/squads/squad-creator-pro/tasks/migrate-workflows-to-yaml.md +77 -239
- package/pro/squads/squad-creator-pro/tasks/modernize-squad.md +338 -0
- package/pro/squads/squad-creator-pro/tasks/next-action-discovery.md +191 -0
- package/pro/squads/squad-creator-pro/tasks/next-action-gap-map.md +220 -0
- package/pro/squads/squad-creator-pro/tasks/next-action-implement.md +183 -0
- package/pro/squads/squad-creator-pro/tasks/next-action.md +149 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-binary-checkpoints.md +114 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-determinism-analysis.md +164 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-empirical-validation.md +138 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-gap-zero.md +111 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-gatekeeper-detection.md +113 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-hybrid-executor.md +117 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-post-economy.md +158 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-scope-clarification.md +110 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-workflow-apply.md +142 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-workflow-checkpoints.md +108 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-workflow-executor-distribution.md +107 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-workflow-gap-zero.md +113 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-workflow-parallelization.md +107 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-workflow-phase-necessity.md +139 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-workflow-report.md +146 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-workflow.md +119 -831
- package/pro/squads/squad-creator-pro/tasks/optimize.md +149 -1059
- package/pro/squads/squad-creator-pro/tasks/parallel-discovery.md +56 -3
- package/pro/squads/squad-creator-pro/tasks/plan-squad-architecture.md +34 -0
- package/pro/squads/squad-creator-pro/tasks/plan-squad-challenge-reorder.md +34 -0
- package/pro/squads/squad-creator-pro/tasks/plan-squad-contract.md +38 -0
- package/pro/squads/squad-creator-pro/tasks/plan-squad-depth-calibration.md +34 -0
- package/pro/squads/squad-creator-pro/tasks/plan-squad-domain-mapping.md +32 -0
- package/pro/squads/squad-creator-pro/tasks/plan-squad-prd-assembly.md +37 -0
- package/pro/squads/squad-creator-pro/tasks/plan-squad-roadmap.md +32 -0
- package/pro/squads/squad-creator-pro/tasks/plan-squad.md +90 -0
- package/pro/squads/squad-creator-pro/tasks/pv-audit-deep-dive.md +157 -0
- package/pro/squads/squad-creator-pro/tasks/pv-audit-overview.md +157 -0
- package/pro/squads/squad-creator-pro/tasks/pv-audit-sample.md +188 -0
- package/pro/squads/squad-creator-pro/tasks/pv-audit.md +118 -191
- package/pro/squads/squad-creator-pro/tasks/pv-axioma-assessment.md +89 -0
- package/pro/squads/squad-creator-pro/tasks/pv-modernization-score.md +87 -8
- package/pro/squads/squad-creator-pro/tasks/qa-after-creation.md +94 -455
- package/pro/squads/squad-creator-pro/tasks/qualify-task.md +93 -241
- package/pro/squads/squad-creator-pro/tasks/refresh-registry-enrich.md +171 -0
- package/pro/squads/squad-creator-pro/tasks/refresh-registry-scan.md +173 -0
- package/pro/squads/squad-creator-pro/tasks/refresh-registry-write.md +192 -0
- package/pro/squads/squad-creator-pro/tasks/refresh-registry.md +111 -351
- package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-comparison.md +49 -0
- package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-execution.md +49 -0
- package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-lookup.md +49 -0
- package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-preflight.md +48 -0
- package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing-report.md +51 -0
- package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing.md +84 -146
- package/pro/squads/squad-creator-pro/tasks/squad-analytics.md +141 -214
- package/pro/squads/squad-creator-pro/tasks/squad-fusion-cleanup.md +93 -0
- package/pro/squads/squad-creator-pro/tasks/squad-fusion-command-sync.md +97 -0
- package/pro/squads/squad-creator-pro/tasks/squad-fusion-deduplication.md +234 -0
- package/pro/squads/squad-creator-pro/tasks/squad-fusion-discovery.md +98 -0
- package/pro/squads/squad-creator-pro/tasks/squad-fusion-execution.md +246 -0
- package/pro/squads/squad-creator-pro/tasks/squad-fusion-initialize.md +247 -0
- package/pro/squads/squad-creator-pro/tasks/squad-fusion-integration.md +95 -0
- package/pro/squads/squad-creator-pro/tasks/squad-fusion-resolution.md +205 -0
- package/pro/squads/squad-creator-pro/tasks/squad-fusion-scope.md +95 -0
- package/pro/squads/squad-creator-pro/tasks/squad-fusion-structure.md +128 -0
- package/pro/squads/squad-creator-pro/tasks/squad-fusion-validation.md +96 -0
- package/pro/squads/squad-creator-pro/tasks/squad-fusion.md +115 -784
- package/pro/squads/squad-creator-pro/tasks/sync-chief-codex-skill.md +107 -0
- package/pro/squads/squad-creator-pro/tasks/sync-ide-skills.md +192 -0
- package/pro/squads/squad-creator-pro/tasks/update-mind-apply.md +207 -0
- package/pro/squads/squad-creator-pro/tasks/update-mind-extract-merge.md +257 -0
- package/pro/squads/squad-creator-pro/tasks/update-mind-extract.md +201 -0
- package/pro/squads/squad-creator-pro/tasks/update-mind-load-snapshot.md +177 -0
- package/pro/squads/squad-creator-pro/tasks/update-mind-load.md +173 -0
- package/pro/squads/squad-creator-pro/tasks/update-mind-merge.md +193 -0
- package/pro/squads/squad-creator-pro/tasks/update-mind.md +113 -364
- package/pro/squads/squad-creator-pro/tasks/upgrade-squad-apply.md +104 -0
- package/pro/squads/squad-creator-pro/tasks/upgrade-squad-gap.md +110 -0
- package/pro/squads/squad-creator-pro/tasks/upgrade-squad-inventory.md +110 -0
- package/pro/squads/squad-creator-pro/tasks/upgrade-squad-plan.md +107 -0
- package/pro/squads/squad-creator-pro/tasks/upgrade-squad-qualitative.md +104 -0
- package/pro/squads/squad-creator-pro/tasks/upgrade-squad-verify.md +106 -0
- package/pro/squads/squad-creator-pro/tasks/upgrade-squad.md +143 -907
- package/pro/squads/squad-creator-pro/tasks/validate-extraction-adversarial.md +182 -0
- package/pro/squads/squad-creator-pro/tasks/validate-extraction-checklist.md +155 -0
- package/pro/squads/squad-creator-pro/tasks/validate-extraction-gate.md +175 -0
- package/pro/squads/squad-creator-pro/tasks/validate-extraction.md +114 -172
- package/pro/squads/squad-creator-pro/tasks/validate-squad-contextual.md +120 -0
- package/pro/squads/squad-creator-pro/tasks/validate-squad-cross-references.md +122 -0
- package/pro/squads/squad-creator-pro/tasks/validate-squad-deterministic.md +261 -0
- package/pro/squads/squad-creator-pro/tasks/validate-squad-quality.md +138 -0
- package/pro/squads/squad-creator-pro/tasks/validate-squad-verdict.md +183 -0
- package/pro/squads/squad-creator-pro/tasks/validate-squad.md +102 -1352
- package/pro/squads/squad-creator-pro/tasks/workspace-integration-hardening.md +187 -0
- package/pro/squads/squad-creator-pro/templates/agent-flow-doc-tmpl.md +3 -3
- package/pro/squads/squad-creator-pro/templates/agent-tmpl.md +1 -1
- package/pro/squads/squad-creator-pro/templates/config-tmpl.yaml +87 -5
- package/pro/squads/squad-creator-pro/templates/cross-domain-handoff-tmpl.yaml +17 -0
- package/pro/squads/squad-creator-pro/templates/journey-log-tmpl.yaml +75 -0
- package/pro/squads/squad-creator-pro/templates/pop-extractor-prompt.md +4 -4
- package/pro/squads/squad-creator-pro/templates/quality-gate-tmpl.yaml +4 -4
- package/pro/squads/squad-creator-pro/templates/readme-tmpl.md +5 -5
- package/pro/squads/squad-creator-pro/templates/report-tmpl.yaml +14 -0
- package/pro/squads/squad-creator-pro/templates/session-heuristic-tmpl.md +100 -0
- package/pro/squads/squad-creator-pro/templates/squad-prd-deep-tmpl.md +434 -0
- package/pro/squads/squad-creator-pro/templates/task-tmpl.md +1 -1
- package/pro/squads/squad-creator-pro/templates/workflow-doc-tmpl.md +2 -2
- package/pro/squads/squad-creator-pro/templates/workflow-tmpl.yaml +4 -4
- package/pro/squads/squad-creator-pro/test-cases/BATCH-PROGRESS.md +3 -3
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/README.md +1 -1
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/TEST-REPORT-v2.1.md +2 -2
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/VERIFICATION-CHECKLIST.txt +2 -2
- package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/opus-baseline.yaml +2 -2
- package/pro/squads/squad-creator-pro/test-cases/create-task/test-case.yaml +2 -2
- package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/opus-baseline.yaml +3 -3
- package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/opus-baseline.yaml +1 -1
- package/pro/squads/squad-creator-pro/test-cases/upgrade-squad/test-case.yaml +3 -3
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/opus-round-3-v4-task.yaml +1 -1
- package/pro/squads/squad-creator-pro/workflows/create-squad.yaml +219 -267
- package/pro/squads/squad-creator-pro/workflows/modules/module-discovery.yaml +3 -3
- package/pro/squads/squad-creator-pro/workflows/modules/module-integration.yaml +19 -1
- package/pro/squads/squad-creator-pro/workflows/modules/module-quality-gates.yaml +6 -1
- package/pro/squads/squad-creator-pro/workflows/validate-squad.yaml +461 -491
- package/pro/squads/squad-creator-pro/workflows/wf-assess-sources.yaml +62 -0
- package/pro/squads/squad-creator-pro/workflows/wf-auto-acquire-sources.yaml +258 -256
- package/pro/squads/squad-creator-pro/workflows/wf-brownfield-upgrade-squad.yaml +115 -19
- package/pro/squads/squad-creator-pro/workflows/wf-clone-mind.yaml +327 -241
- package/pro/squads/squad-creator-pro/workflows/wf-clone-review.yaml +111 -0
- package/pro/squads/squad-creator-pro/workflows/wf-collect-sources.yaml +104 -0
- package/pro/squads/squad-creator-pro/workflows/wf-compare-outputs.yaml +77 -0
- package/pro/squads/squad-creator-pro/workflows/wf-context-aware-create-squad.yaml +150 -20
- package/pro/squads/squad-creator-pro/workflows/wf-create-from-sop.yaml +117 -0
- package/pro/squads/squad-creator-pro/workflows/wf-create-pipeline.yaml +19 -0
- package/pro/squads/squad-creator-pro/workflows/wf-create-squad.yaml +1053 -909
- package/pro/squads/squad-creator-pro/workflows/wf-create-task.yaml +22 -0
- package/pro/squads/squad-creator-pro/workflows/wf-create-template.yaml +17 -0
- package/pro/squads/squad-creator-pro/workflows/wf-create-workflow.yaml +22 -0
- package/pro/squads/squad-creator-pro/workflows/wf-cross-provider-qualification.yaml +289 -340
- package/pro/squads/squad-creator-pro/workflows/wf-deconstruct.yaml +92 -0
- package/pro/squads/squad-creator-pro/workflows/wf-deep-research.yaml +148 -0
- package/pro/squads/squad-creator-pro/workflows/wf-design-clone.yaml +103 -0
- package/pro/squads/squad-creator-pro/workflows/wf-diagnose-clone.yaml +115 -0
- package/pro/squads/squad-creator-pro/workflows/wf-discover-tools.yaml +881 -609
- package/pro/squads/squad-creator-pro/workflows/wf-extract-dna.yaml +103 -0
- package/pro/squads/squad-creator-pro/workflows/wf-extract-expert-gold.yaml +101 -0
- package/pro/squads/squad-creator-pro/workflows/wf-extract-framework.yaml +108 -0
- package/pro/squads/squad-creator-pro/workflows/wf-extract-implicit.yaml +101 -0
- package/pro/squads/squad-creator-pro/workflows/wf-extract-knowledge.yaml +162 -0
- package/pro/squads/squad-creator-pro/workflows/wf-extract-sop.yaml +143 -0
- package/pro/squads/squad-creator-pro/workflows/wf-extract-thinking-dna.yaml +210 -0
- package/pro/squads/squad-creator-pro/workflows/wf-extract-voice-dna.yaml +76 -0
- package/pro/squads/squad-creator-pro/workflows/wf-extraction-pipeline.yaml +267 -278
- package/pro/squads/squad-creator-pro/workflows/wf-fidelity-score.yaml +88 -0
- package/pro/squads/squad-creator-pro/workflows/wf-find-08.yaml +71 -0
- package/pro/squads/squad-creator-pro/workflows/wf-install-context-stack.yaml +88 -0
- package/pro/squads/squad-creator-pro/workflows/wf-install-workspace-context.yaml +764 -0
- package/pro/squads/squad-creator-pro/workflows/wf-migrate-workflows.yaml +103 -0
- package/pro/squads/squad-creator-pro/workflows/wf-mind-research-loop.yaml +364 -361
- package/pro/squads/squad-creator-pro/workflows/wf-model-tier-qualification.yaml +297 -360
- package/pro/squads/squad-creator-pro/workflows/wf-modernize-squad.yaml +178 -0
- package/pro/squads/squad-creator-pro/workflows/wf-next-action.yaml +113 -0
- package/pro/squads/squad-creator-pro/workflows/wf-optimize-squad.yaml +450 -373
- package/pro/squads/squad-creator-pro/workflows/wf-optimize-workflow.yaml +122 -0
- package/pro/squads/squad-creator-pro/workflows/wf-optimize-yolo.yaml +595 -0
- package/pro/squads/squad-creator-pro/workflows/wf-plan-squad.yaml +255 -0
- package/pro/squads/squad-creator-pro/workflows/wf-pv-audit.yaml +115 -0
- package/pro/squads/squad-creator-pro/workflows/wf-refresh-registry.yaml +110 -0
- package/pro/squads/squad-creator-pro/workflows/wf-research-then-create-agent.yaml +489 -552
- package/pro/squads/squad-creator-pro/workflows/wf-smoke-test-model-routing.yaml +103 -0
- package/pro/squads/squad-creator-pro/workflows/wf-squad-fusion.yaml +697 -690
- package/pro/squads/squad-creator-pro/workflows/wf-update-mind.yaml +148 -0
- package/pro/squads/squad-creator-pro/workflows/wf-upgrade-squad.yaml +141 -0
- package/pro/squads/squad-creator-pro/workflows/wf-validate-clone.yaml +120 -0
- package/pro/squads/squad-creator-pro/workflows/wf-validate-extraction.yaml +111 -0
- package/pro/squads/squad-creator-pro/workflows/wf-workspace-integration-hardening.yaml +119 -0
- package/pro/squads/storytelling/CHANGELOG.md +30 -0
- package/pro/squads/storytelling/HEADLINE.md +3 -0
- package/pro/squads/storytelling/README.md +137 -0
- package/pro/squads/storytelling/agents/blake-snyder.md +451 -0
- package/pro/squads/storytelling/agents/dan-harmon.md +742 -0
- package/pro/squads/storytelling/agents/donald-miller.md +662 -0
- package/pro/squads/storytelling/agents/joseph-campbell.md +625 -0
- package/pro/squads/storytelling/agents/keith-johnstone.md +467 -0
- package/pro/squads/storytelling/agents/kindra-hall.md +953 -0
- package/pro/squads/storytelling/agents/marshall-ganz.md +473 -0
- package/pro/squads/storytelling/agents/matthew-dicks.md +526 -0
- package/pro/squads/storytelling/agents/nancy-duarte.md +528 -0
- package/pro/squads/storytelling/agents/oren-klaff.md +785 -0
- package/pro/squads/storytelling/agents/park-howell.md +807 -0
- package/pro/squads/storytelling/agents/shawn-coyne.md +540 -0
- package/pro/squads/storytelling/agents/story-chief.md +409 -0
- package/pro/squads/storytelling/checklists/story-quality-checklist.md +100 -0
- package/pro/squads/storytelling/config.yaml +248 -0
- package/pro/squads/storytelling/data/story-mappings.yaml +200 -0
- package/pro/squads/storytelling/docs/.gitkeep +0 -0
- package/pro/squads/storytelling/research/blake-snyder-save-the-cat-research.md +958 -0
- package/pro/squads/storytelling/research/donald-miller-storybrand-research.md +1205 -0
- package/pro/squads/storytelling/research/joseph-campbell-heros-journey-research.md +1170 -0
- package/pro/squads/storytelling/research/keith-johnstone-improv-spontaneity-research.md +574 -0
- package/pro/squads/storytelling/research/marshall-ganz-public-narrative-research.md +658 -0
- package/pro/squads/storytelling/research/nancy-duarte-sparkline-research.md +892 -0
- package/pro/squads/storytelling/research/shawn-coyne-story-grid-research.md +760 -0
- package/pro/squads/storytelling/scripts/generate-story-greeting.cjs +140 -0
- package/pro/squads/storytelling/scripts/load-context.cjs +141 -0
- package/pro/squads/storytelling/scripts/resolve-readiness.cjs +45 -0
- package/pro/squads/storytelling/scripts/runtime-paths.cjs +44 -0
- package/pro/squads/storytelling/scripts/set-active-context.cjs +108 -0
- package/pro/squads/storytelling/scripts/show-context.cjs +22 -0
- package/pro/squads/storytelling/squad-io.yaml +573 -0
- package/pro/squads/storytelling/tasks/apply-abt.md +856 -0
- package/pro/squads/storytelling/tasks/apply-beat-sheet.md +1245 -0
- package/pro/squads/storytelling/tasks/apply-heros-journey.md +1100 -0
- package/pro/squads/storytelling/tasks/apply-save-the-cat.md +1075 -0
- package/pro/squads/storytelling/tasks/apply-story-circle.md +1116 -0
- package/pro/squads/storytelling/tasks/craft-personal-story.md +1004 -0
- package/pro/squads/storytelling/tasks/craft-public-narrative.md +1193 -0
- package/pro/squads/storytelling/tasks/craft-ted-talk.md +773 -0
- package/pro/squads/storytelling/tasks/create-brandscript.md +1376 -0
- package/pro/squads/storytelling/tasks/create-business-story.md +1472 -0
- package/pro/squads/storytelling/tasks/create-pitch.md +1128 -0
- package/pro/squads/storytelling/tasks/diagnose-story-grid.md +979 -0
- package/pro/squads/storytelling/tasks/improvise-story.md +772 -0
- package/pro/squads/storytelling/templates/narrative-output-tmpl.md +44 -0
- package/pro/squads/storytelling/workflows/story-creation.yaml +80 -0
- package/scripts/validate-package-completeness.js +4 -1
- package/.aiox-core/core/execution/predictive-pipeline.js +0 -1283
- package/.aiox-core/core/memory/decision-memory.js +0 -564
- package/.aiox-core/data/registry-update-log.jsonl +0 -2
- package/pro/squads/mmos-squad/minds/alex_hormozi/artifacts/ARQUITETURA_COGNITIVA_DE_ALEX_HORMOZI_EXTRA/303/207/303/203O_COMPLETA.md +0 -215
- package/pro/squads/mmos-squad/minds/alex_hormozi/artifacts/A_Rotina_de_Alta_Performance_de_Alex_Hormozi_Arquitetura,_Motiva/303/247/303/265es_e_Replica/303/247/303/243o.md +0 -309
- package/pro/squads/mmos-squad/minds/alex_hormozi/artifacts/O_sistema_completo_de_cria/303/247/303/243o_de_conte/303/272do_de_Alex_Hormozi.md +0 -416
- package/pro/squads/mmos-squad/minds/brad_frost/.backup/2026-01-13/artifacts/DECIS/303/225ES_ESTRAT/303/211GICAS_DE_DESIGN_SYSTEMS_(2022_2025).md +0 -1038
- package/pro/squads/mmos-squad/minds/brad_frost/.backup/2026-01-13/artifacts/FRAMEWORK_COMPLETO_DE_IMPLEMENTA/303/207/303/203O_ATOMIC_DESIGN.md +0 -797
- package/pro/squads/mmos-squad/minds/brad_frost/.backup/2026-01-13/artifacts/O_Cemit/303/251rio_de_Design_Systems.md +0 -447
- package/pro/squads/mmos-squad/minds/brad_frost/.backup/2026-01-13/artifacts/PRINC/303/215PIOS_DE_RACIOC/303/215NIO.md +0 -190
- package/pro/squads/mmos-squad/minds/brad_frost/artifacts/DECIS/303/225ES_ESTRAT/303/211GICAS_DE_DESIGN_SYSTEMS_(2022_2025).md +0 -1038
- package/pro/squads/mmos-squad/minds/brad_frost/artifacts/FRAMEWORK_COMPLETO_DE_IMPLEMENTA/303/207/303/203O_ATOMIC_DESIGN.md +0 -797
- package/pro/squads/mmos-squad/minds/brad_frost/artifacts/O_Cemit/303/251rio_de_Design_Systems.md +0 -447
- package/pro/squads/mmos-squad/minds/brad_frost/artifacts/PRINC/303/215PIOS_DE_RACIOC/303/215NIO.md +0 -190
- package/pro/squads/mmos-squad/minds/elon_musk/artifacts/AN/303/201LISE_PSICOM/303/211TRICA_PROFUNDA_ELON_MUSK.md +0 -291
- package/pro/squads/mmos-squad/minds/elon_musk/artifacts/ASSINATURA_LINGU/303/215STICA_ELON_MUSK.md +0 -485
- package/pro/squads/mmos-squad/minds/elon_musk/artifacts/A_Arquitetura_Mental_de_Elon_Musk_Uma_An/303/241lise_Sistem/303/241tica_dos_Frameworks_de_Pensamento.md +0 -907
- package/pro/squads/mmos-squad/minds/elon_musk/artifacts/Dossi/303/252_Estrat/303/251gico_A_Arquitetura_Psicol/303/263gica_de_Elon_Musk.md +0 -252
- package/pro/squads/mmos-squad/minds/elon_musk/artifacts/Os_Padr/303/265es_de_Leitura_de_Elon_Musk_e_Sua_Influ/303/252ncia_Sistem/303/241tica.md +0 -287
- package/pro/squads/mmos-squad/minds/elon_musk/artifacts/Uma_an/303/241lise_psicol/303/263gica_abrangente.md +0 -187
- package/pro/squads/mmos-squad/minds/eugene_schwartz/artifacts/AN/303/201LISE_PSICOM/303/211TRICA_PROFUNDA_EUGENE_M._SCHWARTZ.md +0 -790
- package/pro/squads/mmos-squad/minds/eugene_schwartz/artifacts/An/303/241lise_Completa_Eugene_Schwartz_Arquitetura_Cognitiva_DEEP.md +0 -210
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/5H_EXTRA/303/207/303/203O_COGNITIVA_COMPLETA_PEDRO_VAL/303/211RIO_LOPEZ.md +0 -226
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/AN/303/201LISE_COMPARATIVA_REVISADA_PEDRO_VAL/303/211RIO_LOPEZ.md +0 -246
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/AN/303/201LISE_LINGU/303/215STICA_CARIOCA_PEDRO_VAL/303/211RIO_LOPEZ.md +0 -274
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/AN/303/201LISE_PSICOM/303/211TRICA_DEFINITIVA_PEDRO_VAL/303/211RIO_LOPEZ.md +0 -821
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/AN/303/201LISE_PSICOM/303/211TRICA_PROFUNDA_PEDRO_VAL/303/211RIO.md +0 -1844
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/C/303/201LCULO_DE_RARIDADE_ESTAT/303/215STICA_PEDRO_VAL/303/211RIO_LOPEZ.md +0 -154
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/EXTRA/303/207/303/203O_PEDRO_VAL/303/211RIO.md +0 -237
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/MAPEAMENTO_LINGU/303/215STICO_PROFUNDO.md +0 -161
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/META_AXIOMAS_DE_PEDRO_VAL/303/211RIO.md +0 -256
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/SISTEMA_IMUNOL/303/223GICO_COGNITIVO_PEDRO_VAL/303/211RIO_LOPEZ.md +0 -586
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/SISTEMA_IMUNOL/303/223GICO_COGNITIVO_V2_/342/200/224_CLONE_IA.md +0 -452
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/TABELA_COMPARATIVA_AN/303/201LISE_COMPLETA_DOS_CLONES_IA.md +0 -102
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/WHATSAPP_PADR/303/225ES_LINGU/303/215STICOS_PEDRO_VAL/303/211RIO_LOPEZ.md +0 -286
- package/pro/squads/mmos-squad/minds/pedro_valerio/sources/artifacts_v1.6/heur/303/255sticas_de_decis/303/243o_e_algoritmos_mentais_/303/272nicos.md +0 -268
- package/pro/squads/mmos-squad/minds/ray_kurzweil/sources/books/PROTOCOLO_COMPLETO_DE_INTERROGA/303/207/303/203O_-_NAVAL_RAVIKANT.md +0 -3624
- package/pro/squads/mmos-squad/minds/steve_jobs/artifacts/FRAMEWORK_COMPLETO_DE_IMPLEMENTA/303/207/303/203O_JOBS.md +0 -488
- package/pro/squads/mmos-squad/minds/steve_jobs/artifacts/Framework_Cabe/303/247a_Steve.md +0 -257
- package/pro/squads/mmos-squad/minds/steve_jobs/artifacts/Relat/303/263rio_Abrangente_sobre_Steve_Jobs_para_Cria/303/247/303/243o_de_Clone_de_IA.md +0 -370
- package/pro/squads/mmos-squad/minds/steve_jobs/artifacts/Steve_Jobs_An/303/241lise_Psicol/303/263gica_Profunda_e_Valida/303/247/303/243o_Comportamental.md +0 -65
- package/pro/squads/squad-creator-pro/assessments/axioma-assessment-wf-create-squad.yaml +0 -325
- package/pro/squads/squad-creator-pro/checklists/create-agent-checklist.md +0 -184
- package/pro/squads/squad-creator-pro/checklists/create-workflow-checklist.md +0 -224
- package/pro/squads/squad-creator-pro/checklists/squad-overview-checklist.md +0 -393
- package/pro/squads/squad-creator-pro/docs/ADR-001-model-tier-qualification.md +0 -344
- package/pro/squads/squad-creator-pro/docs/AGENT-COLLABORATION.md +0 -609
- package/pro/squads/squad-creator-pro/docs/MIGRATION-PLAN-AGENT-CONFORMITY.md +0 -861
- package/pro/squads/squad-creator-pro/docs/MIGRATION-ROADMAP-HYBRIDOPS.md +0 -1161
- package/pro/squads/squad-creator-pro/docs/MODEL-TIER-QUALIFICATION.md +0 -337
- package/pro/squads/squad-creator-pro/docs/RFC-001-deterministic-refactoring.md +0 -463
- package/pro/squads/squad-creator-pro/docs/optimize-v4-proposal.md +0 -354
- package/pro/squads/squad-creator-pro/docs/session-report-2026-02-01.md +0 -411
- package/pro/squads/squad-creator-pro/docs/validation-report-2026-02-01.md +0 -439
- package/pro/squads/squad-creator-pro/protocols/ai-first-governance.md +0 -63
- 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/sync-ide-command.py +0 -590
- package/pro/squads/squad-creator-pro/squad.yaml +0 -36
- package/pro/squads/squad-creator-pro/tasks/detect-squad-context.md +0 -81
- package/pro/squads/squad-creator-pro/tasks/find-0.8.md +0 -222
- package/pro/squads/squad-creator-pro/tasks/install-commands.md +0 -373
- package/pro/squads/squad-creator-pro/tasks/next-squad.md +0 -487
- package/pro/squads/squad-creator-pro/tasks/pv-axioma-assessment-wf-clone-mind.yaml +0 -256
- package/pro/squads/squad-creator-pro/tasks/reexecute-squad-phase.md +0 -64
- package/pro/squads/squad-creator-pro/tasks/squad-overview.md +0 -683
- package/pro/squads/squad-creator-pro/tasks/sync-ide-command.md +0 -392
- package/pro/squads/squad-creator-pro/tasks/validate-final-artifacts.md +0 -80
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-output.yaml +0 -366
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.1-output.yaml +0 -452
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.2.1-output.yaml +0 -281
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.2.2-output.yaml +0 -332
- package/pro/squads/squad-creator-pro/test-cases/an-clone-review/haiku-round-1.yaml +0 -213
- package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/haiku-round-1.yaml +0 -262
- package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/haiku-round-1.yaml +0 -282
- package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/haiku-output.yaml +0 -209
- package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/haiku-round-1.yaml +0 -393
- package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/haiku-round-1.yaml +0 -292
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-1-MINE.yaml +0 -36
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-1.yaml +0 -193
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-2.yaml +0 -303
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-3-v4-task.yaml +0 -149
- package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/haiku-output-v2-calibrated.yaml +0 -200
- package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/haiku-output.yaml +0 -183
- /package/pro/squads/{mmos-squad/minds/alex_hormozi/artifacts/Processo_Cria/303/247/303/243o_Conte/303/272do_Hormozi.md" → claude-code-mastery/docs/.gitkeep} +0 -0
- /package/pro/squads/{squad-creator-pro → squad-creator}/HEADLINE.md +0 -0
- /package/pro/squads/{squad-creator-pro → squad-creator}/checklists/smoke-test-agent.md +0 -0
- /package/pro/squads/{squad-creator-pro → squad-creator}/data/executor-decision-tree.md +0 -0
- /package/pro/squads/{squad-creator-pro → squad-creator}/data/pipeline-patterns.md +0 -0
- /package/pro/squads/{squad-creator-pro → squad-creator}/data/squad-type-definitions.yaml +0 -0
- /package/pro/squads/{squad-creator-pro → squad-creator}/docs/TROUBLESHOOTING.md +0 -0
- /package/pro/squads/{squad-creator-pro → squad-creator}/docs/task-optimization-framework.md +0 -0
- /package/pro/squads/{squad-creator-pro → squad-creator}/templates/handoff-insumos-tmpl.yaml +0 -0
- /package/pro/squads/{squad-creator-pro → squad-creator}/templates/orchestrator-tmpl.md +0 -0
- /package/pro/squads/{squad-creator-pro → squad-creator}/templates/pipeline-progress-tmpl.py +0 -0
- /package/pro/squads/{squad-creator-pro → squad-creator}/templates/pipeline-runner-tmpl.py +0 -0
- /package/pro/squads/{squad-creator-pro → squad-creator}/templates/pipeline-state-tmpl.py +0 -0
- /package/pro/squads/{squad-creator-pro → squad-creator}/templates/quality-dashboard-tmpl.md +0 -0
- /package/pro/squads/{squad-creator-pro → squad-creator}/templates/squad-readme-tmpl.md +0 -0
|
@@ -1,62 +1,48 @@
|
|
|
1
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
2
|
-
# WORKFLOW: SQUAD FUSION v2.0 (Dragon Ball Style)
|
|
3
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
4
|
-
# Fusão de múltiplos squads similares em um único squad otimizado
|
|
5
|
-
# Baseado em padrões de: Git Merge, Database Migration, ETL, M&A, Microservices
|
|
6
|
-
#
|
|
7
|
-
# PRINCÍPIOS FUNDAMENTAIS:
|
|
8
|
-
# 1. IDEMPOTENCY: Rodar 2x = mesmo resultado (sem duplicatas)
|
|
9
|
-
# 2. PROVENANCE: Todo componente rastreável à origem
|
|
10
|
-
# 3. ROLLBACK: Cada fase reversível
|
|
11
|
-
# 4. QUALITY GATES: Validação entre cada fase
|
|
12
|
-
# 5. INCREMENTAL: Nunca Big Bang
|
|
13
|
-
#
|
|
14
|
-
# MODOS:
|
|
15
|
-
# - YOLO: Execução automática com decisões padrão (60-75% qualidade)
|
|
16
|
-
# - QUALITY: Checkpoints humanos em cada fase (85-95% qualidade)
|
|
17
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
18
|
-
|
|
19
1
|
workflow:
|
|
20
2
|
id: wf-squad-fusion
|
|
21
|
-
name:
|
|
22
|
-
version:
|
|
23
|
-
|
|
24
|
-
icon: "🐉"
|
|
25
|
-
|
|
26
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
27
|
-
# EXECUTOR DISTRIBUTION (após análise com *optimize)
|
|
28
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
3
|
+
name: Squad Fusion Workflow
|
|
4
|
+
version: 2.4.0
|
|
5
|
+
icon: 🐉
|
|
29
6
|
executor_summary:
|
|
30
7
|
total_steps: 56
|
|
31
8
|
distribution:
|
|
32
|
-
Worker:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
9
|
+
Worker:
|
|
10
|
+
count: 44
|
|
11
|
+
percent: 79
|
|
12
|
+
description: Determinístico, bash/template
|
|
13
|
+
Agent:
|
|
14
|
+
count: 5
|
|
15
|
+
percent: 9
|
|
16
|
+
description: Requer LLM para decisão semântica
|
|
17
|
+
Hybrid:
|
|
18
|
+
count: 6
|
|
19
|
+
percent: 11
|
|
20
|
+
description: Worker + Agent validation
|
|
21
|
+
Human:
|
|
22
|
+
count: 1
|
|
23
|
+
percent: 1
|
|
24
|
+
description: Aprovação para ações irreversíveis
|
|
37
25
|
agent_decision_points:
|
|
38
26
|
- id: semantic_match_detection
|
|
39
|
-
reason:
|
|
27
|
+
reason: Comparar função real de agents com nomes diferentes
|
|
40
28
|
- id: quality_comparison
|
|
41
|
-
reason:
|
|
29
|
+
reason: Avaliar qualidade além de métricas quantitativas
|
|
42
30
|
- id: create_golden_records
|
|
43
|
-
reason:
|
|
31
|
+
reason: Decidir versão canônica entre variantes
|
|
44
32
|
- id: define_tiers
|
|
45
|
-
reason:
|
|
33
|
+
reason: Organizar agents por função/propósito
|
|
46
34
|
- id: define_routing_rules
|
|
47
|
-
reason:
|
|
35
|
+
reason: Mapear especialidades para cenários de uso
|
|
48
36
|
- id: create_orchestrator_if_needed
|
|
49
|
-
reason:
|
|
50
|
-
|
|
37
|
+
reason: Criar orchestrator com conhecimento dos agents
|
|
51
38
|
patterns_applied:
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
|
|
39
|
+
- Three-Way Merge (Git)
|
|
40
|
+
- Expand-Contract (Database)
|
|
41
|
+
- ETL Quality Gates
|
|
42
|
+
- Strangler Fig (Microservices)
|
|
43
|
+
- Due Diligence (M&A)
|
|
44
|
+
- Entity Resolution (Deduplication)
|
|
45
|
+
- CDC Event Logging
|
|
60
46
|
description: |
|
|
61
47
|
Workflow para fusão de múltiplos squads em um único squad consolidado.
|
|
62
48
|
Segue o princípio "Dragon Ball Fusion" - combina o melhor de cada fonte.
|
|
@@ -66,154 +52,299 @@ workflow:
|
|
|
66
52
|
- Zero duplicatas não-intencionais
|
|
67
53
|
- 100% rastreabilidade (provenance)
|
|
68
54
|
- Rollback possível até Phase 6
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
55
|
+
type: orchestration
|
|
56
|
+
state_machine:
|
|
57
|
+
states: [init, initialization, discovery, deduplication, scope-filtering, structure, validation, integration-test, command-sync, cleanup, complete, failed]
|
|
58
|
+
transitions:
|
|
59
|
+
- trigger: start
|
|
60
|
+
source: init
|
|
61
|
+
dest: initialization
|
|
62
|
+
- trigger: initialization_complete
|
|
63
|
+
source: initialization
|
|
64
|
+
dest: discovery
|
|
65
|
+
- trigger: initialization_failed
|
|
66
|
+
source: initialization
|
|
67
|
+
dest: failed
|
|
68
|
+
- trigger: discovery_complete
|
|
69
|
+
source: discovery
|
|
70
|
+
dest: deduplication
|
|
71
|
+
- trigger: discovery_failed
|
|
72
|
+
source: discovery
|
|
73
|
+
dest: failed
|
|
74
|
+
- trigger: deduplication_complete
|
|
75
|
+
source: deduplication
|
|
76
|
+
dest: scope-filtering
|
|
77
|
+
- trigger: deduplication_failed
|
|
78
|
+
source: deduplication
|
|
79
|
+
dest: failed
|
|
80
|
+
- trigger: scope_filtering_complete
|
|
81
|
+
source: scope-filtering
|
|
82
|
+
dest: structure
|
|
83
|
+
- trigger: scope_filtering_failed
|
|
84
|
+
source: scope-filtering
|
|
85
|
+
dest: failed
|
|
86
|
+
- trigger: structure_complete
|
|
87
|
+
source: structure
|
|
88
|
+
dest: validation
|
|
89
|
+
- trigger: structure_failed
|
|
90
|
+
source: structure
|
|
91
|
+
dest: failed
|
|
92
|
+
- trigger: validation_complete
|
|
93
|
+
source: validation
|
|
94
|
+
dest: integration-test
|
|
95
|
+
- trigger: validation_failed
|
|
96
|
+
source: validation
|
|
97
|
+
dest: failed
|
|
98
|
+
- trigger: integration_test_complete
|
|
99
|
+
source: integration-test
|
|
100
|
+
dest: command-sync
|
|
101
|
+
- trigger: integration_test_failed
|
|
102
|
+
source: integration-test
|
|
103
|
+
dest: failed
|
|
104
|
+
- trigger: command_sync_complete
|
|
105
|
+
source: command-sync
|
|
106
|
+
dest: cleanup
|
|
107
|
+
- trigger: command_sync_failed
|
|
108
|
+
source: command-sync
|
|
109
|
+
dest: failed
|
|
110
|
+
- trigger: cleanup_complete
|
|
111
|
+
source: cleanup
|
|
112
|
+
dest: complete
|
|
113
|
+
- trigger: cleanup_failed
|
|
114
|
+
source: cleanup
|
|
115
|
+
dest: failed
|
|
116
|
+
- trigger: fail
|
|
117
|
+
source: "*"
|
|
118
|
+
dest: failed
|
|
119
|
+
sequence:
|
|
120
|
+
- step: phase-0-init
|
|
121
|
+
id: phase-0-init
|
|
122
|
+
phase: 1
|
|
123
|
+
phase_name: Initialization
|
|
124
|
+
agent: "@squad-chief"
|
|
125
|
+
action: execute_setup-workspace-e-valida-o-inicial
|
|
126
|
+
task_ref: squad-fusion-initialize
|
|
127
|
+
outputs:
|
|
128
|
+
- workspace_path
|
|
129
|
+
- backup_path
|
|
130
|
+
- fusion_id
|
|
131
|
+
- audit_log_path
|
|
132
|
+
next: phase-1-discovery
|
|
133
|
+
- step: phase-1-discovery
|
|
134
|
+
id: phase-1-discovery
|
|
135
|
+
phase: 2
|
|
136
|
+
phase_name: Discovery (Due Diligence)
|
|
137
|
+
agent: "@squad-chief"
|
|
138
|
+
action: execute_invent-rio-completo-de-todos-os-assets
|
|
139
|
+
task_ref: squad-fusion-discovery
|
|
140
|
+
outputs:
|
|
141
|
+
- inventory
|
|
142
|
+
- total_assets
|
|
143
|
+
- cross_references
|
|
144
|
+
next: phase-2-deduplication
|
|
145
|
+
- step: phase-2-deduplication
|
|
146
|
+
id: phase-2-deduplication
|
|
147
|
+
phase: 3
|
|
148
|
+
phase_name: Deduplication (Entity Resolution)
|
|
149
|
+
agent: "@squad-chief"
|
|
150
|
+
action: execute_identificar-e-resolver-duplicatas
|
|
151
|
+
task_ref: squad-fusion-deduplication
|
|
152
|
+
outputs:
|
|
153
|
+
- duplicates_found
|
|
154
|
+
- duplicates_resolved
|
|
155
|
+
- agents_to_keep
|
|
156
|
+
- agents_to_exclude
|
|
157
|
+
next: phase-3-scope
|
|
158
|
+
- step: phase-3-scope
|
|
159
|
+
id: phase-3-scope
|
|
160
|
+
phase: 4
|
|
161
|
+
phase_name: Scope Filtering
|
|
162
|
+
agent: "@squad-chief"
|
|
163
|
+
action: execute_filtrar-componentes-fora-do-dom-nio-target
|
|
164
|
+
task_ref: squad-fusion-scope
|
|
165
|
+
outputs:
|
|
166
|
+
- final_components
|
|
167
|
+
- excluded_components
|
|
168
|
+
next: phase-4-structure
|
|
169
|
+
- step: phase-4-structure
|
|
170
|
+
id: phase-4-structure
|
|
171
|
+
phase: 5
|
|
172
|
+
phase_name: Structure (ETL Extract + Load)
|
|
173
|
+
agent: "@squad-chief"
|
|
174
|
+
action: execute_coletar-componentes-e-materializar-estrutura
|
|
175
|
+
task_ref: squad-fusion-structure
|
|
176
|
+
outputs:
|
|
177
|
+
- workspace_contents
|
|
178
|
+
- conflicts_resolved
|
|
179
|
+
- provenance_map
|
|
180
|
+
- squad_path
|
|
181
|
+
- config_valid
|
|
182
|
+
- final_counts
|
|
183
|
+
next: phase-5-validation
|
|
184
|
+
- step: phase-5-validation
|
|
185
|
+
id: phase-5-validation
|
|
186
|
+
phase: 6
|
|
187
|
+
phase_name: Validation (Quality Gates)
|
|
188
|
+
agent: "@squad-chief"
|
|
189
|
+
action: execute_validar-integridade-antes-de-criar-estrutura-final
|
|
190
|
+
task_ref: squad-fusion-validation
|
|
191
|
+
outputs:
|
|
192
|
+
- validation_status
|
|
193
|
+
- validation_report
|
|
194
|
+
- issues_to_fix
|
|
195
|
+
next: phase-7-integration
|
|
196
|
+
- step: phase-7-integration
|
|
197
|
+
id: phase-7-integration
|
|
198
|
+
phase: 8
|
|
199
|
+
phase_name: Integration Test
|
|
200
|
+
agent: "@squad-chief"
|
|
201
|
+
action: execute_testar-squad-fusionado-antes-de-cleanup
|
|
202
|
+
task_ref: squad-fusion-integration
|
|
203
|
+
outputs:
|
|
204
|
+
- test_status
|
|
205
|
+
- test_report
|
|
206
|
+
next: phase-7-5-command-sync
|
|
207
|
+
- step: phase-7-5-command-sync
|
|
208
|
+
id: phase-7-5-command-sync
|
|
209
|
+
phase: 9
|
|
210
|
+
phase_name: Command Sync (IDE Integration)
|
|
211
|
+
agent: "@squad-chief"
|
|
212
|
+
action: execute_sincronizar-commands-para
|
|
213
|
+
task_ref: squad-fusion-command-sync
|
|
214
|
+
outputs:
|
|
215
|
+
- commands_synced
|
|
216
|
+
- old_commands_removed
|
|
217
|
+
next: phase-8-cleanup
|
|
218
|
+
- step: phase-8-cleanup
|
|
219
|
+
id: phase-8-cleanup
|
|
220
|
+
phase: 10
|
|
221
|
+
phase_name: Cleanup (Optional)
|
|
222
|
+
agent: "@squad-chief"
|
|
223
|
+
action: execute_remover-squads-fonte-ap-s-fus-o-bem-sucedida
|
|
224
|
+
task_ref: squad-fusion-cleanup
|
|
225
|
+
outputs:
|
|
226
|
+
- sources_removed
|
|
227
|
+
- final_status
|
|
228
|
+
- workflow_end:
|
|
229
|
+
id: complete
|
|
230
|
+
action: workflow_complete
|
|
73
231
|
config:
|
|
74
232
|
modes:
|
|
75
233
|
yolo:
|
|
76
|
-
description:
|
|
234
|
+
description: Execução automática, decisões padrão
|
|
77
235
|
human_checkpoints: false
|
|
78
236
|
default_decisions:
|
|
79
|
-
duplicate_resolution:
|
|
80
|
-
scope_filtering:
|
|
81
|
-
naming:
|
|
82
|
-
cleanup_sources: false
|
|
83
|
-
|
|
237
|
+
duplicate_resolution: keep_highest_quality
|
|
238
|
+
scope_filtering: strict
|
|
239
|
+
naming: auto
|
|
240
|
+
cleanup_sources: false
|
|
84
241
|
quality:
|
|
85
|
-
description:
|
|
242
|
+
description: Checkpoints humanos, decisões validadas
|
|
86
243
|
human_checkpoints: true
|
|
87
244
|
requires_approval:
|
|
88
245
|
- phase_1_discovery
|
|
89
246
|
- phase_2_deduplication
|
|
90
247
|
- phase_3_scope
|
|
91
248
|
- phase_5_validation
|
|
92
|
-
|
|
93
|
-
# Diretórios padrão
|
|
94
249
|
paths:
|
|
95
|
-
workspace:
|
|
96
|
-
backup:
|
|
250
|
+
workspace: /tmp/fusion-{target_name}-{timestamp}
|
|
251
|
+
backup: backups/squads/pre-fusion-{timestamp}
|
|
97
252
|
audit_log: "{workspace}/fusion-audit.yaml"
|
|
98
|
-
|
|
99
|
-
# Limiares de qualidade
|
|
100
253
|
quality_thresholds:
|
|
101
254
|
min_agent_lines: 300
|
|
102
255
|
min_task_lines: 100
|
|
103
|
-
similarity_threshold: 0.85
|
|
104
|
-
|
|
105
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
106
|
-
# UNIVERSAL ANTI-PATTERNS (NUNCA FAZER)
|
|
107
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
256
|
+
similarity_threshold: 0.85
|
|
108
257
|
anti_patterns:
|
|
109
258
|
critical:
|
|
110
259
|
- id: AP_001
|
|
111
|
-
name:
|
|
112
|
-
description:
|
|
113
|
-
risk:
|
|
114
|
-
mitigation:
|
|
115
|
-
|
|
260
|
+
name: Big Bang Migration
|
|
261
|
+
description: Tentar fundir tudo de uma vez
|
|
262
|
+
risk: Falha total, impossível debugar
|
|
263
|
+
mitigation: Fases incrementais com validação
|
|
116
264
|
- id: AP_002
|
|
117
|
-
name:
|
|
118
|
-
description:
|
|
119
|
-
risk:
|
|
120
|
-
mitigation:
|
|
121
|
-
|
|
265
|
+
name: Silent Data Loss
|
|
266
|
+
description: Componentes desaparecem sem log
|
|
267
|
+
risk: Funcionalidade perdida descoberta tarde
|
|
268
|
+
mitigation: Audit log de cada operação
|
|
122
269
|
- id: AP_003
|
|
123
|
-
name:
|
|
124
|
-
description:
|
|
125
|
-
risk:
|
|
126
|
-
mitigation:
|
|
127
|
-
|
|
270
|
+
name: Force Override
|
|
271
|
+
description: Resolver conflitos sem análise
|
|
272
|
+
risk: Perda de contexto e funcionalidade
|
|
273
|
+
mitigation: Documentar rationale de cada decisão
|
|
128
274
|
- id: AP_004
|
|
129
|
-
name:
|
|
130
|
-
description:
|
|
131
|
-
risk:
|
|
132
|
-
mitigation:
|
|
133
|
-
|
|
275
|
+
name: No Rollback Plan
|
|
276
|
+
description: Sem backup ou checkpoint
|
|
277
|
+
risk: Preso com erros
|
|
278
|
+
mitigation: Snapshot antes de cada fase destrutiva
|
|
134
279
|
- id: AP_005
|
|
135
|
-
name:
|
|
136
|
-
description:
|
|
137
|
-
risk:
|
|
138
|
-
mitigation:
|
|
139
|
-
|
|
280
|
+
name: Assumption Over Count
|
|
281
|
+
description: Assumir contagens ao invés de executar comandos
|
|
282
|
+
risk: Inventário errado → fusão errada
|
|
283
|
+
mitigation: SEMPRE executar comandos de contagem
|
|
140
284
|
- id: AP_006
|
|
141
|
-
name:
|
|
142
|
-
description:
|
|
143
|
-
risk:
|
|
144
|
-
mitigation:
|
|
145
|
-
|
|
146
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
147
|
-
# PHASE 0: INITIALIZATION
|
|
148
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
285
|
+
name: Orphaned References
|
|
286
|
+
description: Links quebrados após fusão
|
|
287
|
+
risk: Erros em runtime
|
|
288
|
+
mitigation: Validar todas referências pós-merge
|
|
149
289
|
phases:
|
|
150
290
|
- id: phase_0_init
|
|
151
|
-
name:
|
|
152
|
-
description:
|
|
153
|
-
pattern:
|
|
154
|
-
rollback:
|
|
155
|
-
|
|
291
|
+
name: Initialization
|
|
292
|
+
description: Setup workspace e validação inicial
|
|
293
|
+
pattern: Pre-flight checks
|
|
294
|
+
rollback: Trivial - nada modificado ainda
|
|
156
295
|
inputs:
|
|
157
296
|
required:
|
|
158
297
|
- name: source_squads
|
|
159
|
-
type:
|
|
160
|
-
description:
|
|
161
|
-
validation:
|
|
162
|
-
example:
|
|
163
|
-
|
|
298
|
+
type: list[string]
|
|
299
|
+
description: Lista de squads a serem fusionados
|
|
300
|
+
validation: Cada squad deve existir em squads/
|
|
301
|
+
example: "[\"media-buy\", \"media-squad\", \"meta-ads\"]"
|
|
164
302
|
- name: target_name
|
|
165
|
-
type:
|
|
166
|
-
description:
|
|
167
|
-
validation:
|
|
168
|
-
example:
|
|
169
|
-
|
|
303
|
+
type: string
|
|
304
|
+
description: Nome do squad resultante (snake_case)
|
|
305
|
+
validation: ^[a-z0-9]+(-[a-z0-9]+)*$
|
|
306
|
+
example: traffic-masters
|
|
170
307
|
- name: target_domain
|
|
171
|
-
type:
|
|
172
|
-
description:
|
|
173
|
-
example:
|
|
174
|
-
|
|
308
|
+
type: string
|
|
309
|
+
description: Domínio principal
|
|
310
|
+
example: paid_traffic
|
|
175
311
|
optional:
|
|
176
312
|
- name: mode
|
|
177
|
-
type:
|
|
178
|
-
default:
|
|
179
|
-
|
|
313
|
+
type: enum[yolo, quality]
|
|
314
|
+
default: quality
|
|
180
315
|
- name: exclude_patterns
|
|
181
|
-
type:
|
|
182
|
-
description:
|
|
183
|
-
example:
|
|
184
|
-
|
|
316
|
+
type: list[string]
|
|
317
|
+
description: Patterns de agents a excluir
|
|
318
|
+
example: "[\"brand-*\", \"pr-*\", \"*-organic\"]"
|
|
185
319
|
steps:
|
|
186
320
|
- id: validate_inputs
|
|
187
|
-
action:
|
|
321
|
+
action: Validar todos os inputs
|
|
188
322
|
checks:
|
|
189
|
-
-
|
|
190
|
-
-
|
|
191
|
-
-
|
|
192
|
-
|
|
323
|
+
- target_name não existe em squads/
|
|
324
|
+
- source_squads tem pelo menos 2 itens
|
|
325
|
+
- Nenhum squad fonte é igual ao target
|
|
193
326
|
- id: validate_sources
|
|
194
|
-
action:
|
|
327
|
+
action: Verificar existência de cada squad fonte
|
|
195
328
|
command_template: |
|
|
196
329
|
for squad in {source_squads}:
|
|
197
330
|
if not exists("squads/{squad}"):
|
|
198
331
|
ABORT("Squad não existe: {squad}")
|
|
199
332
|
if not exists("squads/{squad}/agents") and not exists("squads/{squad}/skills"):
|
|
200
333
|
WARN("Squad sem agents nem skills: {squad}")
|
|
201
|
-
|
|
202
334
|
- id: create_workspace
|
|
203
|
-
action:
|
|
335
|
+
action: Criar workspace isolado
|
|
204
336
|
commands:
|
|
205
|
-
-
|
|
206
|
-
-
|
|
207
|
-
-
|
|
208
|
-
-
|
|
209
|
-
-
|
|
210
|
-
-
|
|
211
|
-
-
|
|
212
|
-
-
|
|
213
|
-
-
|
|
214
|
-
|
|
337
|
+
- mkdir -p {workspace}/agents
|
|
338
|
+
- mkdir -p {workspace}/tasks
|
|
339
|
+
- mkdir -p {workspace}/skills
|
|
340
|
+
- mkdir -p {workspace}/data
|
|
341
|
+
- mkdir -p {workspace}/templates
|
|
342
|
+
- mkdir -p {workspace}/checklists
|
|
343
|
+
- mkdir -p {workspace}/workflows
|
|
344
|
+
- mkdir -p {workspace}/_audit
|
|
345
|
+
- mkdir -p {workspace}/_conflicts
|
|
215
346
|
- id: init_audit_log
|
|
216
|
-
action:
|
|
347
|
+
action: Inicializar log de auditoria
|
|
217
348
|
creates: "{workspace}/fusion-audit.yaml"
|
|
218
349
|
template: |
|
|
219
350
|
# Fusion Audit Log
|
|
@@ -227,38 +358,30 @@ phases:
|
|
|
227
358
|
sources: {source_squads}
|
|
228
359
|
|
|
229
360
|
events: []
|
|
230
|
-
|
|
231
361
|
- id: create_backup
|
|
232
362
|
action: "Backup dos squads fonte (pattern: snapshot before)"
|
|
233
363
|
command_template: |
|
|
234
364
|
mkdir -p {backup_path}
|
|
235
365
|
for squad in {source_squads}:
|
|
236
366
|
tar -czf {backup_path}/{squad}.tar.gz squads/{squad}
|
|
237
|
-
rationale:
|
|
238
|
-
|
|
367
|
+
rationale: Permite rollback completo até o final
|
|
239
368
|
output:
|
|
240
|
-
workspace_path:
|
|
241
|
-
backup_path:
|
|
242
|
-
fusion_id:
|
|
243
|
-
audit_log_path:
|
|
244
|
-
|
|
369
|
+
workspace_path: string
|
|
370
|
+
backup_path: string
|
|
371
|
+
fusion_id: string
|
|
372
|
+
audit_log_path: string
|
|
245
373
|
quality_gate:
|
|
246
|
-
name:
|
|
374
|
+
name: Init Gate
|
|
247
375
|
checks:
|
|
248
|
-
-
|
|
249
|
-
-
|
|
250
|
-
-
|
|
251
|
-
veto_on:
|
|
252
|
-
|
|
253
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
254
|
-
# PHASE 1: DISCOVERY (Due Diligence - M&A Pattern)
|
|
255
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
376
|
+
- Workspace criado com todas subpastas
|
|
377
|
+
- Backup de todos squads fonte existe
|
|
378
|
+
- Audit log inicializado
|
|
379
|
+
veto_on: Qualquer check falhar
|
|
256
380
|
- id: phase_1_discovery
|
|
257
|
-
name:
|
|
258
|
-
description:
|
|
259
|
-
pattern:
|
|
260
|
-
rollback:
|
|
261
|
-
|
|
381
|
+
name: Discovery (Due Diligence)
|
|
382
|
+
description: Inventário COMPLETO de todos os assets
|
|
383
|
+
pattern: M&A Due Diligence + Schema Discovery
|
|
384
|
+
rollback: Trivial - apenas leitura
|
|
262
385
|
critical_rule: |
|
|
263
386
|
🚨 REGRA ABSOLUTA: EXECUTAR COMANDOS, NUNCA ASSUMIR
|
|
264
387
|
|
|
@@ -270,68 +393,61 @@ phases:
|
|
|
270
393
|
- Usar contagens de sessões anteriores
|
|
271
394
|
|
|
272
395
|
CADA número deve vir de um comando executado NESTA sessão.
|
|
273
|
-
|
|
274
396
|
steps:
|
|
275
397
|
- id: inventory_agents
|
|
276
|
-
action:
|
|
398
|
+
action: Contar e listar agents de CADA squad
|
|
277
399
|
executor: Worker
|
|
278
400
|
command_per_squad: |
|
|
279
401
|
echo "=== {squad} AGENTS ===" && \
|
|
280
402
|
find squads/{squad}/agents -name '*.md' 2>/dev/null | wc -l && \
|
|
281
403
|
find squads/{squad}/agents -name '*.md' -exec basename {} .md \; 2>/dev/null | sort
|
|
282
|
-
store_as:
|
|
283
|
-
|
|
404
|
+
store_as: inventory.{squad}.agents
|
|
284
405
|
- id: inventory_tasks
|
|
285
|
-
action:
|
|
406
|
+
action: Contar tasks (MÚLTIPLOS LOCAIS)
|
|
286
407
|
executor: Worker
|
|
287
|
-
rationale:
|
|
408
|
+
rationale: Tasks podem estar em /tasks, /skills/tasks, ou outros locais
|
|
288
409
|
command_per_squad: |
|
|
289
410
|
echo "=== {squad} TASKS ===" && \
|
|
290
411
|
find squads/{squad} -path '*/tasks/*.md' -type f 2>/dev/null | wc -l && \
|
|
291
412
|
find squads/{squad} -path '*/tasks/*.md' -type f -exec basename {} .md \; 2>/dev/null | sort
|
|
292
|
-
store_as:
|
|
293
|
-
|
|
413
|
+
store_as: inventory.{squad}.tasks
|
|
294
414
|
- id: inventory_skills
|
|
295
|
-
action:
|
|
415
|
+
action: Contar skills (estrutura especial)
|
|
296
416
|
executor: Worker
|
|
297
|
-
rationale:
|
|
417
|
+
rationale: Skills usam SKILL.md dentro de subpastas
|
|
298
418
|
command_per_squad: |
|
|
299
419
|
echo "=== {squad} SKILLS ===" && \
|
|
300
420
|
find squads/{squad} -name 'SKILL.md' -type f 2>/dev/null | wc -l && \
|
|
301
421
|
find squads/{squad} -name 'SKILL.md' -type f 2>/dev/null | xargs -I {} dirname {} | xargs -I {} basename {}
|
|
302
|
-
store_as:
|
|
303
|
-
|
|
422
|
+
store_as: inventory.{squad}.skills
|
|
304
423
|
- id: inventory_data
|
|
305
|
-
action:
|
|
424
|
+
action: Contar data/knowledge files
|
|
306
425
|
executor: Worker
|
|
307
426
|
command_per_squad: |
|
|
308
427
|
echo "=== {squad} DATA ===" && \
|
|
309
428
|
count_data=$(find squads/{squad}/data -name '*.md' -type f 2>/dev/null | wc -l) && \
|
|
310
429
|
count_knowledge=$(find squads/{squad}/knowledge -name '*.md' -type f 2>/dev/null | wc -l) && \
|
|
311
430
|
echo "Data: $count_data, Knowledge: $count_knowledge, Total: $((count_data + count_knowledge))"
|
|
312
|
-
store_as:
|
|
313
|
-
|
|
431
|
+
store_as: inventory.{squad}.data
|
|
314
432
|
- id: inventory_other
|
|
315
|
-
action:
|
|
433
|
+
action: Contar templates, checklists, workflows
|
|
316
434
|
executor: Worker
|
|
317
435
|
command_per_squad: |
|
|
318
436
|
echo "=== {squad} OTHER ===" && \
|
|
319
437
|
echo "Templates: $(find squads/{squad} -path '*/templates/*.md' -type f 2>/dev/null | wc -l)" && \
|
|
320
438
|
echo "Checklists: $(find squads/{squad} -path '*/checklists/*.md' -type f 2>/dev/null | wc -l)" && \
|
|
321
439
|
echo "Workflows: $(find squads/{squad} -path '*/workflows/*.yaml' -o -path '*/workflows/*.md' -type f 2>/dev/null | wc -l)"
|
|
322
|
-
store_as:
|
|
323
|
-
|
|
440
|
+
store_as: inventory.{squad}.other
|
|
324
441
|
- id: inventory_quality
|
|
325
|
-
action:
|
|
442
|
+
action: Medir qualidade dos agents (linhas de código)
|
|
326
443
|
executor: Worker
|
|
327
|
-
rationale:
|
|
444
|
+
rationale: Linhas = proxy para completude
|
|
328
445
|
command_per_squad: |
|
|
329
446
|
echo "=== {squad} QUALITY ===" && \
|
|
330
447
|
wc -l squads/{squad}/agents/*.md 2>/dev/null | sort -n
|
|
331
|
-
store_as:
|
|
332
|
-
|
|
448
|
+
store_as: inventory.{squad}.quality
|
|
333
449
|
- id: build_inventory_table
|
|
334
|
-
action:
|
|
450
|
+
action: Construir tabela consolidada
|
|
335
451
|
executor: Worker
|
|
336
452
|
template: |
|
|
337
453
|
## 📊 INVENTÁRIO COMPLETO (Discovery)
|
|
@@ -347,28 +463,25 @@ phases:
|
|
|
347
463
|
- Soma calculada: {{sum.agents}} agents
|
|
348
464
|
- Soma por comando: `{{sum_command_result}}`
|
|
349
465
|
- Match: {{match_status}}
|
|
350
|
-
|
|
351
466
|
- id: cross_reference_map
|
|
352
|
-
action:
|
|
467
|
+
action: Mapear referências cruzadas entre componentes
|
|
353
468
|
executor: Worker
|
|
354
469
|
rationale: "Pattern: Foreign Key Reconciliation"
|
|
355
470
|
command: |
|
|
356
471
|
# Encontrar referências a outros agents/tasks nos arquivos
|
|
357
472
|
for squad in {source_squads}:
|
|
358
473
|
grep -r "handoff_to\|depends_on\|uses\|calls" squads/{squad} --include="*.md" --include="*.yaml"
|
|
359
|
-
store_as:
|
|
360
|
-
|
|
474
|
+
store_as: cross_references
|
|
361
475
|
- id: log_discovery
|
|
362
|
-
action:
|
|
476
|
+
action: Registrar no audit log
|
|
363
477
|
executor: Worker
|
|
364
478
|
audit_event:
|
|
365
|
-
type:
|
|
366
|
-
data:
|
|
479
|
+
type: discovery_complete
|
|
480
|
+
data: inventory
|
|
367
481
|
timestamp: "{now}"
|
|
368
|
-
|
|
369
482
|
checkpoint:
|
|
370
|
-
type:
|
|
371
|
-
condition:
|
|
483
|
+
type: human_review
|
|
484
|
+
condition: mode == 'quality'
|
|
372
485
|
prompt: |
|
|
373
486
|
## Discovery Complete
|
|
374
487
|
|
|
@@ -381,35 +494,28 @@ phases:
|
|
|
381
494
|
|
|
382
495
|
Aprovar para continuar?
|
|
383
496
|
options:
|
|
384
|
-
-
|
|
385
|
-
-
|
|
386
|
-
-
|
|
387
|
-
|
|
497
|
+
- Aprovar
|
|
498
|
+
- Refazer contagem de squad específico
|
|
499
|
+
- Abortar fusão
|
|
388
500
|
quality_gate:
|
|
389
|
-
name:
|
|
501
|
+
name: Discovery Gate
|
|
390
502
|
checks:
|
|
391
|
-
-
|
|
392
|
-
-
|
|
393
|
-
-
|
|
394
|
-
veto_on:
|
|
395
|
-
|
|
503
|
+
- Todos squads têm pelo menos 1 agent OU 1 skill
|
|
504
|
+
- Soma manual = soma automática
|
|
505
|
+
- Nenhum squad com 0 assets
|
|
506
|
+
veto_on: Discrepância de contagem > 0
|
|
396
507
|
output:
|
|
397
|
-
inventory:
|
|
398
|
-
total_assets:
|
|
399
|
-
cross_references:
|
|
400
|
-
|
|
401
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
402
|
-
# PHASE 2: DEDUPLICATION (Entity Resolution Pattern)
|
|
403
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
508
|
+
inventory: InventoryTable
|
|
509
|
+
total_assets: AssetCounts
|
|
510
|
+
cross_references: list[Reference]
|
|
404
511
|
- id: phase_2_deduplication
|
|
405
|
-
name:
|
|
406
|
-
description:
|
|
407
|
-
pattern:
|
|
408
|
-
rollback:
|
|
409
|
-
|
|
512
|
+
name: Deduplication (Entity Resolution)
|
|
513
|
+
description: Identificar e resolver duplicatas
|
|
514
|
+
pattern: Entity Resolution + Fuzzy Matching + Golden Record
|
|
515
|
+
rollback: Trivial - apenas análise
|
|
410
516
|
steps:
|
|
411
517
|
- id: exact_match_detection
|
|
412
|
-
action:
|
|
518
|
+
action: Detectar duplicatas por nome exato
|
|
413
519
|
executor: Worker
|
|
414
520
|
algorithm: |
|
|
415
521
|
1. Criar set de todos os nomes de agents/tasks
|
|
@@ -424,28 +530,46 @@ phases:
|
|
|
424
530
|
find squads/{squad}/agents -name '*.md' -exec basename {} .md \;
|
|
425
531
|
# Encontrar duplicados
|
|
426
532
|
| sort | uniq -d
|
|
427
|
-
|
|
428
533
|
- id: semantic_match_detection
|
|
429
|
-
action:
|
|
534
|
+
action: Detectar duplicatas semânticas (mesma função, nomes diferentes)
|
|
430
535
|
executor: Agent
|
|
431
536
|
rationale: |
|
|
432
537
|
Pattern: Fuzzy Matching
|
|
433
538
|
Mapa estático de sinônimos é INSUFICIENTE.
|
|
434
539
|
LLM precisa ler descrições e comparar função real.
|
|
435
540
|
semantic_groups:
|
|
436
|
-
- group:
|
|
437
|
-
patterns:
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
- group:
|
|
443
|
-
patterns:
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
541
|
+
- group: analyst
|
|
542
|
+
patterns:
|
|
543
|
+
- ads-analyst
|
|
544
|
+
- performance-analyst
|
|
545
|
+
- analyst
|
|
546
|
+
- metrics-analyst
|
|
547
|
+
- group: scaler
|
|
548
|
+
patterns:
|
|
549
|
+
- scale-optimizer
|
|
550
|
+
- scaling-specialist
|
|
551
|
+
- scaler
|
|
552
|
+
- growth-optimizer
|
|
553
|
+
- group: auditor
|
|
554
|
+
patterns:
|
|
555
|
+
- fiscal
|
|
556
|
+
- compliance-auditor
|
|
557
|
+
- auditor
|
|
558
|
+
- validator
|
|
559
|
+
- group: creative
|
|
560
|
+
patterns:
|
|
561
|
+
- creative-analyst
|
|
562
|
+
- creative-strategist
|
|
563
|
+
- creative-director
|
|
564
|
+
- creative-generator
|
|
565
|
+
- group: traffic
|
|
566
|
+
patterns:
|
|
567
|
+
- traffic-manager
|
|
568
|
+
- traffic-head
|
|
569
|
+
- media-buyer
|
|
570
|
+
- ads-manager
|
|
447
571
|
- id: quality_comparison
|
|
448
|
-
action:
|
|
572
|
+
action: Comparar qualidade das variantes
|
|
449
573
|
executor: Agent
|
|
450
574
|
rationale: |
|
|
451
575
|
Linhas != Qualidade. LLM precisa ler AMBOS os agents e avaliar:
|
|
@@ -454,20 +578,20 @@ phases:
|
|
|
454
578
|
- Frameworks documentados
|
|
455
579
|
- Anti-patterns definidos
|
|
456
580
|
metrics:
|
|
457
|
-
- name:
|
|
458
|
-
description:
|
|
581
|
+
- name: lines
|
|
582
|
+
description: Linhas de código (mais = mais completo)
|
|
459
583
|
weight: 0.4
|
|
460
|
-
- name:
|
|
461
|
-
description:
|
|
584
|
+
- name: voice_dna
|
|
585
|
+
description: Presença de voice_dna section
|
|
462
586
|
weight: 0.2
|
|
463
|
-
- name:
|
|
464
|
-
description:
|
|
587
|
+
- name: output_examples
|
|
588
|
+
description: Número de output_examples
|
|
465
589
|
weight: 0.2
|
|
466
|
-
- name:
|
|
467
|
-
description:
|
|
590
|
+
- name: frameworks
|
|
591
|
+
description: Frameworks documentados
|
|
468
592
|
weight: 0.1
|
|
469
|
-
- name:
|
|
470
|
-
description:
|
|
593
|
+
- name: recency
|
|
594
|
+
description: Data de última modificação
|
|
471
595
|
weight: 0.1
|
|
472
596
|
command_per_duplicate: |
|
|
473
597
|
# Para cada par de duplicatas
|
|
@@ -476,9 +600,8 @@ phases:
|
|
|
476
600
|
echo "Linhas B: $(wc -l < squads/{squad_b}/agents/{agent_b}.md)" && \
|
|
477
601
|
echo "voice_dna A: $(grep -c 'voice_dna' squads/{squad_a}/agents/{agent_a}.md)" && \
|
|
478
602
|
echo "voice_dna B: $(grep -c 'voice_dna' squads/{squad_b}/agents/{agent_b}.md)"
|
|
479
|
-
|
|
480
603
|
- id: create_golden_records
|
|
481
|
-
action:
|
|
604
|
+
action: Criar registros dourados (versão canônica)
|
|
482
605
|
executor: Hybrid
|
|
483
606
|
rationale: |
|
|
484
607
|
Pattern: Golden Record Creation
|
|
@@ -486,14 +609,13 @@ phases:
|
|
|
486
609
|
- QUALITY mode: Agent recomenda, Human aprova
|
|
487
610
|
rules:
|
|
488
611
|
yolo_mode:
|
|
489
|
-
-
|
|
490
|
-
-
|
|
612
|
+
- Escolher agent com mais linhas
|
|
613
|
+
- Em empate, escolher mais recente
|
|
491
614
|
quality_mode:
|
|
492
|
-
-
|
|
493
|
-
-
|
|
494
|
-
|
|
615
|
+
- Apresentar comparação ao humano
|
|
616
|
+
- Humano escolhe ou pede merge manual
|
|
495
617
|
- id: build_dedup_table
|
|
496
|
-
action:
|
|
618
|
+
action: Construir tabela de deduplicação
|
|
497
619
|
executor: Worker
|
|
498
620
|
template: |
|
|
499
621
|
## 🔴 DUPLICATAS DETECTADAS
|
|
@@ -516,18 +638,16 @@ phases:
|
|
|
516
638
|
Total duplicatas: {{total_duplicates}}
|
|
517
639
|
- Resolvidas automaticamente: {{auto_resolved}}
|
|
518
640
|
- Requerem revisão humana: {{needs_review}}
|
|
519
|
-
|
|
520
641
|
- id: log_deduplication
|
|
521
|
-
action:
|
|
642
|
+
action: Registrar decisões no audit log
|
|
522
643
|
executor: Worker
|
|
523
644
|
audit_event:
|
|
524
|
-
type:
|
|
525
|
-
decisions:
|
|
645
|
+
type: deduplication_complete
|
|
646
|
+
decisions: dedup_decisions
|
|
526
647
|
timestamp: "{now}"
|
|
527
|
-
|
|
528
648
|
checkpoint:
|
|
529
|
-
type:
|
|
530
|
-
condition:
|
|
649
|
+
type: human_review
|
|
650
|
+
condition: mode == 'quality'
|
|
531
651
|
prompt: |
|
|
532
652
|
## Deduplication Results
|
|
533
653
|
|
|
@@ -540,49 +660,67 @@ phases:
|
|
|
540
660
|
|
|
541
661
|
Aprovar resoluções?
|
|
542
662
|
options:
|
|
543
|
-
-
|
|
544
|
-
-
|
|
545
|
-
-
|
|
546
|
-
|
|
663
|
+
- Aprovar todas
|
|
664
|
+
- Revisar caso a caso
|
|
665
|
+
- Abortar fusão
|
|
547
666
|
quality_gate:
|
|
548
|
-
name:
|
|
667
|
+
name: Deduplication Gate
|
|
549
668
|
checks:
|
|
550
|
-
-
|
|
551
|
-
-
|
|
552
|
-
-
|
|
553
|
-
veto_on:
|
|
554
|
-
|
|
669
|
+
- Todas duplicatas têm decisão
|
|
670
|
+
- Nenhum conflito não-resolvido
|
|
671
|
+
- Winners existem no disco
|
|
672
|
+
veto_on: Duplicata sem resolução
|
|
555
673
|
output:
|
|
556
|
-
duplicates_found:
|
|
557
|
-
duplicates_resolved:
|
|
558
|
-
agents_to_keep:
|
|
559
|
-
agents_to_exclude:
|
|
560
|
-
|
|
561
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
562
|
-
# PHASE 3: SCOPE FILTERING
|
|
563
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
674
|
+
duplicates_found: number
|
|
675
|
+
duplicates_resolved: list[DedupDecision]
|
|
676
|
+
agents_to_keep: list[{agent, source_squad}]
|
|
677
|
+
agents_to_exclude: list[{agent, reason}]
|
|
564
678
|
- id: phase_3_scope
|
|
565
|
-
name:
|
|
566
|
-
description:
|
|
567
|
-
pattern:
|
|
568
|
-
rollback:
|
|
569
|
-
|
|
679
|
+
name: Scope Filtering
|
|
680
|
+
description: Filtrar componentes fora do domínio target
|
|
681
|
+
pattern: Domain-Driven Filtering
|
|
682
|
+
rollback: Trivial - apenas classificação
|
|
570
683
|
steps:
|
|
571
684
|
- id: define_domain_keywords
|
|
572
|
-
action:
|
|
685
|
+
action: Definir keywords do domínio target
|
|
573
686
|
executor: Worker
|
|
574
687
|
example:
|
|
575
|
-
domain:
|
|
688
|
+
domain: paid_traffic
|
|
576
689
|
include_keywords:
|
|
577
|
-
primary:
|
|
578
|
-
|
|
579
|
-
|
|
690
|
+
primary:
|
|
691
|
+
- ads
|
|
692
|
+
- traffic
|
|
693
|
+
- campaign
|
|
694
|
+
- pixel
|
|
695
|
+
- tracking
|
|
696
|
+
- attribution
|
|
697
|
+
secondary:
|
|
698
|
+
- creative
|
|
699
|
+
- copy
|
|
700
|
+
- scaling
|
|
701
|
+
- optimization
|
|
702
|
+
- roas
|
|
703
|
+
- cpa
|
|
704
|
+
- ctr
|
|
705
|
+
platforms:
|
|
706
|
+
- meta
|
|
707
|
+
- google
|
|
708
|
+
- youtube
|
|
709
|
+
- tiktok
|
|
710
|
+
- linkedin
|
|
580
711
|
exclude_keywords:
|
|
581
|
-
explicit:
|
|
582
|
-
|
|
583
|
-
|
|
712
|
+
explicit:
|
|
713
|
+
- brand
|
|
714
|
+
- pr
|
|
715
|
+
- organic
|
|
716
|
+
- seo
|
|
717
|
+
- content-marketing
|
|
718
|
+
ambiguous:
|
|
719
|
+
- social
|
|
720
|
+
- web-design
|
|
721
|
+
- email
|
|
584
722
|
- id: classify_agents
|
|
585
|
-
action:
|
|
723
|
+
action: Classificar cada agent como IN_SCOPE ou OUT_OF_SCOPE
|
|
586
724
|
executor: Hybrid
|
|
587
725
|
rationale: |
|
|
588
726
|
- Score >= 2 ou < 0: Worker decide (determinístico)
|
|
@@ -601,14 +739,12 @@ phases:
|
|
|
601
739
|
echo "=== Classificando {agent} ===" && \
|
|
602
740
|
head -50 squads/{squad}/agents/{agent}.md | \
|
|
603
741
|
grep -iE "ads|traffic|campaign|pixel|scaling|roas|meta|google" | wc -l
|
|
604
|
-
|
|
605
742
|
- id: classify_tasks
|
|
606
|
-
action:
|
|
743
|
+
action: Classificar tasks pelo mesmo critério
|
|
607
744
|
executor: Hybrid
|
|
608
|
-
note:
|
|
609
|
-
|
|
745
|
+
note: Tasks geralmente são mais específicas, menos ambiguidade
|
|
610
746
|
- id: build_scope_table
|
|
611
|
-
action:
|
|
747
|
+
action: Construir tabela de classificação
|
|
612
748
|
executor: Worker
|
|
613
749
|
template: |
|
|
614
750
|
## 🎯 CLASSIFICAÇÃO DE ESCOPO
|
|
@@ -627,19 +763,17 @@ phases:
|
|
|
627
763
|
{{#each needs_review}}
|
|
628
764
|
- **{{name}}** ({{squad}}) - Score: {{score}} - Ambíguo: {{ambiguity_reason}}
|
|
629
765
|
{{/each}}
|
|
630
|
-
|
|
631
766
|
- id: log_scope
|
|
632
|
-
action:
|
|
767
|
+
action: Registrar no audit log
|
|
633
768
|
executor: Worker
|
|
634
769
|
audit_event:
|
|
635
|
-
type:
|
|
636
|
-
in_scope:
|
|
637
|
-
out_of_scope:
|
|
770
|
+
type: scope_filtering_complete
|
|
771
|
+
in_scope: in_scope_count
|
|
772
|
+
out_of_scope: out_scope_count
|
|
638
773
|
timestamp: "{now}"
|
|
639
|
-
|
|
640
774
|
checkpoint:
|
|
641
|
-
type:
|
|
642
|
-
condition:
|
|
775
|
+
type: human_review
|
|
776
|
+
condition: mode == 'quality'
|
|
643
777
|
prompt: |
|
|
644
778
|
## Scope Classification
|
|
645
779
|
|
|
@@ -660,32 +794,25 @@ phases:
|
|
|
660
794
|
- "2"
|
|
661
795
|
- "3"
|
|
662
796
|
- "4"
|
|
663
|
-
|
|
664
797
|
quality_gate:
|
|
665
|
-
name:
|
|
798
|
+
name: Scope Gate
|
|
666
799
|
checks:
|
|
667
|
-
-
|
|
668
|
-
-
|
|
669
|
-
-
|
|
670
|
-
veto_on:
|
|
671
|
-
|
|
800
|
+
- Pelo menos 5 agents IN_SCOPE
|
|
801
|
+
- Nenhum componente sem classificação
|
|
802
|
+
- Exclusões têm rationale
|
|
803
|
+
veto_on: Menos de 5 agents no escopo
|
|
672
804
|
output:
|
|
673
805
|
final_components:
|
|
674
|
-
agents:
|
|
675
|
-
tasks:
|
|
676
|
-
skills:
|
|
677
|
-
data:
|
|
678
|
-
excluded_components:
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
name: "Collection (ETL Extract)"
|
|
685
|
-
description: "Copiar componentes selecionados para workspace"
|
|
686
|
-
pattern: "ETL Extract + Idempotency + Exactly-Once"
|
|
687
|
-
rollback: "Deletar workspace e recomeçar"
|
|
688
|
-
|
|
806
|
+
agents: list[{name, source}]
|
|
807
|
+
tasks: list[{name, source}]
|
|
808
|
+
skills: list[{name, source}]
|
|
809
|
+
data: list[{name, source}]
|
|
810
|
+
excluded_components: list[{name, reason}]
|
|
811
|
+
- id: phase_4_structure
|
|
812
|
+
name: Structure (ETL Extract + Load)
|
|
813
|
+
description: Coletar componentes para workspace e materializar estrutura final
|
|
814
|
+
pattern: ETL Extract + Idempotency + Exactly-Once
|
|
815
|
+
rollback: Deletar workspace e recomeçar
|
|
689
816
|
critical_rule: |
|
|
690
817
|
🚨 IDEMPOTENCY: Rodar esta fase 2x deve dar o mesmo resultado
|
|
691
818
|
|
|
@@ -694,10 +821,9 @@ phases:
|
|
|
694
821
|
2. Se existe E é idêntico → skip
|
|
695
822
|
3. Se existe E é diferente → CONFLICT (mover para _conflicts/)
|
|
696
823
|
4. Se não existe → copiar
|
|
697
|
-
|
|
698
824
|
steps:
|
|
699
825
|
- id: collect_agents
|
|
700
|
-
action:
|
|
826
|
+
action: Copiar agents selecionados
|
|
701
827
|
executor: Worker
|
|
702
828
|
command_per_agent: |
|
|
703
829
|
source="squads/{source_squad}/agents/{agent}.md"
|
|
@@ -716,9 +842,8 @@ phases:
|
|
|
716
842
|
echo "COPIED: {agent}"
|
|
717
843
|
fi
|
|
718
844
|
audit_each: true
|
|
719
|
-
|
|
720
845
|
- id: collect_tasks
|
|
721
|
-
action:
|
|
846
|
+
action: Copiar tasks (com dedup por nome)
|
|
722
847
|
executor: Worker
|
|
723
848
|
command: |
|
|
724
849
|
for squad in {source_squads}:
|
|
@@ -728,18 +853,16 @@ phases:
|
|
|
728
853
|
# Mesmo padrão de idempotency
|
|
729
854
|
...
|
|
730
855
|
done
|
|
731
|
-
|
|
732
856
|
- id: collect_skills
|
|
733
|
-
action:
|
|
857
|
+
action: Copiar estrutura de skills preservando hierarquia
|
|
734
858
|
executor: Worker
|
|
735
859
|
command: |
|
|
736
860
|
for squad in {source_squads}:
|
|
737
861
|
if [ -d "squads/{squad}/skills" ]; then
|
|
738
862
|
cp -rn squads/{squad}/skills/* {workspace}/skills/ 2>/dev/null || true
|
|
739
863
|
fi
|
|
740
|
-
|
|
741
864
|
- id: collect_data
|
|
742
|
-
action:
|
|
865
|
+
action: Copiar data e knowledge bases
|
|
743
866
|
executor: Worker
|
|
744
867
|
command: |
|
|
745
868
|
for squad in {source_squads}:
|
|
@@ -747,9 +870,8 @@ phases:
|
|
|
747
870
|
name=$(basename "$file")
|
|
748
871
|
cp -n "$file" "{workspace}/data/$name" 2>/dev/null || echo "SKIP: $name exists"
|
|
749
872
|
done
|
|
750
|
-
|
|
751
873
|
- id: collect_templates
|
|
752
|
-
action:
|
|
874
|
+
action: Copiar templates
|
|
753
875
|
executor: Worker
|
|
754
876
|
command: |
|
|
755
877
|
for squad in {source_squads}:
|
|
@@ -757,9 +879,8 @@ phases:
|
|
|
757
879
|
name=$(basename "$file")
|
|
758
880
|
cp -n "$file" "{workspace}/templates/$name" 2>/dev/null || echo "SKIP: $name exists"
|
|
759
881
|
done
|
|
760
|
-
|
|
761
882
|
- id: collect_checklists
|
|
762
|
-
action:
|
|
883
|
+
action: Copiar checklists
|
|
763
884
|
executor: Worker
|
|
764
885
|
command: |
|
|
765
886
|
for squad in {source_squads}:
|
|
@@ -767,9 +888,8 @@ phases:
|
|
|
767
888
|
name=$(basename "$file")
|
|
768
889
|
cp -n "$file" "{workspace}/checklists/$name" 2>/dev/null || echo "SKIP: $name exists"
|
|
769
890
|
done
|
|
770
|
-
|
|
771
891
|
- id: collect_workflows
|
|
772
|
-
action:
|
|
892
|
+
action: Copiar workflows
|
|
773
893
|
executor: Worker
|
|
774
894
|
command: |
|
|
775
895
|
for squad in {source_squads}:
|
|
@@ -777,19 +897,17 @@ phases:
|
|
|
777
897
|
name=$(basename "$file")
|
|
778
898
|
cp -n "$file" "{workspace}/workflows/$name" 2>/dev/null || echo "SKIP: $name exists"
|
|
779
899
|
done
|
|
780
|
-
|
|
781
900
|
- id: handle_conflicts
|
|
782
|
-
action:
|
|
901
|
+
action: Listar conflitos para resolução
|
|
783
902
|
executor: Hybrid
|
|
784
903
|
rationale: |
|
|
785
904
|
- Listar: Worker (ls)
|
|
786
905
|
- Resolver: Agent decide ou Human aprova
|
|
787
906
|
command: |
|
|
788
907
|
ls {workspace}/_conflicts/ 2>/dev/null | wc -l
|
|
789
|
-
if_conflicts:
|
|
790
|
-
|
|
908
|
+
if_conflicts: Apresentar ao humano para resolução
|
|
791
909
|
- id: verify_collection
|
|
792
|
-
action:
|
|
910
|
+
action: Verificar contagens pós-coleta
|
|
793
911
|
executor: Worker
|
|
794
912
|
command: |
|
|
795
913
|
echo "=== WORKSPACE CONTENTS ===" && \
|
|
@@ -801,7 +919,6 @@ phases:
|
|
|
801
919
|
echo "Checklists: $(find {workspace}/checklists -name '*.md' | wc -l)" && \
|
|
802
920
|
echo "Workflows: $(find {workspace}/workflows -name '*.yaml' -o -name '*.md' | wc -l)" && \
|
|
803
921
|
echo "Conflicts: $(find {workspace}/_conflicts -name '*.md' | wc -l)"
|
|
804
|
-
|
|
805
922
|
- id: reconciliation
|
|
806
923
|
action: "Reconciliação: comparar esperado vs coletado"
|
|
807
924
|
executor: Worker
|
|
@@ -811,68 +928,59 @@ phases:
|
|
|
811
928
|
collected_agents = count({workspace}/agents/*.md)
|
|
812
929
|
if expected_agents != collected_agents:
|
|
813
930
|
ALERT("Discrepância: esperado {expected}, coletado {collected}")
|
|
814
|
-
|
|
815
931
|
- id: log_collection
|
|
816
|
-
action:
|
|
932
|
+
action: Registrar no audit log
|
|
817
933
|
executor: Worker
|
|
818
934
|
audit_event:
|
|
819
|
-
type:
|
|
820
|
-
collected:
|
|
821
|
-
conflicts:
|
|
935
|
+
type: collection_complete
|
|
936
|
+
collected: workspace_contents
|
|
937
|
+
conflicts: conflict_count
|
|
822
938
|
timestamp: "{now}"
|
|
823
|
-
|
|
824
939
|
quality_gate:
|
|
825
|
-
name:
|
|
940
|
+
name: Collection Gate
|
|
826
941
|
checks:
|
|
827
|
-
-
|
|
828
|
-
-
|
|
829
|
-
-
|
|
830
|
-
veto_on:
|
|
831
|
-
|
|
942
|
+
- Contagem coletada = contagem esperada (ou diferença explicada)
|
|
943
|
+
- Zero conflitos não-resolvidos
|
|
944
|
+
- Todos arquivos copiados são válidos (não vazios)
|
|
945
|
+
veto_on: Discrepância não explicada OU conflito não resolvido
|
|
832
946
|
output:
|
|
833
947
|
workspace_contents:
|
|
834
|
-
agents:
|
|
835
|
-
tasks:
|
|
836
|
-
skills:
|
|
837
|
-
data:
|
|
838
|
-
templates:
|
|
839
|
-
checklists:
|
|
840
|
-
workflows:
|
|
841
|
-
conflicts_resolved:
|
|
842
|
-
provenance_map:
|
|
843
|
-
|
|
844
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
845
|
-
# PHASE 5: VALIDATION (Quality Gates)
|
|
846
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
948
|
+
agents: number
|
|
949
|
+
tasks: number
|
|
950
|
+
skills: number
|
|
951
|
+
data: number
|
|
952
|
+
templates: number
|
|
953
|
+
checklists: number
|
|
954
|
+
workflows: number
|
|
955
|
+
conflicts_resolved: number
|
|
956
|
+
provenance_map: map[component -> source_squad]
|
|
847
957
|
- id: phase_5_validation
|
|
848
|
-
name:
|
|
849
|
-
description:
|
|
850
|
-
pattern:
|
|
851
|
-
rollback:
|
|
852
|
-
|
|
958
|
+
name: Validation (Quality Gates)
|
|
959
|
+
description: Validar integridade antes de criar estrutura final
|
|
960
|
+
pattern: ETL Quality Gates + Data Validation
|
|
961
|
+
rollback: Voltar para Phase 4 e corrigir
|
|
853
962
|
steps:
|
|
854
963
|
- id: structural_validation
|
|
855
|
-
action:
|
|
964
|
+
action: Validar estrutura de cada componente
|
|
856
965
|
executor: Worker
|
|
857
966
|
checks:
|
|
858
967
|
agents:
|
|
859
|
-
-
|
|
860
|
-
-
|
|
861
|
-
-
|
|
968
|
+
- Arquivo não vazio
|
|
969
|
+
- YAML frontmatter válido (se presente)
|
|
970
|
+
- Seções obrigatórias presentes
|
|
862
971
|
tasks:
|
|
863
|
-
-
|
|
864
|
-
-
|
|
972
|
+
- Arquivo não vazio
|
|
973
|
+
- Estrutura de task válida
|
|
865
974
|
skills:
|
|
866
|
-
-
|
|
867
|
-
|
|
975
|
+
- SKILL.md existe em cada pasta de skill
|
|
868
976
|
- id: reference_validation
|
|
869
|
-
action:
|
|
977
|
+
action: Validar todas as referências
|
|
870
978
|
executor: Worker
|
|
871
979
|
rationale: "Pattern: Foreign Key Validation"
|
|
872
980
|
checks:
|
|
873
|
-
-
|
|
874
|
-
-
|
|
875
|
-
-
|
|
981
|
+
- handoff_to referencia agents existentes
|
|
982
|
+
- depends_on referencia tasks existentes
|
|
983
|
+
- uses referencia data existente
|
|
876
984
|
command: |
|
|
877
985
|
# Extrair todas referências
|
|
878
986
|
grep -rh "handoff_to\|depends_on\|uses" {workspace} --include="*.md" | \
|
|
@@ -883,13 +991,12 @@ phases:
|
|
|
883
991
|
echo "BROKEN REF: $ref"
|
|
884
992
|
fi
|
|
885
993
|
done
|
|
886
|
-
|
|
887
994
|
- id: quality_validation
|
|
888
|
-
action:
|
|
995
|
+
action: Validar qualidade mínima
|
|
889
996
|
executor: Worker
|
|
890
997
|
checks:
|
|
891
|
-
- name:
|
|
892
|
-
rule:
|
|
998
|
+
- name: Agent Lines
|
|
999
|
+
rule: Agents >= 300 linhas (exceto orchestrators)
|
|
893
1000
|
command: |
|
|
894
1001
|
for agent in {workspace}/agents/*.md; do
|
|
895
1002
|
lines=$(wc -l < "$agent")
|
|
@@ -897,12 +1004,10 @@ phases:
|
|
|
897
1004
|
echo "WARN: $(basename $agent) tem apenas $lines linhas"
|
|
898
1005
|
fi
|
|
899
1006
|
done
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
- name: "Required Sections"
|
|
905
|
-
rule: "Agents têm voice_dna, output_examples, anti_patterns"
|
|
1007
|
+
- name: Task Lines
|
|
1008
|
+
rule: Tasks >= 100 linhas
|
|
1009
|
+
- name: Required Sections
|
|
1010
|
+
rule: Agents têm voice_dna, output_examples, anti_patterns
|
|
906
1011
|
command: |
|
|
907
1012
|
for agent in {workspace}/agents/*.md; do
|
|
908
1013
|
if ! grep -q "voice_dna" "$agent"; then
|
|
@@ -912,9 +1017,8 @@ phases:
|
|
|
912
1017
|
echo "MISSING output_examples: $(basename $agent)"
|
|
913
1018
|
fi
|
|
914
1019
|
done
|
|
915
|
-
|
|
916
1020
|
- id: build_validation_report
|
|
917
|
-
action:
|
|
1021
|
+
action: Construir relatório de validação
|
|
918
1022
|
executor: Worker
|
|
919
1023
|
template: |
|
|
920
1024
|
## ✅ VALIDATION REPORT
|
|
@@ -947,19 +1051,17 @@ phases:
|
|
|
947
1051
|
{{else}}
|
|
948
1052
|
⚠️ **WARN** - {{warn_count}} avisos, {{fail_count}} falhas
|
|
949
1053
|
{{/if}}
|
|
950
|
-
|
|
951
1054
|
- id: log_validation
|
|
952
|
-
action:
|
|
1055
|
+
action: Registrar no audit log
|
|
953
1056
|
executor: Worker
|
|
954
1057
|
audit_event:
|
|
955
|
-
type:
|
|
956
|
-
status:
|
|
957
|
-
details:
|
|
1058
|
+
type: validation_complete
|
|
1059
|
+
status: pass|warn|fail
|
|
1060
|
+
details: validation_report
|
|
958
1061
|
timestamp: "{now}"
|
|
959
|
-
|
|
960
1062
|
checkpoint:
|
|
961
|
-
type:
|
|
962
|
-
condition:
|
|
1063
|
+
type: human_review
|
|
1064
|
+
condition: mode == 'quality' OR validation_status != 'pass'
|
|
963
1065
|
prompt: |
|
|
964
1066
|
## Validation Results
|
|
965
1067
|
|
|
@@ -975,32 +1077,25 @@ phases:
|
|
|
975
1077
|
{{else}}
|
|
976
1078
|
Aprovar e continuar para criação da estrutura final?
|
|
977
1079
|
{{/if}}
|
|
978
|
-
|
|
979
1080
|
quality_gate:
|
|
980
|
-
name:
|
|
1081
|
+
name: Validation Gate
|
|
981
1082
|
checks:
|
|
982
|
-
-
|
|
983
|
-
-
|
|
984
|
-
-
|
|
985
|
-
veto_on:
|
|
986
|
-
|
|
1083
|
+
- Zero referências quebradas (HARD FAIL)
|
|
1084
|
+
- Zero arquivos vazios (HARD FAIL)
|
|
1085
|
+
- 90% agents com >= 300 linhas (SOFT FAIL)
|
|
1086
|
+
veto_on: Qualquer HARD FAIL
|
|
987
1087
|
output:
|
|
988
|
-
validation_status:
|
|
989
|
-
validation_report:
|
|
990
|
-
issues_to_fix:
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
name: "Structure Creation (ETL Load)"
|
|
997
|
-
description: "Criar estrutura final do squad fusionado"
|
|
998
|
-
pattern: "ETL Load + Expand-Contract"
|
|
999
|
-
rollback: "Deletar squads/{target_name} e workspace permanece intacto"
|
|
1000
|
-
|
|
1088
|
+
validation_status: pass|warn|fail
|
|
1089
|
+
validation_report: markdown
|
|
1090
|
+
issues_to_fix: list[Issue]
|
|
1091
|
+
- id: phase_6_structure_legacy
|
|
1092
|
+
name: Structure Creation Detail (merged into phase_4_structure)
|
|
1093
|
+
description: Detalhes da criacao de estrutura final -- agora parte de phase_4_structure
|
|
1094
|
+
pattern: ETL Load + Expand-Contract
|
|
1095
|
+
rollback: Deletar squads/{target_name} e workspace permanece intacto
|
|
1001
1096
|
steps:
|
|
1002
1097
|
- id: create_target_directory
|
|
1003
|
-
action:
|
|
1098
|
+
action: Criar estrutura de diretórios
|
|
1004
1099
|
executor: Worker
|
|
1005
1100
|
command: |
|
|
1006
1101
|
mkdir -p squads/{target_name}/agents
|
|
@@ -1010,11 +1105,10 @@ phases:
|
|
|
1010
1105
|
mkdir -p squads/{target_name}/templates
|
|
1011
1106
|
mkdir -p squads/{target_name}/checklists
|
|
1012
1107
|
mkdir -p squads/{target_name}/workflows
|
|
1013
|
-
|
|
1014
1108
|
- id: move_components
|
|
1015
|
-
action:
|
|
1109
|
+
action: Mover componentes do workspace para destino
|
|
1016
1110
|
executor: Worker
|
|
1017
|
-
rationale:
|
|
1111
|
+
rationale: Move (não copy) para garantir exactly-once
|
|
1018
1112
|
command: |
|
|
1019
1113
|
mv {workspace}/agents/* squads/{target_name}/agents/ 2>/dev/null || true
|
|
1020
1114
|
mv {workspace}/tasks/* squads/{target_name}/tasks/ 2>/dev/null || true
|
|
@@ -1023,12 +1117,8 @@ phases:
|
|
|
1023
1117
|
mv {workspace}/templates/* squads/{target_name}/templates/ 2>/dev/null || true
|
|
1024
1118
|
mv {workspace}/checklists/* squads/{target_name}/checklists/ 2>/dev/null || true
|
|
1025
1119
|
mv {workspace}/workflows/* squads/{target_name}/workflows/ 2>/dev/null || true
|
|
1026
|
-
|
|
1027
|
-
# ─────────────────────────────────────────────────────────────────────────
|
|
1028
|
-
# STEPS CRÍTICOS: Definir estrutura semântica (requer LLM)
|
|
1029
|
-
# ─────────────────────────────────────────────────────────────────────────
|
|
1030
1120
|
- id: define_tiers
|
|
1031
|
-
action:
|
|
1121
|
+
action: Organizar agents em tiers baseado em função
|
|
1032
1122
|
executor: Agent
|
|
1033
1123
|
rationale: |
|
|
1034
1124
|
Precisa entender o PROPÓSITO de cada agent para classificar:
|
|
@@ -1059,10 +1149,9 @@ phases:
|
|
|
1059
1149
|
agents: [agent5, agent6]
|
|
1060
1150
|
when_to_use: "Quando precisa de execução operacional"
|
|
1061
1151
|
```
|
|
1062
|
-
store_as:
|
|
1063
|
-
|
|
1152
|
+
store_as: tiers
|
|
1064
1153
|
- id: define_routing_rules
|
|
1065
|
-
action:
|
|
1154
|
+
action: Criar regras de routing por especialidade
|
|
1066
1155
|
executor: Agent
|
|
1067
1156
|
rationale: |
|
|
1068
1157
|
Precisa mapear especialidades de cada agent para criar routing:
|
|
@@ -1087,12 +1176,13 @@ phases:
|
|
|
1087
1176
|
analytics: [agent-analytics]
|
|
1088
1177
|
compliance: [agent-compliance]
|
|
1089
1178
|
```
|
|
1090
|
-
store_as:
|
|
1091
|
-
|
|
1179
|
+
store_as: routing_rules
|
|
1092
1180
|
- id: generate_config
|
|
1093
|
-
action:
|
|
1181
|
+
action: Gerar config.yaml
|
|
1094
1182
|
executor: Worker
|
|
1095
|
-
depends_on:
|
|
1183
|
+
depends_on:
|
|
1184
|
+
- define_tiers
|
|
1185
|
+
- define_routing_rules
|
|
1096
1186
|
template: |
|
|
1097
1187
|
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1098
1188
|
# {target_name} - Squad Fusion Result
|
|
@@ -1101,11 +1191,11 @@ phases:
|
|
|
1101
1191
|
# Data: {timestamp}
|
|
1102
1192
|
# Modo: {mode}
|
|
1103
1193
|
|
|
1104
|
-
|
|
1194
|
+
squad:
|
|
1105
1195
|
name: "{target_name}"
|
|
1106
1196
|
title: "{target_title}"
|
|
1107
1197
|
version: "1.0.0"
|
|
1108
|
-
|
|
1198
|
+
|
|
1109
1199
|
description: |
|
|
1110
1200
|
Fusão de {source_count} squads: {source_list}
|
|
1111
1201
|
Domínio: {target_domain}
|
|
@@ -1172,9 +1262,8 @@ phases:
|
|
|
1172
1262
|
{{#each routing_rules}}
|
|
1173
1263
|
{{key}}: {{agents}}
|
|
1174
1264
|
{{/each}}
|
|
1175
|
-
|
|
1176
1265
|
- id: generate_readme
|
|
1177
|
-
action:
|
|
1266
|
+
action: Gerar README.md
|
|
1178
1267
|
executor: Worker
|
|
1179
1268
|
template: |
|
|
1180
1269
|
# {target_name}
|
|
@@ -1229,9 +1318,8 @@ phases:
|
|
|
1229
1318
|
---
|
|
1230
1319
|
|
|
1231
1320
|
*Gerado por wf-squad-fusion v2.0 em {timestamp}*
|
|
1232
|
-
|
|
1233
1321
|
- id: create_orchestrator_if_needed
|
|
1234
|
-
action:
|
|
1322
|
+
action: Criar orchestrator se não existe
|
|
1235
1323
|
executor: Agent
|
|
1236
1324
|
condition: "!exists(squads/{target_name}/agents/{target_name}-chief.md)"
|
|
1237
1325
|
rationale: |
|
|
@@ -1255,20 +1343,18 @@ phases:
|
|
|
1255
1343
|
4. Ter comandos que façam sentido para o domínio
|
|
1256
1344
|
|
|
1257
1345
|
Use o template base de:
|
|
1258
|
-
squads/squad-creator
|
|
1346
|
+
squads/squad-creator/templates/orchestrator-tmpl.md
|
|
1259
1347
|
|
|
1260
1348
|
Output: Markdown completo do orchestrator
|
|
1261
|
-
output_path:
|
|
1262
|
-
|
|
1349
|
+
output_path: squads/{target_name}/agents/{target_name}-chief.md
|
|
1263
1350
|
- id: preserve_audit_log
|
|
1264
|
-
action:
|
|
1351
|
+
action: Mover audit log para destino
|
|
1265
1352
|
executor: Worker
|
|
1266
1353
|
command: |
|
|
1267
1354
|
mv {workspace}/fusion-audit.yaml squads/{target_name}/fusion-audit.yaml
|
|
1268
1355
|
mv {workspace}/_audit/* squads/{target_name}/_audit/ 2>/dev/null || true
|
|
1269
|
-
|
|
1270
1356
|
- id: final_count_verification
|
|
1271
|
-
action:
|
|
1357
|
+
action: Verificação final de contagem
|
|
1272
1358
|
executor: Worker
|
|
1273
1359
|
command: |
|
|
1274
1360
|
echo "=== FINAL SQUAD CONTENTS ===" && \
|
|
@@ -1276,63 +1362,52 @@ phases:
|
|
|
1276
1362
|
echo "Tasks: $(find squads/{target_name}/tasks -name '*.md' | wc -l)" && \
|
|
1277
1363
|
echo "Skills: $(find squads/{target_name}/skills -name 'SKILL.md' | wc -l)" && \
|
|
1278
1364
|
echo "Data: $(find squads/{target_name}/data -name '*.md' | wc -l)"
|
|
1279
|
-
|
|
1280
1365
|
- id: log_structure_creation
|
|
1281
|
-
action:
|
|
1366
|
+
action: Registrar no audit log
|
|
1282
1367
|
executor: Worker
|
|
1283
1368
|
audit_event:
|
|
1284
|
-
type:
|
|
1285
|
-
path:
|
|
1369
|
+
type: structure_created
|
|
1370
|
+
path: squads/{target_name}
|
|
1286
1371
|
timestamp: "{now}"
|
|
1287
|
-
|
|
1288
1372
|
quality_gate:
|
|
1289
|
-
name:
|
|
1373
|
+
name: Structure Gate
|
|
1290
1374
|
checks:
|
|
1291
|
-
-
|
|
1292
|
-
-
|
|
1293
|
-
-
|
|
1294
|
-
-
|
|
1295
|
-
-
|
|
1296
|
-
veto_on:
|
|
1297
|
-
|
|
1375
|
+
- config.yaml existe e é válido
|
|
1376
|
+
- README.md existe
|
|
1377
|
+
- Pelo menos 1 agent existe
|
|
1378
|
+
- Orchestrator existe
|
|
1379
|
+
- Contagem final = contagem esperada
|
|
1380
|
+
veto_on: Qualquer check falhar
|
|
1298
1381
|
output:
|
|
1299
|
-
squad_path:
|
|
1300
|
-
config_valid:
|
|
1301
|
-
final_counts:
|
|
1302
|
-
|
|
1303
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1304
|
-
# PHASE 7: INTEGRATION TEST (Strangler Fig Pattern)
|
|
1305
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1382
|
+
squad_path: string
|
|
1383
|
+
config_valid: boolean
|
|
1384
|
+
final_counts: AssetCounts
|
|
1306
1385
|
- id: phase_7_integration
|
|
1307
|
-
name:
|
|
1308
|
-
description:
|
|
1309
|
-
pattern:
|
|
1310
|
-
rollback:
|
|
1311
|
-
|
|
1386
|
+
name: Integration Test
|
|
1387
|
+
description: Testar squad fusionado antes de cleanup
|
|
1388
|
+
pattern: Strangler Fig - Parallel Run
|
|
1389
|
+
rollback: Squad fonte ainda existe, pode reverter
|
|
1312
1390
|
steps:
|
|
1313
1391
|
- id: smoke_test_activation
|
|
1314
|
-
action:
|
|
1392
|
+
action: Testar ativação do orchestrator
|
|
1315
1393
|
executor: Hybrid
|
|
1316
|
-
rationale:
|
|
1394
|
+
rationale: Verificar estrutura=Worker, testar comportamento=Agent
|
|
1317
1395
|
test: |
|
|
1318
1396
|
# Simular: @{target_name}
|
|
1319
1397
|
# Verificar que orchestrator responde
|
|
1320
|
-
|
|
1321
1398
|
- id: smoke_test_routing
|
|
1322
|
-
action:
|
|
1399
|
+
action: Testar routing entre agents
|
|
1323
1400
|
executor: Hybrid
|
|
1324
|
-
rationale:
|
|
1401
|
+
rationale: Verificar existência=Worker, testar funcionamento=Agent
|
|
1325
1402
|
test: |
|
|
1326
1403
|
# Para cada tier, verificar que agents são alcançáveis
|
|
1327
|
-
|
|
1328
1404
|
- id: smoke_test_tasks
|
|
1329
|
-
action:
|
|
1405
|
+
action: Testar que tasks são executáveis
|
|
1330
1406
|
executor: Worker
|
|
1331
1407
|
test: |
|
|
1332
1408
|
# Para cada task, verificar sintaxe e dependências
|
|
1333
|
-
|
|
1334
1409
|
- id: generate_test_report
|
|
1335
|
-
action:
|
|
1410
|
+
action: Gerar relatório de testes
|
|
1336
1411
|
executor: Worker
|
|
1337
1412
|
template: |
|
|
1338
1413
|
## 🧪 INTEGRATION TEST REPORT
|
|
@@ -1352,18 +1427,16 @@ phases:
|
|
|
1352
1427
|
{{/each}}
|
|
1353
1428
|
|
|
1354
1429
|
### Overall: {{overall_status}}
|
|
1355
|
-
|
|
1356
1430
|
- id: log_integration
|
|
1357
|
-
action:
|
|
1431
|
+
action: Registrar no audit log
|
|
1358
1432
|
executor: Worker
|
|
1359
1433
|
audit_event:
|
|
1360
|
-
type:
|
|
1361
|
-
status:
|
|
1434
|
+
type: integration_test_complete
|
|
1435
|
+
status: pass|fail
|
|
1362
1436
|
timestamp: "{now}"
|
|
1363
|
-
|
|
1364
1437
|
checkpoint:
|
|
1365
|
-
type:
|
|
1366
|
-
condition:
|
|
1438
|
+
type: human_review
|
|
1439
|
+
condition: mode == 'quality'
|
|
1367
1440
|
prompt: |
|
|
1368
1441
|
## Integration Test Results
|
|
1369
1442
|
|
|
@@ -1371,28 +1444,21 @@ phases:
|
|
|
1371
1444
|
|
|
1372
1445
|
Squad fusionado está funcional?
|
|
1373
1446
|
Aprovar para finalizar (opcional: cleanup de fontes)?
|
|
1374
|
-
|
|
1375
1447
|
quality_gate:
|
|
1376
|
-
name:
|
|
1448
|
+
name: Integration Gate
|
|
1377
1449
|
checks:
|
|
1378
|
-
-
|
|
1379
|
-
-
|
|
1380
|
-
-
|
|
1381
|
-
veto_on:
|
|
1382
|
-
|
|
1450
|
+
- Orchestrator ativa sem erro
|
|
1451
|
+
- Pelo menos 80% dos routing tests passam
|
|
1452
|
+
- Pelo menos 90% das tasks são válidas
|
|
1453
|
+
veto_on: Orchestrator não ativa
|
|
1383
1454
|
output:
|
|
1384
|
-
test_status:
|
|
1385
|
-
test_report:
|
|
1386
|
-
|
|
1387
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1388
|
-
# PHASE 7.5: COMMAND SYNC (IDE Integration)
|
|
1389
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1455
|
+
test_status: pass|warn|fail
|
|
1456
|
+
test_report: markdown
|
|
1390
1457
|
- id: phase_7_5_command_sync
|
|
1391
|
-
name:
|
|
1392
|
-
description:
|
|
1393
|
-
pattern:
|
|
1394
|
-
rollback:
|
|
1395
|
-
|
|
1458
|
+
name: Command Sync (IDE Integration)
|
|
1459
|
+
description: Sincronizar commands para .claude/agents/ e remover commands antigos
|
|
1460
|
+
pattern: Deploy + Cleanup
|
|
1461
|
+
rollback: Re-sync from squads/
|
|
1396
1462
|
critical_rule: |
|
|
1397
1463
|
🚨 OBRIGATÓRIO: Sempre executar após criar squad fusionado
|
|
1398
1464
|
|
|
@@ -1400,53 +1466,47 @@ phases:
|
|
|
1400
1466
|
1. Novos commands do target squad estão disponíveis
|
|
1401
1467
|
2. Commands dos squads fonte removidos são limpos
|
|
1402
1468
|
3. IDE reconhece o novo squad imediatamente
|
|
1403
|
-
|
|
1404
1469
|
steps:
|
|
1405
1470
|
- id: remove_old_commands
|
|
1406
|
-
action:
|
|
1471
|
+
action: Remover commands dos squads fonte
|
|
1407
1472
|
executor: Worker
|
|
1408
1473
|
command: |
|
|
1409
1474
|
for squad in {source_squads}:
|
|
1410
|
-
if [ -d ".claude/
|
|
1411
|
-
rm -rf ".claude/
|
|
1412
|
-
echo "✅ Removed: .claude/
|
|
1475
|
+
if [ -d ".claude/agents/{squad}" ]; then
|
|
1476
|
+
rm -rf ".claude/agents/{squad}"
|
|
1477
|
+
echo "✅ Removed: .claude/agents/{squad}"
|
|
1413
1478
|
fi
|
|
1414
|
-
if [ -f ".claude/
|
|
1415
|
-
rm -f ".claude/
|
|
1416
|
-
echo "✅ Removed: .claude/
|
|
1479
|
+
if [ -f ".claude/agents/{squad}.md" ]; then
|
|
1480
|
+
rm -f ".claude/agents/{squad}.md"
|
|
1481
|
+
echo "✅ Removed: .claude/agents/{squad}.md"
|
|
1417
1482
|
fi
|
|
1418
|
-
|
|
1419
1483
|
- id: create_command_structure
|
|
1420
|
-
action:
|
|
1484
|
+
action: Criar estrutura de commands do target
|
|
1421
1485
|
executor: Worker
|
|
1422
1486
|
command: |
|
|
1423
|
-
mkdir -p .claude/
|
|
1424
|
-
mkdir -p .claude/
|
|
1425
|
-
mkdir -p .claude/
|
|
1426
|
-
|
|
1487
|
+
mkdir -p .claude/agents/{target_name}/agents
|
|
1488
|
+
mkdir -p .claude/agents/{target_name}/tasks
|
|
1489
|
+
mkdir -p .claude/agents/{target_name}/skills
|
|
1427
1490
|
- id: copy_agents_to_commands
|
|
1428
|
-
action:
|
|
1491
|
+
action: Copiar agents para .claude/agents/
|
|
1429
1492
|
executor: Worker
|
|
1430
1493
|
command: |
|
|
1431
|
-
cp squads/{target_name}/agents/*.md .claude/
|
|
1432
|
-
echo "✅ Copied $(ls -1 .claude/
|
|
1433
|
-
|
|
1494
|
+
cp squads/{target_name}/agents/*.md .claude/agents/{target_name}/agents/
|
|
1495
|
+
echo "✅ Copied $(ls -1 .claude/agents/{target_name}/agents/*.md | wc -l) agents"
|
|
1434
1496
|
- id: copy_tasks_to_commands
|
|
1435
|
-
action:
|
|
1497
|
+
action: Copiar tasks para .claude/agents/
|
|
1436
1498
|
executor: Worker
|
|
1437
1499
|
command: |
|
|
1438
|
-
cp squads/{target_name}/tasks/*.md .claude/
|
|
1439
|
-
echo "✅ Copied $(ls -1 .claude/
|
|
1440
|
-
|
|
1500
|
+
cp squads/{target_name}/tasks/*.md .claude/agents/{target_name}/tasks/
|
|
1501
|
+
echo "✅ Copied $(ls -1 .claude/agents/{target_name}/tasks/*.md | wc -l) tasks"
|
|
1441
1502
|
- id: copy_skills_to_commands
|
|
1442
|
-
action:
|
|
1503
|
+
action: Copiar skills para .claude/agents/
|
|
1443
1504
|
executor: Worker
|
|
1444
1505
|
command: |
|
|
1445
|
-
find squads/{target_name}/skills -name 'SKILL.md' -exec cp {} .claude/
|
|
1506
|
+
find squads/{target_name}/skills -name 'SKILL.md' -exec cp {} .claude/agents/{target_name}/skills/ \; 2>/dev/null
|
|
1446
1507
|
echo "✅ Copied skills"
|
|
1447
|
-
|
|
1448
1508
|
- id: create_main_command
|
|
1449
|
-
action:
|
|
1509
|
+
action: Criar arquivo de comando principal
|
|
1450
1510
|
executor: Worker
|
|
1451
1511
|
template: |
|
|
1452
1512
|
# /{target_name} - {target_title}
|
|
@@ -1459,57 +1519,47 @@ phases:
|
|
|
1459
1519
|
|
|
1460
1520
|
Do NOT search for files. Do NOT load additional files on activation.
|
|
1461
1521
|
Only read the agent file above and execute its greeting script.
|
|
1462
|
-
output_path:
|
|
1463
|
-
|
|
1522
|
+
output_path: .claude/agents/{target_name}.md
|
|
1464
1523
|
- id: verify_command_sync
|
|
1465
|
-
action:
|
|
1524
|
+
action: Verificar sincronização
|
|
1466
1525
|
executor: Worker
|
|
1467
1526
|
command: |
|
|
1468
1527
|
echo "=== COMMAND SYNC VERIFICATION ==="
|
|
1469
|
-
echo "Main command: $(test -f .claude/
|
|
1470
|
-
echo "Agents dir: $(test -d .claude/
|
|
1471
|
-
echo "Tasks dir: $(test -d .claude/
|
|
1472
|
-
echo "Agent count: $(ls -1 .claude/
|
|
1473
|
-
echo "Task count: $(ls -1 .claude/
|
|
1474
|
-
|
|
1528
|
+
echo "Main command: $(test -f .claude/agents/{target_name}.md && echo '✅' || echo '❌')"
|
|
1529
|
+
echo "Agents dir: $(test -d .claude/agents/{target_name}/agents && echo '✅' || echo '❌')"
|
|
1530
|
+
echo "Tasks dir: $(test -d .claude/agents/{target_name}/tasks && echo '✅' || echo '❌')"
|
|
1531
|
+
echo "Agent count: $(ls -1 .claude/agents/{target_name}/agents/*.md 2>/dev/null | wc -l)"
|
|
1532
|
+
echo "Task count: $(ls -1 .claude/agents/{target_name}/tasks/*.md 2>/dev/null | wc -l)"
|
|
1475
1533
|
- id: log_command_sync
|
|
1476
|
-
action:
|
|
1534
|
+
action: Registrar no audit log
|
|
1477
1535
|
executor: Worker
|
|
1478
1536
|
audit_event:
|
|
1479
|
-
type:
|
|
1480
|
-
target:
|
|
1537
|
+
type: command_sync_complete
|
|
1538
|
+
target: .claude/agents/{target_name}
|
|
1481
1539
|
sources_removed: "{source_squads}"
|
|
1482
1540
|
timestamp: "{now}"
|
|
1483
|
-
|
|
1484
1541
|
quality_gate:
|
|
1485
|
-
name:
|
|
1542
|
+
name: Command Sync Gate
|
|
1486
1543
|
checks:
|
|
1487
|
-
-
|
|
1488
|
-
-
|
|
1489
|
-
-
|
|
1490
|
-
-
|
|
1491
|
-
veto_on:
|
|
1492
|
-
|
|
1544
|
+
- .claude/agents/{target_name}.md existe
|
|
1545
|
+
- .claude/agents/{target_name}/agents/ tem agents
|
|
1546
|
+
- .claude/agents/{target_name}/tasks/ tem tasks
|
|
1547
|
+
- Commands dos squads fonte foram removidos
|
|
1548
|
+
veto_on: Main command não existe
|
|
1493
1549
|
output:
|
|
1494
|
-
commands_synced:
|
|
1495
|
-
old_commands_removed:
|
|
1496
|
-
|
|
1497
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1498
|
-
# PHASE 8: CLEANUP (Optional)
|
|
1499
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1550
|
+
commands_synced: boolean
|
|
1551
|
+
old_commands_removed: list[string]
|
|
1500
1552
|
- id: phase_8_cleanup
|
|
1501
|
-
name:
|
|
1502
|
-
description:
|
|
1503
|
-
pattern:
|
|
1504
|
-
rollback:
|
|
1505
|
-
|
|
1506
|
-
prerequisite: "Phase 7 status == pass"
|
|
1507
|
-
|
|
1553
|
+
name: Cleanup (Optional)
|
|
1554
|
+
description: Remover squads fonte após fusão bem-sucedida
|
|
1555
|
+
pattern: Expand-Contract - Contract Phase
|
|
1556
|
+
rollback: Restaurar do backup
|
|
1557
|
+
prerequisite: Phase 7 status == pass
|
|
1508
1558
|
steps:
|
|
1509
1559
|
- id: confirm_cleanup
|
|
1510
|
-
action:
|
|
1560
|
+
action: Confirmar com usuário antes de deletar
|
|
1511
1561
|
executor: Human
|
|
1512
|
-
rationale:
|
|
1562
|
+
rationale: Decisão irreversível requer aprovação humana
|
|
1513
1563
|
prompt: |
|
|
1514
1564
|
## ⚠️ CLEANUP CONFIRMATION
|
|
1515
1565
|
|
|
@@ -1526,97 +1576,86 @@ phases:
|
|
|
1526
1576
|
|
|
1527
1577
|
Confirmar remoção?
|
|
1528
1578
|
options:
|
|
1529
|
-
-
|
|
1530
|
-
-
|
|
1531
|
-
-
|
|
1532
|
-
|
|
1579
|
+
- Sim, remover fontes
|
|
1580
|
+
- Não, manter fontes (recomendado para teste)
|
|
1581
|
+
- Remover apenas depois de X dias
|
|
1533
1582
|
- id: remove_sources
|
|
1534
|
-
action:
|
|
1583
|
+
action: Remover squads fonte
|
|
1535
1584
|
executor: Worker
|
|
1536
|
-
condition:
|
|
1585
|
+
condition: user_confirmed_cleanup == true
|
|
1537
1586
|
command: |
|
|
1538
1587
|
for squad in {source_squads}:
|
|
1539
1588
|
rm -rf squads/{squad}
|
|
1540
1589
|
echo "REMOVED: squads/{squad}"
|
|
1541
|
-
|
|
1542
1590
|
- id: update_registry
|
|
1543
|
-
action:
|
|
1591
|
+
action: Atualizar ecosystem-registry.yaml
|
|
1544
1592
|
executor: Worker
|
|
1545
|
-
command:
|
|
1546
|
-
|
|
1593
|
+
command: Execute *refresh-registry
|
|
1547
1594
|
- id: cleanup_workspace
|
|
1548
|
-
action:
|
|
1595
|
+
action: Remover workspace temporário
|
|
1549
1596
|
executor: Worker
|
|
1550
|
-
command:
|
|
1551
|
-
|
|
1597
|
+
command: rm -rf {workspace}
|
|
1552
1598
|
- id: log_cleanup
|
|
1553
|
-
action:
|
|
1599
|
+
action: Registrar no audit log final
|
|
1554
1600
|
executor: Worker
|
|
1555
1601
|
audit_event:
|
|
1556
|
-
type:
|
|
1557
|
-
sources_removed:
|
|
1602
|
+
type: fusion_complete
|
|
1603
|
+
sources_removed: boolean
|
|
1558
1604
|
timestamp: "{now}"
|
|
1559
|
-
|
|
1560
1605
|
output:
|
|
1561
|
-
sources_removed:
|
|
1562
|
-
final_status:
|
|
1563
|
-
|
|
1564
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1565
|
-
# HEURISTICS (Decision Rules)
|
|
1566
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1606
|
+
sources_removed: boolean
|
|
1607
|
+
final_status: complete
|
|
1567
1608
|
heuristics:
|
|
1568
1609
|
- id: H_FUSION_001
|
|
1569
|
-
name:
|
|
1570
|
-
rule:
|
|
1571
|
-
rationale:
|
|
1572
|
-
applies_to:
|
|
1573
|
-
|
|
1610
|
+
name: Sempre Contar, Nunca Assumir
|
|
1611
|
+
rule: Executar comandos de contagem para CADA squad
|
|
1612
|
+
rationale: IAs erram ao extrapolar de um squad para outros
|
|
1613
|
+
applies_to:
|
|
1614
|
+
- phase_1
|
|
1574
1615
|
- id: H_FUSION_002
|
|
1575
|
-
name:
|
|
1576
|
-
rule:
|
|
1577
|
-
rationale:
|
|
1578
|
-
applies_to:
|
|
1579
|
-
|
|
1580
|
-
|
|
1616
|
+
name: Maior Ganha (Dedup)
|
|
1617
|
+
rule: Em duplicatas, agent com mais linhas vence
|
|
1618
|
+
rationale: Linhas = proxy para completude
|
|
1619
|
+
applies_to:
|
|
1620
|
+
- phase_2
|
|
1621
|
+
override: Humano pode escolher diferente em quality mode
|
|
1581
1622
|
- id: H_FUSION_003
|
|
1582
|
-
name:
|
|
1583
|
-
rule:
|
|
1584
|
-
rationale:
|
|
1585
|
-
applies_to:
|
|
1586
|
-
|
|
1623
|
+
name: Escopo Strict
|
|
1624
|
+
rule: Na dúvida, EXCLUIR do escopo
|
|
1625
|
+
rationale: Mais fácil adicionar depois do que remover
|
|
1626
|
+
applies_to:
|
|
1627
|
+
- phase_3
|
|
1587
1628
|
- id: H_FUSION_004
|
|
1588
|
-
name:
|
|
1589
|
-
rule:
|
|
1590
|
-
rationale:
|
|
1591
|
-
applies_to:
|
|
1592
|
-
|
|
1629
|
+
name: Idempotency Always
|
|
1630
|
+
rule: Operações devem ser seguras para re-executar
|
|
1631
|
+
rationale: Permite recovery de falhas parciais
|
|
1632
|
+
applies_to:
|
|
1633
|
+
- phase_4
|
|
1593
1634
|
- id: H_FUSION_005
|
|
1594
|
-
name:
|
|
1595
|
-
rule:
|
|
1596
|
-
rationale:
|
|
1597
|
-
applies_to:
|
|
1598
|
-
|
|
1635
|
+
name: Validate Before Load
|
|
1636
|
+
rule: Nunca criar estrutura final sem validação
|
|
1637
|
+
rationale: Erros são mais fáceis de corrigir no workspace
|
|
1638
|
+
applies_to:
|
|
1639
|
+
- phase_5
|
|
1599
1640
|
- id: H_FUSION_006
|
|
1600
|
-
name:
|
|
1601
|
-
rule:
|
|
1602
|
-
rationale:
|
|
1603
|
-
applies_to:
|
|
1604
|
-
|
|
1641
|
+
name: Parallel Run Before Cutover
|
|
1642
|
+
rule: Manter fontes até integration test passar
|
|
1643
|
+
rationale: Pattern Strangler Fig - rollback fácil
|
|
1644
|
+
applies_to:
|
|
1645
|
+
- phase_7
|
|
1646
|
+
- phase_8
|
|
1605
1647
|
- id: H_FUSION_007
|
|
1606
|
-
name:
|
|
1607
|
-
rule:
|
|
1608
|
-
rationale:
|
|
1609
|
-
applies_to:
|
|
1610
|
-
|
|
1648
|
+
name: Provenance Sempre
|
|
1649
|
+
rule: Todo componente deve ser rastreável à origem
|
|
1650
|
+
rationale: Debugging e auditoria futura
|
|
1651
|
+
applies_to:
|
|
1652
|
+
- all
|
|
1611
1653
|
- id: H_FUSION_008
|
|
1612
|
-
name:
|
|
1613
|
-
rule:
|
|
1614
|
-
rationale:
|
|
1615
|
-
applies_to:
|
|
1616
|
-
|
|
1617
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1618
|
-
# QUICK REFERENCE
|
|
1619
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1654
|
+
name: Log Tudo
|
|
1655
|
+
rule: Cada decisão registrada no audit log
|
|
1656
|
+
rationale: Reprodutibilidade e accountability
|
|
1657
|
+
applies_to:
|
|
1658
|
+
- all
|
|
1620
1659
|
quick_reference:
|
|
1621
1660
|
phases_summary:
|
|
1622
1661
|
- "Phase 0: Init - Setup workspace e backup"
|
|
@@ -1627,20 +1666,18 @@ quick_reference:
|
|
|
1627
1666
|
- "Phase 5: Validation - Quality gates"
|
|
1628
1667
|
- "Phase 6: Structure - Criar squad final"
|
|
1629
1668
|
- "Phase 7: Integration - Testar funcionamento"
|
|
1630
|
-
- "Phase 7.5: Command Sync - Sincronizar .claude/
|
|
1669
|
+
- "Phase 7.5: Command Sync - Sincronizar .claude/agents/"
|
|
1631
1670
|
- "Phase 8: Cleanup - Remover fontes (opcional)"
|
|
1632
|
-
|
|
1633
1671
|
checkpoints:
|
|
1634
|
-
yolo_mode:
|
|
1672
|
+
yolo_mode: Nenhum (decisões automáticas)
|
|
1635
1673
|
quality_mode:
|
|
1636
|
-
-
|
|
1637
|
-
-
|
|
1638
|
-
-
|
|
1639
|
-
-
|
|
1640
|
-
-
|
|
1641
|
-
-
|
|
1642
|
-
-
|
|
1643
|
-
|
|
1674
|
+
- After Phase 1 (inventário)
|
|
1675
|
+
- After Phase 2 (duplicatas)
|
|
1676
|
+
- After Phase 3 (escopo)
|
|
1677
|
+
- After Phase 5 (validação)
|
|
1678
|
+
- After Phase 7 (integração)
|
|
1679
|
+
- After Phase 7.5 (command sync)
|
|
1680
|
+
- Before Phase 8 (cleanup)
|
|
1644
1681
|
rollback_points:
|
|
1645
1682
|
- "Phase 0-3: Trivial (apenas análise)"
|
|
1646
1683
|
- "Phase 4: Delete workspace, retry"
|
|
@@ -1649,36 +1686,6 @@ quick_reference:
|
|
|
1649
1686
|
- "Phase 7: Keep sources, don't cleanup"
|
|
1650
1687
|
- "Phase 7.5: Re-sync commands from squads/"
|
|
1651
1688
|
- "Phase 8: Restore from backup"
|
|
1652
|
-
|
|
1653
1689
|
time_estimates:
|
|
1654
|
-
yolo_mode:
|
|
1655
|
-
quality_mode:
|
|
1656
|
-
|
|
1657
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1658
|
-
# CHANGELOG
|
|
1659
|
-
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1660
|
-
changelog:
|
|
1661
|
-
- version: "2.1.0"
|
|
1662
|
-
date: "2026-02-04"
|
|
1663
|
-
changes:
|
|
1664
|
-
- "Adicionado Phase 7.5: Command Sync (IDE Integration)"
|
|
1665
|
-
- "Sincronização automática de .claude/commands/"
|
|
1666
|
-
- "Remoção automática de commands dos squads fonte"
|
|
1667
|
-
- "Atualizado quick_reference com nova fase"
|
|
1668
|
-
|
|
1669
|
-
- version: "2.0.0"
|
|
1670
|
-
date: "2026-02-03"
|
|
1671
|
-
changes:
|
|
1672
|
-
- "Reescrita completa baseada em research de boas práticas"
|
|
1673
|
-
- "Adicionado patterns: Three-Way Merge, Expand-Contract, ETL, Strangler Fig, Entity Resolution"
|
|
1674
|
-
- "8 fases com checkpoints detalhados"
|
|
1675
|
-
- "Heuristics documentadas"
|
|
1676
|
-
- "Anti-patterns documentados"
|
|
1677
|
-
- "Audit log integrado"
|
|
1678
|
-
- "Provenance tracking"
|
|
1679
|
-
- "Idempotency garantida"
|
|
1680
|
-
|
|
1681
|
-
- version: "1.0.0"
|
|
1682
|
-
date: "2026-02-03"
|
|
1683
|
-
changes:
|
|
1684
|
-
- "Versão inicial"
|
|
1690
|
+
yolo_mode: 15-30 minutos
|
|
1691
|
+
quality_mode: 45-90 minutos
|