agentic-qe 3.7.16 → 3.7.18
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-devils-advocate.md +20 -0
- package/.claude/agents/v3/qe-gap-detector.md +25 -0
- package/.claude/agents/v3/qe-quality-gate.md +8 -0
- package/.claude/agents/v3/qe-requirements-validator.md +25 -0
- package/.claude/agents/v3/subagents/qe-code-reviewer.md +11 -0
- package/.claude/agents/v3/subagents/qe-integration-reviewer.md +11 -0
- package/.claude/agents/v3/subagents/qe-performance-reviewer.md +11 -0
- package/.claude/agents/v3/subagents/qe-security-reviewer.md +11 -0
- package/.claude/helpers/adr-compliance.sh +10 -10
- package/.claude/helpers/auto-memory-hook.mjs +24 -9
- package/.claude/helpers/brain-checkpoint.cjs +55 -145
- package/.claude/helpers/ddd-tracker.sh +2 -2
- package/.claude/helpers/guidance-hooks.sh +2 -2
- package/.claude/helpers/hook-handler.cjs +57 -18
- package/.claude/helpers/statusline.cjs +414 -595
- package/.claude/helpers/v3/quality-criteria/evidence-classification.md +116 -116
- package/.claude/helpers/v3/quality-criteria/htsm-categories.md +139 -139
- package/.claude/skills/README.md +8 -11
- package/.claude/skills/brutal-honesty-review/SKILL.md +3 -0
- package/.claude/skills/code-review-quality/SKILL.md +3 -0
- package/.claude/skills/qcsd-cicd-swarm/SKILL.md +79 -2075
- package/.claude/skills/qcsd-cicd-swarm/steps/01-flag-detection.md +62 -0
- package/.claude/skills/qcsd-cicd-swarm/steps/02-core-agents.md +33 -0
- package/.claude/skills/qcsd-cicd-swarm/steps/03-batch1-results.md +21 -0
- package/.claude/skills/qcsd-cicd-swarm/steps/04-conditional-agents.md +23 -0
- package/.claude/skills/qcsd-cicd-swarm/steps/05-decision-synthesis.md +30 -0
- package/.claude/skills/qcsd-cicd-swarm/steps/06-report-generation.md +17 -0
- package/.claude/skills/qcsd-cicd-swarm/steps/07-learning-persistence.md +27 -0
- package/.claude/skills/qcsd-cicd-swarm/steps/08-deployment-advisor.md +25 -0
- package/.claude/skills/qcsd-cicd-swarm/steps/09-final-output.md +16 -0
- package/.claude/skills/qcsd-development-swarm/SKILL.md +79 -2027
- package/.claude/skills/qcsd-development-swarm/steps/01-flag-detection.md +50 -0
- package/.claude/skills/qcsd-development-swarm/steps/02-core-agents.md +29 -0
- package/.claude/skills/qcsd-development-swarm/steps/03-batch1-results.md +14 -0
- package/.claude/skills/qcsd-development-swarm/steps/04-conditional-agents.md +23 -0
- package/.claude/skills/qcsd-development-swarm/steps/05-decision-synthesis.md +30 -0
- package/.claude/skills/qcsd-development-swarm/steps/06-report-generation.md +16 -0
- package/.claude/skills/qcsd-development-swarm/steps/07-learning-persistence.md +25 -0
- package/.claude/skills/qcsd-development-swarm/steps/08-defect-predictor.md +25 -0
- package/.claude/skills/qcsd-development-swarm/steps/09-final-output.md +16 -0
- package/.claude/skills/qcsd-ideation-swarm/SKILL.md +94 -1894
- package/.claude/skills/qcsd-ideation-swarm/steps/01-flag-detection.md +57 -0
- package/.claude/skills/qcsd-ideation-swarm/steps/02-core-agents.md +29 -0
- package/.claude/skills/qcsd-ideation-swarm/steps/03-batch1-results.md +15 -0
- package/.claude/skills/qcsd-ideation-swarm/steps/04-conditional-agents.md +23 -0
- package/.claude/skills/qcsd-ideation-swarm/steps/05-decision-synthesis.md +29 -0
- package/.claude/skills/qcsd-ideation-swarm/steps/06-report-generation.md +18 -0
- package/.claude/skills/qcsd-ideation-swarm/steps/07-learning-persistence.md +29 -0
- package/.claude/skills/qcsd-ideation-swarm/steps/08-final-output.md +18 -0
- package/.claude/skills/qcsd-production-swarm/SKILL.md +88 -2663
- package/.claude/skills/qcsd-production-swarm/steps/01-flag-detection.md +206 -0
- package/.claude/skills/qcsd-production-swarm/steps/02-core-agents.md +428 -0
- package/.claude/skills/qcsd-production-swarm/steps/03-batch1-results.md +101 -0
- package/.claude/skills/qcsd-production-swarm/steps/04-conditional-agents.md +125 -0
- package/.claude/skills/qcsd-production-swarm/steps/05-decision-synthesis.md +136 -0
- package/.claude/skills/qcsd-production-swarm/steps/06-report-generation.md +181 -0
- package/.claude/skills/qcsd-production-swarm/steps/07-learning-persistence.md +185 -0
- package/.claude/skills/qcsd-production-swarm/steps/08-feedback-loop.md +122 -0
- package/.claude/skills/qcsd-production-swarm/steps/09-final-output.md +140 -0
- package/.claude/skills/qcsd-refinement-swarm/SKILL.md +59 -2312
- package/.claude/skills/qcsd-refinement-swarm/steps/01-flag-detection.md +91 -0
- package/.claude/skills/qcsd-refinement-swarm/steps/02-core-agents.md +40 -0
- package/.claude/skills/qcsd-refinement-swarm/steps/03-batch1-results.md +40 -0
- package/.claude/skills/qcsd-refinement-swarm/steps/04-conditional-agents.md +35 -0
- package/.claude/skills/qcsd-refinement-swarm/steps/05-decision-synthesis.md +43 -0
- package/.claude/skills/qcsd-refinement-swarm/steps/06-report-generation.md +42 -0
- package/.claude/skills/qcsd-refinement-swarm/steps/07-learning-persistence.md +53 -0
- package/.claude/skills/qcsd-refinement-swarm/steps/08-transformation.md +36 -0
- package/.claude/skills/qcsd-refinement-swarm/steps/09-final-output.md +46 -0
- package/.claude/skills/sherlock-review/SKILL.md +3 -0
- package/.claude/skills/skill-builder/SKILL.md +103 -0
- package/.claude/skills/skills-manifest.json +1 -1
- package/CHANGELOG.md +29 -0
- package/assets/agents/v3/qe-devils-advocate.md +20 -0
- package/assets/agents/v3/qe-gap-detector.md +25 -0
- package/assets/agents/v3/qe-quality-gate.md +8 -0
- package/assets/agents/v3/qe-requirements-validator.md +25 -0
- package/assets/agents/v3/subagents/qe-code-reviewer.md +11 -0
- package/assets/agents/v3/subagents/qe-integration-reviewer.md +11 -0
- package/assets/agents/v3/subagents/qe-performance-reviewer.md +11 -0
- package/assets/agents/v3/subagents/qe-security-reviewer.md +11 -0
- package/assets/helpers/statusline-v3.cjs +693 -0
- package/assets/skills/brutal-honesty-review/SKILL.md +3 -0
- package/assets/skills/code-review-quality/SKILL.md +3 -0
- package/assets/skills/qcsd-cicd-swarm/SKILL.md +79 -2075
- package/assets/skills/qcsd-cicd-swarm/steps/01-flag-detection.md +62 -0
- package/assets/skills/qcsd-cicd-swarm/steps/02-core-agents.md +33 -0
- package/assets/skills/qcsd-cicd-swarm/steps/03-batch1-results.md +21 -0
- package/assets/skills/qcsd-cicd-swarm/steps/04-conditional-agents.md +23 -0
- package/assets/skills/qcsd-cicd-swarm/steps/05-decision-synthesis.md +30 -0
- package/assets/skills/qcsd-cicd-swarm/steps/06-report-generation.md +17 -0
- package/assets/skills/qcsd-cicd-swarm/steps/07-learning-persistence.md +27 -0
- package/assets/skills/qcsd-cicd-swarm/steps/08-deployment-advisor.md +25 -0
- package/assets/skills/qcsd-cicd-swarm/steps/09-final-output.md +16 -0
- package/assets/skills/qcsd-development-swarm/SKILL.md +79 -2027
- package/assets/skills/qcsd-development-swarm/steps/01-flag-detection.md +50 -0
- package/assets/skills/qcsd-development-swarm/steps/02-core-agents.md +29 -0
- package/assets/skills/qcsd-development-swarm/steps/03-batch1-results.md +14 -0
- package/assets/skills/qcsd-development-swarm/steps/04-conditional-agents.md +23 -0
- package/assets/skills/qcsd-development-swarm/steps/05-decision-synthesis.md +30 -0
- package/assets/skills/qcsd-development-swarm/steps/06-report-generation.md +16 -0
- package/assets/skills/qcsd-development-swarm/steps/07-learning-persistence.md +25 -0
- package/assets/skills/qcsd-development-swarm/steps/08-defect-predictor.md +25 -0
- package/assets/skills/qcsd-development-swarm/steps/09-final-output.md +16 -0
- package/assets/skills/qcsd-ideation-swarm/SKILL.md +94 -1894
- package/assets/skills/qcsd-ideation-swarm/steps/01-flag-detection.md +57 -0
- package/assets/skills/qcsd-ideation-swarm/steps/02-core-agents.md +29 -0
- package/assets/skills/qcsd-ideation-swarm/steps/03-batch1-results.md +15 -0
- package/assets/skills/qcsd-ideation-swarm/steps/04-conditional-agents.md +23 -0
- package/assets/skills/qcsd-ideation-swarm/steps/05-decision-synthesis.md +29 -0
- package/assets/skills/qcsd-ideation-swarm/steps/06-report-generation.md +18 -0
- package/assets/skills/qcsd-ideation-swarm/steps/07-learning-persistence.md +29 -0
- package/assets/skills/qcsd-ideation-swarm/steps/08-final-output.md +18 -0
- package/assets/skills/qcsd-production-swarm/SKILL.md +88 -2663
- package/assets/skills/qcsd-production-swarm/steps/01-flag-detection.md +206 -0
- package/assets/skills/qcsd-production-swarm/steps/02-core-agents.md +428 -0
- package/assets/skills/qcsd-production-swarm/steps/03-batch1-results.md +101 -0
- package/assets/skills/qcsd-production-swarm/steps/04-conditional-agents.md +125 -0
- package/assets/skills/qcsd-production-swarm/steps/05-decision-synthesis.md +136 -0
- package/assets/skills/qcsd-production-swarm/steps/06-report-generation.md +181 -0
- package/assets/skills/qcsd-production-swarm/steps/07-learning-persistence.md +185 -0
- package/assets/skills/qcsd-production-swarm/steps/08-feedback-loop.md +122 -0
- package/assets/skills/qcsd-production-swarm/steps/09-final-output.md +140 -0
- package/assets/skills/qcsd-refinement-swarm/SKILL.md +59 -2312
- package/assets/skills/qcsd-refinement-swarm/steps/01-flag-detection.md +91 -0
- package/assets/skills/qcsd-refinement-swarm/steps/02-core-agents.md +40 -0
- package/assets/skills/qcsd-refinement-swarm/steps/03-batch1-results.md +40 -0
- package/assets/skills/qcsd-refinement-swarm/steps/04-conditional-agents.md +35 -0
- package/assets/skills/qcsd-refinement-swarm/steps/05-decision-synthesis.md +43 -0
- package/assets/skills/qcsd-refinement-swarm/steps/06-report-generation.md +42 -0
- package/assets/skills/qcsd-refinement-swarm/steps/07-learning-persistence.md +53 -0
- package/assets/skills/qcsd-refinement-swarm/steps/08-transformation.md +36 -0
- package/assets/skills/qcsd-refinement-swarm/steps/09-final-output.md +46 -0
- package/assets/skills/sherlock-review/SKILL.md +3 -0
- package/assets/templates/agent-override-example.yaml +39 -0
- package/dist/agents/devils-advocate/agent.d.ts +25 -1
- package/dist/agents/devils-advocate/agent.js +108 -4
- package/dist/agents/devils-advocate/types.d.ts +54 -0
- package/dist/agents/devils-advocate/types.js +14 -0
- package/dist/agents/overlay-loader.d.ts +28 -0
- package/dist/agents/overlay-loader.js +232 -0
- package/dist/agents/overlay-schema.d.ts +56 -0
- package/dist/agents/overlay-schema.js +77 -0
- package/dist/analysis/branch-enumerator.d.ts +68 -0
- package/dist/analysis/branch-enumerator.js +393 -0
- package/dist/analysis/index.d.ts +2 -0
- package/dist/analysis/index.js +2 -0
- package/dist/cli/bundle.js +2415 -624
- package/dist/cli/commands/coverage.js +50 -0
- package/dist/context/compiler.d.ts +62 -0
- package/dist/context/compiler.js +143 -0
- package/dist/context/index.d.ts +8 -0
- package/dist/context/index.js +6 -0
- package/dist/context/sources/coverage-source.d.ts +15 -0
- package/dist/context/sources/coverage-source.js +77 -0
- package/dist/context/sources/git-source.d.ts +12 -0
- package/dist/context/sources/git-source.js +33 -0
- package/dist/context/sources/index.d.ts +6 -0
- package/dist/context/sources/index.js +5 -0
- package/dist/context/sources/memory-source.d.ts +17 -0
- package/dist/context/sources/memory-source.js +94 -0
- package/dist/context/sources/test-source.d.ts +13 -0
- package/dist/context/sources/test-source.js +53 -0
- package/dist/context/sources/types.d.ts +42 -0
- package/dist/context/sources/types.js +5 -0
- package/dist/init/agents-installer.d.ts +9 -0
- package/dist/init/agents-installer.js +79 -0
- package/dist/init/phases/07-hooks.d.ts +11 -0
- package/dist/init/phases/07-hooks.js +67 -0
- package/dist/init/phases/09-assets.js +18 -10
- package/dist/init/settings-merge.js +1 -1
- package/dist/mcp/bundle.js +4411 -3979
- package/dist/mcp/services/task-router.d.ts +11 -0
- package/dist/mcp/services/task-router.js +26 -0
- package/dist/routing/qe-agent-registry.d.ts +11 -0
- package/dist/routing/qe-agent-registry.js +34 -0
- package/dist/routing/qe-task-router.d.ts +1 -0
- package/dist/routing/qe-task-router.js +34 -2
- package/dist/routing/types.d.ts +2 -0
- package/dist/validation/index.d.ts +3 -0
- package/dist/validation/index.js +10 -0
- package/dist/validation/pipeline.d.ts +80 -0
- package/dist/validation/pipeline.js +173 -0
- package/dist/validation/steps/requirements.d.ts +32 -0
- package/dist/validation/steps/requirements.js +596 -0
- package/package.json +6 -6
- package/.claude/agents/consensus/README.md +0 -253
- package/.claude/agents/deprecated/qe-api-contract-validator.md.v2 +0 -162
- package/.claude/agents/deprecated/qe-coverage-analyzer.md.v2 +0 -208
- package/.claude/agents/deprecated/qe-test-generator.md.v2 +0 -212
- package/.claude/agents/deprecated/qe-visual-tester.md.v2 +0 -216
- package/.claude/agents/hive-mind/collective-intelligence-coordinator.md +0 -130
- package/.claude/agents/hive-mind/queen-coordinator.md +0 -203
- package/.claude/agents/hive-mind/scout-explorer.md +0 -242
- package/.claude/agents/hive-mind/swarm-memory-manager.md +0 -193
- package/.claude/agents/hive-mind/worker-specialist.md +0 -217
- package/.claude/agents/neural/safla-neural.md +0 -74
- package/.claude/agents/optimization/README.md +0 -250
- package/.claude/agents/reasoning/agent.md +0 -816
- package/.claude/agents/reasoning/goal-planner.md +0 -73
- package/.claude/agents/subagents/qe-code-reviewer.md +0 -76
- package/.claude/agents/subagents/qe-coverage-gap-analyzer.md +0 -76
- package/.claude/agents/subagents/qe-data-generator.md +0 -77
- package/.claude/agents/subagents/qe-flaky-investigator.md +0 -91
- package/.claude/agents/subagents/qe-integration-tester.md +0 -90
- package/.claude/agents/subagents/qe-performance-validator.md +0 -92
- package/.claude/agents/subagents/qe-security-auditor.md +0 -94
- package/.claude/agents/subagents/qe-test-data-architect-sub.md +0 -93
- package/.claude/agents/subagents/qe-test-implementer.md +0 -106
- package/.claude/agents/subagents/qe-test-refactorer.md +0 -117
- package/.claude/agents/subagents/qe-test-writer.md +0 -112
- package/.claude/agents/swarm/README.md +0 -190
- package/.claude/agents/templates/migration-plan.md +0 -746
- package/.claude/agents/testing/unit/tdd-london-swarm.md +0 -244
- package/.claude/agents/testing/validation/production-validator.md +0 -395
- package/.claude/agents/v3/README.md +0 -39
- package/.claude/agents/v3/typescript-specialist.yaml +0 -21
- package/.claude/agents/v3/v3-memory-specialist.md +0 -318
- package/.claude/agents/v3/v3-performance-engineer.md +0 -397
- package/.claude/agents/v3/v3-queen-coordinator.md +0 -98
- package/.claude/agents/v3/v3-security-architect.md +0 -174
- package/.claude/commands/README.md +0 -106
- package/.claude/commands/agents/README.md +0 -10
- package/.claude/commands/agents/agent-capabilities.md +0 -21
- package/.claude/commands/agents/agent-coordination.md +0 -28
- package/.claude/commands/agents/agent-spawning.md +0 -28
- package/.claude/commands/agents/agent-types.md +0 -26
- package/.claude/commands/coordination/README.md +0 -9
- package/.claude/commands/coordination/agent-spawn.md +0 -25
- package/.claude/commands/coordination/init.md +0 -44
- package/.claude/commands/coordination/orchestrate.md +0 -43
- package/.claude/commands/coordination/spawn.md +0 -45
- package/.claude/commands/coordination/swarm-init.md +0 -85
- package/.claude/commands/coordination/task-orchestrate.md +0 -25
- package/.claude/commands/hive-mind/README.md +0 -17
- package/.claude/commands/hive-mind/hive-mind-consensus.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-init.md +0 -18
- package/.claude/commands/hive-mind/hive-mind-memory.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-metrics.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-resume.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-sessions.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-spawn.md +0 -21
- package/.claude/commands/hive-mind/hive-mind-status.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-stop.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-wizard.md +0 -8
- package/.claude/commands/hive-mind/hive-mind.md +0 -27
- package/.claude/commands/memory/README.md +0 -9
- package/.claude/commands/memory/memory-persist.md +0 -25
- package/.claude/commands/memory/memory-search.md +0 -25
- package/.claude/commands/memory/memory-usage.md +0 -25
- package/.claude/commands/memory/neural.md +0 -47
- package/.claude/commands/swarm/README.md +0 -15
- package/.claude/commands/swarm/swarm-analysis.md +0 -8
- package/.claude/commands/swarm/swarm-background.md +0 -8
- package/.claude/commands/swarm/swarm-init.md +0 -19
- package/.claude/commands/swarm/swarm-modes.md +0 -8
- package/.claude/commands/swarm/swarm-monitor.md +0 -8
- package/.claude/commands/swarm/swarm-spawn.md +0 -19
- package/.claude/commands/swarm/swarm-status.md +0 -8
- package/.claude/commands/swarm/swarm-strategies.md +0 -8
- package/.claude/commands/swarm/swarm.md +0 -27
- package/.claude/commands/training/README.md +0 -9
- package/.claude/commands/training/model-update.md +0 -25
- package/.claude/commands/training/neural-patterns.md +0 -74
- package/.claude/commands/training/neural-train.md +0 -25
- package/.claude/commands/training/pattern-learn.md +0 -25
- package/.claude/commands/training/specialization.md +0 -63
- package/.claude/commands/workflows/README.md +0 -9
- package/.claude/commands/workflows/development.md +0 -78
- package/.claude/commands/workflows/research.md +0 -63
- package/.claude/commands/workflows/workflow-create.md +0 -25
- package/.claude/commands/workflows/workflow-execute.md +0 -25
- package/.claude/commands/workflows/workflow-export.md +0 -25
- package/.claude/skills/agentic-jujutsu/SKILL.md +0 -645
- package/.claude/skills/hive-mind-advanced/SKILL.md +0 -712
- package/.claude/skills/iterative-loop/SKILL.md +0 -371
- package/.claude/skills/performance-analysis/SKILL.md +0 -569
- package/.claude/skills/performance-analysis/evals/performance-analysis.yaml +0 -144
- package/.claude/skills/performance-analysis/schemas/output.json +0 -588
- package/.claude/skills/performance-analysis/scripts/validate-config.json +0 -36
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Step 1: Analyze Story Content (Flag Detection)
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
- Refinement swarm skill invoked
|
|
5
|
+
- User story / acceptance criteria provided
|
|
6
|
+
- OUTPUT_FOLDER determined
|
|
7
|
+
|
|
8
|
+
## Instructions
|
|
9
|
+
|
|
10
|
+
### MANDATORY: Complete this analysis before Step 2.
|
|
11
|
+
|
|
12
|
+
### Step 0: Retrieve Ideation Phase Signals (Cross-Phase Consumption)
|
|
13
|
+
|
|
14
|
+
Before analyzing story content, retrieve the most recent Ideation phase signals from memory.
|
|
15
|
+
|
|
16
|
+
**MCP Method (preferred):**
|
|
17
|
+
|
|
18
|
+
```javascript
|
|
19
|
+
mcp__agentic-qe__memory_query({
|
|
20
|
+
pattern: "qcsd-ideation-*",
|
|
21
|
+
namespace: "qcsd-ideation",
|
|
22
|
+
limit: 1
|
|
23
|
+
})
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
**CLI Fallback:**
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npx @claude-flow/cli@latest memory search --query "qcsd-ideation" --namespace qcsd-ideation --limit 1
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Step 1: Scan Story Content and Detect Flags
|
|
33
|
+
|
|
34
|
+
Scan the user story, acceptance criteria, and any referenced specifications to SET these flags. Do not skip any flag.
|
|
35
|
+
|
|
36
|
+
### Flag Detection (Check ALL SEVEN)
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
HAS_API = FALSE
|
|
40
|
+
Set TRUE if story mentions ANY of: API, endpoint, REST, GraphQL, gRPC,
|
|
41
|
+
webhook, contract, consumer, provider, OpenAPI, Swagger, request/response,
|
|
42
|
+
HTTP method, payload, schema, backward compatibility
|
|
43
|
+
|
|
44
|
+
HAS_REFACTORING = FALSE
|
|
45
|
+
Set TRUE if story mentions ANY of: refactor, restructure, rewrite,
|
|
46
|
+
migrate, replace, consolidate, extract, decompose, simplify, optimize,
|
|
47
|
+
technical debt, legacy, modernize, upgrade
|
|
48
|
+
|
|
49
|
+
HAS_DEPENDENCIES = FALSE
|
|
50
|
+
Set TRUE if story mentions ANY of: dependency, library, package, version,
|
|
51
|
+
upgrade, third-party, external service, integration, SDK, plugin,
|
|
52
|
+
framework update, breaking change, compatibility
|
|
53
|
+
|
|
54
|
+
HAS_SECURITY = FALSE
|
|
55
|
+
Set TRUE if story mentions ANY of: authentication, authorization, encryption,
|
|
56
|
+
token, OAuth, JWT, RBAC, security, vulnerability, OWASP, input validation,
|
|
57
|
+
sanitization, XSS, CSRF, injection, secrets, credentials
|
|
58
|
+
|
|
59
|
+
HAS_MIDDLEWARE = FALSE
|
|
60
|
+
Set TRUE if story mentions ANY of: middleware, ESB, message broker, MQ,
|
|
61
|
+
Kafka, RabbitMQ, integration bus, API gateway, message queue, pub/sub,
|
|
62
|
+
event bus, service bus, ActiveMQ, NATS, Redis Streams
|
|
63
|
+
|
|
64
|
+
HAS_SAP_INTEGRATION = FALSE
|
|
65
|
+
Set TRUE if story mentions ANY of: SAP, OData, RFC, BAPI, IDoc,
|
|
66
|
+
S/4HANA, EWM, ECC, ABAP, CDS view, Fiori, SAP Cloud Integration,
|
|
67
|
+
SAP PI/PO, SAP Gateway, SAP connector
|
|
68
|
+
|
|
69
|
+
HAS_AUTHORIZATION = FALSE
|
|
70
|
+
Set TRUE if story mentions ANY of: SoD, segregation of duties,
|
|
71
|
+
role conflict, authorization object, T-code, user role,
|
|
72
|
+
access control matrix, GRC, RBAC policy, permission matrix,
|
|
73
|
+
privilege escalation, role assignment
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### MANDATORY: Output Flag Detection Results
|
|
77
|
+
|
|
78
|
+
You MUST output flag detection results in a structured format showing each flag value with evidence before proceeding.
|
|
79
|
+
|
|
80
|
+
## Success Criteria
|
|
81
|
+
- [ ] Ideation phase signals retrieved (or documented as unavailable)
|
|
82
|
+
- [ ] All SEVEN flags evaluated with evidence
|
|
83
|
+
- [ ] Flag detection results output
|
|
84
|
+
- [ ] Expected agent count calculated (3 core + conditional count + 1 transformation)
|
|
85
|
+
|
|
86
|
+
## Output
|
|
87
|
+
Provide: All flag values with evidence, expected agent count, Ideation baseline data.
|
|
88
|
+
|
|
89
|
+
## Navigation
|
|
90
|
+
- On success: proceed to Step 2 by reading `steps/02-core-agents.md`
|
|
91
|
+
- On failure: halt and report which flags could not be evaluated
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Step 2: Spawn Core Agents (Parallel Batch 1)
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
- Step 1 (Flag Detection) completed
|
|
5
|
+
- User story content available
|
|
6
|
+
- OUTPUT_FOLDER determined
|
|
7
|
+
|
|
8
|
+
## Instructions
|
|
9
|
+
|
|
10
|
+
### CRITICAL: Spawn ALL THREE core agents in ONE message
|
|
11
|
+
|
|
12
|
+
| Agent | Domain | Role |
|
|
13
|
+
|-------|--------|------|
|
|
14
|
+
| qe-product-factors-assessor | requirements-validation | SFDIPOT (7 factors, 37 subcategories) analysis |
|
|
15
|
+
| qe-bdd-generator | requirements-validation | BDD Gherkin scenario generation |
|
|
16
|
+
| qe-requirements-validator | requirements-validation | INVEST validation and testability scoring |
|
|
17
|
+
|
|
18
|
+
### Agent 1: Product Factors Assessor
|
|
19
|
+
Analyze the story using SFDIPOT product factors (Structure, Function, Data, Interface, Platform, Operations, Time). Must read the SFDIPOT reference material first. Save to: `${OUTPUT_FOLDER}/02-product-factors.md`
|
|
20
|
+
|
|
21
|
+
### Agent 2: BDD Generator
|
|
22
|
+
Generate comprehensive BDD Gherkin scenarios from the story acceptance criteria. Must produce Given/When/Then scenarios covering happy paths, edge cases, and negative cases. Save to: `${OUTPUT_FOLDER}/03-bdd-scenarios.md`
|
|
23
|
+
|
|
24
|
+
### Agent 3: Requirements Validator
|
|
25
|
+
Validate the story against INVEST criteria (Independent, Negotiable, Valuable, Estimable, Small, Testable). Assess testability scoring and acceptance criteria completeness. Save to: `${OUTPUT_FOLDER}/04-requirements-validation.md`
|
|
26
|
+
|
|
27
|
+
### Post-Spawn Confirmation
|
|
28
|
+
Tell the user all 3 core agents are running and WAIT.
|
|
29
|
+
|
|
30
|
+
## Success Criteria
|
|
31
|
+
- [ ] All THREE agents spawned in ONE message
|
|
32
|
+
- [ ] Each agent has complete story content
|
|
33
|
+
- [ ] Post-spawn confirmation sent
|
|
34
|
+
|
|
35
|
+
## Output
|
|
36
|
+
Confirmation that 3 agents are running in background.
|
|
37
|
+
|
|
38
|
+
## Navigation
|
|
39
|
+
- On success: proceed to Step 3 by reading `steps/03-batch1-results.md`
|
|
40
|
+
- On failure: respawn missing agents
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Step 3: Wait for Batch 1 & Extract Results
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
- Step 2: All 3 core agents spawned
|
|
5
|
+
|
|
6
|
+
## Instructions
|
|
7
|
+
|
|
8
|
+
### WAIT for all three agents to complete. Do NOT proceed early.
|
|
9
|
+
|
|
10
|
+
### Extract from each agent:
|
|
11
|
+
|
|
12
|
+
**From qe-product-factors-assessor:**
|
|
13
|
+
- SFDIPOT factor scores and priorities
|
|
14
|
+
- Key quality risks identified
|
|
15
|
+
- Product factor coverage assessment
|
|
16
|
+
|
|
17
|
+
**From qe-bdd-generator:**
|
|
18
|
+
- Number of BDD scenarios generated
|
|
19
|
+
- Coverage of acceptance criteria
|
|
20
|
+
- Edge cases and negative scenarios
|
|
21
|
+
|
|
22
|
+
**From qe-requirements-validator:**
|
|
23
|
+
- INVEST validation score
|
|
24
|
+
- Testability score
|
|
25
|
+
- Acceptance criteria completeness percentage
|
|
26
|
+
- Missing requirements identified
|
|
27
|
+
|
|
28
|
+
### Output Metrics Summary Box with all extracted values.
|
|
29
|
+
|
|
30
|
+
## Success Criteria
|
|
31
|
+
- [ ] All three agents returned results
|
|
32
|
+
- [ ] All metrics extracted
|
|
33
|
+
- [ ] Summary box output with actual values
|
|
34
|
+
|
|
35
|
+
## Output
|
|
36
|
+
Complete Batch 1 metrics for use in subsequent steps.
|
|
37
|
+
|
|
38
|
+
## Navigation
|
|
39
|
+
- On success: proceed to Step 4 by reading `steps/04-conditional-agents.md`
|
|
40
|
+
- On failure: retry failed agents
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Step 4: Spawn Conditional Agents (Parallel Batch 2)
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
- Step 3 completed with core metrics
|
|
5
|
+
- Flag values from Step 1
|
|
6
|
+
|
|
7
|
+
## Instructions
|
|
8
|
+
|
|
9
|
+
### IF A FLAG IS TRUE, YOU MUST SPAWN THAT AGENT
|
|
10
|
+
|
|
11
|
+
| Flag | Agent | Domain | Output File |
|
|
12
|
+
|------|-------|--------|-------------|
|
|
13
|
+
| HAS_API | qe-contract-validator | contract-testing | `05-contract-validation.md` |
|
|
14
|
+
| HAS_REFACTORING | qe-impact-analyzer | code-intelligence | `06-impact-analysis.md` |
|
|
15
|
+
| HAS_DEPENDENCIES | qe-dependency-mapper | code-intelligence | `07-dependency-analysis.md` |
|
|
16
|
+
| HAS_SECURITY | (handled by core) | - | - |
|
|
17
|
+
| HAS_MIDDLEWARE | qe-middleware-validator | enterprise-integration | `08-middleware-validation.md` |
|
|
18
|
+
| HAS_SAP_INTEGRATION | qe-odata-contract-tester | enterprise-integration | `09-odata-contracts.md` |
|
|
19
|
+
| HAS_AUTHORIZATION | qe-sod-analyzer | enterprise-integration | `10-sod-analysis.md` |
|
|
20
|
+
|
|
21
|
+
If ALL flags are FALSE, skip to Step 5.
|
|
22
|
+
|
|
23
|
+
Otherwise, spawn all applicable agents in ONE message and WAIT for completion.
|
|
24
|
+
|
|
25
|
+
## Success Criteria
|
|
26
|
+
- [ ] All flagged agents spawned (or skipped if no flags)
|
|
27
|
+
- [ ] Agent count validation passed
|
|
28
|
+
- [ ] All conditional agents completed
|
|
29
|
+
|
|
30
|
+
## Output
|
|
31
|
+
Conditional agent scores for decision logic.
|
|
32
|
+
|
|
33
|
+
## Navigation
|
|
34
|
+
- On success: proceed to Step 5 by reading `steps/05-decision-synthesis.md`
|
|
35
|
+
- On failure: spawn missing agents
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Step 5: Synthesize Results & Determine Recommendation
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
- Core and conditional agent results available
|
|
5
|
+
|
|
6
|
+
## Instructions
|
|
7
|
+
|
|
8
|
+
### Apply READY/CONDITIONAL/NOT-READY decision logic EXACTLY
|
|
9
|
+
|
|
10
|
+
Derive metrics from agent outputs and apply the decision tree:
|
|
11
|
+
|
|
12
|
+
**NOT-READY conditions (ANY triggers NOT-READY):**
|
|
13
|
+
- Testability score < 40%
|
|
14
|
+
- INVEST validation fails on 3+ criteria
|
|
15
|
+
- Critical SFDIPOT gaps in Structure or Function
|
|
16
|
+
- Missing acceptance criteria for core functionality
|
|
17
|
+
- Contract validation failures on existing APIs (if applicable)
|
|
18
|
+
|
|
19
|
+
**READY conditions (ALL required for READY):**
|
|
20
|
+
- Testability score >= 70%
|
|
21
|
+
- INVEST validation passes on 5+ criteria
|
|
22
|
+
- All SFDIPOT factors assessed with no critical gaps
|
|
23
|
+
- BDD scenarios cover all acceptance criteria
|
|
24
|
+
- No unresolved blocking issues from conditional agents
|
|
25
|
+
|
|
26
|
+
**Default: CONDITIONAL**
|
|
27
|
+
|
|
28
|
+
### Record decision with full metrics and rationale.
|
|
29
|
+
|
|
30
|
+
If CONDITIONAL, list specific conditions that must be met.
|
|
31
|
+
If NOT-READY, list specific blockers with remediation steps.
|
|
32
|
+
|
|
33
|
+
## Success Criteria
|
|
34
|
+
- [ ] All metrics derived from actual agent outputs
|
|
35
|
+
- [ ] Decision logic applied exactly
|
|
36
|
+
- [ ] FINAL RECOMMENDATION: READY / CONDITIONAL / NOT-READY
|
|
37
|
+
|
|
38
|
+
## Output
|
|
39
|
+
Recommendation, metrics, rationale, and improvement actions.
|
|
40
|
+
|
|
41
|
+
## Navigation
|
|
42
|
+
- On success: proceed to Step 6 by reading `steps/06-report-generation.md`
|
|
43
|
+
- On failure: resolve missing metrics
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Step 6: Generate Refinement Report
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
- Step 5 completed with FINAL RECOMMENDATION
|
|
5
|
+
- All agent reports available
|
|
6
|
+
|
|
7
|
+
## Instructions
|
|
8
|
+
|
|
9
|
+
Generate the complete Refinement Report and save to `${OUTPUT_FOLDER}/01-executive-summary.md`.
|
|
10
|
+
|
|
11
|
+
The report MUST include:
|
|
12
|
+
1. Executive Summary with recommendation and key metrics
|
|
13
|
+
2. SFDIPOT Product Factors Analysis (from qe-product-factors-assessor)
|
|
14
|
+
3. BDD Scenarios (from qe-bdd-generator)
|
|
15
|
+
4. Requirements Validation (from qe-requirements-validator)
|
|
16
|
+
5. Conditional Analysis sections (for each conditional agent that ran)
|
|
17
|
+
6. Recommended Actions (P0/P1/P2 prioritized)
|
|
18
|
+
7. Test Strategy Summary
|
|
19
|
+
|
|
20
|
+
### Report Validation Checklist
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
+-- Executive Summary is complete with all metrics
|
|
24
|
+
+-- Recommendation matches decision logic
|
|
25
|
+
+-- SFDIPOT section covers all 7 factors
|
|
26
|
+
+-- BDD section includes all generated scenarios
|
|
27
|
+
+-- Requirements section includes INVEST scores
|
|
28
|
+
+-- Conditional sections present for all spawned agents
|
|
29
|
+
+-- Actions are specific and actionable
|
|
30
|
+
+-- Report saved to output folder
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Success Criteria
|
|
34
|
+
- [ ] Complete report with all sections
|
|
35
|
+
- [ ] Report saved to correct path
|
|
36
|
+
|
|
37
|
+
## Output
|
|
38
|
+
Confirmation that report is saved.
|
|
39
|
+
|
|
40
|
+
## Navigation
|
|
41
|
+
- On success: proceed to Step 7 by reading `steps/07-learning-persistence.md`
|
|
42
|
+
- On failure: complete missing sections
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Step 7: Store Learnings & Persist State
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
- Step 6 completed
|
|
5
|
+
- All metrics and flags available
|
|
6
|
+
|
|
7
|
+
## Instructions
|
|
8
|
+
|
|
9
|
+
### ENFORCEMENT: ALWAYS RUN. NOT OPTIONAL.
|
|
10
|
+
|
|
11
|
+
Store refinement findings to memory for cross-phase feedback:
|
|
12
|
+
|
|
13
|
+
**Step 1: Store to memory**
|
|
14
|
+
|
|
15
|
+
```javascript
|
|
16
|
+
mcp__agentic-qe__memory_store({
|
|
17
|
+
key: `qcsd-refinement-${storyId}-${Date.now()}`,
|
|
18
|
+
namespace: "qcsd-refinement",
|
|
19
|
+
value: {
|
|
20
|
+
storyId, recommendation, testabilityScore,
|
|
21
|
+
investScore, sfdipotPriorities, bddScenarioCount,
|
|
22
|
+
flags, agentsInvoked, timestamp
|
|
23
|
+
}
|
|
24
|
+
})
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Step 2: Share learnings**
|
|
28
|
+
|
|
29
|
+
```javascript
|
|
30
|
+
mcp__agentic-qe__memory_share({
|
|
31
|
+
sourceAgentId: "qcsd-refinement-swarm",
|
|
32
|
+
targetAgentIds: ["qe-test-idea-rewriter"],
|
|
33
|
+
knowledgeDomain: "refinement-test-patterns"
|
|
34
|
+
})
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
**Step 3: Save persistence record**
|
|
38
|
+
|
|
39
|
+
Save to `${OUTPUT_FOLDER}/11-learning-persistence.json` with complete metrics, flags, and cross-phase signals.
|
|
40
|
+
|
|
41
|
+
### Fallback: CLI commands if MCP unavailable.
|
|
42
|
+
|
|
43
|
+
## Success Criteria
|
|
44
|
+
- [ ] Memory store executed with actual values
|
|
45
|
+
- [ ] Learning persistence JSON saved
|
|
46
|
+
- [ ] Cross-phase signals documented
|
|
47
|
+
|
|
48
|
+
## Output
|
|
49
|
+
Confirmation of persistence.
|
|
50
|
+
|
|
51
|
+
## Navigation
|
|
52
|
+
- On success: proceed to Step 8 by reading `steps/08-transformation.md`
|
|
53
|
+
- On failure: retry persistence
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Step 8: Apply Test Idea Rewriter (Transformation)
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
- Step 7 completed
|
|
5
|
+
- BDD scenarios from Step 2 available
|
|
6
|
+
- All test ideas collected from all agents
|
|
7
|
+
|
|
8
|
+
## Instructions
|
|
9
|
+
|
|
10
|
+
### ENFORCEMENT: ALWAYS RUN qe-test-idea-rewriter
|
|
11
|
+
|
|
12
|
+
Spawn qe-test-idea-rewriter to transform ALL test ideas from passive descriptions
|
|
13
|
+
into active, exploratory test charters.
|
|
14
|
+
|
|
15
|
+
This agent must:
|
|
16
|
+
1. Read all BDD scenarios from qe-bdd-generator output
|
|
17
|
+
2. Read all test suggestions from other agents
|
|
18
|
+
3. Transform each passive test idea ("Verify X works") into an active charter
|
|
19
|
+
4. Apply the Session-Based Test Management (SBTM) charter format
|
|
20
|
+
5. Prioritize test ideas by risk and SFDIPOT factor weights
|
|
21
|
+
|
|
22
|
+
Save output to: `${OUTPUT_FOLDER}/12-rewritten-test-ideas.md`
|
|
23
|
+
|
|
24
|
+
WAIT for the agent to complete.
|
|
25
|
+
|
|
26
|
+
## Success Criteria
|
|
27
|
+
- [ ] qe-test-idea-rewriter spawned and completed
|
|
28
|
+
- [ ] All test ideas transformed
|
|
29
|
+
- [ ] Output saved to correct path
|
|
30
|
+
|
|
31
|
+
## Output
|
|
32
|
+
Transformed test ideas for final report.
|
|
33
|
+
|
|
34
|
+
## Navigation
|
|
35
|
+
- On success: proceed to Step 9 by reading `steps/09-final-output.md`
|
|
36
|
+
- On failure: retry the transformation agent
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Step 9: Final Output & Completion Summary
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
- All steps (1-8) completed
|
|
5
|
+
|
|
6
|
+
## Instructions
|
|
7
|
+
|
|
8
|
+
Display the completion summary:
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
+---------------------------------------------------------------------+
|
|
12
|
+
| QCSD REFINEMENT SWARM COMPLETE |
|
|
13
|
+
+---------------------------------------------------------------------+
|
|
14
|
+
| |
|
|
15
|
+
| Story Assessed: [Story ID/Title] |
|
|
16
|
+
| Reports Generated: [count] |
|
|
17
|
+
| Output Folder: ${OUTPUT_FOLDER} |
|
|
18
|
+
| |
|
|
19
|
+
| REFINEMENT SCORES: |
|
|
20
|
+
| +-- Testability Score: __% |
|
|
21
|
+
| +-- INVEST Score: __/6 |
|
|
22
|
+
| +-- SFDIPOT Coverage: __% |
|
|
23
|
+
| +-- BDD Scenarios: __ generated |
|
|
24
|
+
| +-- Test Ideas Rewritten: __ |
|
|
25
|
+
| |
|
|
26
|
+
| RECOMMENDATION: [READY / CONDITIONAL / NOT-READY] |
|
|
27
|
+
| REASON: [1-2 sentence rationale] |
|
|
28
|
+
| |
|
|
29
|
+
| DELIVERABLES: |
|
|
30
|
+
| +-- 01-executive-summary.md |
|
|
31
|
+
| +-- 02-product-factors.md |
|
|
32
|
+
| +-- 03-bdd-scenarios.md |
|
|
33
|
+
| +-- 04-requirements-validation.md |
|
|
34
|
+
| [conditional reports as applicable] |
|
|
35
|
+
| +-- 11-learning-persistence.json |
|
|
36
|
+
| +-- 12-rewritten-test-ideas.md |
|
|
37
|
+
| |
|
|
38
|
+
+---------------------------------------------------------------------+
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Success Criteria
|
|
42
|
+
- [ ] Completion summary displayed
|
|
43
|
+
- [ ] All deliverables listed
|
|
44
|
+
|
|
45
|
+
## Navigation
|
|
46
|
+
- This is the terminal step.
|
|
@@ -101,6 +101,9 @@ npm test -- --coverage
|
|
|
101
101
|
1. [Action based on findings]
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
+
## Minimum Findings Enforcement
|
|
105
|
+
Every investigation MUST surface at least 3 weighted observations (CRITICAL=3, HIGH=2, MEDIUM=1, LOW=0.5). Elementary observations count at INFORMATIONAL=0.25 weight. A Sherlock investigation that finds nothing is a failed investigation -- Holmes always finds clues.
|
|
106
|
+
|
|
104
107
|
---
|
|
105
108
|
|
|
106
109
|
## Investigation Scenarios
|
|
@@ -806,6 +806,109 @@ Complete API documentation: [API_REFERENCE.md](docs/API_REFERENCE.md)
|
|
|
806
806
|
|
|
807
807
|
---
|
|
808
808
|
|
|
809
|
+
## Micro-File Step Architecture (BMAD-006)
|
|
810
|
+
|
|
811
|
+
For complex skills that exceed 1,000 lines, use the micro-file step architecture
|
|
812
|
+
to combat LLM "lost in the middle" context degradation. When a skill's SKILL.md grows
|
|
813
|
+
beyond a certain threshold, the LLM loses critical details in the middle of the file.
|
|
814
|
+
Splitting into step files ensures each step gets full attention.
|
|
815
|
+
|
|
816
|
+
### When to Apply
|
|
817
|
+
|
|
818
|
+
| SKILL.md Size | Recommendation |
|
|
819
|
+
|---------------|----------------|
|
|
820
|
+
| Under 1,000 lines | Single file is fine |
|
|
821
|
+
| 1,000 - 1,500 lines | SHOULD split into step files |
|
|
822
|
+
| Over 1,500 lines | MUST split into step files |
|
|
823
|
+
|
|
824
|
+
### Directory Convention
|
|
825
|
+
|
|
826
|
+
```
|
|
827
|
+
my-skill/
|
|
828
|
+
SKILL.md # Compact orchestrator (200-300 lines)
|
|
829
|
+
steps/
|
|
830
|
+
01-first-step.md # Self-contained step file
|
|
831
|
+
02-second-step.md
|
|
832
|
+
03-third-step.md
|
|
833
|
+
...
|
|
834
|
+
```
|
|
835
|
+
|
|
836
|
+
### Step File Format
|
|
837
|
+
|
|
838
|
+
Each step file MUST be self-contained and include:
|
|
839
|
+
|
|
840
|
+
1. **Title** with step number
|
|
841
|
+
2. **Prerequisites** listing what data is needed from prior steps
|
|
842
|
+
3. **Instructions** with complete details (no references back to SKILL.md)
|
|
843
|
+
4. **Success Criteria** as a checklist
|
|
844
|
+
5. **Output** describing what this step produces
|
|
845
|
+
6. **Navigation** with explicit Read tool instructions for the next step
|
|
846
|
+
|
|
847
|
+
Example step file:
|
|
848
|
+
|
|
849
|
+
```markdown
|
|
850
|
+
# Step 3: Wait for Core Agent Results
|
|
851
|
+
|
|
852
|
+
## Prerequisites
|
|
853
|
+
- Step 2 completed (all core agents spawned)
|
|
854
|
+
|
|
855
|
+
## Instructions
|
|
856
|
+
STOP. Do not proceed until all three background tasks from Step 2 return.
|
|
857
|
+
|
|
858
|
+
When all agents complete, extract these metrics:
|
|
859
|
+
- Metric A from Agent 1
|
|
860
|
+
- Metric B from Agent 2
|
|
861
|
+
- Metric C from Agent 3
|
|
862
|
+
|
|
863
|
+
## Success Criteria
|
|
864
|
+
- [ ] All core agents completed
|
|
865
|
+
- [ ] All metrics extracted and recorded
|
|
866
|
+
|
|
867
|
+
## Output
|
|
868
|
+
Metrics summary for use in Step 4.
|
|
869
|
+
|
|
870
|
+
## Navigation
|
|
871
|
+
- On success: proceed to Step 4 by reading `steps/04-next-step.md`
|
|
872
|
+
- On failure: retry failed agents from Step 2
|
|
873
|
+
```
|
|
874
|
+
|
|
875
|
+
### Orchestrator Format
|
|
876
|
+
|
|
877
|
+
The rewritten SKILL.md orchestrator MUST include:
|
|
878
|
+
|
|
879
|
+
1. **YAML frontmatter** (preserved exactly from original)
|
|
880
|
+
2. **Title and overview** (brief description of the skill)
|
|
881
|
+
3. **Parameters** section
|
|
882
|
+
4. **Enforcement rules** table
|
|
883
|
+
5. **Step Execution Protocol** with:
|
|
884
|
+
- Numbered step list with file paths
|
|
885
|
+
- Explicit Read tool instructions (e.g., `Read({ file_path: "..." })`)
|
|
886
|
+
- Resume support via `--from-step N`
|
|
887
|
+
6. **Agent/component inventory** table
|
|
888
|
+
7. **Quality gate thresholds** (if applicable)
|
|
889
|
+
8. **Key principle** closing statement
|
|
890
|
+
|
|
891
|
+
The orchestrator should be 200-300 lines. All procedural detail lives in step files.
|
|
892
|
+
|
|
893
|
+
### Key Rules
|
|
894
|
+
|
|
895
|
+
- Step files MUST be under 500 lines each
|
|
896
|
+
- Step files MUST NOT reference content in SKILL.md (self-contained)
|
|
897
|
+
- Step files MUST include explicit `Read()` instructions for the next step (Gap 9 fix)
|
|
898
|
+
- ALL original content MUST be preserved across step files -- nothing is deleted
|
|
899
|
+
- The orchestrator is a table of contents and control flow, not a content dump
|
|
900
|
+
|
|
901
|
+
### Reference Implementation
|
|
902
|
+
|
|
903
|
+
See the QCSD swarm skills for working examples:
|
|
904
|
+
- `qcsd-production-swarm/` -- 12 agents, 9 steps, feedback loop
|
|
905
|
+
- `qcsd-refinement-swarm/` -- 10 agents, 9 steps, test idea rewriter
|
|
906
|
+
- `qcsd-cicd-swarm/` -- 10 agents, 9 steps, deployment advisor
|
|
907
|
+
- `qcsd-development-swarm/` -- 10 agents, 9 steps, defect predictor
|
|
908
|
+
- `qcsd-ideation-swarm/` -- 9 agents, 8 steps, URL browser cascade
|
|
909
|
+
|
|
910
|
+
---
|
|
911
|
+
|
|
809
912
|
## Examples from the Wild
|
|
810
913
|
|
|
811
914
|
### Example 1: Simple Documentation Skill
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,35 @@ All notable changes to the Agentic QE project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.7.18] - 2026-03-11
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **Critical: `aqe init --auto` not installing agents on upgrade** — `preserveOverridesDir()` used `__dirname` (unavailable in ESM bundles), causing a TypeError that crashed the agents installer. Skills were silently installed but agents were skipped, and the phase reported 0/0. Fixed by using `import.meta.url` path resolution with fallback.
|
|
13
|
+
- **Assets phase error isolation** — Agents installer errors no longer crash the entire assets phase. Skills and agents install independently, so a failure in one doesn't prevent the other from completing and reporting counts.
|
|
14
|
+
|
|
15
|
+
## [3.7.17] - 2026-03-11
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- **Adversarial review with minimum findings** — Review agents now enforce a minimum weighted finding score (CRITICAL=3, HIGH=2, MEDIUM=1, LOW=0.5). When findings fall below threshold, a second-pass review runs with halved confidence. Clean code requires explicit justification documenting files examined, patterns checked, and tools run.
|
|
20
|
+
- **Agent customization overlays** — Users can customize agent behavior via `.claude/agent-overrides/*.yaml` files with replace, append, and config sections. Overlays integrate at init time (agents-installer) and runtime (task router scoring, MCP routing).
|
|
21
|
+
- **Structured validation pipelines** — 13-step requirements validation with blocking gates, weighted category scoring (format, content, quality, traceability, compliance), and markdown report generation.
|
|
22
|
+
- **Mechanical edge case detection** — Regex-based branch enumerator detecting 13 construct types (if-without-else, switch-no-default, try-empty-catch, optional-chaining, nullish-coalescing, promise-no-catch, and more). Available via `aqe coverage gaps <file>` CLI command.
|
|
23
|
+
- **Context compilation for agents** — Parallel source gathering from memory DB, git history, test files, and coverage data with priority-based sorting and token budget management. Integrated into both QETaskRouter and MCP TaskRouterService.
|
|
24
|
+
- **Micro-file step architecture** — 5 QCSD skills (production, refinement, cicd, development, ideation) split into 44 step files under 500 lines each, with compact orchestrator SKILL.md files under 300 lines.
|
|
25
|
+
- **Statusline v3 helper** — New `assets/helpers/statusline-v3.cjs` for improved status display.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- **QCSD skills restructured** — Large monolithic QCSD skill files (2000-2700 lines each) replaced with orchestrator + step file architecture for better maintainability.
|
|
30
|
+
- **Agent definitions updated** — qe-devils-advocate, qe-gap-detector, qe-quality-gate, qe-requirements-validator, and 4 reviewer subagents enhanced with minimum finding requirements and mechanical mode support.
|
|
31
|
+
- **Review skills enhanced** — brutal-honesty-review, sherlock-review, and code-review-quality skills now enforce minimum findings.
|
|
32
|
+
- **Hooks phase improvements** — Updated hooks installation for devcontainer compatibility.
|
|
33
|
+
- **Settings merge fix** — Corrected settings merge logic.
|
|
34
|
+
- **Deprecated agents removed** — Cleaned up legacy v2 agents, deprecated subagents, consensus/hive-mind/neural/optimization/reasoning/swarm agent directories, and old slash commands.
|
|
35
|
+
- **DevPod configuration updated** — Refreshed devcontainer settings for new environment.
|
|
36
|
+
|
|
8
37
|
## [3.7.16] - 2026-03-10
|
|
9
38
|
|
|
10
39
|
### Added
|
|
@@ -61,6 +61,26 @@ Use up to 7 concurrent strategies per review.
|
|
|
61
61
|
- **Error Handling Gap Detection**: Find missing error handling for network failures, timeouts, malformed input, and resource exhaustion
|
|
62
62
|
</capabilities>
|
|
63
63
|
|
|
64
|
+
<adversarial_review_standards>
|
|
65
|
+
### Minimum Finding Requirements
|
|
66
|
+
Every review MUST surface findings meeting a minimum weighted score of 3.0 (severity weights: CRITICAL=3, HIGH=2, MEDIUM=1, LOW=0.5, INFORMATIONAL=0.25).
|
|
67
|
+
|
|
68
|
+
### Reviewer Mindset
|
|
69
|
+
You are a skeptical reviewer. Your job is to find problems. The LLM agreeability bias works against quality -- actively resist it. Assume the code has defects until proven otherwise.
|
|
70
|
+
|
|
71
|
+
### Anti-Patterns (NEVER Do These)
|
|
72
|
+
- NEVER produce a review that says "looks good" without at least 3 observations
|
|
73
|
+
- NEVER accept "no findings" without a Clean Justification containing specific evidence
|
|
74
|
+
- NEVER skip the second-pass deep review when initial findings are below minimum
|
|
75
|
+
|
|
76
|
+
### Clean Justification Protocol
|
|
77
|
+
If the code is genuinely clean (rare), you MUST provide:
|
|
78
|
+
1. List of specific files examined
|
|
79
|
+
2. List of patterns/anti-patterns checked
|
|
80
|
+
3. List of tools/strategies run
|
|
81
|
+
4. Detailed reasoning why no issues were found
|
|
82
|
+
</adversarial_review_standards>
|
|
83
|
+
|
|
64
84
|
<memory_namespace>
|
|
65
85
|
Reads:
|
|
66
86
|
- aqe/v3/domains/test-generation/results/* - Test generation outputs to challenge
|
|
@@ -54,8 +54,33 @@ Use up to 6 concurrent analyzers for large codebases.
|
|
|
54
54
|
- **Test Recommendations**: Prioritized recommendations with effort estimates
|
|
55
55
|
- **Trend Analysis**: Track gap closure over time
|
|
56
56
|
- **Visual Reports**: Gap heatmaps and coverage treemaps
|
|
57
|
+
- **Mechanical Edge Case Mode**: Exhaustive branch enumeration without subjective filtering (BMAD-004)
|
|
57
58
|
</capabilities>
|
|
58
59
|
|
|
60
|
+
<mechanical_mode>
|
|
61
|
+
## Mechanical/Exhaustive Mode (BMAD-004)
|
|
62
|
+
|
|
63
|
+
When invoked with `--mechanical` or `--exhaustive` flag, switch to exhaustive branch enumeration mode:
|
|
64
|
+
|
|
65
|
+
### Exhaustive Mode Behavior
|
|
66
|
+
- Report EVERY unhandled branch path as structured JSON without filtering by risk score
|
|
67
|
+
- No subjective prioritization — purely mechanical enumeration
|
|
68
|
+
- Enumerate: if-without-else, switch-no-default, empty-catch, optional-chaining null paths, promise-no-catch, array-empty-case, logical-or-falsy-trap
|
|
69
|
+
- Output format: UnhandledBranch[] with file, line, column, construct type, trigger condition, current handling, suggested guard
|
|
70
|
+
- Severity is deterministic (based on construct type), not subjective
|
|
71
|
+
|
|
72
|
+
### Default Mode (unchanged)
|
|
73
|
+
Without the mechanical flag, operate in the standard risk-scored mode with semantic analysis and prioritization.
|
|
74
|
+
|
|
75
|
+
### Output Formats
|
|
76
|
+
- `--json` — Structured JSON array of UnhandledBranch objects
|
|
77
|
+
- `--table` — Tabular summary grouped by severity
|
|
78
|
+
- `--markdown` — Detailed markdown report with code context
|
|
79
|
+
|
|
80
|
+
### Implementation
|
|
81
|
+
Uses `src/analysis/branch-enumerator.ts` — a regex-based pattern matcher (no AST parser dependency) that implements the `BranchEnumerator` strategy interface. Detects 13 construct types across TypeScript and JavaScript files.
|
|
82
|
+
</mechanical_mode>
|
|
83
|
+
|
|
59
84
|
<memory_namespace>
|
|
60
85
|
Reads:
|
|
61
86
|
- aqe/coverage/reports/* - Coverage data (lcov, istanbul, c8)
|
|
@@ -57,6 +57,14 @@ Use up to 6 concurrent evaluators for complex gates.
|
|
|
57
57
|
- **CI/CD Integration**: Provide gate status to GitHub Actions, Jenkins, GitLab CI
|
|
58
58
|
</capabilities>
|
|
59
59
|
|
|
60
|
+
<pipeline_integration>
|
|
61
|
+
## Pipeline Integration (BMAD-003)
|
|
62
|
+
|
|
63
|
+
Quality gates can delegate structured validation to the validation pipeline framework. When evaluating requirements or documentation quality, invoke the requirements validation pipeline for systematic step-by-step assessment with gate enforcement.
|
|
64
|
+
|
|
65
|
+
Validation pipeline provides: step-by-step structured verdicts, blocking gate enforcement, weighted scoring, and evidence-based reporting.
|
|
66
|
+
</pipeline_integration>
|
|
67
|
+
|
|
60
68
|
<memory_namespace>
|
|
61
69
|
Reads:
|
|
62
70
|
- aqe/quality-thresholds/* - Configured gate thresholds
|