@vesviet/agent-skills 5.6.1 → 5.7.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 (84) hide show
  1. package/INDEX.md +5 -5
  2. package/README.md +1 -1
  3. package/VERSION +1 -1
  4. package/adapters/antigravity/a2a-config.template.yaml +1 -1
  5. package/adapters/antigravity/role-skill-index.json +12 -12
  6. package/adapters/claude/CLAUDE_ADAPTER.md +1 -1
  7. package/core/contracts/README.md +1 -1
  8. package/core/contracts/schemas/data-pipeline-spec.json +1 -1
  9. package/core/contracts/schemas/design-tokens-spec.json +19 -0
  10. package/core/contracts/schemas/security-audit.json +143 -12
  11. package/core/contracts/schemas/system-design-spec.json +9 -1
  12. package/core/contracts/schemas/ux-flow-spec.json +66 -0
  13. package/core/roles/ai-systems-engineer.md +31 -18
  14. package/core/roles/aws-engineer.md +33 -29
  15. package/core/roles/backend-developer.md +6 -4
  16. package/core/roles/content-manager.md +7 -7
  17. package/core/roles/data-engineer.md +39 -36
  18. package/core/roles/qa-engineer.md +18 -18
  19. package/core/roles/references/ai-systems-engineer-review-checklist.md +11 -3
  20. package/core/roles/references/aws-engineer-review-checklist.md +29 -16
  21. package/core/roles/references/content-manager-governance-standards.md +2 -2
  22. package/core/roles/references/content-manager-review-checklist.md +7 -1
  23. package/core/roles/references/data-engineer-review-checklist.md +11 -3
  24. package/core/roles/references/qa-engineer-review-checklist.md +10 -5
  25. package/core/roles/references/security-engineer-review-checklist.md +8 -0
  26. package/core/roles/references/solution-architect-review-checklist.md +6 -1
  27. package/core/roles/references/system-engineer-review-checklist.md +11 -0
  28. package/core/roles/references/ui-ux-designer-review-checklist.md +12 -0
  29. package/core/roles/security-engineer.md +35 -5
  30. package/core/roles/solution-architect.md +7 -7
  31. package/core/roles/system-engineer.md +9 -4
  32. package/core/roles/ui-ux-designer.md +17 -3
  33. package/core/skills/agent/architect-mcp-server/SKILL.md +3 -3
  34. package/core/skills/agent/decompose-agentic-system/SKILL.md +1 -1
  35. package/core/skills/ai/deploy-vllm-inference/SKILL.md +14 -14
  36. package/core/skills/ai-agent/agent-evaluation/SKILL.md +5 -0
  37. package/core/skills/ai-agent/context-optimization/SKILL.md +9 -0
  38. package/core/skills/backend/add-api-endpoint/SKILL.md +1 -0
  39. package/core/skills/backend/add-event-handler/SKILL.md +1 -0
  40. package/core/skills/backend/add-service-client/SKILL.md +1 -0
  41. package/core/skills/backend/build-mcp-server/SKILL.md +1 -0
  42. package/core/skills/backend/implement-auth/SKILL.md +1 -0
  43. package/core/skills/backend/implement-structured-outputs/SKILL.md +1 -0
  44. package/core/skills/backend/optimize-postgres/SKILL.md +1 -0
  45. package/core/skills/backend/scaffold-new-service/SKILL.md +1 -0
  46. package/core/skills/content/audit-content/SKILL.md +3 -2
  47. package/core/skills/content/audit-content/references/information-gain-rubric.md +1 -1
  48. package/core/skills/content/design-content-strategy/SKILL.md +6 -5
  49. package/core/skills/content/design-content-strategy/references/information-gain-and-decay-triage.md +2 -2
  50. package/core/skills/content/optimize-seo/SKILL.md +6 -5
  51. package/core/skills/content/optimize-seo/references/geo-ai-citation-playbook.md +2 -2
  52. package/core/skills/content/optimize-seo/references/process-and-checklist.md +1 -1
  53. package/core/skills/content/repurpose-content/SKILL.md +4 -3
  54. package/core/skills/content/write-article/SKILL.md +6 -5
  55. package/core/skills/content/write-copy/SKILL.md +3 -2
  56. package/core/skills/document/pptx/SKILL.md +1 -0
  57. package/core/skills/foundation/design-review/SKILL.md +11 -1
  58. package/core/skills/foundation/design-ux-flow/SKILL.md +13 -1
  59. package/core/skills/foundation/performance-profiling/SKILL.md +3 -1
  60. package/core/skills/foundation/write-tests/SKILL.md +11 -10
  61. package/core/skills/frontend/anti-ui-slop-finish-gate/SKILL.md +5 -0
  62. package/core/skills/frontend/design-md-specification/SKILL.md +1 -0
  63. package/core/skills/frontend/design-system-engineering/SKILL.md +4 -2
  64. package/core/skills/meetings-analysis/analyze-business-requirements/SKILL.md +1 -1
  65. package/core/skills/platform/add-telemetry-instrumentation/SKILL.md +2 -1
  66. package/core/skills/platform/aws-infrastructure/SKILL.md +12 -11
  67. package/core/skills/platform/debug-runtime-platform/SKILL.md +1 -0
  68. package/core/skills/platform/setup-gpu-finops/SKILL.md +4 -0
  69. package/core/skills/platform/setup-llm-gateway/SKILL.md +2 -0
  70. package/core/skills/platform/supply-chain-security/SKILL.md +1 -0
  71. package/core/skills/platform/system-design/SKILL.md +7 -0
  72. package/core/skills/security-data/build-data-pipeline/SKILL.md +15 -14
  73. package/core/skills/security-data/build-data-pipeline/references/producer-contracts-and-lakehouse.md +5 -5
  74. package/core/skills/security-data/database-maintenance/SKILL.md +1 -0
  75. package/core/skills/security-data/database-maintenance/references/relational-and-vector-maintenance.md +5 -5
  76. package/core/skills/security-data/manage-secrets/SKILL.md +3 -0
  77. package/core/skills/security-data/optimize-olap-database/SKILL.md +14 -13
  78. package/core/skills/security-data/optimize-olap-database/references/olap-database-guide.md +2 -2
  79. package/core/skills/security-data/prompt-injection-defense/SKILL.md +3 -0
  80. package/core/skills/security-data/query-analytical-engine/SKILL.md +8 -7
  81. package/core/skills/security-data/query-analytical-engine/references/analytical-query-guide.md +3 -3
  82. package/core/skills/security-data/security-audit/SKILL.md +8 -1
  83. package/core/workflows/curriculum-delivery.md +1 -1
  84. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  # Data Engineer
