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,185 @@
|
|
|
1
|
+
# Step 7: Store Learnings & Persist State
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
- Step 6 (Report Generation) completed
|
|
5
|
+
- All metrics available from Steps 3-5
|
|
6
|
+
- All flag values from Step 1
|
|
7
|
+
|
|
8
|
+
## Instructions
|
|
9
|
+
|
|
10
|
+
### ENFORCEMENT: ALWAYS RUN THIS STEP
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
+-------------------------------------------------------------+
|
|
14
|
+
| LEARNING PERSISTENCE MUST ALWAYS EXECUTE |
|
|
15
|
+
| |
|
|
16
|
+
| This is NOT optional. It runs on EVERY production scan. |
|
|
17
|
+
| It stores findings for cross-phase feedback loops, |
|
|
18
|
+
| historical DORA tracking, and pattern learning. |
|
|
19
|
+
| |
|
|
20
|
+
| DO NOT skip this step for any reason. |
|
|
21
|
+
| DO NOT treat this as "nice to have". |
|
|
22
|
+
| Enforcement Rule E9 applies. |
|
|
23
|
+
+-------------------------------------------------------------+
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Purpose
|
|
27
|
+
|
|
28
|
+
Store production findings for:
|
|
29
|
+
- Cross-phase feedback loops (Production -> Ideation and Refinement cycles)
|
|
30
|
+
- Historical DORA metric tracking across releases
|
|
31
|
+
- Defect trend analysis and prediction model improvement
|
|
32
|
+
- Incident pattern learning for recurring issue prevention
|
|
33
|
+
|
|
34
|
+
### Auto-Execution Steps (ALL THREE are MANDATORY)
|
|
35
|
+
|
|
36
|
+
**Step 1: Store production findings to memory**
|
|
37
|
+
|
|
38
|
+
You MUST execute this MCP call with actual values from the production analysis:
|
|
39
|
+
|
|
40
|
+
```javascript
|
|
41
|
+
mcp__agentic-qe__memory_store({
|
|
42
|
+
key: `qcsd-production-${releaseId}-${Date.now()}`,
|
|
43
|
+
namespace: "qcsd-production",
|
|
44
|
+
value: {
|
|
45
|
+
releaseId: releaseId,
|
|
46
|
+
releaseName: releaseName,
|
|
47
|
+
recommendation: recommendation,
|
|
48
|
+
metrics: {
|
|
49
|
+
doraScore: doraScore,
|
|
50
|
+
slaCompliance: slaCompliance,
|
|
51
|
+
incidentSeverity: incidentSeverity,
|
|
52
|
+
rcaCompleteness: rcaCompleteness,
|
|
53
|
+
defectTrend: defectTrend,
|
|
54
|
+
defectDensity: defectDensity,
|
|
55
|
+
regressionCount: regressionCount,
|
|
56
|
+
chaosResilience: chaosResilience,
|
|
57
|
+
middlewareHealth: middlewareHealth,
|
|
58
|
+
sapHealth: sapHealth,
|
|
59
|
+
sodCompliance: sodCompliance
|
|
60
|
+
},
|
|
61
|
+
flags: {
|
|
62
|
+
HAS_INFRASTRUCTURE_CHANGE: HAS_INFRASTRUCTURE_CHANGE,
|
|
63
|
+
HAS_PERFORMANCE_SLA: HAS_PERFORMANCE_SLA,
|
|
64
|
+
HAS_REGRESSION_RISK: HAS_REGRESSION_RISK,
|
|
65
|
+
HAS_RECURRING_INCIDENTS: HAS_RECURRING_INCIDENTS,
|
|
66
|
+
HAS_MIDDLEWARE: HAS_MIDDLEWARE,
|
|
67
|
+
HAS_SAP_INTEGRATION: HAS_SAP_INTEGRATION,
|
|
68
|
+
HAS_AUTHORIZATION: HAS_AUTHORIZATION
|
|
69
|
+
},
|
|
70
|
+
agentsInvoked: agentList,
|
|
71
|
+
timestamp: new Date().toISOString()
|
|
72
|
+
}
|
|
73
|
+
})
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
**Step 2: Share learnings with feedback agents**
|
|
77
|
+
|
|
78
|
+
```javascript
|
|
79
|
+
mcp__agentic-qe__memory_share({
|
|
80
|
+
sourceAgentId: "qcsd-production-swarm",
|
|
81
|
+
targetAgentIds: ["qe-learning-coordinator", "qe-transfer-specialist"],
|
|
82
|
+
knowledgeDomain: "production-health-patterns"
|
|
83
|
+
})
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
**Step 3: Save learning persistence record to output folder**
|
|
87
|
+
|
|
88
|
+
Save a JSON record to `${OUTPUT_FOLDER}/09-learning-persistence.json`:
|
|
89
|
+
|
|
90
|
+
```json
|
|
91
|
+
{
|
|
92
|
+
"phase": "QCSD-Production",
|
|
93
|
+
"releaseId": "[release ID]",
|
|
94
|
+
"releaseName": "[release name]",
|
|
95
|
+
"recommendation": "[HEALTHY/DEGRADED/CRITICAL]",
|
|
96
|
+
"memoryKey": "qcsd-production-[releaseId]-[timestamp]",
|
|
97
|
+
"namespace": "qcsd-production",
|
|
98
|
+
"metrics": {
|
|
99
|
+
"doraScore": "[0-1]",
|
|
100
|
+
"slaCompliance": "[0-100]",
|
|
101
|
+
"incidentSeverity": "[P0-P4 or NONE]",
|
|
102
|
+
"rcaCompleteness": "[0-100]",
|
|
103
|
+
"defectTrend": "[declining/stable/increasing]",
|
|
104
|
+
"defectDensity": "[N.NN]",
|
|
105
|
+
"regressionCount": "[N or null]",
|
|
106
|
+
"chaosResilience": "[N or null]",
|
|
107
|
+
"middlewareHealth": "[N or null]",
|
|
108
|
+
"sapHealth": "[N or null]",
|
|
109
|
+
"sodCompliance": "[N or null]"
|
|
110
|
+
},
|
|
111
|
+
"flags": {
|
|
112
|
+
"HAS_INFRASTRUCTURE_CHANGE": "true/false",
|
|
113
|
+
"HAS_PERFORMANCE_SLA": "true/false",
|
|
114
|
+
"HAS_REGRESSION_RISK": "true/false",
|
|
115
|
+
"HAS_RECURRING_INCIDENTS": "true/false",
|
|
116
|
+
"HAS_MIDDLEWARE": "true/false",
|
|
117
|
+
"HAS_SAP_INTEGRATION": "true/false",
|
|
118
|
+
"HAS_AUTHORIZATION": "true/false"
|
|
119
|
+
},
|
|
120
|
+
"agentsInvoked": ["list", "of", "agents"],
|
|
121
|
+
"crossPhaseSignals": {
|
|
122
|
+
"toIdeation": "DORA trends and defect patterns for risk calibration and quality criteria updates",
|
|
123
|
+
"toRefinement": "RCA patterns and escape analysis for test strategy improvement and BDD generation"
|
|
124
|
+
},
|
|
125
|
+
"persistedAt": "[ISO timestamp]"
|
|
126
|
+
}
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Fallback: CLI Memory Commands
|
|
130
|
+
|
|
131
|
+
If MCP memory_store tool is unavailable, use CLI instead (STILL MANDATORY):
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
npx @claude-flow/cli@latest memory store \
|
|
135
|
+
--key "qcsd-production-${RELEASE_ID}-$(date +%s)" \
|
|
136
|
+
--value '{"recommendation":"[VALUE]","doraScore":[N],"slaCompliance":[N],"incidentSeverity":"[P_]","defectTrend":"[VALUE]"}' \
|
|
137
|
+
--namespace qcsd-production
|
|
138
|
+
|
|
139
|
+
npx @claude-flow/cli@latest hooks post-task \
|
|
140
|
+
--task-id "qcsd-production-${RELEASE_ID}" \
|
|
141
|
+
--success true
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Cross-Phase Signal Consumption
|
|
145
|
+
|
|
146
|
+
The Production Swarm both consumes and produces signals:
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
CONSUMES (from CI/CD phase):
|
|
150
|
+
+-- Loop 5 (CI/CD): RELEASE/REMEDIATE/BLOCK decisions
|
|
151
|
+
+-- Loop 6 (Pipeline History): Previous production assessments
|
|
152
|
+
|
|
153
|
+
PRODUCES (for other phases):
|
|
154
|
+
+-- To Ideation Phase (Strategic): DORA trends + defect patterns
|
|
155
|
+
+-- To Refinement Phase (Tactical): RCA patterns + escape analysis
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Validation Before Proceeding
|
|
159
|
+
|
|
160
|
+
```
|
|
161
|
+
+-- Did I execute mcp__agentic-qe__memory_store with actual values?
|
|
162
|
+
+-- Did I execute mcp__agentic-qe__memory_share to propagate learnings?
|
|
163
|
+
+-- Did I save 09-learning-persistence.json to the output folder?
|
|
164
|
+
+-- Does the JSON contain the correct recommendation from Step 5?
|
|
165
|
+
+-- Does the JSON contain actual metrics from Steps 2-4?
|
|
166
|
+
+-- Does the JSON contain actual flag values from Step 1?
|
|
167
|
+
+-- Does the JSON contain crossPhaseSignals with toIdeation and toRefinement?
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
**If ANY validation check fails, DO NOT proceed to Step 8.**
|
|
171
|
+
|
|
172
|
+
## Success Criteria
|
|
173
|
+
- [ ] Memory store executed with actual values
|
|
174
|
+
- [ ] Memory share executed to propagate learnings
|
|
175
|
+
- [ ] 09-learning-persistence.json saved with complete data
|
|
176
|
+
- [ ] Cross-phase signals documented
|
|
177
|
+
|
|
178
|
+
## Output
|
|
179
|
+
Provide to the next step:
|
|
180
|
+
- Confirmation that learnings are persisted
|
|
181
|
+
- Summary of cross-phase signals for feedback agents
|
|
182
|
+
|
|
183
|
+
## Navigation
|
|
184
|
+
- On success: proceed to Step 8 (Feedback Loop Closure) by reading `steps/08-feedback-loop.md`
|
|
185
|
+
- On failure: retry memory persistence before proceeding
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# Step 8: Feedback Loop Closure (Sequential Batch 3)
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
- Step 7 (Learning Persistence) completed
|
|
5
|
+
- All production metrics and reports available
|
|
6
|
+
- Learnings persisted to memory
|
|
7
|
+
|
|
8
|
+
## Instructions
|
|
9
|
+
|
|
10
|
+
### ENFORCEMENT: ALWAYS RUN BOTH AGENTS IN SEQUENCE
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
+-------------------------------------------------------------+
|
|
14
|
+
| BOTH FEEDBACK AGENTS MUST ALWAYS RUN -- SEQUENTIALLY |
|
|
15
|
+
| |
|
|
16
|
+
| This is NOT conditional. It runs on EVERY production scan. |
|
|
17
|
+
| qe-learning-coordinator synthesizes cross-domain learnings. |
|
|
18
|
+
| qe-transfer-specialist transfers knowledge to target phases.|
|
|
19
|
+
| |
|
|
20
|
+
| DO NOT skip either agent for any reason. |
|
|
21
|
+
| DO NOT run only one of the two agents. |
|
|
22
|
+
| Enforcement Rule E8 applies: BOTH agents, ALWAYS. |
|
|
23
|
+
| |
|
|
24
|
+
| CRITICAL DATA DEPENDENCY: |
|
|
25
|
+
| qe-transfer-specialist DEPENDS ON qe-learning-coordinator's |
|
|
26
|
+
| output. They CANNOT run in parallel. |
|
|
27
|
+
+-------------------------------------------------------------+
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### SEQUENTIAL ENFORCEMENT
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
+-------------------------------------------------------------+
|
|
34
|
+
| YOU MUST RUN THESE AGENTS SEQUENTIALLY (NOT IN PARALLEL) |
|
|
35
|
+
| |
|
|
36
|
+
| Step A: Spawn qe-learning-coordinator (ONE Task call) |
|
|
37
|
+
| Step B: WAIT for learning coordinator to complete |
|
|
38
|
+
| Step C: Read 13-feedback-loops.md produced by Step A |
|
|
39
|
+
| Step D: Spawn qe-transfer-specialist (ONE Task call) |
|
|
40
|
+
| with learning coordinator's output as input |
|
|
41
|
+
| Step E: WAIT for transfer specialist to complete |
|
|
42
|
+
| |
|
|
43
|
+
| qe-transfer-specialist DEPENDS on qe-learning-coordinator's |
|
|
44
|
+
| saved output. Running them in parallel produces garbage. |
|
|
45
|
+
+-------------------------------------------------------------+
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Agent 1: Learning Coordinator
|
|
49
|
+
|
|
50
|
+
Spawn qe-learning-coordinator to synthesize all production findings into cross-domain learnings. This agent must:
|
|
51
|
+
|
|
52
|
+
1. Create a Learning Synthesis Matrix from ALL agents that ran
|
|
53
|
+
2. Consolidate cross-domain patterns
|
|
54
|
+
3. Produce Strategic Feedback signals for Ideation phase (DORA trends, defect patterns, SLA data, escape analysis)
|
|
55
|
+
4. Produce Tactical Feedback signals for Refinement phase (RCA patterns, escape analysis, hotspot data, regression patterns)
|
|
56
|
+
5. Calculate a Learning Quality Score (0-100)
|
|
57
|
+
|
|
58
|
+
Save output to: `${OUTPUT_FOLDER}/13-feedback-loops.md`
|
|
59
|
+
|
|
60
|
+
**WAIT for this agent to complete before spawning the transfer specialist.**
|
|
61
|
+
|
|
62
|
+
### Wait for Learning Coordinator
|
|
63
|
+
|
|
64
|
+
When the learning coordinator returns:
|
|
65
|
+
1. Use the Read tool to read `${OUTPUT_FOLDER}/13-feedback-loops.md`
|
|
66
|
+
2. Extract the Learning Synthesis Matrix
|
|
67
|
+
3. Extract the Strategic Feedback signals
|
|
68
|
+
4. Extract the Tactical Feedback signals
|
|
69
|
+
5. THEN spawn qe-transfer-specialist with this data
|
|
70
|
+
|
|
71
|
+
### Agent 2: Transfer Specialist
|
|
72
|
+
|
|
73
|
+
**PREREQUISITE: qe-learning-coordinator MUST have completed and saved 13-feedback-loops.md.**
|
|
74
|
+
|
|
75
|
+
Spawn qe-transfer-specialist to transfer synthesized production learnings to target QCSD phases. This agent must:
|
|
76
|
+
|
|
77
|
+
1. Create a Knowledge Transfer Plan mapping learnings to target agents
|
|
78
|
+
2. Map transfers to specific target agents in Ideation and Refinement
|
|
79
|
+
3. Verify transfer status
|
|
80
|
+
4. Assess feedback loop closure for all loops
|
|
81
|
+
5. Provide continuous improvement recommendations
|
|
82
|
+
|
|
83
|
+
Append output to: `${OUTPUT_FOLDER}/13-feedback-loops.md`
|
|
84
|
+
|
|
85
|
+
### Post-Completion Confirmation
|
|
86
|
+
|
|
87
|
+
After BOTH agents have completed sequentially:
|
|
88
|
+
|
|
89
|
+
```
|
|
90
|
+
Feedback loop closure complete (sequential execution):
|
|
91
|
+
|
|
92
|
+
Step A: qe-learning-coordinator [Domain: learning-optimization] - COMPLETE
|
|
93
|
+
- Synthesized cross-domain learnings from all production agents
|
|
94
|
+
- Produced strategic feedback for Ideation phase
|
|
95
|
+
- Produced tactical feedback for Refinement phase
|
|
96
|
+
- Saved output to: 13-feedback-loops.md
|
|
97
|
+
|
|
98
|
+
Step B: qe-transfer-specialist [Domain: learning-optimization] - COMPLETE
|
|
99
|
+
- Created knowledge transfer plan to target agents
|
|
100
|
+
- Verified feedback loop closure status
|
|
101
|
+
- Mapped learnings to specific behavioral changes
|
|
102
|
+
- Appended output to: 13-feedback-loops.md
|
|
103
|
+
|
|
104
|
+
PROCEEDING to Step 9 (Final Output)...
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## Success Criteria
|
|
108
|
+
- [ ] qe-learning-coordinator spawned, completed, and saved 13-feedback-loops.md
|
|
109
|
+
- [ ] Learning coordinator output read before spawning transfer specialist
|
|
110
|
+
- [ ] qe-transfer-specialist spawned with learning coordinator data, completed
|
|
111
|
+
- [ ] Feedback loop closure status documented
|
|
112
|
+
- [ ] Both agents ran SEQUENTIALLY (not in parallel)
|
|
113
|
+
|
|
114
|
+
## Output
|
|
115
|
+
Provide to the next step:
|
|
116
|
+
- Learning quality score
|
|
117
|
+
- Feedback loops closed count
|
|
118
|
+
- Transfer completion percentage
|
|
119
|
+
|
|
120
|
+
## Navigation
|
|
121
|
+
- On success: proceed to Step 9 (Final Output) by reading `steps/09-final-output.md`
|
|
122
|
+
- On failure: if either agent failed, retry that agent before proceeding
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
# Step 9: Final Output & Completion Summary
|
|
2
|
+
|
|
3
|
+
## Prerequisites
|
|
4
|
+
- All previous steps (1-8) completed
|
|
5
|
+
- All reports saved to OUTPUT_FOLDER
|
|
6
|
+
- FINAL RECOMMENDATION determined
|
|
7
|
+
- Feedback loops closed
|
|
8
|
+
|
|
9
|
+
## Instructions
|
|
10
|
+
|
|
11
|
+
**At the very end of swarm execution, ALWAYS output this completion summary:**
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
+---------------------------------------------------------------------+
|
|
15
|
+
| QCSD PRODUCTION SWARM COMPLETE |
|
|
16
|
+
+---------------------------------------------------------------------+
|
|
17
|
+
| |
|
|
18
|
+
| Release Assessed: [Release Name/ID] |
|
|
19
|
+
| Reports Generated: [count] |
|
|
20
|
+
| Output Folder: ${OUTPUT_FOLDER} |
|
|
21
|
+
| |
|
|
22
|
+
| PRODUCTION HEALTH SCORES: |
|
|
23
|
+
| +-- DORA Score: __.__ (Elite/High/Med/Low) |
|
|
24
|
+
| +-- SLA Compliance: __% |
|
|
25
|
+
| +-- Incident Severity: P_/NONE |
|
|
26
|
+
| +-- Defect Trend: declining/stable/increasing |
|
|
27
|
+
| +-- RCA Completeness: __% |
|
|
28
|
+
| +-- Defect Density: __.__ per KLOC |
|
|
29
|
+
| +-- Learning Quality: __/100 |
|
|
30
|
+
| [IF HAS_INFRASTRUCTURE_CHANGE] |
|
|
31
|
+
| +-- Chaos Resilience: __/100 |
|
|
32
|
+
| [IF HAS_PERFORMANCE_SLA] |
|
|
33
|
+
| +-- Performance SLA: __/100 |
|
|
34
|
+
| [IF HAS_REGRESSION_RISK] |
|
|
35
|
+
| +-- Regression Score: __/100 |
|
|
36
|
+
| [IF HAS_RECURRING_INCIDENTS] |
|
|
37
|
+
| +-- Recurring Patterns: __ identified |
|
|
38
|
+
| [IF HAS_MIDDLEWARE] |
|
|
39
|
+
| +-- Middleware Health: __/100 |
|
|
40
|
+
| [IF HAS_SAP_INTEGRATION] |
|
|
41
|
+
| +-- SAP Health: __/100 |
|
|
42
|
+
| [IF HAS_AUTHORIZATION] |
|
|
43
|
+
| +-- SoD Compliance: __/100 |
|
|
44
|
+
| |
|
|
45
|
+
| FEEDBACK LOOPS: |
|
|
46
|
+
| +-- To Ideation: [X signals transferred] |
|
|
47
|
+
| +-- To Refinement: [X signals transferred] |
|
|
48
|
+
| +-- Loop Closure: X/Y closed |
|
|
49
|
+
| |
|
|
50
|
+
| RECOMMENDATION: [HEALTHY / DEGRADED / CRITICAL] |
|
|
51
|
+
| REASON: [1-2 sentence rationale] |
|
|
52
|
+
| |
|
|
53
|
+
| DELIVERABLES: |
|
|
54
|
+
| +-- 01-executive-summary.md |
|
|
55
|
+
| +-- 02-dora-metrics.md |
|
|
56
|
+
| +-- 03-defect-prediction.md |
|
|
57
|
+
| +-- 04-root-cause-analysis.md |
|
|
58
|
+
| [IF HAS_INFRASTRUCTURE_CHANGE] |
|
|
59
|
+
| +-- 05-chaos-resilience.md |
|
|
60
|
+
| [IF HAS_PERFORMANCE_SLA] |
|
|
61
|
+
| +-- 06-performance-sla.md |
|
|
62
|
+
| [IF HAS_REGRESSION_RISK] |
|
|
63
|
+
| +-- 07-regression-analysis.md |
|
|
64
|
+
| [IF HAS_RECURRING_INCIDENTS] |
|
|
65
|
+
| +-- 08-pattern-analysis.md |
|
|
66
|
+
| +-- 09-learning-persistence.json |
|
|
67
|
+
| [IF HAS_MIDDLEWARE] |
|
|
68
|
+
| +-- 10-middleware-health.md |
|
|
69
|
+
| [IF HAS_SAP_INTEGRATION] |
|
|
70
|
+
| +-- 11-sap-health.md |
|
|
71
|
+
| [IF HAS_AUTHORIZATION] |
|
|
72
|
+
| +-- 12-sod-compliance.md |
|
|
73
|
+
| +-- 13-feedback-loops.md |
|
|
74
|
+
| |
|
|
75
|
+
+---------------------------------------------------------------------+
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**IF recommendation is CRITICAL, ALSO output this prominent action box:**
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
+---------------------------------------------------------------------+
|
|
82
|
+
| ACTION REQUIRED: PRODUCTION CRITICAL - IMMEDIATE ATTENTION |
|
|
83
|
+
+---------------------------------------------------------------------+
|
|
84
|
+
| |
|
|
85
|
+
| The following critical issues MUST be resolved immediately: |
|
|
86
|
+
| |
|
|
87
|
+
| 1. [Critical issue 1 with specific remediation] |
|
|
88
|
+
| 2. [Critical issue 2 with specific remediation] |
|
|
89
|
+
| 3. [Critical issue 3 with specific remediation] |
|
|
90
|
+
| |
|
|
91
|
+
| NEXT STEPS: |
|
|
92
|
+
| - Activate incident response for all P0/P1 incidents |
|
|
93
|
+
| - Address all critical issues listed above |
|
|
94
|
+
| - Consider rollback if production stability cannot be restored |
|
|
95
|
+
| - Re-run /qcsd-production-swarm after stabilization |
|
|
96
|
+
| - Target: DORA >= 0.7, SLA >= 99%, no P0/P1, density <= 2.0 |
|
|
97
|
+
| |
|
|
98
|
+
+---------------------------------------------------------------------+
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
**IF recommendation is DEGRADED, output this guidance box:**
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
+---------------------------------------------------------------------+
|
|
105
|
+
| DEGRADED: PRODUCTION NEEDS ATTENTION |
|
|
106
|
+
+---------------------------------------------------------------------+
|
|
107
|
+
| |
|
|
108
|
+
| The production environment is functional but requires improvement: |
|
|
109
|
+
| |
|
|
110
|
+
| 1. [Improvement 1 - must be addressed this sprint] |
|
|
111
|
+
| 2. [Improvement 2 - must be addressed next sprint] |
|
|
112
|
+
| |
|
|
113
|
+
| MONITORING STRATEGY: |
|
|
114
|
+
| - Increase monitoring frequency for [specific metrics] |
|
|
115
|
+
| - Set tighter alert thresholds for [conditions] |
|
|
116
|
+
| - Schedule follow-up production assessment in [timeframe] |
|
|
117
|
+
| |
|
|
118
|
+
| FEEDBACK LOOP ACTIONS: |
|
|
119
|
+
| - Ideation: Update risk criteria based on production learnings |
|
|
120
|
+
| - Refinement: Add BDD scenarios for escaped defect patterns |
|
|
121
|
+
| - Development: Increase test coverage for identified hotspots |
|
|
122
|
+
| |
|
|
123
|
+
+---------------------------------------------------------------------+
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
**DO NOT end the swarm without displaying the completion summary.**
|
|
127
|
+
|
|
128
|
+
## Success Criteria
|
|
129
|
+
- [ ] Completion summary displayed with all metrics filled
|
|
130
|
+
- [ ] Recommendation-specific action box shown (CRITICAL or DEGRADED)
|
|
131
|
+
- [ ] All deliverable files listed
|
|
132
|
+
- [ ] Feedback loop status reported
|
|
133
|
+
|
|
134
|
+
## Output
|
|
135
|
+
This is the final step. The swarm execution is complete.
|
|
136
|
+
|
|
137
|
+
## Navigation
|
|
138
|
+
- This is the terminal step. No further steps.
|
|
139
|
+
- To re-run: invoke `/qcsd-production-swarm` again
|
|
140
|
+
- To resume from a specific step: use `--from-step N`
|