@vesviet/agent-skills 5.6.0 → 5.6.1

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.
Files changed (113) hide show
  1. package/INDEX.md +1 -1
  2. package/README.md +1 -1
  3. package/VERSION +1 -1
  4. package/adapters/antigravity/a2a-config.template.yaml +1 -1
  5. package/adapters/antigravity/role-skill-index.json +1 -1
  6. package/adapters/claude/CLAUDE_ADAPTER.md +1 -1
  7. package/adapters/cursor/README.md +185 -185
  8. package/bin/agent-skills.mjs +17 -14
  9. package/core/contracts/schemas/api-contract-spec.json +191 -191
  10. package/core/contracts/schemas/feature-ticket.json +1293 -1293
  11. package/core/contracts/schemas/pull-request-spec.json +338 -338
  12. package/core/contracts/schemas/references/detailed/01-solution-and-governance.md +19 -19
  13. package/core/contracts/schemas/references/detailed/02-engineering-delivery.md +93 -93
  14. package/core/contracts/schemas/references/detailed/04-finance-accounting-and-compliance.md +54 -54
  15. package/core/contracts/schemas/references/detailed/05-design-and-content.md +92 -92
  16. package/core/contracts/schemas/references/detailed/06-seo-and-publishing.md +48 -48
  17. package/core/contracts/schemas/references/detailed/07-a2a-protocol.md +85 -85
  18. package/core/contracts/schemas/test-report.json +530 -530
  19. package/core/roles/references/business-analyst-responsibilities.md +207 -207
  20. package/core/roles/references/frontend-developer-responsibilities.md +275 -275
  21. package/core/roles/system-engineer.md +465 -465
  22. package/core/skills/agent/agent-memory-compaction/references/anchored-schema-and-compaction-algorithms.md +141 -141
  23. package/core/skills/backend/build-mcp-server/SKILL.md +100 -100
  24. package/core/skills/backend/implement-structured-outputs/SKILL.md +94 -94
  25. package/core/skills/business/elicit-requirements/SKILL.md +102 -102
  26. package/core/skills/business/elicit-requirements/references/elicitation-techniques-and-babok-criteria.md +60 -60
  27. package/core/skills/business/trace-requirements-impact/SKILL.md +97 -97
  28. package/core/skills/business/trace-requirements-impact/references/rtm-graph-and-prioritization-models.md +109 -109
  29. package/core/skills/business/write-use-cases/SKILL.md +106 -106
  30. package/core/skills/business/write-use-cases/references/cockburn-scoping-and-13-field-template.md +135 -135
  31. package/core/skills/document/pptx/scripts/add_slide.py +0 -0
  32. package/core/skills/document/pptx/scripts/clean.py +0 -0
  33. package/core/skills/document/pptx/scripts/thumbnail.py +0 -0
  34. package/core/skills/document/xlsx/scripts/recalc.py +0 -0
  35. package/core/skills/documentation/write-documentation/SKILL.md +143 -143
  36. package/core/skills/documentation/write-tech-radar/SKILL.md +149 -149
  37. package/core/skills/foundation/accessibility-review/SKILL.md +160 -160
  38. package/core/skills/foundation/release-notes/SKILL.md +192 -192
  39. package/core/skills/foundation/webapp-server-runner/scripts/with_server.py +0 -0
  40. package/core/skills/foundation/write-product-brief/SKILL.md +160 -160
  41. package/core/skills/platform/cloudflare-email-service/SKILL.md +166 -166
  42. package/core/skills/platform/cloudflare-email-service/references/routing.md +199 -199
  43. package/core/skills/platform/debug-workers-edge/SKILL.md +111 -111
  44. package/core/skills/platform/sandbox-sdk/SKILL.md +183 -183
  45. package/core/skills/platform/setup-gpu-finops/SKILL.md +107 -107
  46. package/core/skills/platform/setup-llm-gateway/SKILL.md +108 -108
  47. package/core/skills/platform/turnstile-spin/SKILL.md +118 -118
  48. package/core/skills/platform/turnstile-spin/scripts/auth-probe.sh +0 -0
  49. package/core/skills/platform/turnstile-spin/scripts/fetch-secret.sh +0 -0
  50. package/core/skills/platform/turnstile-spin/scripts/persist-skill.sh +0 -0
  51. package/core/skills/platform/turnstile-spin/scripts/validate.sh +0 -0
  52. package/core/skills/platform/turnstile-spin/scripts/widget-create.sh +0 -0
  53. package/core/skills/platform/turnstile-spin/scripts/worker-deploy.sh +0 -0
  54. package/core/skills/platform/turnstile-spin/templates/worker/src/index.ts +199 -199
  55. package/core/skills/platform/turnstile-spin/templates/worker/wrangler.toml +31 -31
  56. package/core/skills/platform/web-perf/SKILL.md +151 -151
  57. package/core/skills/platform/workers-best-practices/references/rules.md +463 -463
  58. package/core/skills/product/build-story-map/SKILL.md +104 -104
  59. package/core/skills/product/build-story-map/references/story-mapping-and-cpm-scheduling.md +101 -101
  60. package/core/skills/product/define-product-strategy/SKILL.md +105 -105
  61. package/core/skills/product/define-product-strategy/references/strategy-frameworks-and-pr-faq.md +142 -142
  62. package/core/skills/product/model-saas-metrics/SKILL.md +104 -104
  63. package/core/skills/product/model-saas-metrics/references/saas-unit-economics-and-pricing.md +110 -110
  64. package/core/skills/product/prioritize-roadmap/SKILL.md +106 -106
  65. package/core/skills/product/prioritize-roadmap/references/prioritization-scoring-and-kill-criteria.md +105 -105
  66. package/core/skills/repo-ops/commit-code/SKILL.md +190 -190
  67. package/core/skills/repo-ops/commit-code/references/multi-repo-and-deployment.md +21 -21
  68. package/core/skills/repo-ops/navigate-service/SKILL.md +199 -199
  69. package/core/skills/repo-ops/review-code/references/process-and-format.md +100 -100
  70. package/core/skills/repo-ops/review-service/SKILL.md +186 -186
  71. package/core/skills/repo-ops/troubleshoot-service/SKILL.md +127 -127
  72. package/core/skills/repo-ops/troubleshoot-service/references/failure-modes-and-security.md +22 -22
  73. package/core/skills/repo-ops/troubleshoot-service/references/suggested-process.md +110 -110
  74. package/core/skills/security-data/security-audit/SKILL.md +119 -119
  75. package/core/workflows/add-new-feature.md +212 -212
  76. package/core/workflows/agent-a2a-delegation.md +142 -142
  77. package/core/workflows/bug-fix.md +147 -147
  78. package/core/workflows/build-deploy.md +208 -208
  79. package/core/workflows/code-review.md +137 -137
  80. package/core/workflows/dependency-upgrade.md +193 -193
  81. package/core/workflows/feature-delivery.md +149 -149
  82. package/core/workflows/hotfix-production.md +172 -172
  83. package/core/workflows/qa-validation.md +231 -231
  84. package/core/workflows/refactoring.md +154 -154
  85. package/core/workflows/revert-deployment.md +147 -147
  86. package/core/workflows/security-incident-response.md +191 -191
  87. package/core/workflows/seo-content-lifecycle.md +91 -91
  88. package/core/workflows/service-review-release.md +223 -223
  89. package/core/workflows/setup-new-service.md +214 -214
  90. package/core/workflows/tech-repo-review.md +245 -245
  91. package/core/workflows/troubleshooting.md +241 -241
  92. package/overlays/astro-cloudflare/README.md +93 -93
  93. package/overlays/data-analyst-stack/README.md +109 -109
  94. package/overlays/data-analyst-stack/rules/metric-dashboard-templates.md +135 -135
  95. package/overlays/data-analyst-stack/rules/stack-conventions.md +80 -80
  96. package/overlays/ecommerce-microservices/README.md +65 -65
  97. package/overlays/go-microservices/README.md +78 -78
  98. package/overlays/go-microservices/rules/go-conventions.md +223 -223
  99. package/overlays/laravel-filament/README.md +90 -90
  100. package/overlays/laravel-filament/rules/laravel-conventions.md +220 -220
  101. package/overlays/laravel-filament/skills/develop-laravel-feature/SKILL.md +141 -141
  102. package/overlays/laravel-filament/workflows/deploy-laravel.md +133 -133
  103. package/overlays/obj-configurator/rules/obj-project-rules.md +111 -111
  104. package/overlays/obj-configurator/skills/develop-obj-feature/SKILL.md +71 -71
  105. package/overlays/r3f-stack/README.md +89 -89
  106. package/overlays/r3f-stack/rules/stub.md +43 -43
  107. package/overlays/r3f-stack/skills/debug-3d-scene/SKILL.md +166 -166
  108. package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/SKILL.md +159 -159
  109. package/overlays/r3f-stack/skills/optimize-3d-assets/SKILL.md +128 -128
  110. package/overlays/seo-publishing/rules/site-mix-and-cannibalization.md +52 -52
  111. package/overlays/ui-design-system/rules/handoff-conventions.md +73 -73
  112. package/package.json +2 -2
  113. package/core/README.md +0 -53
