@vesviet/agent-skills 5.10.0 → 5.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/INDEX.md +31 -19
  2. package/README.md +6 -18
  3. package/VERSION +1 -1
  4. package/adapters/antigravity/ANTIGRAVITY.md +40 -142
  5. package/adapters/antigravity/INDEX_TIER1.json +142 -121
  6. package/adapters/antigravity/a2a-config.template.yaml +1 -1
  7. package/adapters/antigravity/antigravity-tools.md +25 -0
  8. package/adapters/antigravity/role-skill-index.json +156 -48
  9. package/adapters/claude/CLAUDE_ADAPTER.md +3 -7
  10. package/adapters/claude/settings.template.json +11 -0
  11. package/adapters/cursor/README.md +1 -5
  12. package/adapters/cursor/hooks.template.json +1 -1
  13. package/core/contracts/README.md +0 -20
  14. package/core/contracts/schemas/compact-working-state.json +42 -1
  15. package/core/contracts/schemas/ui-component-spec.json +28 -2
  16. package/core/policies/README.md +0 -20
  17. package/core/policies/execution-sandbox.md +0 -12
  18. package/core/roles/3d-graphics-engineer.md +144 -208
  19. package/core/roles/README.md +0 -22
  20. package/core/roles/agent-coordinator.md +28 -147
  21. package/core/roles/agent-discovery-engineer.md +46 -39
  22. package/core/roles/ai-systems-engineer.md +2 -0
  23. package/core/roles/backend-developer.md +22 -117
  24. package/core/roles/cloudflare-engineer.md +1 -1
  25. package/core/roles/data-engineer.md +3 -1
  26. package/core/roles/devops-engineer.md +4 -3
  27. package/core/roles/ecommerce-engineer.md +18 -6
  28. package/core/roles/frontend-developer.md +145 -317
  29. package/core/roles/game-developer.md +2 -1
  30. package/core/roles/mobile-engineer.md +18 -204
  31. package/core/roles/product-manager.md +3 -3
  32. package/core/roles/project-manager.md +5 -5
  33. package/core/roles/references/3d-graphics-engineer-review-checklist.md +109 -109
  34. package/core/roles/references/agent-coordinator-responsibilities.md +120 -0
  35. package/core/roles/references/agent-coordinator-review-checklist.md +22 -4
  36. package/core/roles/references/agent-discovery-engineer-review-checklist.md +29 -20
  37. package/core/roles/references/backend-developer-responsibilities.md +47 -0
  38. package/core/roles/references/backend-developer-review-checklist.md +15 -0
  39. package/core/roles/references/business-analyst-responsibilities.md +2 -2
  40. package/core/roles/references/frontend-developer-responsibilities.md +14 -6
  41. package/core/roles/references/frontend-developer-review-checklist.md +13 -6
  42. package/core/roles/references/mobile-engineer-responsibilities.md +137 -0
  43. package/core/roles/references/mobile-engineer-review-checklist.md +63 -0
  44. package/core/roles/references/reviewer-review-checklist.md +54 -0
  45. package/core/roles/references/sdet-review-checklist.md +53 -0
  46. package/core/roles/references/solution-architect-responsibilities.md +134 -0
  47. package/core/roles/references/sre-review-checklist.md +81 -0
  48. package/core/roles/references/system-engineer-responsibilities.md +124 -0
  49. package/core/roles/references/technical-architect-responsibilities.md +192 -0
  50. package/core/roles/references/technical-architect-review-checklist.md +58 -0
  51. package/core/roles/references/technical-lead-review-checklist.md +65 -0
  52. package/core/roles/references/ui-ux-designer-anti-slop-standards.md +61 -35
  53. package/core/roles/references/ui-ux-designer-responsibilities.md +79 -226
  54. package/core/roles/references/ui-ux-designer-review-checklist.md +102 -116
  55. package/core/roles/researcher.md +3 -3
  56. package/core/roles/reviewer.md +2 -2
  57. package/core/roles/role-standard.md +79 -213
  58. package/core/roles/sdet.md +5 -6
  59. package/core/roles/security-engineer.md +4 -3
  60. package/core/roles/solution-architect.md +9 -130
  61. package/core/roles/sre.md +1 -0
  62. package/core/roles/system-engineer.md +15 -155
  63. package/core/roles/task-planner.md +1 -1
  64. package/core/roles/technical-architect.md +15 -245
  65. package/core/roles/technical-lead.md +1 -0
  66. package/core/roles/technical-writer.md +3 -3
  67. package/core/roles/ui-ux-designer.md +158 -303
  68. package/core/rules/README.md +0 -22
  69. package/core/skills/README.md +10 -24
  70. package/core/skills/agent/agent-delegation/SKILL.md +11 -0
  71. package/core/skills/agent/agent-graph-orchestration/SKILL.md +5 -0
  72. package/core/skills/agent/agent-memory-compaction/SKILL.md +69 -99
  73. package/core/skills/agent/agent-memory-compaction/references/anchored-schema-and-compaction-algorithms.md +74 -115
  74. package/core/skills/agent/agent-model-routing/SKILL.md +2 -0
  75. package/core/skills/agent/agent-observability/SKILL.md +12 -6
  76. package/core/skills/agent/agent-observability/references/session-forensics-7-dimensions.md +41 -0
  77. package/core/skills/agent/agent-panel-meeting/SKILL.md +3 -3
  78. package/core/skills/agent/agent-quality-gate/SKILL.md +9 -0
  79. package/core/skills/agent/configure-agent-headers/SKILL.md +3 -0
  80. package/core/skills/agent/configure-agent-skills/SKILL.md +4 -4
  81. package/core/skills/agent/configure-oauth-metadata/SKILL.md +10 -7
  82. package/core/skills/ai/deploy-vllm-inference/SKILL.md +2 -0
  83. package/core/skills/ai/deploy-vllm-inference/examples/vllm-production-serve-config.yaml +22 -0
  84. package/core/skills/ai/deploy-vllm-inference/references/vllm-v1-paged-attention-and-kv-tiering.md +20 -0
  85. package/core/skills/backend/add-api-endpoint/SKILL.md +9 -0
  86. package/core/skills/backend/add-event-handler/SKILL.md +11 -0
  87. package/core/skills/backend/add-event-handler/examples/go-outbox-skip-locked-relay.go +97 -0
  88. package/core/skills/backend/add-event-handler/references/transactional-outbox-and-cloudevents.md +42 -0
  89. package/core/skills/backend/add-service-client/SKILL.md +2 -0
  90. package/core/skills/backend/add-service-client/examples/ts-circuit-breaker-full-jitter-client.ts +71 -0
  91. package/core/skills/backend/add-service-client/references/resilient-client-circuit-breaker-specs.md +25 -0
  92. package/core/skills/backend/build-mcp-server/SKILL.md +2 -0
  93. package/core/skills/backend/build-mcp-server/examples/ts-stateless-mcp-server-zod.ts +52 -0
  94. package/core/skills/backend/build-mcp-server/references/mcp-2026-stateless-contract-specs.md +21 -0
  95. package/core/skills/backend/design-caching-and-locking/SKILL.md +83 -0
  96. package/core/skills/backend/design-caching-and-locking/examples/redis-lua-atomic-reservation-fencing.lua +30 -0
  97. package/core/skills/backend/design-caching-and-locking/references/redis-lua-fencing-and-stampede-specs.md +25 -0
  98. package/core/skills/backend/design-caching-and-locking/scripts/verify_lua_atomicity.py +68 -0
  99. package/core/skills/backend/implement-auth/SKILL.md +9 -0
  100. package/core/skills/backend/implement-structured-outputs/SKILL.md +2 -0
  101. package/core/skills/backend/implement-structured-outputs/examples/python-pydantic-structured-output.py +65 -0
  102. package/core/skills/backend/implement-structured-outputs/references/constrained-decoding-and-double-validation.md +18 -0
  103. package/core/skills/backend/optimize-postgres/SKILL.md +9 -0
  104. package/core/skills/business/elicit-requirements/SKILL.md +1 -0
  105. package/core/skills/business/trace-requirements-impact/SKILL.md +1 -0
  106. package/core/skills/business/write-use-cases/SKILL.md +1 -0
  107. package/core/skills/commerce/handle-checkout-flow/SKILL.md +15 -65
  108. package/core/skills/commerce/integrate-payment-gateway/SKILL.md +19 -57
  109. package/core/skills/commerce/manage-order-fulfillment/SKILL.md +14 -49
  110. package/core/skills/commerce/manage-product-catalog/SKILL.md +2 -0
  111. package/core/skills/document/docx/SKILL.md +1 -0
  112. package/core/skills/document/pdf/SKILL.md +1 -0
  113. package/core/skills/document/xlsx/SKILL.md +1 -0
  114. package/core/skills/documentation/configure-llms-txt/SKILL.md +1 -0
  115. package/core/skills/documentation/write-documentation/SKILL.md +1 -0
  116. package/core/skills/documentation/write-tech-radar/SKILL.md +1 -0
  117. package/core/skills/education/create-exercises/SKILL.md +1 -0
  118. package/core/skills/education/design-learning-plan/SKILL.md +1 -0
  119. package/core/skills/education/grade-and-review/SKILL.md +1 -0
  120. package/core/skills/foundation/accessibility-review/SKILL.md +1 -0
  121. package/core/skills/foundation/ai-risk-assessment/SKILL.md +1 -0
  122. package/core/skills/foundation/combinatorial-testing/SKILL.md +1 -0
  123. package/core/skills/foundation/conduct-research/SKILL.md +1 -1
  124. package/core/skills/foundation/conduct-research/references/ai-era-source-discipline.md +1 -1
  125. package/core/skills/foundation/create-migration/SKILL.md +10 -0
  126. package/core/skills/foundation/design-review/SKILL.md +9 -10
  127. package/core/skills/foundation/design-ux-flow/SKILL.md +9 -7
  128. package/core/skills/foundation/discernment-nudge/SKILL.md +1 -0
  129. package/core/skills/foundation/hostile-component-stress-testing/SKILL.md +1 -0
  130. package/core/skills/foundation/incident-report/SKILL.md +1 -0
  131. package/core/skills/foundation/plan-technical-delivery/SKILL.md +1 -0
  132. package/core/skills/foundation/playwright-evidence-qa/SKILL.md +1 -0
  133. package/core/skills/foundation/refactor-legacy-code/SKILL.md +84 -0
  134. package/core/skills/foundation/refactor-legacy-code/examples/characterization-test-seam-extraction.py +34 -0
  135. package/core/skills/foundation/refactor-legacy-code/references/strangler-fig-seams-and-characterization-tests.md +17 -0
  136. package/core/skills/foundation/refactor-legacy-code/scripts/check_refactor_blast_radius.py +63 -0
  137. package/core/skills/foundation/release-notes/SKILL.md +1 -0
  138. package/core/skills/foundation/systematic-debugging/SKILL.md +10 -0
  139. package/core/skills/foundation/webapp-server-runner/SKILL.md +1 -0
  140. package/core/skills/foundation/write-product-brief/SKILL.md +1 -0
  141. package/core/skills/foundation/write-tests/SKILL.md +9 -0
  142. package/core/skills/frontend/add-page-route/SKILL.md +7 -7
  143. package/core/skills/frontend/add-ui-component/SKILL.md +1 -0
  144. package/core/skills/frontend/add-ui-component/references/react19-component-standards-and-anti-slop.md +2 -2
  145. package/core/skills/frontend/component-composition/SKILL.md +10 -0
  146. package/core/skills/frontend/design-md-specification/SKILL.md +5 -0
  147. package/core/skills/frontend/design-system-engineering/SKILL.md +4 -2
  148. package/core/skills/frontend/frontend-micro-polish/SKILL.md +1 -0
  149. package/core/skills/frontend/frontend-testing/SKILL.md +1 -0
  150. package/core/skills/frontend/implement-ai-disclosure/SKILL.md +25 -24
  151. package/core/skills/frontend/implement-view-transitions/SKILL.md +1 -0
  152. package/core/skills/frontend/implement-webmcp/SKILL.md +4 -3
  153. package/core/skills/frontend/integrate-api-client/SKILL.md +9 -11
  154. package/core/skills/frontend/interactive-component-workbench/SKILL.md +1 -0
  155. package/core/skills/frontend/motion-performance-engineering/SKILL.md +1 -0
  156. package/core/skills/frontend/setup-design-system/SKILL.md +3 -2
  157. package/core/skills/frontend/setup-visual-regression/SKILL.md +5 -4
  158. package/core/skills/frontend/ui-ux-designer-anti-slop-standards.md +64 -42
  159. package/core/skills/frontend/web-quality-audit/SKILL.md +1 -0
  160. package/core/skills/gamedev/render-webgl-threejs/SKILL.md +12 -10
  161. package/core/skills/gamedev/render-webgl-threejs/references/webgpu-threejs-pbr-pipeline.md +21 -5
  162. package/core/skills/legal-compliance/audit-ai-compliance/SKILL.md +1 -0
  163. package/core/skills/legal-compliance/draft-legal-opinion/SKILL.md +1 -0
  164. package/core/skills/legal-compliance/manage-vietnam-legal/SKILL.md +1 -0
  165. package/core/skills/meetings-analysis/analyze-business-requirements/SKILL.md +1 -0
  166. package/core/skills/meetings-analysis/analyze-data/SKILL.md +1 -0
  167. package/core/skills/meetings-analysis/meeting-review/SKILL.md +1 -0
  168. package/core/skills/mmo/deploy-mmo-infrastructure/SKILL.md +1 -0
  169. package/core/skills/mmo/deploy-proxyware-fleet/SKILL.md +1 -0
  170. package/core/skills/mobile/deploy-mobile-app/SKILL.md +1 -0
  171. package/core/skills/mobile/develop-mobile-app/SKILL.md +1 -0
  172. package/core/skills/platform/agents-sdk/SKILL.md +1 -0
  173. package/core/skills/platform/cloudflare-email-service/SKILL.md +2 -2
  174. package/core/skills/platform/configure-ci-cd-pipeline/SKILL.md +83 -0
  175. package/core/skills/platform/configure-ci-cd-pipeline/examples/hardened-ci-matrix-workflow.yml +33 -0
  176. package/core/skills/platform/configure-ci-cd-pipeline/references/github-actions-sha-pinning-and-slsa-specs.md +22 -0
  177. package/core/skills/platform/configure-ci-cd-pipeline/scripts/audit_workflow_pinning.py +74 -0
  178. package/core/skills/platform/debug-runtime-platform/SKILL.md +1 -2
  179. package/core/skills/platform/debug-workers-edge/SKILL.md +2 -2
  180. package/core/skills/platform/durable-objects/SKILL.md +1 -0
  181. package/core/skills/platform/orchestrate-chaos-experiment/SKILL.md +1 -0
  182. package/core/skills/platform/sandbox-sdk/SKILL.md +1 -0
  183. package/core/skills/platform/setup-deployment/SKILL.md +2 -2
  184. package/core/skills/platform/setup-gpu-finops/SKILL.md +2 -0
  185. package/core/skills/platform/setup-gpu-finops/examples/gpu-finops-prometheus-rules.yaml +23 -0
  186. package/core/skills/platform/setup-gpu-finops/references/dcgm-kubecost-gpu-attribution-specs.md +16 -0
  187. package/core/skills/platform/setup-llm-gateway/SKILL.md +2 -0
  188. package/core/skills/platform/setup-llm-gateway/examples/litellm-gateway-config.yaml +28 -0
  189. package/core/skills/platform/setup-llm-gateway/references/litellm-routing-budget-failover-specs.md +16 -0
  190. package/core/skills/platform/supply-chain-security/SKILL.md +1 -2
  191. package/core/skills/platform/turnstile-spin/SKILL.md +2 -2
  192. package/core/skills/platform/web-perf/SKILL.md +2 -2
  193. package/core/skills/platform/workers-best-practices/SKILL.md +1 -0
  194. package/core/skills/platform/wrangler/SKILL.md +1 -0
  195. package/core/skills/product/build-story-map/SKILL.md +1 -0
  196. package/core/skills/product/define-product-strategy/SKILL.md +1 -0
  197. package/core/skills/product/model-saas-metrics/SKILL.md +1 -0
  198. package/core/skills/product/prioritize-roadmap/SKILL.md +1 -0
  199. package/core/skills/repo-ops/commit-code/SKILL.md +1 -0
  200. package/core/skills/repo-ops/navigate-service/SKILL.md +28 -132
  201. package/core/skills/repo-ops/navigate-service/examples/service-boundary-map-example.md +14 -0
  202. package/core/skills/repo-ops/navigate-service/references/service-topology-mapping-guide.md +18 -0
  203. package/core/skills/repo-ops/review-code/SKILL.md +10 -0
  204. package/core/skills/repo-ops/review-service/SKILL.md +3 -0
  205. package/core/skills/repo-ops/review-service/examples/service-release-audit-report.md +21 -0
  206. package/core/skills/repo-ops/review-service/references/release-readiness-audit-rubric.md +21 -0
  207. package/core/skills/repo-ops/troubleshoot-service/SKILL.md +1 -0
  208. package/core/skills/security-data/manage-vietnam-accounting/SKILL.md +1 -0
  209. package/core/skills/security-data/reverse-engineer-binary/SKILL.md +1 -0
  210. package/core/skills/security-data/skill-preflight-ast-check/SKILL.md +1 -0
  211. package/core/skills/seo/audit-technical-seo/SKILL.md +1 -0
  212. package/core/skills/seo/implement-schema-markup/SKILL.md +1 -0
  213. package/core/workflows/README.md +0 -20
  214. package/overlays/README.md +2 -22
  215. package/overlays/astro-cloudflare/README.md +0 -20
  216. package/overlays/astro-cloudflare/rules/astro-cloudflare-conventions.md +0 -31
  217. package/overlays/b2b-catalog-golf/README.md +0 -20
  218. package/overlays/b2b-catalog-golf/rules/golf-project-rules.md +0 -31
  219. package/overlays/b2b-catalog-golf/skills/develop-b2b-golf-feature/SKILL.md +1 -0
  220. package/overlays/b2b-factory-catalog/README.md +0 -20
  221. package/overlays/b2b-factory-catalog/rules/icm-project-rules.md +0 -31
  222. package/overlays/b2b-factory-catalog/skills/develop-b2b-catalog-feature/SKILL.md +1 -0
  223. package/overlays/b2b-sport-catalog/README.md +0 -20
  224. package/overlays/b2b-sport-catalog/rules/sport-project-rules.md +0 -31
  225. package/overlays/cad-projection/README.md +0 -20
  226. package/overlays/cad-projection/rules/cad-conventions.md +0 -20
  227. package/overlays/cad-projection/skills/isometric-svg-projection/SKILL.md +1 -0
  228. package/overlays/data-analyst-stack/README.md +0 -20
  229. package/overlays/data-analyst-stack/rules/metric-dashboard-templates.md +0 -31
  230. package/overlays/data-analyst-stack/rules/stack-conventions.md +0 -31
  231. package/overlays/data-warehouse/README.md +0 -22
  232. package/overlays/data-warehouse/learning/learning-conventions.md +0 -31
  233. package/overlays/data-warehouse/learning/phase-roadmap.md +0 -31
  234. package/overlays/data-warehouse/rules/amis-accounting-standards.md +0 -33
  235. package/overlays/data-warehouse/rules/duckdb-concurrency.md +0 -37
  236. package/overlays/data-warehouse/rules/pii-scrubbing.md +0 -37
  237. package/overlays/data-warehouse/rules/stocktake-tolerance.md +0 -33
  238. package/overlays/ecommerce-microservices/README.md +22 -35
  239. package/overlays/ecommerce-microservices/config/README.md +3 -1
  240. package/overlays/ecommerce-microservices/rules/README.md +2 -1
  241. package/overlays/ecommerce-microservices/rules/microservices-conventions.md +30 -0
  242. package/overlays/ecommerce-microservices/skills/README.md +1 -1
  243. package/overlays/ecommerce-microservices/workflows/README.md +3 -1
  244. package/overlays/fintech-compliance/README.md +0 -20
  245. package/overlays/fintech-compliance/rules/credit-scorecard-rules.md +0 -20
  246. package/overlays/fintech-compliance/skills/build-credit-scorecard/SKILL.md +1 -0
  247. package/overlays/go-microservices/README.md +1 -21
  248. package/overlays/go-microservices/rules/go-conventions.md +0 -31
  249. package/overlays/hugo-authority-content/README.md +0 -20
  250. package/overlays/hugo-authority-content/roles/README.md +0 -20
  251. package/overlays/hugo-authority-content/rules/content-brand.md +0 -30
  252. package/overlays/hugo-authority-content/rules/link-topology.md +0 -30
  253. package/overlays/hugo-authority-content/rules/seo-authority.md +0 -30
  254. package/overlays/hugo-authority-content/rules/technical-article-2027.md +0 -30
  255. package/overlays/hugo-authority-content/skills/audit-technical-article/SKILL.md +1 -0
  256. package/overlays/hugo-authority-content/skills/write-hugo-twin-content/SKILL.md +1 -0
  257. package/overlays/hugo-authority-content/workflows/README.md +0 -20
  258. package/overlays/hvac-authority-content/README.md +0 -20
  259. package/overlays/hvac-authority-content/config/collections.md +0 -22
  260. package/overlays/hvac-authority-content/rules/content-schema.md +0 -30
  261. package/overlays/hvac-authority-content/rules/hvac-engineering-standards.md +0 -30
  262. package/overlays/hvac-authority-content/rules/silo-linking.md +0 -30
  263. package/overlays/hvac-authority-content/skills/write-hvac-authority-content/SKILL.md +1 -0
  264. package/overlays/hvac-authority-content/workflows/publish-hvac-content.md +0 -22
  265. package/overlays/laravel-ecommerce/README.md +0 -20
  266. package/overlays/laravel-ecommerce/rules/elomus-design-system.md +0 -31
  267. package/overlays/laravel-ecommerce/rules/laravel-ecommerce-rules.md +0 -31
  268. package/overlays/laravel-ecommerce/skills/develop-laravel-ecommerce-feature/SKILL.md +1 -0
  269. package/overlays/laravel-filament/README.md +0 -20
  270. package/overlays/laravel-filament/rules/laravel-conventions.md +0 -31
  271. package/overlays/laravel-filament/skills/develop-laravel-feature/SKILL.md +1 -0
  272. package/overlays/livestream-web/README.md +0 -20
  273. package/overlays/livestream-web/rules/livestream-web-ux-conventions.md +0 -31
  274. package/overlays/obj-configurator/README.md +0 -20
  275. package/overlays/obj-configurator/rules/obj-project-rules.md +0 -31
  276. package/overlays/obj-configurator/skills/develop-obj-feature/SKILL.md +1 -0
  277. package/overlays/r3f-stack/README.md +0 -20
  278. package/overlays/r3f-stack/rules/stub.md +0 -31
  279. package/overlays/r3f-stack/skills/debug-3d-scene/SKILL.md +4 -2
  280. package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/SKILL.md +6 -5
  281. package/overlays/r3f-stack/skills/optimize-3d-assets/SKILL.md +4 -3
  282. package/overlays/real-estate-content/README.md +0 -20
  283. package/overlays/real-estate-content/roles/README.md +0 -20
  284. package/overlays/real-estate-content/rules/affiliate-links.md +0 -31
  285. package/overlays/real-estate-content/rules/content-schema.md +0 -31
  286. package/overlays/real-estate-content/rules/seo-baseline.md +0 -31
  287. package/overlays/real-estate-content/skills/write-real-estate-astro-data/SKILL.md +1 -0
  288. package/overlays/real-estate-content/workflows/README.md +0 -20
  289. package/overlays/security-research/README.md +0 -20
  290. package/overlays/security-research/rules/reverse-engineering-rules.md +0 -20
  291. package/overlays/seo-publishing/README.md +1 -21
  292. package/overlays/seo-publishing/rules/publish-log-conventions.md +0 -31
  293. package/overlays/seo-publishing/rules/publishing-cadence.md +0 -31
  294. package/overlays/seo-publishing/rules/site-mix-and-cannibalization.md +0 -31
  295. package/overlays/seo-publishing/rules/topic-board-template.md +0 -31
  296. package/overlays/ui-design-system/README.md +0 -20
  297. package/overlays/ui-design-system/rules/handoff-conventions.md +0 -31
  298. package/package.json +2 -2
  299. package/packs/README.md +3 -9
  300. package/packs/ecommerce-team/manifest.yaml +1 -1
  301. package/core/skills/commerce/2026_STANDARDS_SUMMARY.md +0 -316
  302. package/core/skills/commerce/handle-checkout-flow/UPGRADE_PLAN_2026.md +0 -99
  303. package/core/skills/commerce/integrate-payment-gateway/UPGRADE_PLAN_2026.md +0 -128
  304. package/core/skills/commerce/manage-order-fulfillment/UPGRADE_PLAN_2026.md +0 -136
  305. package/core/skills/commerce/manage-product-catalog/UPGRADE_PLAN_2026.md +0 -130
  306. package/core/skills/education/2026_STANDARDS_SUMMARY.md +0 -290
  307. package/core/skills/education/create-exercises/UPGRADE_PLAN_2026.md +0 -115
  308. package/core/skills/education/design-learning-plan/UPGRADE_PLAN_2026.md +0 -140
  309. package/core/skills/education/grade-and-review/UPGRADE_PLAN_2026.md +0 -141
  310. package/core/skills/frontend/2026_STANDARDS_SUMMARY.md +0 -345
  311. package/core/skills/frontend/add-page-route/UPGRADE_PLAN_2026.md +0 -102
  312. package/core/skills/frontend/add-ui-component/UPGRADE_PLAN_2026.md +0 -114
  313. package/core/skills/frontend/component-composition/UPGRADE_PLAN_2026.md +0 -103
  314. package/core/skills/frontend/frontend-testing/UPGRADE_PLAN_2026.md +0 -137
  315. package/core/skills/frontend/implement-view-transitions/UPGRADE_PLAN_2026.md +0 -118
  316. package/core/skills/frontend/implement-webmcp/UPGRADE_PLAN_2026.md +0 -108
  317. package/core/skills/frontend/integrate-api-client/UPGRADE_PLAN_2026.md +0 -118
  318. package/core/skills/frontend/setup-design-system/UPGRADE_PLAN_2026.md +0 -123
  319. package/core/skills/frontend/setup-visual-regression/UPGRADE_PLAN_2026.md +0 -121
  320. package/core/skills/meetings-analysis/2026_STANDARDS_SUMMARY.md +0 -236
  321. package/core/skills/meetings-analysis/analyze-business-requirements/UPGRADE_PLAN_2026.md +0 -97
  322. package/core/skills/meetings-analysis/analyze-data/UPGRADE_PLAN_2026.md +0 -143
  323. package/core/skills/meetings-analysis/meeting-review/UPGRADE_PLAN_2026.md +0 -125
  324. package/core/skills/mobile/2026_STANDARDS_SUMMARY.md +0 -209
  325. package/core/skills/mobile/deploy-mobile-app/UPGRADE_PLAN_2026.md +0 -122
  326. package/core/skills/mobile/develop-mobile-app/UPGRADE_PLAN_2026.md +0 -141
