@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,338 +1,338 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "pull-request-spec",
|
|
4
|
-
"title": "Pull Request Specification",
|
|
5
|
-
"description": "Structured output defining a pull request specification for agentic SWE delivery. Encapsulates PR metadata, linked tickets, touched files, blast radius assessment, mutation score, sandbox isolation tier, test report ref, and reviewer attestations.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"contract_type": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"const": "pull-request-spec",
|
|
11
|
-
"description": "Machine-readable contract discriminator."
|
|
12
|
-
},
|
|
13
|
-
"pr_id": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "Unique identifier for the pull request or delivery package. E.g., PR-2026-06-12-cod-routing."
|
|
16
|
-
},
|
|
17
|
-
"title": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "Descriptive title of the pull request."
|
|
20
|
-
},
|
|
21
|
-
"ticket_ref": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"description": "Referenced feature-ticket.json ticket_id or bug ticket identifier."
|
|
24
|
-
},
|
|
25
|
-
"delivery_plan_ref": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"description": "Referenced technical-delivery-plan.json plan_id."
|
|
28
|
-
},
|
|
29
|
-
"source_branch": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"description": "Source git branch containing changes."
|
|
32
|
-
},
|
|
33
|
-
"target_branch": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "Target integration branch (e.g. main, release/v4.2)."
|
|
36
|
-
},
|
|
37
|
-
"author_role": {
|
|
38
|
-
"type": "string",
|
|
39
|
-
"description": "Primary role authoring the delivery slice."
|
|
40
|
-
},
|
|
41
|
-
"files_changed": {
|
|
42
|
-
"type": "array",
|
|
43
|
-
"description": "List of files modified, added, or deleted in this pull request.",
|
|
44
|
-
"items": {
|
|
45
|
-
"type": "object",
|
|
46
|
-
"properties": {
|
|
47
|
-
"path": {
|
|
48
|
-
"type": "string"
|
|
49
|
-
},
|
|
50
|
-
"action": {
|
|
51
|
-
"type": "string",
|
|
52
|
-
"enum": [
|
|
53
|
-
"add",
|
|
54
|
-
"modify",
|
|
55
|
-
"delete"
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
"summary": {
|
|
59
|
-
"type": "string"
|
|
60
|
-
},
|
|
61
|
-
"lines_added": {
|
|
62
|
-
"type": "integer"
|
|
63
|
-
},
|
|
64
|
-
"lines_deleted": {
|
|
65
|
-
"type": "integer"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"required": [
|
|
69
|
-
"path",
|
|
70
|
-
"action",
|
|
71
|
-
"summary"
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"blast_radius_assessment": {
|
|
76
|
-
"type": "object",
|
|
77
|
-
"description": "Assessment of potential failure domain and consumer impact.",
|
|
78
|
-
"properties": {
|
|
79
|
-
"impact_tier": {
|
|
80
|
-
"type": "string",
|
|
81
|
-
"enum": [
|
|
82
|
-
"isolated_component",
|
|
83
|
-
"service_level",
|
|
84
|
-
"cross_service",
|
|
85
|
-
"critical_infrastructure"
|
|
86
|
-
]
|
|
87
|
-
},
|
|
88
|
-
"failure_domains": {
|
|
89
|
-
"type": "array",
|
|
90
|
-
"items": {
|
|
91
|
-
"type": "string"
|
|
92
|
-
},
|
|
93
|
-
"description": "Bounded contexts or subsystems impacted."
|
|
94
|
-
},
|
|
95
|
-
"downstream_consumers_affected": {
|
|
96
|
-
"type": "array",
|
|
97
|
-
"items": {
|
|
98
|
-
"type": "string"
|
|
99
|
-
},
|
|
100
|
-
"description": "Services, message queues, or client apps dependent on changed behavior."
|
|
101
|
-
},
|
|
102
|
-
"data_blast_radius": {
|
|
103
|
-
"type": "string",
|
|
104
|
-
"enum": [
|
|
105
|
-
"read_only",
|
|
106
|
-
"isolated_write",
|
|
107
|
-
"schema_migration",
|
|
108
|
-
"irreversible_deletion"
|
|
109
|
-
]
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"required": [
|
|
113
|
-
"impact_tier",
|
|
114
|
-
"failure_domains"
|
|
115
|
-
]
|
|
116
|
-
},
|
|
117
|
-
"sandbox_isolation_tier": {
|
|
118
|
-
"type": "string",
|
|
119
|
-
"enum": [
|
|
120
|
-
"tier_0_ephemeral_container",
|
|
121
|
-
"tier_1_isolated_microvm",
|
|
122
|
-
"tier_2_airgapped_sandbox",
|
|
123
|
-
"local_dev_workspace"
|
|
124
|
-
],
|
|
125
|
-
"description": "Environment isolation tier used for test execution and verification."
|
|
126
|
-
},
|
|
127
|
-
"mutation_score": {
|
|
128
|
-
"type": "object",
|
|
129
|
-
"description": "Mutation testing verification results.",
|
|
130
|
-
"properties": {
|
|
131
|
-
"score_pct": {
|
|
132
|
-
"type": "number",
|
|
133
|
-
"minimum": 0,
|
|
134
|
-
"maximum": 100
|
|
135
|
-
},
|
|
136
|
-
"threshold_pct": {
|
|
137
|
-
"type": "number",
|
|
138
|
-
"minimum": 0,
|
|
139
|
-
"maximum": 100
|
|
140
|
-
},
|
|
141
|
-
"mutants_total": {
|
|
142
|
-
"type": "integer",
|
|
143
|
-
"minimum": 0
|
|
144
|
-
},
|
|
145
|
-
"mutants_killed": {
|
|
146
|
-
"type": "integer",
|
|
147
|
-
"minimum": 0
|
|
148
|
-
},
|
|
149
|
-
"mutants_survived": {
|
|
150
|
-
"type": "integer",
|
|
151
|
-
"minimum": 0
|
|
152
|
-
},
|
|
153
|
-
"tool": {
|
|
154
|
-
"type": "string"
|
|
155
|
-
},
|
|
156
|
-
"status": {
|
|
157
|
-
"type": "string",
|
|
158
|
-
"enum": [
|
|
159
|
-
"passed",
|
|
160
|
-
"failed",
|
|
161
|
-
"skipped"
|
|
162
|
-
]
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
"required": [
|
|
166
|
-
"score_pct",
|
|
167
|
-
"threshold_pct",
|
|
168
|
-
"status"
|
|
169
|
-
]
|
|
170
|
-
},
|
|
171
|
-
"security_checks": {
|
|
172
|
-
"type": "object",
|
|
173
|
-
"description": "Static analysis and OWASP ASI security audit outcomes.",
|
|
174
|
-
"properties": {
|
|
175
|
-
"static_analysis_passed": {
|
|
176
|
-
"type": "boolean"
|
|
177
|
-
},
|
|
178
|
-
"owasp_asi_checked": {
|
|
179
|
-
"type": "boolean"
|
|
180
|
-
},
|
|
181
|
-
"findings_count": {
|
|
182
|
-
"type": "integer",
|
|
183
|
-
"minimum": 0
|
|
184
|
-
},
|
|
185
|
-
"details": {
|
|
186
|
-
"type": "string"
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"required": [
|
|
190
|
-
"static_analysis_passed",
|
|
191
|
-
"owasp_asi_checked"
|
|
192
|
-
]
|
|
193
|
-
},
|
|
194
|
-
"execution_proof": {
|
|
195
|
-
"type": "object",
|
|
196
|
-
"description": "Artifact references and verification evidence.",
|
|
197
|
-
"properties": {
|
|
198
|
-
"ci_run_url": {
|
|
199
|
-
"type": "string"
|
|
200
|
-
},
|
|
201
|
-
"test_report_ref": {
|
|
202
|
-
"type": "string"
|
|
203
|
-
},
|
|
204
|
-
"log_artifact_path": {
|
|
205
|
-
"type": "string"
|
|
206
|
-
},
|
|
207
|
-
"reproduction_test_verified": {
|
|
208
|
-
"type": "boolean"
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
"required": [
|
|
212
|
-
"test_report_ref",
|
|
213
|
-
"log_artifact_path"
|
|
214
|
-
]
|
|
215
|
-
},
|
|
216
|
-
"adversarial_review_signoff": {
|
|
217
|
-
"type": "object",
|
|
218
|
-
"description": "Attestation from adversarial code reviewer.",
|
|
219
|
-
"properties": {
|
|
220
|
-
"reviewer_role": {
|
|
221
|
-
"type": "string"
|
|
222
|
-
},
|
|
223
|
-
"status": {
|
|
224
|
-
"type": "string",
|
|
225
|
-
"enum": [
|
|
226
|
-
"approved",
|
|
227
|
-
"changes_requested",
|
|
228
|
-
"escalate_hitl"
|
|
229
|
-
]
|
|
230
|
-
},
|
|
231
|
-
"review_finding_ref": {
|
|
232
|
-
"type": "string"
|
|
233
|
-
},
|
|
234
|
-
"notes": {
|
|
235
|
-
"type": "string"
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
"required": [
|
|
239
|
-
"reviewer_role",
|
|
240
|
-
"status"
|
|
241
|
-
]
|
|
242
|
-
},
|
|
243
|
-
"hitl_approval_status": {
|
|
244
|
-
"type": "string",
|
|
245
|
-
"enum": [
|
|
246
|
-
"approved",
|
|
247
|
-
"pending",
|
|
248
|
-
"rejected",
|
|
249
|
-
"not_required"
|
|
250
|
-
],
|
|
251
|
-
"description": "Human-in-the-loop sign-off status."
|
|
252
|
-
},
|
|
253
|
-
"notes": {
|
|
254
|
-
"type": "string",
|
|
255
|
-
"description": "Additional contextual notes or rollout instructions."
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
"required": [
|
|
259
|
-
"contract_type",
|
|
260
|
-
"pr_id",
|
|
261
|
-
"title",
|
|
262
|
-
"ticket_ref",
|
|
263
|
-
"blast_radius_assessment",
|
|
264
|
-
"sandbox_isolation_tier",
|
|
265
|
-
"execution_proof",
|
|
266
|
-
"hitl_approval_status"
|
|
267
|
-
],
|
|
268
|
-
"examples": [
|
|
269
|
-
{
|
|
270
|
-
"contract_type": "pull-request-spec",
|
|
271
|
-
"pr_id": "PR-2026-06-12-change-store-order-cod",
|
|
272
|
-
"title": "feat(orders): route COD store orders to local store courier",
|
|
273
|
-
"ticket_ref": "2026-06-12-change-store-order-cod",
|
|
274
|
-
"delivery_plan_ref": "2026-06-12-change-store-order-cod",
|
|
275
|
-
"source_branch": "feat/cod-store-courier-routing",
|
|
276
|
-
"target_branch": "main",
|
|
277
|
-
"author_role": "Backend Developer",
|
|
278
|
-
"files_changed": [
|
|
279
|
-
{
|
|
280
|
-
"path": "services/order-service/src/routing/CourierAssigner.ts",
|
|
281
|
-
"action": "modify",
|
|
282
|
-
"summary": "Add store courier lookup and fallback logic for COD orders",
|
|
283
|
-
"lines_added": 48,
|
|
284
|
-
"lines_deleted": 6
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"path": "services/order-service/tests/routing/CourierAssignerTest.ts",
|
|
288
|
-
"action": "add",
|
|
289
|
-
"summary": "Unit and property tests for store courier assignment",
|
|
290
|
-
"lines_added": 120,
|
|
291
|
-
"lines_deleted": 0
|
|
292
|
-
}
|
|
293
|
-
],
|
|
294
|
-
"blast_radius_assessment": {
|
|
295
|
-
"impact_tier": "isolated_component",
|
|
296
|
-
"failure_domains": [
|
|
297
|
-
"order_routing",
|
|
298
|
-
"store_courier_pool"
|
|
299
|
-
],
|
|
300
|
-
"downstream_consumers_affected": [
|
|
301
|
-
"courier-mobile-app",
|
|
302
|
-
"warehouse-dispatch-worker"
|
|
303
|
-
],
|
|
304
|
-
"data_blast_radius": "isolated_write"
|
|
305
|
-
},
|
|
306
|
-
"sandbox_isolation_tier": "tier_0_ephemeral_container",
|
|
307
|
-
"mutation_score": {
|
|
308
|
-
"score_pct": 84.5,
|
|
309
|
-
"threshold_pct": 75.0,
|
|
310
|
-
"mutants_total": 58,
|
|
311
|
-
"mutants_killed": 49,
|
|
312
|
-
"mutants_survived": 9,
|
|
313
|
-
"tool": "Stryker",
|
|
314
|
-
"status": "passed"
|
|
315
|
-
},
|
|
316
|
-
"security_checks": {
|
|
317
|
-
"static_analysis_passed": true,
|
|
318
|
-
"owasp_asi_checked": true,
|
|
319
|
-
"findings_count": 0,
|
|
320
|
-
"details": "Zero static analysis warnings. OWASP ASI01-ASI10 audited with 0 findings."
|
|
321
|
-
},
|
|
322
|
-
"execution_proof": {
|
|
323
|
-
"ci_run_url": "https://ci.internal.example.com/builds/1042",
|
|
324
|
-
"test_report_ref": "2026-06-12-change-store-order-cod",
|
|
325
|
-
"log_artifact_path": "artifacts/logs/2026-06-12-ci-run-1042.log",
|
|
326
|
-
"reproduction_test_verified": true
|
|
327
|
-
},
|
|
328
|
-
"adversarial_review_signoff": {
|
|
329
|
-
"reviewer_role": "Reviewer",
|
|
330
|
-
"status": "approved",
|
|
331
|
-
"review_finding_ref": "2026-06-12-change-store-order-cod",
|
|
332
|
-
"notes": "Clean minimal change. Verified fallback behavior and mutation score > 75%."
|
|
333
|
-
},
|
|
334
|
-
"hitl_approval_status": "approved",
|
|
335
|
-
"notes": "Ready for staged canary deployment behind OpenFeature flag store-cod-routing."
|
|
336
|
-
}
|
|
337
|
-
]
|
|
338
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "pull-request-spec",
|
|
4
|
+
"title": "Pull Request Specification",
|
|
5
|
+
"description": "Structured output defining a pull request specification for agentic SWE delivery. Encapsulates PR metadata, linked tickets, touched files, blast radius assessment, mutation score, sandbox isolation tier, test report ref, and reviewer attestations.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"contract_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "pull-request-spec",
|
|
11
|
+
"description": "Machine-readable contract discriminator."
|
|
12
|
+
},
|
|
13
|
+
"pr_id": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "Unique identifier for the pull request or delivery package. E.g., PR-2026-06-12-cod-routing."
|
|
16
|
+
},
|
|
17
|
+
"title": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "Descriptive title of the pull request."
|
|
20
|
+
},
|
|
21
|
+
"ticket_ref": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "Referenced feature-ticket.json ticket_id or bug ticket identifier."
|
|
24
|
+
},
|
|
25
|
+
"delivery_plan_ref": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Referenced technical-delivery-plan.json plan_id."
|
|
28
|
+
},
|
|
29
|
+
"source_branch": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "Source git branch containing changes."
|
|
32
|
+
},
|
|
33
|
+
"target_branch": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "Target integration branch (e.g. main, release/v4.2)."
|
|
36
|
+
},
|
|
37
|
+
"author_role": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"description": "Primary role authoring the delivery slice."
|
|
40
|
+
},
|
|
41
|
+
"files_changed": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"description": "List of files modified, added, or deleted in this pull request.",
|
|
44
|
+
"items": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"properties": {
|
|
47
|
+
"path": {
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
"action": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"enum": [
|
|
53
|
+
"add",
|
|
54
|
+
"modify",
|
|
55
|
+
"delete"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"summary": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
"lines_added": {
|
|
62
|
+
"type": "integer"
|
|
63
|
+
},
|
|
64
|
+
"lines_deleted": {
|
|
65
|
+
"type": "integer"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"path",
|
|
70
|
+
"action",
|
|
71
|
+
"summary"
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"blast_radius_assessment": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"description": "Assessment of potential failure domain and consumer impact.",
|
|
78
|
+
"properties": {
|
|
79
|
+
"impact_tier": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"enum": [
|
|
82
|
+
"isolated_component",
|
|
83
|
+
"service_level",
|
|
84
|
+
"cross_service",
|
|
85
|
+
"critical_infrastructure"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"failure_domains": {
|
|
89
|
+
"type": "array",
|
|
90
|
+
"items": {
|
|
91
|
+
"type": "string"
|
|
92
|
+
},
|
|
93
|
+
"description": "Bounded contexts or subsystems impacted."
|
|
94
|
+
},
|
|
95
|
+
"downstream_consumers_affected": {
|
|
96
|
+
"type": "array",
|
|
97
|
+
"items": {
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"description": "Services, message queues, or client apps dependent on changed behavior."
|
|
101
|
+
},
|
|
102
|
+
"data_blast_radius": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"enum": [
|
|
105
|
+
"read_only",
|
|
106
|
+
"isolated_write",
|
|
107
|
+
"schema_migration",
|
|
108
|
+
"irreversible_deletion"
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": [
|
|
113
|
+
"impact_tier",
|
|
114
|
+
"failure_domains"
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"sandbox_isolation_tier": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"enum": [
|
|
120
|
+
"tier_0_ephemeral_container",
|
|
121
|
+
"tier_1_isolated_microvm",
|
|
122
|
+
"tier_2_airgapped_sandbox",
|
|
123
|
+
"local_dev_workspace"
|
|
124
|
+
],
|
|
125
|
+
"description": "Environment isolation tier used for test execution and verification."
|
|
126
|
+
},
|
|
127
|
+
"mutation_score": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"description": "Mutation testing verification results.",
|
|
130
|
+
"properties": {
|
|
131
|
+
"score_pct": {
|
|
132
|
+
"type": "number",
|
|
133
|
+
"minimum": 0,
|
|
134
|
+
"maximum": 100
|
|
135
|
+
},
|
|
136
|
+
"threshold_pct": {
|
|
137
|
+
"type": "number",
|
|
138
|
+
"minimum": 0,
|
|
139
|
+
"maximum": 100
|
|
140
|
+
},
|
|
141
|
+
"mutants_total": {
|
|
142
|
+
"type": "integer",
|
|
143
|
+
"minimum": 0
|
|
144
|
+
},
|
|
145
|
+
"mutants_killed": {
|
|
146
|
+
"type": "integer",
|
|
147
|
+
"minimum": 0
|
|
148
|
+
},
|
|
149
|
+
"mutants_survived": {
|
|
150
|
+
"type": "integer",
|
|
151
|
+
"minimum": 0
|
|
152
|
+
},
|
|
153
|
+
"tool": {
|
|
154
|
+
"type": "string"
|
|
155
|
+
},
|
|
156
|
+
"status": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"enum": [
|
|
159
|
+
"passed",
|
|
160
|
+
"failed",
|
|
161
|
+
"skipped"
|
|
162
|
+
]
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"required": [
|
|
166
|
+
"score_pct",
|
|
167
|
+
"threshold_pct",
|
|
168
|
+
"status"
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
"security_checks": {
|
|
172
|
+
"type": "object",
|
|
173
|
+
"description": "Static analysis and OWASP ASI security audit outcomes.",
|
|
174
|
+
"properties": {
|
|
175
|
+
"static_analysis_passed": {
|
|
176
|
+
"type": "boolean"
|
|
177
|
+
},
|
|
178
|
+
"owasp_asi_checked": {
|
|
179
|
+
"type": "boolean"
|
|
180
|
+
},
|
|
181
|
+
"findings_count": {
|
|
182
|
+
"type": "integer",
|
|
183
|
+
"minimum": 0
|
|
184
|
+
},
|
|
185
|
+
"details": {
|
|
186
|
+
"type": "string"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"required": [
|
|
190
|
+
"static_analysis_passed",
|
|
191
|
+
"owasp_asi_checked"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
"execution_proof": {
|
|
195
|
+
"type": "object",
|
|
196
|
+
"description": "Artifact references and verification evidence.",
|
|
197
|
+
"properties": {
|
|
198
|
+
"ci_run_url": {
|
|
199
|
+
"type": "string"
|
|
200
|
+
},
|
|
201
|
+
"test_report_ref": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
},
|
|
204
|
+
"log_artifact_path": {
|
|
205
|
+
"type": "string"
|
|
206
|
+
},
|
|
207
|
+
"reproduction_test_verified": {
|
|
208
|
+
"type": "boolean"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"required": [
|
|
212
|
+
"test_report_ref",
|
|
213
|
+
"log_artifact_path"
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
"adversarial_review_signoff": {
|
|
217
|
+
"type": "object",
|
|
218
|
+
"description": "Attestation from adversarial code reviewer.",
|
|
219
|
+
"properties": {
|
|
220
|
+
"reviewer_role": {
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
"status": {
|
|
224
|
+
"type": "string",
|
|
225
|
+
"enum": [
|
|
226
|
+
"approved",
|
|
227
|
+
"changes_requested",
|
|
228
|
+
"escalate_hitl"
|
|
229
|
+
]
|
|
230
|
+
},
|
|
231
|
+
"review_finding_ref": {
|
|
232
|
+
"type": "string"
|
|
233
|
+
},
|
|
234
|
+
"notes": {
|
|
235
|
+
"type": "string"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"required": [
|
|
239
|
+
"reviewer_role",
|
|
240
|
+
"status"
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
"hitl_approval_status": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"enum": [
|
|
246
|
+
"approved",
|
|
247
|
+
"pending",
|
|
248
|
+
"rejected",
|
|
249
|
+
"not_required"
|
|
250
|
+
],
|
|
251
|
+
"description": "Human-in-the-loop sign-off status."
|
|
252
|
+
},
|
|
253
|
+
"notes": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"description": "Additional contextual notes or rollout instructions."
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"required": [
|
|
259
|
+
"contract_type",
|
|
260
|
+
"pr_id",
|
|
261
|
+
"title",
|
|
262
|
+
"ticket_ref",
|
|
263
|
+
"blast_radius_assessment",
|
|
264
|
+
"sandbox_isolation_tier",
|
|
265
|
+
"execution_proof",
|
|
266
|
+
"hitl_approval_status"
|
|
267
|
+
],
|
|
268
|
+
"examples": [
|
|
269
|
+
{
|
|
270
|
+
"contract_type": "pull-request-spec",
|
|
271
|
+
"pr_id": "PR-2026-06-12-change-store-order-cod",
|
|
272
|
+
"title": "feat(orders): route COD store orders to local store courier",
|
|
273
|
+
"ticket_ref": "2026-06-12-change-store-order-cod",
|
|
274
|
+
"delivery_plan_ref": "2026-06-12-change-store-order-cod",
|
|
275
|
+
"source_branch": "feat/cod-store-courier-routing",
|
|
276
|
+
"target_branch": "main",
|
|
277
|
+
"author_role": "Backend Developer",
|
|
278
|
+
"files_changed": [
|
|
279
|
+
{
|
|
280
|
+
"path": "services/order-service/src/routing/CourierAssigner.ts",
|
|
281
|
+
"action": "modify",
|
|
282
|
+
"summary": "Add store courier lookup and fallback logic for COD orders",
|
|
283
|
+
"lines_added": 48,
|
|
284
|
+
"lines_deleted": 6
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"path": "services/order-service/tests/routing/CourierAssignerTest.ts",
|
|
288
|
+
"action": "add",
|
|
289
|
+
"summary": "Unit and property tests for store courier assignment",
|
|
290
|
+
"lines_added": 120,
|
|
291
|
+
"lines_deleted": 0
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"blast_radius_assessment": {
|
|
295
|
+
"impact_tier": "isolated_component",
|
|
296
|
+
"failure_domains": [
|
|
297
|
+
"order_routing",
|
|
298
|
+
"store_courier_pool"
|
|
299
|
+
],
|
|
300
|
+
"downstream_consumers_affected": [
|
|
301
|
+
"courier-mobile-app",
|
|
302
|
+
"warehouse-dispatch-worker"
|
|
303
|
+
],
|
|
304
|
+
"data_blast_radius": "isolated_write"
|
|
305
|
+
},
|
|
306
|
+
"sandbox_isolation_tier": "tier_0_ephemeral_container",
|
|
307
|
+
"mutation_score": {
|
|
308
|
+
"score_pct": 84.5,
|
|
309
|
+
"threshold_pct": 75.0,
|
|
310
|
+
"mutants_total": 58,
|
|
311
|
+
"mutants_killed": 49,
|
|
312
|
+
"mutants_survived": 9,
|
|
313
|
+
"tool": "Stryker",
|
|
314
|
+
"status": "passed"
|
|
315
|
+
},
|
|
316
|
+
"security_checks": {
|
|
317
|
+
"static_analysis_passed": true,
|
|
318
|
+
"owasp_asi_checked": true,
|
|
319
|
+
"findings_count": 0,
|
|
320
|
+
"details": "Zero static analysis warnings. OWASP ASI01-ASI10 audited with 0 findings."
|
|
321
|
+
},
|
|
322
|
+
"execution_proof": {
|
|
323
|
+
"ci_run_url": "https://ci.internal.example.com/builds/1042",
|
|
324
|
+
"test_report_ref": "2026-06-12-change-store-order-cod",
|
|
325
|
+
"log_artifact_path": "artifacts/logs/2026-06-12-ci-run-1042.log",
|
|
326
|
+
"reproduction_test_verified": true
|
|
327
|
+
},
|
|
328
|
+
"adversarial_review_signoff": {
|
|
329
|
+
"reviewer_role": "Reviewer",
|
|
330
|
+
"status": "approved",
|
|
331
|
+
"review_finding_ref": "2026-06-12-change-store-order-cod",
|
|
332
|
+
"notes": "Clean minimal change. Verified fallback behavior and mutation score > 75%."
|
|
333
|
+
},
|
|
334
|
+
"hitl_approval_status": "approved",
|
|
335
|
+
"notes": "Ready for staged canary deployment behind OpenFeature flag store-cod-routing."
|
|
336
|
+
}
|
|
337
|
+
]
|
|
338
|
+
}
|