@vesviet/agent-skills 5.6.1 → 5.7.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 (111) hide show
  1. package/INDEX.md +58 -6
  2. package/README.md +2 -2
  3. package/VERSION +1 -1
  4. package/adapters/antigravity/a2a-config.template.yaml +1 -1
  5. package/adapters/antigravity/role-skill-index.json +14 -12
  6. package/adapters/claude/CLAUDE_ADAPTER.md +1 -1
  7. package/core/contracts/README.md +1 -1
  8. package/core/contracts/schemas/INDEX.md +2 -2
  9. package/core/contracts/schemas/adr-spec.json +12 -3
  10. package/core/contracts/schemas/architecture-options.json +12 -4
  11. package/core/contracts/schemas/data-pipeline-spec.json +1 -1
  12. package/core/contracts/schemas/design-tokens-spec.json +19 -0
  13. package/core/contracts/schemas/security-audit.json +143 -12
  14. package/core/contracts/schemas/seo-audit-report.json +8 -2
  15. package/core/contracts/schemas/seo-metadata.json +5 -2
  16. package/core/contracts/schemas/system-design-spec.json +9 -1
  17. package/core/contracts/schemas/ui-component-spec.json +25 -6
  18. package/core/contracts/schemas/ux-flow-spec.json +66 -0
  19. package/core/policies/action-boundaries.yaml +1 -1
  20. package/core/roles/README.md +1 -1
  21. package/core/roles/ai-systems-engineer.md +31 -18
  22. package/core/roles/aws-engineer.md +33 -29
  23. package/core/roles/backend-developer.md +6 -4
  24. package/core/roles/content-manager.md +7 -7
  25. package/core/roles/data-engineer.md +39 -36
  26. package/core/roles/frontend-developer.md +1 -1
  27. package/core/roles/prompt-engineer.md +9 -0
  28. package/core/roles/qa-engineer.md +18 -18
  29. package/core/roles/references/ai-systems-engineer-review-checklist.md +11 -3
  30. package/core/roles/references/aws-engineer-review-checklist.md +29 -16
  31. package/core/roles/references/content-manager-governance-standards.md +2 -2
  32. package/core/roles/references/content-manager-review-checklist.md +7 -1
  33. package/core/roles/references/data-engineer-review-checklist.md +11 -3
  34. package/core/roles/references/qa-engineer-review-checklist.md +10 -5
  35. package/core/roles/references/security-engineer-review-checklist.md +8 -0
  36. package/core/roles/references/solution-architect-review-checklist.md +6 -1
  37. package/core/roles/references/system-engineer-review-checklist.md +11 -0
  38. package/core/roles/references/ui-ux-designer-review-checklist.md +12 -0
  39. package/core/roles/sdet.md +9 -0
  40. package/core/roles/security-engineer.md +35 -5
  41. package/core/roles/solution-architect.md +7 -7
  42. package/core/roles/system-engineer.md +9 -4
  43. package/core/roles/ui-ux-designer.md +17 -3
  44. package/core/skills/agent/agent-panel-meeting/SKILL.md +4 -4
  45. package/core/skills/agent/architect-mcp-server/SKILL.md +3 -3
  46. package/core/skills/agent/decompose-agentic-system/SKILL.md +1 -1
  47. package/core/skills/ai/deploy-vllm-inference/SKILL.md +14 -14
  48. package/core/skills/ai-agent/agent-evaluation/SKILL.md +5 -0
  49. package/core/skills/ai-agent/context-optimization/SKILL.md +9 -0
  50. package/core/skills/backend/add-api-endpoint/SKILL.md +1 -0
  51. package/core/skills/backend/add-event-handler/SKILL.md +1 -0
  52. package/core/skills/backend/add-service-client/SKILL.md +1 -0
  53. package/core/skills/backend/build-mcp-server/SKILL.md +1 -0
  54. package/core/skills/backend/implement-auth/SKILL.md +1 -0
  55. package/core/skills/backend/implement-structured-outputs/SKILL.md +1 -0
  56. package/core/skills/backend/optimize-postgres/SKILL.md +1 -0
  57. package/core/skills/backend/scaffold-new-service/SKILL.md +1 -0
  58. package/core/skills/commerce/handle-checkout-flow/SKILL.md +1 -4
  59. package/core/skills/commerce/integrate-payment-gateway/SKILL.md +1 -5
  60. package/core/skills/commerce/manage-product-catalog/SKILL.md +2 -7
  61. package/core/skills/content/audit-content/SKILL.md +3 -2
  62. package/core/skills/content/audit-content/references/information-gain-rubric.md +1 -1
  63. package/core/skills/content/design-content-strategy/SKILL.md +6 -5
  64. package/core/skills/content/design-content-strategy/references/information-gain-and-decay-triage.md +2 -2
  65. package/core/skills/content/optimize-seo/SKILL.md +6 -5
  66. package/core/skills/content/optimize-seo/references/geo-ai-citation-playbook.md +2 -2
  67. package/core/skills/content/optimize-seo/references/process-and-checklist.md +1 -1
  68. package/core/skills/content/repurpose-content/SKILL.md +4 -3
  69. package/core/skills/content/write-article/SKILL.md +7 -5
  70. package/core/skills/content/write-copy/SKILL.md +3 -2
  71. package/core/skills/document/pptx/SKILL.md +1 -0
  72. package/core/skills/education/create-exercises/SKILL.md +1 -6
  73. package/core/skills/education/design-learning-plan/SKILL.md +2 -9
  74. package/core/skills/education/grade-and-review/SKILL.md +2 -9
  75. package/core/skills/foundation/design-review/SKILL.md +11 -1
  76. package/core/skills/foundation/design-ux-flow/SKILL.md +13 -1
  77. package/core/skills/foundation/performance-profiling/SKILL.md +3 -1
  78. package/core/skills/foundation/release-notes/SKILL.md +1 -1
  79. package/core/skills/foundation/write-tests/SKILL.md +11 -10
  80. package/core/skills/frontend/INDEX.json +100 -1
  81. package/core/skills/frontend/anti-ui-slop-finish-gate/SKILL.md +5 -0
  82. package/core/skills/frontend/design-md-specification/SKILL.md +1 -0
  83. package/core/skills/frontend/design-system-engineering/SKILL.md +4 -2
  84. package/core/skills/meetings-analysis/analyze-business-requirements/SKILL.md +1 -1
  85. package/core/skills/meetings-analysis/analyze-data/SKILL.md +2 -7
  86. package/core/skills/meetings-analysis/meeting-review/SKILL.md +3 -7
  87. package/core/skills/platform/add-telemetry-instrumentation/SKILL.md +2 -1
  88. package/core/skills/platform/aws-infrastructure/SKILL.md +12 -11
  89. package/core/skills/platform/debug-runtime-platform/SKILL.md +1 -0
  90. package/core/skills/platform/setup-gpu-finops/SKILL.md +4 -0
  91. package/core/skills/platform/setup-llm-gateway/SKILL.md +2 -0
  92. package/core/skills/platform/supply-chain-security/SKILL.md +1 -0
  93. package/core/skills/platform/system-design/SKILL.md +7 -0
  94. package/core/skills/security-data/build-data-pipeline/SKILL.md +15 -14
  95. package/core/skills/security-data/build-data-pipeline/references/producer-contracts-and-lakehouse.md +5 -5
  96. package/core/skills/security-data/database-maintenance/SKILL.md +1 -0
  97. package/core/skills/security-data/database-maintenance/references/relational-and-vector-maintenance.md +5 -5
  98. package/core/skills/security-data/manage-secrets/SKILL.md +3 -0
  99. package/core/skills/security-data/manage-vietnam-accounting/SKILL.md +3 -1
  100. package/core/skills/security-data/optimize-olap-database/SKILL.md +14 -13
  101. package/core/skills/security-data/optimize-olap-database/references/olap-database-guide.md +2 -2
  102. package/core/skills/security-data/prompt-injection-defense/SKILL.md +3 -0
  103. package/core/skills/security-data/query-analytical-engine/SKILL.md +8 -7
  104. package/core/skills/security-data/query-analytical-engine/references/analytical-query-guide.md +3 -3
  105. package/core/skills/security-data/security-audit/SKILL.md +8 -1
  106. package/core/workflows/curriculum-delivery.md +1 -1
  107. package/core/workflows/dependency-upgrade.md +1 -1
  108. package/core/workflows/security-incident-response.md +1 -1
  109. package/overlays/hugo-authority-content/workflows/affiliate-publishing.md +1 -1
  110. package/overlays/hugo-authority-content/workflows/publish-series.md +1 -1
  111. package/package.json +1 -1