@@ -39,194 +39,15 @@ This role must follow [role-standard](role-standard.md) first.
39
39
 
40
40
  ## Core Responsibilities
41
41
 
42
- ### AI Architecture & Trust Boundaries (2025-2026)
43
- - architect isolation layers between deterministic business logic and probabilistic LLM outputs
44
- - enforce context-window and token-budget constraints at the system design level
45
-
46
- ### Enterprise MCP Server Architecture & Tool Surface Contracts (2026)
47
- - architect production-grade tool surfaces with action-oriented naming (`<domain>_<action>`) and strict schema validation (Zod/Pydantic)
48
- - enforce `outputSchema` and `structuredContent` separating typed JSON returns from unstructured textual commentary
49
- - standardize actionable error ergonomics with machine-readable codes, categories, and self-correction hints
50
- - mandate stateless streamable HTTP transport (MCP spec revision 2026-07-28) with gateway routing headers and chunked progress streaming
51
- - externalize multi-turn state handles, cursors, and caches via SEP-2567 to distributed key-value stores (Redis, Cloudflare D1)
52
- - enforce OAuth 2.1 RFC 8707 Resource Indicators binding client tokens to specific target MCP server URIs
53
- - establish supply-chain registry vetting, SBOM registration, and Shadow MCP detection/quarantine policies
54
-
55
- ### Recursive Task Decomposition & Disk-Backed Persistent Planning (2026)
56
- - architect recursive work breakdown for massive tasks (100+ files, 50K+ tokens) into hierarchical DAG sub-agent execution scopes
57
- - enforce topological task ordering and automated invariant assertion checkpoints (pre- and post-conditions) at phase boundaries
58
- - mandate disk-backed persistent planning (planning-with-files: `task.md`, `plan.md`, `progress.md`, `BRIEFING.md`) surviving compaction and `/clear`
59
- - enforce deterministic completion gates requiring empirical proof (compiler exit code 0, test pass output) instead of agent self-declaration
60
- - establish anti-context-rot disciplines: periodic timestamped liveness heartbeats, smart zone prompt budgeting, and compact briefings (< 100 lines)
61
- - define Non-Human Identity (NHI) autonomy tiers (Tier 1 Supervised, Tier 2 Semi-Autonomous, Tier 3 Fully Autonomous) with HITL escalation triggers
62
- - define blast-radius perimeters: filesystem directory constraints, network egress filtering, and scoped short-lived credentials
63
- - codify architectural invariants into automated policy-as-code fitness functions (AWS Cedar for trust boundaries, OPA/Rego for module rules, calibrated LLM-as-judge)
64
-
65
- ### Structural Design (Foundation)
66
-
67
- - define system boundaries, interfaces, and dependency direction
68
- - apply **Deep Modules, Seams & The Deletion Test**: favor small, high-leverage public interfaces hiding deep implementations over shallow pass-through wrappers; apply *Design It Twice*, *The Deletion Test*, and require **2+ concrete adapters** before committing an abstract seam
69
- - select architectural patterns and technical constraints
70
- - evaluate scale, resilience, security, integration, and compatibility impact
71
- - produce `contracts/schemas/architecture-options.json` when options are not yet decided
72
- - produce `contracts/schemas/adr-spec.json` for accepted decisions
73
- - document affected_services, api_contract_refs, migration, and rollback in ADRs
74
- - reduce accidental complexity while preserving necessary behavior
75
- - identify consumers, workflows, and teams affected when contracts or responsibilities move
76
-
77
- ### AI-Native Architecture Decisions (2025-2026)
78
-
79
- When LLMs, agents, or AI pipelines are in scope, the architect owns these structural decisions:
80
-
81
- **LLM integration patterns** — select and document the appropriate pattern:
82
- | Pattern | When to use | Key risk to mitigate |
83
- | ------- | ----------- | -------------------- |
84
- | **Request Orchestration Layer** | Multiple models, cost/capability routing | Model coupling, latency accumulation |
85
- | **RAG (Retrieval-Augmented Generation)** | Grounding outputs in authoritative enterprise data | Data freshness, retrieval precision, context overflow |
86
- | **Chain-Gatekeeper** | Multi-step pipelines with intermediate validation | Hallucination propagation, silent semantic drift |
87
- | **Adapter/Hybrid Overlay** | Adding AI capabilities to existing systems incrementally | Context leakage, versioning of prompt/model pairing |
88
-
89
- **Probabilistic system design** — AI systems are not deterministic:
90
- - separate **orchestration layer** (routing, fallback, human-in-the-loop, circuit breakers) from the **inference layer** (model calls); never mix these responsibilities in a single component
91
- - define "acceptable output range" for each AI-integrated boundary: what constitutes a valid response vs. a behavioral anomaly requiring fallback or human review
92
- - document how the system behaves when model output is ambiguous, truncated, or confidently wrong — these are architectural failure modes, not edge cases
93
-
94
- **Data gravity** — treat data proximity as an architectural constraint:
95
- - AI-agentic workflows require low-latency access to high-fidelity contextual data; moving large volumes for inference is economically prohibitive
96
- - design data boundaries so that compute is close to data, not the reverse; flag when proposed architectures require large data movement for inference
97
- - ensure training and inference data pipelines have documented lineage and quality gates
98
-
99
- ### Agentic System Trust Boundary Definition (2025-2026)
100
-
101
- When the system includes autonomous agents, MCP servers, or multi-agent orchestration:
102
-
103
- **Agentic boundary** — explicitly define and document in adr-spec.json:
104
- - what data an agent can **read** (scope of context access)
105
- - what tools an agent can **call** (allowlist, not implicit)
106
- - what actions an agent can **take autonomously** vs. what requires human confirmation
107
- - what the agent **cannot do** regardless of prompt instruction (hard infrastructure-level constraints)
108
-
109
- **MCP / tool-call trust model:**
110
- - MCP servers can be chained — a compromised or malicious MCP server can propagate malicious instructions to downstream agents (indirect prompt injection attack surface)
111
- - classify all tool outputs as **untrusted external content** by default; they must not be treated as trusted instructions
112
- - enforce a "system instruction vs. external content" separation: the boundary between what the orchestrator controls and what comes from tool responses or external data must be architectural, not prompt-level
113
- - document the attack surface when MCP servers are chained; escalate to Security Engineer for posture review on any multi-hop agent configuration
114
-
115
- **Orchestration layer governance:**
116
- - the orchestration layer must enforce: task scope limits, token budget constraints, interrupt/resume capability, and escalation to human oversight
117
- - it must NOT be implemented inside the model itself or as prompt instructions — these are infrastructure responsibilities
118
-
119
- **Agent identity and NHI lifecycle governance (2026 — "Know Your Agent"):**
120
- - each agent operating in a production system must have a scoped Non-Human Identity (NHI) with individually provisioned credentials — shared credentials across agents collapse the audit trail and expand blast radius on compromise
121
- - define the full credential lifecycle in the ADR: provisioning trigger, rotation schedule, and offboarding procedure when an agent role is retired or replaced
122
- - require a complete audit trail of every tool call made by each agent identity; audit logs must be immutable and queryable for post-incident forensics
123
- - classify agents by autonomy tier in the ADR: supervised (human approves every action), semi-autonomous (human approves irreversible actions), or fully autonomous (infrastructure-enforced scope limits only); the classification determines the required HITL gate design
124
- - delegate NHI provisioning and rotation implementation to Security Engineer via `manage-agent-identity`; architect owns the boundary specification and autonomy-tier classification, not the credential management execution
125
-
126
- ### Evolutionary Architecture & Fitness Functions (2025-2026)
127
-
128
- Architectural constraints must be continuously validated, not only documented:
129
-
130
- **Fitness functions** — automated objective assessments of architectural characteristics:
131
- - for each ADR that defines a structural constraint (e.g., "service A must not call service B directly," "all PII must be encrypted at rest"), define a corresponding fitness function that a CI/CD pipeline can evaluate
132
- - fitness functions are not unit tests — they test architectural properties: dependency direction, security posture, performance envelopes, compliance requirements
133
- - use policy-as-code frameworks to enforce boundary rules automatically — select based on verification need:
134
- - **Cedar (AWS)** — preferred for AI agentic trust boundaries; allows mathematical verification that no policy combination permits unauthorized access; ideal for delegation chains and NHI credential scope enforcement
135
- - **OPA/Rego** — preferred for general-purpose boundary enforcement (dependency direction, `allowed_callers`, compliance guards); mature, widely supported in CI/CD pipelines
136
- - **ArchUnit / custom CI scripts** — preferred for structural code-level constraints (layer isolation, package dependency direction)
137
- - an ADR without an automated fitness function path is advisory documentation, not enforced governance
138
-
139
- **Living ADRs** — treat adr-spec.json as executable context, not just rationale:
140
- - include machine-readable constraint fields where applicable (e.g., allowed_callers, max_latency_ms, required_encryption)
141
- - CI/CD pipelines should be able to parse ADR constraints and validate new changes against them before merge
142
- - when a fitness function violation is detected in CI, it is a breaking architectural change — treat it with the same severity as a failing test
143
-
144
- **Behavioral drift monitoring:**
145
- - for probabilistic (AI) systems: traditional uptime and error-rate metrics are insufficient; define fitness functions that detect semantic drift (e.g., output distribution shift, tool-call frequency anomalies, context window exhaustion patterns)
146
- - document the monitoring strategy in the ADR when the architectural decision involves AI components
147
-
148
- **Agentic fitness functions (2026):**
149
- - LLM-as-judge fitness functions can automate judgment-heavy governance: ADR drift detection, semantic contract compliance, and boundary fidelity monitoring — capabilities that deterministic tools (ArchUnit, OPA) cannot assess
150
- - treat agentic fitness functions as a complementary layer on top of deterministic fitness functions, not as a replacement
151
- - do not gate the main CI/CD pipeline with agentic fitness functions until they have been calibrated against 20–50 historical changes — premature live gating produces false-positive build failures that destroy developer trust; run calibration in observation mode first
152
- - document the calibration phase and promotion criteria in the ADR before any agentic fitness function is given merge-blocking authority
153
-
154
- **Eval framework design (AI-native systems — architect-owned requirement):**
155
- - for any AI-integrated boundary, the Architect must define the eval framework specification in the ADR: what constitutes an acceptable output, what golden dataset baseline is used, and what output distribution shift threshold triggers an alert or rollback
156
- - eval frameworks are not test suites — they are architectural contracts for acceptable LLM behavior; deferring them to QA or sprint planning after deployment is an anti-pattern
157
- - produce an eval-framework-spec section within the ADR for AI-native components; include: golden dataset reference, acceptable output range definition, distribution monitoring strategy, and human review trigger conditions
158
-
159
-
160
- ### MCP Transport Architecture & Registry Governance (2025-2026)
161
-
162
- The existing trust boundary model covers MCP security (prompt injection, tool poisoning, chained-server attack surface). This section addresses the complementary **operational and supply-chain architecture** of MCP at production scale — a distinct concern that emerges as MCP deployments grow beyond single-server, single-client configurations.
163
-
164
- **Stateful vs stateless MCP transport selection:**
165
- - the MCP 2026-07-28 spec revision makes the **protocol core stateless** — it removes the connection handshake, the session, and server-initiated requests — so stateless HTTP is now the default direction of the protocol, not merely one option; design new MCP integrations stateless-first and treat stateful session assumptions as legacy that must be justified
166
- - **stateful (stdio/SSE, pre-2026-07-28)**: lower latency per call; session-bound context management; not load-balanceable without sticky sessions; single-host availability ceiling — document a migration path off session-bound assumptions
167
- - **stateless (HTTP, current core)**: horizontally scalable; load-balancer compatible; requires any residual session state to be externalized (Redis, D1, or equivalent); session migration must be designed for HA
168
- - account for the spec's companion capabilities when scoping: Tasks, MCP Apps, the Extensions framework, and authorization hardening (a formal deprecation policy now applies)
169
- - document the selection rationale in the ADR; sticky-session risk behind a load balancer is a hidden availability constraint if not made explicit
170
-
171
- **MCP authorization model:**
172
- - MCP servers are classified as OAuth Resource Servers; clients must implement RFC 8707 Resource Indicators so a malicious server cannot obtain tokens scoped to another — treat this as a mandatory auth-boundary requirement in the ADR
173
- - for enterprise deployments, the **Enterprise-Managed Authorization** extension centralizes authorization across connected MCP servers with a single sign-on — prefer it over per-server credential handling; verify its current maturity and the vendor support matrix before committing an ADR to it, since it landed with the 2026-07-28 revision and adoption is still forming; escalate to Security Engineer for posture review
174
-
175
- **MCP registry vetting as an architectural gate:**
176
- - fragmented MCP marketplaces (Smithery, MCP.so, unverified GitHub repos) carry supply-chain risks analogous to npm typosquatting: malicious or unmaintained tools that appear legitimate
177
- - define a **registry allowlist** as an architectural policy: production MCP tool dependencies must originate from vetted sources with documented publisher identity, behavioral analysis, and version pinning
178
- - treat every MCP server added to a production system as a supply-chain artifact requiring the same SCA scrutiny as a code dependency (SBOM entry, CVE monitoring, version lock)
179
- - document the vetting criteria in the ADR; unapproved MCP tools are a trust boundary violation, not just a configuration choice
180
-
181
- **MCP server co-location and HA architecture:**
182
- - for latency-sensitive multi-agent systems: consider MCP server co-location with the orchestration layer to minimize round-trip overhead; document the co-location decision and its impact on scaling boundaries
183
- - define session migration strategy for stateful MCP servers in HA configurations: how is in-progress tool context preserved when a server instance fails?
184
- - document the maximum tool-call chain depth and associated latency budget in the ADR; unbounded chaining is both a security and a performance architectural concern
185
-
186
- ### Edge-Native AI Inference Placement (2025-2026)
187
-
188
- As edge computing platforms (Cloudflare Workers AI, ONNX Runtime Web, LiteRT) mature, the architect must own the decision of **where inference runs** — not as an operational detail but as a first-class architectural constraint.
189
-
190
- Boundary with System Engineer: the architect owns the **decision and its rationale in the ADR**; System Engineer owns the **provisioning and routing implementation** that realizes it (GPU/inference server topology, edge model caching, vector index parameters) and supplies the latency, capacity, and cost measurements the decision rests on. Request that evidence from System Engineer before recording the decision; do not specify hardware or routing configuration in the ADR.
191
-
192
- **Inference placement decision framework:**
193
-
194
- | Dimension | Edge inference | Cloud inference |
195
- |-----------|---------------|----------------|
196
- | **Latency** | Sub-50ms; no round-trip to cloud | 100–500ms+ depending on provider and region |
197
- | **Data residency** | Data never leaves edge node; strong GDPR compliance | Data transits to cloud; requires residency controls |
198
- | **Model size** | Constrained: quantized models only (ONNX, GGUF, LiteRT) | Unconstrained: full-scale models available |
199
- | **Context window** | Severely limited; context-bloat is a bandwidth and memory concern | Larger windows available; cost-per-token pricing |
200
- | **Cost model** | Per-request edge compute; predictable at scale | Variable; expensive for high-throughput workloads |
201
- | **Capability ceiling** | Limited to quantized/distilled model quality | Full frontier model capability |
202
-
203
- **Decision criteria:**
204
- - **choose edge inference** when: data residency requirements prohibit cloud transit, sub-50ms latency is a hard requirement, the model task is well-served by a quantized model, and per-request cost at scale favors edge compute
205
- - **choose cloud inference** when: the task requires frontier model capability (complex reasoning, large context), the data residency constraint is satisfiable with cloud controls, or the model size exceeds edge runtime constraints
206
- - **choose hybrid** when: latency-sensitive first-stage classification can run at edge, with complex second-stage reasoning escalated to cloud on demand
207
-
208
- **Infrastructure implications to document in ADR:**
209
- - quantization strategy: which model format (ONNX, GGUF, LiteRT/TFLite) and what quality-vs-speed tradeoff is acceptable
210
- - MCP server co-location: if inference runs at edge, does the MCP tool registry also need to be edge-resident to avoid round-trip overhead?
211
- - context-bloat management: at bandwidth-limited edge nodes, large context payloads are a performance and cost constraint; define context budget limits in the ADR
212
- - fallback routing: when edge inference is unavailable or exceeds latency budget, define the automatic fallback path to cloud inference
213
-
214
- ### Privacy & Compliance by Design (2025-2026)
215
-
216
- Privacy and compliance constraints belong at the boundary level, not in application logic:
217
-
218
- **Privacy by design (PbD)** — integrate in schema and API design phase:
219
- - **data minimization**: API contracts and schemas must only expose fields necessary for the consuming service's stated purpose; flag any schema that exposes PII or sensitive fields "just in case"
220
- - **privacy as default**: default configuration must be the most privacy-protective option; opt-in for data sharing, not opt-out
221
- - **retention constraints**: document data retention limits in the schema or ADR; retention must be enforceable by the infrastructure, not dependent on application-level cleanup
222
- - conduct a privacy impact assessment (PIA) for any architectural change that introduces new PII flows, new data consumers, or new retention requirements
223
-
224
- **Compliance as architectural layer:**
225
- - treat regulatory requirements (GDPR, EU AI Act, PDPA, CMMC, etc.) as structural constraints that shape boundary definitions — document which regulations apply in the ADR
226
- - for AI systems subject to the EU AI Act: document the system's risk tier, required human oversight mechanisms, and explainability requirements in adr-spec.json
227
- - track the current EU AI Act timeline in scoping (reference: Regulation (EU) 2026/1744, in force 27 July 2026): **standalone high-risk AI systems (Annex III)** obligations were deferred to **2 December 2027**; **high-risk AI embedded in regulated products (Annex I — medical devices, machinery, toys)** have a longer deferral to **2 August 2028**; **2 August 2026 remains live** for Article 50 transparency obligations, GPAI penalty powers, and market surveillance authority; for systems already on the market before 2 August 2026, a synthetic content watermarking grace period applies until **2 December 2026** — do not design to a stale single-date deadline, identify which Annex applies to the system under design
228
- - audit trail: any architectural decision that affects auditability (immutable event logs, access logs, model decision logs) must document how the audit trail is maintained, stored, and queryable
229
- - compliance validation must be automated where possible: static checks, schema validators, and policy-as-code rules — not manual checklists
42
+ See [`references/technical-architect-responsibilities.md`](references/technical-architect-responsibilities.md) for detailed frameworks, tables, and regulatory timelines.
43
+
44
+ - **Structural Design & Contracts**: Define system boundaries, dependency direction, Deep Modules/Seams (*Design It Twice*, *The Deletion Test*, >=2 concrete adapters), and impacted consumers; emit `contracts/schemas/architecture-options.json` for options and `contracts/schemas/adr-spec.json` for binding decisions with migration and rollback blueprints.
45
+ - **Enterprise MCP Architecture**: Mandate action-oriented `<domain>_<action>` tools with Zod/Pydantic schemas, `outputSchema`/`structuredContent`, actionable error ergonomics, stateless streamable HTTP (MCP 2026-07-28), SEP-2567 externalized state handles, OAuth 2.1 RFC 8707 Resource Indicators, registry allowlists/SBOMs, and Shadow MCP gateway controls.
46
+ - **Recursive Agentic Decomposition & Disk-Backed Planning**: Decompose large initiatives (100+ files, 50K+ tokens) into hierarchical DAG sub-agent scopes with pre/post-condition gates, isolated blast-radius perimeters, NHI autonomy tiers (Supervised / Semi-Autonomous / Fully Autonomous), and durable disk-backed planning (`task.md`, `plan.md`, `progress.md`, `BRIEFING.md`) with deterministic completion gates.
47
+ - **AI-Native Design & Trust Boundaries**: Separate orchestration (routing, circuit breakers, HITL, budgets) from inference; select explicit LLM integration patterns (Request Orchestration, RAG, Chain-Gatekeeper, Adapter); classify MCP tool outputs as untrusted; respect data gravity; define architectural eval frameworks and OTel GenAI observability contracts in ADRs.
48
+ - **Evolutionary Architecture & Fitness Functions**: Pair every structural ADR constraint with automated CI enforcement (AWS Cedar for agent trust boundaries, OPA/Rego for boundary/compliance rules, ArchUnit for code layers); calibrate LLM-as-judge fitness functions against 20–50 historical PRs before live gating.
49
+ - **Edge-Native AI Inference Placement**: Own edge vs. cloud vs. hybrid placement decisions in ADRs against latency, data residency, model size, context window, cost, and capability ceiling (consuming empirical capacity/latency measurements from System Engineer).
50
+ - **Privacy & Compliance by Design**: Enforce PII minimization, privacy-by-default, infrastructure-enforced retention, PIAs, and regulatory timelines (GDPR, PDPA, EU AI Act Regulation (EU) 2026/1744 — Art 50 live Aug 2026, Annex III Dec 2027, Annex I Aug 2028) at schema and API boundaries.
230
51
 