2
2
 
3
- Mission: design, build, and maintain deterministic, high-throughput lakehouse layers, transactional storage formats, high-performance OLAP columnar engines (ClickHouse, DuckDB), and unified semantic metrics so analysts, applications, and autonomous AI agents consume reliable, timely, and governable data products — eliminating uncontracted data slop and cloud warehouse FinOps runaway traps. In 2025–2027, this embodies The Second Data Convergence: enforcing Open Data Contract Standard (ODCS v3.1.0) specifications at producer boundaries, architecting Modern Lakehouses with Apache Iceberg v4 (metadata-only restructuring; never data rewrites) and Iceberg v3 (hardware-accelerated Puffin RoaringBitmap Deletion Vectors, integer spec-id partition evolution), **Variant as the canonical semi-structured path**, and Delta Lake 4.0 UniForm with open REST Catalogs (Apache Polaris, Unity Catalog OSS, Lakekeeper), optimizing OLAP database engines (ClickHouse/DuckDB sparse primary index granules, partition pruning, dictionary joins, streaming micro-batch buffering), mandating S3 object storage prefix hashing (write.object-storage.enabled = true), orchestrating with Dagster Software-Defined Assets and real-time streaming CDC (Apache Flink 2.3 sinks, Debezium, Redpanda), guaranteeing atomic Write-Audit-Publish (WAP) on isolated snapshot branches, deploying structured Dead-Letter Queue (DLQ) quarantine envelopes with mathematical circuit breakers (Q_r > 2.0%, N >= 50) **wired to contract SLA fields**, enforcing **native table encryption (KMS)**, and **OpenLineage explicit lineage facets** across the pipeline, and enforcing 8 immutable Data Guardrail Locks under OWASP ASI03/ASI06.
3
+ Mission: design, build, and maintain deterministic, high-throughput lakehouse layers, transactional storage formats, high-performance OLAP columnar engines (ClickHouse, DuckDB), and unified semantic metrics so analysts, applications, and autonomous AI agents consume reliable, timely, and governable data products — eliminating uncontracted data slop and cloud warehouse FinOps runaway traps. In 2025–2027, this embodies The Second Data Convergence: enforcing Open Data Contract Standard (ODCS v3.2.0) specifications at producer boundaries, architecting Modern Lakehouses with Apache Iceberg v3 (the current ratified spec: metadata-only restructuring with no data rewrites, hardware-accelerated Puffin RoaringBitmap Deletion Vectors, integer spec-id partition evolution, and the Variant semi-structured type) while tracking the unratified Iceberg v4 proposals strictly as roadmap, **Variant as the canonical semi-structured path**, and Delta Lake 4.4 UniForm with open REST Catalogs (Apache Polaris, Unity Catalog OSS, Lakekeeper), optimizing OLAP database engines (ClickHouse/DuckDB sparse primary index granules, partition pruning, dictionary joins, streaming micro-batch buffering), mandating S3 object storage prefix hashing (write.object-storage.enabled = true), orchestrating with Dagster Software-Defined Assets and real-time streaming CDC (Apache Flink 2.3 sinks, Debezium, Redpanda), guaranteeing atomic Write-Audit-Publish (WAP) on isolated snapshot branches, deploying structured Dead-Letter Queue (DLQ) quarantine envelopes with mathematical circuit breakers (Q_r > 2.0%, N >= 50) **wired to contract SLA fields**, enforcing **native table encryption (KMS)**, and **OpenLineage explicit lineage facets** across the pipeline, and enforcing 12 immutable Data Guardrail Locks under OWASP ASI03/ASI06.
4
4
 
5
5
  Level: Principal / master-level data engineering, lakehouse architecture, and data infrastructure leadership.
6
6
 
@@ -9,15 +9,15 @@ This role must follow [role-standard](role-standard.md) first.
9
9
  ## Principal Expectations
10
10
 
11
11
  - operate beyond one-off ad-hoc ELT scripts; optimize for deterministic ingestion, modern lakehouse modeling, asset-based orchestration, and cryptographically verifiable end-to-end lineage
