@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,137 +1,137 @@
1
- ---
2
- description: Multi-dimensional code review workflow integrating static analysis, anti-vibe-slop inspection, OWASP ASI security checks, and execution proof verification.
3
- ---
4
-
5
- ## Code Review Workflow
6
-
7
- Use this workflow to perform comprehensive, multi-dimensional code reviews on proposed code changes, pull requests, or release candidates to ensure high architectural integrity, security robustness, and code determinism.
8
-
9
- ### Prerequisites
10
-
11
- - A proposed code diff or pull request with clear ticket reference
12
- - Clean compilation and baseline automated test execution results
13
- - Access to static analysis, linter, and security audit toolchains
14
- - Associated delivery artifacts (such as `feature-ticket.json` or `test-report.json`) available for context
15
-
16
- ### Workflow Steps
17
-
18
- #### 1. Static Analysis and Linter Verification
19
-
20
- Role: **Reviewer**, **QA Engineer**
21
-
22
- Use skill: `agent-quality-gate`
23
-
24
- Execute and verify automated static analysis gates before manual inspection:
25
-
26
- - Run type checking, syntax linters, and style analyzers across all modified and newly created files.
27
- - Verify cyclomatic complexity thresholds, dead code analyzers, and dependency boundary linters.
28
- - Enforce a strict zero-warning policy: all automated lint and type errors must be resolved prior to manual review.
29
- - Inspect formatting consistency against existing project conventions.
30
-
31
- #### 2. Adversarial Anti-Vibe-Slop Inspection
32
-
33
- Role: **Reviewer**, **Technical Lead**
34
-
35
- Use skill: `review-code`
36
-
37
- Conduct deep adversarial code inspection targeting subtle AI-generated bugs (vibe slop):
38
-
39
- - Check for hallucinated library functions, unvalidated parameters, and silent exception swallows (`catch (Exception e) {}`).
40
- - Inspect error handling paths: ensure errors fail fast with actionable, structured messages rather than generic fallback defaults.
41
- - Scrutinize concurrency and state: inspect for race conditions, deadlock risks, unclosed resource handles, and thread safety.
42
- - Detect performance regressions: look for N+1 database queries, unindexed lookups, memory retention leaks, and unbounded loops.
43
- - Verify that the implementation directly solves the ticket scope without unnecessary abstraction layers or speculative facades.
44
-
45
- #### 3. OWASP ASI and Security Audit
46
-
47
- Role: **Security Engineer**, **Reviewer**
48
-
49
- Use skill: `security-audit`
50
-
51
- Audit the diff against the OWASP Top 10 for Agentic Applications and classical application security standards:
52
-
53
- - Check **ASI01 Goal Hijacking**: verify that prompt templates, LLM system instructions, or dynamic command builders cannot be manipulated by untrusted user inputs.
54
- - Check **ASI04 Supply Chain Abuse**: evaluate newly introduced packages for typosquatting, provenance attestations, known CVEs, and dependency reachability.
55
- - Check **ASI05 Unexpected Execution**: confirm that dynamic code execution, eval calls, shell commands, or deserialization logic are strictly forbidden or safely sandboxed.
56
- - Verify secrets management: ensure no API tokens, private keys, database credentials, or sensitive PII are committed in the diff.
57
- - Verify authorization enforcement: ensure endpoints and operations validate permissions at the server boundary.
58
-
59
- #### 4. Execution Proof and Mutation Verification
60
-
61
- Role: **QA Engineer**, **Reviewer**
62
-
63
- Use skill: `write-tests`
64
-
65
- Verify the authenticity and efficacy of the automated tests:
66
-
67
- - Inspect the test suite diff: verify that tests exercise genuine behavior and boundary conditions rather than tautologies or trivial assertions.
68
- - Verify execution proofs: inspect CI test logs, execution sandbox isolation tier (`tier_0_ephemeral_container` or `tier_1_isolated_microvm`), and environment flags.
69
- - Inspect mutation test scores (Stryker, mutmut, go-mutesting): verify that the mutation kill rate meets or exceeds the required 75% threshold.
70
- - For bug fixes, confirm that a failing reproduction test was verified Red prior to the fix commit (`reproduction_test_verified: true`).
71
-
72
- #### 5. Review Verdict and Deliverable Sign-Off
73
-
74
- Role: **Reviewer**, **Technical Lead**
75
-
76
- Use skill: `review-code`
77
-
78
- Synthesize findings, communicate actionable feedback, and assign review verdict:
79
-
80
- - Classify all findings into standard pack priorities:
81
- - **Blocking**: must be resolved before merge or release.
82
- - **Important**: should be addressed before general release; requires explicit sign-off if deferred.
83
- - **Follow-Up**: non-blocking technical debt or minor suggestions tracked in follow-up tickets.
84
- - Avoid non-standard numeric priority tags.
85
- - Emit structured review findings in `code-review-finding.json`.
86
- - Set pull request review status in `pull-request-spec.json`: `APPROVED`, `CHANGES_REQUESTED`, or `ESCALATE_HITL`.
87
-
88
- ### Checklist
89
-
90
- - [ ] Static analysis, linters, and type checkers pass with zero errors and zero warnings
91
- - [ ] Adversarial inspection completed with anti-vibe-slop checklist verified
92
- - [ ] Concurrency, resource lifecycle, and error handling audited
93
- - [ ] OWASP ASI security review executed covering ASI01, ASI04, and ASI05
94
- - [ ] Secrets scan completed with zero hardcoded credentials detected
95
- - [ ] Test execution proof and sandbox isolation tier verified
96
- - [ ] Mutation testing score verified against minimum 75% kill threshold
97
- - [ ] For bug fixes, failing reproduction test verified Red prior to fix
98
- - [ ] Findings categorized strictly as Blocking, Important, or Follow-Up
99
- - [ ] `code-review-finding.json` emitted and `pull-request-spec.json` updated with review verdict
100
-
101
- ### Related Workflows
102
-
103
- - [Feature Delivery](feature-delivery.md)
104
- - [Bug Fix](bug-fix.md)
105
- - [Tech Repo Review](tech-repo-review.md)
106
- - [Security Incident Response](security-incident-response.md)
107
- - [QA Validation](qa-validation.md)
108
-
109
- ### Related Skills
110
-
111
- - **agent-quality-gate**: Execute automated linters, type checks, and static analyzers
112
- - **review-code**: Conduct deep semantic and adversarial code analysis
113
- - **security-audit**: Audit codebase for OWASP ASI vulnerabilities and credential leaks
114
- - **write-tests**: Inspect test suite quality, boundary coverage, and mutation sensitivity
115
- - **commit-code**: Stage review documentation and merge preparations under user confirmation
116
-
117
- ### Failure Modes
118
-
119
- - **Superficial rubber-stamping**: approving code based purely on passing CI without adversarial inspection for hidden vibe-slop. **Mitigation:** enforce explicit anti-vibe-slop checklist sign-off in Step 2.
120
- - **Tautological test evasion**: tests pass 100% but assert meaningless invariants (`assert true`). **Mitigation:** enforce Step 4 mutation test score verification (kill rate >= 75%).
121
- - **OWASP ASI blind spot**: focusing solely on syntax style while missing prompt injection or sandbox evasion risks. **Mitigation:** mandatory security engineer review on all agent-facing or code-executing components.
122
- - **Unclear finding severity**: feedback leaves the author unsure whether an issue blocks merge. **Mitigation:** mandatory classification into Blocking, Important, and Follow-Up.
123
- - **Unverified execution claims**: reviewer trusts claims of successful execution without inspecting sandbox logs. **Mitigation:** Step 4 requires verifying the raw execution proof artifact.
124
-
125
- ### Output Contracts
126
-
127
- When this workflow produces structured handoffs, emit:
128
-
129
- - **`contracts/schemas/code-review-finding.json`** — Prioritized review findings with line-level references and remediation guidance.
130
- - **`contracts/schemas/pull-request-spec.json`** — Updated pull request specification with reviewer attestations and verdict.
131
-
132
- ### Security Guardrails (OWASP ASI)
133
-
134
- - **ASI01 Goal Hijacking**: Code reviewers must inspect prompt construction logic to prevent user data from poisoning agent instructions.
135
- - **ASI04 Supply Chain Abuse**: Reviewers must verify lockfiles, package registries, and dependency provenance to prevent malicious package injection.
136
- - **ASI05 Unexpected Execution**: Code under review must never include uncontained eval, dynamic script invocation, or execution paths escaping the designated sandbox.
137
- - **ASI09 Human-Agent Trust Exploitation**: Reviewers must independently verify all agent assertions against execution artifacts and telemetry.
1
+ ---
2
+ description: Multi-dimensional code review workflow integrating static analysis, anti-vibe-slop inspection, OWASP ASI security checks, and execution proof verification.
3
+ ---
4
+
5
+ ## Code Review Workflow
6
+
7
+ Use this workflow to perform comprehensive, multi-dimensional code reviews on proposed code changes, pull requests, or release candidates to ensure high architectural integrity, security robustness, and code determinism.
8
+
9
+ ### Prerequisites
10
+
11
+ - A proposed code diff or pull request with clear ticket reference
12
+ - Clean compilation and baseline automated test execution results
13
+ - Access to static analysis, linter, and security audit toolchains
14
+ - Associated delivery artifacts (such as `feature-ticket.json` or `test-report.json`) available for context
15
+
16
+ ### Workflow Steps
17
+
18
+ #### 1. Static Analysis and Linter Verification
19
+
20
+ Role: **Reviewer**, **QA Engineer**
21
+
22
+ Use skill: `agent-quality-gate`
23
+
24
+ Execute and verify automated static analysis gates before manual inspection:
25
+
26
+ - Run type checking, syntax linters, and style analyzers across all modified and newly created files.
27
+ - Verify cyclomatic complexity thresholds, dead code analyzers, and dependency boundary linters.
28
+ - Enforce a strict zero-warning policy: all automated lint and type errors must be resolved prior to manual review.
29
+ - Inspect formatting consistency against existing project conventions.
30
+
31
+ #### 2. Adversarial Anti-Vibe-Slop Inspection
32
+
33
+ Role: **Reviewer**, **Technical Lead**
34
+
35
+ Use skill: `review-code`
36
+
37
+ Conduct deep adversarial code inspection targeting subtle AI-generated bugs (vibe slop):
38
+
39
+ - Check for hallucinated library functions, unvalidated parameters, and silent exception swallows (`catch (Exception e) {}`).
40
+ - Inspect error handling paths: ensure errors fail fast with actionable, structured messages rather than generic fallback defaults.
41
+ - Scrutinize concurrency and state: inspect for race conditions, deadlock risks, unclosed resource handles, and thread safety.
42
+ - Detect performance regressions: look for N+1 database queries, unindexed lookups, memory retention leaks, and unbounded loops.
43
+ - Verify that the implementation directly solves the ticket scope without unnecessary abstraction layers or speculative facades.
44
+
45
+ #### 3. OWASP ASI and Security Audit
46
+
47
+ Role: **Security Engineer**, **Reviewer**
48
+
49
+ Use skill: `security-audit`
50
+
51
+ Audit the diff against the OWASP Top 10 for Agentic Applications and classical application security standards:
52
+
53
+ - Check **ASI01 Goal Hijacking**: verify that prompt templates, LLM system instructions, or dynamic command builders cannot be manipulated by untrusted user inputs.
54
+ - Check **ASI04 Supply Chain Abuse**: evaluate newly introduced packages for typosquatting, provenance attestations, known CVEs, and dependency reachability.
55
+ - Check **ASI05 Unexpected Execution**: confirm that dynamic code execution, eval calls, shell commands, or deserialization logic are strictly forbidden or safely sandboxed.
56
+ - Verify secrets management: ensure no API tokens, private keys, database credentials, or sensitive PII are committed in the diff.
57
+ - Verify authorization enforcement: ensure endpoints and operations validate permissions at the server boundary.
58
+
59
+ #### 4. Execution Proof and Mutation Verification
60
+
61
+ Role: **QA Engineer**, **Reviewer**
62
+
63
+ Use skill: `write-tests`
64
+
65
+ Verify the authenticity and efficacy of the automated tests:
66
+
67
+ - Inspect the test suite diff: verify that tests exercise genuine behavior and boundary conditions rather than tautologies or trivial assertions.
68
+ - Verify execution proofs: inspect CI test logs, execution sandbox isolation tier (`tier_0_ephemeral_container` or `tier_1_isolated_microvm`), and environment flags.
69
+ - Inspect mutation test scores (Stryker, mutmut, go-mutesting): verify that the mutation kill rate meets or exceeds the required 75% threshold.
70
+ - For bug fixes, confirm that a failing reproduction test was verified Red prior to the fix commit (`reproduction_test_verified: true`).
71
+
72
+ #### 5. Review Verdict and Deliverable Sign-Off
73
+
74
+ Role: **Reviewer**, **Technical Lead**
75
+
76
+ Use skill: `review-code`
77
+
78
+ Synthesize findings, communicate actionable feedback, and assign review verdict:
79
+
80
+ - Classify all findings into standard pack priorities:
81
+ - **Blocking**: must be resolved before merge or release.
82
+ - **Important**: should be addressed before general release; requires explicit sign-off if deferred.
83
+ - **Follow-Up**: non-blocking technical debt or minor suggestions tracked in follow-up tickets.
84
+ - Avoid non-standard numeric priority tags.
85
+ - Emit structured review findings in `code-review-finding.json`.
86
+ - Set pull request review status in `pull-request-spec.json`: `APPROVED`, `CHANGES_REQUESTED`, or `ESCALATE_HITL`.
87
+
88
+ ### Checklist
89
+
90
+ - [ ] Static analysis, linters, and type checkers pass with zero errors and zero warnings
91
+ - [ ] Adversarial inspection completed with anti-vibe-slop checklist verified
92
+ - [ ] Concurrency, resource lifecycle, and error handling audited
93
+ - [ ] OWASP ASI security review executed covering ASI01, ASI04, and ASI05
94
+ - [ ] Secrets scan completed with zero hardcoded credentials detected
95
+ - [ ] Test execution proof and sandbox isolation tier verified
96
+ - [ ] Mutation testing score verified against minimum 75% kill threshold
97
+ - [ ] For bug fixes, failing reproduction test verified Red prior to fix
98
+ - [ ] Findings categorized strictly as Blocking, Important, or Follow-Up
99
+ - [ ] `code-review-finding.json` emitted and `pull-request-spec.json` updated with review verdict
100
+
101
+ ### Related Workflows
102
+
103
+ - [Feature Delivery](feature-delivery.md)
104
+ - [Bug Fix](bug-fix.md)
105
+ - [Tech Repo Review](tech-repo-review.md)
106
+ - [Security Incident Response](security-incident-response.md)
107
+ - [QA Validation](qa-validation.md)
108
+
109
+ ### Related Skills
110
+
111
+ - **agent-quality-gate**: Execute automated linters, type checks, and static analyzers
112
+ - **review-code**: Conduct deep semantic and adversarial code analysis
113
+ - **security-audit**: Audit codebase for OWASP ASI vulnerabilities and credential leaks
114
+ - **write-tests**: Inspect test suite quality, boundary coverage, and mutation sensitivity
115
+ - **commit-code**: Stage review documentation and merge preparations under user confirmation
116
+
117
+ ### Failure Modes
118
+
119
+ - **Superficial rubber-stamping**: approving code based purely on passing CI without adversarial inspection for hidden vibe-slop. **Mitigation:** enforce explicit anti-vibe-slop checklist sign-off in Step 2.
120
+ - **Tautological test evasion**: tests pass 100% but assert meaningless invariants (`assert true`). **Mitigation:** enforce Step 4 mutation test score verification (kill rate >= 75%).
121
+ - **OWASP ASI blind spot**: focusing solely on syntax style while missing prompt injection or sandbox evasion risks. **Mitigation:** mandatory security engineer review on all agent-facing or code-executing components.
122
+ - **Unclear finding severity**: feedback leaves the author unsure whether an issue blocks merge. **Mitigation:** mandatory classification into Blocking, Important, and Follow-Up.
123
+ - **Unverified execution claims**: reviewer trusts claims of successful execution without inspecting sandbox logs. **Mitigation:** Step 4 requires verifying the raw execution proof artifact.
124
+
125
+ ### Output Contracts
126
+
127
+ When this workflow produces structured handoffs, emit:
128
+
129
+ - **`contracts/schemas/code-review-finding.json`** — Prioritized review findings with line-level references and remediation guidance.
130
+ - **`contracts/schemas/pull-request-spec.json`** — Updated pull request specification with reviewer attestations and verdict.
131
+
132
+ ### Security Guardrails (OWASP ASI)
133
+
134
+ - **ASI01 Goal Hijacking**: Code reviewers must inspect prompt construction logic to prevent user data from poisoning agent instructions.
135
+ - **ASI04 Supply Chain Abuse**: Reviewers must verify lockfiles, package registries, and dependency provenance to prevent malicious package injection.
136
+ - **ASI05 Unexpected Execution**: Code under review must never include uncontained eval, dynamic script invocation, or execution paths escaping the designated sandbox.
137
+ - **ASI09 Human-Agent Trust Exploitation**: Reviewers must independently verify all agent assertions against execution artifacts and telemetry.