231
52
  ## Inputs Required
232
53
 
@@ -432,64 +253,13 @@ Emit architecture-options.json and/or adr-spec.json when machine handoff is requ
432
253
 
433
254
  ## Review Checklist
434
255
 
435
- ### Structural Fundamentals
436
- - [ ] boundaries and affected_services are explicit
437
- - [ ] api_contract_refs listed when integration changes
438
- - [ ] alternatives and trade-offs visible before acceptance
439
- - [ ] migration_plan and rollback_plan realistic
440
- - [ ] feature_ticket_ref and supersedes_adr set when applicable
441
- - [ ] impacted consumers and mixed-version concerns named
442
- - [ ] Technical Lead can build technical-delivery-plan.json without guessing structure
443
-
444
- ### AI-Native Architecture (when applicable)
445
- - [ ] LLM integration pattern selected and documented in ADR
446
- - [ ] orchestration layer separated from inference layer in system design
447
- - [ ] probabilistic failure modes documented (behavioral anomaly, truncated output, confident-wrong response)
448
- - [ ] agentic boundary explicitly defined: read scope, tool allowlist, autonomous action limits, hard constraints
449
- - [ ] MCP tool outputs classified as untrusted external content in design
450
- - [ ] data gravity assessed: compute-near-data confirmed or data movement risk flagged
451
- - [ ] **observability contract defined**: OTel span types (`invoke_agent`, "chat", `execute_tool`) mandated in ADR; key attributes (`gen_ai.system`, `gen_ai.conversation.id`, cost attribution) and `OTEL_SEMCONV_STABILITY_OPT_IN=genai` requirement specified
452
-
453
- ### MCP Transport & Registry Architecture (when MCP in scope)
454
- - [ ] MCP transport type selected and documented (stateful stdio/SSE vs stateless HTTP) with scaling and HA implications
455
- - [ ] registry allowlist defined: all production MCP dependencies from vetted sources with publisher identity and version pinning
456
- - [ ] every MCP server dependency added to SBOM with SCA scrutiny equivalent to code dependencies
457
- - [ ] session migration strategy documented for stateful MCP servers in HA configurations
458
- - [ ] maximum tool-call chain depth and associated latency budget documented
459
-
460
- ### Edge-Native AI Inference Placement (when edge deployment is in scope)
461
- - [ ] inference placement decision (edge / cloud / hybrid) documented in ADR with rationale against six criteria
462
- - [ ] quantization strategy documented when edge inference selected
463
- - [ ] context budget limits defined when edge inference is selected (bandwidth and memory constraints)
464
- - [ ] MCP server co-location decision documented when edge inference co-locates with tool registry
465
- - [ ] fallback routing from edge to cloud defined when edge inference is unavailable
466
- - [ ] inference cost governance documented: per-request cost budget, prompt caching policy, model selection rationale
467
-
468
- ### Evolutionary Architecture
469
- - [ ] fitness functions defined for all structural constraints in ADR
470
- - [ ] CI/CD enforcement path identified for each fitness function (deterministic: ArchUnit, OPA, CI script)
471
- - [ ] agentic fitness functions (LLM-as-judge): calibration phase of 20–50 historical changes documented before live gating
472
- - [ ] living ADR includes machine-readable constraint fields where applicable
473
- - [ ] behavioral drift monitoring defined for AI-integrated components
474
- - [ ] eval framework spec defined for each AI-integrated boundary: golden dataset, acceptable output range, distribution monitoring threshold
475
-
476
- ### Agent Identity & Trust (when agentic/MCP systems in scope)
477
- - [ ] each agent has a scoped NHI with individually provisioned credentials documented in ADR
478
- - [ ] agent autonomy tier classified (supervised / semi-autonomous / fully autonomous) with HITL gate requirements
479
- - [ ] blast radius isolation perimeter defined per agent group (container boundary, network segment, gateway allowlist)
480
- - [ ] audit trail for all agent tool calls: immutable, queryable, retention period defined
481
- - [ ] for enterprise MCP deployments (≥3 servers): gateway-vs-direct topology decision documented; Shadow AI controls specified
482
-
483
- ### Privacy & Compliance
484
- - [ ] PII flows identified and data minimization applied in schema/API design
485
- - [ ] retention constraints documented and enforceable by infrastructure
486
- - [ ] applicable regulations listed in ADR with required mechanisms noted; Annex type identified (standalone Annex III vs embedded Annex I) when EU AI Act applies
487
- - [ ] privacy impact assessment conducted when new PII flows are introduced
488
- - [ ] audit trail requirements documented when architectural decision affects auditability
489
- - [ ] OWASP AST10 skill security verified with cryptographic supply chain gating and identity file protections enforced
490
-
491
- See [`references/technical-architect-review-checklist.md`](references/technical-architect-review-checklist.md) for the full per-area checklist (Structural Design, MCP Tool Contracts, Stateless HTTP Transport, Recursive DAG Decomposition, Disk-Backed Planning, NHI Autonomy Tiers, Evolutionary Architecture, AI Inference Placement, Privacy-by-Design).
256
+ Before finalizing an Architecture Brief, Options analysis, or ADR, verify all structural, MCP, DAG decomposition, AI-native, fitness-function, NHI, and privacy gates in [`references/technical-architect-review-checklist.md`](references/technical-architect-review-checklist.md):
492
257
 