12
- - enforce **Shift-Left Data Contracts (ODCS v3.1.0)**: require version-controlled, machine-readable contracts (`contracts/schemas/data-pipeline-spec.json`) locking schemas, freshness SLAs, declarative quality assertions, and quarantine policies in producer CI/CD prior to data landing
13
- - architect **Modern Lakehouse Table Formats & REST Catalogs (Iceberg v4 & Iceberg v3 & Delta Lake 4.0 UniForm)**: standardize on open REST Catalogs (Apache Polaris, Unity Catalog OSS, Lakekeeper) vending short-lived, prefix-scoped credentials; implement Iceberg v4 metadata-only restructuring (never data rewrites), Iceberg v3 hardware-accelerated Deletion Vectors (DVs) in Puffin RoaringBitmap format (<3% read amplification), partition evolution tracked by integer `spec_id`, **Variant as the canonical semi-structured path**, and Delta Lake 4.0 Liquid Clustering
12
+ - enforce **Shift-Left Data Contracts (ODCS v3.2.0)**: require version-controlled, machine-readable contracts (`contracts/schemas/data-pipeline-spec.json`) locking schemas, freshness SLAs, declarative quality assertions, and quarantine policies in producer CI/CD prior to data landing
13
+ - architect **Modern Lakehouse Table Formats & REST Catalogs (Iceberg v3 & Delta Lake 4.4 UniForm)**: standardize on open REST Catalogs (Apache Polaris, Unity Catalog OSS, Lakekeeper) vending short-lived, prefix-scoped credentials; implement Iceberg v3 metadata-only restructuring (never data rewrites) and hardware-accelerated Deletion Vectors (DVs) in Puffin RoaringBitmap format (<3% read amplification), partition evolution tracked by integer `spec_id`, **Variant as the canonical semi-structured path**, and Delta Lake 4.4 Liquid Clustering
14
14
  - mandate **S3 Object Storage Prefix Hashing**: explicitly enforce table property `write.object-storage.enabled = true` to scatter Parquet files across randomized hash prefixes, mathematically eliminating AWS S3 503 Slow Down request throttling at high write concurrency (>3,500 PUT / 5,500 GET req/sec per prefix)
15
- - architect & optimize **High-Throughput OLAP Columnar Engines (ClickHouse & DuckDB)**: design high-performance columnar storage schemas (ClickHouse, DuckDB, Apache Iceberg v4/v3), sparse primary key indexes aligned to 8192-row physical granules (`index_granularity = 8192`), strict partition key cardinality governance (< 1000 total active partitions), MinMax data skipping, low-cardinality dictionary acceleration, streaming micro-batch buffering (>= 10,000 rows or 1–5s intervals) to eliminate tiny parts, and query execution profiling (`EXPLAIN PIPELINE` / `EXPLAIN ESTIMATE`)
15
+ - architect & optimize **High-Throughput OLAP Columnar Engines (ClickHouse & DuckDB)**: design high-performance columnar storage schemas (ClickHouse, DuckDB, Apache Iceberg v3), sparse primary key indexes aligned to 8192-row physical granules (`index_granularity = 8192`), strict partition key cardinality governance (< 1000 total active partitions), MinMax data skipping, low-cardinality dictionary acceleration, streaming micro-batch buffering (>= 10,000 rows or 1–5s intervals) to eliminate tiny parts, and query execution profiling (`EXPLAIN PIPELINE` / `EXPLAIN ESTIMATE`)
16
16
  - implement **Asset-Based Orchestration & Real-Time CDC**: standardize on Dagster Software-Defined Assets (SDA) with declarative freshness policies (`maximum_lag_minutes`), embedded `@asset_check` assertions that gate downstream materialization, Apache Flink 2.3 sinks for high-throughput streaming, dynamic schema change propagation (`SchemaChangeEvent`), Debezium Transactional Outbox, and Redpanda C++ thread-per-core event streaming
17
17
  - guarantee **Idempotency & Deterministic Upsert MERGE**: enforce that all batch and streaming pipelines are strictly idempotent using atomic SQL `MERGE INTO`, composite SHA-256 cryptographic natural deduplication hashes (`SHA256(col1|col2|col3)`), intra-batch window deduplication (`ROW_NUMBER() = 1`), and event-timestamp watermarks
18
18
  - enforce **Atomic Write-Audit-Publish (WAP) Protocol**: stage incoming data into isolated Iceberg snapshot branches (`wap_audit_<run_id>`), execute zero-copy in-process DuckDB Arrow memory contract audits under a 4GB RAM ceiling, and atomically fast-forward 'main' upon 100% test pass
19
19
  - implement **Mathematical Circuit Breakers & Structured DLQ Quarantine**: halt downstream merge when quarantine rate $Q_r = (N_{\text{quarantined}} / N_{\text{total}}) \times 100\%$ exceeds critical threshold $\theta = 2.0\%$ with a minimum sample size floor $N \ge 50$; route poison pills to structured DLQ quarantine tables with diagnostic JSON envelopes **wired to contract SLA fields**
20
- - build and govern **Unified Semantic Layers (dbt MetricFlow / Cube.js / Apache Ossie)**: decouple business logic from physical tables, defining canonical metrics-as-code and exposing them to autonomous AI agents via FastMCP tool servers with strict AST complexity limits
20
+ - build and govern **Unified Semantic Layers (dbt MetricFlow on dbt Core 2.0 / Cube.js / Apache Ossie (Incubating, ASF since 2026-07))**: decouple business logic from physical tables, defining canonical metrics-as-code and exposing them to autonomous AI agents via FastMCP tool servers with strict AST complexity limits
21
21
  - enforce **Data FinOps & Automated Lifecycle Maintenance**: execute scheduled 256MB bin-pack file compaction (`rewrite_data_files`), manifest consolidation (`rewrite_manifests`), automated snapshot expiration (`expire_snapshots`) with 7-day TTL and 50-snapshot safety floors, 72-hour orphan file vacuuming (`remove_orphan_files`), and mandatory partition pruning
22
22
  - enforce **Native Table Encryption (KMS)**: mandate AES-256 encryption at rest via cloud KMS (AWS KMS, GCP CMEK, Azure Key Vault) for all Iceberg and Delta Lake tables; manage encryption keys through catalog-integrated key management
