aiox-core 5.0.5 → 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/install-manifest.yaml +2 -2
- package/bin/utils/validate-publish.js +5 -4
- package/package.json +1 -1
- package/packages/installer/src/wizard/pro-setup.js +2 -1
- package/pro/README.md +66 -0
- package/pro/feature-registry.yaml +225 -0
- package/pro/license/degradation.js +220 -0
- package/pro/license/errors.js +450 -0
- package/pro/license/feature-gate.js +354 -0
- package/pro/license/index.js +181 -0
- package/pro/license/license-api.js +679 -0
- package/pro/license/license-cache.js +523 -0
- package/pro/license/license-crypto.js +303 -0
- package/pro/package.json +52 -0
- package/pro/pro-config.yaml +63 -0
- package/pro/squads/README.md +42 -0
- 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/docs/.gitkeep +0 -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/HEADLINE.md +3 -0
- package/pro/squads/design/README.md +109 -0
- package/pro/squads/design/agents/brad-frost.md +1097 -0
- package/pro/squads/design/agents/dan-mall.md +857 -0
- package/pro/squads/design/agents/dave-malouf.md +2272 -0
- package/pro/squads/design/agents/design-chief.md +114 -0
- package/pro/squads/design/agents/ds-foundations-lead.md +194 -0
- package/pro/squads/design/agents/ds-token-architect.md +361 -0
- package/pro/squads/design/agents/nano-banana-generator.md +162 -0
- package/pro/squads/design/agents/storybook-expert.md +809 -0
- package/pro/squads/design/checklists/atomic-refactor-checklist.md +299 -0
- package/pro/squads/design/checklists/component-adaptation-checklist.md +81 -0
- package/pro/squads/design/checklists/design-fidelity-checklist.md +283 -0
- package/pro/squads/design/checklists/design-handoff-checklist.md +55 -0
- package/pro/squads/design/checklists/design-team-health-checklist.md +454 -0
- package/pro/squads/design/checklists/designops-maturity-checklist.md +518 -0
- package/pro/squads/design/checklists/ds-a11y-release-gate-checklist.md +45 -0
- package/pro/squads/design/checklists/ds-accessibility-wcag-checklist.md +147 -0
- package/pro/squads/design/checklists/ds-component-quality-checklist.md +150 -0
- package/pro/squads/design/checklists/ds-critical-eye-review-checklist.md +147 -0
- package/pro/squads/design/checklists/ds-migration-readiness-checklist.md +99 -0
- package/pro/squads/design/checklists/ds-pattern-audit-checklist.md +164 -0
- package/pro/squads/design/checklists/reading-accessibility-checklist.md +275 -0
- package/pro/squads/design/checklists/token-mapping-checklist.md +107 -0
- package/pro/squads/design/config/coding-standards.md +286 -0
- package/pro/squads/design/config/source-tree.md +59 -0
- package/pro/squads/design/config/tech-stack.md +48 -0
- package/pro/squads/design/config.yaml +207 -0
- package/pro/squads/design/data/agentic-design-systems-guide.md +46 -0
- package/pro/squads/design/data/agentic-ds-principles.md +100 -0
- package/pro/squads/design/data/atomic-design-principles.md +108 -0
- package/pro/squads/design/data/atomic-refactor-rules.md +582 -0
- package/pro/squads/design/data/base-component-specs.md +972 -0
- package/pro/squads/design/data/brad-frost-analysis-extract-implicit.yaml +270 -0
- package/pro/squads/design/data/brad-frost-analysis-find-0.8.yaml +176 -0
- package/pro/squads/design/data/brad-frost-analysis-qa-report.yaml +168 -0
- package/pro/squads/design/data/brad-frost-dna.yaml +713 -0
- package/pro/squads/design/data/capability-tools.yaml +124 -0
- package/pro/squads/design/data/component-adaptation-changelog.md +318 -0
- package/pro/squads/design/data/consolidation-algorithms.md +168 -0
- package/pro/squads/design/data/critical-eye-scoring-rules.yaml +240 -0
- package/pro/squads/design/data/design-token-best-practices.md +107 -0
- package/pro/squads/design/data/design-tokens-spec.yaml +418 -0
- package/pro/squads/design/data/ds-reference-architectures.md +93 -0
- package/pro/squads/design/data/f2-qa-report.md +168 -0
- package/pro/squads/design/data/f3-derived-components-changelog.md +100 -0
- package/pro/squads/design/data/f3-qa-report.md +208 -0
- package/pro/squads/design/data/figma-base-components-raw.md +102 -0
- package/pro/squads/design/data/figma-tokens-raw.md +1549 -0
- package/pro/squads/design/data/fluent2-design-principles.md +114 -0
- package/pro/squads/design/data/high-retention-reading-guide.md +349 -0
- package/pro/squads/design/data/integration-patterns.md +207 -0
- package/pro/squads/design/data/internal-quality-chain.yaml +48 -0
- package/pro/squads/design/data/motion-tokens-guide.md +202 -0
- package/pro/squads/design/data/roi-calculation-guide.md +142 -0
- package/pro/squads/design/data/token-mapping-reference.md +213 -0
- package/pro/squads/design/data/w3c-dtcg-spec-reference.md +149 -0
- package/pro/squads/design/data/wcag-compliance-guide.md +267 -0
- package/pro/squads/design/docs/AUDIT_REPORT.md +97 -0
- package/pro/squads/design/docs/DS-CURATION-PIPELINE-PROPOSAL.md +577 -0
- package/pro/squads/design/docs/UPGRADE_PLAN.md +618 -0
- package/pro/squads/design/docs/brad-frost-research-validation.md +372 -0
- package/pro/squads/design/docs/dave-malouf-research-validation.md +391 -0
- package/pro/squads/design/docs/tool-discovery-report.md +87 -0
- package/pro/squads/design/docs/tool-integration-plan.md +44 -0
- package/pro/squads/design/protocols/ai-first-governance.md +56 -0
- package/pro/squads/design/protocols/governance-execution-boundary.md +59 -0
- package/pro/squads/design/protocols/handoff.md +60 -0
- package/pro/squads/design/rules/.claude-rules.md +88 -0
- package/pro/squads/design/scripts/design-system/curate_colors.cjs +447 -0
- package/pro/squads/design/scripts/design-system/curate_components.cjs +217 -0
- package/pro/squads/design/scripts/design-system/curate_radius.cjs +190 -0
- package/pro/squads/design/scripts/design-system/curate_shadows.cjs +208 -0
- package/pro/squads/design/scripts/design-system/curate_spacing.cjs +243 -0
- package/pro/squads/design/scripts/design-system/curate_typography.cjs +404 -0
- package/pro/squads/design/scripts/design-system/design-system-metadata.test.js +49 -0
- package/pro/squads/design/scripts/design-system/design_manifest_lib.cjs +142 -0
- package/pro/squads/design/scripts/design-system/fetch_page_images.cjs +195 -0
- package/pro/squads/design/scripts/design-system/generate_components_metadata.cjs +114 -0
- package/pro/squads/design/scripts/design-system/generate_curation_report.cjs +258 -0
- package/pro/squads/design/scripts/design-system/generate_tokens.cjs +342 -0
- package/pro/squads/design/scripts/design-system/sync_design_manifest.cjs +27 -0
- package/pro/squads/design/scripts/design-system/test_mcp_tools.cjs +232 -0
- package/pro/squads/design/scripts/design-system/validate_components_metadata.cjs +96 -0
- package/pro/squads/design/scripts/design-system/validate_curation.cjs +226 -0
- package/pro/squads/design/scripts/design-system/validate_design_manifest_drift.cjs +72 -0
- package/pro/squads/design/scripts/design-system/validate_mcp_skeleton.cjs +38 -0
- package/pro/squads/design/scripts/design-system/validate_registry.cjs +186 -0
- package/pro/squads/design/scripts/design-system/validate_task_checklist_bindings.cjs +78 -0
- package/pro/squads/design/scripts/dissect-artifact.cjs +806 -0
- package/pro/squads/design/scripts/validate-a11y-integration.cjs +40 -0
- package/pro/squads/design/scripts/validate-design-squad.py +411 -0
- package/pro/squads/design/squad.yaml +714 -0
- package/pro/squads/design/tasks/a11y-audit.md +340 -0
- package/pro/squads/design/tasks/aria-audit.md +525 -0
- package/pro/squads/design/tasks/atomic-refactor-execute.md +391 -0
- package/pro/squads/design/tasks/atomic-refactor-plan.md +262 -0
- package/pro/squads/design/tasks/audit-reading-experience.md +350 -0
- package/pro/squads/design/tasks/audit-tailwind-config.md +101 -0
- package/pro/squads/design/tasks/bootstrap-shadcn-library.md +96 -0
- package/pro/squads/design/tasks/bundle-audit.md +245 -0
- package/pro/squads/design/tasks/contrast-matrix.md +373 -0
- package/pro/squads/design/tasks/create-doc.md +135 -0
- package/pro/squads/design/tasks/dead-code-detection.md +329 -0
- package/pro/squads/design/tasks/design-compare.md +414 -0
- package/pro/squads/design/tasks/design-process-optimization.md +407 -0
- package/pro/squads/design/tasks/design-review-orchestration.md +99 -0
- package/pro/squads/design/tasks/design-team-scaling.md +407 -0
- package/pro/squads/design/tasks/design-tooling-audit.md +404 -0
- package/pro/squads/design/tasks/design-triage.md +89 -0
- package/pro/squads/design/tasks/designops-maturity-assessment.md +364 -0
- package/pro/squads/design/tasks/designops-metrics-setup.md +465 -0
- package/pro/squads/design/tasks/ds-agentic-audit.md +100 -0
- package/pro/squads/design/tasks/ds-agentic-setup.md +103 -0
- package/pro/squads/design/tasks/ds-audit-codebase.md +273 -0
- package/pro/squads/design/tasks/ds-build-component.md +349 -0
- package/pro/squads/design/tasks/ds-build-mcp-server.md +84 -0
- package/pro/squads/design/tasks/ds-calculate-roi.md +282 -0
- package/pro/squads/design/tasks/ds-compose-molecule.md +106 -0
- package/pro/squads/design/tasks/ds-consolidate-patterns.md +253 -0
- package/pro/squads/design/tasks/ds-context-contract.md +194 -0
- package/pro/squads/design/tasks/ds-critical-eye-compare.md +130 -0
- package/pro/squads/design/tasks/ds-critical-eye-decide.md +139 -0
- package/pro/squads/design/tasks/ds-critical-eye-inventory.md +111 -0
- package/pro/squads/design/tasks/ds-critical-eye-report.md +101 -0
- package/pro/squads/design/tasks/ds-critical-eye-score.md +109 -0
- package/pro/squads/design/tasks/ds-designops.md +99 -0
- package/pro/squads/design/tasks/ds-extend-pattern.md +91 -0
- package/pro/squads/design/tasks/ds-extract-tokens.md +312 -0
- package/pro/squads/design/tasks/ds-figma-pipeline.md +95 -0
- package/pro/squads/design/tasks/ds-fluent-audit.md +105 -0
- package/pro/squads/design/tasks/ds-fluent-build.md +110 -0
- package/pro/squads/design/tasks/ds-generate-ai-metadata.md +81 -0
- package/pro/squads/design/tasks/ds-generate-cursor-rules.md +74 -0
- package/pro/squads/design/tasks/ds-generate-documentation.md +101 -0
- package/pro/squads/design/tasks/ds-generate-migration-strategy.md +331 -0
- package/pro/squads/design/tasks/ds-generate-shock-report.md +323 -0
- package/pro/squads/design/tasks/ds-govern-a11y-compliance.md +93 -0
- package/pro/squads/design/tasks/ds-governance.md +187 -0
- package/pro/squads/design/tasks/ds-health-metrics.md +278 -0
- package/pro/squads/design/tasks/ds-integrate-squad.md +130 -0
- package/pro/squads/design/tasks/ds-integrate-workspace.md +100 -0
- package/pro/squads/design/tasks/ds-legacy-modernization.md +302 -0
- package/pro/squads/design/tasks/ds-mcp-status.md +65 -0
- package/pro/squads/design/tasks/ds-motion-audit.md +118 -0
- package/pro/squads/design/tasks/ds-multi-framework.md +96 -0
- package/pro/squads/design/tasks/ds-parallelization-gate.md +246 -0
- package/pro/squads/design/tasks/ds-query.md +90 -0
- package/pro/squads/design/tasks/ds-rebuild-artifact.md +369 -0
- package/pro/squads/design/tasks/ds-reverse-engineer.md +194 -0
- package/pro/squads/design/tasks/ds-scan-artifact.md +131 -0
- package/pro/squads/design/tasks/ds-setup-design-system.md +297 -0
- package/pro/squads/design/tasks/ds-sync-registry.md +287 -0
- package/pro/squads/design/tasks/ds-theme-multi-brand.md +90 -0
- package/pro/squads/design/tasks/ds-token-modes.md +108 -0
- package/pro/squads/design/tasks/ds-token-w3c-extract.md +105 -0
- package/pro/squads/design/tasks/ds-validate-ai-readiness.md +69 -0
- package/pro/squads/design/tasks/ds-visual-regression.md +130 -0
- package/pro/squads/design/tasks/execute-checklist.md +141 -0
- package/pro/squads/design/tasks/export-design-tokens-dtcg.md +97 -0
- package/pro/squads/design/tasks/f1-apply-foundations.md +154 -0
- package/pro/squads/design/tasks/f1-ingest-figma-tokens.md +130 -0
- package/pro/squads/design/tasks/f1-map-tokens-to-shadcn.md +145 -0
- package/pro/squads/design/tasks/f1-qa-foundations.md +95 -0
- package/pro/squads/design/tasks/f2-adapt-shadcn-components.md +155 -0
- package/pro/squads/design/tasks/f2-ingest-base-components.md +148 -0
- package/pro/squads/design/tasks/f2-qa-base-components.md +98 -0
- package/pro/squads/design/tasks/f3-derive-components.md +145 -0
- package/pro/squads/design/tasks/f3-qa-derived-components.md +101 -0
- package/pro/squads/design/tasks/focus-order-audit.md +450 -0
- package/pro/squads/design/tasks/sb-brownfield-migrate.md +367 -0
- package/pro/squads/design/tasks/sb-brownfield-scan.md +318 -0
- package/pro/squads/design/tasks/sb-configure.md +230 -0
- package/pro/squads/design/tasks/sb-expand-shadcn.md +213 -0
- package/pro/squads/design/tasks/sb-generate-all-stories.md +288 -0
- package/pro/squads/design/tasks/sb-install.md +152 -0
- package/pro/squads/design/tasks/sb-sync-workspace.md +239 -0
- package/pro/squads/design/tasks/sb-verify.md +203 -0
- package/pro/squads/design/tasks/tailwind-upgrade.md +117 -0
- package/pro/squads/design/tasks/token-usage-analytics.md +262 -0
- package/pro/squads/design/tasks/ux-rewrite-sixth-grade.md +82 -0
- package/pro/squads/design/tasks/validate-design-fidelity.md +222 -0
- package/pro/squads/design/templates/agent-template.yaml +46 -0
- package/pro/squads/design/templates/clone-mind-template.md +352 -0
- package/pro/squads/design/templates/component-prompt-injection-tmpl.md +236 -0
- package/pro/squads/design/templates/component-visual-spec-tmpl.md +378 -0
- package/pro/squads/design/templates/critical-eye-cycle-report-tmpl.md +165 -0
- package/pro/squads/design/templates/design-fidelity-report-tmpl.md +155 -0
- package/pro/squads/design/templates/ds-ai-component-metadata-schema-tmpl.json +138 -0
- package/pro/squads/design/templates/ds-artifact-analysis.md +70 -0
- package/pro/squads/design/templates/ds-health-report-tmpl.md +236 -0
- package/pro/squads/design/templates/ds-migration-strategy-tmpl.md +524 -0
- package/pro/squads/design/templates/ds-state-persistence-tmpl.yaml +194 -0
- package/pro/squads/design/templates/ds-tokens-schema-tmpl.yaml +139 -0
- package/pro/squads/design/templates/migration-strategy-tmpl.md +524 -0
- package/pro/squads/design/templates/reading-design-tokens.css +26 -0
- package/pro/squads/design/templates/state-persistence-tmpl.yaml +219 -0
- package/pro/squads/design/templates/tokens-schema-tmpl.yaml +305 -0
- package/pro/squads/design/workflows/agentic-readiness.yaml +83 -0
- package/pro/squads/design/workflows/audit-only.yaml +198 -0
- package/pro/squads/design/workflows/brownfield-complete.yaml +257 -0
- package/pro/squads/design/workflows/critical-eye.yaml +184 -0
- package/pro/squads/design/workflows/dtcg-tokens-governance.yaml +64 -0
- package/pro/squads/design/workflows/foundations-pipeline.yaml +192 -0
- package/pro/squads/design/workflows/greenfield-new.yaml +192 -0
- package/pro/squads/design/workflows/motion-quality.yaml +65 -0
- package/pro/squads/design/workflows/self-healing-workflow.yaml +237 -0
- package/pro/squads/design/workflows/storybook-brownfield-migration.yaml +400 -0
- package/pro/squads/design/workflows/storybook-full-setup.yaml +280 -0
- package/pro/squads/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 +145 -0
- 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/HEADLINE.md +3 -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/smoke-test-agent.md +313 -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-decision-tree.md +774 -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/pipeline-patterns.md +352 -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/squad-type-definitions.yaml +578 -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/TROUBLESHOOTING.md +412 -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/docs/task-optimization-framework.md +229 -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/handoff-insumos-tmpl.yaml +112 -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/orchestrator-tmpl.md +74 -0
- package/pro/squads/squad-creator/templates/performance-dashboard-tmpl.md +77 -0
- package/pro/squads/squad-creator/templates/pipeline-progress-tmpl.py +373 -0
- package/pro/squads/squad-creator/templates/pipeline-prompt-tmpl.md +94 -0
- package/pro/squads/squad-creator/templates/pipeline-runner-tmpl.py +444 -0
- package/pro/squads/squad-creator/templates/pipeline-state-tmpl.py +413 -0
- package/pro/squads/squad-creator/templates/pop-extractor-prompt.md +549 -0
- package/pro/squads/squad-creator/templates/quality-dashboard-tmpl.md +286 -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/squad-readme-tmpl.md +170 -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/.state.json +32 -0
- package/pro/squads/squad-creator-pro/ARCHITECTURE.md +37 -0
- package/pro/squads/squad-creator-pro/CHANGELOG.md +275 -0
- package/pro/squads/squad-creator-pro/README.md +1061 -0
- 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 +998 -0
- package/pro/squads/squad-creator-pro/agents/pedro-valerio.md +1291 -0
- package/pro/squads/squad-creator-pro/agents/squad-chief.md +1819 -0
- package/pro/squads/squad-creator-pro/agents/thiago_finch.md +986 -0
- 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/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/checklists/agent-depth-checklist.md +244 -0
- package/pro/squads/squad-creator-pro/checklists/agent-quality-gate.md +434 -0
- package/pro/squads/squad-creator-pro/checklists/create-squad-checklist.md +291 -0
- package/pro/squads/squad-creator-pro/checklists/deep-research-quality.md +505 -0
- package/pro/squads/squad-creator-pro/checklists/executor-matrix-checklist.md +260 -0
- package/pro/squads/squad-creator-pro/checklists/mental-model-integration-checklist.md +95 -0
- package/pro/squads/squad-creator-pro/checklists/mind-validation.md +373 -0
- package/pro/squads/squad-creator-pro/checklists/pipeline-quality-checklist.md +84 -0
- package/pro/squads/squad-creator-pro/checklists/quality-gate-checklist.md +385 -0
- package/pro/squads/squad-creator-pro/checklists/session-heuristics-extraction.md +65 -0
- package/pro/squads/squad-creator-pro/checklists/sop-validation.md +250 -0
- package/pro/squads/squad-creator-pro/checklists/squad-checklist.md +1014 -0
- package/pro/squads/squad-creator-pro/checklists/task-anatomy-checklist.md +626 -0
- package/pro/squads/squad-creator-pro/config/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/config/axioma-validator.yaml +371 -0
- package/pro/squads/squad-creator-pro/config/heuristic-watcher-rubric.yaml +300 -0
- package/pro/squads/squad-creator-pro/config/heuristics.yaml +937 -0
- package/pro/squads/squad-creator-pro/config/model-routing.yaml +693 -0
- package/pro/squads/squad-creator-pro/config/quality-gates.yaml +415 -0
- package/pro/squads/squad-creator-pro/config/scoring-rubric.yaml +199 -0
- package/pro/squads/squad-creator-pro/config/squad-config.yaml +165 -0
- package/pro/squads/squad-creator-pro/config/task-anatomy.yaml +263 -0
- package/pro/squads/squad-creator-pro/config/veto-conditions.yaml +455 -0
- package/pro/squads/squad-creator-pro/config.yaml +455 -0
- package/pro/squads/squad-creator-pro/data/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/data/an-anchor-words.yaml +78 -0
- package/pro/squads/squad-creator-pro/data/an-clone-anti-patterns.yaml +148 -0
- package/pro/squads/squad-creator-pro/data/an-clone-validation.yaml +190 -0
- package/pro/squads/squad-creator-pro/data/an-diagnostic-framework.yaml +164 -0
- package/pro/squads/squad-creator-pro/data/an-output-examples.yaml +102 -0
- package/pro/squads/squad-creator-pro/data/an-source-signals.yaml +98 -0
- package/pro/squads/squad-creator-pro/data/an-source-tiers.yaml +119 -0
- package/pro/squads/squad-creator-pro/data/best-practices.md +986 -0
- package/pro/squads/squad-creator-pro/data/core-heuristics.md +510 -0
- package/pro/squads/squad-creator-pro/data/decision-heuristics-framework.md +620 -0
- package/pro/squads/squad-creator-pro/data/executor-matrix-framework.md +441 -0
- package/pro/squads/squad-creator-pro/data/extraction-mentoria-processos-dec19.yaml +337 -0
- package/pro/squads/squad-creator-pro/data/fusion-decision-points-analysis.md +397 -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 +677 -0
- package/pro/squads/squad-creator-pro/data/hybridops-patterns.md +1351 -0
- package/pro/squads/squad-creator-pro/data/internal-infrastructure-library.yaml +103 -0
- package/pro/squads/squad-creator-pro/data/mental-model-task-matrix.yaml +692 -0
- package/pro/squads/squad-creator-pro/data/pm-best-practices.md +504 -0
- package/pro/squads/squad-creator-pro/data/pv-anchor-words.yaml +64 -0
- package/pro/squads/squad-creator-pro/data/pv-authenticity-markers.yaml +200 -0
- package/pro/squads/squad-creator-pro/data/pv-meta-axiomas.yaml +162 -0
- package/pro/squads/squad-creator-pro/data/pv-output-examples.yaml +342 -0
- package/pro/squads/squad-creator-pro/data/pv-workflow-validation.yaml +318 -0
- package/pro/squads/squad-creator-pro/data/quality-dimensions-framework.md +405 -0
- package/pro/squads/squad-creator-pro/data/quality-gate-coverage.yaml +169 -0
- package/pro/squads/squad-creator-pro/data/squad-analytics-guide.md +252 -0
- package/pro/squads/squad-creator-pro/data/squad-kb.md +987 -0
- package/pro/squads/squad-creator-pro/data/squad-kpis.yaml +60 -0
- package/pro/squads/squad-creator-pro/data/squad-registry.yaml +4900 -0
- package/pro/squads/squad-creator-pro/data/tier-system-framework.md +475 -0
- package/pro/squads/squad-creator-pro/data/token-registry.yaml +386 -0
- package/pro/squads/squad-creator-pro/data/tool-evaluation-framework.md +847 -0
- package/pro/squads/squad-creator-pro/data/tool-registry.yaml +816 -0
- package/pro/squads/squad-creator-pro/docs/ARCHITECTURE-DIAGRAMS.md +1466 -0
- package/pro/squads/squad-creator-pro/docs/COMMANDS.md +544 -0
- package/pro/squads/squad-creator-pro/docs/CONCEPTS.md +584 -0
- package/pro/squads/squad-creator-pro/docs/FAQ.md +731 -0
- package/pro/squads/squad-creator-pro/docs/HITL-FLOW.md +255 -0
- package/pro/squads/squad-creator-pro/docs/PATTERN-LIBRARY.md +341 -0
- package/pro/squads/squad-creator-pro/docs/PEDRO-VALERIO-ARCHITECTURE.md +456 -0
- package/pro/squads/squad-creator-pro/docs/POR-ONDE-COMECAR.md +210 -0
- package/pro/squads/squad-creator-pro/docs/QUICK-START.md +205 -0
- package/pro/squads/squad-creator-pro/docs/TOOL-RECOMMENDATIONS.md +381 -0
- package/pro/squads/squad-creator-pro/docs/TUTORIAL-COMPLETO.md +458 -0
- package/pro/squads/squad-creator-pro/docs/sop-extraction-process.md +674 -0
- package/pro/squads/squad-creator-pro/docs/squad-chief-agent-flow.md +981 -0
- package/pro/squads/squad-creator-pro/docs/squad-creation-pipeline-workflow.md +937 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/artifacts/HANDOFF_PROTOCOL.md +269 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/artifacts/SOURCE_CLASSIFICATION.md +258 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_001.md +117 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_002.md +115 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_003.md +110 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_004.md +109 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_005.md +116 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_006.md +183 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_007.md +273 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_008.md +204 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_009.md +246 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_010.md +265 -0
- 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/artifacts/Assinatura_Linguistica.md +355 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/artifacts/META_AXIOMAS.md +277 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_BS_001.md +151 -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 +197 -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 +198 -0
- package/pro/squads/squad-creator-pro/package-lock.json +38 -0
- package/pro/squads/squad-creator-pro/package.json +30 -0
- 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 +166 -0
- package/pro/squads/squad-creator-pro/scripts/WAVE-LOOP.md +157 -0
- package/pro/squads/squad-creator-pro/scripts/assess-sources.sh +443 -0
- package/pro/squads/squad-creator-pro/scripts/checklist_validator.py +59 -0
- package/pro/squads/squad-creator-pro/scripts/clone-review.sh +394 -0
- package/pro/squads/squad-creator-pro/scripts/coherence-validator.py +836 -0
- package/pro/squads/squad-creator-pro/scripts/create-agent-preflight.py +243 -0
- package/pro/squads/squad-creator-pro/scripts/cross-mind-linker.py +143 -0
- package/pro/squads/squad-creator-pro/scripts/cross-provider/compare-results.js +281 -0
- package/pro/squads/squad-creator-pro/scripts/cross-provider/cross-provider-runner.js +462 -0
- package/pro/squads/squad-creator-pro/scripts/cross_map.json +338 -0
- package/pro/squads/squad-creator-pro/scripts/dependency_check.py +337 -0
- 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/fidelity-score.sh +519 -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 +426 -0
- package/pro/squads/squad-creator-pro/scripts/generate-squad-guide.js +38 -0
- package/pro/squads/squad-creator-pro/scripts/inventory.py +59 -0
- package/pro/squads/squad-creator-pro/scripts/lib/config-loader.js +12 -0
- 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-tier-validator.cjs +369 -0
- package/pro/squads/squad-creator-pro/scripts/model-usage-logger.cjs +245 -0
- package/pro/squads/squad-creator-pro/scripts/modernization-score.sh +308 -0
- package/pro/squads/squad-creator-pro/scripts/naming_validator.py +59 -0
- package/pro/squads/squad-creator-pro/scripts/on-specialist-complete.py +152 -0
- package/pro/squads/squad-creator-pro/scripts/quality_gate.py +413 -0
- package/pro/squads/squad-creator-pro/scripts/refresh-registry.py +425 -0
- package/pro/squads/squad-creator-pro/scripts/rename-squad.sh +8 -0
- package/pro/squads/squad-creator-pro/scripts/save-session-metrics.py +189 -0
- package/pro/squads/squad-creator-pro/scripts/scaffold-squad.cjs +12 -0
- package/pro/squads/squad-creator-pro/scripts/scoring.py +395 -0
- package/pro/squads/squad-creator-pro/scripts/security_scanner.py +59 -0
- package/pro/squads/squad-creator-pro/scripts/squad-analytics.py +59 -0
- package/pro/squads/squad-creator-pro/scripts/squad-context-loader.cjs +232 -0
- package/pro/squads/squad-creator-pro/scripts/squad-state-manager.cjs +707 -0
- package/pro/squads/squad-creator-pro/scripts/squad-workflow-runner.cjs +884 -0
- package/pro/squads/squad-creator-pro/scripts/squad_utils.py +59 -0
- 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 -0
- package/pro/squads/squad-creator-pro/scripts/tests/conftest.py +309 -0
- package/pro/squads/squad-creator-pro/scripts/tests/run_bash_tests.sh +29 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_assess_sources.sh +216 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_checklist_validator.py +396 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_clone_review.sh +239 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_coherence_validator.py +212 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_dependency_check.py +361 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_fidelity_score.sh +298 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_inventory.py +307 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_load_business_sops.cjs +158 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_modernization_score.sh +211 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_naming_validator.py +373 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_quality_gate.py +280 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_refresh_registry.py +328 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_scoring.py +366 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_security_scanner.py +354 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_squad_analytics.py +309 -0
- 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_clone.sh +252 -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/tests/test_yaml_validator.py +412 -0
- package/pro/squads/squad-creator-pro/scripts/validate-agent-output.py +115 -0
- package/pro/squads/squad-creator-pro/scripts/validate-all.sh +49 -0
- package/pro/squads/squad-creator-pro/scripts/validate-clone.sh +345 -0
- package/pro/squads/squad-creator-pro/scripts/validate-squad-structure.py +59 -0
- package/pro/squads/squad-creator-pro/scripts/validate-squad.sh +12 -0
- 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 +59 -0
- package/pro/squads/squad-creator-pro/skills/fidelity-score.md +245 -0
- package/pro/squads/squad-creator-pro/skills/squad.md +294 -0
- package/pro/squads/squad-creator-pro/squad-io.yaml +49 -0
- package/pro/squads/squad-creator-pro/tasks/CHANGELOG.md +118 -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 +177 -0
- 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 +173 -0
- 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 +154 -0
- 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 +106 -0
- 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 +132 -0
- 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 +106 -0
- 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 +144 -0
- 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 +132 -0
- 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 +107 -0
- 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 +167 -0
- 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 +178 -0
- package/pro/squads/squad-creator-pro/tasks/create-agent.md +122 -0
- package/pro/squads/squad-creator-pro/tasks/create-documentation.md +202 -0
- 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 +107 -0
- package/pro/squads/squad-creator-pro/tasks/create-squad.md +141 -0
- package/pro/squads/squad-creator-pro/tasks/create-task.md +125 -0
- package/pro/squads/squad-creator-pro/tasks/create-template.md +105 -0
- package/pro/squads/squad-creator-pro/tasks/create-workflow.md +130 -0
- 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 +123 -0
- 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 +168 -0
- 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 +201 -0
- 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 +172 -0
- 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 +193 -0
- 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 +182 -0
- package/pro/squads/squad-creator-pro/tasks/extract-thinking-dna.md +160 -0
- package/pro/squads/squad-creator-pro/tasks/extract-voice-dna.md +170 -0
- 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 +139 -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 +97 -0
- 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 +139 -0
- package/pro/squads/squad-creator-pro/tasks/optimize.md +172 -0
- package/pro/squads/squad-creator-pro/tasks/parallel-discovery.md +111 -0
- 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 +171 -0
- package/pro/squads/squad-creator-pro/tasks/pv-axioma-assessment.md +172 -0
- package/pro/squads/squad-creator-pro/tasks/pv-modernization-score.md +162 -0
- package/pro/squads/squad-creator-pro/tasks/qa-after-creation.md +114 -0
- package/pro/squads/squad-creator-pro/tasks/qualify-task.md +117 -0
- 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 +163 -0
- 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 +105 -0
- package/pro/squads/squad-creator-pro/tasks/squad-analytics.md +192 -0
- 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 +148 -0
- 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 +177 -0
- 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 +155 -0
- 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 +151 -0
- 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 +135 -0
- package/pro/squads/squad-creator-pro/tasks/workspace-integration-hardening.md +187 -0
- package/pro/squads/squad-creator-pro/templates/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/templates/agent-flow-doc-tmpl.md +512 -0
- package/pro/squads/squad-creator-pro/templates/agent-tmpl.md +697 -0
- package/pro/squads/squad-creator-pro/templates/config-tmpl.yaml +434 -0
- 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 +549 -0
- package/pro/squads/squad-creator-pro/templates/quality-gate-tmpl.yaml +589 -0
- package/pro/squads/squad-creator-pro/templates/readme-tmpl.md +231 -0
- package/pro/squads/squad-creator-pro/templates/report-tmpl.yaml +14 -0
- package/pro/squads/squad-creator-pro/templates/research-output-tmpl.md +625 -0
- package/pro/squads/squad-creator-pro/templates/research-prompt-tmpl.md +479 -0
- package/pro/squads/squad-creator-pro/templates/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/squad-prd-tmpl.md +464 -0
- package/pro/squads/squad-creator-pro/templates/story-create-agent-tmpl.md +284 -0
- package/pro/squads/squad-creator-pro/templates/task-tmpl.md +461 -0
- package/pro/squads/squad-creator-pro/templates/template-tmpl.yaml +227 -0
- package/pro/squads/squad-creator-pro/templates/workflow-doc-tmpl.md +860 -0
- package/pro/squads/squad-creator-pro/templates/workflow-tmpl.yaml +394 -0
- package/pro/squads/squad-creator-pro/test-cases/BATCH-PROGRESS.md +268 -0
- package/pro/squads/squad-creator-pro/test-cases/QUALIFICATION-DASHBOARD.yaml +13 -0
- package/pro/squads/squad-creator-pro/test-cases/_template.yaml +147 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/ASSESSMENT-SUMMARY.md +275 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/ASSESSMENT_SUMMARY.md +140 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/CHECKPOINT_MATRIX.md +202 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/EXECUTION-REPORT.md +413 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/EXECUTION_NOTES.md +358 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/README-v2.2.2.md +299 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/README.md +320 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/TEST-REPORT-v2.1.md +351 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/VERIFICATION-CHECKLIST.txt +247 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/formal-qualification-report.yaml +389 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/opus-baseline.yaml +517 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/qualification-report.yaml +213 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/test-case.yaml +69 -0
- package/pro/squads/squad-creator-pro/test-cases/an-clone-review/opus-baseline.yaml +566 -0
- package/pro/squads/squad-creator-pro/test-cases/an-clone-review/qualification-report.yaml +82 -0
- package/pro/squads/squad-creator-pro/test-cases/an-design-clone/test-case.yaml +102 -0
- package/pro/squads/squad-creator-pro/test-cases/an-extract-dna/test-case.yaml +105 -0
- package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/opus-baseline.yaml +266 -0
- package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/qualification-report.yaml +94 -0
- package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/opus-baseline.yaml +470 -0
- package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/qualification-report.yaml +106 -0
- package/pro/squads/squad-creator-pro/test-cases/collect-sources/test-case.yaml +105 -0
- package/pro/squads/squad-creator-pro/test-cases/create-task/test-case.yaml +104 -0
- package/pro/squads/squad-creator-pro/test-cases/cross-provider/DASHBOARD.yaml +11 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-audit/test-case.yaml +106 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/opus-baseline.yaml +96 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/sonnet-output.yaml +30 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/test-case.yaml +129 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/comparison-round-1.yaml +242 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/opus-baseline.yaml +488 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/qualification-report.yaml +74 -0
- package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/opus-baseline.yaml +603 -0
- package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/qualification-report.yaml +97 -0
- package/pro/squads/squad-creator-pro/test-cases/smoke-test-model-routing/test-case.yaml +100 -0
- package/pro/squads/squad-creator-pro/test-cases/upgrade-squad/test-case.yaml +106 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/comparison-round-1.yaml +223 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/opus-baseline.yaml +529 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/opus-round-3-v4-task.yaml +132 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/qualification-report.yaml +104 -0
- package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/opus-baseline.yaml +112 -0
- package/pro/squads/squad-creator-pro/utils/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/workflows/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/workflows/create-squad.yaml +300 -0
- package/pro/squads/squad-creator-pro/workflows/modules/module-discovery.yaml +16 -0
- package/pro/squads/squad-creator-pro/workflows/modules/module-integration.yaml +34 -0
- package/pro/squads/squad-creator-pro/workflows/modules/module-quality-gates.yaml +20 -0
- package/pro/squads/squad-creator-pro/workflows/validate-squad.yaml +552 -0
- 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 +520 -0
- package/pro/squads/squad-creator-pro/workflows/wf-brownfield-upgrade-squad.yaml +142 -0
- package/pro/squads/squad-creator-pro/workflows/wf-clone-mind.yaml +607 -0
- 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 +177 -0
- 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 +1763 -0
- 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 +660 -0
- 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 +1711 -0
- 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 +475 -0
- 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 +671 -0
- package/pro/squads/squad-creator-pro/workflows/wf-model-tier-qualification.yaml +737 -0
- 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 +761 -0
- 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 +858 -0
- 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 +1691 -0
- 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
|
@@ -0,0 +1,1691 @@
|
|
|
1
|
+
workflow:
|
|
2
|
+
id: wf-squad-fusion
|
|
3
|
+
name: Squad Fusion Workflow
|
|
4
|
+
version: 2.4.0
|
|
5
|
+
icon: 🐉
|
|
6
|
+
executor_summary:
|
|
7
|
+
total_steps: 56
|
|
8
|
+
distribution:
|
|
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
|
|
25
|
+
agent_decision_points:
|
|
26
|
+
- id: semantic_match_detection
|
|
27
|
+
reason: Comparar função real de agents com nomes diferentes
|
|
28
|
+
- id: quality_comparison
|
|
29
|
+
reason: Avaliar qualidade além de métricas quantitativas
|
|
30
|
+
- id: create_golden_records
|
|
31
|
+
reason: Decidir versão canônica entre variantes
|
|
32
|
+
- id: define_tiers
|
|
33
|
+
reason: Organizar agents por função/propósito
|
|
34
|
+
- id: define_routing_rules
|
|
35
|
+
reason: Mapear especialidades para cenários de uso
|
|
36
|
+
- id: create_orchestrator_if_needed
|
|
37
|
+
reason: Criar orchestrator com conhecimento dos agents
|
|
38
|
+
patterns_applied:
|
|
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
|
|
46
|
+
description: |
|
|
47
|
+
Workflow para fusão de múltiplos squads em um único squad consolidado.
|
|
48
|
+
Segue o princípio "Dragon Ball Fusion" - combina o melhor de cada fonte.
|
|
49
|
+
|
|
50
|
+
GARANTIAS:
|
|
51
|
+
- Zero perda de componentes (auditado)
|
|
52
|
+
- Zero duplicatas não-intencionais
|
|
53
|
+
- 100% rastreabilidade (provenance)
|
|
54
|
+
- Rollback possível até Phase 6
|
|
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
|
|
231
|
+
config:
|
|
232
|
+
modes:
|
|
233
|
+
yolo:
|
|
234
|
+
description: Execução automática, decisões padrão
|
|
235
|
+
human_checkpoints: false
|
|
236
|
+
default_decisions:
|
|
237
|
+
duplicate_resolution: keep_highest_quality
|
|
238
|
+
scope_filtering: strict
|
|
239
|
+
naming: auto
|
|
240
|
+
cleanup_sources: false
|
|
241
|
+
quality:
|
|
242
|
+
description: Checkpoints humanos, decisões validadas
|
|
243
|
+
human_checkpoints: true
|
|
244
|
+
requires_approval:
|
|
245
|
+
- phase_1_discovery
|
|
246
|
+
- phase_2_deduplication
|
|
247
|
+
- phase_3_scope
|
|
248
|
+
- phase_5_validation
|
|
249
|
+
paths:
|
|
250
|
+
workspace: /tmp/fusion-{target_name}-{timestamp}
|
|
251
|
+
backup: backups/squads/pre-fusion-{timestamp}
|
|
252
|
+
audit_log: "{workspace}/fusion-audit.yaml"
|
|
253
|
+
quality_thresholds:
|
|
254
|
+
min_agent_lines: 300
|
|
255
|
+
min_task_lines: 100
|
|
256
|
+
similarity_threshold: 0.85
|
|
257
|
+
anti_patterns:
|
|
258
|
+
critical:
|
|
259
|
+
- id: AP_001
|
|
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
|
|
264
|
+
- id: AP_002
|
|
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
|
|
269
|
+
- id: AP_003
|
|
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
|
|
274
|
+
- id: AP_004
|
|
275
|
+
name: No Rollback Plan
|
|
276
|
+
description: Sem backup ou checkpoint
|
|
277
|
+
risk: Preso com erros
|
|
278
|
+
mitigation: Snapshot antes de cada fase destrutiva
|
|
279
|
+
- id: AP_005
|
|
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
|
|
284
|
+
- id: AP_006
|
|
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
|
|
289
|
+
phases:
|
|
290
|
+
- id: phase_0_init
|
|
291
|
+
name: Initialization
|
|
292
|
+
description: Setup workspace e validação inicial
|
|
293
|
+
pattern: Pre-flight checks
|
|
294
|
+
rollback: Trivial - nada modificado ainda
|
|
295
|
+
inputs:
|
|
296
|
+
required:
|
|
297
|
+
- name: source_squads
|
|
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\"]"
|
|
302
|
+
- name: target_name
|
|
303
|
+
type: string
|
|
304
|
+
description: Nome do squad resultante (snake_case)
|
|
305
|
+
validation: ^[a-z0-9]+(-[a-z0-9]+)*$
|
|
306
|
+
example: traffic-masters
|
|
307
|
+
- name: target_domain
|
|
308
|
+
type: string
|
|
309
|
+
description: Domínio principal
|
|
310
|
+
example: paid_traffic
|
|
311
|
+
optional:
|
|
312
|
+
- name: mode
|
|
313
|
+
type: enum[yolo, quality]
|
|
314
|
+
default: quality
|
|
315
|
+
- name: exclude_patterns
|
|
316
|
+
type: list[string]
|
|
317
|
+
description: Patterns de agents a excluir
|
|
318
|
+
example: "[\"brand-*\", \"pr-*\", \"*-organic\"]"
|
|
319
|
+
steps:
|
|
320
|
+
- id: validate_inputs
|
|
321
|
+
action: Validar todos os inputs
|
|
322
|
+
checks:
|
|
323
|
+
- target_name não existe em squads/
|
|
324
|
+
- source_squads tem pelo menos 2 itens
|
|
325
|
+
- Nenhum squad fonte é igual ao target
|
|
326
|
+
- id: validate_sources
|
|
327
|
+
action: Verificar existência de cada squad fonte
|
|
328
|
+
command_template: |
|
|
329
|
+
for squad in {source_squads}:
|
|
330
|
+
if not exists("squads/{squad}"):
|
|
331
|
+
ABORT("Squad não existe: {squad}")
|
|
332
|
+
if not exists("squads/{squad}/agents") and not exists("squads/{squad}/skills"):
|
|
333
|
+
WARN("Squad sem agents nem skills: {squad}")
|
|
334
|
+
- id: create_workspace
|
|
335
|
+
action: Criar workspace isolado
|
|
336
|
+
commands:
|
|
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
|
|
346
|
+
- id: init_audit_log
|
|
347
|
+
action: Inicializar log de auditoria
|
|
348
|
+
creates: "{workspace}/fusion-audit.yaml"
|
|
349
|
+
template: |
|
|
350
|
+
# Fusion Audit Log
|
|
351
|
+
# Gerado automaticamente - NÃO EDITAR MANUALMENTE
|
|
352
|
+
|
|
353
|
+
fusion:
|
|
354
|
+
id: "{fusion_id}"
|
|
355
|
+
started_at: "{timestamp}"
|
|
356
|
+
mode: "{mode}"
|
|
357
|
+
target: "{target_name}"
|
|
358
|
+
sources: {source_squads}
|
|
359
|
+
|
|
360
|
+
events: []
|
|
361
|
+
- id: create_backup
|
|
362
|
+
action: "Backup dos squads fonte (pattern: snapshot before)"
|
|
363
|
+
command_template: |
|
|
364
|
+
mkdir -p {backup_path}
|
|
365
|
+
for squad in {source_squads}:
|
|
366
|
+
tar -czf {backup_path}/{squad}.tar.gz squads/{squad}
|
|
367
|
+
rationale: Permite rollback completo até o final
|
|
368
|
+
output:
|
|
369
|
+
workspace_path: string
|
|
370
|
+
backup_path: string
|
|
371
|
+
fusion_id: string
|
|
372
|
+
audit_log_path: string
|
|
373
|
+
quality_gate:
|
|
374
|
+
name: Init Gate
|
|
375
|
+
checks:
|
|
376
|
+
- Workspace criado com todas subpastas
|
|
377
|
+
- Backup de todos squads fonte existe
|
|
378
|
+
- Audit log inicializado
|
|
379
|
+
veto_on: Qualquer check falhar
|
|
380
|
+
- id: phase_1_discovery
|
|
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
|
|
385
|
+
critical_rule: |
|
|
386
|
+
🚨 REGRA ABSOLUTA: EXECUTAR COMANDOS, NUNCA ASSUMIR
|
|
387
|
+
|
|
388
|
+
A IA DEVE executar CADA comando listado abaixo.
|
|
389
|
+
NÃO é permitido:
|
|
390
|
+
- Estimar baseado em um squad
|
|
391
|
+
- Pular squads "similares"
|
|
392
|
+
- Arredondar números
|
|
393
|
+
- Usar contagens de sessões anteriores
|
|
394
|
+
|
|
395
|
+
CADA número deve vir de um comando executado NESTA sessão.
|
|
396
|
+
steps:
|
|
397
|
+
- id: inventory_agents
|
|
398
|
+
action: Contar e listar agents de CADA squad
|
|
399
|
+
executor: Worker
|
|
400
|
+
command_per_squad: |
|
|
401
|
+
echo "=== {squad} AGENTS ===" && \
|
|
402
|
+
find squads/{squad}/agents -name '*.md' 2>/dev/null | wc -l && \
|
|
403
|
+
find squads/{squad}/agents -name '*.md' -exec basename {} .md \; 2>/dev/null | sort
|
|
404
|
+
store_as: inventory.{squad}.agents
|
|
405
|
+
- id: inventory_tasks
|
|
406
|
+
action: Contar tasks (MÚLTIPLOS LOCAIS)
|
|
407
|
+
executor: Worker
|
|
408
|
+
rationale: Tasks podem estar em /tasks, /skills/tasks, ou outros locais
|
|
409
|
+
command_per_squad: |
|
|
410
|
+
echo "=== {squad} TASKS ===" && \
|
|
411
|
+
find squads/{squad} -path '*/tasks/*.md' -type f 2>/dev/null | wc -l && \
|
|
412
|
+
find squads/{squad} -path '*/tasks/*.md' -type f -exec basename {} .md \; 2>/dev/null | sort
|
|
413
|
+
store_as: inventory.{squad}.tasks
|
|
414
|
+
- id: inventory_skills
|
|
415
|
+
action: Contar skills (estrutura especial)
|
|
416
|
+
executor: Worker
|
|
417
|
+
rationale: Skills usam SKILL.md dentro de subpastas
|
|
418
|
+
command_per_squad: |
|
|
419
|
+
echo "=== {squad} SKILLS ===" && \
|
|
420
|
+
find squads/{squad} -name 'SKILL.md' -type f 2>/dev/null | wc -l && \
|
|
421
|
+
find squads/{squad} -name 'SKILL.md' -type f 2>/dev/null | xargs -I {} dirname {} | xargs -I {} basename {}
|
|
422
|
+
store_as: inventory.{squad}.skills
|
|
423
|
+
- id: inventory_data
|
|
424
|
+
action: Contar data/knowledge files
|
|
425
|
+
executor: Worker
|
|
426
|
+
command_per_squad: |
|
|
427
|
+
echo "=== {squad} DATA ===" && \
|
|
428
|
+
count_data=$(find squads/{squad}/data -name '*.md' -type f 2>/dev/null | wc -l) && \
|
|
429
|
+
count_knowledge=$(find squads/{squad}/knowledge -name '*.md' -type f 2>/dev/null | wc -l) && \
|
|
430
|
+
echo "Data: $count_data, Knowledge: $count_knowledge, Total: $((count_data + count_knowledge))"
|
|
431
|
+
store_as: inventory.{squad}.data
|
|
432
|
+
- id: inventory_other
|
|
433
|
+
action: Contar templates, checklists, workflows
|
|
434
|
+
executor: Worker
|
|
435
|
+
command_per_squad: |
|
|
436
|
+
echo "=== {squad} OTHER ===" && \
|
|
437
|
+
echo "Templates: $(find squads/{squad} -path '*/templates/*.md' -type f 2>/dev/null | wc -l)" && \
|
|
438
|
+
echo "Checklists: $(find squads/{squad} -path '*/checklists/*.md' -type f 2>/dev/null | wc -l)" && \
|
|
439
|
+
echo "Workflows: $(find squads/{squad} -path '*/workflows/*.yaml' -o -path '*/workflows/*.md' -type f 2>/dev/null | wc -l)"
|
|
440
|
+
store_as: inventory.{squad}.other
|
|
441
|
+
- id: inventory_quality
|
|
442
|
+
action: Medir qualidade dos agents (linhas de código)
|
|
443
|
+
executor: Worker
|
|
444
|
+
rationale: Linhas = proxy para completude
|
|
445
|
+
command_per_squad: |
|
|
446
|
+
echo "=== {squad} QUALITY ===" && \
|
|
447
|
+
wc -l squads/{squad}/agents/*.md 2>/dev/null | sort -n
|
|
448
|
+
store_as: inventory.{squad}.quality
|
|
449
|
+
- id: build_inventory_table
|
|
450
|
+
action: Construir tabela consolidada
|
|
451
|
+
executor: Worker
|
|
452
|
+
template: |
|
|
453
|
+
## 📊 INVENTÁRIO COMPLETO (Discovery)
|
|
454
|
+
|
|
455
|
+
| Squad | Agents | Tasks | Skills | Data | Templates | Checklists | Workflows |
|
|
456
|
+
|-------|--------|-------|--------|------|-----------|------------|-----------|
|
|
457
|
+
{{#each squads}}
|
|
458
|
+
| {{name}} | {{agents}} | {{tasks}} | {{skills}} | {{data}} | {{templates}} | {{checklists}} | {{workflows}} |
|
|
459
|
+
{{/each}}
|
|
460
|
+
| **TOTAL** | **{{sum.agents}}** | **{{sum.tasks}}** | **{{sum.skills}}** | **{{sum.data}}** | **{{sum.templates}}** | **{{sum.checklists}}** | **{{sum.workflows}}** |
|
|
461
|
+
|
|
462
|
+
### Validação de Soma
|
|
463
|
+
- Soma calculada: {{sum.agents}} agents
|
|
464
|
+
- Soma por comando: `{{sum_command_result}}`
|
|
465
|
+
- Match: {{match_status}}
|
|
466
|
+
- id: cross_reference_map
|
|
467
|
+
action: Mapear referências cruzadas entre componentes
|
|
468
|
+
executor: Worker
|
|
469
|
+
rationale: "Pattern: Foreign Key Reconciliation"
|
|
470
|
+
command: |
|
|
471
|
+
# Encontrar referências a outros agents/tasks nos arquivos
|
|
472
|
+
for squad in {source_squads}:
|
|
473
|
+
grep -r "handoff_to\|depends_on\|uses\|calls" squads/{squad} --include="*.md" --include="*.yaml"
|
|
474
|
+
store_as: cross_references
|
|
475
|
+
- id: log_discovery
|
|
476
|
+
action: Registrar no audit log
|
|
477
|
+
executor: Worker
|
|
478
|
+
audit_event:
|
|
479
|
+
type: discovery_complete
|
|
480
|
+
data: inventory
|
|
481
|
+
timestamp: "{now}"
|
|
482
|
+
checkpoint:
|
|
483
|
+
type: human_review
|
|
484
|
+
condition: mode == 'quality'
|
|
485
|
+
prompt: |
|
|
486
|
+
## Discovery Complete
|
|
487
|
+
|
|
488
|
+
{{inventory_table}}
|
|
489
|
+
|
|
490
|
+
### Validação
|
|
491
|
+
- [ ] Todas as contagens estão corretas?
|
|
492
|
+
- [ ] Algum squad parece incompleto?
|
|
493
|
+
- [ ] Cross-references mapeadas?
|
|
494
|
+
|
|
495
|
+
Aprovar para continuar?
|
|
496
|
+
options:
|
|
497
|
+
- Aprovar
|
|
498
|
+
- Refazer contagem de squad específico
|
|
499
|
+
- Abortar fusão
|
|
500
|
+
quality_gate:
|
|
501
|
+
name: Discovery Gate
|
|
502
|
+
checks:
|
|
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
|
|
507
|
+
output:
|
|
508
|
+
inventory: InventoryTable
|
|
509
|
+
total_assets: AssetCounts
|
|
510
|
+
cross_references: list[Reference]
|
|
511
|
+
- id: phase_2_deduplication
|
|
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
|
|
516
|
+
steps:
|
|
517
|
+
- id: exact_match_detection
|
|
518
|
+
action: Detectar duplicatas por nome exato
|
|
519
|
+
executor: Worker
|
|
520
|
+
algorithm: |
|
|
521
|
+
1. Criar set de todos os nomes de agents/tasks
|
|
522
|
+
2. Identificar nomes que aparecem em múltiplos squads
|
|
523
|
+
3. Para cada duplicata:
|
|
524
|
+
a. Comparar conteúdo (hash)
|
|
525
|
+
b. Se hash igual → duplicata exata
|
|
526
|
+
c. Se hash diferente → variantes
|
|
527
|
+
command: |
|
|
528
|
+
# Listar todos agents de todos squads
|
|
529
|
+
for squad in {source_squads}:
|
|
530
|
+
find squads/{squad}/agents -name '*.md' -exec basename {} .md \;
|
|
531
|
+
# Encontrar duplicados
|
|
532
|
+
| sort | uniq -d
|
|
533
|
+
- id: semantic_match_detection
|
|
534
|
+
action: Detectar duplicatas semânticas (mesma função, nomes diferentes)
|
|
535
|
+
executor: Agent
|
|
536
|
+
rationale: |
|
|
537
|
+
Pattern: Fuzzy Matching
|
|
538
|
+
Mapa estático de sinônimos é INSUFICIENTE.
|
|
539
|
+
LLM precisa ler descrições e comparar função real.
|
|
540
|
+
semantic_groups:
|
|
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
|
|
571
|
+
- id: quality_comparison
|
|
572
|
+
action: Comparar qualidade das variantes
|
|
573
|
+
executor: Agent
|
|
574
|
+
rationale: |
|
|
575
|
+
Linhas != Qualidade. LLM precisa ler AMBOS os agents e avaliar:
|
|
576
|
+
- Profundidade do voice_dna
|
|
577
|
+
- Qualidade dos output_examples
|
|
578
|
+
- Frameworks documentados
|
|
579
|
+
- Anti-patterns definidos
|
|
580
|
+
metrics:
|
|
581
|
+
- name: lines
|
|
582
|
+
description: Linhas de código (mais = mais completo)
|
|
583
|
+
weight: 0.4
|
|
584
|
+
- name: voice_dna
|
|
585
|
+
description: Presença de voice_dna section
|
|
586
|
+
weight: 0.2
|
|
587
|
+
- name: output_examples
|
|
588
|
+
description: Número de output_examples
|
|
589
|
+
weight: 0.2
|
|
590
|
+
- name: frameworks
|
|
591
|
+
description: Frameworks documentados
|
|
592
|
+
weight: 0.1
|
|
593
|
+
- name: recency
|
|
594
|
+
description: Data de última modificação
|
|
595
|
+
weight: 0.1
|
|
596
|
+
command_per_duplicate: |
|
|
597
|
+
# Para cada par de duplicatas
|
|
598
|
+
echo "=== Comparando {agent_a} vs {agent_b} ===" && \
|
|
599
|
+
echo "Linhas A: $(wc -l < squads/{squad_a}/agents/{agent_a}.md)" && \
|
|
600
|
+
echo "Linhas B: $(wc -l < squads/{squad_b}/agents/{agent_b}.md)" && \
|
|
601
|
+
echo "voice_dna A: $(grep -c 'voice_dna' squads/{squad_a}/agents/{agent_a}.md)" && \
|
|
602
|
+
echo "voice_dna B: $(grep -c 'voice_dna' squads/{squad_b}/agents/{agent_b}.md)"
|
|
603
|
+
- id: create_golden_records
|
|
604
|
+
action: Criar registros dourados (versão canônica)
|
|
605
|
+
executor: Hybrid
|
|
606
|
+
rationale: |
|
|
607
|
+
Pattern: Golden Record Creation
|
|
608
|
+
- YOLO mode: Agent decide baseado em heurísticas
|
|
609
|
+
- QUALITY mode: Agent recomenda, Human aprova
|
|
610
|
+
rules:
|
|
611
|
+
yolo_mode:
|
|
612
|
+
- Escolher agent com mais linhas
|
|
613
|
+
- Em empate, escolher mais recente
|
|
614
|
+
quality_mode:
|
|
615
|
+
- Apresentar comparação ao humano
|
|
616
|
+
- Humano escolhe ou pede merge manual
|
|
617
|
+
- id: build_dedup_table
|
|
618
|
+
action: Construir tabela de deduplicação
|
|
619
|
+
executor: Worker
|
|
620
|
+
template: |
|
|
621
|
+
## 🔴 DUPLICATAS DETECTADAS
|
|
622
|
+
|
|
623
|
+
### Duplicatas Exatas (mesmo nome)
|
|
624
|
+
| Agent | Squad A | Squad B | Linhas A | Linhas B | 🏆 Vencedor | Rationale |
|
|
625
|
+
|-------|---------|---------|----------|----------|-------------|-----------|
|
|
626
|
+
{{#each exact_duplicates}}
|
|
627
|
+
| {{name}} | {{squad_a}} | {{squad_b}} | {{lines_a}} | {{lines_b}} | **{{winner}}** | {{rationale}} |
|
|
628
|
+
{{/each}}
|
|
629
|
+
|
|
630
|
+
### Duplicatas Semânticas (função similar)
|
|
631
|
+
| Função | Agent A (Squad) | Agent B (Squad) | Score A | Score B | 🏆 Vencedor |
|
|
632
|
+
|--------|-----------------|-----------------|---------|---------|-------------|
|
|
633
|
+
{{#each semantic_duplicates}}
|
|
634
|
+
| {{function}} | {{agent_a}} ({{squad_a}}) | {{agent_b}} ({{squad_b}}) | {{score_a}} | {{score_b}} | **{{winner}}** |
|
|
635
|
+
{{/each}}
|
|
636
|
+
|
|
637
|
+
### Decisões de Merge
|
|
638
|
+
Total duplicatas: {{total_duplicates}}
|
|
639
|
+
- Resolvidas automaticamente: {{auto_resolved}}
|
|
640
|
+
- Requerem revisão humana: {{needs_review}}
|
|
641
|
+
- id: log_deduplication
|
|
642
|
+
action: Registrar decisões no audit log
|
|
643
|
+
executor: Worker
|
|
644
|
+
audit_event:
|
|
645
|
+
type: deduplication_complete
|
|
646
|
+
decisions: dedup_decisions
|
|
647
|
+
timestamp: "{now}"
|
|
648
|
+
checkpoint:
|
|
649
|
+
type: human_review
|
|
650
|
+
condition: mode == 'quality'
|
|
651
|
+
prompt: |
|
|
652
|
+
## Deduplication Results
|
|
653
|
+
|
|
654
|
+
{{dedup_table}}
|
|
655
|
+
|
|
656
|
+
### Revisão Necessária
|
|
657
|
+
{{#each needs_review}}
|
|
658
|
+
- {{agent_a}} vs {{agent_b}}: Qual manter?
|
|
659
|
+
{{/each}}
|
|
660
|
+
|
|
661
|
+
Aprovar resoluções?
|
|
662
|
+
options:
|
|
663
|
+
- Aprovar todas
|
|
664
|
+
- Revisar caso a caso
|
|
665
|
+
- Abortar fusão
|
|
666
|
+
quality_gate:
|
|
667
|
+
name: Deduplication Gate
|
|
668
|
+
checks:
|
|
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
|
|
673
|
+
output:
|
|
674
|
+
duplicates_found: number
|
|
675
|
+
duplicates_resolved: list[DedupDecision]
|
|
676
|
+
agents_to_keep: list[{agent, source_squad}]
|
|
677
|
+
agents_to_exclude: list[{agent, reason}]
|
|
678
|
+
- id: phase_3_scope
|
|
679
|
+
name: Scope Filtering
|
|
680
|
+
description: Filtrar componentes fora do domínio target
|
|
681
|
+
pattern: Domain-Driven Filtering
|
|
682
|
+
rollback: Trivial - apenas classificação
|
|
683
|
+
steps:
|
|
684
|
+
- id: define_domain_keywords
|
|
685
|
+
action: Definir keywords do domínio target
|
|
686
|
+
executor: Worker
|
|
687
|
+
example:
|
|
688
|
+
domain: paid_traffic
|
|
689
|
+
include_keywords:
|
|
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
|
|
711
|
+
exclude_keywords:
|
|
712
|
+
explicit:
|
|
713
|
+
- brand
|
|
714
|
+
- pr
|
|
715
|
+
- organic
|
|
716
|
+
- seo
|
|
717
|
+
- content-marketing
|
|
718
|
+
ambiguous:
|
|
719
|
+
- social
|
|
720
|
+
- web-design
|
|
721
|
+
- email
|
|
722
|
+
- id: classify_agents
|
|
723
|
+
action: Classificar cada agent como IN_SCOPE ou OUT_OF_SCOPE
|
|
724
|
+
executor: Hybrid
|
|
725
|
+
rationale: |
|
|
726
|
+
- Score >= 2 ou < 0: Worker decide (determinístico)
|
|
727
|
+
- Score 0-2: Agent analisa conteúdo e decide
|
|
728
|
+
algorithm: |
|
|
729
|
+
Para cada agent não-excluído por deduplicação:
|
|
730
|
+
1. Extrair nome e primeiro parágrafo
|
|
731
|
+
2. Calcular score de relevância:
|
|
732
|
+
- +2 por cada primary keyword
|
|
733
|
+
- +1 por cada secondary keyword
|
|
734
|
+
- -2 por cada exclude keyword
|
|
735
|
+
3. Se score >= 2: IN_SCOPE
|
|
736
|
+
Se score < 0: OUT_OF_SCOPE
|
|
737
|
+
Se 0 <= score < 2: NEEDS_REVIEW
|
|
738
|
+
command_per_agent: |
|
|
739
|
+
echo "=== Classificando {agent} ===" && \
|
|
740
|
+
head -50 squads/{squad}/agents/{agent}.md | \
|
|
741
|
+
grep -iE "ads|traffic|campaign|pixel|scaling|roas|meta|google" | wc -l
|
|
742
|
+
- id: classify_tasks
|
|
743
|
+
action: Classificar tasks pelo mesmo critério
|
|
744
|
+
executor: Hybrid
|
|
745
|
+
note: Tasks geralmente são mais específicas, menos ambiguidade
|
|
746
|
+
- id: build_scope_table
|
|
747
|
+
action: Construir tabela de classificação
|
|
748
|
+
executor: Worker
|
|
749
|
+
template: |
|
|
750
|
+
## 🎯 CLASSIFICAÇÃO DE ESCOPO
|
|
751
|
+
|
|
752
|
+
### ✅ IN_SCOPE ({{in_scope_count}} componentes)
|
|
753
|
+
{{#each in_scope}}
|
|
754
|
+
- **{{name}}** ({{squad}}) - Score: {{score}} - {{keywords_matched}}
|
|
755
|
+
{{/each}}
|
|
756
|
+
|
|
757
|
+
### ❌ OUT_OF_SCOPE ({{out_scope_count}} componentes)
|
|
758
|
+
{{#each out_of_scope}}
|
|
759
|
+
- ~~{{name}}~~ ({{squad}}) - Motivo: {{reason}}
|
|
760
|
+
{{/each}}
|
|
761
|
+
|
|
762
|
+
### ⚠️ NEEDS_REVIEW ({{review_count}} componentes)
|
|
763
|
+
{{#each needs_review}}
|
|
764
|
+
- **{{name}}** ({{squad}}) - Score: {{score}} - Ambíguo: {{ambiguity_reason}}
|
|
765
|
+
{{/each}}
|
|
766
|
+
- id: log_scope
|
|
767
|
+
action: Registrar no audit log
|
|
768
|
+
executor: Worker
|
|
769
|
+
audit_event:
|
|
770
|
+
type: scope_filtering_complete
|
|
771
|
+
in_scope: in_scope_count
|
|
772
|
+
out_of_scope: out_scope_count
|
|
773
|
+
timestamp: "{now}"
|
|
774
|
+
checkpoint:
|
|
775
|
+
type: human_review
|
|
776
|
+
condition: mode == 'quality'
|
|
777
|
+
prompt: |
|
|
778
|
+
## Scope Classification
|
|
779
|
+
|
|
780
|
+
{{scope_table}}
|
|
781
|
+
|
|
782
|
+
### Decisões pendentes
|
|
783
|
+
{{#each needs_review}}
|
|
784
|
+
- {{name}}: Incluir ou excluir?
|
|
785
|
+
{{/each}}
|
|
786
|
+
|
|
787
|
+
Opções:
|
|
788
|
+
1. Aprovar como está
|
|
789
|
+
2. Incluir todos ambíguos
|
|
790
|
+
3. Excluir todos ambíguos
|
|
791
|
+
4. Decidir caso a caso
|
|
792
|
+
options:
|
|
793
|
+
- "1"
|
|
794
|
+
- "2"
|
|
795
|
+
- "3"
|
|
796
|
+
- "4"
|
|
797
|
+
quality_gate:
|
|
798
|
+
name: Scope Gate
|
|
799
|
+
checks:
|
|
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
|
|
804
|
+
output:
|
|
805
|
+
final_components:
|
|
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
|
|
816
|
+
critical_rule: |
|
|
817
|
+
🚨 IDEMPOTENCY: Rodar esta fase 2x deve dar o mesmo resultado
|
|
818
|
+
|
|
819
|
+
Cada cópia deve:
|
|
820
|
+
1. Verificar se já existe no destino
|
|
821
|
+
2. Se existe E é idêntico → skip
|
|
822
|
+
3. Se existe E é diferente → CONFLICT (mover para _conflicts/)
|
|
823
|
+
4. Se não existe → copiar
|
|
824
|
+
steps:
|
|
825
|
+
- id: collect_agents
|
|
826
|
+
action: Copiar agents selecionados
|
|
827
|
+
executor: Worker
|
|
828
|
+
command_per_agent: |
|
|
829
|
+
source="squads/{source_squad}/agents/{agent}.md"
|
|
830
|
+
dest="{workspace}/agents/{agent}.md"
|
|
831
|
+
|
|
832
|
+
if [ -f "$dest" ]; then
|
|
833
|
+
if diff -q "$source" "$dest" > /dev/null; then
|
|
834
|
+
echo "SKIP: {agent} já existe (idêntico)"
|
|
835
|
+
else
|
|
836
|
+
echo "CONFLICT: {agent} existe com conteúdo diferente"
|
|
837
|
+
mv "$dest" "{workspace}/_conflicts/{agent}-{source_squad}.md"
|
|
838
|
+
cp "$source" "$dest"
|
|
839
|
+
fi
|
|
840
|
+
else
|
|
841
|
+
cp "$source" "$dest"
|
|
842
|
+
echo "COPIED: {agent}"
|
|
843
|
+
fi
|
|
844
|
+
audit_each: true
|
|
845
|
+
- id: collect_tasks
|
|
846
|
+
action: Copiar tasks (com dedup por nome)
|
|
847
|
+
executor: Worker
|
|
848
|
+
command: |
|
|
849
|
+
for squad in {source_squads}:
|
|
850
|
+
find squads/{squad} -path '*/tasks/*.md' -type f | while read task; do
|
|
851
|
+
name=$(basename "$task")
|
|
852
|
+
dest="{workspace}/tasks/$name"
|
|
853
|
+
# Mesmo padrão de idempotency
|
|
854
|
+
...
|
|
855
|
+
done
|
|
856
|
+
- id: collect_skills
|
|
857
|
+
action: Copiar estrutura de skills preservando hierarquia
|
|
858
|
+
executor: Worker
|
|
859
|
+
command: |
|
|
860
|
+
for squad in {source_squads}:
|
|
861
|
+
if [ -d "squads/{squad}/skills" ]; then
|
|
862
|
+
cp -rn squads/{squad}/skills/* {workspace}/skills/ 2>/dev/null || true
|
|
863
|
+
fi
|
|
864
|
+
- id: collect_data
|
|
865
|
+
action: Copiar data e knowledge bases
|
|
866
|
+
executor: Worker
|
|
867
|
+
command: |
|
|
868
|
+
for squad in {source_squads}:
|
|
869
|
+
find squads/{squad}/data squads/{squad}/knowledge -name '*.md' -type f 2>/dev/null | while read file; do
|
|
870
|
+
name=$(basename "$file")
|
|
871
|
+
cp -n "$file" "{workspace}/data/$name" 2>/dev/null || echo "SKIP: $name exists"
|
|
872
|
+
done
|
|
873
|
+
- id: collect_templates
|
|
874
|
+
action: Copiar templates
|
|
875
|
+
executor: Worker
|
|
876
|
+
command: |
|
|
877
|
+
for squad in {source_squads}:
|
|
878
|
+
find squads/{squad} -path '*/templates/*.md' -type f 2>/dev/null | while read file; do
|
|
879
|
+
name=$(basename "$file")
|
|
880
|
+
cp -n "$file" "{workspace}/templates/$name" 2>/dev/null || echo "SKIP: $name exists"
|
|
881
|
+
done
|
|
882
|
+
- id: collect_checklists
|
|
883
|
+
action: Copiar checklists
|
|
884
|
+
executor: Worker
|
|
885
|
+
command: |
|
|
886
|
+
for squad in {source_squads}:
|
|
887
|
+
find squads/{squad} -path '*/checklists/*.md' -type f 2>/dev/null | while read file; do
|
|
888
|
+
name=$(basename "$file")
|
|
889
|
+
cp -n "$file" "{workspace}/checklists/$name" 2>/dev/null || echo "SKIP: $name exists"
|
|
890
|
+
done
|
|
891
|
+
- id: collect_workflows
|
|
892
|
+
action: Copiar workflows
|
|
893
|
+
executor: Worker
|
|
894
|
+
command: |
|
|
895
|
+
for squad in {source_squads}:
|
|
896
|
+
find squads/{squad} -path '*/workflows/*.yaml' -o -path '*/workflows/*.md' -type f 2>/dev/null | while read file; do
|
|
897
|
+
name=$(basename "$file")
|
|
898
|
+
cp -n "$file" "{workspace}/workflows/$name" 2>/dev/null || echo "SKIP: $name exists"
|
|
899
|
+
done
|
|
900
|
+
- id: handle_conflicts
|
|
901
|
+
action: Listar conflitos para resolução
|
|
902
|
+
executor: Hybrid
|
|
903
|
+
rationale: |
|
|
904
|
+
- Listar: Worker (ls)
|
|
905
|
+
- Resolver: Agent decide ou Human aprova
|
|
906
|
+
command: |
|
|
907
|
+
ls {workspace}/_conflicts/ 2>/dev/null | wc -l
|
|
908
|
+
if_conflicts: Apresentar ao humano para resolução
|
|
909
|
+
- id: verify_collection
|
|
910
|
+
action: Verificar contagens pós-coleta
|
|
911
|
+
executor: Worker
|
|
912
|
+
command: |
|
|
913
|
+
echo "=== WORKSPACE CONTENTS ===" && \
|
|
914
|
+
echo "Agents: $(find {workspace}/agents -name '*.md' | wc -l)" && \
|
|
915
|
+
echo "Tasks: $(find {workspace}/tasks -name '*.md' | wc -l)" && \
|
|
916
|
+
echo "Skills: $(find {workspace}/skills -name 'SKILL.md' | wc -l)" && \
|
|
917
|
+
echo "Data: $(find {workspace}/data -name '*.md' | wc -l)" && \
|
|
918
|
+
echo "Templates: $(find {workspace}/templates -name '*.md' | wc -l)" && \
|
|
919
|
+
echo "Checklists: $(find {workspace}/checklists -name '*.md' | wc -l)" && \
|
|
920
|
+
echo "Workflows: $(find {workspace}/workflows -name '*.yaml' -o -name '*.md' | wc -l)" && \
|
|
921
|
+
echo "Conflicts: $(find {workspace}/_conflicts -name '*.md' | wc -l)"
|
|
922
|
+
- id: reconciliation
|
|
923
|
+
action: "Reconciliação: comparar esperado vs coletado"
|
|
924
|
+
executor: Worker
|
|
925
|
+
rationale: "Pattern: ETL Reconciliation"
|
|
926
|
+
check: |
|
|
927
|
+
expected_agents = len(final_components.agents)
|
|
928
|
+
collected_agents = count({workspace}/agents/*.md)
|
|
929
|
+
if expected_agents != collected_agents:
|
|
930
|
+
ALERT("Discrepância: esperado {expected}, coletado {collected}")
|
|
931
|
+
- id: log_collection
|
|
932
|
+
action: Registrar no audit log
|
|
933
|
+
executor: Worker
|
|
934
|
+
audit_event:
|
|
935
|
+
type: collection_complete
|
|
936
|
+
collected: workspace_contents
|
|
937
|
+
conflicts: conflict_count
|
|
938
|
+
timestamp: "{now}"
|
|
939
|
+
quality_gate:
|
|
940
|
+
name: Collection Gate
|
|
941
|
+
checks:
|
|
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
|
|
946
|
+
output:
|
|
947
|
+
workspace_contents:
|
|
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]
|
|
957
|
+
- id: phase_5_validation
|
|
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
|
|
962
|
+
steps:
|
|
963
|
+
- id: structural_validation
|
|
964
|
+
action: Validar estrutura de cada componente
|
|
965
|
+
executor: Worker
|
|
966
|
+
checks:
|
|
967
|
+
agents:
|
|
968
|
+
- Arquivo não vazio
|
|
969
|
+
- YAML frontmatter válido (se presente)
|
|
970
|
+
- Seções obrigatórias presentes
|
|
971
|
+
tasks:
|
|
972
|
+
- Arquivo não vazio
|
|
973
|
+
- Estrutura de task válida
|
|
974
|
+
skills:
|
|
975
|
+
- SKILL.md existe em cada pasta de skill
|
|
976
|
+
- id: reference_validation
|
|
977
|
+
action: Validar todas as referências
|
|
978
|
+
executor: Worker
|
|
979
|
+
rationale: "Pattern: Foreign Key Validation"
|
|
980
|
+
checks:
|
|
981
|
+
- handoff_to referencia agents existentes
|
|
982
|
+
- depends_on referencia tasks existentes
|
|
983
|
+
- uses referencia data existente
|
|
984
|
+
command: |
|
|
985
|
+
# Extrair todas referências
|
|
986
|
+
grep -rh "handoff_to\|depends_on\|uses" {workspace} --include="*.md" | \
|
|
987
|
+
# Verificar se targets existem
|
|
988
|
+
while read ref; do
|
|
989
|
+
target=$(echo "$ref" | extract_target)
|
|
990
|
+
if ! exists("{workspace}/*/$target*"); then
|
|
991
|
+
echo "BROKEN REF: $ref"
|
|
992
|
+
fi
|
|
993
|
+
done
|
|
994
|
+
- id: quality_validation
|
|
995
|
+
action: Validar qualidade mínima
|
|
996
|
+
executor: Worker
|
|
997
|
+
checks:
|
|
998
|
+
- name: Agent Lines
|
|
999
|
+
rule: Agents >= 300 linhas (exceto orchestrators)
|
|
1000
|
+
command: |
|
|
1001
|
+
for agent in {workspace}/agents/*.md; do
|
|
1002
|
+
lines=$(wc -l < "$agent")
|
|
1003
|
+
if [ $lines -lt 300 ]; then
|
|
1004
|
+
echo "WARN: $(basename $agent) tem apenas $lines linhas"
|
|
1005
|
+
fi
|
|
1006
|
+
done
|
|
1007
|
+
- name: Task Lines
|
|
1008
|
+
rule: Tasks >= 100 linhas
|
|
1009
|
+
- name: Required Sections
|
|
1010
|
+
rule: Agents têm voice_dna, output_examples, anti_patterns
|
|
1011
|
+
command: |
|
|
1012
|
+
for agent in {workspace}/agents/*.md; do
|
|
1013
|
+
if ! grep -q "voice_dna" "$agent"; then
|
|
1014
|
+
echo "MISSING voice_dna: $(basename $agent)"
|
|
1015
|
+
fi
|
|
1016
|
+
if ! grep -q "output_examples" "$agent"; then
|
|
1017
|
+
echo "MISSING output_examples: $(basename $agent)"
|
|
1018
|
+
fi
|
|
1019
|
+
done
|
|
1020
|
+
- id: build_validation_report
|
|
1021
|
+
action: Construir relatório de validação
|
|
1022
|
+
executor: Worker
|
|
1023
|
+
template: |
|
|
1024
|
+
## ✅ VALIDATION REPORT
|
|
1025
|
+
|
|
1026
|
+
### Structural Validation
|
|
1027
|
+
- Agents válidos: {{valid_agents}}/{{total_agents}}
|
|
1028
|
+
- Tasks válidas: {{valid_tasks}}/{{total_tasks}}
|
|
1029
|
+
- Skills válidas: {{valid_skills}}/{{total_skills}}
|
|
1030
|
+
|
|
1031
|
+
### Reference Validation
|
|
1032
|
+
- Referências válidas: {{valid_refs}}/{{total_refs}}
|
|
1033
|
+
- Referências quebradas: {{broken_refs}}
|
|
1034
|
+
{{#if broken_refs}}
|
|
1035
|
+
#### Broken References
|
|
1036
|
+
{{#each broken_ref_details}}
|
|
1037
|
+
- {{source}} → {{target}} ({{type}})
|
|
1038
|
+
{{/each}}
|
|
1039
|
+
{{/if}}
|
|
1040
|
+
|
|
1041
|
+
### Quality Validation
|
|
1042
|
+
| Metric | Pass | Fail | Warn |
|
|
1043
|
+
|--------|------|------|------|
|
|
1044
|
+
| Agent Lines (>=300) | {{agent_lines.pass}} | {{agent_lines.fail}} | {{agent_lines.warn}} |
|
|
1045
|
+
| Task Lines (>=100) | {{task_lines.pass}} | {{task_lines.fail}} | - |
|
|
1046
|
+
| Required Sections | {{sections.pass}} | {{sections.fail}} | - |
|
|
1047
|
+
|
|
1048
|
+
### Overall Status
|
|
1049
|
+
{{#if all_pass}}
|
|
1050
|
+
✅ **PASS** - Pronto para criar estrutura final
|
|
1051
|
+
{{else}}
|
|
1052
|
+
⚠️ **WARN** - {{warn_count}} avisos, {{fail_count}} falhas
|
|
1053
|
+
{{/if}}
|
|
1054
|
+
- id: log_validation
|
|
1055
|
+
action: Registrar no audit log
|
|
1056
|
+
executor: Worker
|
|
1057
|
+
audit_event:
|
|
1058
|
+
type: validation_complete
|
|
1059
|
+
status: pass|warn|fail
|
|
1060
|
+
details: validation_report
|
|
1061
|
+
timestamp: "{now}"
|
|
1062
|
+
checkpoint:
|
|
1063
|
+
type: human_review
|
|
1064
|
+
condition: mode == 'quality' OR validation_status != 'pass'
|
|
1065
|
+
prompt: |
|
|
1066
|
+
## Validation Results
|
|
1067
|
+
|
|
1068
|
+
{{validation_report}}
|
|
1069
|
+
|
|
1070
|
+
{{#if has_failures}}
|
|
1071
|
+
### ⚠️ Atenção: Existem falhas
|
|
1072
|
+
|
|
1073
|
+
Opções:
|
|
1074
|
+
1. Ignorar falhas e continuar (não recomendado)
|
|
1075
|
+
2. Corrigir falhas manualmente e re-validar
|
|
1076
|
+
3. Abortar fusão
|
|
1077
|
+
{{else}}
|
|
1078
|
+
Aprovar e continuar para criação da estrutura final?
|
|
1079
|
+
{{/if}}
|
|
1080
|
+
quality_gate:
|
|
1081
|
+
name: Validation Gate
|
|
1082
|
+
checks:
|
|
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
|
|
1087
|
+
output:
|
|
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
|
|
1096
|
+
steps:
|
|
1097
|
+
- id: create_target_directory
|
|
1098
|
+
action: Criar estrutura de diretórios
|
|
1099
|
+
executor: Worker
|
|
1100
|
+
command: |
|
|
1101
|
+
mkdir -p squads/{target_name}/agents
|
|
1102
|
+
mkdir -p squads/{target_name}/tasks
|
|
1103
|
+
mkdir -p squads/{target_name}/skills
|
|
1104
|
+
mkdir -p squads/{target_name}/data
|
|
1105
|
+
mkdir -p squads/{target_name}/templates
|
|
1106
|
+
mkdir -p squads/{target_name}/checklists
|
|
1107
|
+
mkdir -p squads/{target_name}/workflows
|
|
1108
|
+
- id: move_components
|
|
1109
|
+
action: Mover componentes do workspace para destino
|
|
1110
|
+
executor: Worker
|
|
1111
|
+
rationale: Move (não copy) para garantir exactly-once
|
|
1112
|
+
command: |
|
|
1113
|
+
mv {workspace}/agents/* squads/{target_name}/agents/ 2>/dev/null || true
|
|
1114
|
+
mv {workspace}/tasks/* squads/{target_name}/tasks/ 2>/dev/null || true
|
|
1115
|
+
mv {workspace}/skills/* squads/{target_name}/skills/ 2>/dev/null || true
|
|
1116
|
+
mv {workspace}/data/* squads/{target_name}/data/ 2>/dev/null || true
|
|
1117
|
+
mv {workspace}/templates/* squads/{target_name}/templates/ 2>/dev/null || true
|
|
1118
|
+
mv {workspace}/checklists/* squads/{target_name}/checklists/ 2>/dev/null || true
|
|
1119
|
+
mv {workspace}/workflows/* squads/{target_name}/workflows/ 2>/dev/null || true
|
|
1120
|
+
- id: define_tiers
|
|
1121
|
+
action: Organizar agents em tiers baseado em função
|
|
1122
|
+
executor: Agent
|
|
1123
|
+
rationale: |
|
|
1124
|
+
Precisa entender o PROPÓSITO de cada agent para classificar:
|
|
1125
|
+
- Tier 0: Diagnóstico/Estratégia (pensar antes de agir)
|
|
1126
|
+
- Tier 1: Especialistas de Plataforma (execução especializada)
|
|
1127
|
+
- Tier 2: Execução/Operação (trabalho do dia-a-dia)
|
|
1128
|
+
prompt: |
|
|
1129
|
+
Analise os agents coletados em {workspace}/agents/ e organize em tiers.
|
|
1130
|
+
|
|
1131
|
+
Para cada agent:
|
|
1132
|
+
1. Leia o arquivo completo
|
|
1133
|
+
2. Identifique sua função principal
|
|
1134
|
+
3. Classifique no tier apropriado
|
|
1135
|
+
|
|
1136
|
+
Output esperado (YAML):
|
|
1137
|
+
```yaml
|
|
1138
|
+
tiers:
|
|
1139
|
+
tier_0:
|
|
1140
|
+
name: "Strategic/Diagnostic"
|
|
1141
|
+
agents: [agent1, agent2]
|
|
1142
|
+
when_to_use: "Quando precisa de diagnóstico ou estratégia"
|
|
1143
|
+
tier_1:
|
|
1144
|
+
name: "Platform Specialists"
|
|
1145
|
+
agents: [agent3, agent4]
|
|
1146
|
+
when_to_use: "Quando precisa de expertise em plataforma específica"
|
|
1147
|
+
tier_2:
|
|
1148
|
+
name: "Execution/Operations"
|
|
1149
|
+
agents: [agent5, agent6]
|
|
1150
|
+
when_to_use: "Quando precisa de execução operacional"
|
|
1151
|
+
```
|
|
1152
|
+
store_as: tiers
|
|
1153
|
+
- id: define_routing_rules
|
|
1154
|
+
action: Criar regras de routing por especialidade
|
|
1155
|
+
executor: Agent
|
|
1156
|
+
rationale: |
|
|
1157
|
+
Precisa mapear especialidades de cada agent para criar routing:
|
|
1158
|
+
- Qual agent usar para Meta Ads?
|
|
1159
|
+
- Qual agent usar para Google Ads?
|
|
1160
|
+
- Qual agent usar para scaling?
|
|
1161
|
+
prompt: |
|
|
1162
|
+
Analise os agents em {workspace}/agents/ e crie regras de routing.
|
|
1163
|
+
|
|
1164
|
+
Para cada agent:
|
|
1165
|
+
1. Identifique suas especialidades
|
|
1166
|
+
2. Mapeie para cenários de uso
|
|
1167
|
+
|
|
1168
|
+
Output esperado (YAML):
|
|
1169
|
+
```yaml
|
|
1170
|
+
routing:
|
|
1171
|
+
meta_ads: [agent-especialista-meta]
|
|
1172
|
+
google_ads: [agent-especialista-google]
|
|
1173
|
+
youtube_ads: [agent-especialista-youtube]
|
|
1174
|
+
scaling: [agent-scaling-1, agent-scaling-2]
|
|
1175
|
+
creative: [agent-creative]
|
|
1176
|
+
analytics: [agent-analytics]
|
|
1177
|
+
compliance: [agent-compliance]
|
|
1178
|
+
```
|
|
1179
|
+
store_as: routing_rules
|
|
1180
|
+
- id: generate_config
|
|
1181
|
+
action: Gerar config.yaml
|
|
1182
|
+
executor: Worker
|
|
1183
|
+
depends_on:
|
|
1184
|
+
- define_tiers
|
|
1185
|
+
- define_routing_rules
|
|
1186
|
+
template: |
|
|
1187
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1188
|
+
# {target_name} - Squad Fusion Result
|
|
1189
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1190
|
+
# Gerado por wf-squad-fusion v2.0
|
|
1191
|
+
# Data: {timestamp}
|
|
1192
|
+
# Modo: {mode}
|
|
1193
|
+
|
|
1194
|
+
squad:
|
|
1195
|
+
name: "{target_name}"
|
|
1196
|
+
title: "{target_title}"
|
|
1197
|
+
version: "1.0.0"
|
|
1198
|
+
|
|
1199
|
+
description: |
|
|
1200
|
+
Fusão de {source_count} squads: {source_list}
|
|
1201
|
+
Domínio: {target_domain}
|
|
1202
|
+
icon: "{icon}"
|
|
1203
|
+
slash_prefix: "{prefix}"
|
|
1204
|
+
|
|
1205
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1206
|
+
# FUSION METADATA (Provenance)
|
|
1207
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1208
|
+
fusion:
|
|
1209
|
+
workflow: "wf-squad-fusion"
|
|
1210
|
+
workflow_version: "2.0.0"
|
|
1211
|
+
fusion_id: "{fusion_id}"
|
|
1212
|
+
fusion_date: "{timestamp}"
|
|
1213
|
+
fusion_mode: "{mode}"
|
|
1214
|
+
source_squads:
|
|
1215
|
+
{{#each sources}}
|
|
1216
|
+
- name: "{{name}}"
|
|
1217
|
+
contributed:
|
|
1218
|
+
agents: {{agents}}
|
|
1219
|
+
tasks: {{tasks}}
|
|
1220
|
+
skills: {{skills}}
|
|
1221
|
+
{{/each}}
|
|
1222
|
+
assets_total:
|
|
1223
|
+
agents: {final_agents}
|
|
1224
|
+
tasks: {final_tasks}
|
|
1225
|
+
skills: {final_skills}
|
|
1226
|
+
data: {final_data}
|
|
1227
|
+
templates: {final_templates}
|
|
1228
|
+
checklists: {final_checklists}
|
|
1229
|
+
workflows: {final_workflows}
|
|
1230
|
+
deduplication:
|
|
1231
|
+
duplicates_found: {duplicates_found}
|
|
1232
|
+
duplicates_resolved: {duplicates_resolved}
|
|
1233
|
+
scope_filtering:
|
|
1234
|
+
in_scope: {in_scope}
|
|
1235
|
+
excluded: {excluded}
|
|
1236
|
+
|
|
1237
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1238
|
+
# ORCHESTRATOR
|
|
1239
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1240
|
+
orchestrator:
|
|
1241
|
+
agent: "{target_name}-chief"
|
|
1242
|
+
activation: "@{target_name}"
|
|
1243
|
+
|
|
1244
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1245
|
+
# TIER STRUCTURE
|
|
1246
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1247
|
+
tiers:
|
|
1248
|
+
{{#each tiers}}
|
|
1249
|
+
tier_{{level}}:
|
|
1250
|
+
name: "{{name}}"
|
|
1251
|
+
agents:
|
|
1252
|
+
{{#each agents}}
|
|
1253
|
+
- {{this}}
|
|
1254
|
+
{{/each}}
|
|
1255
|
+
when_to_use: "{{when}}"
|
|
1256
|
+
{{/each}}
|
|
1257
|
+
|
|
1258
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1259
|
+
# ROUTING
|
|
1260
|
+
# ═══════════════════════════════════════════════════════════════════════════════
|
|
1261
|
+
routing:
|
|
1262
|
+
{{#each routing_rules}}
|
|
1263
|
+
{{key}}: {{agents}}
|
|
1264
|
+
{{/each}}
|
|
1265
|
+
- id: generate_readme
|
|
1266
|
+
action: Gerar README.md
|
|
1267
|
+
executor: Worker
|
|
1268
|
+
template: |
|
|
1269
|
+
# {target_name}
|
|
1270
|
+
|
|
1271
|
+
> 🐉 Fusão Dragon Ball de {source_count} squads
|
|
1272
|
+
|
|
1273
|
+
## Origem
|
|
1274
|
+
|
|
1275
|
+
Este squad foi criado pela fusão de:
|
|
1276
|
+
{{#each sources}}
|
|
1277
|
+
- **{{name}}**: {{agents}} agents, {{tasks}} tasks
|
|
1278
|
+
{{/each}}
|
|
1279
|
+
|
|
1280
|
+
## 📊 Composição Final
|
|
1281
|
+
|
|
1282
|
+
| Tipo | Quantidade |
|
|
1283
|
+
|------|------------|
|
|
1284
|
+
| Agents | {agents_count} |
|
|
1285
|
+
| Tasks | {tasks_count} |
|
|
1286
|
+
| Skills | {skills_count} |
|
|
1287
|
+
| Data | {data_count} |
|
|
1288
|
+
| Templates | {templates_count} |
|
|
1289
|
+
| Checklists | {checklists_count} |
|
|
1290
|
+
| Workflows | {workflows_count} |
|
|
1291
|
+
|
|
1292
|
+
## 🎯 Agents por Tier
|
|
1293
|
+
|
|
1294
|
+
{{#each tiers}}
|
|
1295
|
+
### Tier {{level}}: {{name}}
|
|
1296
|
+
{{#each agents}}
|
|
1297
|
+
- `@{{this}}`
|
|
1298
|
+
{{/each}}
|
|
1299
|
+
{{/each}}
|
|
1300
|
+
|
|
1301
|
+
## 🔧 Comandos Disponíveis
|
|
1302
|
+
|
|
1303
|
+
{{#each tasks}}
|
|
1304
|
+
- `*{{name}}` - {{description}}
|
|
1305
|
+
{{/each}}
|
|
1306
|
+
|
|
1307
|
+
## 📈 Skills
|
|
1308
|
+
|
|
1309
|
+
{{#each skills}}
|
|
1310
|
+
- `{{name}}` - {{description}}
|
|
1311
|
+
{{/each}}
|
|
1312
|
+
|
|
1313
|
+
## 🔗 Provenance
|
|
1314
|
+
|
|
1315
|
+
Cada componente mantém rastreabilidade à sua origem.
|
|
1316
|
+
Ver `config.yaml` seção `fusion` para detalhes completos.
|
|
1317
|
+
|
|
1318
|
+
---
|
|
1319
|
+
|
|
1320
|
+
*Gerado por wf-squad-fusion v2.0 em {timestamp}*
|
|
1321
|
+
- id: create_orchestrator_if_needed
|
|
1322
|
+
action: Criar orchestrator se não existe
|
|
1323
|
+
executor: Agent
|
|
1324
|
+
condition: "!exists(squads/{target_name}/agents/{target_name}-chief.md)"
|
|
1325
|
+
rationale: |
|
|
1326
|
+
Orchestrator precisa conhecer TODOS os agents do squad e saber:
|
|
1327
|
+
- Quando acionar cada um
|
|
1328
|
+
- Como fazer handoff entre eles
|
|
1329
|
+
- Quais comandos disponibilizar
|
|
1330
|
+
prompt: |
|
|
1331
|
+
Crie um orchestrator para o squad {target_name}.
|
|
1332
|
+
|
|
1333
|
+
Context:
|
|
1334
|
+
- Agents disponíveis: {agent_list}
|
|
1335
|
+
- Tiers definidos: {tiers}
|
|
1336
|
+
- Routing rules: {routing_rules}
|
|
1337
|
+
- Domínio: {target_domain}
|
|
1338
|
+
|
|
1339
|
+
O orchestrator deve:
|
|
1340
|
+
1. Ter voice_dna próprio (profissional, direto)
|
|
1341
|
+
2. Conhecer todos os agents e suas especialidades
|
|
1342
|
+
3. Saber quando delegar para qual agent
|
|
1343
|
+
4. Ter comandos que façam sentido para o domínio
|
|
1344
|
+
|
|
1345
|
+
Use o template base de:
|
|
1346
|
+
squads/squad-creator/templates/orchestrator-tmpl.md
|
|
1347
|
+
|
|
1348
|
+
Output: Markdown completo do orchestrator
|
|
1349
|
+
output_path: squads/{target_name}/agents/{target_name}-chief.md
|
|
1350
|
+
- id: preserve_audit_log
|
|
1351
|
+
action: Mover audit log para destino
|
|
1352
|
+
executor: Worker
|
|
1353
|
+
command: |
|
|
1354
|
+
mv {workspace}/fusion-audit.yaml squads/{target_name}/fusion-audit.yaml
|
|
1355
|
+
mv {workspace}/_audit/* squads/{target_name}/_audit/ 2>/dev/null || true
|
|
1356
|
+
- id: final_count_verification
|
|
1357
|
+
action: Verificação final de contagem
|
|
1358
|
+
executor: Worker
|
|
1359
|
+
command: |
|
|
1360
|
+
echo "=== FINAL SQUAD CONTENTS ===" && \
|
|
1361
|
+
echo "Agents: $(find squads/{target_name}/agents -name '*.md' | wc -l)" && \
|
|
1362
|
+
echo "Tasks: $(find squads/{target_name}/tasks -name '*.md' | wc -l)" && \
|
|
1363
|
+
echo "Skills: $(find squads/{target_name}/skills -name 'SKILL.md' | wc -l)" && \
|
|
1364
|
+
echo "Data: $(find squads/{target_name}/data -name '*.md' | wc -l)"
|
|
1365
|
+
- id: log_structure_creation
|
|
1366
|
+
action: Registrar no audit log
|
|
1367
|
+
executor: Worker
|
|
1368
|
+
audit_event:
|
|
1369
|
+
type: structure_created
|
|
1370
|
+
path: squads/{target_name}
|
|
1371
|
+
timestamp: "{now}"
|
|
1372
|
+
quality_gate:
|
|
1373
|
+
name: Structure Gate
|
|
1374
|
+
checks:
|
|
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
|
|
1381
|
+
output:
|
|
1382
|
+
squad_path: string
|
|
1383
|
+
config_valid: boolean
|
|
1384
|
+
final_counts: AssetCounts
|
|
1385
|
+
- id: phase_7_integration
|
|
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
|
|
1390
|
+
steps:
|
|
1391
|
+
- id: smoke_test_activation
|
|
1392
|
+
action: Testar ativação do orchestrator
|
|
1393
|
+
executor: Hybrid
|
|
1394
|
+
rationale: Verificar estrutura=Worker, testar comportamento=Agent
|
|
1395
|
+
test: |
|
|
1396
|
+
# Simular: @{target_name}
|
|
1397
|
+
# Verificar que orchestrator responde
|
|
1398
|
+
- id: smoke_test_routing
|
|
1399
|
+
action: Testar routing entre agents
|
|
1400
|
+
executor: Hybrid
|
|
1401
|
+
rationale: Verificar existência=Worker, testar funcionamento=Agent
|
|
1402
|
+
test: |
|
|
1403
|
+
# Para cada tier, verificar que agents são alcançáveis
|
|
1404
|
+
- id: smoke_test_tasks
|
|
1405
|
+
action: Testar que tasks são executáveis
|
|
1406
|
+
executor: Worker
|
|
1407
|
+
test: |
|
|
1408
|
+
# Para cada task, verificar sintaxe e dependências
|
|
1409
|
+
- id: generate_test_report
|
|
1410
|
+
action: Gerar relatório de testes
|
|
1411
|
+
executor: Worker
|
|
1412
|
+
template: |
|
|
1413
|
+
## 🧪 INTEGRATION TEST REPORT
|
|
1414
|
+
|
|
1415
|
+
### Activation Tests
|
|
1416
|
+
- Orchestrator activation: {{orchestrator_status}}
|
|
1417
|
+
- Agent count visible: {{agents_visible}}
|
|
1418
|
+
|
|
1419
|
+
### Routing Tests
|
|
1420
|
+
{{#each routing_tests}}
|
|
1421
|
+
- {{route}}: {{status}}
|
|
1422
|
+
{{/each}}
|
|
1423
|
+
|
|
1424
|
+
### Task Tests
|
|
1425
|
+
{{#each task_tests}}
|
|
1426
|
+
- *{{task}}: {{status}}
|
|
1427
|
+
{{/each}}
|
|
1428
|
+
|
|
1429
|
+
### Overall: {{overall_status}}
|
|
1430
|
+
- id: log_integration
|
|
1431
|
+
action: Registrar no audit log
|
|
1432
|
+
executor: Worker
|
|
1433
|
+
audit_event:
|
|
1434
|
+
type: integration_test_complete
|
|
1435
|
+
status: pass|fail
|
|
1436
|
+
timestamp: "{now}"
|
|
1437
|
+
checkpoint:
|
|
1438
|
+
type: human_review
|
|
1439
|
+
condition: mode == 'quality'
|
|
1440
|
+
prompt: |
|
|
1441
|
+
## Integration Test Results
|
|
1442
|
+
|
|
1443
|
+
{{test_report}}
|
|
1444
|
+
|
|
1445
|
+
Squad fusionado está funcional?
|
|
1446
|
+
Aprovar para finalizar (opcional: cleanup de fontes)?
|
|
1447
|
+
quality_gate:
|
|
1448
|
+
name: Integration Gate
|
|
1449
|
+
checks:
|
|
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
|
|
1454
|
+
output:
|
|
1455
|
+
test_status: pass|warn|fail
|
|
1456
|
+
test_report: markdown
|
|
1457
|
+
- id: phase_7_5_command_sync
|
|
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/
|
|
1462
|
+
critical_rule: |
|
|
1463
|
+
🚨 OBRIGATÓRIO: Sempre executar após criar squad fusionado
|
|
1464
|
+
|
|
1465
|
+
Esta fase garante que:
|
|
1466
|
+
1. Novos commands do target squad estão disponíveis
|
|
1467
|
+
2. Commands dos squads fonte removidos são limpos
|
|
1468
|
+
3. IDE reconhece o novo squad imediatamente
|
|
1469
|
+
steps:
|
|
1470
|
+
- id: remove_old_commands
|
|
1471
|
+
action: Remover commands dos squads fonte
|
|
1472
|
+
executor: Worker
|
|
1473
|
+
command: |
|
|
1474
|
+
for squad in {source_squads}:
|
|
1475
|
+
if [ -d ".claude/agents/{squad}" ]; then
|
|
1476
|
+
rm -rf ".claude/agents/{squad}"
|
|
1477
|
+
echo "✅ Removed: .claude/agents/{squad}"
|
|
1478
|
+
fi
|
|
1479
|
+
if [ -f ".claude/agents/{squad}.md" ]; then
|
|
1480
|
+
rm -f ".claude/agents/{squad}.md"
|
|
1481
|
+
echo "✅ Removed: .claude/agents/{squad}.md"
|
|
1482
|
+
fi
|
|
1483
|
+
- id: create_command_structure
|
|
1484
|
+
action: Criar estrutura de commands do target
|
|
1485
|
+
executor: Worker
|
|
1486
|
+
command: |
|
|
1487
|
+
mkdir -p .claude/agents/{target_name}/agents
|
|
1488
|
+
mkdir -p .claude/agents/{target_name}/tasks
|
|
1489
|
+
mkdir -p .claude/agents/{target_name}/skills
|
|
1490
|
+
- id: copy_agents_to_commands
|
|
1491
|
+
action: Copiar agents para .claude/agents/
|
|
1492
|
+
executor: Worker
|
|
1493
|
+
command: |
|
|
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"
|
|
1496
|
+
- id: copy_tasks_to_commands
|
|
1497
|
+
action: Copiar tasks para .claude/agents/
|
|
1498
|
+
executor: Worker
|
|
1499
|
+
command: |
|
|
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"
|
|
1502
|
+
- id: copy_skills_to_commands
|
|
1503
|
+
action: Copiar skills para .claude/agents/
|
|
1504
|
+
executor: Worker
|
|
1505
|
+
command: |
|
|
1506
|
+
find squads/{target_name}/skills -name 'SKILL.md' -exec cp {} .claude/agents/{target_name}/skills/ \; 2>/dev/null
|
|
1507
|
+
echo "✅ Copied skills"
|
|
1508
|
+
- id: create_main_command
|
|
1509
|
+
action: Criar arquivo de comando principal
|
|
1510
|
+
executor: Worker
|
|
1511
|
+
template: |
|
|
1512
|
+
# /{target_name} - {target_title}
|
|
1513
|
+
|
|
1514
|
+
Activate the {target_title} squad.
|
|
1515
|
+
|
|
1516
|
+
## Instructions
|
|
1517
|
+
|
|
1518
|
+
**Read and follow `squads/{target_name}/agents/{target_name}-chief.md` activation-instructions exactly.**
|
|
1519
|
+
|
|
1520
|
+
Do NOT search for files. Do NOT load additional files on activation.
|
|
1521
|
+
Only read the agent file above and execute its greeting script.
|
|
1522
|
+
output_path: .claude/agents/{target_name}.md
|
|
1523
|
+
- id: verify_command_sync
|
|
1524
|
+
action: Verificar sincronização
|
|
1525
|
+
executor: Worker
|
|
1526
|
+
command: |
|
|
1527
|
+
echo "=== COMMAND SYNC VERIFICATION ==="
|
|
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)"
|
|
1533
|
+
- id: log_command_sync
|
|
1534
|
+
action: Registrar no audit log
|
|
1535
|
+
executor: Worker
|
|
1536
|
+
audit_event:
|
|
1537
|
+
type: command_sync_complete
|
|
1538
|
+
target: .claude/agents/{target_name}
|
|
1539
|
+
sources_removed: "{source_squads}"
|
|
1540
|
+
timestamp: "{now}"
|
|
1541
|
+
quality_gate:
|
|
1542
|
+
name: Command Sync Gate
|
|
1543
|
+
checks:
|
|
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
|
|
1549
|
+
output:
|
|
1550
|
+
commands_synced: boolean
|
|
1551
|
+
old_commands_removed: list[string]
|
|
1552
|
+
- id: phase_8_cleanup
|
|
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
|
|
1558
|
+
steps:
|
|
1559
|
+
- id: confirm_cleanup
|
|
1560
|
+
action: Confirmar com usuário antes de deletar
|
|
1561
|
+
executor: Human
|
|
1562
|
+
rationale: Decisão irreversível requer aprovação humana
|
|
1563
|
+
prompt: |
|
|
1564
|
+
## ⚠️ CLEANUP CONFIRMATION
|
|
1565
|
+
|
|
1566
|
+
A fusão foi bem-sucedida. Deseja remover os squads fonte?
|
|
1567
|
+
|
|
1568
|
+
Squads a remover:
|
|
1569
|
+
{{#each source_squads}}
|
|
1570
|
+
- squads/{{this}}/
|
|
1571
|
+
{{/each}}
|
|
1572
|
+
|
|
1573
|
+
Backup disponível em: {{backup_path}}
|
|
1574
|
+
|
|
1575
|
+
**Esta ação é irreversível (exceto via restore do backup).**
|
|
1576
|
+
|
|
1577
|
+
Confirmar remoção?
|
|
1578
|
+
options:
|
|
1579
|
+
- Sim, remover fontes
|
|
1580
|
+
- Não, manter fontes (recomendado para teste)
|
|
1581
|
+
- Remover apenas depois de X dias
|
|
1582
|
+
- id: remove_sources
|
|
1583
|
+
action: Remover squads fonte
|
|
1584
|
+
executor: Worker
|
|
1585
|
+
condition: user_confirmed_cleanup == true
|
|
1586
|
+
command: |
|
|
1587
|
+
for squad in {source_squads}:
|
|
1588
|
+
rm -rf squads/{squad}
|
|
1589
|
+
echo "REMOVED: squads/{squad}"
|
|
1590
|
+
- id: update_registry
|
|
1591
|
+
action: Atualizar ecosystem-registry.yaml
|
|
1592
|
+
executor: Worker
|
|
1593
|
+
command: Execute *refresh-registry
|
|
1594
|
+
- id: cleanup_workspace
|
|
1595
|
+
action: Remover workspace temporário
|
|
1596
|
+
executor: Worker
|
|
1597
|
+
command: rm -rf {workspace}
|
|
1598
|
+
- id: log_cleanup
|
|
1599
|
+
action: Registrar no audit log final
|
|
1600
|
+
executor: Worker
|
|
1601
|
+
audit_event:
|
|
1602
|
+
type: fusion_complete
|
|
1603
|
+
sources_removed: boolean
|
|
1604
|
+
timestamp: "{now}"
|
|
1605
|
+
output:
|
|
1606
|
+
sources_removed: boolean
|
|
1607
|
+
final_status: complete
|
|
1608
|
+
heuristics:
|
|
1609
|
+
- id: H_FUSION_001
|
|
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
|
|
1615
|
+
- id: H_FUSION_002
|
|
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
|
|
1622
|
+
- id: H_FUSION_003
|
|
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
|
|
1628
|
+
- id: H_FUSION_004
|
|
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
|
|
1634
|
+
- id: H_FUSION_005
|
|
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
|
|
1640
|
+
- id: H_FUSION_006
|
|
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
|
|
1647
|
+
- id: H_FUSION_007
|
|
1648
|
+
name: Provenance Sempre
|
|
1649
|
+
rule: Todo componente deve ser rastreável à origem
|
|
1650
|
+
rationale: Debugging e auditoria futura
|
|
1651
|
+
applies_to:
|
|
1652
|
+
- all
|
|
1653
|
+
- id: H_FUSION_008
|
|
1654
|
+
name: Log Tudo
|
|
1655
|
+
rule: Cada decisão registrada no audit log
|
|
1656
|
+
rationale: Reprodutibilidade e accountability
|
|
1657
|
+
applies_to:
|
|
1658
|
+
- all
|
|
1659
|
+
quick_reference:
|
|
1660
|
+
phases_summary:
|
|
1661
|
+
- "Phase 0: Init - Setup workspace e backup"
|
|
1662
|
+
- "Phase 1: Discovery - Inventário COMPLETO"
|
|
1663
|
+
- "Phase 2: Deduplication - Resolver duplicatas"
|
|
1664
|
+
- "Phase 3: Scope - Filtrar por domínio"
|
|
1665
|
+
- "Phase 4: Collection - Copiar para workspace"
|
|
1666
|
+
- "Phase 5: Validation - Quality gates"
|
|
1667
|
+
- "Phase 6: Structure - Criar squad final"
|
|
1668
|
+
- "Phase 7: Integration - Testar funcionamento"
|
|
1669
|
+
- "Phase 7.5: Command Sync - Sincronizar .claude/agents/"
|
|
1670
|
+
- "Phase 8: Cleanup - Remover fontes (opcional)"
|
|
1671
|
+
checkpoints:
|
|
1672
|
+
yolo_mode: Nenhum (decisões automáticas)
|
|
1673
|
+
quality_mode:
|
|
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)
|
|
1681
|
+
rollback_points:
|
|
1682
|
+
- "Phase 0-3: Trivial (apenas análise)"
|
|
1683
|
+
- "Phase 4: Delete workspace, retry"
|
|
1684
|
+
- "Phase 5: Fix issues, re-validate"
|
|
1685
|
+
- "Phase 6: Delete target squad, workspace intact"
|
|
1686
|
+
- "Phase 7: Keep sources, don't cleanup"
|
|
1687
|
+
- "Phase 7.5: Re-sync commands from squads/"
|
|
1688
|
+
- "Phase 8: Restore from backup"
|
|
1689
|
+
time_estimates:
|
|
1690
|
+
yolo_mode: 15-30 minutos
|
|
1691
|
+
quality_mode: 45-90 minutos
|