agentic-qe 3.6.1 → 3.6.3
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/.claude/agents/v3/qe-accessibility-auditor.md +14 -9
- package/.claude/agents/v3/qe-bdd-generator.md +14 -9
- package/.claude/agents/v3/qe-chaos-engineer.md +15 -10
- package/.claude/agents/v3/qe-code-complexity.md +14 -9
- package/.claude/agents/v3/qe-code-intelligence.md +14 -9
- package/.claude/agents/v3/qe-contract-validator.md +14 -9
- package/.claude/agents/v3/qe-coverage-specialist.md +14 -9
- package/.claude/agents/v3/qe-defect-predictor.md +14 -9
- package/.claude/agents/v3/qe-dependency-mapper.md +14 -9
- package/.claude/agents/v3/qe-deployment-advisor.md +14 -9
- package/.claude/agents/v3/qe-flaky-hunter.md +14 -9
- package/.claude/agents/v3/qe-fleet-commander.md +14 -9
- package/.claude/agents/v3/qe-gap-detector.md +14 -9
- package/.claude/agents/v3/qe-graphql-tester.md +14 -9
- package/.claude/agents/v3/qe-impact-analyzer.md +14 -9
- package/.claude/agents/v3/qe-kg-builder.md +14 -9
- package/.claude/agents/v3/qe-load-tester.md +14 -9
- package/.claude/agents/v3/qe-message-broker-tester.md +15 -10
- package/.claude/agents/v3/qe-metrics-optimizer.md +14 -9
- package/.claude/agents/v3/qe-middleware-validator.md +15 -10
- package/.claude/agents/v3/qe-mutation-tester.md +14 -9
- package/.claude/agents/v3/qe-odata-contract-tester.md +17 -12
- package/.claude/agents/v3/qe-performance-tester.md +14 -9
- package/.claude/agents/v3/qe-product-factors-assessor.md +19 -0
- package/.claude/agents/v3/qe-property-tester.md +14 -9
- package/.claude/agents/v3/qe-quality-criteria-recommender.md +2 -2
- package/.claude/agents/v3/qe-qx-partner.md +101 -14
- package/.claude/agents/v3/qe-regression-analyzer.md +14 -9
- package/.claude/agents/v3/qe-requirements-validator.md +14 -9
- package/.claude/agents/v3/qe-responsive-tester.md +14 -9
- package/.claude/agents/v3/qe-retry-handler.md +14 -9
- package/.claude/agents/v3/qe-risk-assessor.md +14 -9
- package/.claude/agents/v3/qe-root-cause-analyzer.md +14 -9
- package/.claude/agents/v3/qe-sap-idoc-tester.md +16 -11
- package/.claude/agents/v3/qe-sap-rfc-tester.md +15 -10
- package/.claude/agents/v3/qe-security-auditor.md +18 -9
- package/.claude/agents/v3/qe-security-scanner.md +15 -10
- package/.claude/agents/v3/qe-soap-tester.md +15 -10
- package/.claude/agents/v3/qe-sod-analyzer.md +17 -12
- package/.claude/agents/v3/qe-test-architect.md +14 -9
- package/.claude/agents/v3/qe-transfer-specialist.md +14 -9
- package/.claude/agents/v3/subagents/qe-code-reviewer.md +14 -9
- package/.claude/agents/v3/subagents/qe-integration-reviewer.md +14 -9
- package/.claude/agents/v3/subagents/qe-performance-reviewer.md +14 -9
- package/.claude/agents/v3/subagents/qe-security-reviewer.md +14 -9
- package/.claude/agents/v3/subagents/qe-tdd-green.md +14 -9
- package/.claude/agents/v3/subagents/qe-tdd-red.md +14 -9
- package/.claude/agents/v3/subagents/qe-tdd-refactor.md +14 -9
- package/.claude/agents/v3/templates/qx-report-template.html +26 -22
- package/.claude/skills/.validation/README.md +2 -2
- package/.claude/skills/.validation/skill-validation-mcp-integration.md +1 -1
- package/.claude/skills/.validation/templates/skill-frontmatter.example.yaml +1 -1
- package/.claude/skills/TRUST-TIERS.md +55 -55
- package/.claude/skills/a11y-ally/SKILL.md +1 -1
- package/.claude/skills/a11y-ally/evals/a11y-ally.yaml +1 -1
- package/.claude/skills/a11y-ally/scripts/validate-config.json +42 -0
- package/.claude/skills/accessibility-testing/SKILL.md +1 -1
- package/.claude/skills/accessibility-testing/scripts/validate-config.json +56 -0
- package/.claude/skills/api-testing-patterns/SKILL.md +1 -1
- package/.claude/skills/api-testing-patterns/scripts/validate-config.json +61 -0
- package/.claude/skills/brutal-honesty-review/SKILL.md +1 -1
- package/.claude/skills/brutal-honesty-review/scripts/validate-config.json +34 -0
- package/.claude/skills/bug-reporting-excellence/SKILL.md +1 -1
- package/.claude/skills/bug-reporting-excellence/scripts/validate-config.json +34 -0
- package/.claude/skills/chaos-engineering-resilience/SKILL.md +1 -1
- package/.claude/skills/chaos-engineering-resilience/evals/chaos-engineering-resilience.yaml +1 -1
- package/.claude/skills/chaos-engineering-resilience/scripts/validate-config.json +47 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/SKILL.md +1 -1
- package/.claude/skills/cicd-pipeline-qe-orchestrator/scripts/validate-config.json +42 -0
- package/.claude/skills/code-review-quality/SKILL.md +1 -1
- package/.claude/skills/code-review-quality/scripts/validate-config.json +34 -0
- package/.claude/skills/compatibility-testing/SKILL.md +1 -1
- package/.claude/skills/compatibility-testing/scripts/validate-config.json +44 -0
- package/.claude/skills/compliance-testing/SKILL.md +1 -1
- package/.claude/skills/compliance-testing/scripts/validate-config.json +39 -0
- package/.claude/skills/contract-testing/SKILL.md +1 -1
- package/.claude/skills/contract-testing/scripts/validate-config.json +59 -0
- package/.claude/skills/database-testing/SKILL.md +1 -1
- package/.claude/skills/database-testing/evals/database-testing.yaml +1 -1
- package/.claude/skills/database-testing/scripts/validate-config.json +48 -0
- package/.claude/skills/enterprise-integration-testing/SKILL.md +1 -1
- package/.claude/skills/localization-testing/SKILL.md +1 -1
- package/.claude/skills/localization-testing/evals/localization-testing.yaml +1 -1
- package/.claude/skills/localization-testing/scripts/validate-config.json +42 -0
- package/.claude/skills/middleware-testing-patterns/SKILL.md +1 -1
- package/.claude/skills/mobile-testing/SKILL.md +1 -1
- package/.claude/skills/mobile-testing/evals/mobile-testing.yaml +1 -1
- package/.claude/skills/mobile-testing/scripts/validate-config.json +43 -0
- package/.claude/skills/mutation-testing/SKILL.md +1 -1
- package/.claude/skills/mutation-testing/scripts/validate-config.json +44 -0
- package/.claude/skills/n8n-expression-testing/SKILL.md +1 -1
- package/.claude/skills/n8n-expression-testing/evals/n8n-expression-testing.yaml +1 -1
- package/.claude/skills/n8n-expression-testing/scripts/validate-config.json +39 -0
- package/.claude/skills/n8n-integration-testing-patterns/SKILL.md +1 -1
- package/.claude/skills/n8n-integration-testing-patterns/evals/n8n-integration-testing-patterns.yaml +1 -1
- package/.claude/skills/n8n-integration-testing-patterns/scripts/validate-config.json +34 -0
- package/.claude/skills/n8n-security-testing/SKILL.md +1 -1
- package/.claude/skills/n8n-security-testing/evals/n8n-security-testing.yaml +1 -1
- package/.claude/skills/n8n-security-testing/scripts/validate-config.json +34 -0
- package/.claude/skills/n8n-trigger-testing-strategies/SKILL.md +1 -1
- package/.claude/skills/n8n-trigger-testing-strategies/evals/n8n-trigger-testing-strategies.yaml +1 -1
- package/.claude/skills/n8n-trigger-testing-strategies/scripts/validate-config.json +34 -0
- package/.claude/skills/n8n-workflow-testing-fundamentals/SKILL.md +1 -1
- package/.claude/skills/n8n-workflow-testing-fundamentals/evals/n8n-workflow-testing-fundamentals.yaml +1 -1
- package/.claude/skills/n8n-workflow-testing-fundamentals/scripts/validate-config.json +35 -0
- package/.claude/skills/observability-testing-patterns/SKILL.md +1 -1
- package/.claude/skills/pentest-validation/SKILL.md +1 -1
- package/.claude/skills/pentest-validation/evals/pentest-validation.yaml +1 -1
- package/.claude/skills/pentest-validation/scripts/validate-config.json +12 -0
- package/.claude/skills/performance-analysis/SKILL.md +1 -1
- package/.claude/skills/performance-analysis/scripts/validate-config.json +36 -0
- package/.claude/skills/performance-testing/SKILL.md +1 -1
- package/.claude/skills/performance-testing/evals/performance-testing.yaml +1 -1
- package/.claude/skills/performance-testing/scripts/validate-config.json +55 -0
- package/.claude/skills/qcsd-cicd-swarm/SKILL.md +1 -1
- package/.claude/skills/qcsd-development-swarm/SKILL.md +1 -1
- package/.claude/skills/qcsd-ideation-swarm/SKILL.md +1 -1
- package/.claude/skills/qcsd-ideation-swarm/scripts/validate-config.json +25 -0
- package/.claude/skills/qcsd-refinement-swarm/SKILL.md +1 -1
- package/.claude/skills/qcsd-refinement-swarm/scripts/validate-config.json +25 -0
- package/.claude/skills/qe-chaos-resilience/SKILL.md +1 -1
- package/.claude/skills/qe-chaos-resilience/evals/qe-chaos-resilience.yaml +1 -1
- package/.claude/skills/qe-chaos-resilience/scripts/validate-config.json +43 -0
- package/.claude/skills/qe-code-intelligence/SKILL.md +1 -1
- package/.claude/skills/qe-code-intelligence/evals/qe-code-intelligence.yaml +1 -1
- package/.claude/skills/qe-code-intelligence/scripts/validate-config.json +41 -0
- package/.claude/skills/qe-contract-testing/SKILL.md +1 -1
- package/.claude/skills/qe-contract-testing/evals/qe-contract-testing.yaml +1 -1
- package/.claude/skills/qe-contract-testing/scripts/validate-config.json +42 -0
- package/.claude/skills/qe-coverage-analysis/SKILL.md +1 -1
- package/.claude/skills/qe-coverage-analysis/evals/qe-coverage-analysis.yaml +1 -1
- package/.claude/skills/qe-coverage-analysis/scripts/validate-config.json +42 -0
- package/.claude/skills/qe-defect-intelligence/SKILL.md +1 -1
- package/.claude/skills/qe-defect-intelligence/evals/qe-defect-intelligence.yaml +1 -1
- package/.claude/skills/qe-defect-intelligence/scripts/validate-config.json +40 -0
- package/.claude/skills/qe-iterative-loop/SKILL.md +1 -1
- package/.claude/skills/qe-iterative-loop/scripts/validate-config.json +40 -0
- package/.claude/skills/qe-learning-optimization/SKILL.md +1 -1
- package/.claude/skills/qe-learning-optimization/scripts/validate-config.json +25 -0
- package/.claude/skills/qe-quality-assessment/SKILL.md +1 -1
- package/.claude/skills/qe-quality-assessment/evals/qe-quality-assessment.yaml +1 -1
- package/.claude/skills/qe-quality-assessment/scripts/validate-config.json +47 -0
- package/.claude/skills/qe-requirements-validation/SKILL.md +1 -1
- package/.claude/skills/qe-requirements-validation/evals/qe-requirements-validation.yaml +1 -1
- package/.claude/skills/qe-requirements-validation/scripts/validate-config.json +37 -0
- package/.claude/skills/qe-security-compliance/SKILL.md +1 -1
- package/.claude/skills/qe-security-compliance/evals/qe-security-compliance.yaml +1 -1
- package/.claude/skills/qe-security-compliance/scripts/validate-config.json +41 -0
- package/.claude/skills/qe-test-execution/SKILL.md +1 -1
- package/.claude/skills/qe-test-execution/evals/qe-test-execution.yaml +1 -1
- package/.claude/skills/qe-test-execution/scripts/validate-config.json +37 -0
- package/.claude/skills/qe-test-generation/SKILL.md +1 -1
- package/.claude/skills/qe-test-generation/scripts/validate-config.json +25 -0
- package/.claude/skills/qe-visual-accessibility/SKILL.md +1 -1
- package/.claude/skills/qe-visual-accessibility/scripts/validate-config.json +25 -0
- package/.claude/skills/quality-metrics/SKILL.md +1 -1
- package/.claude/skills/quality-metrics/evals/quality-metrics.yaml +1 -1
- package/.claude/skills/quality-metrics/scripts/validate-config.json +43 -0
- package/.claude/skills/refactoring-patterns/SKILL.md +1 -1
- package/.claude/skills/refactoring-patterns/scripts/validate-config.json +35 -0
- package/.claude/skills/regression-testing/SKILL.md +1 -1
- package/.claude/skills/regression-testing/evals/regression-testing.yaml +1 -1
- package/.claude/skills/regression-testing/scripts/validate-config.json +50 -0
- package/.claude/skills/risk-based-testing/SKILL.md +1 -1
- package/.claude/skills/risk-based-testing/scripts/validate-config.json +25 -0
- package/.claude/skills/security-testing/SKILL.md +1 -1
- package/.claude/skills/security-testing/evals/security-testing.yaml +1 -1
- package/.claude/skills/security-testing/scripts/validate-config.json +45 -0
- package/.claude/skills/security-visual-testing/SKILL.md +1 -1
- package/.claude/skills/security-visual-testing/scripts/validate-config.json +45 -0
- package/.claude/skills/sherlock-review/SKILL.md +1 -1
- package/.claude/skills/sherlock-review/scripts/validate-config.json +35 -0
- package/.claude/skills/shift-left-testing/SKILL.md +1 -1
- package/.claude/skills/shift-left-testing/scripts/validate-config.json +25 -0
- package/.claude/skills/shift-right-testing/SKILL.md +1 -1
- package/.claude/skills/shift-right-testing/scripts/validate-config.json +25 -0
- package/.claude/skills/skill-builder/SKILL.md +2 -2
- package/.claude/skills/skills-manifest.json +1 -1
- package/.claude/skills/tdd-london-chicago/SKILL.md +1 -1
- package/.claude/skills/tdd-london-chicago/scripts/validate-config.json +43 -0
- package/.claude/skills/test-automation-strategy/SKILL.md +1 -1
- package/.claude/skills/test-automation-strategy/scripts/validate-config.json +39 -0
- package/.claude/skills/test-data-management/SKILL.md +1 -1
- package/.claude/skills/test-data-management/evals/test-data-management.yaml +1 -1
- package/.claude/skills/test-data-management/scripts/validate-config.json +41 -0
- package/.claude/skills/test-design-techniques/SKILL.md +1 -1
- package/.claude/skills/test-design-techniques/scripts/validate-config.json +36 -0
- package/.claude/skills/test-reporting-analytics/SKILL.md +1 -1
- package/.claude/skills/test-reporting-analytics/scripts/validate-config.json +36 -0
- package/.claude/skills/testability-scoring/SKILL.md +1 -1
- package/.claude/skills/testability-scoring/scripts/validate-config.json +42 -0
- package/.claude/skills/trust-tier-manifest.json +106 -106
- package/.claude/skills/verification-quality/scripts/validate-config.json +36 -0
- package/.claude/skills/visual-testing-advanced/SKILL.md +1 -1
- package/.claude/skills/visual-testing-advanced/scripts/validate-config.json +38 -0
- package/.claude/skills/wms-testing-patterns/SKILL.md +1 -1
- package/.claude/skills/wms-testing-patterns/evals/wms-testing-patterns.yaml +165 -0
- package/.claude/skills/wms-testing-patterns/schemas/output.json +150 -0
- package/.claude/skills/wms-testing-patterns/scripts/validate-config.json +51 -0
- package/README.md +20 -20
- package/package.json +6 -6
- package/scripts/cloud-db-config.json +1 -1
- package/scripts/migrate-validators.cjs +171 -0
- package/scripts/postinstall.cjs +57 -0
- package/scripts/preinstall.cjs +28 -8
- package/scripts/test-schema-validation.js +2 -2
- package/scripts/update-skill-manifest.ts +3 -3
- package/scripts/validate-skill.cjs +384 -0
- package/scripts/validate-tier3.cjs +61 -0
- package/scripts/validator-lib.cjs +274 -0
- package/v3/CHANGELOG.md +32 -0
- package/v3/assets/agents/v3/qe-product-factors-assessor.md +19 -0
- package/v3/assets/agents/v3/qe-quality-criteria-recommender.md +2 -2
- package/v3/assets/agents/v3/qe-qx-partner.md +27 -0
- package/v3/assets/skills/.validation/README.md +1 -1
- package/v3/assets/skills/.validation/skill-validation-mcp-integration.md +1 -1
- package/v3/assets/skills/.validation/templates/skill-frontmatter.example.yaml +1 -1
- package/v3/assets/skills/accessibility-testing/SKILL.md +1 -1
- package/v3/assets/skills/accessibility-testing/scripts/validate-config.json +56 -0
- package/v3/assets/skills/api-testing-patterns/SKILL.md +1 -1
- package/v3/assets/skills/api-testing-patterns/scripts/validate-config.json +61 -0
- package/v3/assets/skills/bug-reporting-excellence/SKILL.md +1 -1
- package/v3/assets/skills/bug-reporting-excellence/scripts/validate-config.json +34 -0
- package/v3/assets/skills/chaos-engineering-resilience/SKILL.md +1 -1
- package/v3/assets/skills/chaos-engineering-resilience/evals/chaos-engineering-resilience.yaml +1 -1
- package/v3/assets/skills/chaos-engineering-resilience/scripts/validate-config.json +47 -0
- package/v3/assets/skills/code-review-quality/SKILL.md +1 -1
- package/v3/assets/skills/code-review-quality/scripts/validate-config.json +34 -0
- package/v3/assets/skills/compatibility-testing/SKILL.md +1 -1
- package/v3/assets/skills/compatibility-testing/scripts/validate-config.json +44 -0
- package/v3/assets/skills/compliance-testing/SKILL.md +1 -1
- package/v3/assets/skills/compliance-testing/scripts/validate-config.json +39 -0
- package/v3/assets/skills/contract-testing/SKILL.md +1 -1
- package/v3/assets/skills/contract-testing/scripts/validate-config.json +59 -0
- package/v3/assets/skills/database-testing/SKILL.md +1 -1
- package/v3/assets/skills/database-testing/evals/database-testing.yaml +1 -1
- package/v3/assets/skills/database-testing/scripts/validate-config.json +48 -0
- package/v3/assets/skills/enterprise-integration-testing/SKILL.md +1 -1
- package/v3/assets/skills/localization-testing/SKILL.md +1 -1
- package/v3/assets/skills/localization-testing/evals/localization-testing.yaml +1 -1
- package/v3/assets/skills/localization-testing/scripts/validate-config.json +42 -0
- package/v3/assets/skills/middleware-testing-patterns/SKILL.md +1 -1
- package/v3/assets/skills/mobile-testing/SKILL.md +1 -1
- package/v3/assets/skills/mobile-testing/evals/mobile-testing.yaml +1 -1
- package/v3/assets/skills/mobile-testing/scripts/validate-config.json +43 -0
- package/v3/assets/skills/mutation-testing/SKILL.md +1 -1
- package/v3/assets/skills/mutation-testing/scripts/validate-config.json +44 -0
- package/v3/assets/skills/observability-testing-patterns/SKILL.md +1 -1
- package/v3/assets/skills/pentest-validation/SKILL.md +1 -1
- package/v3/assets/skills/pentest-validation/evals/pentest-validation.yaml +1 -1
- package/v3/assets/skills/performance-testing/SKILL.md +1 -1
- package/v3/assets/skills/performance-testing/evals/performance-testing.yaml +1 -1
- package/v3/assets/skills/performance-testing/scripts/validate-config.json +55 -0
- package/v3/assets/skills/qcsd-cicd-swarm/SKILL.md +1 -1
- package/v3/assets/skills/qcsd-development-swarm/SKILL.md +1 -1
- package/v3/assets/skills/qcsd-ideation-swarm/SKILL.md +1 -1
- package/v3/assets/skills/qcsd-refinement-swarm/SKILL.md +1 -1
- package/v3/assets/skills/qe-chaos-resilience/SKILL.md +1 -1
- package/v3/assets/skills/qe-chaos-resilience/evals/qe-chaos-resilience.yaml +1 -1
- package/v3/assets/skills/qe-chaos-resilience/scripts/validate-config.json +43 -0
- package/v3/assets/skills/qe-code-intelligence/SKILL.md +1 -1
- package/v3/assets/skills/qe-code-intelligence/evals/qe-code-intelligence.yaml +1 -1
- package/v3/assets/skills/qe-code-intelligence/scripts/validate-config.json +41 -0
- package/v3/assets/skills/qe-contract-testing/SKILL.md +1 -1
- package/v3/assets/skills/qe-contract-testing/evals/qe-contract-testing.yaml +1 -1
- package/v3/assets/skills/qe-contract-testing/scripts/validate-config.json +42 -0
- package/v3/assets/skills/qe-coverage-analysis/SKILL.md +1 -1
- package/v3/assets/skills/qe-coverage-analysis/evals/qe-coverage-analysis.yaml +1 -1
- package/v3/assets/skills/qe-coverage-analysis/scripts/validate-config.json +42 -0
- package/v3/assets/skills/qe-defect-intelligence/SKILL.md +1 -1
- package/v3/assets/skills/qe-defect-intelligence/evals/qe-defect-intelligence.yaml +1 -1
- package/v3/assets/skills/qe-defect-intelligence/scripts/validate-config.json +40 -0
- package/v3/assets/skills/qe-iterative-loop/SKILL.md +1 -1
- package/v3/assets/skills/qe-iterative-loop/scripts/validate-config.json +40 -0
- package/v3/assets/skills/qe-learning-optimization/SKILL.md +1 -1
- package/v3/assets/skills/qe-learning-optimization/scripts/validate-config.json +25 -0
- package/v3/assets/skills/qe-quality-assessment/SKILL.md +1 -1
- package/v3/assets/skills/qe-quality-assessment/evals/qe-quality-assessment.yaml +1 -1
- package/v3/assets/skills/qe-quality-assessment/scripts/validate-config.json +47 -0
- package/v3/assets/skills/qe-requirements-validation/SKILL.md +1 -1
- package/v3/assets/skills/qe-requirements-validation/evals/qe-requirements-validation.yaml +1 -1
- package/v3/assets/skills/qe-requirements-validation/scripts/validate-config.json +37 -0
- package/v3/assets/skills/qe-security-compliance/SKILL.md +1 -1
- package/v3/assets/skills/qe-security-compliance/evals/qe-security-compliance.yaml +1 -1
- package/v3/assets/skills/qe-security-compliance/scripts/validate-config.json +41 -0
- package/v3/assets/skills/qe-test-execution/SKILL.md +1 -1
- package/v3/assets/skills/qe-test-execution/evals/qe-test-execution.yaml +1 -1
- package/v3/assets/skills/qe-test-execution/scripts/validate-config.json +37 -0
- package/v3/assets/skills/qe-test-generation/SKILL.md +1 -1
- package/v3/assets/skills/qe-test-generation/scripts/validate-config.json +25 -0
- package/v3/assets/skills/qe-visual-accessibility/SKILL.md +1 -1
- package/v3/assets/skills/qe-visual-accessibility/scripts/validate-config.json +25 -0
- package/v3/assets/skills/quality-metrics/SKILL.md +1 -1
- package/v3/assets/skills/quality-metrics/evals/quality-metrics.yaml +1 -1
- package/v3/assets/skills/quality-metrics/scripts/validate-config.json +43 -0
- package/v3/assets/skills/refactoring-patterns/SKILL.md +1 -1
- package/v3/assets/skills/refactoring-patterns/scripts/validate-config.json +35 -0
- package/v3/assets/skills/regression-testing/SKILL.md +1 -1
- package/v3/assets/skills/regression-testing/evals/regression-testing.yaml +1 -1
- package/v3/assets/skills/regression-testing/scripts/validate-config.json +50 -0
- package/v3/assets/skills/risk-based-testing/SKILL.md +1 -1
- package/v3/assets/skills/risk-based-testing/scripts/validate-config.json +25 -0
- package/v3/assets/skills/security-testing/SKILL.md +1 -1
- package/v3/assets/skills/security-testing/evals/security-testing.yaml +1 -1
- package/v3/assets/skills/security-testing/scripts/validate-config.json +45 -0
- package/v3/assets/skills/security-visual-testing/SKILL.md +1 -1
- package/v3/assets/skills/shift-left-testing/SKILL.md +1 -1
- package/v3/assets/skills/shift-left-testing/scripts/validate-config.json +25 -0
- package/v3/assets/skills/shift-right-testing/SKILL.md +1 -1
- package/v3/assets/skills/shift-right-testing/scripts/validate-config.json +25 -0
- package/v3/assets/skills/tdd-london-chicago/SKILL.md +1 -1
- package/v3/assets/skills/tdd-london-chicago/scripts/validate-config.json +43 -0
- package/v3/assets/skills/test-automation-strategy/SKILL.md +1 -1
- package/v3/assets/skills/test-automation-strategy/scripts/validate-config.json +39 -0
- package/v3/assets/skills/test-data-management/SKILL.md +1 -1
- package/v3/assets/skills/test-data-management/evals/test-data-management.yaml +1 -1
- package/v3/assets/skills/test-data-management/scripts/validate-config.json +41 -0
- package/v3/assets/skills/test-design-techniques/SKILL.md +1 -1
- package/v3/assets/skills/test-design-techniques/scripts/validate-config.json +36 -0
- package/v3/assets/skills/test-reporting-analytics/SKILL.md +1 -1
- package/v3/assets/skills/test-reporting-analytics/scripts/validate-config.json +36 -0
- package/v3/assets/skills/verification-quality/SKILL.md +0 -6
- package/v3/assets/skills/verification-quality/scripts/validate-config.json +36 -0
- package/v3/assets/skills/visual-testing-advanced/SKILL.md +1 -1
- package/v3/assets/skills/visual-testing-advanced/scripts/validate-config.json +38 -0
- package/v3/assets/skills/wms-testing-patterns/SKILL.md +1 -1
- package/v3/dist/adapters/claude-flow/model-router-bridge.js +3 -3
- package/v3/dist/adapters/claude-flow/model-router-bridge.js.map +1 -1
- package/v3/dist/adapters/claude-flow/pretrain-bridge.js +4 -4
- package/v3/dist/adapters/claude-flow/pretrain-bridge.js.map +1 -1
- package/v3/dist/adapters/claude-flow/trajectory-bridge.js +4 -4
- package/v3/dist/adapters/claude-flow/trajectory-bridge.js.map +1 -1
- package/v3/dist/cli/bundle.js +172 -159
- package/v3/dist/cli/commands/claude-flow-setup.js +3 -3
- package/v3/dist/cli/commands/claude-flow-setup.js.map +1 -1
- package/v3/dist/cli/commands/completions.d.ts.map +1 -1
- package/v3/dist/cli/commands/completions.js +2 -1
- package/v3/dist/cli/commands/completions.js.map +1 -1
- package/v3/dist/cli/commands/hooks.js +8 -8
- package/v3/dist/cli/commands/hooks.js.map +1 -1
- package/v3/dist/cli/completions/index.d.ts.map +1 -1
- package/v3/dist/cli/completions/index.js +4 -3
- package/v3/dist/cli/completions/index.js.map +1 -1
- package/v3/dist/domains/code-intelligence/services/metric-collector/test-counter.js +5 -5
- package/v3/dist/domains/code-intelligence/services/metric-collector/test-counter.js.map +1 -1
- package/v3/dist/domains/requirements-validation/services/quality-criteria/quality-criteria-service.js +1 -1
- package/v3/dist/domains/requirements-validation/services/quality-criteria/quality-criteria-service.js.map +1 -1
- package/v3/dist/init/agents-installer.d.ts +5 -1
- package/v3/dist/init/agents-installer.d.ts.map +1 -1
- package/v3/dist/init/agents-installer.js +13 -5
- package/v3/dist/init/agents-installer.js.map +1 -1
- package/v3/dist/init/enhancements/claude-flow-adapter.d.ts.map +1 -1
- package/v3/dist/init/enhancements/claude-flow-adapter.js +15 -12
- package/v3/dist/init/enhancements/claude-flow-adapter.js.map +1 -1
- package/v3/dist/init/enhancements/detector.js +2 -2
- package/v3/dist/init/enhancements/detector.js.map +1 -1
- package/v3/dist/init/init-wizard.d.ts.map +1 -1
- package/v3/dist/init/init-wizard.js +17 -33
- package/v3/dist/init/init-wizard.js.map +1 -1
- package/v3/dist/init/phases/07-hooks.js +9 -9
- package/v3/dist/init/phases/07-hooks.js.map +1 -1
- package/v3/dist/init/phases/10-workers.d.ts.map +1 -1
- package/v3/dist/init/phases/10-workers.js +74 -85
- package/v3/dist/init/phases/10-workers.js.map +1 -1
- package/v3/dist/init/phases/12-verification.d.ts.map +1 -1
- package/v3/dist/init/phases/12-verification.js +13 -1
- package/v3/dist/init/phases/12-verification.js.map +1 -1
- package/v3/dist/kernel/hybrid-backend.d.ts.map +1 -1
- package/v3/dist/kernel/hybrid-backend.js +4 -1
- package/v3/dist/kernel/hybrid-backend.js.map +1 -1
- package/v3/dist/kernel/memory-backend.d.ts.map +1 -1
- package/v3/dist/kernel/memory-backend.js +3 -0
- package/v3/dist/kernel/memory-backend.js.map +1 -1
- package/v3/dist/mcp/bundle.js +1340 -19
- package/v3/dist/mcp/tools/index.d.ts +2 -1
- package/v3/dist/mcp/tools/index.d.ts.map +1 -1
- package/v3/dist/mcp/tools/index.js +5 -1
- package/v3/dist/mcp/tools/index.js.map +1 -1
- package/v3/dist/mcp/tools/qx-analysis/analyze.d.ts +33 -0
- package/v3/dist/mcp/tools/qx-analysis/analyze.d.ts.map +1 -0
- package/v3/dist/mcp/tools/qx-analysis/analyze.js +679 -0
- package/v3/dist/mcp/tools/qx-analysis/analyze.js.map +1 -0
- package/v3/dist/mcp/tools/qx-analysis/heuristics-engine.d.ts +38 -0
- package/v3/dist/mcp/tools/qx-analysis/heuristics-engine.d.ts.map +1 -0
- package/v3/dist/mcp/tools/qx-analysis/heuristics-engine.js +458 -0
- package/v3/dist/mcp/tools/qx-analysis/heuristics-engine.js.map +1 -0
- package/v3/dist/mcp/tools/qx-analysis/impact-analyzer.d.ts +16 -0
- package/v3/dist/mcp/tools/qx-analysis/impact-analyzer.d.ts.map +1 -0
- package/v3/dist/mcp/tools/qx-analysis/impact-analyzer.js +175 -0
- package/v3/dist/mcp/tools/qx-analysis/impact-analyzer.js.map +1 -0
- package/v3/dist/mcp/tools/qx-analysis/index.d.ts +27 -0
- package/v3/dist/mcp/tools/qx-analysis/index.d.ts.map +1 -0
- package/v3/dist/mcp/tools/qx-analysis/index.js +34 -0
- package/v3/dist/mcp/tools/qx-analysis/index.js.map +1 -0
- package/v3/dist/mcp/tools/qx-analysis/oracle-detector.d.ts +22 -0
- package/v3/dist/mcp/tools/qx-analysis/oracle-detector.d.ts.map +1 -0
- package/v3/dist/mcp/tools/qx-analysis/oracle-detector.js +194 -0
- package/v3/dist/mcp/tools/qx-analysis/oracle-detector.js.map +1 -0
- package/v3/dist/mcp/tools/qx-analysis/types.d.ts +278 -0
- package/v3/dist/mcp/tools/qx-analysis/types.d.ts.map +1 -0
- package/v3/dist/mcp/tools/qx-analysis/types.js +46 -0
- package/v3/dist/mcp/tools/qx-analysis/types.js.map +1 -0
- package/v3/dist/mcp/tools/registry.d.ts +1 -0
- package/v3/dist/mcp/tools/registry.d.ts.map +1 -1
- package/v3/dist/mcp/tools/registry.js +5 -0
- package/v3/dist/mcp/tools/registry.js.map +1 -1
- package/v3/dist/sync/cloud/tunnel-manager.d.ts.map +1 -1
- package/v3/dist/sync/cloud/tunnel-manager.js +11 -0
- package/v3/dist/sync/cloud/tunnel-manager.js.map +1 -1
- package/v3/package.json +5 -5
- package/.claude/skills/.validation/templates/validate.template.sh +0 -1060
- package/.claude/skills/.validation/templates/validator-lib.sh +0 -1031
- package/.claude/skills/a11y-ally/scripts/validate.sh +0 -690
- package/.claude/skills/accessibility-testing/scripts/validate.sh +0 -943
- package/.claude/skills/api-testing-patterns/scripts/validate.sh +0 -931
- package/.claude/skills/brutal-honesty-review/scripts/validate.sh +0 -130
- package/.claude/skills/bug-reporting-excellence/scripts/validate.sh +0 -108
- package/.claude/skills/chaos-engineering-resilience/scripts/validate.sh +0 -1107
- package/.claude/skills/cicd-pipeline-qe-orchestrator/scripts/validate.sh +0 -310
- package/.claude/skills/code-review-quality/scripts/validate.sh +0 -113
- package/.claude/skills/compatibility-testing/scripts/validate.sh +0 -605
- package/.claude/skills/compliance-testing/scripts/validate.sh +0 -888
- package/.claude/skills/contract-testing/scripts/validate.sh +0 -1033
- package/.claude/skills/database-testing/scripts/validate.sh +0 -1099
- package/.claude/skills/localization-testing/scripts/validate.sh +0 -131
- package/.claude/skills/mobile-testing/scripts/validate.sh +0 -127
- package/.claude/skills/mutation-testing/scripts/validate.sh +0 -992
- package/.claude/skills/n8n-expression-testing/scripts/validate.sh +0 -162
- package/.claude/skills/n8n-integration-testing-patterns/scripts/validate.sh +0 -104
- package/.claude/skills/n8n-security-testing/scripts/validate.sh +0 -120
- package/.claude/skills/n8n-trigger-testing-strategies/scripts/validate.sh +0 -121
- package/.claude/skills/n8n-workflow-testing-fundamentals/scripts/validate.sh +0 -126
- package/.claude/skills/pentest-validation/scripts/validate.sh +0 -402
- package/.claude/skills/performance-analysis/scripts/validate.sh +0 -63
- package/.claude/skills/performance-testing/scripts/validate.sh +0 -1090
- package/.claude/skills/qcsd-ideation-swarm/scripts/validate.sh +0 -56
- package/.claude/skills/qcsd-refinement-swarm/scripts/validate.sh +0 -56
- package/.claude/skills/qe-chaos-resilience/scripts/validate.sh +0 -401
- package/.claude/skills/qe-code-intelligence/scripts/validate.sh +0 -408
- package/.claude/skills/qe-contract-testing/scripts/validate.sh +0 -421
- package/.claude/skills/qe-coverage-analysis/scripts/validate.sh +0 -453
- package/.claude/skills/qe-defect-intelligence/scripts/validate.sh +0 -466
- package/.claude/skills/qe-iterative-loop/scripts/validate.sh +0 -474
- package/.claude/skills/qe-learning-optimization/scripts/validate.sh +0 -56
- package/.claude/skills/qe-quality-assessment/scripts/validate.sh +0 -352
- package/.claude/skills/qe-requirements-validation/scripts/validate.sh +0 -275
- package/.claude/skills/qe-security-compliance/scripts/validate.sh +0 -305
- package/.claude/skills/qe-test-execution/scripts/validate.sh +0 -323
- package/.claude/skills/qe-test-generation/scripts/validate.sh +0 -56
- package/.claude/skills/qe-visual-accessibility/scripts/validate.sh +0 -56
- package/.claude/skills/quality-metrics/scripts/validate.sh +0 -434
- package/.claude/skills/refactoring-patterns/scripts/validate.sh +0 -241
- package/.claude/skills/regression-testing/scripts/validate.sh +0 -130
- package/.claude/skills/risk-based-testing/scripts/validate.sh +0 -56
- package/.claude/skills/security-testing/scripts/validate.sh +0 -967
- package/.claude/skills/security-visual-testing/scripts/validate.sh +0 -748
- package/.claude/skills/sherlock-review/scripts/validate.sh +0 -115
- package/.claude/skills/shift-left-testing/scripts/validate.sh +0 -56
- package/.claude/skills/shift-right-testing/scripts/validate.sh +0 -56
- package/.claude/skills/tdd-london-chicago/scripts/validate.sh +0 -214
- package/.claude/skills/test-automation-strategy/scripts/validate.sh +0 -195
- package/.claude/skills/test-data-management/scripts/validate.sh +0 -137
- package/.claude/skills/test-design-techniques/scripts/validate.sh +0 -91
- package/.claude/skills/test-reporting-analytics/scripts/validate.sh +0 -77
- package/.claude/skills/testability-scoring/scripts/validate.sh +0 -891
- package/.claude/skills/verification-quality/scripts/validate.sh +0 -77
- package/.claude/skills/visual-testing-advanced/scripts/validate.sh +0 -77
- package/v3/assets/skills/.validation/templates/validate.template.sh +0 -1060
- package/v3/assets/skills/.validation/templates/validator-lib.sh +0 -1031
- package/v3/assets/skills/accessibility-testing/scripts/validate.sh +0 -943
- package/v3/assets/skills/api-testing-patterns/scripts/validate.sh +0 -931
- package/v3/assets/skills/aqe-v2-v3-migration/skill.md +0 -326
- package/v3/assets/skills/bug-reporting-excellence/scripts/validate.sh +0 -108
- package/v3/assets/skills/chaos-engineering-resilience/scripts/validate.sh +0 -1107
- package/v3/assets/skills/code-review-quality/scripts/validate.sh +0 -113
- package/v3/assets/skills/compatibility-testing/scripts/validate.sh +0 -605
- package/v3/assets/skills/compliance-testing/scripts/validate.sh +0 -888
- package/v3/assets/skills/contract-testing/scripts/validate.sh +0 -1033
- package/v3/assets/skills/database-testing/scripts/validate.sh +0 -1099
- package/v3/assets/skills/localization-testing/scripts/validate.sh +0 -131
- package/v3/assets/skills/mobile-testing/scripts/validate.sh +0 -127
- package/v3/assets/skills/mutation-testing/scripts/validate.sh +0 -992
- package/v3/assets/skills/n8n-expression-testing/scripts/validate.sh +0 -162
- package/v3/assets/skills/n8n-integration-testing-patterns/scripts/validate.sh +0 -104
- package/v3/assets/skills/n8n-security-testing/scripts/validate.sh +0 -120
- package/v3/assets/skills/n8n-trigger-testing-strategies/scripts/validate.sh +0 -121
- package/v3/assets/skills/n8n-workflow-testing-fundamentals/scripts/validate.sh +0 -126
- package/v3/assets/skills/pentest-validation/scripts/validate.sh +0 -402
- package/v3/assets/skills/performance-testing/scripts/validate.sh +0 -1090
- package/v3/assets/skills/qe-chaos-resilience/scripts/validate.sh +0 -401
- package/v3/assets/skills/qe-code-intelligence/scripts/validate.sh +0 -408
- package/v3/assets/skills/qe-contract-testing/scripts/validate.sh +0 -421
- package/v3/assets/skills/qe-coverage-analysis/scripts/validate.sh +0 -453
- package/v3/assets/skills/qe-defect-intelligence/scripts/validate.sh +0 -466
- package/v3/assets/skills/qe-iterative-loop/scripts/validate.sh +0 -474
- package/v3/assets/skills/qe-learning-optimization/scripts/validate.sh +0 -56
- package/v3/assets/skills/qe-quality-assessment/scripts/validate.sh +0 -352
- package/v3/assets/skills/qe-requirements-validation/scripts/validate.sh +0 -275
- package/v3/assets/skills/qe-security-compliance/scripts/validate.sh +0 -305
- package/v3/assets/skills/qe-test-execution/scripts/validate.sh +0 -323
- package/v3/assets/skills/qe-test-generation/scripts/validate.sh +0 -56
- package/v3/assets/skills/qe-visual-accessibility/scripts/validate.sh +0 -56
- package/v3/assets/skills/quality-metrics/scripts/validate.sh +0 -434
- package/v3/assets/skills/refactoring-patterns/scripts/validate.sh +0 -241
- package/v3/assets/skills/regression-testing/scripts/validate.sh +0 -130
- package/v3/assets/skills/risk-based-testing/scripts/validate.sh +0 -56
- package/v3/assets/skills/security-testing/scripts/validate.sh +0 -967
- package/v3/assets/skills/security-visual-testing/scripts/validate.sh +0 -748
- package/v3/assets/skills/shift-left-testing/scripts/validate.sh +0 -56
- package/v3/assets/skills/shift-right-testing/scripts/validate.sh +0 -56
- package/v3/assets/skills/tdd-london-chicago/scripts/validate.sh +0 -214
- package/v3/assets/skills/test-automation-strategy/scripts/validate.sh +0 -195
- package/v3/assets/skills/test-data-management/scripts/validate.sh +0 -137
- package/v3/assets/skills/test-design-techniques/scripts/validate.sh +0 -91
- package/v3/assets/skills/test-reporting-analytics/scripts/validate.sh +0 -77
- package/v3/assets/skills/verification-quality/scripts/validate.sh +0 -77
- package/v3/assets/skills/visual-testing-advanced/scripts/validate.sh +0 -77
package/v3/dist/cli/bundle.js
CHANGED
|
@@ -223,6 +223,9 @@ var init_memory_backend = __esm({
|
|
|
223
223
|
cleanupInterval;
|
|
224
224
|
async initialize() {
|
|
225
225
|
this.cleanupInterval = setInterval(() => this.cleanup(), MEMORY_CONSTANTS.CLEANUP_INTERVAL_MS);
|
|
226
|
+
if (this.cleanupInterval.unref) {
|
|
227
|
+
this.cleanupInterval.unref();
|
|
228
|
+
}
|
|
226
229
|
}
|
|
227
230
|
async dispose() {
|
|
228
231
|
if (this.cleanupInterval) {
|
|
@@ -11898,6 +11901,9 @@ var HybridMemoryBackend = class {
|
|
|
11898
11901
|
() => this.cleanup(),
|
|
11899
11902
|
this.config.cleanupInterval
|
|
11900
11903
|
);
|
|
11904
|
+
if (this.cleanupInterval.unref) {
|
|
11905
|
+
this.cleanupInterval.unref();
|
|
11906
|
+
}
|
|
11901
11907
|
this.initialized = true;
|
|
11902
11908
|
console.log(`[HybridBackend] Initialized with unified memory: ${this.unifiedMemory.getDbPath()}`);
|
|
11903
11909
|
}
|
|
@@ -63815,7 +63821,7 @@ function checkTestRunners(projectPath) {
|
|
|
63815
63821
|
function countVitestTests(projectPath, config) {
|
|
63816
63822
|
try {
|
|
63817
63823
|
const output = execSync5(
|
|
63818
|
-
"npx vitest list --reporter=json
|
|
63824
|
+
"npx vitest list --reporter=json",
|
|
63819
63825
|
{
|
|
63820
63826
|
cwd: projectPath,
|
|
63821
63827
|
encoding: "utf-8",
|
|
@@ -63875,7 +63881,7 @@ function countTestsRecursive(tests) {
|
|
|
63875
63881
|
function countJestTests(projectPath, config) {
|
|
63876
63882
|
try {
|
|
63877
63883
|
const output = execSync5(
|
|
63878
|
-
"npx jest --listTests
|
|
63884
|
+
"npx jest --listTests",
|
|
63879
63885
|
{
|
|
63880
63886
|
cwd: projectPath,
|
|
63881
63887
|
encoding: "utf-8",
|
|
@@ -63901,7 +63907,7 @@ function countJestTests(projectPath, config) {
|
|
|
63901
63907
|
function countCargoTests(projectPath, config) {
|
|
63902
63908
|
try {
|
|
63903
63909
|
const output = execSync5(
|
|
63904
|
-
|
|
63910
|
+
"cargo test --list",
|
|
63905
63911
|
{
|
|
63906
63912
|
cwd: projectPath,
|
|
63907
63913
|
encoding: "utf-8",
|
|
@@ -63935,7 +63941,7 @@ function countCargoTests(projectPath, config) {
|
|
|
63935
63941
|
function countPytestTests(projectPath, config) {
|
|
63936
63942
|
try {
|
|
63937
63943
|
const output = execSync5(
|
|
63938
|
-
|
|
63944
|
+
"pytest --collect-only -q",
|
|
63939
63945
|
{
|
|
63940
63946
|
cwd: projectPath,
|
|
63941
63947
|
encoding: "utf-8",
|
|
@@ -63976,7 +63982,7 @@ function countPytestTests(projectPath, config) {
|
|
|
63976
63982
|
function countGoTests(projectPath, config) {
|
|
63977
63983
|
try {
|
|
63978
63984
|
const output = execSync5(
|
|
63979
|
-
'go test -list ".*" ./...
|
|
63985
|
+
'go test -list ".*" ./...',
|
|
63980
63986
|
{
|
|
63981
63987
|
cwd: projectPath,
|
|
63982
63988
|
encoding: "utf-8",
|
|
@@ -111993,7 +111999,7 @@ var ALL_DOMAINS2 = [
|
|
|
111993
111999
|
"enterprise-integration"
|
|
111994
112000
|
];
|
|
111995
112001
|
function getAQEVersion() {
|
|
111996
|
-
return true ? "3.6.
|
|
112002
|
+
return true ? "3.6.3" : "3.0.0";
|
|
111997
112003
|
}
|
|
111998
112004
|
function createDefaultConfig(projectName, projectRoot) {
|
|
111999
112005
|
return {
|
|
@@ -113620,10 +113626,12 @@ var AgentsInstaller = class {
|
|
|
113620
113626
|
}
|
|
113621
113627
|
/**
|
|
113622
113628
|
* Copy helpers directory (agent-specific reference files, templates, scripts)
|
|
113629
|
+
* Installed to .claude/helpers/v3/ (NOT .claude/agents/v3/helpers/) to avoid
|
|
113630
|
+
* claude doctor parsing .md helper files as agent definitions (Issue #243).
|
|
113623
113631
|
*/
|
|
113624
|
-
async copyHelpersDirectory(
|
|
113632
|
+
async copyHelpersDirectory(_targetAgentsDir) {
|
|
113625
113633
|
const sourceHelpersDir = join18(this.sourceAgentsDir, "helpers");
|
|
113626
|
-
const targetHelpersDir = join18(
|
|
113634
|
+
const targetHelpersDir = join18(this.projectRoot, ".claude", "helpers", "v3");
|
|
113627
113635
|
if (existsSync16(sourceHelpersDir)) {
|
|
113628
113636
|
this.copyDirectoryRecursive(sourceHelpersDir, targetHelpersDir);
|
|
113629
113637
|
}
|
|
@@ -113716,9 +113724,11 @@ var AgentsInstaller = class {
|
|
|
113716
113724
|
return domainMap[key];
|
|
113717
113725
|
}
|
|
113718
113726
|
/**
|
|
113719
|
-
* Create an agents index file for easy reference
|
|
113727
|
+
* Create an agents index file for easy reference.
|
|
113728
|
+
* Written to .claude/docs/ instead of .claude/agents/v3/ to avoid
|
|
113729
|
+
* claude doctor parsing it as an agent definition (Issue #243).
|
|
113720
113730
|
*/
|
|
113721
|
-
async createAgentsIndex(
|
|
113731
|
+
async createAgentsIndex(_agentsDir, installed) {
|
|
113722
113732
|
const qeAgents = installed.filter((a37) => a37.type === "v3-qe");
|
|
113723
113733
|
const subagents = installed.filter((a37) => a37.type === "v3-subagent");
|
|
113724
113734
|
const byDomain = /* @__PURE__ */ new Map();
|
|
@@ -113773,7 +113783,11 @@ ${subagents.map((a37) => `- **${a37.name}**${a37.description ? `: ${a37.descript
|
|
|
113773
113783
|
|
|
113774
113784
|
*Generated by AQE v3 init on ${(/* @__PURE__ */ new Date()).toISOString()}*
|
|
113775
113785
|
`;
|
|
113776
|
-
|
|
113786
|
+
const docsDir = join18(this.projectRoot, ".claude", "docs");
|
|
113787
|
+
if (!existsSync16(docsDir)) {
|
|
113788
|
+
mkdirSync6(docsDir, { recursive: true });
|
|
113789
|
+
}
|
|
113790
|
+
writeFileSync3(join18(docsDir, "v3-agents-index.md"), indexContent, "utf-8");
|
|
113777
113791
|
}
|
|
113778
113792
|
};
|
|
113779
113793
|
function createAgentsInstaller(options) {
|
|
@@ -115033,7 +115047,7 @@ Ensure the directory is writable and has sufficient disk space.`
|
|
|
115033
115047
|
hooks: [
|
|
115034
115048
|
{
|
|
115035
115049
|
type: "command",
|
|
115036
|
-
command: '
|
|
115050
|
+
command: 'aqe hooks pre-edit --file "$TOOL_INPUT_file_path"',
|
|
115037
115051
|
timeout: 5e3,
|
|
115038
115052
|
continueOnError: true
|
|
115039
115053
|
}
|
|
@@ -115044,7 +115058,7 @@ Ensure the directory is writable and has sufficient disk space.`
|
|
|
115044
115058
|
hooks: [
|
|
115045
115059
|
{
|
|
115046
115060
|
type: "command",
|
|
115047
|
-
command: '
|
|
115061
|
+
command: 'aqe hooks pre-command --command "$TOOL_INPUT_command"',
|
|
115048
115062
|
timeout: 5e3,
|
|
115049
115063
|
continueOnError: true
|
|
115050
115064
|
}
|
|
@@ -115055,7 +115069,7 @@ Ensure the directory is writable and has sufficient disk space.`
|
|
|
115055
115069
|
hooks: [
|
|
115056
115070
|
{
|
|
115057
115071
|
type: "command",
|
|
115058
|
-
command: '
|
|
115072
|
+
command: 'aqe hooks pre-task --description "$TOOL_INPUT_prompt"',
|
|
115059
115073
|
timeout: 5e3,
|
|
115060
115074
|
continueOnError: true
|
|
115061
115075
|
}
|
|
@@ -115069,7 +115083,7 @@ Ensure the directory is writable and has sufficient disk space.`
|
|
|
115069
115083
|
hooks: [
|
|
115070
115084
|
{
|
|
115071
115085
|
type: "command",
|
|
115072
|
-
command: '
|
|
115086
|
+
command: 'aqe hooks post-edit --file "$TOOL_INPUT_file_path" --success "$TOOL_SUCCESS"',
|
|
115073
115087
|
timeout: 5e3,
|
|
115074
115088
|
continueOnError: true
|
|
115075
115089
|
}
|
|
@@ -115080,7 +115094,7 @@ Ensure the directory is writable and has sufficient disk space.`
|
|
|
115080
115094
|
hooks: [
|
|
115081
115095
|
{
|
|
115082
115096
|
type: "command",
|
|
115083
|
-
command: '
|
|
115097
|
+
command: 'aqe hooks post-command --command "$TOOL_INPUT_command" --success "$TOOL_SUCCESS"',
|
|
115084
115098
|
timeout: 5e3,
|
|
115085
115099
|
continueOnError: true
|
|
115086
115100
|
}
|
|
@@ -115091,7 +115105,7 @@ Ensure the directory is writable and has sufficient disk space.`
|
|
|
115091
115105
|
hooks: [
|
|
115092
115106
|
{
|
|
115093
115107
|
type: "command",
|
|
115094
|
-
command: '
|
|
115108
|
+
command: 'aqe hooks post-task --task-id "$TOOL_RESULT_agent_id" --success "$TOOL_SUCCESS"',
|
|
115095
115109
|
timeout: 5e3,
|
|
115096
115110
|
continueOnError: true
|
|
115097
115111
|
}
|
|
@@ -115104,7 +115118,7 @@ Ensure the directory is writable and has sufficient disk space.`
|
|
|
115104
115118
|
hooks: [
|
|
115105
115119
|
{
|
|
115106
115120
|
type: "command",
|
|
115107
|
-
command: '
|
|
115121
|
+
command: 'aqe hooks route --task "$PROMPT"',
|
|
115108
115122
|
timeout: 5e3,
|
|
115109
115123
|
continueOnError: true
|
|
115110
115124
|
}
|
|
@@ -115117,7 +115131,7 @@ Ensure the directory is writable and has sufficient disk space.`
|
|
|
115117
115131
|
hooks: [
|
|
115118
115132
|
{
|
|
115119
115133
|
type: "command",
|
|
115120
|
-
command: '
|
|
115134
|
+
command: 'aqe hooks session-start --session-id "$SESSION_ID"',
|
|
115121
115135
|
timeout: 1e4,
|
|
115122
115136
|
continueOnError: true
|
|
115123
115137
|
}
|
|
@@ -115129,7 +115143,7 @@ Ensure the directory is writable and has sufficient disk space.`
|
|
|
115129
115143
|
hooks: [
|
|
115130
115144
|
{
|
|
115131
115145
|
type: "command",
|
|
115132
|
-
command: "aqe hooks session-end --save-state
|
|
115146
|
+
command: "aqe hooks session-end --save-state",
|
|
115133
115147
|
timeout: 5e3,
|
|
115134
115148
|
continueOnError: true
|
|
115135
115149
|
}
|
|
@@ -115584,31 +115598,15 @@ aqe init --auto
|
|
|
115584
115598
|
};
|
|
115585
115599
|
writeFileSync5(workerConfigPath, JSON.stringify(workerConfig, null, 2), "utf-8");
|
|
115586
115600
|
}
|
|
115587
|
-
const daemonScriptPath = join20(workersDir, "start-daemon.
|
|
115588
|
-
const daemonScript = `#!/bin/
|
|
115589
|
-
|
|
115590
|
-
|
|
115601
|
+
const daemonScriptPath = join20(workersDir, "start-daemon.cjs");
|
|
115602
|
+
const daemonScript = `#!/usr/bin/env node
|
|
115603
|
+
// AQE v3 Worker Daemon Startup Script (cross-platform)
|
|
115604
|
+
// Generated by aqe init
|
|
115591
115605
|
|
|
115592
|
-
|
|
115593
|
-
|
|
115594
|
-
PID_FILE="$WORKERS_DIR/daemon.pid"
|
|
115595
|
-
|
|
115596
|
-
# Check if already running
|
|
115597
|
-
if [ -f "$PID_FILE" ]; then
|
|
115598
|
-
PID=$(cat "$PID_FILE")
|
|
115599
|
-
if kill -0 "$PID" 2>/dev/null; then
|
|
115600
|
-
echo "Daemon already running (PID: $PID)"
|
|
115601
|
-
exit 0
|
|
115602
|
-
fi
|
|
115603
|
-
fi
|
|
115604
|
-
|
|
115605
|
-
# Start daemon (AQE v3 native - no claude-flow dependency)
|
|
115606
|
-
# TODO: Implement aqe daemon command for background workers
|
|
115607
|
-
# For now, hooks work via CLI without daemon
|
|
115608
|
-
echo "AQE v3 hooks work via CLI commands (no daemon required)"
|
|
115609
|
-
echo "Use: npx aqe hooks session-start"
|
|
115606
|
+
console.log("AQE v3 hooks work via CLI commands (no daemon required)");
|
|
115607
|
+
console.log("Use: npx aqe hooks session-start");
|
|
115610
115608
|
`;
|
|
115611
|
-
writeFileSync5(daemonScriptPath, daemonScript
|
|
115609
|
+
writeFileSync5(daemonScriptPath, daemonScript);
|
|
115612
115610
|
return config.workers.enabled.length;
|
|
115613
115611
|
}
|
|
115614
115612
|
/**
|
|
@@ -116424,7 +116422,7 @@ var HooksPhase = class extends BasePhase {
|
|
|
116424
116422
|
hooks: [
|
|
116425
116423
|
{
|
|
116426
116424
|
type: "command",
|
|
116427
|
-
command: '
|
|
116425
|
+
command: 'npx agentic-qe hooks pre-edit --file "$TOOL_INPUT_file_path" --json',
|
|
116428
116426
|
timeout: 5e3,
|
|
116429
116427
|
continueOnError: true
|
|
116430
116428
|
}
|
|
@@ -116435,7 +116433,7 @@ var HooksPhase = class extends BasePhase {
|
|
|
116435
116433
|
hooks: [
|
|
116436
116434
|
{
|
|
116437
116435
|
type: "command",
|
|
116438
|
-
command: '
|
|
116436
|
+
command: 'npx agentic-qe hooks pre-command --command "$TOOL_INPUT_command" --json',
|
|
116439
116437
|
timeout: 5e3,
|
|
116440
116438
|
continueOnError: true
|
|
116441
116439
|
}
|
|
@@ -116446,7 +116444,7 @@ var HooksPhase = class extends BasePhase {
|
|
|
116446
116444
|
hooks: [
|
|
116447
116445
|
{
|
|
116448
116446
|
type: "command",
|
|
116449
|
-
command: '
|
|
116447
|
+
command: 'npx agentic-qe hooks pre-task --description "$TOOL_INPUT_prompt" --json',
|
|
116450
116448
|
timeout: 5e3,
|
|
116451
116449
|
continueOnError: true
|
|
116452
116450
|
}
|
|
@@ -116459,7 +116457,7 @@ var HooksPhase = class extends BasePhase {
|
|
|
116459
116457
|
hooks: [
|
|
116460
116458
|
{
|
|
116461
116459
|
type: "command",
|
|
116462
|
-
command: '
|
|
116460
|
+
command: 'npx agentic-qe hooks post-edit --file "$TOOL_INPUT_file_path" --success "$TOOL_SUCCESS" --json',
|
|
116463
116461
|
timeout: 5e3,
|
|
116464
116462
|
continueOnError: true
|
|
116465
116463
|
}
|
|
@@ -116470,7 +116468,7 @@ var HooksPhase = class extends BasePhase {
|
|
|
116470
116468
|
hooks: [
|
|
116471
116469
|
{
|
|
116472
116470
|
type: "command",
|
|
116473
|
-
command: '
|
|
116471
|
+
command: 'npx agentic-qe hooks post-command --command "$TOOL_INPUT_command" --success "$TOOL_SUCCESS" --json',
|
|
116474
116472
|
timeout: 5e3,
|
|
116475
116473
|
continueOnError: true
|
|
116476
116474
|
}
|
|
@@ -116481,7 +116479,7 @@ var HooksPhase = class extends BasePhase {
|
|
|
116481
116479
|
hooks: [
|
|
116482
116480
|
{
|
|
116483
116481
|
type: "command",
|
|
116484
|
-
command: '
|
|
116482
|
+
command: 'npx agentic-qe hooks post-task --task-id "$TOOL_RESULT_agent_id" --success "$TOOL_SUCCESS" --json',
|
|
116485
116483
|
timeout: 5e3,
|
|
116486
116484
|
continueOnError: true
|
|
116487
116485
|
}
|
|
@@ -116493,7 +116491,7 @@ var HooksPhase = class extends BasePhase {
|
|
|
116493
116491
|
hooks: [
|
|
116494
116492
|
{
|
|
116495
116493
|
type: "command",
|
|
116496
|
-
command: '
|
|
116494
|
+
command: 'npx agentic-qe hooks route --task "$PROMPT" --json',
|
|
116497
116495
|
timeout: 5e3,
|
|
116498
116496
|
continueOnError: true
|
|
116499
116497
|
}
|
|
@@ -116505,7 +116503,7 @@ var HooksPhase = class extends BasePhase {
|
|
|
116505
116503
|
hooks: [
|
|
116506
116504
|
{
|
|
116507
116505
|
type: "command",
|
|
116508
|
-
command: '
|
|
116506
|
+
command: 'npx agentic-qe hooks session-start --session-id "$SESSION_ID" --json',
|
|
116509
116507
|
timeout: 1e4,
|
|
116510
116508
|
continueOnError: true
|
|
116511
116509
|
}
|
|
@@ -116517,7 +116515,7 @@ var HooksPhase = class extends BasePhase {
|
|
|
116517
116515
|
hooks: [
|
|
116518
116516
|
{
|
|
116519
116517
|
type: "command",
|
|
116520
|
-
command: "npx agentic-qe hooks session-end --save-state --json
|
|
116518
|
+
command: "npx agentic-qe hooks session-end --save-state --json",
|
|
116521
116519
|
timeout: 5e3,
|
|
116522
116520
|
continueOnError: true
|
|
116523
116521
|
}
|
|
@@ -116794,102 +116792,91 @@ var WorkersPhase = class extends BasePhase {
|
|
|
116794
116792
|
};
|
|
116795
116793
|
writeFileSync9(workerConfigPath, JSON.stringify(workerConfig, null, 2), "utf-8");
|
|
116796
116794
|
}
|
|
116797
|
-
const daemonScriptPath = join28(workersDir, "start-daemon.
|
|
116798
|
-
const daemonScript = `#!/bin/
|
|
116799
|
-
|
|
116800
|
-
|
|
116801
|
-
|
|
116802
|
-
|
|
116803
|
-
|
|
116804
|
-
|
|
116805
|
-
|
|
116806
|
-
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
|
116807
|
-
WORKERS_DIR="$PROJECT_ROOT/.agentic-qe/workers"
|
|
116808
|
-
PID_FILE="$WORKERS_DIR/daemon.pid"
|
|
116809
|
-
LOG_FILE="$WORKERS_DIR/daemon.log"
|
|
116810
|
-
|
|
116811
|
-
# Check if already running
|
|
116812
|
-
if [ -f "$PID_FILE" ]; then
|
|
116813
|
-
PID=$(cat "$PID_FILE")
|
|
116814
|
-
if kill -0 "$PID" 2>/dev/null; then
|
|
116815
|
-
echo "Daemon already running (PID: $PID)"
|
|
116816
|
-
exit 0
|
|
116817
|
-
fi
|
|
116818
|
-
fi
|
|
116819
|
-
|
|
116820
|
-
echo "[$(date)] Starting AQE v3 Worker Daemon..." >> "$LOG_FILE"
|
|
116821
|
-
|
|
116822
|
-
# Set environment for learning and workers
|
|
116823
|
-
export AQE_PROJECT_ROOT="$PROJECT_ROOT"
|
|
116824
|
-
export AQE_LEARNING_ENABLED=true
|
|
116825
|
-
export AQE_WORKERS_ENABLED=true
|
|
116826
|
-
export AQE_HTTP_PORT=0
|
|
116827
|
-
|
|
116828
|
-
# Find the best way to run aqe-mcp
|
|
116829
|
-
MCP_CMD=""
|
|
116830
|
-
if [ -f "$PROJECT_ROOT/node_modules/.bin/aqe-mcp" ]; then
|
|
116831
|
-
MCP_CMD="$PROJECT_ROOT/node_modules/.bin/aqe-mcp"
|
|
116832
|
-
elif [ -f "$PROJECT_ROOT/node_modules/agentic-qe/v3/dist/mcp/bundle.js" ]; then
|
|
116833
|
-
MCP_CMD="node $PROJECT_ROOT/node_modules/agentic-qe/v3/dist/mcp/bundle.js"
|
|
116834
|
-
elif [ -f "$PROJECT_ROOT/node_modules/.bin/aqe" ]; then
|
|
116835
|
-
# Use aqe CLI with mcp subcommand
|
|
116836
|
-
MCP_CMD="$PROJECT_ROOT/node_modules/.bin/aqe mcp"
|
|
116837
|
-
elif command -v aqe-mcp &> /dev/null; then
|
|
116838
|
-
MCP_CMD="aqe-mcp"
|
|
116839
|
-
elif command -v aqe &> /dev/null; then
|
|
116840
|
-
# Use global aqe CLI with mcp subcommand
|
|
116841
|
-
MCP_CMD="aqe mcp"
|
|
116842
|
-
else
|
|
116843
|
-
# Fallback to npx - aqe CLI has mcp subcommand
|
|
116844
|
-
MCP_CMD="npx --yes agentic-qe mcp"
|
|
116845
|
-
fi
|
|
116846
|
-
|
|
116847
|
-
echo "[$(date)] Using MCP command: $MCP_CMD" >> "$LOG_FILE"
|
|
116848
|
-
|
|
116849
|
-
# Start the MCP server with workers
|
|
116850
|
-
cd "$PROJECT_ROOT"
|
|
116851
|
-
nohup $MCP_CMD >> "$LOG_FILE" 2>&1 &
|
|
116852
|
-
DAEMON_PID=$!
|
|
116853
|
-
|
|
116854
|
-
# Save PID
|
|
116855
|
-
echo $DAEMON_PID > "$PID_FILE"
|
|
116856
|
-
echo "[$(date)] Daemon started with PID: $DAEMON_PID" >> "$LOG_FILE"
|
|
116857
|
-
|
|
116858
|
-
echo "AQE v3 Worker Daemon started (PID: $DAEMON_PID)"
|
|
116859
|
-
echo "Log file: $LOG_FILE"
|
|
116860
|
-
echo ""
|
|
116861
|
-
echo "To stop: kill $DAEMON_PID"
|
|
116862
|
-
echo "To view logs: tail -f $LOG_FILE"
|
|
116863
|
-
`;
|
|
116864
|
-
writeFileSync9(daemonScriptPath, daemonScript, { mode: 493 });
|
|
116865
|
-
const stopScriptPath = join28(workersDir, "stop-daemon.sh");
|
|
116866
|
-
const stopScript = `#!/bin/bash
|
|
116867
|
-
# AQE v3 Worker Daemon Stop Script
|
|
116868
|
-
# Generated by aqe init
|
|
116795
|
+
const daemonScriptPath = join28(workersDir, "start-daemon.cjs");
|
|
116796
|
+
const daemonScript = `#!/usr/bin/env node
|
|
116797
|
+
// AQE v3 Worker Daemon Startup Script (cross-platform)
|
|
116798
|
+
// Generated by aqe init
|
|
116799
|
+
// Starts the MCP server with background workers enabled
|
|
116800
|
+
|
|
116801
|
+
const { existsSync, readFileSync, writeFileSync, appendFileSync } = require('fs');
|
|
116802
|
+
const { join } = require('path');
|
|
116803
|
+
const { spawn } = require('child_process');
|
|
116869
116804
|
|
|
116870
|
-
|
|
116871
|
-
|
|
116872
|
-
|
|
116873
|
-
|
|
116874
|
-
|
|
116875
|
-
|
|
116876
|
-
|
|
116877
|
-
|
|
116878
|
-
PID
|
|
116879
|
-
|
|
116880
|
-
|
|
116881
|
-
|
|
116882
|
-
|
|
116883
|
-
|
|
116884
|
-
|
|
116885
|
-
|
|
116886
|
-
|
|
116887
|
-
|
|
116888
|
-
|
|
116889
|
-
|
|
116890
|
-
|
|
116805
|
+
const projectRoot = join(__dirname, '..', '..');
|
|
116806
|
+
const workersDir = join(projectRoot, '.agentic-qe', 'workers');
|
|
116807
|
+
const pidFile = join(workersDir, 'daemon.pid');
|
|
116808
|
+
const logFile = join(workersDir, 'daemon.log');
|
|
116809
|
+
|
|
116810
|
+
// Check if already running
|
|
116811
|
+
if (existsSync(pidFile)) {
|
|
116812
|
+
const pid = parseInt(readFileSync(pidFile, 'utf-8').trim(), 10);
|
|
116813
|
+
try { process.kill(pid, 0); console.log('Daemon already running (PID: ' + pid + ')'); process.exit(0); } catch {}
|
|
116814
|
+
}
|
|
116815
|
+
|
|
116816
|
+
const ts = new Date().toISOString();
|
|
116817
|
+
appendFileSync(logFile, '[' + ts + '] Starting AQE v3 Worker Daemon...\\n');
|
|
116818
|
+
|
|
116819
|
+
// Find the best way to run aqe-mcp
|
|
116820
|
+
const candidates = [
|
|
116821
|
+
join(projectRoot, 'node_modules', '.bin', 'aqe-mcp'),
|
|
116822
|
+
join(projectRoot, 'node_modules', 'agentic-qe', 'v3', 'dist', 'mcp', 'bundle.js'),
|
|
116823
|
+
];
|
|
116824
|
+
|
|
116825
|
+
let mcpCmd, mcpArgs;
|
|
116826
|
+
const binCandidate = candidates.find(c => existsSync(c));
|
|
116827
|
+
|
|
116828
|
+
if (binCandidate && binCandidate.endsWith('bundle.js')) {
|
|
116829
|
+
mcpCmd = process.execPath;
|
|
116830
|
+
mcpArgs = [binCandidate];
|
|
116831
|
+
} else if (binCandidate) {
|
|
116832
|
+
mcpCmd = binCandidate;
|
|
116833
|
+
mcpArgs = [];
|
|
116834
|
+
} else {
|
|
116835
|
+
mcpCmd = process.platform === 'win32' ? 'npx.cmd' : 'npx';
|
|
116836
|
+
mcpArgs = ['--yes', 'agentic-qe', 'mcp'];
|
|
116837
|
+
}
|
|
116838
|
+
|
|
116839
|
+
appendFileSync(logFile, '[' + ts + '] Using: ' + mcpCmd + ' ' + mcpArgs.join(' ') + '\\n');
|
|
116840
|
+
|
|
116841
|
+
const env = { ...process.env, AQE_PROJECT_ROOT: projectRoot, AQE_LEARNING_ENABLED: 'true', AQE_WORKERS_ENABLED: 'true', AQE_HTTP_PORT: '0' };
|
|
116842
|
+
const child = spawn(mcpCmd, mcpArgs, { cwd: projectRoot, env, detached: true, stdio: ['ignore', 'pipe', 'pipe'] });
|
|
116843
|
+
child.stdout.on('data', d => appendFileSync(logFile, d));
|
|
116844
|
+
child.stderr.on('data', d => appendFileSync(logFile, d));
|
|
116845
|
+
child.unref();
|
|
116846
|
+
|
|
116847
|
+
writeFileSync(pidFile, String(child.pid));
|
|
116848
|
+
appendFileSync(logFile, '[' + ts + '] Daemon started with PID: ' + child.pid + '\\n');
|
|
116849
|
+
console.log('AQE v3 Worker Daemon started (PID: ' + child.pid + ')');
|
|
116850
|
+
console.log('Log file: ' + logFile);
|
|
116851
|
+
console.log('To stop: node ' + join(workersDir, 'stop-daemon.cjs'));
|
|
116891
116852
|
`;
|
|
116892
|
-
writeFileSync9(
|
|
116853
|
+
writeFileSync9(daemonScriptPath, daemonScript);
|
|
116854
|
+
const stopScriptPath = join28(workersDir, "stop-daemon.cjs");
|
|
116855
|
+
const stopScript = `#!/usr/bin/env node
|
|
116856
|
+
// AQE v3 Worker Daemon Stop Script (cross-platform)
|
|
116857
|
+
// Generated by aqe init
|
|
116858
|
+
|
|
116859
|
+
const { existsSync, readFileSync, unlinkSync } = require('fs');
|
|
116860
|
+
const { join } = require('path');
|
|
116861
|
+
|
|
116862
|
+
const workersDir = join(__dirname);
|
|
116863
|
+
const pidFile = join(workersDir, 'daemon.pid');
|
|
116864
|
+
|
|
116865
|
+
if (!existsSync(pidFile)) { console.log('No PID file found - daemon may not be running'); process.exit(0); }
|
|
116866
|
+
|
|
116867
|
+
const pid = parseInt(readFileSync(pidFile, 'utf-8').trim(), 10);
|
|
116868
|
+
try {
|
|
116869
|
+
process.kill(pid, 0); // Check if alive
|
|
116870
|
+
console.log('Stopping daemon (PID: ' + pid + ')...');
|
|
116871
|
+
process.kill(pid, 'SIGTERM');
|
|
116872
|
+
try { unlinkSync(pidFile); } catch {}
|
|
116873
|
+
console.log('Daemon stopped');
|
|
116874
|
+
} catch {
|
|
116875
|
+
console.log('Daemon not running (stale PID file)');
|
|
116876
|
+
try { unlinkSync(pidFile); } catch {}
|
|
116877
|
+
}
|
|
116878
|
+
`;
|
|
116879
|
+
writeFileSync9(stopScriptPath, stopScript);
|
|
116893
116880
|
context2.services.log(` Workers dir: ${workersDir}`);
|
|
116894
116881
|
context2.services.log(` Workers: ${config.workers.enabled.join(", ")}`);
|
|
116895
116882
|
let daemonStarted = false;
|
|
@@ -117355,6 +117342,17 @@ var VerificationPhase = class extends BasePhase {
|
|
|
117355
117342
|
section[currentSubSection].push(arrayMatch[1]);
|
|
117356
117343
|
}
|
|
117357
117344
|
}
|
|
117345
|
+
const arrayFields = [
|
|
117346
|
+
["domains", "enabled"],
|
|
117347
|
+
["domains", "disabled"],
|
|
117348
|
+
["workers", "enabled"]
|
|
117349
|
+
];
|
|
117350
|
+
for (const [section, field] of arrayFields) {
|
|
117351
|
+
const sec = result[section];
|
|
117352
|
+
if (sec && field in sec && !Array.isArray(sec[field])) {
|
|
117353
|
+
sec[field] = [];
|
|
117354
|
+
}
|
|
117355
|
+
}
|
|
117358
117356
|
return result;
|
|
117359
117357
|
} catch {
|
|
117360
117358
|
return null;
|
|
@@ -117384,7 +117382,9 @@ var VerificationPhase = class extends BasePhase {
|
|
|
117384
117382
|
for (const domain of newDomains) {
|
|
117385
117383
|
existingDomains.add(domain);
|
|
117386
117384
|
}
|
|
117387
|
-
const disabledDomains = new Set(
|
|
117385
|
+
const disabledDomains = new Set(
|
|
117386
|
+
Array.isArray(existing.domains?.disabled) ? existing.domains.disabled : []
|
|
117387
|
+
);
|
|
117388
117388
|
newConfig.domains.enabled = Array.from(existingDomains).filter((d74) => !disabledDomains.has(d74));
|
|
117389
117389
|
}
|
|
117390
117390
|
if (existing.domains?.disabled && Array.isArray(existing.domains.disabled)) {
|
|
@@ -117906,7 +117906,7 @@ async function detectClaudeFlow(projectRoot, debug) {
|
|
|
117906
117906
|
}
|
|
117907
117907
|
}
|
|
117908
117908
|
try {
|
|
117909
|
-
const result = execSync6("npx @claude-flow/cli@latest --version
|
|
117909
|
+
const result = execSync6("npx @claude-flow/cli@latest --version", {
|
|
117910
117910
|
encoding: "utf-8",
|
|
117911
117911
|
timeout: 1e4,
|
|
117912
117912
|
cwd: projectRoot
|
|
@@ -117947,7 +117947,7 @@ async function detectFeatures(projectRoot) {
|
|
|
117947
117947
|
];
|
|
117948
117948
|
for (const check of featureChecks) {
|
|
117949
117949
|
try {
|
|
117950
|
-
execSync6(`npx @claude-flow/cli@latest ${check.command}
|
|
117950
|
+
execSync6(`npx @claude-flow/cli@latest ${check.command}`, {
|
|
117951
117951
|
encoding: "utf-8",
|
|
117952
117952
|
timeout: 5e3,
|
|
117953
117953
|
cwd: projectRoot
|
|
@@ -118023,7 +118023,7 @@ function updateMCPConfig(projectRoot) {
|
|
|
118023
118023
|
async function runPretrainAnalysis(projectRoot, debug) {
|
|
118024
118024
|
try {
|
|
118025
118025
|
if (debug) console.log("[ClaudeFlow] Running pretrain analysis...");
|
|
118026
|
-
execSync6("npx @claude-flow/cli@latest hooks pretrain --depth medium
|
|
118026
|
+
execSync6("npx @claude-flow/cli@latest hooks pretrain --depth medium", {
|
|
118027
118027
|
encoding: "utf-8",
|
|
118028
118028
|
timeout: 12e4,
|
|
118029
118029
|
// 2 minutes
|
|
@@ -123160,24 +123160,25 @@ function detectShell() {
|
|
|
123160
123160
|
detected: true
|
|
123161
123161
|
};
|
|
123162
123162
|
}
|
|
123163
|
+
const homeDir = process.env.HOME || process.env.USERPROFILE || "";
|
|
123163
123164
|
if (shell.includes("bash")) {
|
|
123164
123165
|
return {
|
|
123165
123166
|
name: "bash",
|
|
123166
|
-
configFile: `${
|
|
123167
|
+
configFile: `${homeDir}/.bashrc`,
|
|
123167
123168
|
detected: true
|
|
123168
123169
|
};
|
|
123169
123170
|
}
|
|
123170
123171
|
if (shell.includes("zsh")) {
|
|
123171
123172
|
return {
|
|
123172
123173
|
name: "zsh",
|
|
123173
|
-
configFile: `${
|
|
123174
|
+
configFile: `${homeDir}/.zshrc`,
|
|
123174
123175
|
detected: true
|
|
123175
123176
|
};
|
|
123176
123177
|
}
|
|
123177
123178
|
if (shell.includes("fish")) {
|
|
123178
123179
|
return {
|
|
123179
123180
|
name: "fish",
|
|
123180
|
-
configFile: `${
|
|
123181
|
+
configFile: `${homeDir}/.config/fish/completions/aqe.fish`,
|
|
123181
123182
|
detected: true
|
|
123182
123183
|
};
|
|
123183
123184
|
}
|
|
@@ -123270,7 +123271,8 @@ Installing completions for ${shellInfo.name}...
|
|
|
123270
123271
|
`));
|
|
123271
123272
|
const script = generateCompletion(shellInfo.name);
|
|
123272
123273
|
if (shellInfo.name === "fish") {
|
|
123273
|
-
const
|
|
123274
|
+
const homeDir = process.env.HOME || process.env.USERPROFILE || "";
|
|
123275
|
+
const fishCompletionsDir = path23.join(homeDir, ".config", "fish", "completions");
|
|
123274
123276
|
try {
|
|
123275
123277
|
fs21.mkdirSync(fishCompletionsDir, { recursive: true });
|
|
123276
123278
|
const completionFile = path23.join(fishCompletionsDir, "aqe.fish");
|
|
@@ -130544,6 +130546,16 @@ var IAPTunnelManager = class {
|
|
|
130544
130546
|
console.log("[TunnelManager] Tunnel already running");
|
|
130545
130547
|
return this.connection;
|
|
130546
130548
|
}
|
|
130549
|
+
const alreadyListening = await this.checkPort("localhost", this.config.tunnelPort);
|
|
130550
|
+
if (alreadyListening) {
|
|
130551
|
+
console.log(`[TunnelManager] External tunnel detected on port ${this.config.tunnelPort}, reusing`);
|
|
130552
|
+
this.connection = {
|
|
130553
|
+
host: "localhost",
|
|
130554
|
+
port: this.config.tunnelPort,
|
|
130555
|
+
startedAt: /* @__PURE__ */ new Date()
|
|
130556
|
+
};
|
|
130557
|
+
return this.connection;
|
|
130558
|
+
}
|
|
130547
130559
|
return new Promise((resolve14, reject) => {
|
|
130548
130560
|
const args = [
|
|
130549
130561
|
"compute",
|
|
@@ -136543,10 +136555,11 @@ Registered: ${events.length}/${Object.keys(QE_HOOK_EVENTS).length}`)
|
|
|
136543
136555
|
try {
|
|
136544
136556
|
const sessionId = state.sessionId || "unknown";
|
|
136545
136557
|
let stats = null;
|
|
136546
|
-
|
|
136547
|
-
|
|
136548
|
-
|
|
136549
|
-
|
|
136558
|
+
if (state.initialized && state.reasoningBank) {
|
|
136559
|
+
try {
|
|
136560
|
+
stats = await state.reasoningBank.getStats();
|
|
136561
|
+
} catch {
|
|
136562
|
+
}
|
|
136550
136563
|
}
|
|
136551
136564
|
if (options.json) {
|
|
136552
136565
|
printJson({
|
|
@@ -138420,7 +138433,7 @@ async function cleanupAndExit(code = 0) {
|
|
|
138420
138433
|
process.exit(code);
|
|
138421
138434
|
}
|
|
138422
138435
|
var program = new Command18();
|
|
138423
|
-
var VERSION = true ? "3.6.
|
|
138436
|
+
var VERSION = true ? "3.6.3" : "0.0.0-dev";
|
|
138424
138437
|
program.name("aqe").description("Agentic QE - Domain-Driven Quality Engineering").version(VERSION);
|
|
138425
138438
|
var registry = createCommandRegistry(context, cleanupAndExit, ensureInitialized);
|
|
138426
138439
|
registry.registerAll(program);
|
|
@@ -44,7 +44,7 @@ async function detectClaudeFlow(projectRoot, debug) {
|
|
|
44
44
|
}
|
|
45
45
|
// Method 2: Check for CLI availability
|
|
46
46
|
try {
|
|
47
|
-
const result = execSync('npx @claude-flow/cli@latest --version
|
|
47
|
+
const result = execSync('npx @claude-flow/cli@latest --version', {
|
|
48
48
|
encoding: 'utf-8',
|
|
49
49
|
timeout: 10000,
|
|
50
50
|
cwd: projectRoot,
|
|
@@ -96,7 +96,7 @@ async function detectFeatures(projectRoot) {
|
|
|
96
96
|
];
|
|
97
97
|
for (const check of featureChecks) {
|
|
98
98
|
try {
|
|
99
|
-
execSync(`npx @claude-flow/cli@latest ${check.command}
|
|
99
|
+
execSync(`npx @claude-flow/cli@latest ${check.command}`, {
|
|
100
100
|
encoding: 'utf-8',
|
|
101
101
|
timeout: 5000,
|
|
102
102
|
cwd: projectRoot,
|
|
@@ -192,7 +192,7 @@ async function runPretrainAnalysis(projectRoot, debug) {
|
|
|
192
192
|
try {
|
|
193
193
|
if (debug)
|
|
194
194
|
console.log('[ClaudeFlow] Running pretrain analysis...');
|
|
195
|
-
execSync('npx @claude-flow/cli@latest hooks pretrain --depth medium
|
|
195
|
+
execSync('npx @claude-flow/cli@latest hooks pretrain --depth medium', {
|
|
196
196
|
encoding: 'utf-8',
|
|
197
197
|
timeout: 120000, // 2 minutes
|
|
198
198
|
cwd: projectRoot,
|