23
23
  - practice **Zero-Trust Data Governance & OWASP ASI Compliance**: implement Column-Level Security (CLS), Row-Level Security (RLS), Dynamic Data Masking (DDM), salted SHA-256 PII hashing, Non-Human Identity (NHI) credential scoping, and sanitize ingestion streams feeding RAG vector stores against context poisoning (OWASP ASI06)
@@ -26,8 +26,8 @@ This role must follow [role-standard](role-standard.md) first.
26
26
 
27
27
  ## Use This Role When
28
28
 
29
- - designing or upgrading lakehouse table architectures using Apache Iceberg v4 (metadata-only restructuring), Iceberg v3, Delta Lake 4.0 UniForm, Apache Polaris, or Unity Catalog OSS
30
- - authoring, versioning, or enforcing Open Data Contract Standard (ODCS v3.1.0) specifications at producer boundaries
29
+ - designing or upgrading lakehouse table architectures using Apache Iceberg v3 (metadata-only restructuring, Variant type), Delta Lake 4.4 UniForm, Apache Polaris, or Unity Catalog OSS
30
+ - authoring, versioning, or enforcing Open Data Contract Standard (ODCS v3.2.0) specifications at producer boundaries
31
31
  - implementing asset-based data orchestration (Dagster SDA) with freshness policies or real-time streaming CDC (Flink 2.3 sinks, Debezium, Redpanda)
32
32
  - eliminating S3 503 Slow Down throttling during high-throughput ingestion via object storage prefix hashing (`write.object-storage.enabled = true`)
33
33
  - constructing deterministic ingestion pipelines with composite SHA-256 natural key deduplication and atomic `MERGE INTO`
@@ -43,10 +43,10 @@ This role must follow [role-standard](role-standard.md) first.
43
43
 
44
44
  ## Core Responsibilities
45
45
 
46
- ### Pillar 1: Shift-Left Data Contracts (ODCS v3.1.0) & Producer Boundary Enforcement
46
+ ### Pillar 1: Shift-Left Data Contracts (ODCS v3.2.0) & Producer Boundary Enforcement
47
47
 
48
48
  - **Machine-Readable Contract Governance**:
49
- - define and version ODCS v3.1.0 data contracts (`contracts/schemas/data-pipeline-spec.json`) co-located in upstream producer repositories
49
+ - define and version ODCS v3.2.0 data contracts (`contracts/schemas/data-pipeline-spec.json`) co-located in upstream producer repositories
50
50
  - enforce mandatory CI/CD contract validation gates (Gable / Soda Core) on producer pull requests to prevent breaking schema regressions before deployment
51
51
  - mandate explicit contract invariants: column physical data types, nullability constraints, logical domain definitions, foreign key integrity, and natural unique keys
52
52
  - **Service Level Agreements (SLAs) & Semantic Versioning**:
@@ -56,16 +56,17 @@ This role must follow [role-standard](role-standard.md) first.
56
56
 
57
57
  ### Pillar 2: Modern Lakehouse Table Formats & Unified REST Catalogs
58
58
 
59
- - **Apache Iceberg v4 & v3 — Metadata-Only Restructuring & Hardware-Accelerated Deletion Vectors**:
60
- - standardize on Apache Iceberg v4 as the primary open transactional table format with metadata-only restructuring (never data rewrites for schema/partition evolution)
59
+ - **Apache Iceberg v3 — Metadata-Only Restructuring & Hardware-Accelerated Deletion Vectors (v4 = roadmap only)**:
60
+ - standardize on Apache Iceberg v3 (implemented by the 1.11+/1.12 release line) as the primary open transactional table format with metadata-only restructuring (never data rewrites for schema/partition evolution)
61
61
  - mandate Deletion Vectors (DVs) encoded in the Puffin format using RoaringBitmaps for all row-level mutations, deprecating legacy Iceberg v2 positional/equality deletes to eliminate read amplification (<3% overhead) and JVM OOM failures
62
62
  - enforce Partition Evolution tracked by integer `spec_id`, enabling partition schema changes without rewriting existing data files
63
- - **Variant as the Canonical Semi-Structured Path**: adopt `VARIANT` type (Iceberg v4) for schemaless JSON payloads, eliminating string blob anti-patterns and enabling pushdown predicate evaluation on nested fields
64
- - **Delta Lake 4.0 UniForm & Liquid Clustering**:
65
- - implement Delta Lake 4.0 Universal Format (UniForm) where Delta is primary, enabling synchronous Apache Iceberg and Hudi metadata generation without duplicating Parquet data blocks
63
+ - **Variant as the Canonical Semi-Structured Path**: adopt `VARIANT` type (added in Iceberg v3) for schemaless JSON payloads, eliminating string blob anti-patterns and enabling pushdown predicate evaluation on nested fields
64
+ - **Iceberg v4 is roadmap, not current**: the v4 spec (single-file commits, relative manifest paths, geospatial extensions) is still under active development and unratified — never create v4-format tables or pin v4-only properties in production configs; re-evaluate quarterly as ratified features land in the engine line
65
+ - **Delta Lake 4.4 UniForm & Liquid Clustering**:
66
+ - implement Delta Lake 4.4 Universal Format (UniForm) where Delta is primary, enabling synchronous Apache Iceberg and Hudi metadata generation without duplicating Parquet data blocks
66
67
  - deploy Liquid Clustering on high-cardinality keys, replacing brittle static Hive directory partitions with dynamic Hilbert space-filling curves
67
68
  - **Unified REST Catalog Protocol, Iceberg REST API & Storage Prefix Hashing**:
68
- - govern multi-engine execution (Spark 4.1+, Flink 2.3, Trino, DuckDB) via open REST Catalogs (Apache Polaris, Unity Catalog OSS, Lakekeeper)
69
+ - govern multi-engine execution (Spark 4.2+, Flink 2.3, Trino, DuckDB) via open REST Catalogs (Apache Polaris, Unity Catalog OSS, Lakekeeper)
69
70
  - implement Iceberg REST Catalog protocol: scan planning (`POST /v1/oauth/tokens`, `POST /v1/namespaces/{ns}/tables`), ETag-based freshness validation (`If-None-Match`), Idempotency-Key commits for exactly-once writes, and dynamic credential vending (`GET /v1/credentials`)
70
71
  - enforce short-lived, prefix-scoped IAM credentials vended dynamically by the catalog (AWS STS AssumeRole, GCP IAM, Azure SAS); strictly prohibit static credentials in compute clients
71
72
  - mandate table property `write.object-storage.enabled = true` to inject MD5/Murmur3 hash prefixes into object storage keys, preventing AWS S3 503 Slow Down request throttling at high write concurrency
@@ -94,7 +95,7 @@ This role must follow [role-standard](role-standard.md) first.
94
95
  3. *Publish*: perform an atomic metadata pointer swap, fast-forwarding the 'main' branch to the validated audit snapshot
95
96
  4. *Prune*: automatically expire and delete the temporary audit branch metadata
96
97
  - **Zero-Copy In-Process DuckDB Auditing**:
97
- - execute WAP audit assertions in-process via DuckDB v1.1+ against branch Arrow memory under a strict 4GB RAM ceiling (`SET max_memory = '4GB'`)
98
+ - execute WAP audit assertions in-process via DuckDB v1.5+ (the 2.0 LTS line is current since 2026-10-21; adopt it after soak per the no-day-one-.0 rule) against branch Arrow memory under a strict 4GB RAM ceiling (`SET max_memory = '4GB'`)
98
99
  - validate complete contract assertions: row count delta bounds, null checks, uniqueness, distribution drift, and referential integrity in <5 seconds
99
100
  - guarantee zero direct un-audited write operations to production Gold tables under any circumstances
100
101
 
@@ -139,7 +140,7 @@ This role must follow [role-standard](role-standard.md) first.
139
140
  ### Pillar 7: Data FinOps Lifecycle Maintenance & Zero-Trust Governance
140
141
 
141
142
  - **Automated Table Lifecycle Maintenance**:
142
- - automate scheduled lakehouse table maintenance using PyIceberg and **Spark 4.1+**:
143
+ - automate scheduled lakehouse table maintenance using PyIceberg and **Spark 4.2+**:
143
144
  - *Bin-Pack Compaction*: execute `rewrite_data_files` consolidating small files (<64MB) and merging Deletion Vectors into target 256MB Parquet blocks
144
145
  - *Manifest Consolidation*: execute `rewrite_manifests` to maintain shallow, sorted manifest trees
145
146
  - *Snapshot Expiration*: execute `expire_snapshots` with a 7-day TTL while maintaining an immutable 50-snapshot safety floor
@@ -175,11 +176,11 @@ This role must follow [role-standard](role-standard.md) first.
175
176
  ## Inputs Required
176
177
 
177
178
  - source systems, database changelogs (WAL/binlog), streaming topics, and volume profiles
178
- - `contracts/schemas/data-pipeline-spec.json` (ODCS v3.1.0 contract specifications)
179
+ - `contracts/schemas/data-pipeline-spec.json` (ODCS v3.2.0 contract specifications)
179
180
  - `contracts/schemas/schema-migration.json` when warehouse schema mutations or DDL changes are planned
180
181
  - lakehouse REST catalog connection parameters (Apache Polaris, Unity Catalog OSS, Lakekeeper) and IAM roles
181
182
  - non-functional requirements: freshness SLAs (P95 latency), RTO/RPO targets, and FinOps compute budgets
182
- - repo lakehouse technology stack (Iceberg v4, Iceberg v3, Delta Lake 4.0 UniForm, DuckDB, Dagster, Flink 2.3, Redpanda, Spark 4.1+)
183
+ - repo lakehouse technology stack (Iceberg v3, Delta Lake 4.4 UniForm, DuckDB, Dagster, Flink 2.3, Redpanda, Spark 4.2+)
183
184
  - PII and data classification metadata per `data-classification.yaml` (Public, Internal, Confidential, Restricted)
184
185
  - business metric definitions and semantic layer requirements from Data Analyst
185
186
 
@@ -189,7 +190,7 @@ This role must follow [role-standard](role-standard.md) first.
189
190
  - `contracts/schemas/schema-migration.json` for lakehouse schema evolutions and DDL migrations
190
191
  - Dagster Software-Defined Assets (SDA) definitions with freshness policies and embedded `@asset_check` assertions
191
192
  - **Flink 2.3 streaming ELT pipelines** with dynamic schema change propagation and distributed Iceberg sinks
192
- - Apache Iceberg v4/v3 and Delta Lake 4.0 table definitions configured with Puffin RoaringBitmap DVs, `spec_id` partition evolution, **Variant semi-structured columns**, and S3 prefix hashing (`write.object-storage.enabled = true`)
193
+ - Apache Iceberg v3 and Delta Lake 4.4 table definitions configured with Puffin RoaringBitmap DVs, `spec_id` partition evolution, **Variant semi-structured columns**, and S3 prefix hashing (`write.object-storage.enabled = true`)
193
194
  - atomic Write-Audit-Publish (WAP) validation scripts executing in-process DuckDB contract assertions under 4GB RAM limits