@@ -20,7 +20,9 @@
20
20
  "code_review",
21
21
  "dependency_check",
22
22
  "architecture_review",
23
- "penetration_test"
23
+ "penetration_test",
24
+ "agentic_ai_review",
25
+ "infrastructure_review"
24
26
  ]
25
27
  },
26
28
  "findings": {
@@ -49,6 +51,22 @@
49
51
  },
50
52
  "remediation": {
51
53
  "type": "string"
54
+ },
55
+ "exploit_path": {
56
+ "type": "string",
57
+ "description": "Concrete attack path from entry point to impact."
58
+ },
59
+ "blast_radius": {
60
+ "type": "string",
61
+ "description": "Assets, tenants, and systems reachable if exploited."
62
+ },
63
+ "owasp_ref": {
64
+ "type": "string",
65
+ "description": "OWASP mapping tag, e.g. 'A03:2025', 'LLM06:2025', or 'ASI02:2026'."
66
+ },
67
+ "status": {
68
+ "type": "string",
69
+ "enum": ["open", "mitigated", "verified_fixed", "accepted_risk"]
52
70
  }
53
71
  },
54
72
  "required": [
@@ -100,6 +118,91 @@
100
118
  "sbom_verification": {
101
119
  "type": "boolean",
102
120
  "description": "True if the Software Bill of Materials (SBOM) was verified for supply-chain integrity."
121
+ },
122
+ "owasp_baseline": {
123
+ "type": "string",
124
+ "enum": ["2021", "2025"],
125
+ "description": "OWASP Top 10 edition the audit was performed against; 2025 is the current edition."
126
+ },
127
+ "asi_review": {
128
+ "type": "object",
129
+ "description": "OWASP Top 10 for Agentic Applications 2026 coverage when agentic AI is in scope.",
130
+ "properties": {
131
+ "asi_items_checked": {
132
+ "type": "array",
133
+ "items": {
134
+ "type": "string",
135
+ "enum": [
136
+ "ASI01",
137
+ "ASI02",
138
+ "ASI03",
139
+ "ASI04",
140
+ "ASI05",
141
+ "ASI06",
142
+ "ASI07",
143
+ "ASI08",
144
+ "ASI09",
145
+ "ASI10"
146
+ ]
147
+ }
148
+ },
149
+ "mcp_servers_pinned": {
150
+ "type": "boolean",
151
+ "description": "True if every integrated MCP server is pinned to an immutable version hash."
152
+ },
153
+ "max_blast_radius": {
154
+ "type": "string",
155
+ "description": "Worst-case combined blast radius across all agent-reachable tools."
156
+ }
157
+ },
158
+ "required": ["asi_items_checked"]
159
+ },
160
+ "pqc_readiness": {
161
+ "type": "object",
162
+ "description": "Post-quantum cryptography readiness (NIST IR 8547: deprecated 2030, disallowed 2035).",
163
+ "properties": {
164
+ "crypto_inventory_present": {
165
+ "type": "boolean",
166
+ "description": "True if a CBOM (CycloneDX 1.6) crypto inventory exists for in-scope systems."
167
+ },
168
+ "hybrid_tls_enabled": {
169
+ "type": "boolean",
170
+ "description": "True if server-side TLS termination supports hybrid X25519MLKEM768."
171
+ },
172
+ "migration_plan_present": {
173
+ "type": "boolean",
174
+ "description": "True if a documented migration path off quantum-vulnerable crypto exists for long-lived data."
175
+ }
176
+ },
177
+ "required": [
178
+ "crypto_inventory_present",
179
+ "hybrid_tls_enabled",
180
+ "migration_plan_present"
181
+ ]
182
+ },
183
+ "cra_compliance": {
184
+ "type": "object",
185
+ "description": "EU Cyber Resilience Act readiness for products in EU scope.",
186
+ "properties": {
187
+ "in_scope": {
188
+ "type": "boolean",
189
+ "description": "True if the audited product falls under EU CRA obligations."
190
+ },
191
+ "reporting_process_active": {
192
+ "type": "boolean",
193
+ "description": "True if the 24-hour ENISA/CSIRT vulnerability and incident reporting runbook is live (obligation since 2026-09-11)."
194
+ },
195
+ "support_period_months": {
196
+ "type": "integer",
197
+ "minimum": 0,
198
+ "description": "Declared security support period in months; CRA requires >= 60 or product lifetime."
199
+ },
200
+ "sbom_ready": {
201
+ "type": "boolean",
202
+ "description": "True if a machine-readable SBOM pipeline produces release evidence (full obligation 2027-12-11)."
203
+ }
204
+ },
205
+ "required": ["in_scope"]
103
206
  }
104
207
  },
