@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
@@ -348,7 +348,7 @@ Emit `contracts/schemas/implementation-result.json` when machine handoff is requ
348
348
  - [ ] **Accessibility & AI Disclosure**: axe-core passes; WCAG 2.2 AA verified; Article 50 disclosure banner active.
349
349
  - [ ] **Handoff Artifacts**: `implementation-result.json` emitted with full behavioral test evidence.
350
350
 
351
- See [`references/frontend-developer-review-checklist.md`](references/frontend-developer-review-checklist.md) for the full per-area checklist (UI Integrity, Red-Green TDD, Sandbox Isolation, Anti Vibe-Slop, State Machines, Performance, Accessibility, AI Disclosure).
351
+ See [`references/frontend-developer-responsibilities.md`](references/frontend-developer-responsibilities.md) for full year-tagged responsibilities (AI-Generated UI Governance, AI Streaming UI & GenUI, WebMCP Context Sharing) and [`references/frontend-developer-review-checklist.md`](references/frontend-developer-review-checklist.md) for the full per-area checklist (UI Integrity, Red-Green TDD, Sandbox Isolation, Anti Vibe-Slop, State Machines, Performance, Accessibility, AI Disclosure).
352
352
 
353
353
  ## Failure Modes
354
354
 
@@ -90,6 +90,15 @@ Contracts owned by other roles — do not author these as Prompt Engineer:
90
90
  - **does not own**: executing end-to-end automated QA release gates — SDET / QA Engineer
91
91
  - **does not own**: core application infrastructure or model hosting deployments — AI Systems Engineer / DevOps
92
92
 
93
+ ## Role Boundaries
94
+
95
+ | Role | Owns | Does not own |
96
+ | ---- | ---- | ------------ |
97
+ | **Prompt Engineer** | System prompt templates, context token budgeting, few-shot calibration, delimiter isolation | Eval harness execution, production model serving infrastructure |
98
+ | **SDET** | Evaluation harness architecture, automated benchmark release gates, synthetic test dataset generation | Prompt copywriting, prompt template design |
99
+ | **Security Engineer** | Threat modeling, prompt injection red-teaming, jailbreak evasion testing | Context token optimization, few-shot prompt crafting |
100
+ | **AI Systems Engineer** | Model deployment, inference runtime (vLLM/SGLang), KV cache optimization | Prompt template engineering, schema output formatting constraints |
101
+
93
102
  ## Collaboration
94
103
 
95
104
  - works with **AI Systems Engineer** on model latency, KV-cache infrastructure, and token throughput
@@ -17,10 +17,10 @@ This role must follow [role-standard](role-standard.md) first.
17
17
  - enforce **Observability-Driven Testing (ODT) & Trace-Based Assertions**: utilize Kubeshop Tracetest to evaluate distributed OpenTelemetry trace DAGs as test oracles; assert span hierarchies (HTTP $\rightarrow$ Service $\rightarrow$ DB $\rightarrow$ Event broker), enforce span latency SLO budgets, and verify W3C traceparent context propagation across asynchronous message hops
18
18
  - enforce **Automated Database Efficiency & N+1 Prevention**: execute automated query count assertions per endpoint in integration tests; mandate $O(1)$ query scaling relative to collection size $N$, and assert zero unindexed sequential scans (`Seq Scan`) via automated `EXPLAIN ANALYZE` execution plan inspection
19
19
  - enforce **Shift-Left Chaos & Fault Injection**: conduct in-test network fault injection using Shopify Toxiproxy and Chaos Mesh to simulate latency, jitter, packet loss, and TCP resets; verify circuit breaker finite state transitions (`CLOSED` $\rightarrow$ `OPEN` $\rightarrow$ single-canary probe `HALF-OPEN` $\rightarrow$ `CLOSED`) and AWS full jitter exponential backoff; enforce Grafana k6 distributed performance gates with strict SLO thresholds (P95 $< 150\text{ms}$, P99 $< 300\text{ms}$, error rate $< 0.1\%$) failing CI on breach
20
- - enforce **Clean Architecture & Ephemeral Parity (Go 1.25+, Python, TypeScript)**: strictly isolate business invariants (`internal/biz`) from database ORMs (`gorm.DB`) and transport layers in Kratos clean architecture; enforce real PostgreSQL 16 Alpine containers via Testcontainers with GORM `InTx` uncommitted transactional rollbacks per test case; isolate test dependencies via Google Wire compile-time DI, and mandate zero data races (`go test -v -race`) and zero leaked goroutines (`uber-go/goleak`)
20
+ - enforce **Clean Architecture & Ephemeral Parity (Go 1.27+, Python, TypeScript)**: strictly isolate business invariants (`internal/biz`) from database ORMs (`gorm.DB`) and transport layers in Kratos clean architecture; enforce real PostgreSQL 18 Alpine containers via Testcontainers with GORM `InTx` uncommitted transactional rollbacks per test case; isolate test dependencies via Google Wire compile-time DI, and mandate zero data races (`go test -v -race`) and zero leaked goroutines (`uber-go/goleak`)
21
21
  - enforce **Mutation Testing**: require minimum mutation scores ($\ge 75\text{--}80\%$ via Stryker, Mutmut, or cargo-mutants) on core business, authentication, and domain invariant logic to mathematically eliminate assertion theater
22
22
  - institutionalize **Property-Based Testing (PBT)**: verify mathematical invariants, serialization round-trips, and deterministic state transitions across thousands of randomized inputs using property testing frameworks (fast-check, Hypothesis, proptest)
23
- - enforce **Modern Web & Automated Accessibility Gates**: execute Playwright v1.48+ browser automation with transport-level network mocking via MSW v2; enforce automated WCAG 2.2 AA accessibility gates via `@axe-core/playwright` (zero critical or serious violations), modal keyboard focus traps, screen reader ARIA snapshots, and font-stabilized visual regression diffing (`document.fonts.ready`)
23
+ - enforce **Modern Web & Automated Accessibility Gates**: execute Playwright v1.64+ browser automation with transport-level network mocking via MSW v2; enforce automated WCAG 2.2 AA accessibility gates via `@axe-core/playwright` (zero critical or serious violations), modal keyboard focus traps, screen reader ARIA snapshots, and font-stabilized visual regression diffing (`document.fonts.ready`)
24
24
  - enforce **OWASP ASI04 & ASI05 Gates**: audit lockfile integrity hashes, enforce immutable commit SHA pinning for all CI actions (ASI04), and test sandbox escape boundaries with restricted network egress for dynamic script runners (ASI05)
25
25
  - treat "no crash" as insufficient: verify data correctness, invariants, side effects, and observable outcomes
26
26
  - mentor teams through risk-based testing, better testability, and defect reports that lead to fast fixes
@@ -38,7 +38,7 @@ This role must follow [role-standard](role-standard.md) first.
38
38
  - implementing Observability-Driven Testing (ODT) with Kubeshop Tracetest to assert OpenTelemetry span DAGs and latency budgets
39
39
  - executing multi-dimensional testing for concurrency, race conditions (`go test -race`), goroutine leaks (`uber-go/goleak`), and automated N+1 query counters
40
40
  - executing shift-left chaos and resilience experiments via Toxiproxy (circuit breaker trip, fallback, exponential backoff) and k6 performance SLO gates
41
- - executing integration tests with real database parity using Testcontainers PostgreSQL 16, Wire DI test sets, and GORM `InTx` rollback isolation
41
+ - executing integration tests with real database parity using Testcontainers PostgreSQL 18, Wire DI test sets, and GORM `InTx` rollback isolation
42
42
  - automating modern browser end-to-end flows, MSW v2 network interception, font-stabilized visual regression, and WCAG 2.2 AA accessibility audits
43
43
  - enforcing OWASP ASI04 (Supply Chain) and ASI05 (Execution Sandbox) security verification
44
44
  - preparing release confidence statements with `contracts/schemas/test-report.json` and `contracts/schemas/validation-result.json`
@@ -147,9 +147,9 @@ This role must follow [role-standard](role-standard.md) first.
147
147
  - integrate Cilium Tetragon and Beyla sensors in test environments to monitor system calls (`sys_enter_connect`, `sys_enter_execve`)