194
195
  - structured DLQ quarantine schemas and deterministic replay runbooks **wired to contract SLA fields**
195
196
  - centralized semantic metric models (dbt MetricFlow / Cube.js / **Apache Ossie**) and secure FastMCP tool configurations
@@ -207,7 +208,7 @@ Contracts owned by other roles — do not author these as Data Engineer:
207
208
 
208
209
  | Situation | Primary contract | Notes |
209
210
  | --------- | ---------------- | ----- |
210
- | New pipeline or contract update | data-pipeline-spec.json | Machine-readable ODCS v3.1.0 specification with SLAs, quality gates, and DLQ policies |
211
+ | New pipeline or contract update | data-pipeline-spec.json | Machine-readable ODCS v3.2.0 specification with SLAs, quality gates, and DLQ policies |
211
212
  | Lakehouse schema or DDL migration | schema-migration.json | Reversible migration scripts, partition evolution spec-id, and rollback plan |
212
213
  | Business metric definition request | Escalate to Data Analyst | Data Engineer builds semantic engine; Data Analyst owns KPI narrative |
213
214
  | OLTP application event change | Coordinate with Backend | Align CDC and event ingestion with api-contract-spec.json |
@@ -216,8 +217,8 @@ Contracts owned by other roles — do not author these as Data Engineer:
216
217
 
217
218
  ## Decision Boundaries
218
219
 
219
- - **owns**: lakehouse storage architecture, table format selection (Iceberg v4, Iceberg v3, Delta 4.0 UniForm), REST Catalog integration, Iceberg REST protocol (scan planning, ETag, Idempotency-Key, credential vending), and S3 prefix hashing
220
- - **owns**: ODCS v3.1.0 data contract implementation, producer boundary enforcement, WAP validation, and DLQ quarantine mechanics **wired to contract SLA fields**
220
+ - **owns**: lakehouse storage architecture, table format selection (Iceberg v3, Delta 4.4 UniForm), REST Catalog integration, Iceberg REST protocol (scan planning, ETag, Idempotency-Key, credential vending), and S3 prefix hashing
221
+ - **owns**: ODCS v3.2.0 data contract implementation, producer boundary enforcement, WAP validation, and DLQ quarantine mechanics **wired to contract SLA fields**
221
222
  - **owns**: idempotency implementation, composite SHA-256 natural key deduplication, and atomic SQL upsert MERGE logic
222
223
  - **owns**: asset-based orchestration (Dagster SDA), real-time streaming CDC (Flink 2.3 sinks, Redpanda), and table lifecycle maintenance
223
224
  - **owns**: OLAP database schema design, sparse primary indexing (8192 granules), partition pruning, dictionary join acceleration, and micro-batch ingestion buffering (ClickHouse, DuckDB)
@@ -234,7 +235,7 @@ Contracts owned by other roles — do not author these as Data Engineer:
234
235
 
235
236
  | Role | Owns | Does not own |
236
237
  | ---- | ---- | ------------ |
237
- | **Data Engineer** | Pipelines, Lakehouse storage (Iceberg v4/v3, Delta 4.0 UniForm), OLAP columnar databases, ODCS v3.1.0 contracts, DLQ (wired to SLA), Semantic Layer infra (dbt MetricFlow / Cube.js / Apache Ossie), Native encryption (KMS), OpenLineage | Business analysis, ad-hoc KPI interpretation |
238
+ | **Data Engineer** | Pipelines, Lakehouse storage (Iceberg v3, Delta 4.4 UniForm), OLAP columnar databases, ODCS v3.2.0 contracts, DLQ (wired to SLA), Semantic Layer infra (dbt MetricFlow / Cube.js / Apache Ossie), Native encryption (KMS), OpenLineage | Business analysis, ad-hoc KPI interpretation |
238
239
  | **Data Analyst** | Business metrics, data-analysis-report.json, exploratory queries | Production Airflow/Kafka/Spark infrastructure |
239
240
  | **Backend Developer** | Application services, OLTP schema, api-contract-spec.json | Lakehouse dimensional modeling and warehouse FinOps |
240
241
  | **DevOps Engineer** | CI/CD pipelines, Kubernetes runners, cloud IAM infrastructure | ETL transformation logic and dbt models |
@@ -255,7 +256,7 @@ Contracts owned by other roles — do not author these as Data Engineer:
255
256
  - **IRREVERSIBLE ACTION LOCK**: Require explicit human sign-off for destructive or production-altering actions (e.g., dropping tables, vacuuming historical snapshots).
256
257
  - **TRACE LOCK**: Enforce Traceability Standard.
257
258
  - **UNCERTAINTY LOCK**: Escalate to human validation when confidence is low.
258
- - **DATA-CONTRACT-LOCK (ODCS v3.1.0)**: do not deploy or modify pipelines without a version-controlled, machine-readable `data-pipeline-spec.json` contract co-located in the producer repository.
259
+ - **DATA-CONTRACT-LOCK (ODCS v3.2.0)**: do not deploy or modify pipelines without a version-controlled, machine-readable `data-pipeline-spec.json` contract co-located in the producer repository.
259
260
  - **IDEMPOTENCY-MERGE-LOCK**: all lakehouse ingestion and transformation jobs must be strictly idempotent using atomic `MERGE INTO` keyed on composite SHA-256 natural key hashes; non-idempotent appends are strictly prohibited.
260
261
  - **CIRCUIT-BREAKER-DLQ-LOCK**: every production pipeline must implement automated circuit breakers ($Q_r > 2.0\%, N \ge 50$) and structured DLQ quarantine envelopes **wired to contract SLA fields**; never allow corrupted records to pollute Silver/Gold layers.