@@ -1,193 +1,193 @@
1
- ---
2
- description: Workflow for safely upgrading dependencies with regression testing, security review, and controlled rollout
3
- ---
4
-
5
- ## Dependency Upgrade Workflow
6
-
7
- Use this workflow when upgrading third-party libraries, frameworks, runtimes, or infrastructure dependencies in a controlled and regression-safe way.
8
-
9
- ### When To Use
10
-
11
- - applying security patches from vulnerability advisories (CVE, Dependabot, Snyk)
12
- - upgrading to a new minor or major version of a key dependency
13
- - resolving version conflicts between transitive dependencies
14
- - keeping dependencies within support windows before EOL
15
-
16
- ### Prerequisites
17
-
18
- - the dependency to upgrade and the target version are identified
19
- - the reason for the upgrade is clear (security, compatibility, EOL, feature need)
20
- - the team has a way to run the full test suite
21
-
22
- ### Upgrade Risk Tiers
23
-
24
- | Tier | Scope | Approval Required |
25
- |------|-------|-------------------|
26
- | Patch (`1.2.3` → `1.2.4`) | Bug/security fix only | Reviewer |
27
- | Minor (`1.2.x` → `1.3.x`) | New features, backward compatible | Technical Lead |
28
- | Major (`1.x.x` → `2.x.x`) | Breaking changes possible | Technical Architect |
29
-
30
- ### Workflow Steps
31
-
32
- #### 1. Assess The Upgrade
33
-
34
- Role: **Backend Developer**, **Security Engineer**
35
-
36
- Determine:
37
-
38
- - what changed in the target version? (changelog, release notes, security advisories)
39
- - are there breaking changes in the API or runtime behavior?
40
- - does the new version require minimum runtime or peer dependency changes?
41
- - are there known issues or CVEs being fixed?
42
-
43
- Use skill: `conduct-research`
44
-
45
- Prefer **Renovate** over manual upgrades for recurring dependency management — Renovate handles monorepos, polyglot stacks (Go, Node, Python, Docker, Helm), custom grouping (e.g., bundle all OpenTelemetry bumps into one PR), and auto-merge on passing CI. Dependabot is acceptable for simple single-language repos.
46
-
47
- For security-driven upgrades: apply the 2026 triage triad — prioritize by `CVSS 4.0 (Impact) × EPSS (Exploit Probability) × CISA KEV (Active Exploitation)`. Vulnerabilities with EPSS >10% or listed in CISA KEV require patching within 24–48 hours regardless of base CVSS score.
48
-
49
- #### 2. Check Transitive Impact
50
-
51
- Role: **Backend Developer**, **Technical Lead**
52
-
53
- Before changing the manifest:
54
-
55
- - identify all packages that depend on this dependency transitively
56
- - check whether other packages in the project also pin this dependency at a conflicting version
57
- - verify the target version is compatible with the current runtime (Node.js, Python, JVM, etc.)
58
- - run **reachability analysis** (Endor Labs, Snyk Reachability, osv-scanner, or Trivy) to determine if vulnerable functions in transitive dependencies are actually reachable from the application's call graph — up to 80% of transitive CVE alerts can be safely deprioritized when reachability proves the vulnerable code path is never invoked
59
-
60
- Use skill: `navigate-service`
61
-
62
- #### 3. Apply The Upgrade
63
-
64
- Role: **Backend Developer**
65
-
66
- Upgrade through the repo's package manager:
67
-
68
- - update the manifest file (for example: `package.json`, `pyproject.toml`, `go.mod`, `Cargo.toml`)
69
- - run the dependency resolution command (for example: `npm install`, `pip install`, `go mod tidy`)
70
- - commit the updated lock file — do not regenerate without reviewing the diff
71
-
72
- For major version upgrades, adapt the call sites to the new API before running tests.
73
-
74
- #### 4. Review The Upgrade Diff
75
-
76
- Role: **Reviewer**, **Security Engineer**
77
-
78
- Use skill: `review-code`
79
-
80
- Verify:
81
-
82
- - only the intended package and its transitive tree changed
83
- - no unexpected packages were added, removed, or version-bumped
84
- - no known malicious or compromised versions introduced (check advisory databases)
85
- - lock file changes are consistent with the manifest update
86
-
87
- For security patches: confirm the CVE is addressed by the target version.
88
-
89
- Run **Socket.dev** or **Phylum** to inspect package install scripts, behavioral diffs, and network call patterns in newly published dependency versions before ingestion — detects supply chain typosquatting and malicious install hooks.
90
-
91
- For major version upgrades with widespread breaking API changes: consider using **OpenRewrite + AI** or **Moderne** to automatically generate AST-based codemods that refactor deprecated function calls across the codebase rather than manual call-site changes.
92
-
93
- #### 5. Run Full Verification
94
-
95
- Role: **Backend Developer**, **QA Engineer**
96
-
97
- Use skill: `write-tests` if existing tests do not cover the upgraded code paths.
98
-
99
- Run:
100
-
101
- - full test suite
102
- - lint and static analysis
103
- - build
104
- - integration tests if available
105
-
106
- If tests fail after the upgrade:
107
-
108
- - check if the failure is caused by a breaking change in the new version
109
- - check whether a test fixture or mock needs updating to match new behavior
110
- - do not suppress the failure — investigate before proceeding
111
-
112
- #### 6. Verify Security Posture
113
-
114
- Role: **Security Engineer**, **Backend Developer**
115
-
116
- For security-driven upgrades:
117
-
118
- - rerun the vulnerability scanner to confirm the advisory is resolved
119
- - verify no new advisories were introduced by the upgrade
120
- - check the diff for new network calls, data access patterns, or permission requirements in the new version
121
-
122
- #### 7. Prepare Delivery
123
-
124
- Role: **Backend Developer**, **Technical Lead**
125
-
126
- Use skill: `commit-code`
127
-
128
- Do not create a commit until the user explicitly confirms that commit action.
129
- Do not push, create a tag, or publish a release until the user explicitly confirms that specific action.
130
-
131
- Include in the commit or change description:
132
-
133
- - dependency name and version range upgraded
134
- - reason (security patch CVE number, EOL, feature need)
135
- - test result summary
136
-
137
- #### 8. Monitor After Release
138
-
139
- Role: **SRE**, **DevOps Engineer**
140
-
141
- After the change is deployed:
142
-
143
- - watch for unexpected runtime errors, performance changes, or behavior differences
144
- - check logs for deprecation warnings from the new version
145
- - verify dependent systems remain healthy
146
-
147
- ### Checklist
148
-
149
- - [ ] upgrade reason and breaking change risk assessed
150
- - [ ] transitive impact checked
151
- - [ ] upgrade applied through the repo's package manager
152
- - [ ] lock file diff reviewed — no unexpected changes
153
- - [ ] full test suite, lint, and build pass
154
- - [ ] security posture verified for security-driven upgrades
155
- - [ ] delivery prepared with explicit approval
156
- - [ ] post-release monitoring confirms stability
157
-
158
- ### Related Workflows
159
-
160
- - [Add New Feature](add-new-feature.md)
161
- - [Security Incident Response](security-incident-response.md)
162
- - [Build \& Deploy](build-deploy.md)
163
-
164
- ### Related Skills
165
-
166
- - **conduct-research**: Investigate the dependency changelog and advisory databases
167
- - **navigate-service**: Identify call sites before applying breaking API changes
168
- - **review-code**: Review the manifest, lock file, and call site changes
169
- - **write-tests**: Add coverage for newly-upgraded code paths
170
- - **commit-code**: Prepare approved upgrade changes for delivery
171
-
172
- ### Failure Modes
173
-
174
- - **Unsigned dependency**: a build pulls an unsigned or unverified dependency. **Mitigation:** enforce SLSA build provenance; verify signatures in CI; reject unsigned packages.
175
- - **SBOM drift**: the SBOM is out of sync with the actual build artifacts. **Mitigation:** regenerate the SBOM in CI; fail the build on drift; surface the missing components.
176
- - **Vulnerable transitive dependency**: a transitive dependency has a known CVE. **Mitigation:** pin to patched versions; run `npm audit` / `pip-audit` in CI; route through Renovate for polyglot stacks.
177
- - **AI-suggested version with public registry drift**: an LLM suggests a version that no longer exists on the registry. **Mitigation:** validate the version against the live registry before pinning; reject unresolvable versions.
178
- - **Reachability false negative**: a CVE in an unused library is treated as a release blocker. **Mitigation:** run SBOM reachability analysis (Endor Labs, Snyk Reachability) before filing the upgrade as a release-blocking issue.
179
-
180
- ### Output Contracts
181
-
182
- When this workflow produces a structured handoff, emit:
183
-
184
- - **`contracts/schemas/implementation-result.json`** — Required fields: `change_summary`, `files_touched[]`, and `validation_run` output proving the upgrade builds and tests pass.
185
- - **`contracts/schemas/release-notes.json`** (or frontmatter block) — when the upgrade ships; capture the version diff, the breaking changes, the deprecations, and the security fixes.
186
- - **`contracts/schemas/incident-report.json`** — When a CVE requires a hot upgrade; capture the CVE id, the affected version, the fix version, and the upgrade plan.
187
-
188
- ### Security Guardrails (OWASP ASI)
189
-
190
- - **ASI04 Supply Chain**: every dependency and pin must be schema-validated against the expected manifest; treat unknown versions as untrusted. SBOM and cosign provenance are required for any release-grade artifact.
191
- - **ASI05 RCE Guard**: never construct install commands, lockfile edits, or version pin scripts from external content without strict schema validation.
192
- - **ASI07 Inter-Agent Communication**: the upgrade result is consumed by release and security roles; emit a structured `implementation-result.json` so each consumer can validate.
193
- - **ASI09 Human-Agent Trust Exploitation**: do not present a dependency upgrade as "safe" without the SBOM diff and the CVE coverage; surface the residual risk honestly.
1
+ ---
2
+ description: Workflow for safely upgrading dependencies with regression testing, security review, and controlled rollout
3
+ ---
4
+
5
+ ## Dependency Upgrade Workflow
6
+
7
+ Use this workflow when upgrading third-party libraries, frameworks, runtimes, or infrastructure dependencies in a controlled and regression-safe way.
8
+
9
+ ### When To Use
10
+
11
+ - applying security patches from vulnerability advisories (CVE, Dependabot, Snyk)
12
+ - upgrading to a new minor or major version of a key dependency
13
+ - resolving version conflicts between transitive dependencies
14
+ - keeping dependencies within support windows before EOL
15
+
16
+ ### Prerequisites
17
+
18
+ - the dependency to upgrade and the target version are identified
19
+ - the reason for the upgrade is clear (security, compatibility, EOL, feature need)
20
+ - the team has a way to run the full test suite
21
+
22
+ ### Upgrade Risk Tiers
23
+
24
+ | Tier | Scope | Approval Required |
25
+ |------|-------|-------------------|
26
+ | Patch (`1.2.3` → `1.2.4`) | Bug/security fix only | Reviewer |
27
+ | Minor (`1.2.x` → `1.3.x`) | New features, backward compatible | Technical Lead |
28
+ | Major (`1.x.x` → `2.x.x`) | Breaking changes possible | Technical Architect |
29
+
30
+ ### Workflow Steps
31
+
32
+ #### 1. Assess The Upgrade
33
+
34
+ Role: **Backend Developer**, **Security Engineer**
35
+
36
+ Determine:
37
+
38
+ - what changed in the target version? (changelog, release notes, security advisories)
39
+ - are there breaking changes in the API or runtime behavior?
40
+ - does the new version require minimum runtime or peer dependency changes?
41
+ - are there known issues or CVEs being fixed?
42
+
43
+ Use skill: `conduct-research`
44
+
45
+ Prefer **Renovate** over manual upgrades for recurring dependency management — Renovate handles monorepos, polyglot stacks (Go, Node, Python, Docker, Helm), custom grouping (e.g., bundle all OpenTelemetry bumps into one PR), and auto-merge on passing CI. Dependabot is acceptable for simple single-language repos.
46
+
47
+ For security-driven upgrades: apply the 2026 triage triad — prioritize by `CVSS 4.0 (Impact) × EPSS (Exploit Probability) × CISA KEV (Active Exploitation)`. Vulnerabilities with EPSS >10% or listed in CISA KEV require patching within 24–48 hours regardless of base CVSS score.
48
+
49
+ #### 2. Check Transitive Impact
50
+
51
+ Role: **Backend Developer**, **Technical Lead**
52
+
53
+ Before changing the manifest:
54
+
55
+ - identify all packages that depend on this dependency transitively
56
+ - check whether other packages in the project also pin this dependency at a conflicting version
57
+ - verify the target version is compatible with the current runtime (Node.js, Python, JVM, etc.)
58
+ - run **reachability analysis** (Endor Labs, Snyk Reachability, osv-scanner, or Trivy) to determine if vulnerable functions in transitive dependencies are actually reachable from the application's call graph — up to 80% of transitive CVE alerts can be safely deprioritized when reachability proves the vulnerable code path is never invoked
59
+
60
+ Use skill: `navigate-service`
61
+
62
+ #### 3. Apply The Upgrade
63
+
64
+ Role: **Backend Developer**
65
+
66
+ Upgrade through the repo's package manager:
67
+
68
+ - update the manifest file (for example: `package.json`, `pyproject.toml`, `go.mod`, `Cargo.toml`)
69
+ - run the dependency resolution command (for example: `npm install`, `pip install`, `go mod tidy`)
70
+ - commit the updated lock file — do not regenerate without reviewing the diff
71
+
72
+ For major version upgrades, adapt the call sites to the new API before running tests.
73
+
74
+ #### 4. Review The Upgrade Diff
75
+
76
+ Role: **Reviewer**, **Security Engineer**
77
+
78
+ Use skill: `review-code`
79
+
80
+ Verify:
81
+
82
+ - only the intended package and its transitive tree changed
83
+ - no unexpected packages were added, removed, or version-bumped
84
+ - no known malicious or compromised versions introduced (check advisory databases)
85
+ - lock file changes are consistent with the manifest update
86
+
87
+ For security patches: confirm the CVE is addressed by the target version.
88
+
89
+ Run **Socket.dev** or **Phylum** to inspect package install scripts, behavioral diffs, and network call patterns in newly published dependency versions before ingestion — detects supply chain typosquatting and malicious install hooks.
90
+
91
+ For major version upgrades with widespread breaking API changes: consider using **OpenRewrite + AI** or **Moderne** to automatically generate AST-based codemods that refactor deprecated function calls across the codebase rather than manual call-site changes.
92
+
93
+ #### 5. Run Full Verification
94
+
95
+ Role: **Backend Developer**, **QA Engineer**
96
+
97
+ Use skill: `write-tests` if existing tests do not cover the upgraded code paths.
98
+
99
+ Run:
100
+
101
+ - full test suite
102
+ - lint and static analysis
103
+ - build
104
+ - integration tests if available
105
+
106
+ If tests fail after the upgrade:
107
+
108
+ - check if the failure is caused by a breaking change in the new version
109
+ - check whether a test fixture or mock needs updating to match new behavior
110
+ - do not suppress the failure — investigate before proceeding
111
+
112
+ #### 6. Verify Security Posture
113
+
114
+ Role: **Security Engineer**, **Backend Developer**
115
+
116
+ For security-driven upgrades:
117
+
118
+ - rerun the vulnerability scanner to confirm the advisory is resolved
119
+ - verify no new advisories were introduced by the upgrade
120
+ - check the diff for new network calls, data access patterns, or permission requirements in the new version
121
+
122
+ #### 7. Prepare Delivery
123
+
124
+ Role: **Backend Developer**, **Technical Lead**
125
+
126
+ Use skill: `commit-code`
127
+
128
+ Do not create a commit until the user explicitly confirms that commit action.
129
+ Do not push, create a tag, or publish a release until the user explicitly confirms that specific action.
130
+
131
+ Include in the commit or change description:
132
+
133
+ - dependency name and version range upgraded
134
+ - reason (security patch CVE number, EOL, feature need)
135
+ - test result summary
136
+
137
+ #### 8. Monitor After Release
138
+
139
+ Role: **SRE**, **DevOps Engineer**
140
+
141
+ After the change is deployed:
142
+
143
+ - watch for unexpected runtime errors, performance changes, or behavior differences
144
+ - check logs for deprecation warnings from the new version
145
+ - verify dependent systems remain healthy
146
+
147
+ ### Checklist
148
+
149
+ - [ ] upgrade reason and breaking change risk assessed
150
+ - [ ] transitive impact checked
151
+ - [ ] upgrade applied through the repo's package manager
152
+ - [ ] lock file diff reviewed — no unexpected changes
153
+ - [ ] full test suite, lint, and build pass
154
+ - [ ] security posture verified for security-driven upgrades
155
+ - [ ] delivery prepared with explicit approval
156
+ - [ ] post-release monitoring confirms stability
157
+
158
+ ### Related Workflows
159
+
160
+ - [Add New Feature](add-new-feature.md)
161
+ - [Security Incident Response](security-incident-response.md)
162
+ - [Build \& Deploy](build-deploy.md)
163
+
164
+ ### Related Skills
165
+
166
+ - **conduct-research**: Investigate the dependency changelog and advisory databases
167
+ - **navigate-service**: Identify call sites before applying breaking API changes
168
+ - **review-code**: Review the manifest, lock file, and call site changes
169
+ - **write-tests**: Add coverage for newly-upgraded code paths
170
+ - **commit-code**: Prepare approved upgrade changes for delivery
171
+
172
+ ### Failure Modes
173
+
174
+ - **Unsigned dependency**: a build pulls an unsigned or unverified dependency. **Mitigation:** enforce SLSA build provenance; verify signatures in CI; reject unsigned packages.
175
+ - **SBOM drift**: the SBOM is out of sync with the actual build artifacts. **Mitigation:** regenerate the SBOM in CI; fail the build on drift; surface the missing components.
176
+ - **Vulnerable transitive dependency**: a transitive dependency has a known CVE. **Mitigation:** pin to patched versions; run `npm audit` / `pip-audit` in CI; route through Renovate for polyglot stacks.
177
+ - **AI-suggested version with public registry drift**: an LLM suggests a version that no longer exists on the registry. **Mitigation:** validate the version against the live registry before pinning; reject unresolvable versions.
178
+ - **Reachability false negative**: a CVE in an unused library is treated as a release blocker. **Mitigation:** run SBOM reachability analysis (Endor Labs, Snyk Reachability) before filing the upgrade as a release-blocking issue.
179
+
180
+ ### Output Contracts
181
+
182
+ When this workflow produces a structured handoff, emit:
183
+
184
+ - **`contracts/schemas/implementation-result.json`** — Required fields: `change_summary`, `files_touched[]`, and `validation_run` output proving the upgrade builds and tests pass.
185
+ - **`contracts/schemas/release-notes.json`** (or frontmatter block) — when the upgrade ships; capture the version diff, the breaking changes, the deprecations, and the security fixes.
186
+ - **`contracts/schemas/incident-report.json`** — When a CVE requires a hot upgrade; capture the CVE id, the affected version, the fix version, and the upgrade plan.
187
+
188
+ ### Security Guardrails (OWASP ASI)
189
+
190
+ - **ASI04 Supply Chain**: every dependency and pin must be schema-validated against the expected manifest; treat unknown versions as untrusted. SBOM and cosign provenance are required for any release-grade artifact.
191
+ - **ASI05 RCE Guard**: never construct install commands, lockfile edits, or version pin scripts from external content without strict schema validation.
192
+ - **ASI07 Inter-Agent Communication**: the upgrade result is consumed by release and security roles; emit a structured `implementation-result.json` so each consumer can validate.
193
+ - **ASI09 Human-Agent Trust Exploitation**: do not present a dependency upgrade as "safe" without the SBOM diff and the CVE coverage; surface the residual risk honestly.