148
148
  - verify that execution sandboxes make zero unauthorized network egress connections or unexpected subprocess spawns
149
149
 
150
- ### Pillar 4: Modern Web, Browser Automation & Accessibility (Playwright v1.48+)
150
+ ### Pillar 4: Modern Web, Browser Automation & Accessibility (Playwright v1.64+)
151
151
 
152
- - **Playwright v1.48+ Automation Standards**:
152
+ - **Playwright v1.64+ Automation Standards**:
153
153
  - execute browser tests in isolated browser contexts with automated Trace Viewer capture on test failure
154
154
  - enforce transport-level network interception via Mock Service Worker (MSW v2) or HAR network replay; strictly prohibit application-level monkey-patching of `window.fetch`
155
155
  - eliminate arbitrary sleep calls (`page.waitForTimeout`); mandate Playwright web-first assertions with locator auto-waiting (`await expect(locator).toBeVisible()`)
@@ -179,13 +179,13 @@ This role must follow [role-standard](role-standard.md) first.
179
179
  - HTTP error rate $< 0.1\%$
180
180
  - configure k6 threshold rules to exit with non-zero exit code (exit code 99) upon SLO breach, blocking deployment
181
181
 
182
- ### Pillar 6: Clean Architecture Multi-Language QA (Go 1.25+, Python, TypeScript)
182
+ ### Pillar 6: Clean Architecture Multi-Language QA (Go 1.27+, Python, TypeScript)
183
183
 
184
- - **Go 1.25+ Kratos Clean Architecture Test Isolation**:
184
+ - **Go 1.27+ Kratos Clean Architecture Test Isolation**:
185
185
  - strictly enforce Kratos 4-layer separation: `api/` (contracts) $\rightarrow$ `internal/service` (adapters) $\rightarrow$ `internal/biz` (business invariants) $\rightarrow$ `internal/data` (GORM persistence)
186
186
  - assert zero database ORM (`gorm.DB`) leakage into `internal/biz`; domain invariants must be testable via pure unit tests with zero I/O
187
187
  - **Ephemeral Database Parity via Testcontainers-Go**:
188
- - replace in-memory SQLite mocks with real PostgreSQL 16 Alpine containers spun up programmatically via `testcontainers/testcontainers-go` managed by Ryuk reaper
188
+ - replace in-memory SQLite mocks with real PostgreSQL 18 Alpine containers spun up programmatically via `testcontainers/testcontainers-go` managed by Ryuk reaper
189
189
  - ensure complete engine feature parity (JSONB operations, window functions, concurrency locks, indexing)
190
190
  - **Zero-Dirty State with GORM `InTx` Rollbacks**:
191
191
  - wrap each database integration test in an explicit transaction (`tx := db.Begin()`), execute repository operations within the transaction, and invoke deferred `tx.Rollback()` on teardown
@@ -395,7 +395,7 @@ This role must follow [role-standard](role-standard.md) first.
395
395
  - W3C Trace Context propagation: [Verified across async message hops]
396
396
 
397
397
  ## 4. Modern Web & Browser Automation Gate
398
- - Playwright v1.48+ test suite: [Passed with isolated browser contexts]
398
+ - Playwright v1.64+ test suite: [Passed with isolated browser contexts]
399
399
  - Network layer interception: [MSW v2 transport-level mocks verified]
400
400
  - WCAG 2.2 AA accessibility audit: [`@axe-core/playwright` zero critical/serious violations]
401
401
  - Keyboard navigation & focus traps: [Tab order, modal containment, Escape restore verified]
@@ -410,8 +410,8 @@ This role must follow [role-standard](role-standard.md) first.
410
410
  - k6 distributed performance tests: [P95 < 150ms, P99 < 300ms, error rate < 0.1%]
411
411
 
412
412
  ## 6. Clean Architecture Multi-Language Integration Gate
413
- - Go 1.25+ Kratos Layer Isolation: [Zero gorm.DB leakage in internal/biz]
414
- - Ephemeral database parity: [PostgreSQL 16 via Testcontainers-go verified]
413
+ - Go 1.27+ Kratos Layer Isolation: [Zero gorm.DB leakage in internal/biz]
414
+ - Ephemeral database parity: [PostgreSQL 18 via Testcontainers-go verified]
415
415
  - Database state isolation: [GORM InTx transactional rollback per test case]
416
416
  - Dependency injection: [Wire DI test provider isolation verified]
417
417
  - Race detector: [`go test -v -race` clean with zero race conditions]
@@ -485,7 +485,7 @@ Emit `contracts/schemas/test-report.json` and `contracts/schemas/validation-resu
485
485
  - [ ] **Trace Context Propagation**: W3C traceparent headers verified across all asynchronous hops.
486
486
 
487
487
  ### Modern Web & Accessibility
488
- - [ ] **Playwright v1.48+ Isolation**: Browser tests run in isolated contexts with MSW v2 transport-level network interception.
488
+ - [ ] **Playwright v1.64+ Isolation**: Browser tests run in isolated contexts with MSW v2 transport-level network interception.
489
489
  - [ ] **WCAG 2.2 AA Accessibility**: Automated `@axe-core/playwright` audit passes with zero critical/serious violations.
490
490
  - [ ] **Keyboard & ARIA Tree Verification**: Modal dialogs trap keyboard focus; screen reader accessibility tree verified via ARIA snapshots.
491
491
  - [ ] **Stabilized Visual Diffing**: Screenshot comparisons stabilized via `document.fonts.ready` with dynamic elements masked.
@@ -498,7 +498,7 @@ Emit `contracts/schemas/test-report.json` and `contracts/schemas/validation-resu
498
498
 
499
499
  ### Clean Architecture & Ephemeral Parity
500
500
  - [ ] **Clean Architecture Layer Isolation**: Business logic (`internal/biz`) is decoupled from database ORMs (`gorm.DB`).
501
- - [ ] **Ephemeral Database Parity**: Integration tests run against real PostgreSQL 16 containers via Testcontainers.
501
+ - [ ] **Ephemeral Database Parity**: Integration tests run against real PostgreSQL 18 containers via Testcontainers.
502
502
  - [ ] **Transactional Rollback Isolation**: Multi-write tests wrap operations in GORM `InTx` transactions with deferred rollback.
503
503
  - [ ] **Wire DI Test Providers**: Dependencies isolated using compile-time Wire test sets.
504
504
  - [ ] **Property-Based Invariants**: Mathematical invariants and round-trip serialization proven via Hypothesis or fast-check.
