aiox-core 5.0.5 → 5.0.8
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/cli/commands/pro/buyer.js +379 -0
- package/.aiox-core/cli/commands/pro/index.js +191 -52
- package/.aiox-core/cli/commands/validate/index.js +2 -0
- package/.aiox-core/core/code-intel/helpers/dev-helper.js +1 -1
- package/.aiox-core/core/code-intel/helpers/devops-helper.js +0 -1
- package/.aiox-core/core/code-intel/helpers/planning-helper.js +1 -1
- package/.aiox-core/core/code-intel/helpers/qa-helper.js +2 -2
- package/.aiox-core/core/config/schemas/framework-config.schema.json +1 -0
- package/.aiox-core/core/config/template-overrides.js +1 -1
- package/.aiox-core/core/doctor/checks/ide-sync.js +81 -25
- package/.aiox-core/core/doctor/checks/rules-files.js +0 -1
- package/.aiox-core/core/doctor/checks/skills-count.js +83 -15
- package/.aiox-core/core/graph-dashboard/cli.js +1 -2
- package/.aiox-core/core/graph-dashboard/data-sources/code-intel-source.js +1 -1
- package/.aiox-core/core/ids/layer-classifier.js +1 -1
- package/.aiox-core/core/pro/pro-updater.js +578 -0
- package/.aiox-core/core/synapse/context/context-tracker.js +107 -9
- package/.aiox-core/core/synapse/layers/layer-processor.js +1 -1
- package/.aiox-core/core-config.yaml +15 -1
- package/.aiox-core/data/capability-detection.js +15 -15
- package/.aiox-core/data/entity-registry.yaml +18 -2
- package/.aiox-core/data/registry-update-log.jsonl +5 -0
- package/.aiox-core/data/tok3-token-comparison.js +0 -4
- package/.aiox-core/data/tool-search-validation.js +1 -1
- package/.aiox-core/development/agents/aiox-master.md +44 -6
- package/.aiox-core/development/agents/data-engineer.md +4 -4
- package/.aiox-core/development/agents/devops.md +52 -2
- package/.aiox-core/development/agents/po.md +1 -1
- package/.aiox-core/development/agents/qa.md +5 -11
- package/.aiox-core/development/agents/sm.md +3 -3
- package/.aiox-core/development/agents/ux-design-expert.md +1 -1
- package/.aiox-core/development/scripts/unified-activation-pipeline.js +29 -3
- package/.aiox-core/development/tasks/dev-develop-story.md +46 -7
- package/.aiox-core/development/tasks/devops-pro-access-grant.md +93 -0
- package/.aiox-core/development/tasks/devops-pro-activate.md +42 -0
- package/.aiox-core/development/tasks/devops-pro-check-access.md +34 -0
- package/.aiox-core/development/tasks/devops-pro-request-reset.md +34 -0
- package/.aiox-core/development/tasks/devops-pro-resend-verification.md +32 -0
- package/.aiox-core/development/tasks/devops-pro-reset-password.md +36 -0
- package/.aiox-core/development/tasks/devops-pro-validate-login.md +36 -0
- package/.aiox-core/development/tasks/devops-pro-verify-status.md +33 -0
- package/.aiox-core/development/tasks/qa-gate.md +54 -4
- package/.aiox-core/development/tasks/validate-next-story.md +39 -2
- package/.aiox-core/framework-config.yaml +1 -0
- package/.aiox-core/infrastructure/scripts/codex-skills-sync/README.md +69 -0
- package/.aiox-core/infrastructure/scripts/codex-skills-sync/bootstrap.js +727 -0
- package/.aiox-core/infrastructure/scripts/codex-skills-sync/index.js +10 -0
- package/.aiox-core/infrastructure/scripts/codex-skills-sync/validate.js +65 -4
- package/.aiox-core/infrastructure/scripts/generate-settings-json.js +29 -4
- package/.aiox-core/infrastructure/scripts/ide-sync/agent-parser.js +4 -0
- package/.aiox-core/infrastructure/scripts/ide-sync/index.js +67 -7
- package/.aiox-core/infrastructure/scripts/ide-sync/transformers/claude-code.js +145 -3
- package/.aiox-core/infrastructure/scripts/repair-agent-references.js +263 -0
- package/.aiox-core/infrastructure/scripts/validate-claude-integration.js +60 -8
- package/.aiox-core/infrastructure/scripts/validate-paths.js +13 -0
- package/.aiox-core/install-manifest.yaml +134 -82
- package/.aiox-core/utils/filters/index.js +2 -1
- package/.claude/commands/AIOX/agents/aiox-master.md +21 -0
- package/.claude/commands/AIOX/agents/analyst.md +21 -0
- package/.claude/commands/AIOX/agents/architect.md +21 -0
- package/.claude/commands/AIOX/agents/data-engineer.md +21 -0
- package/.claude/commands/AIOX/agents/dev.md +21 -0
- package/.claude/commands/AIOX/agents/devops.md +21 -0
- package/.claude/commands/AIOX/agents/pm.md +21 -0
- package/.claude/commands/AIOX/agents/po.md +21 -0
- package/.claude/commands/AIOX/agents/qa.md +21 -0
- package/.claude/commands/AIOX/agents/sm.md +21 -0
- package/.claude/commands/AIOX/agents/squad-creator.md +21 -0
- package/.claude/commands/AIOX/agents/ux-design-expert.md +21 -0
- package/.claude/commands/AIOX/scripts/agent-config-loader.js +624 -0
- package/.claude/commands/AIOX/scripts/generate-greeting.js +160 -0
- package/.claude/commands/AIOX/scripts/greeting-builder.js +866 -0
- package/.claude/commands/AIOX/scripts/session-context-loader.js +286 -0
- package/.claude/commands/AIOX/stories/story-6.1.4.md +1404 -0
- package/.claude/commands/cohort-squad/agents/cohort-manager.md +156 -0
- package/.claude/commands/design-system/agents/brad-frost.md +1097 -0
- package/.claude/commands/design-system/agents/dan-mall.md +857 -0
- package/.claude/commands/design-system/agents/dave-malouf.md +2272 -0
- package/.claude/commands/design-system/agents/design-chief.md +102 -0
- package/.claude/commands/design-system/agents/nano-banana-generator.md +162 -0
- package/.claude/commands/greet.md +101 -0
- package/.claude/commands/synapse/manager.md +75 -0
- package/.claude/commands/synapse/tasks/add-rule.md +94 -0
- package/.claude/commands/synapse/tasks/create-command.md +109 -0
- package/.claude/commands/synapse/tasks/create-domain.md +127 -0
- package/.claude/commands/synapse/tasks/diagnose-synapse.md +245 -0
- package/.claude/commands/synapse/tasks/edit-rule.md +109 -0
- package/.claude/commands/synapse/tasks/suggest-domain.md +116 -0
- package/.claude/commands/synapse/tasks/toggle-domain.md +83 -0
- package/.claude/commands/synapse/templates/domain-template +8 -0
- package/.claude/commands/synapse/templates/manifest-entry-template +4 -0
- package/.claude/commands/synapse/utils/manifest-parser-reference.md +134 -0
- package/.claude/hooks/precompact-session-digest.cjs +2 -2
- package/.claude/skills/AIOX/agents/aiox-master/SKILL.md +511 -0
- package/.claude/skills/AIOX/agents/analyst/SKILL.md +281 -0
- package/.claude/skills/AIOX/agents/architect/SKILL.md +482 -0
- package/.claude/skills/AIOX/agents/data-engineer/SKILL.md +503 -0
- package/.claude/skills/AIOX/agents/dev/SKILL.md +568 -0
- package/.claude/skills/AIOX/agents/devops/SKILL.md +597 -0
- package/.claude/skills/AIOX/agents/pm/SKILL.md +385 -0
- package/.claude/skills/AIOX/agents/po/SKILL.md +343 -0
- package/.claude/skills/AIOX/agents/qa/SKILL.md +451 -0
- package/.claude/skills/AIOX/agents/sm/SKILL.md +295 -0
- package/.claude/skills/AIOX/agents/squad-creator/SKILL.md +352 -0
- package/.claude/skills/AIOX/agents/ux-design-expert/SKILL.md +503 -0
- package/.claude/skills/architect-first/SKILL.md +275 -0
- package/.claude/skills/architect-first/assets/architecture-template.md +505 -0
- package/.claude/skills/architect-first/assets/config-template.yaml +351 -0
- package/.claude/skills/architect-first/references/architecture-checklist.md +216 -0
- package/.claude/skills/architect-first/references/pre-implementation-checklist.md +119 -0
- package/.claude/skills/architect-first/references/stop-rules-guide.md +291 -0
- package/.claude/skills/architect-first/references/testing-strategy-guide.md +477 -0
- package/.claude/skills/architect-first/scripts/architecture_validator.py +490 -0
- package/.claude/skills/architect-first/scripts/check_coupling.py +306 -0
- package/.claude/skills/architect-first/scripts/validate_risk_mitigation.py +382 -0
- package/.claude/skills/checklist-runner/SKILL.md +113 -0
- package/.claude/skills/clone-mind.md +329 -0
- package/.claude/skills/coderabbit-review/SKILL.md +106 -0
- package/.claude/skills/course-generation-workflow.md +76 -0
- package/.claude/skills/enhance-workflow.md +466 -0
- package/.claude/skills/mcp-builder/LICENSE.txt +202 -0
- package/.claude/skills/mcp-builder/SKILL.md +328 -0
- package/.claude/skills/mcp-builder/reference/evaluation.md +602 -0
- package/.claude/skills/mcp-builder/reference/mcp_best_practices.md +915 -0
- package/.claude/skills/mcp-builder/reference/node_mcp_server.md +916 -0
- package/.claude/skills/mcp-builder/reference/python_mcp_server.md +752 -0
- package/.claude/skills/mcp-builder/scripts/connections.py +151 -0
- package/.claude/skills/mcp-builder/scripts/evaluation.py +373 -0
- package/.claude/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
- package/.claude/skills/mcp-builder/scripts/requirements.txt +2 -0
- package/.claude/skills/ralph.md +181 -0
- package/.claude/skills/skill-creator/LICENSE.txt +202 -0
- package/.claude/skills/skill-creator/SKILL.md +209 -0
- package/.claude/skills/skill-creator/scripts/init_skill.py +303 -0
- package/.claude/skills/skill-creator/scripts/package_skill.py +110 -0
- package/.claude/skills/skill-creator/scripts/quick_validate.py +65 -0
- package/.claude/skills/squad.md +301 -0
- package/.claude/skills/synapse/SKILL.md +132 -0
- package/.claude/skills/synapse/assets/README.md +50 -0
- package/.claude/skills/synapse/references/brackets.md +100 -0
- package/.claude/skills/synapse/references/commands.md +118 -0
- package/.claude/skills/synapse/references/domains.md +126 -0
- package/.claude/skills/synapse/references/layers.md +186 -0
- package/.claude/skills/synapse/references/manifest.md +142 -0
- package/.claude/skills/tech-search/SKILL.md +431 -0
- package/.claude/skills/tech-search/prompts/page-extract.md +133 -0
- package/README.en.md +2 -2
- package/README.md +8 -2
- package/bin/aiox.js +55 -4
- package/bin/utils/framework-guard.js +4 -2
- package/bin/utils/pro-detector.js +119 -28
- package/bin/utils/validate-publish.js +2 -1
- package/docs/aiox-agent-flows/devops-system.md +18 -0
- package/docs/aiox-workflows/README.md +1 -0
- package/docs/aiox-workflows/pro-access-grant-workflow.md +218 -0
- package/docs/guides/pro/access-grant-ops-playbook.md +370 -0
- package/docs/guides/pro/install-gate-setup.md +12 -6
- package/docs/guides/pro/squad-creator-handoff-pro-access-ops.md +134 -0
- package/docs/guides/supabase-ops-handoff.md +768 -0
- package/package.json +12 -1
- package/packages/aiox-pro-cli/bin/aiox-pro.js +33 -12
- package/packages/installer/src/config/configure-environment.js +118 -50
- package/packages/installer/src/installer/aiox-core-installer.js +124 -27
- package/packages/installer/src/installer/brownfield-upgrader.js +66 -9
- package/packages/installer/src/installer/dependency-installer.js +4 -0
- package/packages/installer/src/pro/pro-scaffolder.js +5 -5
- package/packages/installer/src/updater/index.js +151 -10
- package/packages/installer/src/wizard/ide-config-generator.js +73 -7
- package/packages/installer/src/wizard/index.js +119 -31
- package/packages/installer/src/wizard/pro-setup.js +117 -45
- package/packages/installer/src/wizard/validation/validators/dependency-validator.js +32 -25
- package/packages/installer/src/wizard/validation/validators/file-structure-validator.js +26 -0
- package/packages/installer/tests/unit/artifact-copy-pipeline/artifact-copy-pipeline.test.js +84 -1
- package/packages/installer/tests/unit/claude-md-template-v5/claude-md-template-v5.test.js +1 -1
- package/packages/installer/tests/unit/doctor/doctor-checks.test.js +85 -19
- package/packages/installer/tests/unit/entity-registry-bootstrap.test.js +4 -4
- package/packages/installer/tests/unit/generate-settings-json/generate-settings-json.test.js +5 -5
- package/packages/installer/tests/unit/ide-sync-integration/ide-sync-integration.test.js +4 -4
- package/packages/installer/tests/unit/merger/yaml-merger.test.js +11 -11
- package/pro/README.md +77 -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 +173 -0
- package/pro/license/license-api.js +704 -0
- package/pro/license/license-cache.js +627 -0
- package/pro/license/license-crypto.js +359 -0
- package/pro/package.json +53 -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/e2e/installed-skills-smoke.js +264 -0
- package/scripts/package-synapse.js +3 -3
- package/scripts/validate-package-completeness.js +7 -7
- package/.aiox-core/lib/build.json +0 -1
|
@@ -0,0 +1,1448 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const fs = require('fs');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
|
|
6
|
+
const ROOT = path.resolve(__dirname, '..', '..', '..');
|
|
7
|
+
const DOCS_SOPS_ROOT = path.join(ROOT, 'docs', 'sops');
|
|
8
|
+
const AUXILIARY_OUTPUT_ROOT = path.join(ROOT, 'outputs', 'aiox-sop', 'extractions');
|
|
9
|
+
const TODAY = new Date().toISOString().slice(0, 10);
|
|
10
|
+
const REVIEW_DATE = new Date(Date.UTC(2026, 5, 11)).toISOString().slice(0, 10);
|
|
11
|
+
|
|
12
|
+
const PROVENANCE_NOTE = [
|
|
13
|
+
'DRAFT - EXTRACTED',
|
|
14
|
+
'Normalized into the canonical SOP Factory extraction package.',
|
|
15
|
+
'Original research drafts remain under squads/copy/data/sops/ as source material only.',
|
|
16
|
+
].join(' ');
|
|
17
|
+
|
|
18
|
+
const PACKAGES = [
|
|
19
|
+
{
|
|
20
|
+
slug: 'vsl-funnel-architecture',
|
|
21
|
+
title: 'Funil VSL Perpetuo - Arquitetura Completa',
|
|
22
|
+
sopId: 'SOP-COPY-VSL-ARCH-001',
|
|
23
|
+
version: '0.1',
|
|
24
|
+
classification: 'MAJOR',
|
|
25
|
+
level: 'STRATEGIC',
|
|
26
|
+
processId: 'vsl-funnel-architecture',
|
|
27
|
+
sourcePath: 'squads/copy/data/sops/vsl-funnel-architecture-sop.md',
|
|
28
|
+
sourceMaterial: [
|
|
29
|
+
'Palestra ao vivo + slides de Thiago Roas',
|
|
30
|
+
'Podcast "Segredos da Escala #122" (YouTube ID: qj04cUeaRAw)',
|
|
31
|
+
'thiagoroas-vsl-funnel-and-traffic-framework.yaml',
|
|
32
|
+
],
|
|
33
|
+
purpose:
|
|
34
|
+
'To define the strategic architecture decisions that must be locked before a cold-traffic VSL funnel is written, recorded, or launched.',
|
|
35
|
+
scopeIn: [
|
|
36
|
+
'Niche qualification and funnel-fit screening for cold traffic',
|
|
37
|
+
'Front-end pricing, upsell, downsell, and order-bump architecture',
|
|
38
|
+
'Benchmark definitions for VSL structure, metrics, and creative coherence',
|
|
39
|
+
],
|
|
40
|
+
scopeOut: [
|
|
41
|
+
'Writing the VSL script itself',
|
|
42
|
+
'Operating paid-media accounts or campaign setup',
|
|
43
|
+
],
|
|
44
|
+
applicability:
|
|
45
|
+
'Copy Chief, Strategist, Funnel Architect, and downstream planning agents that need a canonical pre-copy funnel architecture reference.',
|
|
46
|
+
standards: [
|
|
47
|
+
['SOP Factory extract-sop', 'squads/aiox-sop/tasks/extract-sop.md'],
|
|
48
|
+
['ISO 9001:2015', 'Process approach and documented information'],
|
|
49
|
+
['Deming/Juran', 'PDCA, quality planning, and review-before-release discipline'],
|
|
50
|
+
],
|
|
51
|
+
definitions: [
|
|
52
|
+
['VSL', 'Video Sales Letter used to convert cold traffic into direct sales.'],
|
|
53
|
+
['Front-end', 'Primary product offer shown in the first purchase step.'],
|
|
54
|
+
['Upsell', 'Immediate post-purchase offer used to increase ticket medio.'],
|
|
55
|
+
['Downsell', 'Reduced follow-up offer shown after the upsell decline.'],
|
|
56
|
+
['Play rate', 'Percentage of page visitors who start the VSL.'],
|
|
57
|
+
['Awareness level', 'Prospect sophistication state based on Schwartz-style demand awareness.'],
|
|
58
|
+
],
|
|
59
|
+
roles: ['Copy Chief', 'Strategist', 'Funnel Architect', 'Performance Analyst'],
|
|
60
|
+
raci: [
|
|
61
|
+
['Qualify niche and funnel fit', 'C', 'A', 'R', 'I'],
|
|
62
|
+
['Approve pricing architecture', 'A', 'R', 'C', 'I'],
|
|
63
|
+
['Define funnel stages and post-purchase path', 'C', 'R', 'A', 'I'],
|
|
64
|
+
['Set benchmark metrics and guardrails', 'C', 'C', 'R', 'A'],
|
|
65
|
+
['Approve creative-to-VSL coherence rules', 'A', 'R', 'C', 'C'],
|
|
66
|
+
],
|
|
67
|
+
materials: [
|
|
68
|
+
['Thiago Roas source draft', 'Markdown source', '1', 'Primary extraction reference'],
|
|
69
|
+
['Reference YAMLs', 'Traffic + copy analysis files', '2+', 'Support provenance and benchmark checks'],
|
|
70
|
+
['Planning worksheet', 'Architecture decision log', '1', 'Used to capture final decisions'],
|
|
71
|
+
],
|
|
72
|
+
systems: [
|
|
73
|
+
['Repository workspace', 'Read access', 'Project maintainer'],
|
|
74
|
+
['Planning sheet / brief', 'Edit access', 'Copy Chief'],
|
|
75
|
+
],
|
|
76
|
+
training: [
|
|
77
|
+
['Cold-traffic VSL taxonomy review', 'Internal', 'Current'],
|
|
78
|
+
['Awareness and mechanism review', 'Internal', 'Current'],
|
|
79
|
+
],
|
|
80
|
+
conditions: [
|
|
81
|
+
'The offer is intended for cold-traffic acquisition rather than authority-driven selling.',
|
|
82
|
+
'The team can measure play rate, retention, checkout, and ticket economics after launch.',
|
|
83
|
+
'A niche brief and initial offer hypothesis exist before architecture starts.',
|
|
84
|
+
],
|
|
85
|
+
trigger: {
|
|
86
|
+
type: 'manual',
|
|
87
|
+
description: 'Use before writing or recording a new cold-traffic VSL funnel.',
|
|
88
|
+
source: 'Copy Chief or Funnel Architect',
|
|
89
|
+
},
|
|
90
|
+
phases: [
|
|
91
|
+
{
|
|
92
|
+
title: 'Qualify Niche',
|
|
93
|
+
performer: 'Strategist',
|
|
94
|
+
duration: 'PT45M',
|
|
95
|
+
durationLabel: '45 minutes',
|
|
96
|
+
actions: [
|
|
97
|
+
'Estimate the addressable market and classify it as big, medium, or professional. [DOC]',
|
|
98
|
+
'Verify whether the offer can convert cold traffic without depending on authority effects. [DOC]',
|
|
99
|
+
'Stop and route to a different funnel model if the niche cannot sustain cold-traffic VSL economics. [INF]',
|
|
100
|
+
],
|
|
101
|
+
expected:
|
|
102
|
+
'A recorded funnel-fit verdict with niche size, awareness level, and go/no-go rationale.',
|
|
103
|
+
source:
|
|
104
|
+
'thiagoroas-vsl-funnel-architecture-sop.md -> Fase 1; funnel_taxonomy; brown_enrichment',
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
title: 'Define Pricing Architecture',
|
|
108
|
+
performer: 'Copy Chief',
|
|
109
|
+
duration: 'PT30M',
|
|
110
|
+
durationLabel: '30 minutes',
|
|
111
|
+
actions: [
|
|
112
|
+
'Set the front-end around the proven R$297 benchmark unless the team has stronger direct evidence. [DOC]',
|
|
113
|
+
'Model card mix, upsell price, downsell path, and order-bump economics before media starts. [DOC]',
|
|
114
|
+
'Flag any front-end price above the proven benchmark for dedicated validation before launch. [INF]',
|
|
115
|
+
],
|
|
116
|
+
expected: 'A pricing stack with explicit rationale and exception flags.',
|
|
117
|
+
source:
|
|
118
|
+
'thiagoroas-vsl-funnel-architecture-sop.md -> Fase 2; vsl_funnel.front; pix_cartao_matematica_escala',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
title: 'Map Funnel Structure',
|
|
122
|
+
performer: 'Funnel Architect',
|
|
123
|
+
duration: 'PT45M',
|
|
124
|
+
durationLabel: '45 minutes',
|
|
125
|
+
actions: [
|
|
126
|
+
'Define the front, checkout, upsell, downsell, and recovery sequence as one system. [DOC]',
|
|
127
|
+
'Use a clean checkout as baseline and introduce order bumps only with explicit test intent. [DOC]',
|
|
128
|
+
'Require visible decline paths on upsell and downsell pages to protect post-purchase flow. [DOC]',
|
|
129
|
+
],
|
|
130
|
+
expected: 'A documented funnel path with baseline post-purchase rules.',
|
|
131
|
+
source:
|
|
132
|
+
'thiagoroas-vsl-funnel-architecture-sop.md -> Fase 3; vsl_funnel; funnel_health_metrics',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
title: 'Specify VSL Form Factor',
|
|
136
|
+
performer: 'Funnel Architect',
|
|
137
|
+
duration: 'PT30M',
|
|
138
|
+
durationLabel: '30 minutes',
|
|
139
|
+
actions: [
|
|
140
|
+
'Set VSL length near the proven 20-30 minute range for a R$297 offer. [DOC]',
|
|
141
|
+
'Require at least five micro-videos and at least three lead variants for testing. [DOC]',
|
|
142
|
+
'Separate format choices from copy choices so retention problems can be diagnosed correctly later. [DOC]',
|
|
143
|
+
],
|
|
144
|
+
expected: 'A VSL production brief with duration, segmentation, and lead rules.',
|
|
145
|
+
source:
|
|
146
|
+
'thiagoroas-vsl-funnel-architecture-sop.md -> Fase 4; vsl_retention.recording_rules; vsl_sizing',
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
title: 'Define Metrics and Economic Guardrails',
|
|
150
|
+
performer: 'Performance Analyst',
|
|
151
|
+
duration: 'PT30M',
|
|
152
|
+
durationLabel: '30 minutes',
|
|
153
|
+
actions: [
|
|
154
|
+
'Publish the baseline benchmarks for play rate, retention, checkout, upsell, downsell, and ticket medio. [DOC]',
|
|
155
|
+
'Use custo de checkout and ticket medio as the primary economics guardrails instead of front-ticket ROAS alone. [DOC]',
|
|
156
|
+
'Apply the 731 view and the 20% budget-increase rule only after statistical signal exists. [DOC]',
|
|
157
|
+
],
|
|
158
|
+
expected: 'A benchmark table and traffic guardrail set ready for launch and diagnosis.',
|
|
159
|
+
source:
|
|
160
|
+
'thiagoroas-vsl-funnel-architecture-sop.md -> Fase 5; funnel_health_metrics; regra_20_percent',
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
title: 'Align Creative and VSL Coherence',
|
|
164
|
+
performer: 'Copy Chief',
|
|
165
|
+
duration: 'PT25M',
|
|
166
|
+
durationLabel: '25 minutes',
|
|
167
|
+
actions: [
|
|
168
|
+
'Map the awareness level of each creative angle to the lead style required by the VSL. [INF]',
|
|
169
|
+
'Prefer video creative and a 70/30 mix between proven and new variations. [DOC]',
|
|
170
|
+
'Treat creative refresh as a structural anti-fatigue rule, not optional polish. [DOC]',
|
|
171
|
+
],
|
|
172
|
+
expected: 'A creative-to-VSL coherence rule set attached to the architecture brief.',
|
|
173
|
+
source:
|
|
174
|
+
'thiagoroas-vsl-funnel-architecture-sop.md -> Fase 6; creative_mix_rule; creative_as_awareness_filter',
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
decisionPoints: [
|
|
178
|
+
{
|
|
179
|
+
title: 'Niche Fit Decision',
|
|
180
|
+
if: 'The niche is big enough and the offer can convert cold traffic without authority dependency.',
|
|
181
|
+
then: 'Proceed to pricing and funnel architecture for a VSL-led system.',
|
|
182
|
+
elseIf: 'The niche is medium or professional and requires another monetization path.',
|
|
183
|
+
altAction: 'Route to low-ticket or launch-based architecture and stop this SOP.',
|
|
184
|
+
escalate: 'Copy Chief',
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
title: 'Pricing Exception Decision',
|
|
188
|
+
if: 'The front-end remains within the proven benchmark range.',
|
|
189
|
+
then: 'Proceed with the standard VSL specification.',
|
|
190
|
+
elseIf: 'The team proposes a materially higher front-end price.',
|
|
191
|
+
altAction: 'Open a validation branch and gather additional proof before launch.',
|
|
192
|
+
escalate: 'Strategist',
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
dependencies: {
|
|
196
|
+
sequential: [
|
|
197
|
+
'Qualify Niche -> Define Pricing Architecture',
|
|
198
|
+
'Define Pricing Architecture -> Map Funnel Structure',
|
|
199
|
+
'Map Funnel Structure -> Specify VSL Form Factor',
|
|
200
|
+
'Specify VSL Form Factor -> Define Metrics and Economic Guardrails',
|
|
201
|
+
'Define Metrics and Economic Guardrails -> Align Creative and VSL Coherence',
|
|
202
|
+
],
|
|
203
|
+
parallel: ['Metrics benchmark assembly can run in parallel with creative-coherence mapping after funnel structure exists.'],
|
|
204
|
+
waitStates: ['Hold final release until pricing, funnel path, and measurement rules are all approved.'],
|
|
205
|
+
loops: ['Return from launch diagnosis to this SOP if market, pricing, or funnel architecture proves invalid.'],
|
|
206
|
+
criticalPath:
|
|
207
|
+
'Niche qualification -> pricing architecture -> funnel structure -> VSL specification -> guardrails',
|
|
208
|
+
},
|
|
209
|
+
ml: {
|
|
210
|
+
domain: 'copy',
|
|
211
|
+
category: 'funnel_architecture',
|
|
212
|
+
risk: 'high',
|
|
213
|
+
input: [
|
|
214
|
+
['source_draft', 'file', true, 'Original Thiago Roas architecture draft'],
|
|
215
|
+
['offer_brief', 'object', true, 'Offer hypothesis with niche and pricing context'],
|
|
216
|
+
['traffic_assumptions', 'object', false, 'Cold-traffic planning assumptions'],
|
|
217
|
+
],
|
|
218
|
+
},
|
|
219
|
+
references: [
|
|
220
|
+
'squads/copy/data/sops/vsl-funnel-architecture-sop.md',
|
|
221
|
+
'squads/traffic-masters/data/references/thiagoroas-vsl-funnel-and-traffic-framework.yaml',
|
|
222
|
+
],
|
|
223
|
+
headings: {
|
|
224
|
+
confidence: '## Tabela de Resumo de Confianca',
|
|
225
|
+
gaps: '## GAPs e Verificacoes Necessarias',
|
|
226
|
+
sources: null,
|
|
227
|
+
},
|
|
228
|
+
fallbacks: {
|
|
229
|
+
confidence: 'See the source draft confidence table in the original architecture extraction.',
|
|
230
|
+
gaps: 'See the original architecture draft for unresolved niche-sizing and pricing exceptions.',
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
slug: 'vsl-script-creation',
|
|
235
|
+
title: 'VSL Script - Do Diagnostico ao Script Final',
|
|
236
|
+
sopId: 'SOP-COPY-VSL-SCRIPT-001',
|
|
237
|
+
version: '0.1',
|
|
238
|
+
classification: 'MAJOR',
|
|
239
|
+
level: 'OPERATIONAL',
|
|
240
|
+
processId: 'vsl-script-creation',
|
|
241
|
+
sourcePath: 'squads/copy/data/sops/vsl-script-creation-sop.md',
|
|
242
|
+
sourceMaterial: [
|
|
243
|
+
'Palestra ao vivo + podcast de Thiago Roas',
|
|
244
|
+
'thiagoroas-copy-analysis.yaml',
|
|
245
|
+
'thiagoroas-vsl-funnel-and-traffic-framework.yaml',
|
|
246
|
+
],
|
|
247
|
+
purpose:
|
|
248
|
+
'To turn a validated VSL architecture into a script that graduates cold prospects from awareness to purchase readiness.',
|
|
249
|
+
scopeIn: [
|
|
250
|
+
'Awareness diagnosis and belief sequencing for a new VSL',
|
|
251
|
+
'Lead selection, mechanism framing, format choice, and core script assembly',
|
|
252
|
+
'Human plus AI production workflow up to a script ready for recording',
|
|
253
|
+
],
|
|
254
|
+
scopeOut: [
|
|
255
|
+
'Diagnosing an already-running VSL with live metrics',
|
|
256
|
+
'Traffic account setup or campaign deployment',
|
|
257
|
+
],
|
|
258
|
+
applicability:
|
|
259
|
+
'Copy Chief, mechanism strategist, script operator, reviewer, and downstream copy agents that need a canonical VSL-writing SOP.',
|
|
260
|
+
standards: [
|
|
261
|
+
['SOP Factory extract-sop', 'squads/aiox-sop/tasks/extract-sop.md'],
|
|
262
|
+
['Deming/Juran', 'Structured planning, control, and review before release'],
|
|
263
|
+
['Schwartz/Benson/Kennedy', 'Awareness progression, structure, and direct-response discipline'],
|
|
264
|
+
],
|
|
265
|
+
definitions: [
|
|
266
|
+
['Lead', 'Opening segment that validates pain and earns the next minutes of attention.'],
|
|
267
|
+
['Mechanism', 'The explanatory frame that makes the offer feel uniquely solvable.'],
|
|
268
|
+
['Awareness level', 'Prospect state from problem-aware to most-aware.'],
|
|
269
|
+
['Format', 'Visual and performance style of the VSL separate from the words themselves.'],
|
|
270
|
+
['Micro-video', 'Distinct segment inside the VSL used to reset attention and retention.'],
|
|
271
|
+
['Post-pitch page', 'Page section and supporting elements shown after the offer reveal.'],
|
|
272
|
+
],
|
|
273
|
+
roles: ['Copy Chief', 'Mechanism Strategist', 'Script Operator', 'Reviewer'],
|
|
274
|
+
raci: [
|
|
275
|
+
['Diagnose awareness and sophistication', 'A', 'R', 'I', 'C'],
|
|
276
|
+
['Define lead and mechanism path', 'A', 'R', 'C', 'I'],
|
|
277
|
+
['Assemble script structure and body', 'C', 'C', 'A', 'R'],
|
|
278
|
+
['Run AI-assisted production pass', 'C', 'C', 'A', 'R'],
|
|
279
|
+
['Approve script before recording', 'A', 'C', 'R', 'C'],
|
|
280
|
+
],
|
|
281
|
+
materials: [
|
|
282
|
+
['Thiago Roas source draft', 'Markdown source', '1', 'Primary extraction reference'],
|
|
283
|
+
['Persona and offer brief', 'Working document', '1', 'Required before writing'],
|
|
284
|
+
['Reference VSL set', 'Prior winning VSL examples', '1+', 'Used to seed structure and AI passes'],
|
|
285
|
+
],
|
|
286
|
+
systems: [
|
|
287
|
+
['Repository workspace', 'Read access', 'Project maintainer'],
|
|
288
|
+
['Writing environment', 'Edit access', 'Copy Chief'],
|
|
289
|
+
['AI drafting tool', 'Operator access', 'Copy Chief'],
|
|
290
|
+
],
|
|
291
|
+
training: [
|
|
292
|
+
['Awareness progression review', 'Internal', 'Current'],
|
|
293
|
+
['Mechanism and objection sequencing review', 'Internal', 'Current'],
|
|
294
|
+
],
|
|
295
|
+
conditions: [
|
|
296
|
+
'The funnel architecture and front-end offer are already defined.',
|
|
297
|
+
'The team has persona, objections, and benchmark context before writing.',
|
|
298
|
+
'The script will target a new VSL rather than a repair of an existing live VSL.',
|
|
299
|
+
],
|
|
300
|
+
trigger: {
|
|
301
|
+
type: 'manual',
|
|
302
|
+
description: 'Use when writing a new VSL from zero after architecture is approved.',
|
|
303
|
+
source: 'Copy Chief',
|
|
304
|
+
},
|
|
305
|
+
phases: [
|
|
306
|
+
{
|
|
307
|
+
title: 'Diagnose Awareness and Market Sophistication',
|
|
308
|
+
performer: 'Mechanism Strategist',
|
|
309
|
+
duration: 'PT45M',
|
|
310
|
+
durationLabel: '45 minutes',
|
|
311
|
+
actions: [
|
|
312
|
+
'Define the awareness level of the traffic entering the VSL, defaulting to level 2-3 for cold R$297 traffic. [DOC]',
|
|
313
|
+
'Map the awareness graduation the VSL must complete before the pitch. [DOC]',
|
|
314
|
+
'Set the sophistication stage and record any assumptions that were inferred rather than stated. [REP]',
|
|
315
|
+
],
|
|
316
|
+
expected: 'A written awareness map that governs lead, mechanism, and proof order.',
|
|
317
|
+
source:
|
|
318
|
+
'vsl-script-creation-sop.md -> Fase 1; schwartz_analysis; schwartz_enrichment',
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
title: 'Map Beliefs to Create and Beliefs to Break',
|
|
322
|
+
performer: 'Copy Chief',
|
|
323
|
+
duration: 'PT30M',
|
|
324
|
+
durationLabel: '30 minutes',
|
|
325
|
+
actions: [
|
|
326
|
+
'List the beliefs that must be created at each awareness transition. [DOC]',
|
|
327
|
+
'List the blocking beliefs and objections that must be broken before the next transition. [DOC]',
|
|
328
|
+
'Sequence those beliefs so each acceptance makes the next conclusion easier. [REP]',
|
|
329
|
+
],
|
|
330
|
+
expected: 'A belief ladder connected to the awareness map.',
|
|
331
|
+
source:
|
|
332
|
+
'vsl-script-creation-sop.md -> 1.4; thiagoroas-copy-analysis.yaml',
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
title: 'Select Lead and Mechanism',
|
|
336
|
+
performer: 'Mechanism Strategist',
|
|
337
|
+
duration: 'PT35M',
|
|
338
|
+
durationLabel: '35 minutes',
|
|
339
|
+
actions: [
|
|
340
|
+
'Choose the lead style that matches the awareness level brought by the creative. [DOC]',
|
|
341
|
+
'Define the mechanism that explains why the prospect has not solved the problem yet. [REP]',
|
|
342
|
+
'Prepare at least three lead variants before choosing the production candidate. [DOC]',
|
|
343
|
+
],
|
|
344
|
+
expected: 'A lead pack and mechanism statement ready for script assembly.',
|
|
345
|
+
source:
|
|
346
|
+
'vsl-script-creation-sop.md -> 1.1 to 1.4; brown_analysis; benson_analysis',
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
title: 'Design Structure and Format',
|
|
350
|
+
performer: 'Script Operator',
|
|
351
|
+
duration: 'PT40M',
|
|
352
|
+
durationLabel: '40 minutes',
|
|
353
|
+
actions: [
|
|
354
|
+
'Lay out the VSL in at least five micro-videos with explicit segment intent. [DOC]',
|
|
355
|
+
'Choose the format based on retention logic before rewriting copy. [DOC]',
|
|
356
|
+
'Lock the target duration near the proven 20-30 minute range for the benchmark offer. [DOC]',
|
|
357
|
+
],
|
|
358
|
+
expected: 'A structural outline with format notes and timing targets.',
|
|
359
|
+
source:
|
|
360
|
+
'vsl-script-creation-sop.md -> Benson structure and format phases; vsl_sizing',
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
title: 'Write the Core Argument',
|
|
364
|
+
performer: 'Script Operator',
|
|
365
|
+
duration: 'PT2H',
|
|
366
|
+
durationLabel: '2 hours',
|
|
367
|
+
actions: [
|
|
368
|
+
'Draft the body so problem agitation, mechanism, proof, and offer escalate in the planned order. [REP]',
|
|
369
|
+
'Interleave create-belief and break-belief moves through the body rather than batching them blindly. [INF]',
|
|
370
|
+
'Preserve direct-response clarity and action pressure through the pitch and CTA. [DOC]',
|
|
371
|
+
],
|
|
372
|
+
expected: 'A full long-form body draft with argument flow and CTA path.',
|
|
373
|
+
source:
|
|
374
|
+
'vsl-script-creation-sop.md -> Fases 3, 4, and 5; kennedy_analysis',
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
title: 'Run AI-Assisted Production',
|
|
378
|
+
performer: 'Script Operator',
|
|
379
|
+
duration: 'PT90M',
|
|
380
|
+
durationLabel: '90 minutes',
|
|
381
|
+
actions: [
|
|
382
|
+
'Feed the structure and references into the preferred AI workflow, keeping the human strategy layer in control. [DOC]',
|
|
383
|
+
'Use prior winning VSLs as structural context rather than copying their surface language. [REP]',
|
|
384
|
+
'Flag any unsupported AI-generated claims as assumptions for manual review. [ASM]',
|
|
385
|
+
],
|
|
386
|
+
expected: 'A production-ready draft with explicit review flags.',
|
|
387
|
+
source:
|
|
388
|
+
'vsl-script-creation-sop.md -> Fase 6; Manus AI workflow reference',
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
title: 'Validate the Script',
|
|
392
|
+
performer: 'Reviewer',
|
|
393
|
+
duration: 'PT45M',
|
|
394
|
+
durationLabel: '45 minutes',
|
|
395
|
+
actions: [
|
|
396
|
+
'Check whether the awareness journey is complete by the time the pitch arrives. [DOC]',
|
|
397
|
+
'Verify that format, lead, and offer logic are coherent before requesting copy rewrites. [DOC]',
|
|
398
|
+
'Record any low-confidence areas that require A/B testing or practitioner verification. [DOC]',
|
|
399
|
+
],
|
|
400
|
+
expected: 'A validated draft with review notes and unresolved assumptions clearly marked.',
|
|
401
|
+
source:
|
|
402
|
+
'vsl-script-creation-sop.md -> Fase 7; confidence table and gaps',
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
title: 'Prepare Post-Pitch Support',
|
|
406
|
+
performer: 'Copy Chief',
|
|
407
|
+
duration: 'PT30M',
|
|
408
|
+
durationLabel: '30 minutes',
|
|
409
|
+
actions: [
|
|
410
|
+
'Align the post-pitch page and supporting elements with the VSL promise. [DOC]',
|
|
411
|
+
'Prepare the downsell and follow-up logic without introducing unsupported new mechanics. [DOC]',
|
|
412
|
+
'Document any ticket or niche exceptions that require a later diagnostic loop. [INF]',
|
|
413
|
+
],
|
|
414
|
+
expected: 'A final script package ready for recording and funnel-page assembly.',
|
|
415
|
+
source:
|
|
416
|
+
'vsl-script-creation-sop.md -> Fase 8; page and downsell notes',
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
decisionPoints: [
|
|
420
|
+
{
|
|
421
|
+
title: 'Awareness Entry Decision',
|
|
422
|
+
if: 'Creative input indicates level 2-3 awareness.',
|
|
423
|
+
then: 'Use the standard cold-traffic graduation path through mechanism and proof.',
|
|
424
|
+
elseIf: 'Traffic enters at a materially different awareness level.',
|
|
425
|
+
altAction: 'Rebuild the lead and belief path before drafting the body.',
|
|
426
|
+
escalate: 'Copy Chief',
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
title: 'Format Before Copy Decision',
|
|
430
|
+
if: 'Retention logic points to a format problem.',
|
|
431
|
+
then: 'Change format assumptions before rewriting the copy body.',
|
|
432
|
+
elseIf: 'Format is sound and conversion logic is weak.',
|
|
433
|
+
altAction: 'Revise the argument and belief sequencing while preserving the format.',
|
|
434
|
+
escalate: 'Reviewer',
|
|
435
|
+
},
|
|
436
|
+
],
|
|
437
|
+
dependencies: {
|
|
438
|
+
sequential: [
|
|
439
|
+
'Diagnose Awareness -> Map Beliefs',
|
|
440
|
+
'Map Beliefs -> Select Lead and Mechanism',
|
|
441
|
+
'Select Lead and Mechanism -> Design Structure and Format',
|
|
442
|
+
'Design Structure and Format -> Write the Core Argument',
|
|
443
|
+
'Write the Core Argument -> Run AI-Assisted Production',
|
|
444
|
+
'Run AI-Assisted Production -> Validate the Script',
|
|
445
|
+
'Validate the Script -> Prepare Post-Pitch Support',
|
|
446
|
+
],
|
|
447
|
+
parallel: ['Lead exploration and mechanism exploration can run in parallel before the final outline is locked.'],
|
|
448
|
+
waitStates: ['Do not release for recording until review flags and unsupported claims are resolved or explicitly accepted.'],
|
|
449
|
+
loops: ['If live retention fails after launch, route to the diagnostic SOP and return here only after the root cause is clear.'],
|
|
450
|
+
criticalPath:
|
|
451
|
+
'Awareness diagnosis -> belief map -> lead/mechanism -> structure -> core argument -> validation',
|
|
452
|
+
},
|
|
453
|
+
ml: {
|
|
454
|
+
domain: 'copy',
|
|
455
|
+
category: 'script_creation',
|
|
456
|
+
risk: 'high',
|
|
457
|
+
input: [
|
|
458
|
+
['source_draft', 'file', true, 'Original Thiago Roas script-creation draft'],
|
|
459
|
+
['persona_brief', 'object', true, 'Audience pains, desires, and objections'],
|
|
460
|
+
['offer_brief', 'object', true, 'Offer, ticket, and mechanism context'],
|
|
461
|
+
],
|
|
462
|
+
},
|
|
463
|
+
references: [
|
|
464
|
+
'squads/copy/data/sops/vsl-script-creation-sop.md',
|
|
465
|
+
'squads/copy/data/references/thiagoroas-copy-analysis.yaml',
|
|
466
|
+
'squads/traffic-masters/data/references/thiagoroas-vsl-funnel-and-traffic-framework.yaml',
|
|
467
|
+
],
|
|
468
|
+
headings: {
|
|
469
|
+
confidence: '## Tabela de Confianca por Fase',
|
|
470
|
+
gaps: '## Gaps e Itens para Verificacao',
|
|
471
|
+
sources: '## Referencias das Fontes',
|
|
472
|
+
},
|
|
473
|
+
fallbacks: {
|
|
474
|
+
confidence: 'See the original script-creation draft for phase-level confidence notes.',
|
|
475
|
+
gaps: 'See the original script-creation draft for unresolved AI, ticket, and sequencing questions.',
|
|
476
|
+
},
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
slug: 'vsl-diagnostic-optimization',
|
|
480
|
+
title: 'VSL Diagnostico e Otimizacao - Protocolo de Correcao',
|
|
481
|
+
sopId: 'SOP-COPY-VSL-DIAG-001',
|
|
482
|
+
version: '0.1',
|
|
483
|
+
classification: 'MAJOR',
|
|
484
|
+
level: 'OPERATIONAL',
|
|
485
|
+
processId: 'vsl-diagnostic-optimization',
|
|
486
|
+
sourcePath: 'squads/copy/data/sops/vsl-diagnostic-optimization-sop.md',
|
|
487
|
+
sourceMaterial: [
|
|
488
|
+
'Palestra ao vivo + podcast de Thiago Roas',
|
|
489
|
+
'thiagoroas-vsl-funnel-and-traffic-framework.yaml',
|
|
490
|
+
'thiagoroas-copy-analysis.yaml',
|
|
491
|
+
],
|
|
492
|
+
purpose:
|
|
493
|
+
'To diagnose and correct a live VSL funnel by isolating the first failing micro-funnel and applying the right fix in the right order.',
|
|
494
|
+
scopeIn: [
|
|
495
|
+
'Metric collection and benchmark comparison for live VSL funnels',
|
|
496
|
+
'Micro-funnel isolation, 2x2 matrix diagnosis, and prioritized fix selection',
|
|
497
|
+
'Recovery, scaling, and kill decisions using the 731 model and funnel economics',
|
|
498
|
+
],
|
|
499
|
+
scopeOut: [
|
|
500
|
+
'Writing a net-new VSL from zero',
|
|
501
|
+
'Campaign build or media buying execution details',
|
|
502
|
+
],
|
|
503
|
+
applicability:
|
|
504
|
+
'Copy Chief, Performance Analyst, Creative Analyst, Operator, and downstream diagnostic agents working on a live VSL funnel.',
|
|
505
|
+
standards: [
|
|
506
|
+
['SOP Factory extract-sop', 'squads/aiox-sop/tasks/extract-sop.md'],
|
|
507
|
+
['Deming/Juran', 'Check-then-act loop for continual improvement'],
|
|
508
|
+
['Thiago Roas diagnostic matrix', 'Retention/conversion root-cause routing'],
|
|
509
|
+
],
|
|
510
|
+
definitions: [
|
|
511
|
+
['Micro-funnel', 'A single stage of the funnel isolated for diagnosis.'],
|
|
512
|
+
['Pitch retention', 'Percentage of viewers still watching when the offer is presented.'],
|
|
513
|
+
['Modelo 731', 'Decision frame using 7-day, 3-day, and current-day views.'],
|
|
514
|
+
['Custo de checkout', 'Primary cost metric for VSL traffic efficiency.'],
|
|
515
|
+
['Order bump', 'Checkout add-on offer tested after baseline checkout clarity is known.'],
|
|
516
|
+
['Recovery webinar', 'Post-upsell recovery mechanism for front buyers who decline the upsell.'],
|
|
517
|
+
],
|
|
518
|
+
roles: ['Copy Chief', 'Performance Analyst', 'Creative Analyst', 'Operator'],
|
|
519
|
+
raci: [
|
|
520
|
+
['Collect benchmark metrics', 'C', 'R', 'I', 'A'],
|
|
521
|
+
['Map micro-funnel health', 'C', 'R', 'I', 'A'],
|
|
522
|
+
['Apply diagnostic matrix and root-cause verdict', 'A', 'C', 'R', 'I'],
|
|
523
|
+
['Approve fix order and implementation path', 'A', 'C', 'C', 'R'],
|
|
524
|
+
['Approve scale, hold, or kill decision', 'C', 'A', 'C', 'R'],
|
|
525
|
+
],
|
|
526
|
+
materials: [
|
|
527
|
+
['Live VSL analytics', 'Retention + conversion data', '1 set', 'Required before diagnosis starts'],
|
|
528
|
+
['Thiago Roas source draft', 'Markdown source', '1', 'Primary extraction reference'],
|
|
529
|
+
['Traffic and revenue dashboard', '7d / 3d / today views', '1', 'Used for 731 decisions'],
|
|
530
|
+
],
|
|
531
|
+
systems: [
|
|
532
|
+
['Analytics platform', 'Read access', 'Performance Analyst'],
|
|
533
|
+
['Ad platform dashboard', 'Read access', 'Performance Analyst'],
|
|
534
|
+
['Repository workspace', 'Read access', 'Project maintainer'],
|
|
535
|
+
],
|
|
536
|
+
training: [
|
|
537
|
+
['VSL diagnostic matrix review', 'Internal', 'Current'],
|
|
538
|
+
['731 model review', 'Internal', 'Current'],
|
|
539
|
+
],
|
|
540
|
+
conditions: [
|
|
541
|
+
'The VSL has been live long enough to gather meaningful data.',
|
|
542
|
+
'The team can isolate page, VSL, checkout, upsell, and recovery metrics.',
|
|
543
|
+
'The operator will not skip directly to copy rewrites before the matrix diagnosis is complete.',
|
|
544
|
+
],
|
|
545
|
+
trigger: {
|
|
546
|
+
type: 'manual',
|
|
547
|
+
description: 'Use when a VSL funnel is live and underperforming or scaling unstably.',
|
|
548
|
+
source: 'Performance Analyst or Copy Chief',
|
|
549
|
+
},
|
|
550
|
+
phases: [
|
|
551
|
+
{
|
|
552
|
+
title: 'Collect Metrics',
|
|
553
|
+
performer: 'Performance Analyst',
|
|
554
|
+
duration: 'PT45M',
|
|
555
|
+
durationLabel: '45 minutes',
|
|
556
|
+
actions: [
|
|
557
|
+
'Pull retention, play rate, checkout, upsell, downsell, and ticket metrics into one table. [DOC]',
|
|
558
|
+
'Record the known benchmark next to each actual metric before judging performance. [DOC]',
|
|
559
|
+
'Reject diagnosis if the data window is too thin to support a real decision. [INF]',
|
|
560
|
+
],
|
|
561
|
+
expected: 'A benchmarked metrics table with all primary signals captured.',
|
|
562
|
+
source:
|
|
563
|
+
'vsl-diagnostic-optimization-sop.md -> Phase 1; funnel_health_metrics; vsl_retention.benchmarks',
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
title: 'Separate Micro-Funnels',
|
|
567
|
+
performer: 'Performance Analyst',
|
|
568
|
+
duration: 'PT30M',
|
|
569
|
+
durationLabel: '30 minutes',
|
|
570
|
+
actions: [
|
|
571
|
+
'Break the funnel into traffic, page, VSL, checkout, upsell, and recovery stages. [DOC]',
|
|
572
|
+
'Mark each stage as healthy, at risk, or failing. [DOC]',
|
|
573
|
+
'Identify the first failing stage in sequence before proposing any fix. [DOC]',
|
|
574
|
+
],
|
|
575
|
+
expected: 'A micro-funnel health map with the earliest failure point identified.',
|
|
576
|
+
source:
|
|
577
|
+
'vsl-diagnostic-optimization-sop.md -> Phase 2; vsl_micro_funnels.principle',
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
title: 'Apply the 2x2 Diagnostic Matrix',
|
|
581
|
+
performer: 'Copy Chief',
|
|
582
|
+
duration: 'PT15M',
|
|
583
|
+
durationLabel: '15 minutes',
|
|
584
|
+
actions: [
|
|
585
|
+
'Classify the VSL into the retention/conversion quadrant defined by the matrix. [DOC]',
|
|
586
|
+
'Route the case to scale, format change, copy rewrite, or new VSL according to the quadrant. [DOC]',
|
|
587
|
+
'Record the verdict before any tactical edits start. [DOC]',
|
|
588
|
+
],
|
|
589
|
+
expected: 'A root-cause verdict tied to the matrix quadrant.',
|
|
590
|
+
source:
|
|
591
|
+
'vsl-diagnostic-optimization-sop.md -> Phase 3; vsl_diagnostic_matrix',
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
title: 'Diagnose the Specific Symptom',
|
|
595
|
+
performer: 'Creative Analyst',
|
|
596
|
+
duration: 'PT35M',
|
|
597
|
+
durationLabel: '35 minutes',
|
|
598
|
+
actions: [
|
|
599
|
+
'Inspect the exact symptom inside the failing stage, such as low play rate, weak lead, or offer drop shape. [DOC]',
|
|
600
|
+
'Confirm whether the issue is format, copy, page, checkout, or post-purchase logic. [DOC]',
|
|
601
|
+
'Flag any explanation that depends on inference rather than direct evidence. [INF]',
|
|
602
|
+
],
|
|
603
|
+
expected: 'A symptom-level diagnosis attached to the matrix verdict.',
|
|
604
|
+
source:
|
|
605
|
+
'vsl-diagnostic-optimization-sop.md -> Phases 4 and 5; source provenance',
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
title: 'Execute the Fix in Priority Order',
|
|
609
|
+
performer: 'Operator',
|
|
610
|
+
duration: 'PT2H',
|
|
611
|
+
durationLabel: '2 hours',
|
|
612
|
+
actions: [
|
|
613
|
+
'Apply the fix at the earliest failing stage instead of patching downstream symptoms first. [DOC]',
|
|
614
|
+
'Change format before copy when retention says format is the problem. [DOC]',
|
|
615
|
+
'Keep a clean baseline and reintroduce optional elements such as bumps only after the core path is healthy. [DOC]',
|
|
616
|
+
],
|
|
617
|
+
expected: 'A prioritized fix log with clear before/after state for the first failing stage.',
|
|
618
|
+
source:
|
|
619
|
+
'vsl-diagnostic-optimization-sop.md -> Phases 4 to 7; funnel_health_metrics',
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
title: 'Run Scale or Kill Logic',
|
|
623
|
+
performer: 'Performance Analyst',
|
|
624
|
+
duration: 'PT30M',
|
|
625
|
+
durationLabel: '30 minutes',
|
|
626
|
+
actions: [
|
|
627
|
+
'Review 7-day, 3-day, and current-day performance before changing budgets. [DOC]',
|
|
628
|
+
'Increase spend only within the proven 20% guardrail when the system is stable. [DOC]',
|
|
629
|
+
'Kill the asset or branch when repeated negative evidence persists instead of rationalizing the loss. [DOC]',
|
|
630
|
+
],
|
|
631
|
+
expected: 'A documented hold, scale, or kill decision with 731 evidence.',
|
|
632
|
+
source:
|
|
633
|
+
'vsl-diagnostic-optimization-sop.md -> Phase 6 and Phase 8; Modelo 731',
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
title: 'Document Recovery and Learning',
|
|
637
|
+
performer: 'Copy Chief',
|
|
638
|
+
duration: 'PT20M',
|
|
639
|
+
durationLabel: '20 minutes',
|
|
640
|
+
actions: [
|
|
641
|
+
'Record whether recovery webinar or post-purchase changes are justified by the diagnosis. [DOC]',
|
|
642
|
+
'Capture unresolved technical questions as review items rather than hiding them inside the SOP. [REP]',
|
|
643
|
+
'Route format or script rebuilds back to the creation SOP only after the root cause is confirmed. [DOC]',
|
|
644
|
+
],
|
|
645
|
+
expected: 'A final diagnostic report with next-step routing and unresolved questions surfaced.',
|
|
646
|
+
source:
|
|
647
|
+
'vsl-diagnostic-optimization-sop.md -> Phase 7 onward; source provenance',
|
|
648
|
+
},
|
|
649
|
+
],
|
|
650
|
+
decisionPoints: [
|
|
651
|
+
{
|
|
652
|
+
title: 'Matrix Verdict Decision',
|
|
653
|
+
if: 'Retention is high and conversion is high.',
|
|
654
|
+
then: 'Scale according to the traffic guardrails.',
|
|
655
|
+
elseIf: 'The matrix points to copy, format, or a full new VSL.',
|
|
656
|
+
altAction: 'Execute only the fix class specified by the matrix before changing anything else.',
|
|
657
|
+
escalate: 'Copy Chief',
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
title: 'Scale vs Kill Decision',
|
|
661
|
+
if: 'The 731 view shows stable positive signal.',
|
|
662
|
+
then: 'Scale inside the budget guardrails.',
|
|
663
|
+
elseIf: 'The 731 view stays negative after the fix window.',
|
|
664
|
+
altAction: 'Kill or replace the asset instead of forcing more spend.',
|
|
665
|
+
escalate: 'Performance Analyst',
|
|
666
|
+
},
|
|
667
|
+
],
|
|
668
|
+
dependencies: {
|
|
669
|
+
sequential: [
|
|
670
|
+
'Collect Metrics -> Separate Micro-Funnels',
|
|
671
|
+
'Separate Micro-Funnels -> Apply the 2x2 Diagnostic Matrix',
|
|
672
|
+
'Apply the 2x2 Diagnostic Matrix -> Diagnose the Specific Symptom',
|
|
673
|
+
'Diagnose the Specific Symptom -> Execute the Fix in Priority Order',
|
|
674
|
+
'Execute the Fix in Priority Order -> Run Scale or Kill Logic',
|
|
675
|
+
'Run Scale or Kill Logic -> Document Recovery and Learning',
|
|
676
|
+
],
|
|
677
|
+
parallel: ['Creative symptom analysis can proceed in parallel with post-purchase path inspection after the failing stage is known.'],
|
|
678
|
+
waitStates: ['Hold scale decisions until benchmarked metrics and the matrix verdict are both complete.'],
|
|
679
|
+
loops: ['Repeat the collect -> isolate -> diagnose cycle after each significant fix until the first failing stage changes or disappears.'],
|
|
680
|
+
criticalPath:
|
|
681
|
+
'Metric collection -> micro-funnel isolation -> matrix verdict -> targeted fix -> 731 decision',
|
|
682
|
+
},
|
|
683
|
+
ml: {
|
|
684
|
+
domain: 'copy',
|
|
685
|
+
category: 'diagnostic_optimization',
|
|
686
|
+
risk: 'high',
|
|
687
|
+
input: [
|
|
688
|
+
['source_draft', 'file', true, 'Original Thiago Roas diagnostic draft'],
|
|
689
|
+
['analytics_snapshot', 'object', true, 'Retention, checkout, and post-purchase metrics'],
|
|
690
|
+
['traffic_snapshot', 'object', true, '7d / 3d / today media data'],
|
|
691
|
+
],
|
|
692
|
+
},
|
|
693
|
+
references: [
|
|
694
|
+
'squads/copy/data/sops/vsl-diagnostic-optimization-sop.md',
|
|
695
|
+
'squads/traffic-masters/data/references/thiagoroas-vsl-funnel-and-traffic-framework.yaml',
|
|
696
|
+
'squads/copy/data/references/thiagoroas-copy-analysis.yaml',
|
|
697
|
+
],
|
|
698
|
+
headings: {
|
|
699
|
+
confidence: '## 9. Confidence Summary Table',
|
|
700
|
+
gaps: '## 10. Gaps & Verification Needed',
|
|
701
|
+
sources: '## 12. Source Provenance',
|
|
702
|
+
},
|
|
703
|
+
fallbacks: {
|
|
704
|
+
confidence: 'See the original diagnostic draft for phase-by-phase confidence signals.',
|
|
705
|
+
gaps: 'See the original diagnostic draft for unresolved fix-order, recovery, and benchmark questions.',
|
|
706
|
+
},
|
|
707
|
+
},
|
|
708
|
+
];
|
|
709
|
+
|
|
710
|
+
function ensureDir(dir) {
|
|
711
|
+
fs.mkdirSync(dir, { recursive: true });
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
function readRelative(relativePath) {
|
|
715
|
+
return fs.readFileSync(path.join(ROOT, relativePath), 'utf8');
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
function writeRelative(relativePath, content) {
|
|
719
|
+
const absolutePath = path.join(ROOT, relativePath);
|
|
720
|
+
ensureDir(path.dirname(absolutePath));
|
|
721
|
+
fs.writeFileSync(absolutePath, content, 'utf8');
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
function parseArgs(argv) {
|
|
725
|
+
const args = {
|
|
726
|
+
business: null,
|
|
727
|
+
};
|
|
728
|
+
|
|
729
|
+
for (const raw of argv) {
|
|
730
|
+
if (raw.startsWith('--business=')) {
|
|
731
|
+
args.business = raw.slice('--business='.length).trim() || null;
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
return args;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
function buildMlRoot(args) {
|
|
739
|
+
if (args.business) {
|
|
740
|
+
return path.join('workspace', 'businesses', args.business, 'sops');
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
return path.join('squads', 'aiox-sop', 'docs', 'sops');
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
function normalizeText(value) {
|
|
747
|
+
return value
|
|
748
|
+
.normalize('NFD')
|
|
749
|
+
.replace(/[\u0300-\u036f]/g, '')
|
|
750
|
+
.replace(/\r\n/g, '\n');
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
function extractSection(text, heading) {
|
|
754
|
+
if (!heading) {
|
|
755
|
+
return '';
|
|
756
|
+
}
|
|
757
|
+
const normalized = text.replace(/\r\n/g, '\n');
|
|
758
|
+
const lines = normalized.split('\n');
|
|
759
|
+
const target = normalizeText(heading.trim());
|
|
760
|
+
let startLine = -1;
|
|
761
|
+
for (let index = 0; index < lines.length; index += 1) {
|
|
762
|
+
if (normalizeText(lines[index].trim()) === target) {
|
|
763
|
+
startLine = index;
|
|
764
|
+
break;
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
if (startLine === -1) {
|
|
768
|
+
return '';
|
|
769
|
+
}
|
|
770
|
+
let endLine = lines.length;
|
|
771
|
+
for (let index = startLine + 1; index < lines.length; index += 1) {
|
|
772
|
+
if (/^##\s+/.test(lines[index])) {
|
|
773
|
+
endLine = index;
|
|
774
|
+
break;
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
return lines.slice(startLine, endLine).join('\n').trim();
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
function parseMarkdownTable(section) {
|
|
781
|
+
if (!section) {
|
|
782
|
+
return [];
|
|
783
|
+
}
|
|
784
|
+
const lines = section
|
|
785
|
+
.split('\n')
|
|
786
|
+
.map((line) => line.trim())
|
|
787
|
+
.filter((line) => line.startsWith('|'));
|
|
788
|
+
if (lines.length < 3) {
|
|
789
|
+
return [];
|
|
790
|
+
}
|
|
791
|
+
const headers = lines[0]
|
|
792
|
+
.split('|')
|
|
793
|
+
.slice(1, -1)
|
|
794
|
+
.map((cell) => cell.trim());
|
|
795
|
+
const rows = [];
|
|
796
|
+
for (const line of lines.slice(2)) {
|
|
797
|
+
const cells = line
|
|
798
|
+
.split('|')
|
|
799
|
+
.slice(1, -1)
|
|
800
|
+
.map((cell) => cell.trim());
|
|
801
|
+
if (!cells.some(Boolean)) {
|
|
802
|
+
continue;
|
|
803
|
+
}
|
|
804
|
+
const row = {};
|
|
805
|
+
headers.forEach((header, index) => {
|
|
806
|
+
row[header] = cells[index] || '';
|
|
807
|
+
row[normalizeText(header)] = cells[index] || '';
|
|
808
|
+
});
|
|
809
|
+
rows.push(row);
|
|
810
|
+
}
|
|
811
|
+
return rows;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
function valueFromRow(row, keys) {
|
|
815
|
+
for (const key of keys) {
|
|
816
|
+
if (row[key]) {
|
|
817
|
+
return row[key];
|
|
818
|
+
}
|
|
819
|
+
const normalizedKey = normalizeText(key);
|
|
820
|
+
if (row[normalizedKey]) {
|
|
821
|
+
return row[normalizedKey];
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
return '';
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
function normalizePriority(value, confidence) {
|
|
828
|
+
const lower = `${value} ${confidence}`.toLowerCase();
|
|
829
|
+
if (lower.includes('alta') || lower.includes('high') || lower.includes('0.3') || lower.includes('[asm]')) {
|
|
830
|
+
return 'HIGH';
|
|
831
|
+
}
|
|
832
|
+
if (lower.includes('0.5') || lower.includes('[inf]')) {
|
|
833
|
+
return 'HIGH';
|
|
834
|
+
}
|
|
835
|
+
if (lower.includes('media') || lower.includes('medium')) {
|
|
836
|
+
return 'MEDIUM';
|
|
837
|
+
}
|
|
838
|
+
return 'REVIEW';
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
function normalizeGaps(pkg, sourceText) {
|
|
842
|
+
const rawSection = extractSection(sourceText, pkg.headings.gaps);
|
|
843
|
+
const rows = parseMarkdownTable(rawSection);
|
|
844
|
+
if (!rows.length) {
|
|
845
|
+
return [
|
|
846
|
+
{
|
|
847
|
+
id: `${pkg.slug.toUpperCase().replace(/-/g, '_')}-GAP-01`,
|
|
848
|
+
item: 'Source gap extraction unavailable',
|
|
849
|
+
confidence: 'REVIEW',
|
|
850
|
+
description: pkg.fallbacks.gaps,
|
|
851
|
+
verification: 'Review the source draft manually before using this SOP operationally.',
|
|
852
|
+
priority: 'HIGH',
|
|
853
|
+
},
|
|
854
|
+
];
|
|
855
|
+
}
|
|
856
|
+
return rows.map((row, index) => {
|
|
857
|
+
const description =
|
|
858
|
+
valueFromRow(row, ['Gap Description', 'Razao', 'Detalhe', 'Description']) || 'See source draft for details.';
|
|
859
|
+
const rawItem = valueFromRow(row, ['Item', 'Gap', 'Gap ID']) || `Gap ${index + 1}`;
|
|
860
|
+
const item = /^(gap\b|gap-\d+|\d+)$/i.test(rawItem)
|
|
861
|
+
? description.replace(/\.$/, '').slice(0, 96)
|
|
862
|
+
: rawItem;
|
|
863
|
+
const confidence = valueFromRow(row, ['Current Confidence', 'Confiança']) || 'REVIEW';
|
|
864
|
+
const verification =
|
|
865
|
+
valueFromRow(row, ['Verification Needed', 'Como verificar']) ||
|
|
866
|
+
'Obtain direct practitioner validation and update the extraction package.';
|
|
867
|
+
const priority = normalizePriority(valueFromRow(row, ['Prioridade']), confidence);
|
|
868
|
+
const id = valueFromRow(row, ['Gap ID']) || `${pkg.sopId}-GAP-${String(index + 1).padStart(2, '0')}`;
|
|
869
|
+
return { id, item, confidence, description, verification, priority };
|
|
870
|
+
});
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
function summarizeLowConfidence(section) {
|
|
874
|
+
if (!section) {
|
|
875
|
+
return [];
|
|
876
|
+
}
|
|
877
|
+
return section
|
|
878
|
+
.split('\n')
|
|
879
|
+
.map((line) => line.trim())
|
|
880
|
+
.filter((line) => line.startsWith('|'))
|
|
881
|
+
.filter((line) => /\[INF|\[ASM|0\.3|0\.5/.test(line))
|
|
882
|
+
.map((line) => line.split('|')[1].trim())
|
|
883
|
+
.filter(Boolean);
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
function summarizeAssumptions(sourceText) {
|
|
887
|
+
return sourceText
|
|
888
|
+
.split('\n')
|
|
889
|
+
.map((line) => line.trim())
|
|
890
|
+
.filter((line) => line.includes('[ASM]'))
|
|
891
|
+
.slice(0, 5);
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
function renderTable(headers, rows) {
|
|
895
|
+
const headerLine = `| ${headers.join(' | ')} |`;
|
|
896
|
+
const separator = `| ${headers.map(() => '---').join(' | ')} |`;
|
|
897
|
+
const body = rows.map((row) => `| ${row.join(' | ')} |`).join('\n');
|
|
898
|
+
return [headerLine, separator, body].filter(Boolean).join('\n');
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
function renderHumanDraft(pkg, sourceText, confidenceSection, normalizedGaps) {
|
|
902
|
+
const gapRows = normalizedGaps.map((gap) => [
|
|
903
|
+
gap.id,
|
|
904
|
+
gap.item,
|
|
905
|
+
gap.confidence,
|
|
906
|
+
gap.description,
|
|
907
|
+
gap.verification,
|
|
908
|
+
gap.priority,
|
|
909
|
+
]);
|
|
910
|
+
|
|
911
|
+
const definitions = renderTable(
|
|
912
|
+
['Term / Abbreviation', 'Definition'],
|
|
913
|
+
pkg.definitions.map(([term, definition]) => [term, definition])
|
|
914
|
+
);
|
|
915
|
+
const standards = renderTable(
|
|
916
|
+
['Standard', 'Reference'],
|
|
917
|
+
pkg.standards.map(([name, ref]) => [name, ref])
|
|
918
|
+
);
|
|
919
|
+
const raci = renderTable(
|
|
920
|
+
['Activity', ...pkg.roles],
|
|
921
|
+
pkg.raci.map(([activity, ...cells]) => [activity, ...cells])
|
|
922
|
+
);
|
|
923
|
+
const materials = renderTable(
|
|
924
|
+
['Item', 'Specification', 'Quantity', 'Notes'],
|
|
925
|
+
pkg.materials.map(([item, spec, quantity, notes]) => [item, spec, quantity, notes])
|
|
926
|
+
);
|
|
927
|
+
const systems = renderTable(
|
|
928
|
+
['System', 'Permission Level', 'How to Request'],
|
|
929
|
+
pkg.systems.map(([system, permission, request]) => [system, permission, request])
|
|
930
|
+
);
|
|
931
|
+
const training = renderTable(
|
|
932
|
+
['Training Module', 'Certification ID', 'Validity Period'],
|
|
933
|
+
pkg.training.map(([module, certification, validity]) => [module, certification, validity])
|
|
934
|
+
);
|
|
935
|
+
|
|
936
|
+
const procedureBlocks = pkg.phases
|
|
937
|
+
.map((phase, index) => {
|
|
938
|
+
const stepNumber = `5.${index + 1}`;
|
|
939
|
+
const actions = phase.actions.map((action, actionIndex) => `${actionIndex + 1}. ${action}`).join('\n');
|
|
940
|
+
return [
|
|
941
|
+
`### ${stepNumber} ${phase.title}`,
|
|
942
|
+
'',
|
|
943
|
+
`**Performer:** ${phase.performer}`,
|
|
944
|
+
`**Estimated Time:** ${phase.durationLabel}`,
|
|
945
|
+
'',
|
|
946
|
+
actions,
|
|
947
|
+
'',
|
|
948
|
+
`**Expected Result:** ${phase.expected}`,
|
|
949
|
+
`**Source Basis:** ${phase.source}`,
|
|
950
|
+
].join('\n');
|
|
951
|
+
})
|
|
952
|
+
.join('\n\n---\n\n');
|
|
953
|
+
|
|
954
|
+
const decisionBlocks = pkg.decisionPoints
|
|
955
|
+
.map((decision, index) =>
|
|
956
|
+
[
|
|
957
|
+
`### 5.${pkg.phases.length + index + 1} Decision Point: ${decision.title}`,
|
|
958
|
+
'',
|
|
959
|
+
`**IF** ${decision.if}:`,
|
|
960
|
+
`- ${decision.then}`,
|
|
961
|
+
'',
|
|
962
|
+
`**ELSE IF** ${decision.elseIf}:`,
|
|
963
|
+
`- ${decision.altAction}`,
|
|
964
|
+
'',
|
|
965
|
+
'**ELSE:**',
|
|
966
|
+
`- STOP and escalate to ${decision.escalate}.`,
|
|
967
|
+
].join('\n')
|
|
968
|
+
)
|
|
969
|
+
.join('\n\n---\n\n');
|
|
970
|
+
|
|
971
|
+
const dependencyTable = renderTable(
|
|
972
|
+
['Dependency Type', 'Details'],
|
|
973
|
+
[
|
|
974
|
+
['Sequential', pkg.dependencies.sequential.join('<br>')],
|
|
975
|
+
['Parallel', pkg.dependencies.parallel.join('<br>')],
|
|
976
|
+
['Wait States', pkg.dependencies.waitStates.join('<br>')],
|
|
977
|
+
['Loops', pkg.dependencies.loops.join('<br>')],
|
|
978
|
+
['Critical Path', pkg.dependencies.criticalPath],
|
|
979
|
+
]
|
|
980
|
+
);
|
|
981
|
+
|
|
982
|
+
const confidenceBody = confidenceSection
|
|
983
|
+
? confidenceSection.replace(/^##[^\n]*\n?/, '').trim()
|
|
984
|
+
: pkg.fallbacks.confidence;
|
|
985
|
+
|
|
986
|
+
const sourcesTable = renderTable(
|
|
987
|
+
['Source Type', 'Location', 'Usage'],
|
|
988
|
+
[
|
|
989
|
+
['Primary draft', pkg.sourcePath, 'Original research extraction preserved as source material'],
|
|
990
|
+
...pkg.references.slice(1).map((ref) => ['Supporting reference', ref, 'Supporting provenance and benchmark validation']),
|
|
991
|
+
]
|
|
992
|
+
);
|
|
993
|
+
|
|
994
|
+
return [
|
|
995
|
+
`# ${pkg.title}`,
|
|
996
|
+
'',
|
|
997
|
+
renderTable(
|
|
998
|
+
['Field', 'Value'],
|
|
999
|
+
[
|
|
1000
|
+
['**SOP ID**', pkg.sopId],
|
|
1001
|
+
['**Version**', `${pkg.version}-draft`],
|
|
1002
|
+
['**Effective Date**', TODAY],
|
|
1003
|
+
['**Author**', 'Ohno (SOP Extractor) / SOP Factory Squad'],
|
|
1004
|
+
['**Approver**', 'SOP Chief (pending)'],
|
|
1005
|
+
['**Next Review**', REVIEW_DATE],
|
|
1006
|
+
['**Classification**', pkg.classification],
|
|
1007
|
+
['**Status**', 'DRAFT - EXTRACTED'],
|
|
1008
|
+
['**Process ID**', pkg.processId],
|
|
1009
|
+
['**Executor**', pkg.roles.join(', ')],
|
|
1010
|
+
['**Level**', pkg.level],
|
|
1011
|
+
]
|
|
1012
|
+
),
|
|
1013
|
+
'',
|
|
1014
|
+
`> **Provenance:** ${PROVENANCE_NOTE}`,
|
|
1015
|
+
`> **Source Material:** ${pkg.sourceMaterial.join('; ')}`,
|
|
1016
|
+
'',
|
|
1017
|
+
'---',
|
|
1018
|
+
'',
|
|
1019
|
+
'## 1. Purpose & Scope',
|
|
1020
|
+
'',
|
|
1021
|
+
'### 1.1 Purpose',
|
|
1022
|
+
'',
|
|
1023
|
+
pkg.purpose,
|
|
1024
|
+
'',
|
|
1025
|
+
'### 1.2 Scope',
|
|
1026
|
+
'',
|
|
1027
|
+
'**In Scope:**',
|
|
1028
|
+
...pkg.scopeIn.map((item) => `- ${item}`),
|
|
1029
|
+
'',
|
|
1030
|
+
'**Out of Scope:**',
|
|
1031
|
+
...pkg.scopeOut.map((item) => `- ${item}`),
|
|
1032
|
+
'',
|
|
1033
|
+
'### 1.3 Applicability',
|
|
1034
|
+
'',
|
|
1035
|
+
pkg.applicability,
|
|
1036
|
+
'',
|
|
1037
|
+
'### 1.4 Applicable Standards',
|
|
1038
|
+
'',
|
|
1039
|
+
standards,
|
|
1040
|
+
'',
|
|
1041
|
+
'---',
|
|
1042
|
+
'',
|
|
1043
|
+
'## 2. Definitions & Abbreviations',
|
|
1044
|
+
'',
|
|
1045
|
+
definitions,
|
|
1046
|
+
'',
|
|
1047
|
+
'---',
|
|
1048
|
+
'',
|
|
1049
|
+
'## 3. Roles & Responsibilities (RACI)',
|
|
1050
|
+
'',
|
|
1051
|
+
raci,
|
|
1052
|
+
'',
|
|
1053
|
+
'---',
|
|
1054
|
+
'',
|
|
1055
|
+
'## 4. Prerequisites',
|
|
1056
|
+
'',
|
|
1057
|
+
'### 4.1 Materials & Equipment',
|
|
1058
|
+
'',
|
|
1059
|
+
materials,
|
|
1060
|
+
'',
|
|
1061
|
+
'### 4.2 System Access & Permissions',
|
|
1062
|
+
'',
|
|
1063
|
+
systems,
|
|
1064
|
+
'',
|
|
1065
|
+
'### 4.3 Required Training',
|
|
1066
|
+
'',
|
|
1067
|
+
training,
|
|
1068
|
+
'',
|
|
1069
|
+
'### 4.4 Environmental Conditions / Preconditions',
|
|
1070
|
+
'',
|
|
1071
|
+
...pkg.conditions.map((condition) => `- [ ] ${condition}`),
|
|
1072
|
+
'',
|
|
1073
|
+
'---',
|
|
1074
|
+
'',
|
|
1075
|
+
'## 5. Procedure',
|
|
1076
|
+
'',
|
|
1077
|
+
'> **INSTRUCTION:** Execute steps sequentially unless a decision point routes the work elsewhere. Do not skip the validation and review stages.',
|
|
1078
|
+
'',
|
|
1079
|
+
procedureBlocks,
|
|
1080
|
+
'',
|
|
1081
|
+
decisionBlocks,
|
|
1082
|
+
'',
|
|
1083
|
+
'---',
|
|
1084
|
+
'',
|
|
1085
|
+
'## 6. Dependency Map',
|
|
1086
|
+
'',
|
|
1087
|
+
dependencyTable,
|
|
1088
|
+
'',
|
|
1089
|
+
'---',
|
|
1090
|
+
'',
|
|
1091
|
+
'## 7. Confidence Summary',
|
|
1092
|
+
'',
|
|
1093
|
+
confidenceBody,
|
|
1094
|
+
'',
|
|
1095
|
+
'---',
|
|
1096
|
+
'',
|
|
1097
|
+
'## 8. Gaps & Review Items',
|
|
1098
|
+
'',
|
|
1099
|
+
renderTable(
|
|
1100
|
+
['Gap ID', 'Item', 'Current Confidence', 'Gap Description', 'Verification Needed', 'Priority'],
|
|
1101
|
+
gapRows
|
|
1102
|
+
),
|
|
1103
|
+
'',
|
|
1104
|
+
'---',
|
|
1105
|
+
'',
|
|
1106
|
+
'## 9. Teach-Back Validation',
|
|
1107
|
+
'',
|
|
1108
|
+
'1. Hand this draft to a reviewer who did not perform the extraction.',
|
|
1109
|
+
'2. Ask the reviewer to explain the process back, step by step, without using the source draft.',
|
|
1110
|
+
'3. Record where the reviewer hesitates, asks questions, skips a dependency, or misstates a decision rule.',
|
|
1111
|
+
'4. Update the SOP, gap report, and ML artifact before operational use.',
|
|
1112
|
+
'',
|
|
1113
|
+
'**Teach-Back Pass Criteria:**',
|
|
1114
|
+
'- All critical steps can be restated without external prompting.',
|
|
1115
|
+
'- All decision points route cleanly to one next action.',
|
|
1116
|
+
'- All unresolved assumptions remain visible in the gap report.',
|
|
1117
|
+
'',
|
|
1118
|
+
'---',
|
|
1119
|
+
'',
|
|
1120
|
+
'## 10. Sources',
|
|
1121
|
+
'',
|
|
1122
|
+
sourcesTable,
|
|
1123
|
+
'',
|
|
1124
|
+
`Detailed source draft: \`${pkg.sourcePath}\``,
|
|
1125
|
+
].join('\n');
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
function renderGapReport(pkg, gaps) {
|
|
1129
|
+
const rows = gaps.map((gap) => [
|
|
1130
|
+
gap.id,
|
|
1131
|
+
gap.item,
|
|
1132
|
+
gap.confidence,
|
|
1133
|
+
gap.description,
|
|
1134
|
+
gap.verification,
|
|
1135
|
+
`What direct evidence or practitioner confirmation resolves "${gap.item}"?`,
|
|
1136
|
+
]);
|
|
1137
|
+
|
|
1138
|
+
return [
|
|
1139
|
+
`# Gap Report - ${pkg.title}`,
|
|
1140
|
+
'',
|
|
1141
|
+
`Source draft: \`${pkg.sourcePath}\``,
|
|
1142
|
+
`Generated: ${TODAY}`,
|
|
1143
|
+
'',
|
|
1144
|
+
renderTable(
|
|
1145
|
+
['Gap ID', 'Item', 'Current Confidence', 'Description', 'Verification Needed', 'Interview Question'],
|
|
1146
|
+
rows
|
|
1147
|
+
),
|
|
1148
|
+
].join('\n');
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
function renderConfidenceReport(pkg, confidenceSection, lowConfidenceItems) {
|
|
1152
|
+
return [
|
|
1153
|
+
`# Confidence Report - ${pkg.title}`,
|
|
1154
|
+
'',
|
|
1155
|
+
`Source draft: \`${pkg.sourcePath}\``,
|
|
1156
|
+
`Generated: ${TODAY}`,
|
|
1157
|
+
'',
|
|
1158
|
+
'## Source Confidence Extract',
|
|
1159
|
+
'',
|
|
1160
|
+
confidenceSection
|
|
1161
|
+
? confidenceSection.replace(/^##[^\n]*\n?/, '').trim()
|
|
1162
|
+
: pkg.fallbacks.confidence,
|
|
1163
|
+
'',
|
|
1164
|
+
'## Low-Confidence Items (< 0.7 or explicitly inferred/assumed)',
|
|
1165
|
+
'',
|
|
1166
|
+
...(lowConfidenceItems.length
|
|
1167
|
+
? lowConfidenceItems.map((item) => `- ${item}`)
|
|
1168
|
+
: ['- No explicit low-confidence row could be parsed automatically; review the gap report manually.']),
|
|
1169
|
+
].join('\n');
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
function renderReviewSummary(pkg, gaps, lowConfidenceItems, assumptions) {
|
|
1173
|
+
return [
|
|
1174
|
+
`# Review Summary - ${pkg.title}`,
|
|
1175
|
+
'',
|
|
1176
|
+
`Generated: ${TODAY}`,
|
|
1177
|
+
'',
|
|
1178
|
+
'## Critical Gaps',
|
|
1179
|
+
'',
|
|
1180
|
+
...(gaps.length ? gaps.map((gap) => `- ${gap.id}: ${gap.item} (${gap.priority})`) : ['- None']),
|
|
1181
|
+
'',
|
|
1182
|
+
'## Low-Confidence Items',
|
|
1183
|
+
'',
|
|
1184
|
+
...(lowConfidenceItems.length
|
|
1185
|
+
? lowConfidenceItems.map((item) => `- ${item}`)
|
|
1186
|
+
: ['- None parsed from the confidence table']),
|
|
1187
|
+
'',
|
|
1188
|
+
'## Assumptions Found',
|
|
1189
|
+
'',
|
|
1190
|
+
...(assumptions.length ? assumptions.map((line) => `- ${line}`) : ['- None detected automatically']),
|
|
1191
|
+
'',
|
|
1192
|
+
'## Release Guidance',
|
|
1193
|
+
'',
|
|
1194
|
+
'- Do not treat this draft as audited or certified.',
|
|
1195
|
+
'- Resolve high-priority gaps before production use.',
|
|
1196
|
+
'- Run teach-back before routing the SOP into autonomous execution.',
|
|
1197
|
+
].join('\n');
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
function renderTeachbackPlan(pkg) {
|
|
1201
|
+
return [
|
|
1202
|
+
`# Teach-Back Plan - ${pkg.title}`,
|
|
1203
|
+
'',
|
|
1204
|
+
`Generated: ${TODAY}`,
|
|
1205
|
+
'',
|
|
1206
|
+
'## Objective',
|
|
1207
|
+
'',
|
|
1208
|
+
'Validate whether a fresh operator or agent can restate the process accurately without relying on tribal knowledge.',
|
|
1209
|
+
'',
|
|
1210
|
+
'## Method',
|
|
1211
|
+
'',
|
|
1212
|
+
'1. Give the normalized draft SOP to a reviewer who did not participate in the extraction.',
|
|
1213
|
+
'2. Ask the reviewer to narrate the process back from trigger to expected result.',
|
|
1214
|
+
'3. Capture confusion around prerequisites, decision points, dependencies, and low-confidence steps.',
|
|
1215
|
+
'4. Update the draft, gap report, and ML artifact with the findings.',
|
|
1216
|
+
'',
|
|
1217
|
+
'## Focus Areas',
|
|
1218
|
+
'',
|
|
1219
|
+
'- Can the reviewer identify the trigger and stopping conditions?',
|
|
1220
|
+
'- Can the reviewer follow the dependency map without outside help?',
|
|
1221
|
+
'- Can the reviewer explain every decision point and escalation path?',
|
|
1222
|
+
'- Does the reviewer surface the same assumptions already marked in the gap report?',
|
|
1223
|
+
'',
|
|
1224
|
+
'## Exit Criteria',
|
|
1225
|
+
'',
|
|
1226
|
+
'- No missing prerequisite blocks execution.',
|
|
1227
|
+
'- Decision routing is understood without extra prompting.',
|
|
1228
|
+
'- Remaining gaps are explicit and acceptable for draft status.',
|
|
1229
|
+
].join('\n');
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
function renderMlYaml(pkg, gaps) {
|
|
1233
|
+
const stepLines = pkg.phases
|
|
1234
|
+
.map((phase, index) => {
|
|
1235
|
+
const stepId = `S${String(index + 1).padStart(3, '0')}`;
|
|
1236
|
+
const nextStep = index === pkg.phases.length - 1 ? 'END' : `S${String(index + 2).padStart(3, '0')}`;
|
|
1237
|
+
const toolId = index < 2 ? 'source_reader' : 'manual_workspace';
|
|
1238
|
+
return [
|
|
1239
|
+
` - id: "${stepId}"`,
|
|
1240
|
+
` name: "${phase.title}"`,
|
|
1241
|
+
` action: "${phase.title.toLowerCase().replace(/[^a-z0-9]+/g, '_').replace(/^_|_$/g, '')}"`,
|
|
1242
|
+
` description: "${phase.expected}"`,
|
|
1243
|
+
` performer: "${phase.performer}"`,
|
|
1244
|
+
` critical: ${index < 2 ? 'true' : 'false'}`,
|
|
1245
|
+
` estimated_duration: "${phase.duration}"`,
|
|
1246
|
+
'',
|
|
1247
|
+
' tool:',
|
|
1248
|
+
` id: "${toolId}"`,
|
|
1249
|
+
` command: "follow normalized draft step ${stepId}"`,
|
|
1250
|
+
' timeout: "PT30M"',
|
|
1251
|
+
'',
|
|
1252
|
+
' input:',
|
|
1253
|
+
' - name: "source_draft"',
|
|
1254
|
+
' type: "file"',
|
|
1255
|
+
' source: "system"',
|
|
1256
|
+
` value: "${pkg.sourcePath}"`,
|
|
1257
|
+
' required: true',
|
|
1258
|
+
'',
|
|
1259
|
+
' output:',
|
|
1260
|
+
' - name: "step_result"',
|
|
1261
|
+
' type: "object"',
|
|
1262
|
+
` store_as: "${phase.title.toLowerCase().replace(/[^a-z0-9]+/g, '_').replace(/^_|_$/g, '')}_result"`,
|
|
1263
|
+
'',
|
|
1264
|
+
' validation:',
|
|
1265
|
+
' type: "assertion"',
|
|
1266
|
+
' rules:',
|
|
1267
|
+
' - field: "step_result"',
|
|
1268
|
+
' operator: "exists"',
|
|
1269
|
+
' expected: "true"',
|
|
1270
|
+
` message: "${phase.title} must produce a result object."`,
|
|
1271
|
+
'',
|
|
1272
|
+
` on_success: "${nextStep}"`,
|
|
1273
|
+
' on_failure: "EH001"',
|
|
1274
|
+
' decision_point: null',
|
|
1275
|
+
].join('\n');
|
|
1276
|
+
})
|
|
1277
|
+
.join('\n\n');
|
|
1278
|
+
|
|
1279
|
+
const gapTags = gaps.map((gap) => ` - "${gap.id}"`).join('\n');
|
|
1280
|
+
const inputLines = pkg.ml.input
|
|
1281
|
+
.map(
|
|
1282
|
+
([name, type, required, description]) =>
|
|
1283
|
+
[
|
|
1284
|
+
` - name: "${name}"`,
|
|
1285
|
+
` type: "${type}"`,
|
|
1286
|
+
` required: ${required ? 'true' : 'false'}`,
|
|
1287
|
+
` description: "${description}"`,
|
|
1288
|
+
].join('\n')
|
|
1289
|
+
)
|
|
1290
|
+
.join('\n');
|
|
1291
|
+
|
|
1292
|
+
return [
|
|
1293
|
+
'sop:',
|
|
1294
|
+
` id: "${pkg.sopId}"`,
|
|
1295
|
+
` version: "${pkg.version}.0"`,
|
|
1296
|
+
` title: "${pkg.title}"`,
|
|
1297
|
+
` purpose: "${pkg.purpose}"`,
|
|
1298
|
+
'',
|
|
1299
|
+
' classification:',
|
|
1300
|
+
` domain: "${pkg.ml.domain}"`,
|
|
1301
|
+
` category: "${pkg.ml.category}"`,
|
|
1302
|
+
` risk_level: "${pkg.ml.risk}"`,
|
|
1303
|
+
' compliance_tags:',
|
|
1304
|
+
' - "SOP-FACTORY-EXTRACT"',
|
|
1305
|
+
' - "DRAFT-EXTRACTED"',
|
|
1306
|
+
` status: "DRAFT"`,
|
|
1307
|
+
` effective_date: "${TODAY}"`,
|
|
1308
|
+
` review_date: "${REVIEW_DATE}"`,
|
|
1309
|
+
'',
|
|
1310
|
+
' trigger:',
|
|
1311
|
+
` type: "${pkg.trigger.type}"`,
|
|
1312
|
+
` description: "${pkg.trigger.description}"`,
|
|
1313
|
+
' event: ""',
|
|
1314
|
+
' schedule: ""',
|
|
1315
|
+
` source: "${pkg.trigger.source}"`,
|
|
1316
|
+
' conditions:',
|
|
1317
|
+
' - field: "source_draft"',
|
|
1318
|
+
' operator: "exists"',
|
|
1319
|
+
' value: "true"',
|
|
1320
|
+
'',
|
|
1321
|
+
' context:',
|
|
1322
|
+
' tools:',
|
|
1323
|
+
' - id: "source_reader"',
|
|
1324
|
+
' name: "Repository Draft Reader"',
|
|
1325
|
+
' type: "cli"',
|
|
1326
|
+
' version: "1.0"',
|
|
1327
|
+
' required: true',
|
|
1328
|
+
' - id: "manual_workspace"',
|
|
1329
|
+
' name: "Operator Workspace"',
|
|
1330
|
+
' type: "manual"',
|
|
1331
|
+
' version: "1.0"',
|
|
1332
|
+
' required: true',
|
|
1333
|
+
'',
|
|
1334
|
+
' permissions:',
|
|
1335
|
+
' - resource: "repository-files"',
|
|
1336
|
+
' action: "read"',
|
|
1337
|
+
' scope: "source drafts and published outputs"',
|
|
1338
|
+
' justification: "Required to consume the extracted SOP package safely."',
|
|
1339
|
+
'',
|
|
1340
|
+
' environment:',
|
|
1341
|
+
' - key: "AIOX_RUNTIME_MODE"',
|
|
1342
|
+
' description: "Current SOP Factory runtime mode"',
|
|
1343
|
+
' required: true',
|
|
1344
|
+
' sensitive: false',
|
|
1345
|
+
'',
|
|
1346
|
+
' input:',
|
|
1347
|
+
inputLines,
|
|
1348
|
+
'',
|
|
1349
|
+
' steps:',
|
|
1350
|
+
stepLines,
|
|
1351
|
+
'',
|
|
1352
|
+
' error_handling:',
|
|
1353
|
+
' handlers:',
|
|
1354
|
+
' - id: "EH001"',
|
|
1355
|
+
' name: "Escalate review failure"',
|
|
1356
|
+
' trigger_on:',
|
|
1357
|
+
' - error_type: "validation"',
|
|
1358
|
+
' action: "Stop execution, update gap report, and request human review."',
|
|
1359
|
+
'',
|
|
1360
|
+
' success_criteria:',
|
|
1361
|
+
' - "All procedure steps produce an output object."',
|
|
1362
|
+
' - "Teach-back is completed before autonomous use."',
|
|
1363
|
+
' - "High-priority gaps are visible in companion reports."',
|
|
1364
|
+
'',
|
|
1365
|
+
' review_flags:',
|
|
1366
|
+
gapTags || ' - "NO_GAPS_PARSED"',
|
|
1367
|
+
].join('\n');
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
function renderIndex(packages, args) {
|
|
1371
|
+
const rows = packages.map((pkg) => [
|
|
1372
|
+
pkg.title,
|
|
1373
|
+
`draft-${pkg.slug}-sop-v0.1.md`,
|
|
1374
|
+
`draft-${pkg.slug}-sop-v0.1.yaml`,
|
|
1375
|
+
`gaps-${pkg.slug}-${TODAY}.md`,
|
|
1376
|
+
`confidence-${pkg.slug}-${TODAY}.md`,
|
|
1377
|
+
`review-items-${pkg.slug}-${TODAY}.md`,
|
|
1378
|
+
`teachback-${pkg.slug}-${TODAY}.md`,
|
|
1379
|
+
]);
|
|
1380
|
+
return [
|
|
1381
|
+
'# Thiago Roas VSL Extraction Package',
|
|
1382
|
+
'',
|
|
1383
|
+
`Generated: ${TODAY}`,
|
|
1384
|
+
'',
|
|
1385
|
+
'Canonical markdown publish root: `docs/sops/`',
|
|
1386
|
+
`Canonical machine-readable publish root: \`${buildMlRoot(args)}/\``,
|
|
1387
|
+
'Auxiliary extraction reports root: `outputs/aiox-sop/extractions/`',
|
|
1388
|
+
'',
|
|
1389
|
+
renderTable(
|
|
1390
|
+
['Process', 'Human Draft', 'ML Draft', 'Gap Report', 'Confidence Report', 'Review Summary', 'Teach-Back'],
|
|
1391
|
+
rows
|
|
1392
|
+
),
|
|
1393
|
+
'',
|
|
1394
|
+
'Source drafts remain in `squads/copy/data/sops/` and are not the canonical publish surface.',
|
|
1395
|
+
].join('\n');
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
function main() {
|
|
1399
|
+
const args = parseArgs(process.argv.slice(2));
|
|
1400
|
+
const mlRoot = buildMlRoot(args);
|
|
1401
|
+
|
|
1402
|
+
ensureDir(DOCS_SOPS_ROOT);
|
|
1403
|
+
ensureDir(path.join(ROOT, mlRoot));
|
|
1404
|
+
ensureDir(AUXILIARY_OUTPUT_ROOT);
|
|
1405
|
+
for (const pkg of PACKAGES) {
|
|
1406
|
+
const sourceText = readRelative(pkg.sourcePath);
|
|
1407
|
+
const confidenceSection = extractSection(sourceText, pkg.headings.confidence);
|
|
1408
|
+
const gaps = normalizeGaps(pkg, sourceText);
|
|
1409
|
+
const lowConfidenceItems = summarizeLowConfidence(confidenceSection);
|
|
1410
|
+
const assumptions = summarizeAssumptions(sourceText);
|
|
1411
|
+
|
|
1412
|
+
writeRelative(
|
|
1413
|
+
path.join('docs', 'sops', `draft-${pkg.slug}-sop-v0.1.md`),
|
|
1414
|
+
`${renderHumanDraft(pkg, sourceText, confidenceSection, gaps)}\n`
|
|
1415
|
+
);
|
|
1416
|
+
writeRelative(
|
|
1417
|
+
path.join(mlRoot, `draft-${pkg.slug}-sop-v0.1.yaml`),
|
|
1418
|
+
`${renderMlYaml(pkg, gaps)}\n`
|
|
1419
|
+
);
|
|
1420
|
+
writeRelative(
|
|
1421
|
+
path.join('outputs', 'aiox-sop', 'extractions', `gaps-${pkg.slug}-${TODAY}.md`),
|
|
1422
|
+
`${renderGapReport(pkg, gaps)}\n`
|
|
1423
|
+
);
|
|
1424
|
+
writeRelative(
|
|
1425
|
+
path.join('outputs', 'aiox-sop', 'extractions', `confidence-${pkg.slug}-${TODAY}.md`),
|
|
1426
|
+
`${renderConfidenceReport(pkg, confidenceSection, lowConfidenceItems)}\n`
|
|
1427
|
+
);
|
|
1428
|
+
writeRelative(
|
|
1429
|
+
path.join('outputs', 'aiox-sop', 'extractions', `review-items-${pkg.slug}-${TODAY}.md`),
|
|
1430
|
+
`${renderReviewSummary(pkg, gaps, lowConfidenceItems, assumptions)}\n`
|
|
1431
|
+
);
|
|
1432
|
+
writeRelative(
|
|
1433
|
+
path.join('outputs', 'aiox-sop', 'extractions', `teachback-${pkg.slug}-${TODAY}.md`),
|
|
1434
|
+
`${renderTeachbackPlan(pkg)}\n`
|
|
1435
|
+
);
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
writeRelative(
|
|
1439
|
+
path.join('outputs', 'aiox-sop', 'extractions', 'thiagoroas-vsl-package-index.md'),
|
|
1440
|
+
`${renderIndex(PACKAGES, args)}\n`
|
|
1441
|
+
);
|
|
1442
|
+
|
|
1443
|
+
console.log(
|
|
1444
|
+
`PASS: normalized ${PACKAGES.length} Thiago Roas extraction packages into docs/sops/ and ${mlRoot}/`
|
|
1445
|
+
);
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
main();
|