258
+ - [ ] Boundaries, `affected_services`, `api_contract_refs`, alternatives/trade-offs, and realistic migration + rollback plans are documented so Technical Lead can slice work without guessing.
259
+ - [ ] AI-native boundaries separate orchestration from inference, classify MCP tool outputs as untrusted, address probabilistic failure modes + data gravity, and mandate OTel GenAI observability.
260
+ - [ ] MCP servers declare strict schemas, stateless streamable HTTP, RFC 8707 Resource Indicators, SBOM/registry allowlists, Shadow MCP gateway controls, and six-criteria edge placement when applicable.
261
+ - [ ] Structural ADR constraints map to automated CI fitness functions (Cedar/OPA/ArchUnit; LLM-as-judge calibrated against 20–50 historical PRs) plus scoped NHI autonomy tiers and blast-radius perimeters.
262
+ - [ ] PII minimization, infrastructure-enforced retention, EU AI Act Annex classification/timelines, and OWASP AST10 supply-chain + identity protections are verified.
493
263
 
494
264
  ## Failure Modes
495
265
 
@@ -233,6 +233,7 @@ Contracts owned by other roles — do not author these as Technical Lead:
233
233
  - `supply-chain-security`
234
234
  - `agent-graph-orchestration`
235
235
  - `agent-model-routing`
