@vesviet/agent-skills 5.6.0 → 5.7.0
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/INDEX.md +5 -5
- package/README.md +1 -1
- package/VERSION +1 -1
- package/adapters/antigravity/a2a-config.template.yaml +1 -1
- package/adapters/antigravity/role-skill-index.json +12 -12
- package/adapters/claude/CLAUDE_ADAPTER.md +1 -1
- package/adapters/cursor/README.md +185 -185
- package/bin/agent-skills.mjs +17 -14
- package/core/contracts/README.md +1 -1
- package/core/contracts/schemas/api-contract-spec.json +191 -191
- package/core/contracts/schemas/data-pipeline-spec.json +1 -1
- package/core/contracts/schemas/design-tokens-spec.json +19 -0
- package/core/contracts/schemas/feature-ticket.json +1293 -1293
- package/core/contracts/schemas/pull-request-spec.json +338 -338
- package/core/contracts/schemas/references/detailed/01-solution-and-governance.md +19 -19
- package/core/contracts/schemas/references/detailed/02-engineering-delivery.md +93 -93
- package/core/contracts/schemas/references/detailed/04-finance-accounting-and-compliance.md +54 -54
- package/core/contracts/schemas/references/detailed/05-design-and-content.md +92 -92
- package/core/contracts/schemas/references/detailed/06-seo-and-publishing.md +48 -48
- package/core/contracts/schemas/references/detailed/07-a2a-protocol.md +85 -85
- package/core/contracts/schemas/security-audit.json +143 -12
- package/core/contracts/schemas/system-design-spec.json +9 -1
- package/core/contracts/schemas/test-report.json +530 -530
- package/core/contracts/schemas/ux-flow-spec.json +66 -0
- package/core/roles/ai-systems-engineer.md +31 -18
- package/core/roles/aws-engineer.md +33 -29
- package/core/roles/backend-developer.md +6 -4
- package/core/roles/content-manager.md +7 -7
- package/core/roles/data-engineer.md +39 -36
- package/core/roles/qa-engineer.md +18 -18
- package/core/roles/references/ai-systems-engineer-review-checklist.md +11 -3
- package/core/roles/references/aws-engineer-review-checklist.md +29 -16
- package/core/roles/references/business-analyst-responsibilities.md +207 -207
- package/core/roles/references/content-manager-governance-standards.md +2 -2
- package/core/roles/references/content-manager-review-checklist.md +7 -1
- package/core/roles/references/data-engineer-review-checklist.md +11 -3
- package/core/roles/references/frontend-developer-responsibilities.md +275 -275
- package/core/roles/references/qa-engineer-review-checklist.md +10 -5
- package/core/roles/references/security-engineer-review-checklist.md +8 -0
- package/core/roles/references/solution-architect-review-checklist.md +6 -1
- package/core/roles/references/system-engineer-review-checklist.md +11 -0
- package/core/roles/references/ui-ux-designer-review-checklist.md +12 -0
- package/core/roles/security-engineer.md +35 -5
- package/core/roles/solution-architect.md +7 -7
- package/core/roles/system-engineer.md +470 -465
- package/core/roles/ui-ux-designer.md +17 -3
- package/core/skills/agent/agent-memory-compaction/references/anchored-schema-and-compaction-algorithms.md +141 -141
- package/core/skills/agent/architect-mcp-server/SKILL.md +3 -3
- package/core/skills/agent/decompose-agentic-system/SKILL.md +1 -1
- package/core/skills/ai/deploy-vllm-inference/SKILL.md +14 -14
- package/core/skills/ai-agent/agent-evaluation/SKILL.md +5 -0
- package/core/skills/ai-agent/context-optimization/SKILL.md +9 -0
- package/core/skills/backend/add-api-endpoint/SKILL.md +1 -0
- package/core/skills/backend/add-event-handler/SKILL.md +1 -0
- package/core/skills/backend/add-service-client/SKILL.md +1 -0
- package/core/skills/backend/build-mcp-server/SKILL.md +101 -100
- package/core/skills/backend/implement-auth/SKILL.md +1 -0
- package/core/skills/backend/implement-structured-outputs/SKILL.md +95 -94
- package/core/skills/backend/optimize-postgres/SKILL.md +1 -0
- package/core/skills/backend/scaffold-new-service/SKILL.md +1 -0
- package/core/skills/business/elicit-requirements/SKILL.md +102 -102
- package/core/skills/business/elicit-requirements/references/elicitation-techniques-and-babok-criteria.md +60 -60
- package/core/skills/business/trace-requirements-impact/SKILL.md +97 -97
- package/core/skills/business/trace-requirements-impact/references/rtm-graph-and-prioritization-models.md +109 -109
- package/core/skills/business/write-use-cases/SKILL.md +106 -106
- package/core/skills/business/write-use-cases/references/cockburn-scoping-and-13-field-template.md +135 -135
- package/core/skills/content/audit-content/SKILL.md +3 -2
- package/core/skills/content/audit-content/references/information-gain-rubric.md +1 -1
- package/core/skills/content/design-content-strategy/SKILL.md +6 -5
- package/core/skills/content/design-content-strategy/references/information-gain-and-decay-triage.md +2 -2
- package/core/skills/content/optimize-seo/SKILL.md +6 -5
- package/core/skills/content/optimize-seo/references/geo-ai-citation-playbook.md +2 -2
- package/core/skills/content/optimize-seo/references/process-and-checklist.md +1 -1
- package/core/skills/content/repurpose-content/SKILL.md +4 -3
- package/core/skills/content/write-article/SKILL.md +6 -5
- package/core/skills/content/write-copy/SKILL.md +3 -2
- package/core/skills/document/pptx/SKILL.md +1 -0
- package/core/skills/document/pptx/scripts/add_slide.py +0 -0
- package/core/skills/document/pptx/scripts/clean.py +0 -0
- package/core/skills/document/pptx/scripts/thumbnail.py +0 -0
- package/core/skills/document/xlsx/scripts/recalc.py +0 -0
- package/core/skills/documentation/write-documentation/SKILL.md +143 -143
- package/core/skills/documentation/write-tech-radar/SKILL.md +149 -149
- package/core/skills/foundation/accessibility-review/SKILL.md +160 -160
- package/core/skills/foundation/design-review/SKILL.md +11 -1
- package/core/skills/foundation/design-ux-flow/SKILL.md +13 -1
- package/core/skills/foundation/performance-profiling/SKILL.md +3 -1
- package/core/skills/foundation/release-notes/SKILL.md +192 -192
- package/core/skills/foundation/webapp-server-runner/scripts/with_server.py +0 -0
- package/core/skills/foundation/write-product-brief/SKILL.md +160 -160
- package/core/skills/foundation/write-tests/SKILL.md +11 -10
- package/core/skills/frontend/anti-ui-slop-finish-gate/SKILL.md +5 -0
- package/core/skills/frontend/design-md-specification/SKILL.md +1 -0
- package/core/skills/frontend/design-system-engineering/SKILL.md +4 -2
- package/core/skills/meetings-analysis/analyze-business-requirements/SKILL.md +1 -1
- package/core/skills/platform/add-telemetry-instrumentation/SKILL.md +2 -1
- package/core/skills/platform/aws-infrastructure/SKILL.md +12 -11
- package/core/skills/platform/cloudflare-email-service/SKILL.md +166 -166
- package/core/skills/platform/cloudflare-email-service/references/routing.md +199 -199
- package/core/skills/platform/debug-runtime-platform/SKILL.md +1 -0
- package/core/skills/platform/debug-workers-edge/SKILL.md +111 -111
- package/core/skills/platform/sandbox-sdk/SKILL.md +183 -183
- package/core/skills/platform/setup-gpu-finops/SKILL.md +111 -107
- package/core/skills/platform/setup-llm-gateway/SKILL.md +110 -108
- package/core/skills/platform/supply-chain-security/SKILL.md +1 -0
- package/core/skills/platform/system-design/SKILL.md +7 -0
- package/core/skills/platform/turnstile-spin/SKILL.md +118 -118
- package/core/skills/platform/turnstile-spin/scripts/auth-probe.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/fetch-secret.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/persist-skill.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/validate.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/widget-create.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/worker-deploy.sh +0 -0
- package/core/skills/platform/turnstile-spin/templates/worker/src/index.ts +199 -199
- package/core/skills/platform/turnstile-spin/templates/worker/wrangler.toml +31 -31
- package/core/skills/platform/web-perf/SKILL.md +151 -151
- package/core/skills/platform/workers-best-practices/references/rules.md +463 -463
- package/core/skills/product/build-story-map/SKILL.md +104 -104
- package/core/skills/product/build-story-map/references/story-mapping-and-cpm-scheduling.md +101 -101
- package/core/skills/product/define-product-strategy/SKILL.md +105 -105
- package/core/skills/product/define-product-strategy/references/strategy-frameworks-and-pr-faq.md +142 -142
- package/core/skills/product/model-saas-metrics/SKILL.md +104 -104
- package/core/skills/product/model-saas-metrics/references/saas-unit-economics-and-pricing.md +110 -110
- package/core/skills/product/prioritize-roadmap/SKILL.md +106 -106
- package/core/skills/product/prioritize-roadmap/references/prioritization-scoring-and-kill-criteria.md +105 -105
- package/core/skills/repo-ops/commit-code/SKILL.md +190 -190
- package/core/skills/repo-ops/commit-code/references/multi-repo-and-deployment.md +21 -21
- package/core/skills/repo-ops/navigate-service/SKILL.md +199 -199
- package/core/skills/repo-ops/review-code/references/process-and-format.md +100 -100
- package/core/skills/repo-ops/review-service/SKILL.md +186 -186
- package/core/skills/repo-ops/troubleshoot-service/SKILL.md +127 -127
- package/core/skills/repo-ops/troubleshoot-service/references/failure-modes-and-security.md +22 -22
- package/core/skills/repo-ops/troubleshoot-service/references/suggested-process.md +110 -110
- package/core/skills/security-data/build-data-pipeline/SKILL.md +15 -14
- package/core/skills/security-data/build-data-pipeline/references/producer-contracts-and-lakehouse.md +5 -5
- package/core/skills/security-data/database-maintenance/SKILL.md +1 -0
- package/core/skills/security-data/database-maintenance/references/relational-and-vector-maintenance.md +5 -5
- package/core/skills/security-data/manage-secrets/SKILL.md +3 -0
- package/core/skills/security-data/optimize-olap-database/SKILL.md +14 -13
- package/core/skills/security-data/optimize-olap-database/references/olap-database-guide.md +2 -2
- package/core/skills/security-data/prompt-injection-defense/SKILL.md +3 -0
- package/core/skills/security-data/query-analytical-engine/SKILL.md +8 -7
- package/core/skills/security-data/query-analytical-engine/references/analytical-query-guide.md +3 -3
- package/core/skills/security-data/security-audit/SKILL.md +126 -119
- package/core/workflows/add-new-feature.md +212 -212
- package/core/workflows/agent-a2a-delegation.md +142 -142
- package/core/workflows/bug-fix.md +147 -147
- package/core/workflows/build-deploy.md +208 -208
- package/core/workflows/code-review.md +137 -137
- package/core/workflows/curriculum-delivery.md +1 -1
- package/core/workflows/dependency-upgrade.md +193 -193
- package/core/workflows/feature-delivery.md +149 -149
- package/core/workflows/hotfix-production.md +172 -172
- package/core/workflows/qa-validation.md +231 -231
- package/core/workflows/refactoring.md +154 -154
- package/core/workflows/revert-deployment.md +147 -147
- package/core/workflows/security-incident-response.md +191 -191
- package/core/workflows/seo-content-lifecycle.md +91 -91
- package/core/workflows/service-review-release.md +223 -223
- package/core/workflows/setup-new-service.md +214 -214
- package/core/workflows/tech-repo-review.md +245 -245
- package/core/workflows/troubleshooting.md +241 -241
- package/overlays/astro-cloudflare/README.md +93 -93
- package/overlays/data-analyst-stack/README.md +109 -109
- package/overlays/data-analyst-stack/rules/metric-dashboard-templates.md +135 -135
- package/overlays/data-analyst-stack/rules/stack-conventions.md +80 -80
- package/overlays/ecommerce-microservices/README.md +65 -65
- package/overlays/go-microservices/README.md +78 -78
- package/overlays/go-microservices/rules/go-conventions.md +223 -223
- package/overlays/laravel-filament/README.md +90 -90
- package/overlays/laravel-filament/rules/laravel-conventions.md +220 -220
- package/overlays/laravel-filament/skills/develop-laravel-feature/SKILL.md +141 -141
- package/overlays/laravel-filament/workflows/deploy-laravel.md +133 -133
- package/overlays/obj-configurator/rules/obj-project-rules.md +111 -111
- package/overlays/obj-configurator/skills/develop-obj-feature/SKILL.md +71 -71
- package/overlays/r3f-stack/README.md +89 -89
- package/overlays/r3f-stack/rules/stub.md +43 -43
- package/overlays/r3f-stack/skills/debug-3d-scene/SKILL.md +166 -166
- package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/SKILL.md +159 -159
- package/overlays/r3f-stack/skills/optimize-3d-assets/SKILL.md +128 -128
- package/overlays/seo-publishing/rules/site-mix-and-cannibalization.md +52 -52
- package/overlays/ui-design-system/rules/handoff-conventions.md +73 -73
- package/package.json +2 -2
- package/core/README.md +0 -53
|
@@ -1,530 +1,530 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "test-report",
|
|
4
|
-
"title": "QA Test Report",
|
|
5
|
-
"description": "Structured output from QA Engineer using write-tests, frontend-testing, or review-service skills. Emitted after test execution. Consumed by Technical Lead, Reviewer, Project Manager, and Agent Coordinator as release confidence evidence. Complements code-review-finding.json \u2014 review catches code issues, test-report catches behavior risk.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"contract_type": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"const": "test-report",
|
|
11
|
-
"description": "Machine-readable contract discriminator."
|
|
12
|
-
},
|
|
13
|
-
"report_id": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "Unique report identifier. Convention: YYYY-MM-DD-feature-slug."
|
|
16
|
-
},
|
|
17
|
-
"created_at": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"format": "date-time"
|
|
20
|
-
},
|
|
21
|
-
"ticket_ref": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"description": "feature-ticket.json ticket_id this report covers."
|
|
24
|
-
},
|
|
25
|
-
"delivery_plan_ref": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"description": "technical-delivery-plan.json plan_id this test run validates."
|
|
28
|
-
},
|
|
29
|
-
"environment": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"description": "Test environment name (e.g. staging, preview, local, production-canary)."
|
|
32
|
-
},
|
|
33
|
-
"test_types_executed": {
|
|
34
|
-
"type": "array",
|
|
35
|
-
"items": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"enum": [
|
|
38
|
-
"unit",
|
|
39
|
-
"integration",
|
|
40
|
-
"e2e",
|
|
41
|
-
"smoke",
|
|
42
|
-
"regression",
|
|
43
|
-
"performance",
|
|
44
|
-
"security",
|
|
45
|
-
"accessibility",
|
|
46
|
-
"manual"
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
"description": "Types of tests run in this report."
|
|
50
|
-
},
|
|
51
|
-
"status": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"enum": [
|
|
54
|
-
"passed",
|
|
55
|
-
"failed",
|
|
56
|
-
"blocked",
|
|
57
|
-
"partial"
|
|
58
|
-
],
|
|
59
|
-
"description": "Overall test run status."
|
|
60
|
-
},
|
|
61
|
-
"scenarios_executed": {
|
|
62
|
-
"type": "array",
|
|
63
|
-
"description": "One entry per AC scenario or test case executed.",
|
|
64
|
-
"minItems": 1,
|
|
65
|
-
"items": {
|
|
66
|
-
"type": "object",
|
|
67
|
-
"properties": {
|
|
68
|
-
"name": {
|
|
69
|
-
"type": "string",
|
|
70
|
-
"description": "Scenario name \u2014 should match feature-ticket AC scenario label when covering AC."
|
|
71
|
-
},
|
|
72
|
-
"type": {
|
|
73
|
-
"type": "string",
|
|
74
|
-
"enum": [
|
|
75
|
-
"unit",
|
|
76
|
-
"integration",
|
|
77
|
-
"e2e",
|
|
78
|
-
"smoke",
|
|
79
|
-
"manual",
|
|
80
|
-
"regression"
|
|
81
|
-
]
|
|
82
|
-
},
|
|
83
|
-
"passed": {
|
|
84
|
-
"type": "boolean"
|
|
85
|
-
},
|
|
86
|
-
"evidence": {
|
|
87
|
-
"type": "string",
|
|
88
|
-
"description": "CI run link, screenshot path, log excerpt, or 'manual verified' description."
|
|
89
|
-
},
|
|
90
|
-
"notes": {
|
|
91
|
-
"type": [
|
|
92
|
-
"string",
|
|
93
|
-
"null"
|
|
94
|
-
]
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"required": [
|
|
98
|
-
"name",
|
|
99
|
-
"passed"
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"defects": {
|
|
104
|
-
"type": "array",
|
|
105
|
-
"description": "Defects found during testing. Empty array if none.",
|
|
106
|
-
"items": {
|
|
107
|
-
"type": "object",
|
|
108
|
-
"properties": {
|
|
109
|
-
"defect_id": {
|
|
110
|
-
"type": "string"
|
|
111
|
-
},
|
|
112
|
-
"title": {
|
|
113
|
-
"type": "string"
|
|
114
|
-
},
|
|
115
|
-
"severity": {
|
|
116
|
-
"type": "string",
|
|
117
|
-
"enum": [
|
|
118
|
-
"critical",
|
|
119
|
-
"high",
|
|
120
|
-
"medium",
|
|
121
|
-
"low"
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
"steps_to_reproduce": {
|
|
125
|
-
"type": "array",
|
|
126
|
-
"items": {
|
|
127
|
-
"type": "string"
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
"expected_behavior": {
|
|
131
|
-
"type": "string"
|
|
132
|
-
},
|
|
133
|
-
"actual_behavior": {
|
|
134
|
-
"type": "string"
|
|
135
|
-
},
|
|
136
|
-
"linked_code_finding": {
|
|
137
|
-
"type": "string",
|
|
138
|
-
"description": "code-review-finding.json finding_id if related."
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
"required": [
|
|
142
|
-
"title",
|
|
143
|
-
"severity",
|
|
144
|
-
"steps_to_reproduce",
|
|
145
|
-
"expected_behavior",
|
|
146
|
-
"actual_behavior"
|
|
147
|
-
]
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"coverage_gaps": {
|
|
151
|
-
"type": "array",
|
|
152
|
-
"items": {
|
|
153
|
-
"type": "string"
|
|
154
|
-
},
|
|
155
|
-
"description": "Behaviors or edge cases that could not be tested in this cycle and why."
|
|
156
|
-
},
|
|
157
|
-
"residual_risk": {
|
|
158
|
-
"type": "string",
|
|
159
|
-
"description": "Remaining risk that won't be covered before release \u2014 should be visible to Technical Lead and PM."
|
|
160
|
-
},
|
|
161
|
-
"release_recommendation": {
|
|
162
|
-
"type": "string",
|
|
163
|
-
"enum": [
|
|
164
|
-
"ship",
|
|
165
|
-
"hold",
|
|
166
|
-
"ship_with_mitigations"
|
|
167
|
-
],
|
|
168
|
-
"description": "QA recommendation on whether to proceed with release."
|
|
169
|
-
},
|
|
170
|
-
"mitigation_notes": {
|
|
171
|
-
"type": [
|
|
172
|
-
"string",
|
|
173
|
-
"null"
|
|
174
|
-
],
|
|
175
|
-
"description": "Required when release_recommendation=ship_with_mitigations. Describe the mitigations."
|
|
176
|
-
},
|
|
177
|
-
"mutation_score": {
|
|
178
|
-
"type": "object",
|
|
179
|
-
"description": "Mutation testing verification results (e.g. Stryker, mutmut, go-mutesting).",
|
|
180
|
-
"properties": {
|
|
181
|
-
"score_pct": {
|
|
182
|
-
"type": "number",
|
|
183
|
-
"minimum": 0,
|
|
184
|
-
"maximum": 100
|
|
185
|
-
},
|
|
186
|
-
"threshold_pct": {
|
|
187
|
-
"type": "number",
|
|
188
|
-
"minimum": 0,
|
|
189
|
-
"maximum": 100
|
|
190
|
-
},
|
|
191
|
-
"mutants_total": {
|
|
192
|
-
"type": "integer",
|
|
193
|
-
"minimum": 0
|
|
194
|
-
},
|
|
195
|
-
"mutants_killed": {
|
|
196
|
-
"type": "integer",
|
|
197
|
-
"minimum": 0
|
|
198
|
-
},
|
|
199
|
-
"mutants_survived": {
|
|
200
|
-
"type": "integer",
|
|
201
|
-
"minimum": 0
|
|
202
|
-
},
|
|
203
|
-
"tool": {
|
|
204
|
-
"type": "string"
|
|
205
|
-
},
|
|
206
|
-
"status": {
|
|
207
|
-
"type": "string",
|
|
208
|
-
"enum": [
|
|
209
|
-
"passed",
|
|
210
|
-
"failed",
|
|
211
|
-
"skipped"
|
|
212
|
-
]
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
"required": [
|
|
216
|
-
"score_pct",
|
|
217
|
-
"threshold_pct",
|
|
218
|
-
"status"
|
|
219
|
-
]
|
|
220
|
-
},
|
|
221
|
-
"sandbox_isolation_tier": {
|
|
222
|
-
"type": "string",
|
|
223
|
-
"enum": [
|
|
224
|
-
"tier_0_ephemeral_container",
|
|
225
|
-
"tier_1_isolated_microvm",
|
|
226
|
-
"tier_2_airgapped_sandbox",
|
|
227
|
-
"local_dev_workspace"
|
|
228
|
-
],
|
|
229
|
-
"description": "Environment isolation tier where tests were executed."
|
|
230
|
-
},
|
|
231
|
-
"reproduction_test_verified": {
|
|
232
|
-
"type": "boolean",
|
|
233
|
-
"description": "For bug fixes: confirms that a failing reproduction test was verified Red prior to code modification."
|
|
234
|
-
},
|
|
235
|
-
"blast_radius_assessment": {
|
|
236
|
-
"type": "object",
|
|
237
|
-
"description": "Verification of bounded failure domain during test execution.",
|
|
238
|
-
"properties": {
|
|
239
|
-
"verified_failure_domain": {
|
|
240
|
-
"type": "string"
|
|
241
|
-
},
|
|
242
|
-
"cross_boundary_impact_detected": {
|
|
243
|
-
"type": "boolean"
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
"required": [
|
|
247
|
-
"verified_failure_domain",
|
|
248
|
-
"cross_boundary_impact_detected"
|
|
249
|
-
]
|
|
250
|
-
},
|
|
251
|
-
"contract_testing": {
|
|
252
|
-
"type": "object",
|
|
253
|
-
"description": "Consumer-Driven Contract Testing (PactV3, buf breaking, oasdiff) verification.",
|
|
254
|
-
"properties": {
|
|
255
|
-
"pact_matrix_status": {
|
|
256
|
-
"type": "string",
|
|
257
|
-
"enum": [
|
|
258
|
-
"passed",
|
|
259
|
-
"failed",
|
|
260
|
-
"skipped"
|
|
261
|
-
]
|
|
262
|
-
},
|
|
263
|
-
"breaking_changes_detected": {
|
|
264
|
-
"type": "boolean"
|
|
265
|
-
},
|
|
266
|
-
"can_i_deploy": {
|
|
267
|
-
"type": "boolean"
|
|
268
|
-
},
|
|
269
|
-
"tool": {
|
|
270
|
-
"type": "string"
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
"ai_evaluation": {
|
|
275
|
-
"type": "object",
|
|
276
|
-
"description": "Calibrated LLM and agentic evaluation metrics.",
|
|
277
|
-
"properties": {
|
|
278
|
-
"g_eval_alignment_score": {
|
|
279
|
-
"type": "number",
|
|
280
|
-
"minimum": 0,
|
|
281
|
-
"maximum": 100
|
|
282
|
-
},
|
|
283
|
-
"rag_triad": {
|
|
284
|
-
"type": "object",
|
|
285
|
-
"properties": {
|
|
286
|
-
"faithfulness": {
|
|
287
|
-
"type": "number",
|
|
288
|
-
"minimum": 0,
|
|
289
|
-
"maximum": 1
|
|
290
|
-
},
|
|
291
|
-
"context_precision": {
|
|
292
|
-
"type": "number",
|
|
293
|
-
"minimum": 0,
|
|
294
|
-
"maximum": 1
|
|
295
|
-
},
|
|
296
|
-
"context_recall": {
|
|
297
|
-
"type": "number",
|
|
298
|
-
"minimum": 0,
|
|
299
|
-
"maximum": 1
|
|
300
|
-
},
|
|
301
|
-
"answer_relevancy": {
|
|
302
|
-
"type": "number",
|
|
303
|
-
"minimum": 0,
|
|
304
|
-
"maximum": 1
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
"agent_trajectory_passed": {
|
|
309
|
-
"type": "boolean"
|
|
310
|
-
},
|
|
311
|
-
"loop_detection_passed": {
|
|
312
|
-
"type": "boolean"
|
|
313
|
-
},
|
|
314
|
-
"promptfoo_redteam_passed": {
|
|
315
|
-
"type": "boolean"
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
},
|
|
319
|
-
"observability_testing": {
|
|
320
|
-
"type": "object",
|
|
321
|
-
"description": "Observability-Driven Testing (Tracetest, OpenTelemetry, N+1 query counters).",
|
|
322
|
-
"properties": {
|
|
323
|
-
"trace_assertions_passed": {
|
|
324
|
-
"type": "boolean"
|
|
325
|
-
},
|
|
326
|
-
"w3c_traceparent_propagated": {
|
|
327
|
-
"type": "boolean"
|
|
328
|
-
},
|
|
329
|
-
"n_plus_one_queries_detected": {
|
|
330
|
-
"type": "boolean"
|
|
331
|
-
},
|
|
332
|
-
"query_budget_exceeded": {
|
|
333
|
-
"type": "boolean"
|
|
334
|
-
},
|
|
335
|
-
"tool": {
|
|
336
|
-
"type": "string"
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
"accessibility_audit": {
|
|
341
|
-
"type": "object",
|
|
342
|
-
"description": "Automated and manual WCAG accessibility audit findings.",
|
|
343
|
-
"properties": {
|
|
344
|
-
"wcag_standard": {
|
|
345
|
-
"type": "string"
|
|
346
|
-
},
|
|
347
|
-
"violations_count": {
|
|
348
|
-
"type": "integer",
|
|
349
|
-
"minimum": 0
|
|
350
|
-
},
|
|
351
|
-
"critical_violations": {
|
|
352
|
-
"type": "integer",
|
|
353
|
-
"minimum": 0
|
|
354
|
-
},
|
|
355
|
-
"passed": {
|
|
356
|
-
"type": "boolean"
|
|
357
|
-
},
|
|
358
|
-
"tool": {
|
|
359
|
-
"type": "string"
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
"chaos_injection": {
|
|
364
|
-
"type": "object",
|
|
365
|
-
"description": "Shift-left fault injection and resilience testing (Toxiproxy, Chaos Mesh).",
|
|
366
|
-
"properties": {
|
|
367
|
-
"fault_type": {
|
|
368
|
-
"type": "string"
|
|
369
|
-
},
|
|
370
|
-
"circuit_breaker_transition_verified": {
|
|
371
|
-
"type": "boolean"
|
|
372
|
-
},
|
|
373
|
-
"blast_radius_contained": {
|
|
374
|
-
"type": "boolean"
|
|
375
|
-
},
|
|
376
|
-
"tool": {
|
|
377
|
-
"type": "string"
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
"performance_slo": {
|
|
382
|
-
"type": "object",
|
|
383
|
-
"description": "Performance and load test SLO gates (k6, Locust).",
|
|
384
|
-
"properties": {
|
|
385
|
-
"p95_latency_ms": {
|
|
386
|
-
"type": "number",
|
|
387
|
-
"minimum": 0
|
|
388
|
-
},
|
|
389
|
-
"p99_latency_ms": {
|
|
390
|
-
"type": "number",
|
|
391
|
-
"minimum": 0
|
|
392
|
-
},
|
|
393
|
-
"error_rate_pct": {
|
|
394
|
-
"type": "number",
|
|
395
|
-
"minimum": 0,
|
|
396
|
-
"maximum": 100
|
|
397
|
-
},
|
|
398
|
-
"slo_threshold_met": {
|
|
399
|
-
"type": "boolean"
|
|
400
|
-
},
|
|
401
|
-
"tool": {
|
|
402
|
-
"type": "string"
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
},
|
|
406
|
-
"clean_architecture_verification": {
|
|
407
|
-
"type": "object",
|
|
408
|
-
"description": "Clean architecture, database parity, and concurrency verification.",
|
|
409
|
-
"properties": {
|
|
410
|
-
"race_detector_passed": {
|
|
411
|
-
"type": "boolean"
|
|
412
|
-
},
|
|
413
|
-
"goroutine_leak_clean": {
|
|
414
|
-
"type": "boolean"
|
|
415
|
-
},
|
|
416
|
-
"layer_isolation_verified": {
|
|
417
|
-
"type": "boolean"
|
|
418
|
-
},
|
|
419
|
-
"ephemeral_db_rollback_isolated": {
|
|
420
|
-
"type": "boolean"
|
|
421
|
-
},
|
|
422
|
-
"property_based_testing_passed": {
|
|
423
|
-
"type": "boolean"
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
},
|
|
428
|
-
"required": [
|
|
429
|
-
"contract_type",
|
|
430
|
-
"ticket_ref",
|
|
431
|
-
"environment",
|
|
432
|
-
"status",
|
|
433
|
-
"scenarios_executed",
|
|
434
|
-
"release_recommendation"
|
|
435
|
-
],
|
|
436
|
-
"examples": [
|
|
437
|
-
{
|
|
438
|
-
"contract_type": "test-report",
|
|
439
|
-
"report_id": "2026-06-12-change-store-order-cod",
|
|
440
|
-
"created_at": "2026-06-12T14:00:00+07:00",
|
|
441
|
-
"ticket_ref": "2026-06-12-change-store-order-cod",
|
|
442
|
-
"delivery_plan_ref": "2026-06-12-change-store-order-cod",
|
|
443
|
-
"environment": "staging",
|
|
444
|
-
"test_types_executed": [
|
|
445
|
-
"unit",
|
|
446
|
-
"integration",
|
|
447
|
-
"smoke"
|
|
448
|
-
],
|
|
449
|
-
"status": "passed",
|
|
450
|
-
"scenarios_executed": [
|
|
451
|
-
{
|
|
452
|
-
"name": "COD order assigned to store courier",
|
|
453
|
-
"type": "integration",
|
|
454
|
-
"passed": true,
|
|
455
|
-
"evidence": "CI run #1042, test NewLogicAutoAssignTest::testCodOrderAssignedToStoreCourier — passed",
|
|
456
|
-
"notes": null
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"name": "COD order with no store courier falls back",
|
|
460
|
-
"type": "integration",
|
|
461
|
-
"passed": true,
|
|
462
|
-
"evidence": "CI run #1042, test NewLogicAutoAssignTest::testCodOrderFallsBackToWarehouse — passed; warning log verified",
|
|
463
|
-
"notes": null
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
"name": "Non-COD order unaffected",
|
|
467
|
-
"type": "unit",
|
|
468
|
-
"passed": true,
|
|
469
|
-
"evidence": "CI run #1042 — all existing non-COD tests pass without modification",
|
|
470
|
-
"notes": null
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
"name": "Store service 503 fallback (code-review F-01)",
|
|
474
|
-
"type": "integration",
|
|
475
|
-
"passed": true,
|
|
476
|
-
"evidence": "Manual test with store-service stub returning 503 — fallback to warehouse confirmed; error logged with order_id",
|
|
477
|
-
"notes": "Added after code-review finding F-01 raised by Reviewer"
|
|
478
|
-
}
|
|
479
|
-
],
|
|
480
|
-
"defects": [],
|
|
481
|
-
"coverage_gaps": [
|
|
482
|
-
"Load test for COD routing under high batch volume — deferred to next sprint"
|
|
483
|
-
],
|
|
484
|
-
"residual_risk": "Batch performance under > 500 concurrent COD orders not validated. Low risk given current store volume.",
|
|
485
|
-
"release_recommendation": "ship",
|
|
486
|
-
"mitigation_notes": null,
|
|
487
|
-
"mutation_score": {
|
|
488
|
-
"score_pct": 82.0,
|
|
489
|
-
"threshold_pct": 75.0,
|
|
490
|
-
"mutants_total": 50,
|
|
491
|
-
"mutants_killed": 41,
|
|
492
|
-
"mutants_survived": 9,
|
|
493
|
-
"tool": "Stryker",
|
|
494
|
-
"status": "passed"
|
|
495
|
-
},
|
|
496
|
-
"sandbox_isolation_tier": "tier_0_ephemeral_container",
|
|
497
|
-
"reproduction_test_verified": true,
|
|
498
|
-
"blast_radius_assessment": {
|
|
499
|
-
"verified_failure_domain": "order_fulfillment",
|
|
500
|
-
"cross_boundary_impact_detected": false
|
|
501
|
-
},
|
|
502
|
-
"contract_testing": {
|
|
503
|
-
"pact_matrix_status": "passed",
|
|
504
|
-
"breaking_changes_detected": false,
|
|
505
|
-
"can_i_deploy": true,
|
|
506
|
-
"tool": "PactV3"
|
|
507
|
-
},
|
|
508
|
-
"observability_testing": {
|
|
509
|
-
"trace_assertions_passed": true,
|
|
510
|
-
"w3c_traceparent_propagated": true,
|
|
511
|
-
"n_plus_one_queries_detected": false,
|
|
512
|
-
"query_budget_exceeded": false,
|
|
513
|
-
"tool": "Tracetest"
|
|
514
|
-
},
|
|
515
|
-
"chaos_injection": {
|
|
516
|
-
"fault_type": "latency_jitter",
|
|
517
|
-
"circuit_breaker_transition_verified": true,
|
|
518
|
-
"blast_radius_contained": true,
|
|
519
|
-
"tool": "Toxiproxy"
|
|
520
|
-
},
|
|
521
|
-
"clean_architecture_verification": {
|
|
522
|
-
"race_detector_passed": true,
|
|
523
|
-
"goroutine_leak_clean": true,
|
|
524
|
-
"layer_isolation_verified": true,
|
|
525
|
-
"ephemeral_db_rollback_isolated": true,
|
|
526
|
-
"property_based_testing_passed": true
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
]
|
|
530
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "test-report",
|
|
4
|
+
"title": "QA Test Report",
|
|
5
|
+
"description": "Structured output from QA Engineer using write-tests, frontend-testing, or review-service skills. Emitted after test execution. Consumed by Technical Lead, Reviewer, Project Manager, and Agent Coordinator as release confidence evidence. Complements code-review-finding.json \u2014 review catches code issues, test-report catches behavior risk.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"contract_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "test-report",
|
|
11
|
+
"description": "Machine-readable contract discriminator."
|
|
12
|
+
},
|
|
13
|
+
"report_id": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "Unique report identifier. Convention: YYYY-MM-DD-feature-slug."
|
|
16
|
+
},
|
|
17
|
+
"created_at": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "date-time"
|
|
20
|
+
},
|
|
21
|
+
"ticket_ref": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "feature-ticket.json ticket_id this report covers."
|
|
24
|
+
},
|
|
25
|
+
"delivery_plan_ref": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "technical-delivery-plan.json plan_id this test run validates."
|
|
28
|
+
},
|
|
29
|
+
"environment": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "Test environment name (e.g. staging, preview, local, production-canary)."
|
|
32
|
+
},
|
|
33
|
+
"test_types_executed": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"enum": [
|
|
38
|
+
"unit",
|
|
39
|
+
"integration",
|
|
40
|
+
"e2e",
|
|
41
|
+
"smoke",
|
|
42
|
+
"regression",
|
|
43
|
+
"performance",
|
|
44
|
+
"security",
|
|
45
|
+
"accessibility",
|
|
46
|
+
"manual"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"description": "Types of tests run in this report."
|
|
50
|
+
},
|
|
51
|
+
"status": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"enum": [
|
|
54
|
+
"passed",
|
|
55
|
+
"failed",
|
|
56
|
+
"blocked",
|
|
57
|
+
"partial"
|
|
58
|
+
],
|
|
59
|
+
"description": "Overall test run status."
|
|
60
|
+
},
|
|
61
|
+
"scenarios_executed": {
|
|
62
|
+
"type": "array",
|
|
63
|
+
"description": "One entry per AC scenario or test case executed.",
|
|
64
|
+
"minItems": 1,
|
|
65
|
+
"items": {
|
|
66
|
+
"type": "object",
|
|
67
|
+
"properties": {
|
|
68
|
+
"name": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"description": "Scenario name \u2014 should match feature-ticket AC scenario label when covering AC."
|
|
71
|
+
},
|
|
72
|
+
"type": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"enum": [
|
|
75
|
+
"unit",
|
|
76
|
+
"integration",
|
|
77
|
+
"e2e",
|
|
78
|
+
"smoke",
|
|
79
|
+
"manual",
|
|
80
|
+
"regression"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"passed": {
|
|
84
|
+
"type": "boolean"
|
|
85
|
+
},
|
|
86
|
+
"evidence": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"description": "CI run link, screenshot path, log excerpt, or 'manual verified' description."
|
|
89
|
+
},
|
|
90
|
+
"notes": {
|
|
91
|
+
"type": [
|
|
92
|
+
"string",
|
|
93
|
+
"null"
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": [
|
|
98
|
+
"name",
|
|
99
|
+
"passed"
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"defects": {
|
|
104
|
+
"type": "array",
|
|
105
|
+
"description": "Defects found during testing. Empty array if none.",
|
|
106
|
+
"items": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"properties": {
|
|
109
|
+
"defect_id": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
"title": {
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
"severity": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"enum": [
|
|
118
|
+
"critical",
|
|
119
|
+
"high",
|
|
120
|
+
"medium",
|
|
121
|
+
"low"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
"steps_to_reproduce": {
|
|
125
|
+
"type": "array",
|
|
126
|
+
"items": {
|
|
127
|
+
"type": "string"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"expected_behavior": {
|
|
131
|
+
"type": "string"
|
|
132
|
+
},
|
|
133
|
+
"actual_behavior": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
},
|
|
136
|
+
"linked_code_finding": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"description": "code-review-finding.json finding_id if related."
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"required": [
|
|
142
|
+
"title",
|
|
143
|
+
"severity",
|
|
144
|
+
"steps_to_reproduce",
|
|
145
|
+
"expected_behavior",
|
|
146
|
+
"actual_behavior"
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"coverage_gaps": {
|
|
151
|
+
"type": "array",
|
|
152
|
+
"items": {
|
|
153
|
+
"type": "string"
|
|
154
|
+
},
|
|
155
|
+
"description": "Behaviors or edge cases that could not be tested in this cycle and why."
|
|
156
|
+
},
|
|
157
|
+
"residual_risk": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "Remaining risk that won't be covered before release \u2014 should be visible to Technical Lead and PM."
|
|
160
|
+
},
|
|
161
|
+
"release_recommendation": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"enum": [
|
|
164
|
+
"ship",
|
|
165
|
+
"hold",
|
|
166
|
+
"ship_with_mitigations"
|
|
167
|
+
],
|
|
168
|
+
"description": "QA recommendation on whether to proceed with release."
|
|
169
|
+
},
|
|
170
|
+
"mitigation_notes": {
|
|
171
|
+
"type": [
|
|
172
|
+
"string",
|
|
173
|
+
"null"
|
|
174
|
+
],
|
|
175
|
+
"description": "Required when release_recommendation=ship_with_mitigations. Describe the mitigations."
|
|
176
|
+
},
|
|
177
|
+
"mutation_score": {
|
|
178
|
+
"type": "object",
|
|
179
|
+
"description": "Mutation testing verification results (e.g. Stryker, mutmut, go-mutesting).",
|
|
180
|
+
"properties": {
|
|
181
|
+
"score_pct": {
|
|
182
|
+
"type": "number",
|
|
183
|
+
"minimum": 0,
|
|
184
|
+
"maximum": 100
|
|
185
|
+
},
|
|
186
|
+
"threshold_pct": {
|
|
187
|
+
"type": "number",
|
|
188
|
+
"minimum": 0,
|
|
189
|
+
"maximum": 100
|
|
190
|
+
},
|
|
191
|
+
"mutants_total": {
|
|
192
|
+
"type": "integer",
|
|
193
|
+
"minimum": 0
|
|
194
|
+
},
|
|
195
|
+
"mutants_killed": {
|
|
196
|
+
"type": "integer",
|
|
197
|
+
"minimum": 0
|
|
198
|
+
},
|
|
199
|
+
"mutants_survived": {
|
|
200
|
+
"type": "integer",
|
|
201
|
+
"minimum": 0
|
|
202
|
+
},
|
|
203
|
+
"tool": {
|
|
204
|
+
"type": "string"
|
|
205
|
+
},
|
|
206
|
+
"status": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"enum": [
|
|
209
|
+
"passed",
|
|
210
|
+
"failed",
|
|
211
|
+
"skipped"
|
|
212
|
+
]
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"required": [
|
|
216
|
+
"score_pct",
|
|
217
|
+
"threshold_pct",
|
|
218
|
+
"status"
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
"sandbox_isolation_tier": {
|
|
222
|
+
"type": "string",
|
|
223
|
+
"enum": [
|
|
224
|
+
"tier_0_ephemeral_container",
|
|
225
|
+
"tier_1_isolated_microvm",
|
|
226
|
+
"tier_2_airgapped_sandbox",
|
|
227
|
+
"local_dev_workspace"
|
|
228
|
+
],
|
|
229
|
+
"description": "Environment isolation tier where tests were executed."
|
|
230
|
+
},
|
|
231
|
+
"reproduction_test_verified": {
|
|
232
|
+
"type": "boolean",
|
|
233
|
+
"description": "For bug fixes: confirms that a failing reproduction test was verified Red prior to code modification."
|
|
234
|
+
},
|
|
235
|
+
"blast_radius_assessment": {
|
|
236
|
+
"type": "object",
|
|
237
|
+
"description": "Verification of bounded failure domain during test execution.",
|
|
238
|
+
"properties": {
|
|
239
|
+
"verified_failure_domain": {
|
|
240
|
+
"type": "string"
|
|
241
|
+
},
|
|
242
|
+
"cross_boundary_impact_detected": {
|
|
243
|
+
"type": "boolean"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"required": [
|
|
247
|
+
"verified_failure_domain",
|
|
248
|
+
"cross_boundary_impact_detected"
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
"contract_testing": {
|
|
252
|
+
"type": "object",
|
|
253
|
+
"description": "Consumer-Driven Contract Testing (PactV3, buf breaking, oasdiff) verification.",
|
|
254
|
+
"properties": {
|
|
255
|
+
"pact_matrix_status": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"enum": [
|
|
258
|
+
"passed",
|
|
259
|
+
"failed",
|
|
260
|
+
"skipped"
|
|
261
|
+
]
|
|
262
|
+
},
|
|
263
|
+
"breaking_changes_detected": {
|
|
264
|
+
"type": "boolean"
|
|
265
|
+
},
|
|
266
|
+
"can_i_deploy": {
|
|
267
|
+
"type": "boolean"
|
|
268
|
+
},
|
|
269
|
+
"tool": {
|
|
270
|
+
"type": "string"
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"ai_evaluation": {
|
|
275
|
+
"type": "object",
|
|
276
|
+
"description": "Calibrated LLM and agentic evaluation metrics.",
|
|
277
|
+
"properties": {
|
|
278
|
+
"g_eval_alignment_score": {
|
|
279
|
+
"type": "number",
|
|
280
|
+
"minimum": 0,
|
|
281
|
+
"maximum": 100
|
|
282
|
+
},
|
|
283
|
+
"rag_triad": {
|
|
284
|
+
"type": "object",
|
|
285
|
+
"properties": {
|
|
286
|
+
"faithfulness": {
|
|
287
|
+
"type": "number",
|
|
288
|
+
"minimum": 0,
|
|
289
|
+
"maximum": 1
|
|
290
|
+
},
|
|
291
|
+
"context_precision": {
|
|
292
|
+
"type": "number",
|
|
293
|
+
"minimum": 0,
|
|
294
|
+
"maximum": 1
|
|
295
|
+
},
|
|
296
|
+
"context_recall": {
|
|
297
|
+
"type": "number",
|
|
298
|
+
"minimum": 0,
|
|
299
|
+
"maximum": 1
|
|
300
|
+
},
|
|
301
|
+
"answer_relevancy": {
|
|
302
|
+
"type": "number",
|
|
303
|
+
"minimum": 0,
|
|
304
|
+
"maximum": 1
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"agent_trajectory_passed": {
|
|
309
|
+
"type": "boolean"
|
|
310
|
+
},
|
|
311
|
+
"loop_detection_passed": {
|
|
312
|
+
"type": "boolean"
|
|
313
|
+
},
|
|
314
|
+
"promptfoo_redteam_passed": {
|
|
315
|
+
"type": "boolean"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"observability_testing": {
|
|
320
|
+
"type": "object",
|
|
321
|
+
"description": "Observability-Driven Testing (Tracetest, OpenTelemetry, N+1 query counters).",
|
|
322
|
+
"properties": {
|
|
323
|
+
"trace_assertions_passed": {
|
|
324
|
+
"type": "boolean"
|
|
325
|
+
},
|
|
326
|
+
"w3c_traceparent_propagated": {
|
|
327
|
+
"type": "boolean"
|
|
328
|
+
},
|
|
329
|
+
"n_plus_one_queries_detected": {
|
|
330
|
+
"type": "boolean"
|
|
331
|
+
},
|
|
332
|
+
"query_budget_exceeded": {
|
|
333
|
+
"type": "boolean"
|
|
334
|
+
},
|
|
335
|
+
"tool": {
|
|
336
|
+
"type": "string"
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"accessibility_audit": {
|
|
341
|
+
"type": "object",
|
|
342
|
+
"description": "Automated and manual WCAG accessibility audit findings.",
|
|
343
|
+
"properties": {
|
|
344
|
+
"wcag_standard": {
|
|
345
|
+
"type": "string"
|
|
346
|
+
},
|
|
347
|
+
"violations_count": {
|
|
348
|
+
"type": "integer",
|
|
349
|
+
"minimum": 0
|
|
350
|
+
},
|
|
351
|
+
"critical_violations": {
|
|
352
|
+
"type": "integer",
|
|
353
|
+
"minimum": 0
|
|
354
|
+
},
|
|
355
|
+
"passed": {
|
|
356
|
+
"type": "boolean"
|
|
357
|
+
},
|
|
358
|
+
"tool": {
|
|
359
|
+
"type": "string"
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"chaos_injection": {
|
|
364
|
+
"type": "object",
|
|
365
|
+
"description": "Shift-left fault injection and resilience testing (Toxiproxy, Chaos Mesh).",
|
|
366
|
+
"properties": {
|
|
367
|
+
"fault_type": {
|
|
368
|
+
"type": "string"
|
|
369
|
+
},
|
|
370
|
+
"circuit_breaker_transition_verified": {
|
|
371
|
+
"type": "boolean"
|
|
372
|
+
},
|
|
373
|
+
"blast_radius_contained": {
|
|
374
|
+
"type": "boolean"
|
|
375
|
+
},
|
|
376
|
+
"tool": {
|
|
377
|
+
"type": "string"
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"performance_slo": {
|
|
382
|
+
"type": "object",
|
|
383
|
+
"description": "Performance and load test SLO gates (k6, Locust).",
|
|
384
|
+
"properties": {
|
|
385
|
+
"p95_latency_ms": {
|
|
386
|
+
"type": "number",
|
|
387
|
+
"minimum": 0
|
|
388
|
+
},
|
|
389
|
+
"p99_latency_ms": {
|
|
390
|
+
"type": "number",
|
|
391
|
+
"minimum": 0
|
|
392
|
+
},
|
|
393
|
+
"error_rate_pct": {
|
|
394
|
+
"type": "number",
|
|
395
|
+
"minimum": 0,
|
|
396
|
+
"maximum": 100
|
|
397
|
+
},
|
|
398
|
+
"slo_threshold_met": {
|
|
399
|
+
"type": "boolean"
|
|
400
|
+
},
|
|
401
|
+
"tool": {
|
|
402
|
+
"type": "string"
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
"clean_architecture_verification": {
|
|
407
|
+
"type": "object",
|
|
408
|
+
"description": "Clean architecture, database parity, and concurrency verification.",
|
|
409
|
+
"properties": {
|
|
410
|
+
"race_detector_passed": {
|
|
411
|
+
"type": "boolean"
|
|
412
|
+
},
|
|
413
|
+
"goroutine_leak_clean": {
|
|
414
|
+
"type": "boolean"
|
|
415
|
+
},
|
|
416
|
+
"layer_isolation_verified": {
|
|
417
|
+
"type": "boolean"
|
|
418
|
+
},
|
|
419
|
+
"ephemeral_db_rollback_isolated": {
|
|
420
|
+
"type": "boolean"
|
|
421
|
+
},
|
|
422
|
+
"property_based_testing_passed": {
|
|
423
|
+
"type": "boolean"
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"required": [
|
|
429
|
+
"contract_type",
|
|
430
|
+
"ticket_ref",
|
|
431
|
+
"environment",
|
|
432
|
+
"status",
|
|
433
|
+
"scenarios_executed",
|
|
434
|
+
"release_recommendation"
|
|
435
|
+
],
|
|
436
|
+
"examples": [
|
|
437
|
+
{
|
|
438
|
+
"contract_type": "test-report",
|
|
439
|
+
"report_id": "2026-06-12-change-store-order-cod",
|
|
440
|
+
"created_at": "2026-06-12T14:00:00+07:00",
|
|
441
|
+
"ticket_ref": "2026-06-12-change-store-order-cod",
|
|
442
|
+
"delivery_plan_ref": "2026-06-12-change-store-order-cod",
|
|
443
|
+
"environment": "staging",
|
|
444
|
+
"test_types_executed": [
|
|
445
|
+
"unit",
|
|
446
|
+
"integration",
|
|
447
|
+
"smoke"
|
|
448
|
+
],
|
|
449
|
+
"status": "passed",
|
|
450
|
+
"scenarios_executed": [
|
|
451
|
+
{
|
|
452
|
+
"name": "COD order assigned to store courier",
|
|
453
|
+
"type": "integration",
|
|
454
|
+
"passed": true,
|
|
455
|
+
"evidence": "CI run #1042, test NewLogicAutoAssignTest::testCodOrderAssignedToStoreCourier — passed",
|
|
456
|
+
"notes": null
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "COD order with no store courier falls back",
|
|
460
|
+
"type": "integration",
|
|
461
|
+
"passed": true,
|
|
462
|
+
"evidence": "CI run #1042, test NewLogicAutoAssignTest::testCodOrderFallsBackToWarehouse — passed; warning log verified",
|
|
463
|
+
"notes": null
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "Non-COD order unaffected",
|
|
467
|
+
"type": "unit",
|
|
468
|
+
"passed": true,
|
|
469
|
+
"evidence": "CI run #1042 — all existing non-COD tests pass without modification",
|
|
470
|
+
"notes": null
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "Store service 503 fallback (code-review F-01)",
|
|
474
|
+
"type": "integration",
|
|
475
|
+
"passed": true,
|
|
476
|
+
"evidence": "Manual test with store-service stub returning 503 — fallback to warehouse confirmed; error logged with order_id",
|
|
477
|
+
"notes": "Added after code-review finding F-01 raised by Reviewer"
|
|
478
|
+
}
|
|
479
|
+
],
|
|
480
|
+
"defects": [],
|
|
481
|
+
"coverage_gaps": [
|
|
482
|
+
"Load test for COD routing under high batch volume — deferred to next sprint"
|
|
483
|
+
],
|
|
484
|
+
"residual_risk": "Batch performance under > 500 concurrent COD orders not validated. Low risk given current store volume.",
|
|
485
|
+
"release_recommendation": "ship",
|
|
486
|
+
"mitigation_notes": null,
|
|
487
|
+
"mutation_score": {
|
|
488
|
+
"score_pct": 82.0,
|
|
489
|
+
"threshold_pct": 75.0,
|
|
490
|
+
"mutants_total": 50,
|
|
491
|
+
"mutants_killed": 41,
|
|
492
|
+
"mutants_survived": 9,
|
|
493
|
+
"tool": "Stryker",
|
|
494
|
+
"status": "passed"
|
|
495
|
+
},
|
|
496
|
+
"sandbox_isolation_tier": "tier_0_ephemeral_container",
|
|
497
|
+
"reproduction_test_verified": true,
|
|
498
|
+
"blast_radius_assessment": {
|
|
499
|
+
"verified_failure_domain": "order_fulfillment",
|
|
500
|
+
"cross_boundary_impact_detected": false
|
|
501
|
+
},
|
|
502
|
+
"contract_testing": {
|
|
503
|
+
"pact_matrix_status": "passed",
|
|
504
|
+
"breaking_changes_detected": false,
|
|
505
|
+
"can_i_deploy": true,
|
|
506
|
+
"tool": "PactV3"
|
|
507
|
+
},
|
|
508
|
+
"observability_testing": {
|
|
509
|
+
"trace_assertions_passed": true,
|
|
510
|
+
"w3c_traceparent_propagated": true,
|
|
511
|
+
"n_plus_one_queries_detected": false,
|
|
512
|
+
"query_budget_exceeded": false,
|
|
513
|
+
"tool": "Tracetest"
|
|
514
|
+
},
|
|
515
|
+
"chaos_injection": {
|
|
516
|
+
"fault_type": "latency_jitter",
|
|
517
|
+
"circuit_breaker_transition_verified": true,
|
|
518
|
+
"blast_radius_contained": true,
|
|
519
|
+
"tool": "Toxiproxy"
|
|
520
|
+
},
|
|
521
|
+
"clean_architecture_verification": {
|
|
522
|
+
"race_detector_passed": true,
|
|
523
|
+
"goroutine_leak_clean": true,
|
|
524
|
+
"layer_isolation_verified": true,
|
|
525
|
+
"ephemeral_db_rollback_isolated": true,
|
|
526
|
+
"property_based_testing_passed": true
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
]
|
|
530
|
+
}
|