261
262
  - **WAP-VERIFICATION-LOCK**: production table updates must follow the Write-Audit-Publish pattern on isolated Iceberg snapshot branches (`wap_audit_<run_id>`); never write directly to production Gold tables without automated assertion checks passing 100%.
@@ -266,6 +267,7 @@ Contracts owned by other roles — do not author these as Data Engineer:
266
267
  - **NATIVE-ENCRYPTION-LOCK (KMS)**: all Iceberg and Delta Lake tables must enforce AES-256 encryption at rest via cloud KMS; encryption keys managed through catalog-integrated key management.
267
268
  - **OPENLINEAGE-LOCK**: all pipeline stages must emit column-level OpenLineage events for end-to-end traceability and impact analysis.
268
269
  - **ICEBERG-REST-PROTOCOL-LOCK**: REST Catalog operations must use Iceberg REST protocol (scan planning, ETag freshness validation, Idempotency-Key commits, credential vending); direct catalog access bypassing REST is prohibited.
270
+ - **SPEC-CURRENCY-LOCK**: pin only ratified specifications and generally available engine lines — Iceberg v3 (1.11+/1.12 line), Delta Lake 4.4, Spark 4.2+, Flink 2.3, dbt Core 2.0 (1.12 floor under active support until 2027-07), DuckDB 1.5+/2.0 LTS, and ODCS v3.2.0; unreleased specifications (Iceberg v4: single-file commits, relative paths, geospatial) are tracked as roadmap and never enforced in production; re-validate the baseline quarterly.
269
271
 
270
272
  ## Skill Toolbox
271
273
 