236
+ - `refactor-legacy-code`
236
237
 
237
238
  ### Prohibited Skills
238
239
 
@@ -35,12 +35,12 @@ This role must follow [role-standard](role-standard.md) first.
35
35
  - remove or flag stale parallel docs when source of truth moved
36
36
  - distinguish stable guidance from temporary notes
37
37
 
38
- ### AI Documentation Transparency (2025-2026)
38
+ ### AI Documentation Transparency
39
39
  - document AI system boundaries, fallback behaviors, and prompt-injection risks for developers
40
40
  - clearly mark user-facing documentation when describing probabilistic AI features; never document a probabilistic system as deterministic
41
41
  - document the confidence range, fallback path, and accuracy constraints for every AI-powered feature
42
42
 
43
- ### LLM-Readable Documentation Engineering (2025-2026)
43
+ ### LLM-Readable Documentation Engineering
44
44
 
45
45
  In 2026, Technical Writers must produce documentation for **two audiences simultaneously**: humans and AI agents / LLMs. Documentation that only serves human readers is incomplete for any system that exposes AI agent interfaces or is consumed by LLM-based tooling.
46
46
 
@@ -76,7 +76,7 @@ Adapted from the *writing-for-agents* skill by mattpocock/skills (top-installed
76
76
  - **Prompt the positive**: state the target behavior ("write one-line comments"); a prohibition drags the banned behavior into context and half-reads as permission — reserve prohibitions for hard guardrails, paired with the positive target
77
77
  - **Prune like a cache auditor**: each meaning lives in one source of truth; never cache environment lookups (`package.json` scripts, CLI flags, directory listings) in prose — point at them so they cannot go stale; hunt no-op sentences that would not change behavior if deleted
78
78
 
79
- ### Agentic System Documentation Spec (2025-2026)
79
+ ### Agentic System Documentation Spec
80
80
 
81
81
  Agentic systems require a new class of documentation deliverable that is distinct from runbooks, API docs, and release notes. Technical Writer owns this new type:
82
82