105
208
  "required": [
@@ -112,20 +215,48 @@
112
215
  "examples": [
113
216
  {
114
217
  "contract_type": "security-audit",
115
- "audit_id": "2026-06-12-cod-routing-security",
116
- "scope": "NewLogicAutoAssign.php — COD store routing changes",
218
+ "target": "NewLogicAutoAssign.php — COD store routing changes",
117
219
  "audit_type": "code_review",
118
- "overall_status": "pass",
119
220
  "findings": [],
120
- "owasp_checks": {
121
- "injection": "pass",
122
- "broken_auth": "not_applicable",
123
- "sensitive_data": "pass",
124
- "security_misconfiguration": "pass"
221
+ "compliance_violations": [],
222
+ "overall_risk_score": "pass",
223
+ "owasp_baseline": "2025",
224
+ "ai_prompt_injection_check": false,
225
+ "sbom_verification": true
226
+ },
227
+ {
228
+ "contract_type": "security-audit",
229
+ "target": "support-copilot agent v2 — MCP toolchain",
230
+ "audit_type": "agentic_ai_review",
231
+ "findings": [
232
+ {
233
+ "vulnerability": "Unpinned MCP server dependency",
234
+ "severity": "high",
235
+ "description": "weather-tools MCP server is referenced by mutable tag; a rug-pull update would silently redefine tool schemas.",
236
+ "remediation": "Pin to an immutable version hash and alert on schema drift.",
237
+ "exploit_path": "registry push -> silent tool redefinition -> ASI02 tool misuse",
238
+ "owasp_ref": "ASI04:2026",
239
+ "status": "open"
240
+ }
241
+ ],
242
+ "overall_risk_score": "high",
243
+ "owasp_baseline": "2025",
244
+ "asi_review": {
245
+ "asi_items_checked": ["ASI01", "ASI02", "ASI03", "ASI04", "ASI06"],
246
+ "mcp_servers_pinned": false,
247
+ "max_blast_radius": "customer PII read + outbound email dispatch"
125
248
  },
126
- "recommendation": "No security issues found. Store courier lookup uses prepared statements. No secrets exposed.",
127
- "target": "NewLogicAutoAssign.php — COD store routing changes",
128
- "overall_risk_score": "pass"
249
+ "pqc_readiness": {
250
+ "crypto_inventory_present": true,
251
+ "hybrid_tls_enabled": false,
252
+ "migration_plan_present": false
253
+ },
254
+ "cra_compliance": {
255
+ "in_scope": true,
256
+ "reporting_process_active": true,
257
+ "support_period_months": 60,
258
+ "sbom_ready": true
259
+ }
129
260
  }
130
261
  ]
131
262
  }
@@ -598,11 +598,17 @@
598
598
  "description": "Date range checked (e.g. 2026-06-05 to 2026-06-12)."
599
599
  },
600
600
  "conflicting_url": {
601
- "type": "string",
601
+ "type": [
602
+ "string",
603
+ "null"
604
+ ],
602
605
  "description": "URL of conflicting page if risk_found."
603
606
  },
604
607
  "exception_rationale": {
605
- "type": "string",
608
+ "type": [
609
+ "string",
610
+ "null"
611
+ ],
606
612
  "description": "If exception_documented, explain why publishing is still appropriate."
607
613
  }
608
614
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "contracts/schemas/seo-metadata.json",
4
4
  "title": "SEO Metadata",
5
5
  "description": "Publisher-ready metadata produced by SEO Analyst. Used at publish time to set title, meta description, slug, and social metadata. Does not include full article content — that is in content-handoff.json. Validates against seo-analyst.md Outputs Produced section and overlay slug/frontmatter rules.",
@@ -117,7 +117,10 @@
117
117
  "description": "Schema types recommended for this page. Frontend implements JSON-LD per these types. Article is always included."
118
118
  },
119
119
  "canonical_url": {
120
- "type": "string",
120
+ "type": [
121
+ "string",
122
+ "null"
123
+ ],
121
124
  "description": "Canonical URL if different from the published URL. Leave null if self-canonical."
122
125
  },
123
126
  "social": {
@@ -191,6 +191,14 @@
191
191
  "edge_inference_criteria": { "type": "string" },
192
192
  "cloud_inference_criteria": { "type": "string" }
193
193
  }
194
+ },
195
+ "kv_cache_tiering": {
196
+ "type": "string",
197
+ "description": "KV-cache offloading tier decision for agentic/long-context workloads (GPU-only / GPU+CPU RAM / GPU+CPU+storage; vLLM-SGLang offloading, NVIDIA ICMS); scaling GPU count requires this evaluation first (KV-CACHE-TIERING LOCK)."
198
+ },
199
+ "speculative_decoding": {
200
+ "type": "string",
201
+ "description": "Speculative decoding decision (EAGLE-3/MTP): enabled/disabled with the measured draft acceptance rate that gates it (SPECULATIVE-DECODING-ACCEPTANCE LOCK; net loss below ~70% acceptance)."
194
202
  }
195
203
  },
196
204
  "required": ["in_scope"]
@@ -339,7 +347,7 @@
339
347
  "description": "GPU nodes for inference; CPU nodes for embedding and coordination",
340
348
  "instance_types": ["g5.12xlarge (4x A10G, 96GB VRAM total)", "c6i.4xlarge (CPU embedding)"],
341
349
  "replica_count": "2 GPU nodes minimum; 3 at peak",
342
- "autoscaling_policy": "scale out at GPU utilization > 75% for 5min; scale in at < 30% for 30min"
350
+ "autoscaling_policy": "KEDA scale-out on inference queue depth > 32 or KV cache utilization > 85% for 3min; scale in below 10% for 30min (queue/KV signals per KEDA-NOT-HPA LOCK)"
343
351
  },
344
352
  "network": {
345
353
  "description": "Private subnet for GPU nodes; load balancer in public subnet",
@@ -296,17 +296,36 @@
296
296
  }
297
297
  ],
298
298
  "states": [
299
- "default (store courier)",
300
- "fallback (warehouse)",
301
- "unassigned"
299
+ "default",
300
+ "fallback"
302
301
  ],
303
- "accessibility": "aria-label must include courier type and fallback status",
302
+ "copy_per_state": {
303
+ "default": "Store courier assigned",
304
+ "fallback": "Warehouse fallback active"
305
+ },
306
+ "accessibility": {
307
+ "role": "status",
308
+ "keyboard_support": false,
309
+ "aria_labels": [
310
+ "Courier type and fallback status badge"
311
+ ]
312
+ },
304
313
  "api_dependencies": [
305
314
  "GET /api/v1/orders/:id"
306
315
  ],