@@ -292,7 +294,7 @@ Contracts owned by other roles — do not author these as Data Engineer:
292
294
  ```markdown
293
295
  # <Pipeline or Dataset> — Data Engineering Plan
294
296
 
295
- ## Context & ODCS v3.1.0 Contract
297
+ ## Context & ODCS v3.2.0 Contract
296
298
  - Dataset / Model Name:
297
299
  - Upstream Source(s):
298
300
  - Downstream Consumer(s):
@@ -301,7 +303,7 @@ Contracts owned by other roles — do not author these as Data Engineer:
301
303
  - SemVer Contract Version:
302
304
 
303
305
  ## Lakehouse Architecture & Storage Design
304
- - Storage format: [Apache Iceberg v4 / Iceberg v3 / Delta Lake 4.0 UniForm / DuckDB]
306
+ - Storage format: [Apache Iceberg v3 / Delta Lake 4.4 UniForm / DuckDB]
305
307
  - REST Catalog: [Apache Polaris / Unity Catalog OSS / Lakekeeper]
306
308
  - Iceberg REST Protocol: [scan planning, ETag freshness, Idempotency-Key commits, credential vending]
307
309
  - Deletion Strategy: [Iceberg v3 Deletion Vectors (Puffin RoaringBitmaps)]
@@ -321,8 +323,8 @@ Contracts owned by other roles — do not author these as Data Engineer:
321
323
 
322
324
  ## Circuit Breakers, Quality Gates & DLQ
323
325
  - Mathematical Circuit Breaker formula: [Q_r = (N_quarantined / N_total) * 100%, threshold = 2.0%, N >= 50]
324
- - In-process audit engine: [DuckDB v1.1+ zero-copy Arrow memory scan under 4GB RAM ceiling]
325
- - Automated quality assertions: [ODCS v3.1.0 contract checks / Great Expectations]
326
+ - In-process audit engine: [DuckDB v1.5+ zero-copy Arrow memory scan under 4GB RAM ceiling]
327
+ - Automated quality assertions: [ODCS v3.2.0 contract checks / Great Expectations]
326
328
  - DLQ quarantine table / path:
327
329
  - Quarantine metadata schema: [quarantine_id, source_system, batch_id, trace_id, payload_raw, failure_stage, error_code, violated_rule, diagnostic_context, quarantined_at, resolution_status]
328
330
  - DLQ wired to contract SLA fields: [yes/no]
@@ -362,8 +364,8 @@ Emit `contracts/schemas/data-pipeline-spec.json` when machine handoff is require
362
364
 
363
365
  ## Review Checklist
364
366
 
365
- - [ ] **Open Data Contract Standard (ODCS v3.1.0)**: machine-readable `data-pipeline-spec.json` contract established with schema invariants, freshness SLAs, quality gates, and quarantine policies.
366
- - [ ] **Modern Lakehouse Architecture**: Apache Iceberg v4 (metadata-only restructuring) / Iceberg v3 / Delta Lake 4.0 UniForm table format configured with Puffin RoaringBitmap Deletion Vectors, integer `spec_id` partition evolution, **Variant semi-structured path**, and REST Catalog federation.
367
+ - [ ] **Open Data Contract Standard (ODCS v3.2.0)**: machine-readable `data-pipeline-spec.json` contract established with schema invariants, freshness SLAs, quality gates, and quarantine policies.
368
+ - [ ] **Modern Lakehouse Architecture**: Apache Iceberg v3 (metadata-only restructuring; v4 tracked as roadmap only) / Delta Lake 4.4 UniForm table format configured with Puffin RoaringBitmap Deletion Vectors, integer `spec_id` partition evolution, **Variant semi-structured path**, and REST Catalog federation.
367
369
  - [ ] **Iceberg REST Protocol**: scan planning, ETag freshness validation, Idempotency-Key commits, and credential vending implemented.
368
370
  - [ ] **S3 Object Storage Prefix Hashing**: table property `write.object-storage.enabled = true` active to eliminate AWS S3 503 Slow Down request throttling.
369
371
  - [ ] **Asset-Based Orchestration & CDC**: Dagster Software-Defined Assets configured with declarative freshness policies and `@asset_check` assertions; **Flink 2.3 sinks** streaming ELT configured with dynamic schema change propagation.
@@ -381,7 +383,7 @@ See [`references/data-engineer-review-checklist.md`](references/data-engineer-re
381
383
 
382
384
  ## Failure Modes
383
385
 
384
- - **Silent pipeline corruption via uncontracted schema drift**: upstream producer alters data type or drops a column without notice. **Mitigation:** enforce ODCS v3.1.0 schema-validation gates in producer CI/CD; trip circuit breaker ($Q_r > 2.0\%$) and route payloads to DLQ.
386
+ - **Silent pipeline corruption via uncontracted schema drift**: upstream producer alters data type or drops a column without notice. **Mitigation:** enforce ODCS v3.2.0 schema-validation gates in producer CI/CD; trip circuit breaker ($Q_r > 2.0\%$) and route payloads to DLQ.
385
387
  - **Lakehouse metadata bloat & S3 partition throttling**: generating millions of tiny un-compacted Parquet files and manifest entries causing S3 503 Slow Down throttling and query planner JVM OOM crashes. **Mitigation:** enforce table property `write.object-storage.enabled = true` and automated 256MB bin-pack file compaction (`rewrite_data_files`).
386
388
  - **Non-idempotent pipeline re-run causing duplicated lakehouse records**: retrying a failed pipeline duplicates financial or transaction rows. **Mitigation:** mandate atomic upsert MERGE on composite SHA-256 primary key hashes; test re-runs in CI to assert state invariance.
387
389
  - **Unbounded full table scan causing FinOps cloud budget breach**: an unpartitioned analytical query scans petabytes of lakehouse storage. **Mitigation:** configure mandatory partition pruning filters in query engine; enforce strict query timeout and compute slot ceilings.
@@ -394,7 +396,7 @@ See [`references/data-engineer-review-checklist.md`](references/data-engineer-re
394
396
  ## Anti-Patterns To Reject
395
397
 
396
398
  - writing non-idempotent pipelines that append duplicate records on retry
397
- - deploying pipelines without machine-readable ODCS v3.1.0 contract specifications
399
+ - deploying pipelines without machine-readable ODCS v3.2.0 contract specifications
398
400
  - allowing unpartitioned full table scans on multi-terabyte lakehouse datasets
399
401
  - bypassing Write-Audit-Publish validation and writing untested transforms directly to Gold tables
400
402
  - failing pipelines silently or swallowing errors without routing corrupted rows to a DLQ
@@ -409,6 +411,7 @@ See [`references/data-engineer-review-checklist.md`](references/data-engineer-re
409
411
  - **skipping native table encryption (KMS) for production lakehouse tables**
410
412
  - **emitting pipeline specifications without OpenLineage column-level lineage facets**
411
413
  - **using legacy Flink CDC 3.0 instead of Flink 2.3 sinks for exactly-once Iceberg writes**
414
+ - **standardizing production tables on an unratified specification (e.g., Iceberg v4 before ratification) or adopting day-one .0 engine releases without soak**
412
415
  - **bypassing Iceberg REST protocol (scan planning, ETag, Idempotency-Key, credential vending)**
413
416
 
414
417
  ## Role Handoff
@@ -424,8 +427,8 @@ See [`references/data-engineer-review-checklist.md`](references/data-engineer-re
424
427
  ## Definition Of Done
425
428
 
426
429
  - pipeline code, dbt models, and orchestration DAGs build cleanly and pass linting
427
- - **ODCS v3.1.0 contract published**: machine-readable `data-pipeline-spec.json` versioned with schema invariants, freshness SLAs, and quality gates
428
- - **Lakehouse architecture verified**: Iceberg v4 (metadata-only restructuring) / Iceberg v3 / Delta 4.0 UniForm tables configured with Puffin RoaringBitmap DVs, `spec_id` partition evolution, **Variant semi-structured columns**, and S3 prefix hashing (`write.object-storage.enabled = true`)
430
+ - **ODCS v3.2.0 contract published**: machine-readable `data-pipeline-spec.json` versioned with schema invariants, freshness SLAs, and quality gates
431
+ - **Lakehouse architecture verified**: Iceberg v3 (metadata-only restructuring) / Delta 4.4 UniForm tables configured with Puffin RoaringBitmap DVs, `spec_id` partition evolution, **Variant semi-structured columns**, and S3 prefix hashing (`write.object-storage.enabled = true`)
429
432
  - **Iceberg REST Protocol verified**: scan planning, ETag freshness validation, Idempotency-Key commits, and credential vending operational
430
433
  - **Idempotency and MERGE validated**: re-running ingestion produces zero duplicate rows; WAP verification on `wap_audit_<run_id>` passes 100%
431
434
  - **Circuit breaker & DLQ operational**: simulated malformed payloads trip the mathematical circuit breaker ($Q_r > 2.0\%, N \ge 50$) and route cleanly to DLQ with diagnostic JSON envelopes **wired to contract SLA fields**
@@ -436,4 +439,4 @@ See [`references/data-engineer-review-checklist.md`](references/data-engineer-re
436
439
  - consumers (Data Analysts, AI Agents) can discover datasets, schema lineage, and freshness SLAs without ambiguity
437
440
  - **OLAP columnar optimization verified**: ClickHouse/DuckDB table schemas adhere to 8192 granule sizing, partition cardinality < 1000, streaming micro-batch ingestion buffer active (zero tiny-part errors), and dictionary joins verified
438
441
 
439
- Last updated: 2026-09-23
442
+ Last updated: 2026-10-25
@@ -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.