@dzhechkov/keysarium 1.7.15 → 1.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/.dz-manifest.json +213 -53
- package/README.md +29 -6
- package/README.ru.md +17 -0
- package/package.json +3 -3
- package/sbom.json +454 -54
- package/src/cli.js +32 -2
- package/src/commands/doctor.js +25 -1
- package/src/commands/init.js +46 -12
- package/src/utils.js +1 -0
- package/templates/.agents/skills/casarium/SKILL.md +29 -0
- package/templates/.claude/agents/code-goal-planner.md +9 -0
- package/templates/.claude/commands/casarium.md +3 -1
- package/templates/.claude/commands/cjm-prototype.md +2 -2
- package/templates/.claude/commands/research.md +4 -1
- package/templates/.claude/rules/checkpoint-protocol.md +2 -1
- package/templates/.claude/rules/research-quality.md +11 -6
- package/templates/.claude/shards/phase-2-research.shard.md +12 -8
- package/templates/.claude/shards/phase-25-cjm.shard.md +5 -3
- package/templates/.claude/skills/feature-adr/SKILL.md +17 -15
- package/templates/.claude/skills/feature-adr/modules/03-adr.md +1 -1
- package/templates/.claude/skills/feature-adr/modules/03.5-ideation-swarm.md +1 -1
- package/templates/.claude/skills/feature-adr/modules/06-implementation-plan.md +2 -2
- package/templates/.claude/skills/feature-adr/modules/08-qe.md +1 -1
- package/templates/.claude/skills/feature-adr/modules/09-fleet-qe.md +12 -12
- package/templates/.claude/skills/feature-adr/references/agentic-qe/LICENSE.agentic-qe +21 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/README.md +20 -16
- package/templates/.claude/skills/feature-adr/references/agentic-qe/UPSTREAM-MANIFEST.json +246 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-brutal-honesty-review/README.md +218 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/{brutal-honesty-review.md → qe-ref-brutal-honesty-review/REFERENCE.md} +14 -1
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-brutal-honesty-review/resources/assessment-rubrics.md +295 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-brutal-honesty-review/resources/review-template.md +102 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-brutal-honesty-review/schemas/output.json +291 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-brutal-honesty-review/scripts/assess-code.sh +179 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-brutal-honesty-review/scripts/assess-tests.sh +223 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-brutal-honesty-review/scripts/validate-config.json +34 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-enterprise-integration-testing/REFERENCE.md +758 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-enterprise-integration-testing/evals/enterprise-integration-testing.yaml +158 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-enterprise-integration-testing/schemas/output.json +74 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-enterprise-integration-testing/scripts/validate-config.json +25 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qcsd-ideation-swarm/REFERENCE.md +226 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qcsd-ideation-swarm/evals/qcsd-ideation-swarm.yaml +138 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qcsd-ideation-swarm/schemas/output.json +568 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qcsd-ideation-swarm/scripts/validate-config.json +25 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qcsd-ideation-swarm/steps/01-flag-detection.md +57 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qcsd-ideation-swarm/steps/02-core-agents.md +29 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qcsd-ideation-swarm/steps/03-batch1-results.md +15 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qcsd-ideation-swarm/steps/04-conditional-agents.md +23 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qcsd-ideation-swarm/steps/05-decision-synthesis.md +29 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qcsd-ideation-swarm/steps/06-report-generation.md +18 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qcsd-ideation-swarm/steps/07-learning-persistence.md +29 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qcsd-ideation-swarm/steps/08-final-output.md +18 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/{qe-coverage-analysis.md → qe-ref-qe-coverage-analysis/REFERENCE.md} +42 -3
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qe-coverage-analysis/evals/qe-coverage-analysis.yaml +494 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qe-coverage-analysis/schemas/output.json +286 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qe-coverage-analysis/scripts/validate-config.json +42 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/{qe-requirements-validation.md → qe-ref-qe-requirements-validation/REFERENCE.md} +13 -3
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qe-requirements-validation/evals/qe-requirements-validation.yaml +598 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qe-requirements-validation/schemas/output.json +587 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-qe-requirements-validation/scripts/validate-config.json +37 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/{regression-testing.md → qe-ref-regression-testing/REFERENCE.md} +30 -49
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-regression-testing/evals/regression-testing.yaml +504 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-regression-testing/schemas/output.json +311 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-regression-testing/scripts/validate-config.json +50 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/{risk-based-testing.md → qe-ref-risk-based-testing/REFERENCE.md} +23 -52
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-risk-based-testing/evals/risk-based-testing.yaml +141 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-risk-based-testing/schemas/output.json +480 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-risk-based-testing/scripts/validate-config.json +25 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/{shift-left-testing.md → qe-ref-shift-left-testing/REFERENCE.md} +33 -88
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-shift-left-testing/evals/shift-left-testing.yaml +145 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-shift-left-testing/schemas/output.json +459 -0
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qe-ref-shift-left-testing/scripts/validate-config.json +25 -0
- package/templates/CLAUDE.md +3 -1
- package/templates/docs/feature-adr/04-admin-guide.md +1 -1
- package/templates/docs/improvement-directions.md +3 -3
- package/templates/docs/keysarium/02-admin-guide.md +2 -2
- package/templates/docs/keysarium/03-user-guide.md +3 -3
- package/templates/docs/keysarium/05-architecture.md +9 -8
- package/templates/docs/keysarium/06-user-flows.md +4 -4
- package/templates/lib/platform-templates/copilot.md +1 -1
- package/templates/lib/platform-templates/opencode.md +1 -1
- package/templates/.claude/skills/feature-adr/references/agentic-qe/enterprise-integration-testing.md +0 -111
- package/templates/.claude/skills/feature-adr/references/agentic-qe/qcsd-ideation-swarm.md +0 -126
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
skill: enterprise-integration-testing
|
|
2
|
+
version: 1.0.0
|
|
3
|
+
description: >
|
|
4
|
+
Evaluation suite for enterprise integration testing orchestration.
|
|
5
|
+
Tests SAP-specific patterns (RFC, BAPI, IDoc, OData, Fiori), cross-system
|
|
6
|
+
data validation, middleware testing, and enterprise quality gates.
|
|
7
|
+
|
|
8
|
+
models_to_test:
|
|
9
|
+
- claude-sonnet-4-6 # Primary (high accuracy expected)
|
|
10
|
+
- claude-haiku-4-5 # Fast model (minimum quality floor)
|
|
11
|
+
|
|
12
|
+
mcp_integration:
|
|
13
|
+
enabled: true
|
|
14
|
+
namespace: skill-validation
|
|
15
|
+
query_patterns: true
|
|
16
|
+
track_outcomes: true
|
|
17
|
+
store_patterns: true
|
|
18
|
+
target_agents:
|
|
19
|
+
- qe-learning-coordinator
|
|
20
|
+
- qe-queen-coordinator
|
|
21
|
+
|
|
22
|
+
learning:
|
|
23
|
+
store_success_patterns: true
|
|
24
|
+
pattern_ttl_days: 90
|
|
25
|
+
|
|
26
|
+
result_format:
|
|
27
|
+
json_output: true
|
|
28
|
+
include_timing: true
|
|
29
|
+
include_token_usage: true
|
|
30
|
+
|
|
31
|
+
setup:
|
|
32
|
+
required_tools:
|
|
33
|
+
- jq
|
|
34
|
+
|
|
35
|
+
test_cases:
|
|
36
|
+
|
|
37
|
+
- id: tc001_sap_rfc_testing
|
|
38
|
+
description: "Generate SAP RFC/BAPI integration test strategy"
|
|
39
|
+
category: sap
|
|
40
|
+
priority: critical
|
|
41
|
+
|
|
42
|
+
input:
|
|
43
|
+
prompt: |
|
|
44
|
+
Generate test strategy for SAP RFC integration that processes
|
|
45
|
+
purchase orders via BAPI_PO_CREATE1 and validates material
|
|
46
|
+
availability through BAPI_MATERIAL_AVAILABILITY.
|
|
47
|
+
context:
|
|
48
|
+
language: typescript
|
|
49
|
+
framework: sap-integration
|
|
50
|
+
|
|
51
|
+
expected_output:
|
|
52
|
+
must_contain:
|
|
53
|
+
- "RFC"
|
|
54
|
+
- "BAPI"
|
|
55
|
+
- "purchase order"
|
|
56
|
+
- "test"
|
|
57
|
+
|
|
58
|
+
validation:
|
|
59
|
+
schema_check: true
|
|
60
|
+
keyword_match_threshold: 0.8
|
|
61
|
+
|
|
62
|
+
- id: tc002_idoc_message_testing
|
|
63
|
+
description: "Generate IDoc message flow test strategy"
|
|
64
|
+
category: sap
|
|
65
|
+
priority: critical
|
|
66
|
+
|
|
67
|
+
input:
|
|
68
|
+
prompt: |
|
|
69
|
+
Create test strategy for IDoc-based order-to-cash flow:
|
|
70
|
+
ORDERS05 IDoc from e-commerce to SAP, DESADV IDoc for shipping,
|
|
71
|
+
INVOIC02 IDoc for billing.
|
|
72
|
+
context:
|
|
73
|
+
language: typescript
|
|
74
|
+
|
|
75
|
+
expected_output:
|
|
76
|
+
must_contain:
|
|
77
|
+
- "IDoc"
|
|
78
|
+
- "message"
|
|
79
|
+
- "validation"
|
|
80
|
+
|
|
81
|
+
validation:
|
|
82
|
+
schema_check: true
|
|
83
|
+
|
|
84
|
+
- id: tc003_odata_contract_testing
|
|
85
|
+
description: "Generate OData service contract tests"
|
|
86
|
+
category: odata
|
|
87
|
+
priority: high
|
|
88
|
+
|
|
89
|
+
input:
|
|
90
|
+
prompt: |
|
|
91
|
+
Create contract tests for SAP OData service /sap/opu/odata/sap/API_SALES_ORDER_SRV
|
|
92
|
+
that validates entity sets, navigation properties, and filter operations.
|
|
93
|
+
context:
|
|
94
|
+
language: typescript
|
|
95
|
+
|
|
96
|
+
expected_output:
|
|
97
|
+
must_contain:
|
|
98
|
+
- "OData"
|
|
99
|
+
- "contract"
|
|
100
|
+
- "entity"
|
|
101
|
+
|
|
102
|
+
validation:
|
|
103
|
+
schema_check: true
|
|
104
|
+
|
|
105
|
+
- id: tc004_cross_system_validation
|
|
106
|
+
description: "Generate cross-system data consistency tests"
|
|
107
|
+
category: cross-system
|
|
108
|
+
priority: high
|
|
109
|
+
|
|
110
|
+
input:
|
|
111
|
+
prompt: |
|
|
112
|
+
Generate tests to validate data consistency between SAP ERP,
|
|
113
|
+
Salesforce CRM, and PostgreSQL data warehouse for customer master data.
|
|
114
|
+
context:
|
|
115
|
+
framework: enterprise
|
|
116
|
+
|
|
117
|
+
expected_output:
|
|
118
|
+
must_contain:
|
|
119
|
+
- "consistency"
|
|
120
|
+
- "validation"
|
|
121
|
+
- "data"
|
|
122
|
+
|
|
123
|
+
validation:
|
|
124
|
+
schema_check: true
|
|
125
|
+
|
|
126
|
+
- id: tc005_enterprise_quality_gate
|
|
127
|
+
description: "Enforce enterprise integration quality gates"
|
|
128
|
+
category: quality-gate
|
|
129
|
+
priority: high
|
|
130
|
+
|
|
131
|
+
input:
|
|
132
|
+
metrics:
|
|
133
|
+
idoc_success_rate: 98.5
|
|
134
|
+
rfc_latency_p99_ms: 2500
|
|
135
|
+
data_consistency: 99.2
|
|
136
|
+
error_handling_coverage: 85
|
|
137
|
+
|
|
138
|
+
expected_output:
|
|
139
|
+
must_contain:
|
|
140
|
+
- "quality"
|
|
141
|
+
- "gate"
|
|
142
|
+
|
|
143
|
+
validation:
|
|
144
|
+
schema_check: true
|
|
145
|
+
|
|
146
|
+
success_criteria:
|
|
147
|
+
pass_rate: 0.9
|
|
148
|
+
critical_pass_rate: 1.0
|
|
149
|
+
avg_reasoning_quality: 0.75
|
|
150
|
+
max_execution_time_ms: 300000
|
|
151
|
+
|
|
152
|
+
metadata:
|
|
153
|
+
author: "qe-enterprise-orchestrator"
|
|
154
|
+
created: "2026-03-05"
|
|
155
|
+
coverage_target: >
|
|
156
|
+
Enterprise integration testing with 5 test cases covering SAP RFC/BAPI,
|
|
157
|
+
IDoc message flows, OData contract testing, cross-system validation,
|
|
158
|
+
and enterprise quality gates.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://agentic-qe.dev/schemas/enterprise-integration-testing-output.json",
|
|
4
|
+
"title": "Enterprise Integration Testing Output Schema",
|
|
5
|
+
"description": "Schema for enterprise integration testing output. Covers SAP, middleware, WMS, and cross-system validation.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["skillName", "version", "timestamp", "status", "trustTier", "output"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"skillName": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "enterprise-integration-testing"
|
|
12
|
+
},
|
|
13
|
+
"version": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+(-[a-zA-Z0-9]+)?$"
|
|
16
|
+
},
|
|
17
|
+
"timestamp": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "date-time"
|
|
20
|
+
},
|
|
21
|
+
"status": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": ["success", "partial", "failed", "skipped"]
|
|
24
|
+
},
|
|
25
|
+
"trustTier": {
|
|
26
|
+
"type": "integer",
|
|
27
|
+
"const": 3
|
|
28
|
+
},
|
|
29
|
+
"output": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"required": ["summary", "testStrategy", "systemsCovered"],
|
|
32
|
+
"properties": {
|
|
33
|
+
"summary": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"minLength": 100
|
|
36
|
+
},
|
|
37
|
+
"testStrategy": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"approach": { "type": "string" },
|
|
41
|
+
"testLayers": { "type": "array", "items": { "type": "string" } },
|
|
42
|
+
"integrationPoints": { "type": "array", "items": { "type": "string" } }
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"systemsCovered": {
|
|
46
|
+
"type": "array",
|
|
47
|
+
"items": { "type": "string" }
|
|
48
|
+
},
|
|
49
|
+
"sapTesting": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"rfcTests": { "type": "array", "items": { "type": "object" } },
|
|
53
|
+
"idocTests": { "type": "array", "items": { "type": "object" } },
|
|
54
|
+
"odataTests": { "type": "array", "items": { "type": "object" } }
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"crossSystemValidation": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"consistencyChecks": { "type": "array", "items": { "type": "string" } },
|
|
61
|
+
"dataFlowTests": { "type": "array", "items": { "type": "string" } }
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"qualityGates": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"properties": {
|
|
67
|
+
"passed": { "type": "boolean" },
|
|
68
|
+
"gates": { "type": "array", "items": { "type": "object" } }
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skillName": "enterprise-integration-testing",
|
|
3
|
+
"skillVersion": "1.0.0",
|
|
4
|
+
"requiredTools": [
|
|
5
|
+
"jq"
|
|
6
|
+
],
|
|
7
|
+
"optionalTools": [],
|
|
8
|
+
"schemaPath": "schemas/output.json",
|
|
9
|
+
"requiredFields": [
|
|
10
|
+
"skillName",
|
|
11
|
+
"status",
|
|
12
|
+
"output"
|
|
13
|
+
],
|
|
14
|
+
"requiredNonEmptyFields": [],
|
|
15
|
+
"mustContainTerms": [],
|
|
16
|
+
"mustNotContainTerms": [],
|
|
17
|
+
"enumValidations": {
|
|
18
|
+
".status": [
|
|
19
|
+
"success",
|
|
20
|
+
"partial",
|
|
21
|
+
"failed",
|
|
22
|
+
"skipped"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qcsd-ideation-swarm
|
|
3
|
+
description: "Use when running Quality Criteria sessions during PI/Sprint planning with HTSM v6.3, Risk Storming, or Testability analysis in the QCSD Ideation phase."
|
|
4
|
+
category: qcsd-phases
|
|
5
|
+
priority: critical
|
|
6
|
+
version: 7.5.1
|
|
7
|
+
tokenEstimate: 3500
|
|
8
|
+
# DDD Domain Mapping (from QCSD-AGENTIC-QE-MAPPING-FRAMEWORK.md)
|
|
9
|
+
domains:
|
|
10
|
+
primary:
|
|
11
|
+
- domain: requirements-validation
|
|
12
|
+
agents: [qe-quality-criteria-recommender, qe-requirements-validator]
|
|
13
|
+
- domain: coverage-analysis
|
|
14
|
+
agents: [qe-risk-assessor]
|
|
15
|
+
conditional:
|
|
16
|
+
- domain: security-compliance
|
|
17
|
+
agents: [qe-security-auditor]
|
|
18
|
+
- domain: visual-accessibility
|
|
19
|
+
agents: [qe-accessibility-auditor]
|
|
20
|
+
- domain: cross-domain
|
|
21
|
+
agents: [qe-qx-partner]
|
|
22
|
+
- domain: enterprise-integration
|
|
23
|
+
agents: [qe-middleware-validator, qe-sap-rfc-tester, qe-sod-analyzer]
|
|
24
|
+
# Agent Inventory
|
|
25
|
+
agents:
|
|
26
|
+
core: [qe-quality-criteria-recommender, qe-risk-assessor, qe-requirements-validator]
|
|
27
|
+
conditional: [qe-accessibility-auditor, qe-security-auditor, qe-qx-partner, qe-middleware-validator, qe-sap-rfc-tester, qe-sod-analyzer]
|
|
28
|
+
total: 9
|
|
29
|
+
sub_agents: 0
|
|
30
|
+
skills: [testability-scoring, risk-based-testing, context-driven-testing, holistic-testing-pact]
|
|
31
|
+
# Execution Models (Task Tool is PRIMARY)
|
|
32
|
+
execution:
|
|
33
|
+
primary: task-tool
|
|
34
|
+
alternatives: [mcp-tools, cli]
|
|
35
|
+
swarm_pattern: true
|
|
36
|
+
parallel_batches: 2
|
|
37
|
+
last_updated: 2026-01-28
|
|
38
|
+
# v7.5.1 Changelog: Added prominent follow-up recommendation box at end of swarm execution (Phase URL-9)
|
|
39
|
+
# v7.5.0 Changelog: Added HAS_VIDEO flag detection with /a11y-ally follow-up recommendation for video caption generation
|
|
40
|
+
# v7.4.0 Changelog: Automated browser cascade via scripts/fetch-content.js with 30s per-tier timeouts
|
|
41
|
+
# v7.2.0 Changelog: Added 5-tier browser cascade (Vibium -> agent-browser -> Playwright+Stealth -> WebFetch -> WebSearch)
|
|
42
|
+
html_output: true
|
|
43
|
+
enforcement_level: strict
|
|
44
|
+
tags: [qcsd, ideation, htsm, quality-criteria, risk-storming, testability, swarm, parallel, ddd]
|
|
45
|
+
trust_tier: 3
|
|
46
|
+
validation:
|
|
47
|
+
schema_path: schemas/output.json
|
|
48
|
+
validator_path: scripts/validate-config.json
|
|
49
|
+
eval_path: evals/qcsd-ideation-swarm.yaml
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
<!-- Vendored from https://github.com/proffesor-for-testing/agentic-qe at 0a6de058575cbe292afe220df105cc74120f7674 (MIT, Copyright (c) 2025 Agentic QE Contributors), 2026-10-23. Bundled references do not install aqe, MCP tools, pattern memory, or fleet runtime. See ../LICENSE.agentic-qe and ../README.md. -->
|
|
53
|
+
|
|
54
|
+
## Keysarium execution adapter
|
|
55
|
+
|
|
56
|
+
This pinned upstream body is methodology inside the bundled feature-ADR pipeline. In Reference Mode, the feature-ADR module that loaded this file owns orchestration and checkpoints. Use the reasoning and output shape below with the host's available tools. Do not treat upstream `aqe` CLI/MCP calls, named agent roles, browser tools, or example absolute paths as installed capabilities. Name a missing capability or evidence in the checkpoint instead of reporting that an upstream step ran. The schemas and eval files are bundled for explicit validation; bundling them does not run those checks automatically.
|
|
57
|
+
|
|
58
|
+
Relative paths such as `schemas/output.json`, `evals/...` and `steps/...` resolve from this skill directory under `references/agentic-qe/`. When Direct Mode has a separately installed `aqe` runtime, follow the feature-ADR module's direct-mode branch and verify that each required runtime capability is actually available.
|
|
59
|
+
|
|
60
|
+
For QCSD Reference Mode specifically, `modules/03.5-ideation-swarm.md` controls the agent roles, conditional perspectives and GO/NO-GO checkpoint. Do not launch the upstream eight-step workflow from its hard-coded `.claude/skills/qcsd-ideation-swarm/` path. Its Step 7 `aqe memory store` is unavailable without aqe; record that limitation and use only the feature-ADR learning path when its own prerequisites are met. Never mark upstream E1–E8 or learning persistence complete from a reference read alone.
|
|
61
|
+
|
|
62
|
+
<!-- BEGIN AGENTIC-QE UPSTREAM BODY -->
|
|
63
|
+
|
|
64
|
+
# QCSD Ideation Swarm v7.0
|
|
65
|
+
|
|
66
|
+
Shift-left quality engineering swarm for PI Planning and Sprint Planning.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Overview
|
|
71
|
+
|
|
72
|
+
The Ideation Swarm assesses stories and URLs before development begins, using HTSM v6.3
|
|
73
|
+
quality criteria, Risk Storming, and Testability analysis. It renders a
|
|
74
|
+
GO / CONDITIONAL / NO-GO decision and is the first gate in the QCSD lifecycle.
|
|
75
|
+
|
|
76
|
+
### QCSD Phase Positioning
|
|
77
|
+
|
|
78
|
+
| Phase | Swarm | Decision | When |
|
|
79
|
+
|-------|-------|----------|------|
|
|
80
|
+
| **Ideation** | **qcsd-ideation-swarm** | **GO / CONDITIONAL / NO-GO** | **PI/Sprint Planning** |
|
|
81
|
+
| Refinement | qcsd-refinement-swarm | READY / CONDITIONAL / NOT-READY | Sprint Refinement |
|
|
82
|
+
| Development | qcsd-development-swarm | SHIP / CONDITIONAL / HOLD | During Sprint |
|
|
83
|
+
| Verification | qcsd-cicd-swarm | RELEASE / REMEDIATE / BLOCK | Pre-Release / CI-CD |
|
|
84
|
+
| Production | qcsd-production-swarm | HEALTHY / DEGRADED / CRITICAL | Post-Release |
|
|
85
|
+
|
|
86
|
+
### Parameters
|
|
87
|
+
|
|
88
|
+
- `URL`: Website to analyze (required for URL mode)
|
|
89
|
+
- `OUTPUT_FOLDER`: Where to save reports (default: `${PROJECT_ROOT}/Agentic QCSD/{domain}/`)
|
|
90
|
+
|
|
91
|
+
### Unique Features
|
|
92
|
+
|
|
93
|
+
- **URL Mode**: Automated 5-tier browser cascade for live website analysis
|
|
94
|
+
- **HAS_VIDEO Flag**: Detects video content and recommends `/a11y-ally` follow-up
|
|
95
|
+
- **HTML Output**: Generates HTML reports when `html_output: true`
|
|
96
|
+
- **Browser Cascade**: Vibium -> agent-browser -> Playwright+Stealth -> WebFetch -> WebSearch-fallback
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## ENFORCEMENT RULES - READ FIRST
|
|
101
|
+
|
|
102
|
+
| Rule | Enforcement |
|
|
103
|
+
|------|-------------|
|
|
104
|
+
| **E1** | You MUST spawn ALL THREE core agents (qe-quality-criteria-recommender, qe-risk-assessor, qe-requirements-validator) in Step 2. No exceptions. |
|
|
105
|
+
| **E2** | You MUST put all parallel Task calls in a SINGLE message. |
|
|
106
|
+
| **E3** | You MUST STOP and WAIT after each batch. No proceeding early. |
|
|
107
|
+
| **E4** | You MUST spawn conditional agents if flags are TRUE. No skipping. |
|
|
108
|
+
| **E5** | You MUST apply GO/CONDITIONAL/NO-GO logic exactly as specified in Step 5. |
|
|
109
|
+
| **E6** | You MUST generate the full report structure. No abbreviated versions. |
|
|
110
|
+
| **E7** | Each agent MUST read its reference files before analysis. |
|
|
111
|
+
| **E8** | You MUST execute Step 7 learning persistence. No skipping. |
|
|
112
|
+
|
|
113
|
+
**PROHIBITED BEHAVIORS:**
|
|
114
|
+
- Summarizing instead of spawning agents
|
|
115
|
+
- Skipping agents "for brevity"
|
|
116
|
+
- Proceeding before background tasks complete
|
|
117
|
+
- Providing your own analysis instead of spawning specialists
|
|
118
|
+
- Omitting report sections or using placeholder text
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## Step Execution Protocol
|
|
123
|
+
|
|
124
|
+
This skill uses a micro-file step architecture. Each step is a self-contained file
|
|
125
|
+
loaded one at a time to avoid "lost in the middle" context degradation.
|
|
126
|
+
|
|
127
|
+
**Execute steps sequentially by reading each step file with the Read tool.**
|
|
128
|
+
|
|
129
|
+
### Steps
|
|
130
|
+
|
|
131
|
+
1. **Flag Detection** -- `steps/01-flag-detection.md` -- Fetch URL content (browser cascade), detect all 7 flags (HAS_UI, HAS_SECURITY, HAS_UX, HAS_VIDEO, HAS_MIDDLEWARE, HAS_SAP_INTEGRATION, HAS_AUTHORIZATION)
|
|
132
|
+
2. **Core Agents** -- `steps/02-core-agents.md` -- Spawn qe-quality-criteria-recommender, qe-risk-assessor, qe-requirements-validator in parallel
|
|
133
|
+
3. **Batch 1 Results** -- `steps/03-batch1-results.md` -- Wait for core agents, extract all metrics
|
|
134
|
+
4. **Conditional Agents** -- `steps/04-conditional-agents.md` -- Spawn flagged conditional agents in parallel
|
|
135
|
+
5. **Decision Synthesis** -- `steps/05-decision-synthesis.md` -- Apply GO/CONDITIONAL/NO-GO logic
|
|
136
|
+
6. **Report Generation** -- `steps/06-report-generation.md` -- Generate executive summary and full report
|
|
137
|
+
7. **Learning Persistence** -- `steps/07-learning-persistence.md` -- Store findings to memory, save persistence record, include video follow-up recommendation
|
|
138
|
+
8. **Final Output** -- `steps/08-final-output.md` -- Display completion summary with all scores and follow-up recommendations
|
|
139
|
+
|
|
140
|
+
### Execution Instructions
|
|
141
|
+
|
|
142
|
+
1. Use the Read tool to load the current step file (e.g., `Read({ file_path: ".claude/skills/qcsd-ideation-swarm/steps/01-flag-detection.md" })`)
|
|
143
|
+
2. Execute the step's instructions completely
|
|
144
|
+
3. Verify all success criteria are met before proceeding
|
|
145
|
+
4. Pass the step's output as context to the next step
|
|
146
|
+
5. If a step fails, halt and report the failure point -- do not skip ahead
|
|
147
|
+
|
|
148
|
+
### Resume Support
|
|
149
|
+
|
|
150
|
+
To resume from a specific step: specify `--from-step N` and the orchestrator will
|
|
151
|
+
skip to step N. Ensure you have the required prerequisite data from prior steps.
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## Agent Inventory
|
|
156
|
+
|
|
157
|
+
| Agent | Type | Domain | Batch |
|
|
158
|
+
|-------|------|--------|-------|
|
|
159
|
+
| qe-quality-criteria-recommender | Core (always) | requirements-validation | 1 |
|
|
160
|
+
| qe-risk-assessor | Core (always) | coverage-analysis | 1 |
|
|
161
|
+
| qe-requirements-validator | Core (always) | requirements-validation | 1 |
|
|
162
|
+
| qe-accessibility-auditor | Conditional (HAS_UI) | visual-accessibility | 2 |
|
|
163
|
+
| qe-security-auditor | Conditional (HAS_SECURITY) | security-compliance | 2 |
|
|
164
|
+
| qe-qx-partner | Conditional (HAS_UX) | cross-domain | 2 |
|
|
165
|
+
| qe-middleware-validator | Conditional (HAS_MIDDLEWARE) | enterprise-integration | 2 |
|
|
166
|
+
| qe-sap-rfc-tester | Conditional (HAS_SAP_INTEGRATION) | enterprise-integration | 2 |
|
|
167
|
+
| qe-sod-analyzer | Conditional (HAS_AUTHORIZATION) | enterprise-integration | 2 |
|
|
168
|
+
|
|
169
|
+
**Total: 9 agents (3 core + 6 conditional)**
|
|
170
|
+
|
|
171
|
+
**Note**: The Ideation swarm has 8 steps (not 9) because it has no separate final
|
|
172
|
+
analysis agent step. The HAS_VIDEO flag triggers a follow-up recommendation for
|
|
173
|
+
`/a11y-ally` but does not spawn an additional agent.
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
## Quality Gate Thresholds
|
|
178
|
+
|
|
179
|
+
| Metric | GO | CONDITIONAL | NO-GO |
|
|
180
|
+
|--------|-----|-------------|-------|
|
|
181
|
+
| Testability Score | >= 70% | 40 - 69% | < 40% |
|
|
182
|
+
| Risk Score | LOW/MEDIUM | HIGH (mitigatable) | CRITICAL |
|
|
183
|
+
| Requirements Completeness | >= 80% | 50 - 79% | < 50% |
|
|
184
|
+
| Quality Criteria Coverage | >= 7/10 categories | 4-6/10 categories | < 4/10 categories |
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## Report Filename Mapping
|
|
189
|
+
|
|
190
|
+
| Agent | Report Filename | Step |
|
|
191
|
+
|-------|----------------|------|
|
|
192
|
+
| qe-quality-criteria-recommender | `02-quality-criteria.md` | 2 |
|
|
193
|
+
| qe-risk-assessor | `03-risk-assessment.md` | 2 |
|
|
194
|
+
| qe-requirements-validator | `04-requirements-validation.md` | 2 |
|
|
195
|
+
| qe-accessibility-auditor | `05-accessibility-audit.md` | 4 |
|
|
196
|
+
| qe-security-auditor | `06-security-audit.md` | 4 |
|
|
197
|
+
| qe-qx-partner | `07-ux-assessment.md` | 4 |
|
|
198
|
+
| qe-middleware-validator | `08-middleware-assessment.md` | 4 |
|
|
199
|
+
| qe-sap-rfc-tester | `09-sap-assessment.md` | 4 |
|
|
200
|
+
| qe-sod-analyzer | `10-sod-compliance.md` | 4 |
|
|
201
|
+
| Learning Persistence | `11-learning-persistence.json` | 7 |
|
|
202
|
+
| Synthesis | `01-executive-summary.md` | 6 |
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
## Execution Model Options
|
|
207
|
+
|
|
208
|
+
| Model | When to Use | Agent Spawn |
|
|
209
|
+
|-------|-------------|-------------|
|
|
210
|
+
| **Task Tool** (PRIMARY) | Claude Code sessions | `Task({ subagent_type, run_in_background: true })` |
|
|
211
|
+
| **MCP Tools** | MCP server available | `fleet_init({})` / `task_submit({})` |
|
|
212
|
+
| **CLI** | Terminal/scripts | `swarm init` / `agent spawn` |
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
## Key Principle
|
|
217
|
+
|
|
218
|
+
**Quality is built in from the start, not tested in at the end. This swarm ensures
|
|
219
|
+
stories are viable, testable, and risk-assessed before any code is written.**
|
|
220
|
+
<!-- END AGENTIC-QE UPSTREAM BODY -->
|
|
221
|
+
|
|
222
|
+
## Keysarium local addition: feature-ADR checkpoint
|
|
223
|
+
|
|
224
|
+
Run ideation after the problem and candidate ADRs are written. Ask the quality, risk, and requirements perspectives to challenge the same proposed behavior. Add a specialist only when the ADR names a matching risk, such as an external API, sensitive data, or a performance constraint.
|
|
225
|
+
|
|
226
|
+
The checkpoint records three things for the next stage: testable acceptance criteria, the highest-risk failure paths, and unresolved decisions. A GO verdict requires named evidence for the proposed scope; NO-GO names the missing evidence or decision. The lead records the verdict and the dissent rather than turning multiple agent opinions into a vote count.
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
skill: qcsd-ideation-swarm
|
|
2
|
+
version: 1.0.0
|
|
3
|
+
description: >
|
|
4
|
+
Evaluation suite for QCSD ideation swarm orchestration.
|
|
5
|
+
Tests quality criteria generation, agent coordination, and cross-domain analysis.
|
|
6
|
+
|
|
7
|
+
models_to_test:
|
|
8
|
+
- claude-sonnet-4-6 # Primary (high accuracy expected)
|
|
9
|
+
- claude-haiku-4-5 # Fast model (minimum quality floor)
|
|
10
|
+
|
|
11
|
+
mcp_integration:
|
|
12
|
+
enabled: true
|
|
13
|
+
namespace: skill-validation
|
|
14
|
+
query_patterns: true
|
|
15
|
+
track_outcomes: true
|
|
16
|
+
store_patterns: true
|
|
17
|
+
target_agents:
|
|
18
|
+
- qe-learning-coordinator
|
|
19
|
+
- qe-queen-coordinator
|
|
20
|
+
|
|
21
|
+
learning:
|
|
22
|
+
store_success_patterns: true
|
|
23
|
+
pattern_ttl_days: 90
|
|
24
|
+
|
|
25
|
+
result_format:
|
|
26
|
+
json_output: true
|
|
27
|
+
include_timing: true
|
|
28
|
+
include_token_usage: true
|
|
29
|
+
|
|
30
|
+
setup:
|
|
31
|
+
required_tools:
|
|
32
|
+
- jq
|
|
33
|
+
|
|
34
|
+
test_cases:
|
|
35
|
+
|
|
36
|
+
- id: tc001_quality_criteria_generation
|
|
37
|
+
description: "Generate quality criteria for epic"
|
|
38
|
+
category: qcsd
|
|
39
|
+
priority: critical
|
|
40
|
+
|
|
41
|
+
input:
|
|
42
|
+
epic_description: "Build user authentication system with OAuth2"
|
|
43
|
+
project_type: "web_application"
|
|
44
|
+
|
|
45
|
+
expected_output:
|
|
46
|
+
must_contain:
|
|
47
|
+
- "quality"
|
|
48
|
+
- "criteria"
|
|
49
|
+
- "security"
|
|
50
|
+
|
|
51
|
+
validation:
|
|
52
|
+
schema_check: true
|
|
53
|
+
keyword_match_threshold: 0.8
|
|
54
|
+
|
|
55
|
+
- id: tc002_risk_assessment
|
|
56
|
+
description: "Perform QCSD risk assessment"
|
|
57
|
+
category: risk
|
|
58
|
+
priority: critical
|
|
59
|
+
|
|
60
|
+
input:
|
|
61
|
+
epic: "Payment processing system"
|
|
62
|
+
has_security: true
|
|
63
|
+
has_compliance: true
|
|
64
|
+
|
|
65
|
+
expected_output:
|
|
66
|
+
must_contain:
|
|
67
|
+
- "risk"
|
|
68
|
+
- "security"
|
|
69
|
+
- "compliance"
|
|
70
|
+
|
|
71
|
+
validation:
|
|
72
|
+
schema_check: true
|
|
73
|
+
|
|
74
|
+
- id: tc003_domain_flag_detection
|
|
75
|
+
description: "Detect HAS_UI, HAS_SECURITY, HAS_UX flags"
|
|
76
|
+
category: flags
|
|
77
|
+
priority: high
|
|
78
|
+
|
|
79
|
+
input:
|
|
80
|
+
content: "User dashboard with real-time notifications and payment"
|
|
81
|
+
analyze_flags: true
|
|
82
|
+
|
|
83
|
+
expected_output:
|
|
84
|
+
must_contain:
|
|
85
|
+
- "HAS_UI"
|
|
86
|
+
- "HAS_SECURITY"
|
|
87
|
+
|
|
88
|
+
validation:
|
|
89
|
+
schema_check: true
|
|
90
|
+
|
|
91
|
+
- id: tc004_agent_coordination
|
|
92
|
+
description: "Coordinate multi-agent swarm execution"
|
|
93
|
+
category: orchestration
|
|
94
|
+
priority: high
|
|
95
|
+
|
|
96
|
+
input:
|
|
97
|
+
domain_flags:
|
|
98
|
+
HAS_UI: true
|
|
99
|
+
HAS_SECURITY: true
|
|
100
|
+
HAS_UX: true
|
|
101
|
+
|
|
102
|
+
expected_output:
|
|
103
|
+
must_contain:
|
|
104
|
+
- "agent"
|
|
105
|
+
- "coordinate"
|
|
106
|
+
|
|
107
|
+
validation:
|
|
108
|
+
schema_check: true
|
|
109
|
+
|
|
110
|
+
- id: tc005_comprehensive_analysis
|
|
111
|
+
description: "Execute comprehensive QCSD analysis"
|
|
112
|
+
category: analysis
|
|
113
|
+
priority: medium
|
|
114
|
+
|
|
115
|
+
input:
|
|
116
|
+
epic: "Mobile app with payment and user profiles"
|
|
117
|
+
include_all_domains: true
|
|
118
|
+
|
|
119
|
+
expected_output:
|
|
120
|
+
must_contain:
|
|
121
|
+
- "analysis"
|
|
122
|
+
- "domain"
|
|
123
|
+
|
|
124
|
+
validation:
|
|
125
|
+
schema_check: true
|
|
126
|
+
|
|
127
|
+
success_criteria:
|
|
128
|
+
pass_rate: 0.9
|
|
129
|
+
critical_pass_rate: 1.0
|
|
130
|
+
avg_reasoning_quality: 0.75
|
|
131
|
+
max_execution_time_ms: 300000
|
|
132
|
+
|
|
133
|
+
metadata:
|
|
134
|
+
author: "qe-qcsd-orchestrator"
|
|
135
|
+
created: "2026-02-02"
|
|
136
|
+
coverage_target: >
|
|
137
|
+
QCSD ideation swarm with 5 test cases covering quality criteria generation,
|
|
138
|
+
risk assessment, domain flag detection, agent coordination, and comprehensive analysis.
|