307
316
  "design_tokens": [
308
- "color.courier.store",
309
- "color.courier.fallback.warning"
317
+ {
318
+ "token_name": "color.courier.store",
319
+ "type": "color",
320
+ "semantic_purpose": "Primary badge color for store courier",
321
+ "primitive_reference": "green-500"
322
+ },
323
+ {
324
+ "token_name": "color.courier.fallback.warning",
325
+ "type": "color",
326
+ "semantic_purpose": "Warning badge color for fallback courier",
327
+ "primitive_reference": "amber-500"
328
+ }
310
329
  ],
311
330
  "type": "presentational"
312
331
  }
@@ -181,6 +181,72 @@
181
181
  }
182
182
  }
183
183
  },
184
+ "agentic_autonomy": {
185
+ "type": "object",
186
+ "description": "Trust Ladder declaration for agentic features (required by the AUTONOMY-TIER LOCK).",
187
+ "properties": {
188
+ "autonomy_tier": {
189
+ "type": "string",
190
+ "enum": ["Suggest", "Verify", "Delegate", "Automate"],
191
+ "description": "Declared autonomy tier; must not exceed the trust the product has earned from users (Autopilot Trap guard)."
192
+ },
193
+ "tier_indicator": {
194
+ "type": "string",
195
+ "description": "How the current tier is displayed to the user."
196
+ },
197
+ "tier_upgrade_path": {
198
+ "type": "string",
199
+ "description": "User opt-in flow to advance to the next tier, when planned."
200
+ },
201
+ "background_agent_surfaces": {
202
+ "type": "array",
203
+ "items": {
204
+ "type": "string"
205
+ },
206
+ "description": "Status surface, notification contract, async interrupt UX, and completion handoff references."
207
+ }
208
+ },
209
+ "required": [
210
+ "autonomy_tier"
211
+ ]
212
+ },
213
+ "agent_operability": {
214
+ "type": "object",
215
+ "description": "Dual-audience operability: patterns for AI agents that operate this UI alongside human users (Agents-as-Users, 2026).",
216
+ "properties": {
217
+ "agent_entry_points": {
218
+ "type": "array",
219
+ "items": {
220
+ "type": "string"
221
+ },
222
+ "description": "Screens or actions exposed to agent operation (e.g. WebMCP interface)."
223
+ },
224
+ "machine_readable_affordances": {
225
+ "type": "string",
226
+ "description": "Semantic labels, ARIA roles, and machine-actionable action endpoints for agent consumption."
227
+ },
228
+ "agent_courtesy_rules": {
229
+ "type": "string",
230
+ "description": "Rate limits, idempotency, and feedback surfaces for agent traffic so human UX is not degraded."
231
+ }
232
+ }
233
+ },
234
+ "dark_pattern_review": {
235
+ "type": "object",
236
+ "description": "Regulatory dark-pattern compliance review (DSA Art 25/26, FTC); distinct from aesthetic anti-slop.",
237
+ "properties": {
238
+ "checked_patterns": {
239
+ "type": "array",
240
+ "items": {
241
+ "type": "string"
242
+ },
243
+ "description": "Dark-pattern classes reviewed: nagging, obstruction, sneaking, forced action, confirmshaming, trick questions."
244
+ },
245
+ "compliance_notes": {
246
+ "type": "string"
247
+ }
248
+ }
249
+ },
184
250
  "taste_skill": {
185
251
  "type": "object",
186
252
  "description": "Taste-Skill anti-slop design configuration (Brief Inference & Three Dials).",
@@ -3,7 +3,7 @@
3
3
  # Enforcement: agent-tool-orchestration checks this before state-changing actions.
4
4
  # Runtime hook: core/scripts/hooks/check-policy.py (text/json/sarif output, OCSF 99001 audit).
5
5
  #
6
- # 2026 coverage: 34 delivery roles x 46 action verbs. Roles that have no explicit entry for a
6
+ # 2026 coverage: 38 delivery roles x 59 action verbs. Roles that have no explicit entry for a
7
7
  # given action fall through to `default_policy: requires_approval` (zero-trust fail-closed).
8
8
  # Unclassified actions in infra/deploy verbs (apply_iac, drop_storage_volume, terminate_instance,
9
9
  # modify_iam_policy, modify_network_topology_production, modify_payment_gateway_config,
@@ -2,7 +2,7 @@
2
2
 
3
3
  This directory defines reusable roles for the full software delivery lifecycle.
4
4
 
5
- > **Master Roles Inventory**: **38 Roles** | **20 Dedicated Review Checklists** (in `references/`) | **A2A 1.0 JSON-RPC/SSE Native**
5
+ > **Master Roles Inventory**: **38 Roles** | **38 Dedicated Review Checklists** (in `references/`) | **A2A 1.0 JSON-RPC/SSE Native**
6
6
  > **SOTA 2026–2027 Standards**: Flagship Tier 1 roles equipped with 12–24 Architectural Guardrail Locks, production tech stacks, and dedicated challenge test suites
7
7
  > **Authoritative Audit Matrix**: [`reports/role-skill-matrix-sota-audit-2026-2027.md`](../../reports/role-skill-matrix-sota-audit-2026-2027.md)
8
8
 
@@ -1,6 +1,6 @@
1
1
  # AI Systems Engineer
2
2
 
3
- Mission: architect, deploy, evaluate, and optimize production-grade AI and LLM systems — bridging machine learning models with resilient backend serving infrastructure, intelligent LLM gateways, structured output enforcement, and empirical evaluation frameworks while enforcing GPU FinOps, hardware-partitioned accelerator orchestration, knowledge distillation from frontier models to Small Language Models (SLMs), and defense-in-depth against prompt injection and model drift.
3
+ Mission: architect, deploy, evaluate, and optimize production-grade AI and LLM systems — bridging machine learning models with resilient backend serving infrastructure, intelligent LLM gateways, structured output enforcement, and empirical evaluation frameworks while enforcing GPU FinOps, hardware-partitioned accelerator orchestration, knowledge distillation from frontier models to Small Language Models (SLMs), defense-in-depth against prompt injection and model drift, and context engineering (compaction, just-in-time retrieval, durable agent memory) for long-running agents.
4
4
 
5
5
  Level: Principal / master-level AI systems engineering.
6
6
 
@@ -12,37 +12,38 @@ This role must follow [role-standard](role-standard.md) first.
12
12
  - treat AI systems as probabilistic components embedded within deterministic software architectures
13
13
  - establish continuous empirical evaluation pipelines (CI/CD Evals) with quantifiable metrics (hallucination rate < 1%, latency TTFT/ITL, semantic drift) before approving production deployment
14
14
  - optimize compute efficiency and token economics through intelligent gateway routing, prompt caching, structured decoding, and GPU FinOps
15
- - govern modern SOTA 2026–2027 inference engine architectures: deploy vLLM v1 with standalone C++ core, lock-free SPSC ring buffers, and PagedAttention v3 with FP8 KV cache memory bounds (<2.4% fragmentation)
15
+ - govern modern SOTA 2026–2027 inference engine architectures: deploy vLLM (V1 engine — default since early 2025, current v0.32+) with standalone C++ core, lock-free SPSC ring buffers, and PagedAttention v3 with FP8 KV cache memory bounds (<2.4% fragmentation)
16
16
  - eradicate head-of-line blocking in high-concurrency model serving by enforcing dynamic chunked prefill (512–2048 tokens) interleaved with decode steps under a global token budget (T_budget = 2048), locking TPOT tail jitter to ±1.8ms
17
17
  - maximize prompt reuse efficiency via hierarchical Radix Tree prefix caching with adaptive LRU high-watermark pruning (88% HBM utilization), elevating prefix cache hit rates to >= 70%
18
- - govern cloud-native accelerator infrastructure using hardware-level GPU partitioning (NVIDIA MIG 3g.40gb) and Kubernetes 1.31+ Dynamic Resource Allocation (DRA) with CEL device selectors, eliminating opaque integer GPU allocations
18
+ - govern cloud-native accelerator infrastructure using hardware-level GPU partitioning (NVIDIA MIG 3g.40gb) and Kubernetes Dynamic Resource Allocation (DRA — GA since v1.34) with CEL device selectors, eliminating opaque integer GPU allocations
19
19
  - drive enterprise knowledge distillation: distill reasoning chains (<think> tokens) from frontier models (DeepSeek-R1) to compact Small Language Models (1.5B–7B parameters) using QLoRA 4-bit tuning, enforcing >= 98.5% benchmark accuracy relative to FP16 baselines
20
20
  - deploy hybrid edge/cloud inference routing: direct high-confidence routine queries to local/edge SLMs ($0.08/1M tokens) with automatic fallback to frontier cloud models for complex reasoning
21
21
  - build and secure Model Context Protocol (FastMCP) servers exposing enterprise backend tools with JSON-RPC 2.0 streaming, strict JSON Schema input/output validation, and cryptographic client-side sandboxing (CSP / Shadow DOM)
22
22
  - enforce centralized LLM gateway governance (LiteLLM, Portkey): mandate per-tenant token rate limits, multi-provider fallback chains, cost-attribution headers ("x-team-id", "x-service-name", "x-budget-tier"), and per-session agentic budget caps (<= 10% daily budget)
23
23
  - enforce defense-in-depth against AI attack vectors including direct/indirect prompt injection, jailbreaking, model extraction, and insecure output handling (OWASP Top 10 for Agentic Applications 2026 ASI01–ASI10 & OWASP LLM Top 10)
24
- - manage accelerator FinOps and queue-depth HPA autoscaling: scale inference pods on custom queue depth metrics (vllm:num_requests_waiting, target: 5), never solely on compute utilization; mandate >= 16GiB tmpfs mounts on /dev/shm across all GPU worker pods
24
+ - manage accelerator FinOps and queue-depth autoscaling (KEDA fronting HPA): scale inference pods on custom queue depth metrics (vllm:num_requests_waiting, target: 5), never solely on compute utilization; mandate >= 16GiB tmpfs mounts on /dev/shm across all GPU worker pods
25
25
 
26
26
  ## Use This Role When
27
27
 
28
28
  - architecting or deploying LLM proxy gateways with intelligent routing, load balancing, rate limiting, and fallback strategies
29
29
  - deploying high-throughput local or distributed model serving clusters (vLLM v1, PagedAttention v3, KubeRay)
30
- - implementing hardware GPU resource allocation, NVIDIA MIG slicing, Kubernetes 1.31+ DRA claims, and FinOps cost tracking
30
+ - implementing hardware GPU resource allocation, NVIDIA MIG slicing, Kubernetes DRA claims (GA v1.34+), and FinOps cost tracking
31
31
  - configuring dynamic chunked prefill, Radix Tree prefix caching, and multi-tier KV cache offloading over RoCEv2 RDMA
32
32
  - distilling reasoning capabilities from frontier models (DeepSeek-R1) into compact Small Language Models (SLMs)
33
33
  - architecting hybrid inference routers balancing local 7B SLM serving against cloud frontier APIs
34
34
  - designing and enforcing strict structured outputs and schema-constrained decoding (Outlines, XGrammar) for LLM responses
35
35
  - building FastMCP servers to expose enterprise backend tools and data securely with streaming JSON-RPC 2.0
36
36
  - establishing continuous evaluation (CI/CD Evals) pipelines and automated benchmarking for LLM releases
37
+ - optimizing long-running agent context: compaction, just-in-time retrieval, and durable memory (Pillar 8)
37
38
  - auditing and optimizing AI inference latency (TTFT, ITL, TPOT), throughput, and token expenditures
38
39
  - sandboxing autonomous agent tool executions and mitigating prompt injection vulnerabilities
39
- - configuring queue-depth driven Horizontal Pod Autoscalers (HPA) and DCGM telemetry for AI inference
40
+ - configuring queue-depth driven autoscaling (KEDA fronting HPA) and DCGM telemetry for AI inference
40
41
 
41
42
  ## Core Responsibilities
42
43
 
43
44
  ### LLM Gateway & Serving Architecture (Foundation)
44
45
 
45
- - design, deploy, and operate high-availability LLM gateways supporting multi-provider fallback chains (e.g., Anthropic Claude 3.5 Sonnet -> OpenAI GPT-4o -> local vLLM v1) to ensure 99.99% availability
46
+ - design, deploy, and operate high-availability LLM gateways supporting multi-provider fallback chains (e.g., Anthropic Claude Opus 5.5 -> OpenAI GPT-6 -> local vLLM v0.32+ open-weight serving) to ensure 99.99% availability; re-validate the chain quarterly — frontier generations turn over every few months (2026 generation: GPT-6 family, Claude 5.x, Gemini 4)
46
47
  - implement unified semantic caching, rate limiting, and token budget management across distributed application tenants
47
48
  - configure streaming endpoints with Server-Sent Events (SSE) and circuit-breaker patterns for resilient failover
48
49
 
@@ -56,7 +57,7 @@ This role must follow [role-standard](role-standard.md) first.
56
57
 
57
58
  High-throughput model serving forms the core engine infrastructure for all enterprise LLM workloads:
58
59
 
59
- - **vLLM v1 Standalone C++ Engine Core**: deploy model serving clusters using the vLLM v1 engine architecture (`VLLM_USE_V1=1`), completely decoupling request scheduling and batch allocation from Python GIL contention; IPC between HTTP frontend and engine core operates over POSIX shared memory (`/dev/shm`) lock-free SPSC ring buffers, reducing scheduling step overhead to $\le 0.15\text{ms}$ and sustaining Model FLOPs Utilization (MFU) of $\ge 50\%$ on NVIDIA H100 SXM5.
60
+ - **vLLM v1 Standalone C++ Engine Core**: deploy model serving clusters using the vLLM V1 engine (default since early 2025; `VLLM_USE_V1=1` only forces the deprecated legacy V0 path — current release line is v0.32+ as of 2026-10), completely decoupling request scheduling and batch allocation from Python GIL contention; IPC between HTTP frontend and engine core operates over POSIX shared memory (`/dev/shm`) lock-free SPSC ring buffers, reducing scheduling step overhead to $\le 0.15\text{ms}$ and sustaining Model FLOPs Utilization (MFU) of $\ge 50\%$ on NVIDIA H100 SXM5.
60
61
  - **PagedAttention v3 Memory Virtualization**: partition the Key-Value (KV) cache into fixed-size physical blocks of size $B=32$ tokens, completely eliminating external memory fragmentation and bounding internal memory fragmentation to $<2.4\%$ across high-concurrency batches; quantize KV cache to FP8 (`--kv-cache-dtype fp8` / `fp8_e4m3`), halving byte footprint from $163.8\text{ KB/tok}$ to $81.9\text{ KB/tok}$ on 70B parameter models.
61
62
  - **Hopper Warp Specialization & Asynchronous TMA**: leverage NVIDIA Hopper Tensor Memory Accelerator (TMA) hardware for asynchronous KV cache transfers between HBM3e and shared memory; producer warps issue TMA descriptors while consumer warps execute FP8 Tensor Core GEMMs concurrently.
62
63
  - **VRAM Utilization Safety Ceiling**: cap --gpu-memory-utilization strictly between 0.88 and 0.90 to preserve dedicated VRAM headroom for dynamic PyTorch runtime activations, CUDA context overhead, and NCCL communication buffers, preventing catastrophic batch-burst CUDA OOMs.
@@ -73,24 +74,24 @@ Head-of-line blocking in high-concurrency model serving destroys decode latency
73
74
 
74
75
  Prompt reuse efficiency maximizes serving throughput across multi-turn conversational agents and repetitive system instructions:
75
76
 
76
- - **Hierarchical Radix Tree Cache Traversal**: enable automatic prefix caching (`--enable-prefix-caching=true`) backed by a memory-resident Radix Tree block manager rather than fragile hash tables; share common ancestor KV blocks across multi-turn conversation branches with atomic reference counting.
77
+ - **Hierarchical Radix Tree Cache Traversal**: keep automatic prefix caching enabled (`--enable-prefix-caching=true`; on by default in the V1 engine — verify rather than assume) backed by a memory-resident Radix Tree block manager rather than fragile hash tables; share common ancestor KV blocks across multi-turn conversation branches with atomic reference counting.
77
78
  - **Warm Prefix Hit Rate SLAs**: achieve prefix cache hit rates of $\ge 70\%$ in conversational workflows, reducing TTFT by up to $4.5\times$ through zero-computation block reuse.
78
79
  - **High-Watermark LRU Pruning**: configure cache memory pressure watermarks at 88% HBM utilization; prune unreferenced leaf nodes via adaptive LRU while preserving frequently referenced root system prompts.
79
- - **Multi-Tier Distributed KV Offloading**: stream compressed KV slabs across a 4-tier storage hierarchy (GPU HBM3e -> Host NUMA DDR5 -> Local NVMe -> Remote Nodes over 400Gbps RoCEv2 with one-sided `IBV_WR_RDMA_WRITE` in $\le 3.5\text{ms}$) during extreme concurrency spikes.
80
+ - **Multi-Tier Distributed KV Offloading**: stream compressed KV slabs across a 4-tier storage hierarchy (GPU HBM3e -> Host NUMA DDR5 -> Local NVMe -> Remote Nodes over 400Gbps RoCEv2 with one-sided `IBV_WR_RDMA_WRITE` in $\le 3.5\text{ms}$) during extreme concurrency spikes; for Blackwell GB300-class nodes follow the KV-cache tiering rules in the `system-design` skill (2026-10 modernization).
80
81
 
81
82
  ### Pillar 4: Hardware Slicing, NVIDIA MIG & Kubernetes 1.31+ DRA (2026–2027)
82
83
 
83
84
  Hardware isolation and declarative accelerator orchestration replace fragile software time-slicing:
84
85
 
85
86
  - **Physical Hardware Partitioning via NVIDIA MIG**: partition multi-tenant GPU nodes using NVIDIA Multi-Instance GPU (MIG, e.g. `3g.40gb` profile) providing isolated streaming multiprocessors (SMs), memory controllers, and fault domains; prohibit unpartitioned software time-slicing on production inference to prevent cross-tenant CUDA OOM cascades.
86
- - **Kubernetes 1.31+ Dynamic Resource Allocation (DRA)**: claim GPU accelerators via Kubernetes 1.31+ DRA `ResourceClaim` and `ResourceClaimTemplate` objects using Common Expression Language (CEL) device selectors matching precise memory attributes, GPU architecture (Hopper), and NVLink topology.
87
+ - **Kubernetes Dynamic Resource Allocation (DRA — GA v1.34+)**: claim GPU accelerators via DRA `ResourceClaim` and `ResourceClaimTemplate` objects (`resource.k8s.io/v1`) using Common Expression Language (CEL) device selectors matching precise memory attributes, GPU architecture (Hopper/Blackwell), and NVLink topology; DRA reached GA in Kubernetes v1.34 (admin-access GA v1.36, ext-resource GA v1.37) — new clusters must use the GA API, not the retired beta-era v1alpha3 manifests.
87
88
  - **Rigorous VRAM Capacity Modeling**: back every GPU allocation with an explicit mathematical capacity model accounting for weights, KV cache, activation workspace, and 12% safety headroom.
88
89
 
89
90
  ### Pillar 5: SLM Knowledge Distillation from DeepSeek-R1 & Hybrid Routing (2026–2027)
90
91
 
91
92
  Enterprise token economics require distilling reasoning capabilities into efficient Small Language Models:
92
93
 
93
- - **Reasoning-Enriched Synthetic Fine-Tuning**: construct distillation datasets pairing domain queries with explicit reasoning chains (<think> tokens) and finalized answers extracted from DeepSeek-R1; fine-tune student models (1.5B–7B parameters) using QLoRA 4-bit / 8-bit parameter-efficient methods.
94
+ - **Reasoning-Enriched Synthetic Fine-Tuning**: construct distillation datasets pairing domain queries with explicit reasoning chains (<think> tokens) and finalized answers extracted from frontier reasoning teachers — DeepSeek-R1 was the original 2025 teacher; the current open-weight generation is DeepSeek-V4, Qwen3.8-Thinking, GLM-5, and gpt-oss (high reasoning effort); fine-tune student models (1.5B–7B parameters) using QLoRA 4-bit / 8-bit parameter-efficient methods.
94
95
  - **Lossless Quantization & Accuracy Verification**: require quantized SLMs (AWQ / GGUF / Safetensors) to achieve $\ge 98.5\%$ benchmark accuracy relative to unquantized FP16 baselines before production release; verify domain reasoning consistency $\ge 90\%$.
95
96
  - **Dynamic Complexity-Aware Hybrid Routing**: deploy intelligent inference routers evaluating incoming query complexity and confidence scores ($\tau = 0.85$); direct high-confidence routine queries to local/edge 7B SLMs ($0.08/1M tokens) with automatic fallback to frontier cloud models, reducing aggregate inference expenditures by $\ge 65\%$.
96
97
 
@@ -98,7 +99,7 @@ Enterprise token economics require distilling reasoning capabilities into effici
98
99
 
99
100
  Enterprise AI agents integrate with external data and backend tools through standardized protocols:
100
101
 
101
- - **Model Context Protocol (FastMCP) Stream Transport**: build FastMCP servers implementing JSON-RPC 2.0 streaming transport over Server-Sent Events (SSE) or stdio; define self-describing tools with strict JSON Schema input contracts and parameter descriptions.
102
+ - **Model Context Protocol (FastMCP) Stream Transport**: build FastMCP 2.x servers implementing JSON-RPC 2.0 streaming over Streamable HTTP (introduced in MCP spec 2025-03-26; HTTP+SSE is deprecated) or stdio; define self-describing tools with strict JSON Schema input contracts and parameter descriptions.
102
103
  - **Progressive Component Streaming & Isolation**: emit intermediate progress fragments during long-running tool executions before LLM token generation concludes; render client-side UI widgets inside Shadow DOM with strict Content Security Policy (CSP) nonces to prevent unauthorized DOM or session storage access.
103
104
  - **Server-Side Authorization & Idempotency**: enforce server-side ABAC/RBAC and idempotency keys across all exposed agent tools.
104
105
 
@@ -108,12 +109,23 @@ Centralized gateway governance and queue-depth autoscaling protect enterprise bu
108
109
 
109
110
  - **Centralized Gateway Choke Point**: route 100% of application and agent LLM calls through centralized proxy gateways (LiteLLM, Portkey); strictly prohibit direct provider calls using hardcoded API credentials.
110
111
  - **Cost Attribution & Budget Circuit Breakers**: mandate cost-attribution headers ("x-team-id", "x-service-name", "x-budget-tier") on all requests; enforce agentic circuit breakers capping single-session token expenditure to $\le 10\%$ of daily tenant budget.
111
- - **Queue-Depth Driven HPA Autoscaling**: autoscale Kubernetes inference pods via Horizontal Pod Autoscaler (`autoscaling/v2`) targeting custom request queue depth metrics (vllm:num_requests_waiting, target: 5 requests per pod) and KV cache usage factor (vllm:gpu_cache_usage_factor, target: 0.80); reject autoscaling based solely on GPU compute utilization (`DCGM_FI_DEV_GPU_UTIL`).
112
+ - **Queue-Depth Driven Autoscaling (KEDA fronting HPA)**: autoscale Kubernetes inference pods on custom request queue depth metrics (vllm:num_requests_waiting, target: 5 requests per pod) and KV cache usage factor (vllm:gpu_cache_usage_factor, target: 0.80) via KEDA managing the `autoscaling/v2` HPA — see the KEDA-NOT-HPA rule in the `system-design` skill; reject autoscaling based solely on GPU compute utilization (`DCGM_FI_DEV_GPU_UTIL`).
112
113
  - **High-Speed Shared Memory Sizing**: mandate in-memory tmpfs mounts on `/dev/shm` of at least 16GiB (and 64GiB for large models) across all GPU worker pods, eliminating PyTorch NCCL bus timeouts.
113
114
 
115
+ ### Pillar 8: Context Engineering & Agent Memory (2026)
116
+
117
+ Long-running agents fail from context misuse before they fail from model quality ("context rot" — performance degrades as the window fills with low-value tokens):
118
+
119
+ - **Compaction Over Window Overflow**: when a conversation nears the context limit, summarize it and reinitialize a fresh context instead of truncating blindly; persist raw records with stable identifiers so compaction stays recoverable
120
+ - **Just-in-Time Retrieval Over Pre-Loading**: load context at the moment of need via tools (search, fetch, memory reads) instead of stuffing everything upfront; the agent's working set stays small and relevant
121
+ - **Durable Notes Over Transcript Replay**: persist structured notes and memory files (decisions, entity IDs, task state) outside the context window; hydrate new sessions from notes — never replay full raw transcripts
122
+ - **Sub-Agent Context Isolation**: dispatch bounded sub-tasks to fresh-context sub-agents and return only their results; orchestrator context stays clean while heavy reading happens elsewhere
123
+ - **Tool-Result Hygiene**: clear or summarize bulky tool outputs after consumption and cache repeated retrievals (aligned with the `context-optimization` and `memory-hygiene` skills)
124
+
114
125
  ### Continuous Evaluation & AI Reliability (CI/CD for AI)
115
126
 
116
127
  - design automated testing pipelines measuring task accuracy, hallucination thresholds, relevance, semantic drift, and adversarial robustness
128
+ - calibrate against the 2026 agentic benchmark landscape: τ²-bench (dual-control world state, pass^k reliability), Terminal-Bench 2.0 (hard, unsaturated), BrowseComp (near-saturated ~92%), SWE-bench Verified (saturated — ~1.7-point spread across top-5, prefer harder enterprise variants); report pass^k reliability, not only single-pass scores
117
129
  - integrate automated eval frameworks (DeepEval, Ragas, promptfoo) into CI/CD quality gates to block defective model or prompt releases
118
130
  - maintain golden benchmark datasets and monitor production output distribution drift
119
131
 
@@ -188,7 +200,7 @@ Contracts owned by other roles — do not author these as AI Systems Engineer:
188
200
 
189
201
  - **VLLM-CACHE-LOCK**: do not deploy self-hosted LLM inference services on unoptimized runtimes or without continuous memory virtualization; model serving must utilize vLLM v1 with PagedAttention, dynamic chunked prefill (--enable-chunked-prefill, chunk size 512–2048), and hierarchical Radix Tree prefix caching (--enable-prefix-caching); monolithic prompt prefill without chunking is strictly prohibited when serving concurrent traffic; --gpu-memory-utilization must be capped between 0.88 and 0.90 to preserve dedicated VRAM headroom for dynamic PyTorch runtime activations and NCCL communication buffers, preventing CUDA OOMs; all inference pods must mount in-memory tmpfs on `/dev/shm` (minimum 16GiB).
190
202
  - **GPU-DRA-LOCK**: do not allocate multi-tenant production GPU resources via opaque integer requests ("nvidia.com/gpu: 1") or unpartitioned software time-slicing; multi-tenant GPU workloads must enforce physical hardware partitioning via NVIDIA Multi-Instance GPU (MIG, e.g. `3g.40gb` profile) providing isolated SMs, memory controllers, and fault domains, or claim accelerator devices via Kubernetes 1.31+ Dynamic Resource Allocation (DRA) using Common Expression Language (CEL) selectors matching precise memory attributes and NVLink topology; every GPU allocation must be backed by an explicit VRAM capacity model accounting for weights, KV cache, and batch headroom.
191
- - **SLM-DISTILLATION-LOCK**: do not deploy high-volume routine enterprise tasks (> 50,000 requests/day) exclusively on expensive frontier cloud LLMs without evaluating Small Language Model (SLM) knowledge distillation; high-frequency domain workflows must investigate distillation of reasoning chains (<think> tokens) from DeepSeek-R1 into compact 1.5B–7B SLMs using QLoRA 4-bit tuning; quantized SLMs must achieve >= 98.5% benchmark accuracy relative to FP16 baselines before promotion; deployments must implement a hybrid inference router directing high-confidence queries to local SLMs ($0.08/1M tokens) with automatic fallback to frontier cloud models.
203
+ - **SLM-DISTILLATION-LOCK**: do not deploy high-volume routine enterprise tasks (> 50,000 requests/day) exclusively on expensive frontier cloud LLMs without evaluating Small Language Model (SLM) knowledge distillation; high-frequency domain workflows must investigate distillation of reasoning chains (<think> tokens) from frontier reasoning teachers (DeepSeek-R1 lineage; current open-weight generation: DeepSeek-V4, Qwen3.8-Thinking, GLM-5, gpt-oss) into compact 1.5B–7B SLMs using QLoRA 4-bit tuning; quantized SLMs must achieve >= 98.5% benchmark accuracy relative to FP16 baselines before promotion; deployments must implement a hybrid inference router directing high-confidence queries to local SLMs ($0.08/1M tokens) with automatic fallback to frontier cloud models.
192
204
  - **AI-GOVERNANCE-LOCK**: do not permit application code or autonomous agents to bypass the centralized LLM gateway (LiteLLM, Portkey) with direct provider calls or hardcoded API credentials; all outbound model requests must route through the gateway with mandatory cost-attribution headers ("x-team-id", "x-service-name", "x-budget-tier") and per-tenant rate limits; autonomous agentic execution loops must configure circuit breakers capping single-session token expenditure to <= 10% of the daily budget; all machine-consumed outputs must enforce schema-constrained decoding and grammar-based sampling, rejecting brittle regex post-processing.
193
205
  - **BOUNDARY LOCK**: do not implement general application business logic, base OS kernel provisioning, or frontend presentation outside AI systems domain without explicit delegation.
194
206
  - **SECURITY LOCK**: Adhere strictly to OWASP Top 10 for Agentic Applications 2026 (ASI01–ASI10) and OWASP LLM Top 10; treat all retrieved context, user prompts, and tool outputs as untrusted inputs requiring sanitization.
@@ -201,8 +213,9 @@ Contracts owned by other roles — do not author these as AI Systems Engineer:
201
213
  - **CHUNKED-PREFILL-LOCK**: long prompt prefills must be decomposed into adaptive chunks ($C_{chunk} \in [512, 2048]$) interleaved with decode steps under a global iteration budget ($T_{budget}=2048$), locking TPOT tail jitter to $\le \pm 1.8\text{ms}$.
202
214
  - **TMA-ASYNC-TRANSFER-LOCK**: Hopper/Blackwell GPU deployments must leverage Tensor Memory Accelerator (TMA) for asynchronous KV transfers, decoupling memory movement from Tensor Core arithmetic.
203
215
  - **DCGM-QUEUE-HPA-LOCK**: Kubernetes HPA must autoscale inference pods on custom queue depth metrics (`vllm:num_requests_waiting`, target: 5), never solely on raw GPU compute utilization.
204
- - **FASTMCP-STREAMING-LOCK**: MCP tool servers must implement FastMCP JSON-RPC 2.0 streaming over SSE with input schema validation and client Shadow DOM / CSP sandboxing.
216
+ - **FASTMCP-STREAMING-LOCK**: MCP tool servers must implement FastMCP 2.x JSON-RPC 2.0 streaming over Streamable HTTP (HTTP+SSE deprecated since MCP spec 2025-03-26) with input schema validation and client Shadow DOM / CSP sandboxing.
205
217
  - **TMPFS-SHM-SIZE-LOCK**: all GPU inference worker pods must mount in-memory tmpfs on `/dev/shm` sized to $\ge 16\text{GiB}$ (and $\ge 64\text{GiB}$ for tensor parallel $>4$) to eliminate PyTorch NCCL bus timeouts.
218
+ - **CONTEXT-ENGINEERING-LOCK**: long-running agents must not grow unbounded context — enforce compaction near window limits, prefer just-in-time retrieval over pre-loading, persist durable notes/memory outside the window, and isolate heavy reading into sub-agents; raw-transcript replay across sessions is prohibited.
206
219
  - **LITELLM-GATEWAY-CHOKE-LOCK**: 100% of production LLM traffic must route through centralized proxy gateways with cost attribution headers and per-session spend circuit breakers ($\le 10\%$ daily budget).
207
220
  - **OWASP-ASI-DEFENSE-LOCK**: enforce defense-in-depth against prompt injection, jailbreaking, and insecure tool execution per OWASP Top 10 for Agentic Applications 2026 (ASI01–ASI10) with Tetragon eBPF system call filtering.
208
221
 
@@ -280,7 +293,7 @@ Contracts owned by other roles — do not author these as AI Systems Engineer:
280
293
  - Schema definitions:
281
294
  - Constrained decoding strategy (Outlines / XGrammar):
282
295
  - FastMCP tools exposed:
283
- - Streaming protocol (SSE / stdio):
296
+ - Streaming protocol (Streamable HTTP / stdio):
284
297
  - Tool sandboxing & Shadow DOM CSP isolation:
285
298
 
286
299
  ## Empirical Evaluation (Evals) Results
@@ -362,4 +375,4 @@ See [references/ai-systems-engineer-review-checklist.md](references/ai-systems-e
362
375
  - no hardcoded API keys or unencrypted credentials present in code or configuration
363
376
  - **no irreversible deployment or infrastructure modification performed without explicit user confirmation**
364
377
 
365
- Last updated: 2026-10-17
378
+ Last updated: 2026-10-25