@@ -517,7 +517,7 @@ See [`references/qa-engineer-review-checklist.md`](references/qa-engineer-review
517
517
  - **Uncalibrated Judge Drift**: an uncalibrated LLM judge exhibits verbosity or sycophancy bias, approving hallucinated or non-grounded outputs. **Mitigation:** enforce $\ge 85\%$ statistical agreement calibration against human ground truth before deploying judges to CI.
518
518
  - **Flaky Visual Regressions**: tests fail intermittently across different operating systems due to subpixel font anti-aliasing timing. **Mitigation:** await `document.fonts.ready` before snapshot capture, mask dynamic UI regions, and run visual diffs inside standardized Linux Docker containers.
519
519
  - **Cascading Outage on Recovery (Thundering Herd)**: a circuit breaker recovers from OPEN directly into full traffic, immediately crashing recovering downstream dependencies. **Mitigation:** enforce a single-canary probe lock in `HALF-OPEN` state, verified via Toxiproxy fault injection tests with full jitter backoff.
520
- - **Database Divergence via SQLite Mocks**: tests pass against in-memory SQLite but fail in production due to PostgreSQL-specific JSONB queries, window functions, or transaction isolation semantics. **Mitigation:** mandate ephemeral PostgreSQL 16 Alpine containers via Testcontainers with GORM `InTx` transactional rollbacks.
520
+ - **Database Divergence via SQLite Mocks**: tests pass against in-memory SQLite but fail in production due to PostgreSQL-specific JSONB queries, window functions, or transaction isolation semantics. **Mitigation:** mandate ephemeral PostgreSQL 18 Alpine containers via Testcontainers with GORM `InTx` transactional rollbacks.
521
521
  - **Live LLM API in CI**: tests call live LLM providers, causing non-deterministic timeouts, budget depletion, and test flakiness. **Mitigation:** stub external model invocations with deterministic fixtures in CI; reserve live calls for calibrated evaluation benchmarks.
522
522
  - **Skipped tests reported as full coverage**: test runs silently skip critical test suites while reporting green checkmarks. **Mitigation:** require explicit reporting of executed vs skipped suites in `contracts/schemas/test-report.json`; reject reports with undocumented skips.
523
523
 
@@ -535,7 +535,7 @@ See [`references/qa-engineer-review-checklist.md`](references/qa-engineer-review
535
535
  - mocking network calls at the application layer (`window.fetch` monkey-patching) instead of using transport-level MSW v2 interception
536
536
  - capturing visual regression snapshots before fonts are loaded (`document.fonts.ready`) or without dynamic element masking
537
537
  - approving external client integrations, retry logic, or payment gateways without automated Toxiproxy fault injection testing
538
- - using in-memory SQLite mocks for integration tests instead of real PostgreSQL 16 Testcontainers
538
+ - using in-memory SQLite mocks for integration tests instead of real PostgreSQL 18 Testcontainers
539
539
  - allowing database mutations to persist across integration test cases without GORM `InTx` transactional rollbacks
540
540
  - permitting goroutine leaks or data race warnings to slip past `go test -race` and `uber-go/goleak` detection
541
541
  - declaring accessibility compliance from automated scans alone without manual keyboard navigation and screen reader verification
@@ -561,9 +561,9 @@ See [`references/qa-engineer-review-checklist.md`](references/qa-engineer-review
561
561
  - **AI & Agentic Evaluation passed**: LLM-as-a-judge calibrated ($\ge 85\%$ agreement), RAG Triad thresholds met ($\ge 0.85$), trajectory DAG loops eliminated
562
562
  - **Observability-Driven Testing verified**: Kubeshop Tracetest DSL assertions pass, span latency budgets met, and W3C traceparent propagated
563
563
  - **Database Efficiency verified**: automated query counting confirms $O(1)$ scaling, zero N+1 queries, and zero unindexed sequential scans
564
- - **Modern Web & Accessibility verified**: Playwright v1.48+ tests pass with MSW v2, WCAG 2.2 AA verified via axe-core + keyboard + ARIA snapshots, visual diffs clean
564
+ - **Modern Web & Accessibility verified**: Playwright v1.64+ tests pass with MSW v2, WCAG 2.2 AA verified via axe-core + keyboard + ARIA snapshots, visual diffs clean
565
565
  - **Shift-Left Chaos verified**: Toxiproxy fault injection confirms circuit breaker state transitions, AWS full jitter backoff, and k6 SLO thresholds met
566
- - **Clean Architecture & Ephemeral Parity verified**: Kratos layer isolation respected, real PostgreSQL 16 Testcontainers clean with GORM `InTx` rollback, Wire DI isolated, `go test -race` clean, and `uber-go/goleak` clean
566
+ - **Clean Architecture & Ephemeral Parity verified**: Kratos layer isolation respected, real PostgreSQL 18 Testcontainers clean with GORM `InTx` rollback, Wire DI isolated, `go test -race` clean, and `uber-go/goleak` clean
567
567
  - **Mutation Testing gate passed**: mutation score $\ge 75\text{--}80\%$ on core business, security, and invariant modules
568
568
  - **Property-Based Testing verified**: invariants and round-trip fidelity proven across thousands of randomized inputs
569
569
  - **OWASP ASI04 & ASI05 gates passed**: lockfile hashes verified, CI actions pinned to commit SHA, and sandbox escape prevention confirmed
@@ -571,4 +571,4 @@ See [`references/qa-engineer-review-checklist.md`](references/qa-engineer-review
571
571
  - `contracts/schemas/test-report.json` emitted with full execution and trace evidence
572
572
  - `contracts/schemas/validation-result.json` emitted for release gating
573
573
 
574
- Last updated: 2026-10-20
574
+ Last updated: 2026-10-25
@@ -1,6 +1,6 @@
1
1
  ## AI Systems Engineer Review Checklist
2
2
 
3
- This reference checklist provides detailed AI systems engineering, model serving infrastructure, accelerator virtualization, SLM distillation, and gateway governance criteria to meet 2026–2027 SOTA standards. It synthesizes high-throughput vLLM v1 PagedAttention serving, dynamic chunked prefill, Radix Tree prefix caching, NVIDIA MIG and Kubernetes 1.31+ DRA hardware slicing, DeepSeek-R1 SLM distillation, FastMCP tool integration, and LiteLLM spend governance.
3
+ This reference checklist provides detailed AI systems engineering, model serving infrastructure, accelerator virtualization, SLM distillation, and gateway governance criteria to meet 2026–2027 SOTA standards. It synthesizes high-throughput vLLM v1 PagedAttention serving, dynamic chunked prefill, Radix Tree prefix caching, NVIDIA MIG and Kubernetes DRA hardware slicing (GA v1.34+), DeepSeek-R1 SLM distillation, FastMCP tool integration, and LiteLLM spend governance.
4
4
 
5
5
  ### 1. High-Throughput Model Serving Engine (vLLM v1 C++ Core & Lock-Free IPC)
6
6
  - **Standalone C++ Core Execution Loop**:
@@ -102,7 +102,7 @@ This reference checklist provides detailed AI systems engineering, model serving
102
102
  ### 10. Centralized AI Gateway Orchestration & LiteLLM Spend Governance
103
103
  - **Centralized Gateway Choke Point**:
104
104
  - 100% of application and agent LLM calls route through centralized proxy gateways (LiteLLM, Portkey); direct provider calls using hardcoded API keys are a strict policy violation
105
- - gateway enforces automated multi-provider fallback chains (e.g. Anthropic Claude 3.5 Sonnet $\rightarrow$ OpenAI GPT-4o $\rightarrow$ local self-hosted vLLM) with exponential backoff
105
+ - gateway enforces automated multi-provider fallback chains (e.g. Anthropic Claude Opus 5.5 $\rightarrow$ OpenAI GPT-6 $\rightarrow$ local self-hosted vLLM v0.32+) with exponential backoff; re-validated quarterly as frontier generations turn over
106
106
  - **Token Budget Ceilings & FinOps Metadata**:
107
107
  - all requests carry mandatory cost-attribution headers (`x-team-id`, `x-service-name`, `x-budget-tier`)
108
108
  - autonomous agentic sessions bound to circuit breakers capping per-session token spend to $\le 10\%$ of the daily allocated budget to terminate circular execution loops
@@ -122,7 +122,7 @@ This reference checklist provides detailed AI systems engineering, model serving
122
122
 
123
123
  ### 13. GPU FinOps, DCGM Observability & Queue-Depth Autoscaling
124
124
  - **Queue-Depth Driven HPA Autoscaling**:
125
- - Kubernetes Horizontal Pod Autoscaler (`autoscaling/v2`) scales on request queue depth custom metrics (`vllm:num_requests_waiting`, target: 5 requests per pod) and KV cache usage factor (`vllm:gpu_cache_usage_factor`, target: 0.80) via Prometheus Adapter:
125
+ - Kubernetes Horizontal Pod Autoscaler (`autoscaling/v2`) scales on request queue depth custom metrics (`vllm:num_requests_waiting`, target: 5 requests per pod) and KV cache usage factor (`vllm:gpu_cache_usage_factor`, target: 0.80) via Prometheus Adapter; prefer KEDA as the event-driven scaler fronting the HPA for queue/KV signals (KEDA-NOT-HPA rule in `system-design`):
126
126
  ```promql
127
127
  vllm:num_requests_waiting{job="vllm-serving"} > 5
128
128
  ```
@@ -149,3 +149,11 @@ This reference checklist provides detailed AI systems engineering, model serving
149
149
  | **TPOT Tail Jitter** | Jitter $\le \pm 1.8\text{ms}$ | vLLM benchmark client (`vllm bench`) | TPOT variance $\le 1.8\text{ms}$ |
150
150
  | **K8s DRA Device Claim** | CEL claim resolution | `kubectl get resourceclaims -n ai-serving` | Claim status: Bound |
151
151
  | **tmpfs Sizing** | `/dev/shm` $\ge 16\text{GiB}$ | `df -h /dev/shm` inside inference pod | Available $\ge 16\text{GiB}$ |
152
+
153
+ ### 16. 2026-10 Modernization Gates (`CONTEXT-ENGINEERING LOCK`)
154
+
155
+ - **Model-Lineage Gate**: no 2024-era model pins (pre-GPT-5 OpenAI flagships, pre-Claude-4.5 Anthropic models, or Qwen2.5/Llama 3.3-class releases treated as current); fallback chains and distillation teachers reference the 2026 generation (GPT-6 family, Claude 5.x, Gemini 4; open-weight: GLM-5, DeepSeek-V4, Qwen3.8, Kimi K2/K3, gpt-oss) and are re-validated quarterly
156
+ - **Engine-Currency Gate**: deployments track the current vLLM release line (v0.32+ as of 2026-10) with the V1 engine default (V0 deprecated; `VLLM_USE_V1` no longer required) and prefix caching verified on-by-default; DRA claims use the GA `resource.k8s.io/v1` API (GA v1.34), never beta `v1alpha3`
157
+ - **Transport Gate**: MCP servers speak Streamable HTTP (MCP spec 2025-03-26+; FastMCP 2.x default); new HTTP+SSE deployments are rejected
158
+ - **Context-Engineering Gate**: long-running agents enforce compaction near window limits with recoverable raw records, just-in-time retrieval over pre-loading, durable notes/memory outside the window, and sub-agent isolation for heavy reading; raw-transcript replay across sessions fails review
159
+ - **Eval-Calibration Gate**: agent evals report pass^k reliability alongside single-pass scores and are calibrated against the current landscape (τ²-bench, Terminal-Bench 2.0 hard/unsaturated; SWE-bench Verified treated as saturated)
@@ -1,10 +1,10 @@
1
1
  ## AWS Engineer Review Checklist
2
2
 
3
- This reference checklist provides comprehensive cloud architecture, infrastructure-as-code, identity governance, compute optimization, and security verification criteria for AWS engineering to meet 2026–2027 SOTA standards. It establishes non-negotiable verification gates across OpenTofu KMS client-side state encryption, Crossplane Go compositions, Bottlerocket distroless container hosts, AWS IAM Zero-Trust with EKS Pod Identity, Karpenter declarative autoscaling, Graviton4/Trainium2/Inferentia2 compute acceleration, sidecarless VPC Lattice service networking, Bedrock PrivateLink isolation with Guardrails v2, and FinOps cost governance.
3
+ This reference checklist provides comprehensive cloud architecture, infrastructure-as-code, identity governance, compute optimization, and security verification criteria for AWS engineering to meet 2026–2027 SOTA standards. It establishes non-negotiable verification gates across OpenTofu KMS client-side state encryption, Crossplane Go compositions, Bottlerocket distroless container hosts, AWS IAM Zero-Trust with EKS Pod Identity, Karpenter declarative autoscaling, Graviton5/Trainium3/Inferentia2 compute acceleration, sidecarless VPC Lattice service networking, Bedrock PrivateLink isolation with Guardrails v2, and FinOps cost governance.
4
4
 
5
- ### 1. OpenTofu v1.8+ Client-Side State Encryption & IaC Architecture (`OPENTOFU-KMS-LOCK`)
5
+ ### 1. OpenTofu v1.13+ Client-Side State Encryption & IaC Architecture (`OPENTOFU-KMS-LOCK`)
6
6
  - **In-Memory Client-Side State Encryption**:
7
- - all Infrastructure as Code (IaC) state files (`.tfstate`) and execution plan files must be encrypted client-side in-memory using OpenTofu v1.8+ before transmitting bytes to remote S3 or HTTP backends
7
+ - all Infrastructure as Code (IaC) state files (`.tfstate`) and execution plan files must be encrypted client-side in-memory using OpenTofu v1.13+ before transmitting bytes to remote S3 or HTTP backends
8
8
  - configuration mandates an `encryption {}` block specifying `key_provider "aws_kms"` with authenticated AES-GCM (256-bit) and `enforced = true` on both `state` and `plan` blocks:
9
9
  ```hcl
10
10
  terraform {
@@ -33,12 +33,12 @@ This reference checklist provides comprehensive cloud architecture, infrastructu
33
33
  - remote S3 state backend configured with DynamoDB distributed state locking (`dynamodb_table`), object versioning, and bucket policies denying unencrypted transport (`aws:SecureTransport: false`)
34
34
  - static analysis (TFLint, Trivy) and automated assertions (`tofu test`) executed in CI/CD before any plan promotion
35
35
 
36
- ### 2. Universal Cloud Control Planes & Crossplane v1.16+ Go Compositions (`CROSSPLANE-COMPOSITION-LOCK`)
36
+ ### 2. Universal Cloud Control Planes & Crossplane v2.4+ Go Compositions (`CROSSPLANE-COMPOSITION-LOCK`)
37
37
  - **Kubernetes-Native Cloud Resource Management**:
38
- - cloud infrastructure managed as Kubernetes custom resources via Composite Resource Definitions (XRDs); platform teams expose high-level declarative claims while shielding developers from raw cloud parameter complexity
38
+ - cloud infrastructure managed as Kubernetes custom resources via Composite Resource Definitions (XRDs); platform teams expose high-level namespaced Composite Resources while shielding developers from raw cloud parameter complexity
39
39
  - Crossplane Compositions authoring in pipeline mode powered by compiled Go functions (`function-go-templating`) or KCL (`function-kcl`), replacing legacy unstructured YAML patch-and-transform with compile-time type validation, conditionals, and deterministic loops
40
40
  - continuous reconciliation loops actively detect and correct out-of-band AWS resource drift against desired XRD state
41
- - product development teams consume claims (`AppEnvironment`, `PostgreSQLInstance`) without requiring direct AWS IAM credentials or provider access
41
+ - product development teams consume namespaced Composite Resources (`AppEnvironment`, `PostgreSQLInstance`) without requiring direct AWS IAM credentials or provider access — the separate Claim type is deprecated in Crossplane 2.x
42
42
 
43
43
  ### 3. Bottlerocket Distroless Node OS & EKS Host Security (`BOTTLEROCKET-LOCK`)
44
44
  - **Distroless Container-Optimized Host OS**:
@@ -65,9 +65,9 @@ This reference checklist provides comprehensive cloud architecture, infrastructu
65
65
  - **Attribute-Based Access Control (ABAC)**:
66
66
  - STS session tags (`eks-cluster-name`, `kubernetes-namespace`, `kubernetes-service-account`) automatically propagated to downstream AWS API requests for fine-grained policy enforcement
67
67
 
68
- ### 6. Karpenter v1.0+ Declarative Autoscaling & Compute Architecture
68
+ ### 6. Karpenter v1.x & EKS Auto Mode Declarative Autoscaling
69
69
  - **Just-In-Time Node Provisioning & Disruption Budgets**:
70
- - compute autoscaling declared via Karpenter v1.0+ `NodePool` (`karpenter.sh/v1`) and `EC2NodeClass` (`karpenter.k8s.aws/v1`) manifests:
70
+ - compute autoscaling declared via EKS Auto Mode (AWS-managed Karpenter; the default for new clusters) or self-managed Karpenter v1.x `NodePool` (`karpenter.sh/v1`) and `EC2NodeClass` (`karpenter.k8s.aws/v1`) manifests — retained for custom AMIs and node-level control:
71
71
  ```yaml
72
72
  apiVersion: karpenter.sh/v1
73
73
  kind: NodePool
@@ -83,7 +83,7 @@ This reference checklist provides comprehensive cloud architecture, infrastructu
83
83
  requirements:
84
84
  - key: "karpenter.k8s.aws/instance-family"
85
85
  operator: In
86
- values: ["c8g", "m8g", "r8g"]
86
+ values: ["c9g", "m9g", "r9g"]
87
87
  - key: "kubernetes.io/arch"
88
88
  operator: In
89
89
  values: ["arm64"]
@@ -95,13 +95,13 @@ This reference checklist provides comprehensive cloud architecture, infrastructu
95
95
  ```
96
96
  - static EC2 Managed Node Groups eliminated for dynamic microservice workloads
97
97
 
98
- ### 7. Graviton4, Trainium2 & Inferentia2 Compute Acceleration
99
- - **Graviton4-First Compute Standard**:
100
- - general-purpose compute, microservices, and database workloads default to AWS Graviton4 (c8g, m8g, r8g) ARM64 architecture, delivering 20–30% lower cost and 10–15% better performance vs x86 equivalents
98
+ ### 7. Graviton5, Trainium3 & Inferentia2 Compute Acceleration
99
+ - **Graviton5-First Compute Standard**:
100
+ - general-purpose compute, microservices, and database workloads default to AWS Graviton5 (c9g, m9g, r9g — all GA by 2026-08; ~25% faster than Graviton4) ARM64 architecture; Graviton4 is permitted only where a Graviton5 family lacks regional availability
101
101
  - CI/CD build pipelines enforce multi-architecture container images (`linux/arm64,linux/amd64`)
102
102
  - **Specialized AI/ML Silicon Acceleration**:
103
- - distributed generative AI training workloads deployed on Trainium2 (trn2) UltraClusters backed by Elastic Fabric Adapter (EFA v2) networking
104
- - high-throughput, low-latency LLM inference workloads benchmarked and deployed on Inferentia2 (inf2) instances using AWS Neuron SDK
103
+ - distributed generative AI training workloads deployed on Trainium3 (trn3) UltraServers (GA 2025-12; up to 4.4x Trn2 throughput, 144 chips, 20.7 TB HBM3e) via UltraClusters backed by Elastic Fabric Adapter (EFA v2) networking
104
+ - high-throughput, low-latency LLM inference workloads benchmarked and deployed on Trainium3 or Inferentia2 (inf2) instances using AWS Neuron SDK
105
105
 
106
106
  ### 8. Sidecarless Service Networking with AWS VPC Lattice (Gateway API)
107
107
  - **Sidecarless L7 Application Networking**:
@@ -124,12 +124,15 @@ This reference checklist provides comprehensive cloud architecture, infrastructu
124
124
  - S3 Express One Zone deployed for low-latency (<10ms) AI training checkpoints, embedding caches, and high-throughput data processing
125
125
  - **Database High Availability & KMS Key Rotation**:
126
126
  - Amazon RDS / Aurora deployed in Multi-AZ configuration with automated daily backups, deletion protection, and Performance Insights enabled
127
+ - Amazon Aurora DSQL (GA since 2025-05; serverless distributed SQL, PostgreSQL-compatible, 99.999% multi-Region availability) evaluated before self-sharded designs for new distributed-SQL requirements
127
128
  - Customer-Managed KMS keys (CMK) configured with annual automated key rotation for all persistent EBS volumes, RDS clusters, and Secrets Manager stores
128
129
 
129
130
  ### 11. Amazon Bedrock & AI/ML Managed Infrastructure Isolation
130
131
  - **PrivateLink VPC Isolation & Model ARN Scoping**:
131
132
  - Amazon Bedrock APIs accessed exclusively via PrivateLink VPC endpoints (`com.amazonaws.<region>.bedrock-runtime`); direct public routing is prohibited
132
- - Bedrock IAM policies specify exact model ARNs; wildcard model access (`bedrock:InvokeModel` on `*`) is strictly prohibited
133
+ - Bedrock IAM policies specify exact model ARNs — including current-generation Amazon Nova 2 family ARNs (re:Invent 2025 release); wildcard model access (`bedrock:InvokeModel` on `*`) is strictly prohibited
134
+ - **Bedrock AgentCore Runtime (GA since 2025-10)**:
135
+ - production agents run on AgentCore (up to 8-hour long-running task runtime, AgentCore Gateway policy engine, Memory with self-managed strategy) behind the same PrivateLink isolation and model ARN scoping as model invocation
133
136
  - **Guardrails v2 & Token-Level Cost Tracking**:
134
137
  - production Bedrock endpoints enforce Guardrails v2 with contextual grounding threshold $\ge 0.7$, PII redaction filters, and denied topics
135
138
  - token-level cost attribution tags (`team-id`, `service-name`, `budget-tier`) attached to invocation metadata for granular billing attribution
@@ -142,6 +145,8 @@ This reference checklist provides comprehensive cloud architecture, infrastructu
142
145
  $$Cost_{\text{compute}} = \sum_{i=1}^N \left( R_{\text{instance}, i} \times (1 - D_{\text{savings}, i}) \times T_{\text{hours}, i} \right)$$
143
146
  - **Shift-Left Tagging Enforcement**:
144
147
  - mandatory cost allocation tags (`team`, `service`, `environment`, `cost-center`) enforced via SCP at creation time; untagged resource provisioning blocked fail-closed
148
+ - **Database Savings Plans**:
149
+ - steady-state database spend evaluated against Database Savings Plans (up to 35% savings across Aurora, RDS, DynamoDB, DocumentDB, Neptune, and ElastiCache) alongside Compute Savings Plans
145
150
 
146
151
  ### 13. Cloud-Native Observability, Telemetry & AWS Config Compliance
147
152
  - **ADOT & Embedded Metric Format (EMF)**:
@@ -165,5 +170,13 @@ This reference checklist provides comprehensive cloud architecture, infrastructu
165
170
  | **Bottlerocket Integrity** | dm-verity enabled | `kubectl get ec2nodeclass -o yaml` | `amiFamily: Bottlerocket` |
166
171
  | **Karpenter Disruption** | Node budget $\le 10\%$ | `kubectl get nodepool -o yaml` | `budgets: [{nodes: "10%"}]` |
167
172
  | **Zero Wildcard IAM** | Zero `Action: "*"` | `aws access-analyzer validate-policy` | 0 security errors/warnings |
168
- | **Graviton4 Standard** | Architecture == arm64 | `kubectl get nodes -L kubernetes.io/arch` | 100% arm64 for microservices |
173
+ | **Graviton5 Standard** | Architecture == arm64 | `kubectl get nodes -L kubernetes.io/arch` | 100% arm64 for microservices |
169
174
  | **Handoff Contract** | Valid `aws-infra-spec.json` | `python3 core/scripts/validate-contracts.py` | 100% schema compliant |
175
+
176
+ ### 16. 2026-10 Modernization Gates
177
+ - **Silicon-Currency Gate**: compute baselines default to current-generation GA silicon — Graviton5 (c9g/m9g/r9g, all GA by 2026-08) and Trainium3 (trn3, GA 2025-12); Graviton4/Trainium2 defaults require a documented regional or compatibility exception.
178
+ - **Crossplane-2.x Gate**: control-plane compositions target Crossplane v2.4+ with namespaced Composite Resources; the separate Claim type is deprecated — new v1.x-style Claim workflows fail currency review.
179
+ - **OpenTofu-1.13 Gate**: IaC toolchains run OpenTofu v1.13+ (client-side KMS encryption unchanged); pre-1.12 toolchains fail currency review (1.12 support ends 2027-02).
180
+ - **Auto-Mode-Aware Autoscaling Gate**: new clusters default to EKS Auto Mode (managed Karpenter); self-managed Karpenter v1.x requires a documented custom-AMI or node-control rationale.
181
+ - **Bedrock-AgentCore Gate**: production agent deployments run on AgentCore (GA 2025-10) behind PrivateLink isolation; self-managed agent runtimes need an explicit exception.
182
+ - **Aurora-DSQL Gate**: new distributed-SQL requirements evaluate Aurora DSQL (GA 2025-05) before self-sharded RDS/Aurora designs; Database Savings Plans are part of every steady-state cost review.
@@ -6,7 +6,7 @@ This reference document defines the operational governance standards for [`conte
6
6
 
7
7
  ## 1. Top 10 SERP Information Gain Differential Matrix
8
8
 
9
- Modern generative search engines (Google AI Overviews, SearchGPT, Perplexity) reward primary sources and discard commodity rewrites. Merely compiling or paraphrasing existing search results ("skyscraper content") produces zero non-commodity value, resulting in algorithmic devaluation or extraction suppression.
9
+ Modern generative search engines (Google AI Overviews and AI Mode, ChatGPT Search, Perplexity) reward primary sources and discard commodity rewrites. Merely compiling or paraphrasing existing search results ("skyscraper content") produces zero non-commodity value, resulting in algorithmic devaluation or extraction suppression.
10
10
 
11
11
  ### 1.1 The 5 Information Gain Vectors
12
12
 
@@ -82,7 +82,7 @@ High-performing content deteriorates over time due to algorithmic search shifts,
82
82
  - *Detection:* Google Search Console shows an average position drop >3 spots or a sustained >25% MoM drop in organic search impressions over 60 days.
83
83
  - *Root Cause:* Competitor content out-optimizing intent, or search algorithms re-evaluating topical freshness.
84
84
  2. **Tier 2: Generative Engine / GEO Citation Decay:**
85
- - *Detection:* Citations in Google AI Overviews, SearchGPT, or Perplexity decline by ≥15% over a rolling 30-day window; AI engines begin citing competing URLs for primary query fan-outs.
85
+ - *Detection:* Citations in Google AI Overviews and AI Mode, ChatGPT Search, or Perplexity decline by ≥15% over a rolling 30-day window; AI engines begin citing competing URLs for primary query fan-outs.
86
86
  - *Root Cause:* Answer-first structure degraded, schema broken, or facts superseded by more recent competitor benchmarks.
87
87
  3. **Tier 3: Factual & Temporal Decay:**
88
88
  - *Detection:* Article references statistics older than 18 months, documents deprecated CLI commands/APIs, or contains broken external outbound links.
@@ -35,7 +35,7 @@ This reference checklist provides actionable governance rubrics for evaluating p
35
35
  ### 3-Tier Content Decay Monitoring & Remediation SLAs
36
36
  - **Comprehensive Decay Scanning**: Regular monitoring scans active across all 3 tiers:
37
37
  - *Tier 1 (Algorithmic SERP Decay)*: Organic rank drops (>3 positions) or sustained impression deterioration (>25% MoM).
38
- - *Tier 2 (GEO / AI Engine Citation Decay)*: Citation tracking across Google AI Overviews, SearchGPT, and Perplexity flagging URLs with ≥15% citation drop over 30 days.
38
+ - *Tier 2 (GEO / AI Engine Citation Decay)*: Citation tracking across Google AI Overviews and AI Mode, ChatGPT Search, and Perplexity flagging URLs with ≥15% citation drop over 30 days.
39
39
  - *Tier 3 (Factual & Temporal Decay)*: Outdated statistics (>18 months), deprecated tooling/API syntax, or broken outbound links.
40
40
  - **Enforced Remediation SLAs**:
41
41
  - *Action 1 — Quick Patch (≤15 days)*: Remediate outdated statistics, deprecated code snippets, and broken links.
@@ -66,3 +66,9 @@ This reference checklist provides actionable governance rubrics for evaluating p
66
66
  - **Pre-Production KPI Alignment**: Target business outcomes, organic session goals, and conversion metrics established prior to drafting.
67
67
  - **AI Share of Voice (AI SOV)**: Citation velocity and presence across generative answer engines tracked alongside traditional organic traffic.
68
68
  - **Data-Traceable Decisions**: Strategy pivots, content prunes, and calendar adjustments directly supported by historical performance telemetry.
69
+
70
+ ### 2026-10 Modernization Gates
71
+ - **Article-50-Live Gate**: EU AI Act Article 50 transparency obligations are in force since 2026-08-02 (grace period to 2026-12 for generative systems already on the market) — machine-readable Content Credentials marking per the C2PA implementation guide (2026-07) and user-facing AI disclosures are verified on all synthetic or AI-assisted media; treating them as future compliance fails review.
72
+ - **GEO-Engine-Currency Gate**: citation decay tracking covers Google AI Overviews and AI Mode, ChatGPT Search, and Perplexity; obsolete engine names or AI Mode omissions fail currency review.
73
+ - **SoM-Metric Gate**: Share of Model (SoM) is tracked alongside AI Share of Voice (AI SOV) and traditional CTR so portfolio KPIs reflect AI-answer visibility, not only blue-link rankings.
74
+ - **ASI-Title Gate**: content-skill security guardrails use the official OWASP ASI 2026 titles (ASI01 Agent Goal Hijack, ASI03 Identity & Privilege Abuse, ASI04 Agentic Supply Chain, ASI05 Unexpected Code Execution, ASI07 Insecure Inter-Agent Communication, ASI09 Human-Agent Trust Exploitation); truncated or invented labels fail review.
@@ -2,7 +2,7 @@
2
2
 
3
3
  This reference checklist provides detailed engineering, lakehouse architecture, data contract, and governance criteria for data engineering to meet 2027 Agentic SWE and Modern Data standards.
4
4
 
5
- ### 1. Open Data Contract Standard (ODCS v3.1.0) & Boundary Enforcement
5
+ ### 1. Open Data Contract Standard (ODCS v3.2.0) & Boundary Enforcement
6
6
  - **Machine-Readable Contract Specification**: Pipeline contracts are formally declared using Open Data Contract Standard v3 (`contracts/schemas/data-pipeline-spec.json`) covering dataset grain, schema invariants, freshness SLAs, quality gates, and quarantine policies.
7
7
  - **Producer Boundary Gate Enforcement**: Automated schema validation runs at producer boundaries; invalid or non-compliant payloads fail closed prior to ingestion into Bronze/raw lakehouse tables.
8
8
  - **Strict SemVer Schema Evolution**: Schema mutations adhere to Semantic Versioning: additive nullable columns represent minor version bumps; breaking changes (column removal, type alterations, nullability changes) require major version increments with dual-write transition periods.
@@ -10,8 +10,8 @@ This reference checklist provides detailed engineering, lakehouse architecture,
10
10
  - **Executable Quality Assertions**: Data contracts define unambiguous quality assertions (null rate ceilings, uniqueness constraints, value range checks, foreign key referential integrity) executed automatically during pipeline runs.
11
11
  - **Contract Ownership & Lineage**: Every dataset declares explicit producer and consumer owners, SLA tier, and upstream/downstream lineage graphs.
12
12
 
13
- ### 2. Modern Lakehouse Architecture (Iceberg v4/v3 & Delta Lake UniForm)
14
- - **Table Format Standardization**: Lakehouse tables adopt Apache Iceberg v4 (metadata-only restructuring; never data rewrites for schema/partition evolution), Iceberg v3, or Delta Lake 4.0 UniForm formats, eliminating proprietary storage lock-in and unversioned file directories.
13
+ ### 2. Modern Lakehouse Architecture (Iceberg v3 & Delta Lake UniForm)
14
+ - **Table Format Standardization**: Lakehouse tables adopt Apache Iceberg v3 (metadata-only restructuring; never data rewrites for schema/partition evolution; implemented by the 1.11+/1.12 line) or Delta Lake 4.4 UniForm formats, eliminating proprietary storage lock-in and unversioned file directories; the unratified Iceberg v4 spec is tracked as roadmap only and must not appear in production table configs.
15
15
  - **Row-Level Delete Optimization**: Iceberg v3 hardware-accelerated Deletion Vectors (DVs) encoded in Puffin RoaringBitmap format are deployed for all row-level mutations (<3% read amplification), deprecating legacy positional and equality deletes.
16
16
  - **Variant as Canonical Semi-Structured Path**: Semi-structured JSON payloads utilize the `VARIANT` type, eliminating string blob anti-patterns and enabling pushdown predicate evaluation on nested fields.
17
17
  - **Partition Evolution Without Rewrites**: Partition schemes evolve dynamically (e.g., migrating from daily to hourly partitioning) using integer `spec_id` metadata evolution without requiring multi-terabyte historical data rewrites.
@@ -75,3 +75,11 @@ This reference checklist provides detailed engineering, lakehouse architecture,
75
75
  - **Column-Level Lineage Emission**: Automated pipeline tasks emit standard OpenLineage run and dataset facets across extraction, transformation, and load stages to maintain end-to-end provenance graphs.
76
76
  - **Catalog Lineage Integration**: OpenLineage events are integrated with open REST Catalogs (Apache Polaris, Unity Catalog OSS) for automated visual graph rendering and impact analysis.
77
77
  - **Upstream Deprecation & Impact Gating**: Upstream schema modifications and producer deprecations require automated impact analysis against registered downstream OpenLineage consumer nodes prior to production rollout.
78
+
79
+ ### 11. 2026-10 Modernization Gates
80
+ - **Spec-Currency Gate**: no production config pins an unratified specification — Iceberg v4 (single-file commits, relative manifest paths, geospatial) is under active development and appears only as roadmap framing, never as a table format requirement; review fails any "standardize on Iceberg v4" instruction.
81
+ - **Variant-Spec Gate**: Variant is an Iceberg v3 feature (per the official spec, "Support for Variant is added in Iceberg v3"); any document claiming Variant requires v4 fails review.
82
+ - **Engine-Currency Gate**: stack pins reference generally available lines — Delta Lake 4.4 (Aug 2026), Spark 4.2+ (Jul 2026; quarterly cadence from 4.3.0), Flink 2.3 (Jun 2026), dbt Core 2.0 (Rust engine; 1.12+ active support until 2027-07), DuckDB 1.5+ with the 2.0 LTS line (GA 2026-10-21) adopted after soak.
83
+ - **ODCS-Currency Gate**: data contracts reference ODCS v3.2.0 (current Bitol release, validated by the datacontract CLI); v3.1.0 references fail currency review.
84
+ - **PostgreSQL-Baseline Gate**: relational maintenance runbooks target PostgreSQL 18 (PG 19 GA planned 2026-11-19); PG 16/17 upgrade paths fail the currency bar.
85
+ - **Semantic-Layer Gate**: Apache Ossie is cited with its Apache Incubating status (ASF since 2026-07, formerly Open Semantic Interchange) alongside dbt MetricFlow on dbt Core 2.0 and Cube.js.
@@ -100,8 +100,8 @@ This reference checklist provides detailed test engineering, quality gates, and
100
100
  - Cilium Tetragon and Beyla sensors integrated in test environments to monitor system calls (`sys_enter_connect`, `sys_enter_execve`)
101
101
  - execution sandboxes verified to make zero unauthorized network egress connections or unexpected subprocess spawns
102
102
 
103
- ### 7. Modern Web, Browser Automation & Accessibility (Playwright v1.48+)
104
- - **Playwright v1.48+ Automation Standards**:
103
+ ### 7. Modern Web, Browser Automation & Accessibility (Playwright v1.64+)
104
+ - **Playwright v1.64+ Automation Standards**:
105
105
  - browser tests executed in isolated browser contexts with automated Trace Viewer capture on test failure
106
106
  - transport-level network interception enforced via Mock Service Worker (MSW v2) or HAR network replay; application-level monkey-patching of `window.fetch` strictly prohibited
107
107
  - arbitrary sleep calls (`page.waitForTimeout`) eliminated; Playwright web-first assertions with locator auto-waiting (`await expect(locator).toBeVisible()`) enforced
@@ -131,12 +131,12 @@ This reference checklist provides detailed test engineering, quality gates, and
131
131
  - HTTP error rate $< 0.1\%$
132
132
  - k6 threshold rules configured to exit with non-zero exit code (exit code 99) upon SLO breach, blocking deployment
133
133
 
134
- ### 9. Clean Architecture Multi-Language QA (Go 1.25+, Python, TypeScript)
135
- - **Go 1.25+ Kratos Clean Architecture Test Isolation**:
134
+ ### 9. Clean Architecture Multi-Language QA (Go 1.27+, Python, TypeScript)
135
+ - **Go 1.27+ Kratos Clean Architecture Test Isolation**:
136
136
  - Kratos 4-layer separation strictly enforced: `api/` (contracts) $\rightarrow$ `internal/service` (adapters) $\rightarrow$ `internal/biz` (business invariants) $\rightarrow$ `internal/data` (GORM persistence)
137
137
  - zero database ORM (`gorm.DB`) leakage into `internal/biz`; domain invariants testable via pure unit tests with zero I/O
138
138
  - **Ephemeral Database Parity via Testcontainers-Go**:
139
- - in-memory SQLite mocks replaced with real PostgreSQL 16 Alpine containers spun up programmatically via `testcontainers/testcontainers-go` managed by Ryuk reaper
139
+ - in-memory SQLite mocks replaced with real PostgreSQL 18 Alpine containers spun up programmatically via `testcontainers/testcontainers-go` managed by Ryuk reaper
140
140
  - complete engine feature parity ensured (JSONB operations, window functions, concurrency locks, indexing)
141
141
  - **Zero-Dirty State with GORM `InTx` Rollbacks**:
142
142
  - each database integration test wrapped in an explicit transaction (`tx := db.Begin()`), repository operations executed within the transaction, and deferred `tx.Rollback()` invoked on teardown
@@ -188,3 +188,8 @@ This reference checklist provides detailed test engineering, quality gates, and
188
188
  - blast radius assessment verifies failure domain containment; zero cross-boundary impact detected
189
189
  - skipped checks and residual risk are explicit, justified, and documented in `contracts/schemas/test-report.json`
190
190
  - release confidence is supported by empirical evidence, not confidence language
191
+
192
+ ### 14. 2026-10 Modernization Gates
193
+ - **Stack-Currency Gate**: ephemeral test parity runs on the 2026-10 baseline — Go 1.27+ (1.27 released 2026-08) and PostgreSQL 18 Testcontainers (PG 19 GA planned 2026-11-19); previous-generation Go or PostgreSQL pins fail currency review.
194
+ - **Playwright-Currency Gate**: browser automation targets Playwright v1.64+ (1.64.1 released 2026-10-13; v1.62+ required for MCP-era features); v1.48-era pins fail currency review.
195
+ - **Toolchain-Alignment Gate**: QA stack pins match the Backend Developer Stack Currency baseline (Go 1.27+, Python 3.14+, Node 26 LTS line, PostgreSQL 18) so test environments never drift from production runtimes; re-validate quarterly.
@@ -120,3 +120,11 @@ This reference checklist provides comprehensive security architecture, threat mo
120
120
  | **SPIFFE SVID Expiry** | TTL $\le 1\text{h}$ | `spire-agent api fetch x509` | Lifetime $\le 3600\text{s}$ |
121
121
  | **Audit Log Integrity** | WORM storage valid | S3 Object Lock configuration check | Immutability active, retention $\ge 180\text{d}$ |
122
122
  | **Audit Contract** | Valid `security-audit.json` | `python3 core/scripts/validate-contracts.py` | 100% schema compliant |
123
+
124
+ ### 10. 2026-10 Modernization Gates (`CRA-REPORTING LOCK`, `PQC-TRANSITION LOCK`)
125
+
126
+ - **ASI Correctness Gate**: every agentic finding is tagged against the official OWASP Top 10 for Agentic Applications 2026 titles (ASI01 Agent Goal Hijack, ASI02 Tool Misuse & Exploitation, ASI03 Identity & Privilege Abuse, ASI04 Agentic Supply Chain, ASI05 Unexpected Code Execution, ASI06 Memory & Context Poisoning, ASI07 Insecure Inter-Agent Communication, ASI08 Cascading Failures, ASI09 Human-Agent Trust Exploitation, ASI10 Rogue Agents); invented titles such as "ASI08 Missing HITL" or "ASI02 Excessive Agency" fail review outright
127
+ - **CRA Reporting Gate**: for products in EU scope, a tested 24-hour ENISA/CSIRT reporting runbook exists (obligation live since 2026-09-11); a declared support period ≥5 years precedes the 2026-12-11 main obligations; SBOM pipeline evidence is building toward the 2027-12-11 documentation gate
128
+ - **PQC Transition Gate**: a CBOM crypto inventory exists for all cryptography in scope; server-side hybrid TLS (X25519MLKEM768) is enabled or exception-logged; no new quantum-vulnerable-only crypto protects data surviving past 2030 (NIST IR 8547)
129
+ - **Red Teaming Alignment Gate**: agentic adversarial testing is structured per the OWASP GenAI Red Teaming Manual v1.0 (2026-10-20) and Agent Control Standard (2026-09-01), not ad-hoc prompt lists
130
+ - **LLM Top 10 2025 Gate**: AI findings reference 2025-edition mappings (LLM06 Excessive Agency, LLM07 System Prompt Leakage, LLM10 Unbounded Consumption), not 2023 positions
@@ -33,7 +33,7 @@ This reference checklist provides detailed evaluation criteria for solution arch
33
33
  - **Inference Latency Dynamics**: Time-To-First-Token ($TTFT \le 800\text{ms}$ via MFU) and Time-Between-Tokens ($TBT \le 25\text{ms}$ via MBU) are documented before sizing GPU clusters.
34
34
  - **Token Economics & VPT**: Cost-Per-Token ($CPT$) is computed and Value-Per-Token ($VPT$) business viability thresholds are validated.
35
35
 
36
- ### 5. Clean Architecture & Saga Orchestration (Go 1.25+ Kratos & Dapr)
36
+ ### 5. Clean Architecture & Saga Orchestration (Go 1.27+ Kratos & Dapr)
37
37
  - **Layer Separation**: Kratos 4-layer architecture strictly separates Transport (`api`), Adapter (`service`), Domain (`biz`), and Persistence (`data`).
38
38
  - **Zero ORM Leakage**: Database driver instances (`gorm.DB`) are prohibited from leaking into the `internal/biz` domain package.
39
39
  - **Compile-Time Wire DI**: Dependency injection is wired via `google/wire` AST code generation; untracked global singletons are rejected.
@@ -69,3 +69,8 @@ This reference checklist provides detailed evaluation criteria for solution arch
69
69
  - **Architectural vs Operational Controls**: Clear separation between controls enforced in code/architecture vs. organizational process.
70
70
  - **EU AI Act Timeline Alignment**: Scoping aligns with the Digital Omnibus timeline (Article 50 transparency live August 2026; Annex III high-risk deadline December 2027).
71
71
  - **Auditability & Traceability**: Solution incorporates tamper-evident logging, decision provenance, and 15-day decision reconstruction capability.
72
+
73
+ ### 10. 2026-10 Modernization Gates
74
+ - **Stack-Currency Gate**: solution stack references follow the Backend Developer Stack Currency baseline — Go 1.27+ (1.27 released 2026-08), Python 3.14+, Node 26 LTS line, PostgreSQL 18; previous-generation language pins in new solution designs fail currency review; re-validate quarterly.
75
+ - **MCP-Transport Gate**: adopted MCP servers (marketplace or in-house) speak Streamable HTTP (MCP spec 2025-03-26+); new HTTP+SSE deployments are rejected as deprecated transport.
76
+ - **GPU-Sizing-Currency Gate**: VRAM sizing equations stay silicon-agnostic (weights + KV cache + activation + overhead with ≥15% headroom) and are re-benchmarked per accelerator generation (e.g., Graviton5/Trainium3-class or current NVIDIA lines) rather than pinned to a single hardware vintage.
@@ -122,3 +122,14 @@ This reference checklist provides operational systems architecture, kernel perfo
122
122
  | **cgroup v2 Controller**| Hierarchy valid | `cat /sys/fs/cgroup/cgroup.controllers` | `cpu memory io pids` active |
123
123
  | **Listen Drop Rate** | Drops == 0 | Prometheus `ListenDrops` | 0 drops across all sockets |
124
124
  | **System Spec Schema** | Valid `system-design-spec.json` | `python3 core/scripts/validate-contracts.py` | 100% schema compliant |
125
+
126
+ ### 2026-10 Modernization Gates (KV-Cache Tiering, Speculative Decoding, DRA, Agent Router)
127
+
128
+ | Verification Gate | Target Invariant | Pass Criteria |
129
+ | :--- | :--- | :--- |
130
+ | **KV-Cache Tiering** | Agentic/long-context workloads evaluate offloading tiers before GPU scaling | `ai_infrastructure.kv_cache_tiering` decision recorded (GPU / +CPU / +storage) |
131
+ | **Speculative Decoding** | EAGLE-3/MTP enabled only with measured acceptance | `ai_infrastructure.speculative_decoding` recorded with draft acceptance rate; disabled below ~70% |
132
+ | **DRA GPU Allocation** | K8s v1.34+ uses ResourceClaims, not opaque GPU integers | Structured VRAM requests via DRA (GA v1.34; admin-access/extended-resource GA v1.36/v1.37) + MIG where multi-tenant |
133
+ | **Inference Routing** | KV/prefix-aware routing chosen before full disaggregation | Agent Router (ex-Envoy AI Gateway) InferencePool evaluated for K8s fleets; decision documented |
134
+ | **Rack-Scale Capacity** | 2026 hardware horizon priced in capacity scenarios | GB300 NVL72 (~278GB HBM3e/GPU) and Vera Rubin roadmap reflected in 12-month forecasts |
135
+ | **Continuous Profiling** | Profiling evidence via OTel Profiles (alpha) or Pyroscope/Parca | Backend + collection path stated; signal treated as alpha with native export fallback |
@@ -112,3 +112,15 @@ This reference checklist provides operational design governance, anti-slop aesth
112
112
  | **Touch Target Size** | Size $\ge 24\text{px}$ + $8\text{px}$ margin| Chrome DevTools Elements audit | 0 sub-size tap targets |
113
113
  | **Design Tokens** | 0 hardcoded hex codes | `rg -i "#[0-9a-f]{3,6}" src/components/` | 0 direct hex codes |
114
114
  | **UI Spec Contract** | Valid `ui-spec.json` | `python3 core/scripts/validate-contracts.py` | 100% schema compliant |
115
+
116
+ ### 12. 2026-10 Modernization Gates (DTCG 2025.10, Dark Patterns, ADA Title II, Agents-as-Users)
117
+
118
+ | Verification Gate | Target Invariant | Required Tool / Command | Pass Criteria |
119
+ | :--- | :--- | :--- | :--- |
120
+ | **DTCG Format Conformance** | Token files use Format Module 2025.10 `$value`/`$type` | DTCG format validator / Style Dictionary v4 DTCG mode | 0 legacy `{value}` syntax mixed in; files validate before pipeline adoption |
121
+ | **Dark-Pattern Review** | Consent / cancellation / subscription / upsell flows reviewed | ux-flow-spec.json `dark_pattern_review` | 6 classes checked (nagging, obstruction, sneaking, forced action, confirmshaming, trick questions); findings recorded |
122
+ | **ADA Title II (US public sector)** | WCAG 2.1 AA target + deadline stated | Flow spec accessibility notes | 2027-04-26 (≥50k) / 2028-04-26 (<50k) / HHS May-2026 flagged when in scope |
123
+ | **Agents-as-Users Operability** | `agent_operability` declared when agents operate the UI | ux-flow-spec.json `agent_operability` | Entry points + machine-readable affordances + courtesy rules present |
124
+ | **Autonomy Tier Declaration** | `agentic_autonomy.autonomy_tier` enum-conformant | ux-flow-spec.json `agentic_autonomy` | Tier declared for every agentic feature; tier ≤ earned trust (Autopilot Trap guard) |
125
+ | **Usability Evidence Source** | Real-participant evidence for blocking decisions | Review notes / research-report.json | Synthetic-user results marked hypothesis-only; AI-moderated interviews admissible with tool + participant count recorded |
126
+ | **WCAG 3.0 Readiness** | Findings phrased for future scoring conformance | Accessibility notes wording | WCAG 2.2 AA remains the target; no claims of "WCAG 3.0 conformance" |
@@ -86,6 +86,15 @@ Contracts owned by other roles — do not author these as SDET:
86
86
  - **does not own**: functional manual exploratory testing — QA Engineer
87
87
  - **does not own**: product feature definition and scope prioritization — Product Manager
88
88
 
89
+ ## Role Boundaries
90
+
91
+ | Role | Owns | Does not own |
92
+ | ---- | ---- | ------------ |
93
+ | **SDET** | Evaluation harness architecture, automated release gate enforcement, synthetic test data | Product code implementation, manual exploratory testing |
94
+ | **QA Engineer** | Comprehensive release test reports, exploratory validation, end-to-end quality sign-off | Dedicated agent benchmark evaluation harnesses |
95
+ | **Prompt Engineer** | System prompts, context budgeting, few-shot calibration | Eval rubric grading automation, CI test runner scripts |
96
+ | **Reviewer** | Static code review findings, architectural peer reviews | Automated evaluation pipelines and benchmark harnesses |
97
+
89
98
  ## Collaboration
90
99
 
91
100
  - works with **Prompt Engineer** on evaluation dataset coverage, rubric calibration, and regression tracking