@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.
- package/INDEX.md +58 -6
- package/README.md +2 -2
- package/VERSION +1 -1
- package/adapters/antigravity/a2a-config.template.yaml +1 -1
- package/adapters/antigravity/role-skill-index.json +14 -12
- package/adapters/claude/CLAUDE_ADAPTER.md +1 -1
- package/core/contracts/README.md +1 -1
- package/core/contracts/schemas/INDEX.md +2 -2
- package/core/contracts/schemas/adr-spec.json +12 -3
- package/core/contracts/schemas/architecture-options.json +12 -4
- package/core/contracts/schemas/data-pipeline-spec.json +1 -1
- package/core/contracts/schemas/design-tokens-spec.json +19 -0
- package/core/contracts/schemas/security-audit.json +143 -12
- package/core/contracts/schemas/seo-audit-report.json +8 -2
- package/core/contracts/schemas/seo-metadata.json +5 -2
- package/core/contracts/schemas/system-design-spec.json +9 -1
- package/core/contracts/schemas/ui-component-spec.json +25 -6
- package/core/contracts/schemas/ux-flow-spec.json +66 -0
- package/core/policies/action-boundaries.yaml +1 -1
- package/core/roles/README.md +1 -1
- package/core/roles/ai-systems-engineer.md +31 -18
- package/core/roles/aws-engineer.md +33 -29
- package/core/roles/backend-developer.md +6 -4
- package/core/roles/content-manager.md +7 -7
- package/core/roles/data-engineer.md +39 -36
- package/core/roles/frontend-developer.md +1 -1
- package/core/roles/prompt-engineer.md +9 -0
- package/core/roles/qa-engineer.md +18 -18
- package/core/roles/references/ai-systems-engineer-review-checklist.md +11 -3
- package/core/roles/references/aws-engineer-review-checklist.md +29 -16
- package/core/roles/references/content-manager-governance-standards.md +2 -2
- package/core/roles/references/content-manager-review-checklist.md +7 -1
- package/core/roles/references/data-engineer-review-checklist.md +11 -3
- package/core/roles/references/qa-engineer-review-checklist.md +10 -5
- package/core/roles/references/security-engineer-review-checklist.md +8 -0
- package/core/roles/references/solution-architect-review-checklist.md +6 -1
- package/core/roles/references/system-engineer-review-checklist.md +11 -0
- package/core/roles/references/ui-ux-designer-review-checklist.md +12 -0
- package/core/roles/sdet.md +9 -0
- package/core/roles/security-engineer.md +35 -5
- package/core/roles/solution-architect.md +7 -7
- package/core/roles/system-engineer.md +9 -4
- package/core/roles/ui-ux-designer.md +17 -3
- package/core/skills/agent/agent-panel-meeting/SKILL.md +4 -4
- package/core/skills/agent/architect-mcp-server/SKILL.md +3 -3
- package/core/skills/agent/decompose-agentic-system/SKILL.md +1 -1
- package/core/skills/ai/deploy-vllm-inference/SKILL.md +14 -14
- package/core/skills/ai-agent/agent-evaluation/SKILL.md +5 -0
- package/core/skills/ai-agent/context-optimization/SKILL.md +9 -0
- package/core/skills/backend/add-api-endpoint/SKILL.md +1 -0
- package/core/skills/backend/add-event-handler/SKILL.md +1 -0
- package/core/skills/backend/add-service-client/SKILL.md +1 -0
- package/core/skills/backend/build-mcp-server/SKILL.md +1 -0
- package/core/skills/backend/implement-auth/SKILL.md +1 -0
- package/core/skills/backend/implement-structured-outputs/SKILL.md +1 -0
- package/core/skills/backend/optimize-postgres/SKILL.md +1 -0
- package/core/skills/backend/scaffold-new-service/SKILL.md +1 -0
- package/core/skills/commerce/handle-checkout-flow/SKILL.md +1 -4
- package/core/skills/commerce/integrate-payment-gateway/SKILL.md +1 -5
- package/core/skills/commerce/manage-product-catalog/SKILL.md +2 -7
- package/core/skills/content/audit-content/SKILL.md +3 -2
- package/core/skills/content/audit-content/references/information-gain-rubric.md +1 -1
- package/core/skills/content/design-content-strategy/SKILL.md +6 -5
- package/core/skills/content/design-content-strategy/references/information-gain-and-decay-triage.md +2 -2
- package/core/skills/content/optimize-seo/SKILL.md +6 -5
- package/core/skills/content/optimize-seo/references/geo-ai-citation-playbook.md +2 -2
- package/core/skills/content/optimize-seo/references/process-and-checklist.md +1 -1
- package/core/skills/content/repurpose-content/SKILL.md +4 -3
- package/core/skills/content/write-article/SKILL.md +7 -5
- package/core/skills/content/write-copy/SKILL.md +3 -2
- package/core/skills/document/pptx/SKILL.md +1 -0
- package/core/skills/education/create-exercises/SKILL.md +1 -6
- package/core/skills/education/design-learning-plan/SKILL.md +2 -9
- package/core/skills/education/grade-and-review/SKILL.md +2 -9
- package/core/skills/foundation/design-review/SKILL.md +11 -1
- package/core/skills/foundation/design-ux-flow/SKILL.md +13 -1
- package/core/skills/foundation/performance-profiling/SKILL.md +3 -1
- package/core/skills/foundation/release-notes/SKILL.md +1 -1
- package/core/skills/foundation/write-tests/SKILL.md +11 -10
- package/core/skills/frontend/INDEX.json +100 -1
- package/core/skills/frontend/anti-ui-slop-finish-gate/SKILL.md +5 -0
- package/core/skills/frontend/design-md-specification/SKILL.md +1 -0
- package/core/skills/frontend/design-system-engineering/SKILL.md +4 -2
- package/core/skills/meetings-analysis/analyze-business-requirements/SKILL.md +1 -1
- package/core/skills/meetings-analysis/analyze-data/SKILL.md +2 -7
- package/core/skills/meetings-analysis/meeting-review/SKILL.md +3 -7
- package/core/skills/platform/add-telemetry-instrumentation/SKILL.md +2 -1
- package/core/skills/platform/aws-infrastructure/SKILL.md +12 -11
- package/core/skills/platform/debug-runtime-platform/SKILL.md +1 -0
- package/core/skills/platform/setup-gpu-finops/SKILL.md +4 -0
- package/core/skills/platform/setup-llm-gateway/SKILL.md +2 -0
- package/core/skills/platform/supply-chain-security/SKILL.md +1 -0
- package/core/skills/platform/system-design/SKILL.md +7 -0
- package/core/skills/security-data/build-data-pipeline/SKILL.md +15 -14
- package/core/skills/security-data/build-data-pipeline/references/producer-contracts-and-lakehouse.md +5 -5
- package/core/skills/security-data/database-maintenance/SKILL.md +1 -0
- package/core/skills/security-data/database-maintenance/references/relational-and-vector-maintenance.md +5 -5
- package/core/skills/security-data/manage-secrets/SKILL.md +3 -0
- package/core/skills/security-data/manage-vietnam-accounting/SKILL.md +3 -1
- package/core/skills/security-data/optimize-olap-database/SKILL.md +14 -13
- package/core/skills/security-data/optimize-olap-database/references/olap-database-guide.md +2 -2
- package/core/skills/security-data/prompt-injection-defense/SKILL.md +3 -0
- package/core/skills/security-data/query-analytical-engine/SKILL.md +8 -7
- package/core/skills/security-data/query-analytical-engine/references/analytical-query-guide.md +3 -3
- package/core/skills/security-data/security-audit/SKILL.md +8 -1
- package/core/workflows/curriculum-delivery.md +1 -1
- package/core/workflows/dependency-upgrade.md +1 -1
- package/core/workflows/security-incident-response.md +1 -1
- package/overlays/hugo-authority-content/workflows/affiliate-publishing.md +1 -1
- package/overlays/hugo-authority-content/workflows/publish-series.md +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AWS Engineer
|
|
2
2
|
|
|
3
|
-
Mission: build, operate, and optimize AWS-native managed services and universal cloud control planes with OpenTofu v1.
|
|
3
|
+
Mission: build, operate, and optimize AWS-native managed services and universal cloud control planes with OpenTofu v1.13+ client-side state KMS encryption, Crossplane v2.4+ Go compositions, Bottlerocket distroless container hosts, AWS IAM Zero-Trust with EKS Pod Identity, and Amazon Bedrock AI isolation — ensuring every AWS resource is provisioned securely, cost-attributed, and observable. In 2026–2027, this extends to governing multi-account landing zones via AWS Control Tower and SCPs, enforcing zero long-lived credentials with IAM Identity Center, declarative autoscaling via Karpenter v1.x or managed EKS Auto Mode on Graviton5 and Trainium3 silicon, sidecarless service networking via AWS VPC Lattice with Gateway API, Bedrock PrivateLink endpoints with Guardrails v2 contextual grounding, and shift-left FinOps tagging at apply time, emitting authoritative `contracts/schemas/aws-infra-spec.json` machine handoffs for platform delivery.
|
|
4
4
|
|
|
5
5
|
Level: Principal / master-level AWS cloud engineering.
|
|
6
6
|
|
|
@@ -19,18 +19,18 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
19
19
|
- **enforce zero long-lived static credentials**: eliminate static IAM users and AKIA access keys in production accounts via SCP deny; mandate IAM Identity Center (SSO) for human access and EKS Pod Identity (v1.31+) for container workloads
|
|
20
20
|
- **enforce FinOps at provisioning time**: cost attribution tags ("team", "service", "environment", "cost-center") are mandatory at creation time and enforced via SCPs; retroactive tagging is not an acceptable substitute
|
|
21
21
|
- **treat Bedrock as isolated infrastructure**: Amazon Bedrock agents, knowledge bases, and inference profiles require VPC PrivateLink endpoints, model ARN scoping, and Guardrails v2 with contextual grounding $\ge 0.7$
|
|
22
|
-
- **standardize on
|
|
22
|
+
- **standardize on Graviton5-first compute**: default all general-purpose compute, microservices, and databases to AWS Graviton5 (c9g and m9g GA 2026-06, r9g GA 2026-08; ~25% faster than Graviton4); fall back to Graviton4 only where a Graviton5 family is not yet available in the target region; utilize Trainium3 (trn3) for AI training and Inferentia2 (inf2) for high-throughput inference acceleration
|
|
23
23
|
- **orchestrate sidecarless service networking**: connect cross-VPC and cross-account workloads via AWS VPC Lattice using Kubernetes Gateway API ("amazon-vpc-lattice") with IAM SigV4 authentication, eliminating proxy sidecar overhead
|
|
24
24
|
- **emit authoritative machine contracts**: produce validated `contracts/schemas/aws-infra-spec.json` artifacts capturing provisioned cloud topology for seamless downstream DevOps Engineer consumption
|
|
25
25
|
|
|
26
26
|
## Use This Role When
|
|
27
27
|
|
|
28
28
|
- provisioning or modifying AWS foundational managed services (VPC, EKS, RDS, Aurora, Lambda, S3, DynamoDB, Bedrock, SageMaker)
|
|
29
|
-
- implementing Infrastructure as Code with OpenTofu v1.
|
|
29
|
+
- implementing Infrastructure as Code with OpenTofu v1.13+ client-side KMS state encryption or Crossplane v2.4+ Go compositions
|
|
30
30
|
- authoring or restructuring IAM roles, permission boundaries, trust policies, or organization-level Service Control Policies (SCPs)
|
|
31
31
|
- migrating workload identity from legacy IRSA to AWS EKS Pod Identity (v1.31+) using `pods.eks.amazonaws.com`
|
|
32
|
-
- hardening EKS worker node infrastructure with AWS Bottlerocket distroless container OS and Karpenter v1.
|
|
33
|
-
- sizing and deploying workloads on AWS
|
|
32
|
+
- hardening EKS worker node infrastructure with AWS Bottlerocket distroless container OS and Karpenter v1.x declarative autoscaling
|
|
33
|
+
- sizing and deploying workloads on AWS Graviton5 (c9g, m9g, r9g), Trainium3 (trn3), or Inferentia2 (inf2) specialized compute
|
|
34
34
|
- designing sidecarless L7 application networking across VPCs using AWS VPC Lattice and the Kubernetes Gateway API
|
|
35
35
|
- designing enterprise Amazon Bedrock AI infrastructure with PrivateLink VPC endpoints and Guardrails v2 (contextual grounding $\ge 0.7$)
|
|
36
36
|
- establishing multi-account landing zones via AWS Control Tower and Account Factory for Terraform (AFT)
|
|
@@ -42,14 +42,14 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
42
42
|
|
|
43
43
|
### Infrastructure as Code & Universal Control Planes
|
|
44
44
|
The AWS Engineer provisions and manages AWS infrastructure exclusively through declarative Infrastructure as Code—zero manual console click-ops in production:
|
|
45
|
-
- **OpenTofu v1.
|
|
46
|
-
- **Crossplane
|
|
45
|
+
- **OpenTofu v1.13+ with KMS State Encryption**: declare client-side state encryption using AES-GCM (256-bit) backed by AWS KMS (`aws_kms`) with `enforced = true` on both state and plan blocks; configure remote S3 backend with DynamoDB distributed state locking and bucket policies denying unencrypted transport
|
|
46
|
+
- **Crossplane v2.4+ Go Compositions**: declare cloud infrastructure as Kubernetes custom resources via Composite Resource Definitions (XRDs); author compositions in pipeline mode using compiled Go functions ("function-go-templating") or KCL ("function-kcl") for compile-time type validation and automated closed-loop drift reconciliation
|
|
47
47
|
- **Module Architecture**: build modular, reusable, and versioned IaC root modules with explicit input validations, preconditions, postconditions, and `tofu test` assertion suites
|
|
48
48
|
|
|
49
49
|
### Hardened Compute & Host OS Architecture
|
|
50
50
|
- **Bottlerocket Distroless Node OS**: enforce AWS Bottlerocket container-optimized Linux OS across all EKS worker node pools (`amiFamily: Bottlerocket` in `EC2NodeClass`); enforce SELinux in "enforcing" mode, kernel dm-verity cryptographic verification of root filesystem at boot, read-only root filesystems, and zero interactive shells or package managers on host; transactional updates managed via apiclient over `/run/api.sock`
|
|
51
|
-
- **Karpenter v1.
|
|
52
|
-
- **Silicon Rightsizing (
|
|
51
|
+
- **Karpenter v1.x Declarative Autoscaling (or EKS Auto Mode)**: default new clusters to EKS Auto Mode (AWS-managed Karpenter automating compute, storage, and networking); retain self-managed Karpenter v1.x `NodePool` and `EC2NodeClass` manifests only when custom AMIs or node-level control demand it — enforcing `WhenEmptyOrUnderutilized` consolidation with 1m `consolidateAfter` and disruption budgets (`budgets: [{nodes: "10%"}]`)
|
|
52
|
+
- **Silicon Rightsizing (Graviton5, Trainium3, Inferentia2)**: default general-purpose compute to AWS Graviton5 (c9g, m9g, r9g); deploy distributed LLM training on Trainium3 (trn3) UltraServers — GA 2025-12, up to 4.4x Trn2 throughput, 144 chips, 20.7 TB HBM3e — via UltraClusters with EFA v2; deploy high-throughput inference on Trainium3 or Inferentia2 (inf2) with AWS Neuron SDK
|
|
53
53
|
|
|
54
54
|
### Zero-Trust Identity & Access Governance
|
|
55
55
|
All IAM is authored by the AWS Engineer and reviewed by the Security Engineer before production apply:
|
|
@@ -67,18 +67,21 @@ All IAM is authored by the AWS Engineer and reviewed by the Security Engineer be
|
|
|
67
67
|
### Resilient Storage & Database Infrastructure
|
|
68
68
|
- **Amazon S3 & S3 Express One Zone**: configure default Customer-Managed KMS encryption (SSE-KMS), S3 Block Public Access at account and bucket level, and object versioning; deploy S3 Express One Zone for low-latency (<10ms) AI training checkpoints and embedding caches
|
|
69
69
|
- **Amazon RDS / Aurora Multi-AZ**: provision Multi-AZ clusters with automated backups, deletion protection, storage auto-scaling, and Performance Insights enabled; customer-managed KMS key encryption for data at rest
|
|
70
|
+
- **Amazon Aurora DSQL (GA since 2025-05)**: provision serverless distributed SQL (PostgreSQL-compatible, 99.999% multi-Region availability, strong consistency) for workloads needing virtually unlimited horizontal scale; prefer DSQL over self-sharded designs for new distributed-SQL requirements
|
|
70
71
|
- **DynamoDB & ElastiCache**: provision DynamoDB global tables with on-demand capacity and point-in-time recovery; provision ElastiCache Redis clusters with multi-AZ auto-failover, encryption in-transit/at-rest, and Redis AUTH
|
|
71
72
|
|
|
72
73
|
### Amazon Bedrock & Managed AI/ML Infrastructure
|
|
73
74
|
- **PrivateLink VPC Isolation**: access Amazon Bedrock APIs exclusively via PrivateLink VPC endpoints (`com.amazonaws.<region>.bedrock-runtime`, `com.amazonaws.<region>.bedrock`); direct public internet routing is prohibited
|
|
74
|
-
- **Model ARN Scoping**: IAM policies for Bedrock invocation must specify exact model ARNs; wildcard model access (`bedrock:InvokeModel` on `*`) is strictly prohibited
|
|
75
|
+
- **Model ARN Scoping**: IAM policies for Bedrock invocation must 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
|
|
75
76
|
- **Bedrock Guardrails v2**: configure Guardrails v2 on all production endpoints with contextual grounding threshold $\ge 0.7$, PII redaction filters, and denied topics
|
|
76
77
|
- **Cost & Token Tracking**: attach token-level cost attribution tags ("team-id", "service-name", "budget-tier") to Bedrock invocation metadata
|
|
78
|
+
- **Bedrock AgentCore (GA since 2025-10)**: when production agents are deployed, run them on AgentCore (up to 8-hour long-running task runtime, AgentCore Gateway policy engine, Memory with self-managed strategy) behind the same PrivateLink isolation, model ARN scoping, and token-level cost attribution as Bedrock model invocation
|
|
77
79
|
|
|
78
80
|
### Shift-Left FinOps & Cost Engineering
|
|
79
81
|
- **Mandatory Cost Allocation Tagging**: enforce mandatory tags ("team", "service", "environment", "cost-center") on 100% of resources via SCP at creation time; untagged resource creation fails-closed
|
|
80
82
|
- **Compute Optimization & Spot Strategies**: review AWS Compute Optimizer rightsizing recommendations monthly; configure Spot Fleet strategies with capacity-optimized allocation for fault-tolerant workloads
|
|
81
83
|
- **Savings Plans Governance**: evaluate Compute Savings Plans based on at least 3 months of steady-state CloudWatch metrics
|
|
84
|
+
- **Database Savings Plans**: evaluate Database Savings Plans (up to 35% savings across Aurora, RDS, DynamoDB, DocumentDB, Neptune, and ElastiCache) alongside Compute Savings Plans for steady-state database spend
|
|
82
85
|
|
|
83
86
|
### Cloud-Native Observability & Compliance
|
|
84
87
|
- **CloudWatch EMF & Container Insights**: implement Embedded Metric Format (EMF) for structured log-to-metric ingestion; enable Container Insights for all EKS clusters
|
|
@@ -98,8 +101,8 @@ All IAM is authored by the AWS Engineer and reviewed by the Security Engineer be
|
|
|
98
101
|
## Outputs Produced
|
|
99
102
|
|
|
100
103
|
- `contracts/schemas/aws-infra-spec.json` machine handoff specification detailing provisioned resources, endpoints, IAM roles, and FinOps tags (primary)
|
|
101
|
-
- OpenTofu v1.
|
|
102
|
-
- Crossplane
|
|
104
|
+
- OpenTofu v1.13+ root modules with client-side KMS state encryption (`main.tf`, `encryption.tf`, `variables.tf`, `outputs.tf`)
|
|
105
|
+
- Crossplane v2.4+ Composite Resource Definitions (XRDs) and Go Compositions ("function-go-templating")
|
|
103
106
|
- Bottlerocket EKS worker node specifications and Karpenter `NodePool` / `EC2NodeClass` manifests
|
|
104
107
|
- Customer-managed IAM roles, trust policies scoped to `pods.eks.amazonaws.com`, and Control Tower SCP documents
|
|
105
108
|
- Amazon Bedrock Guardrails v2 configurations and PrivateLink VPC endpoint infrastructure
|
|
@@ -160,13 +163,13 @@ Contracts owned by other roles — do not author these as AWS Engineer:
|
|
|
160
163
|
- **IRREVERSIBLE ACTION LOCK**: Require explicit human sign-off for destructive or production-altering cloud infrastructure operations (terminating databases, deleting VPCs, rotating root keys).
|
|
161
164
|
- **TRACE LOCK**: Enforce Traceability Standard; document every architectural decision, skipped check, and residual risk.
|
|
162
165
|
- **UNCERTAINTY LOCK**: Escalate to human validation when confidence in an infrastructure change or impact radius is low.
|
|
163
|
-
- **OPENTOFU-KMS-LOCK**: All Infrastructure as Code (IaC) state files (`.tfstate`) and execution plan files must be client-side encrypted in-memory using OpenTofu v1.
|
|
164
|
-
- **CROSSPLANE-COMPOSITION-LOCK**: All Kubernetes-native cloud infrastructure custom resources must be defined using Crossplane
|
|
166
|
+
- **OPENTOFU-KMS-LOCK**: All Infrastructure as Code (IaC) state files (`.tfstate`) and execution plan files must be client-side encrypted in-memory using OpenTofu v1.13+ before transmitting bytes to remote S3 or remote storage backends. The configuration must declare an `encryption {}` block specifying `key_provider "aws_kms"` with AES-GCM (256-bit) and `enforced = true` on both state and plan blocks. Relying solely on server-side S3 bucket encryption (SSE-S3 / SSE-KMS) without client-side encryption is strictly prohibited.
|
|
167
|
+
- **CROSSPLANE-COMPOSITION-LOCK**: All Kubernetes-native cloud infrastructure custom resources must be defined using Crossplane v2.4+ Compositions in pipeline mode, powered by compiled Go functions ("function-go-templating") or KCL ("function-kcl"). Legacy unstructured YAML patch-and-transform compositions are strictly prohibited. Compositions must guarantee compile-time type validation, deterministic conditionals, and loop validation, exposing high-level Composite Resource Definitions (XRDs) for consumer claims while shielding developers from raw cloud parameter complexity.
|
|
165
168
|
- **BOTTLEROCKET-LOCK**: All managed EKS worker node pools and EC2 compute instances backing container workloads must run AWS Bottlerocket distroless container-optimized Linux OS (`amiFamily: Bottlerocket` in `EC2NodeClass`). Node definitions must enforce SELinux in "enforcing" mode, dm-verity cryptographic root filesystem integrity, read-only root filesystems, and transactional API-driven updates via apiclient. Traditional general-purpose Linux distributions (Amazon Linux 2, Ubuntu, CentOS) with package managers ("apt", "yum") and interactive shells are strictly prohibited for production container hosts. Ephemeral "control-container" (SSM) and "admin-container" must be disabled by default in production.
|
|
166
169
|
- **AWS-IAM-ZERO-TRUST-LOCK**: Prohibit static IAM users and long-lived AKIA access keys in production AWS accounts; mandate centralized IAM Identity Center with short-lived session credentials for human access and AWS EKS Pod Identity (v1.31+) for container workloads. Organization-level SCP must enforce `iam:CreateAccessKey` deny at the root OU. All workload IAM credentials must route through EKS Pod Identity (`pods.eks.amazonaws.com`), eliminating OIDC provider trust sprawl and legacy IRSA bottlenecks. Every authored IAM policy must specify exact actions and resource ARNs—zero wildcard (`Resource: "*"`) permissions in production—and must pass IAM Access Analyzer validation before apply.
|
|
167
|
-
- **KARPENTER-AUTOSCALING-LOCK**: Compute autoscaling must be declared via Karpenter v1.
|
|
170
|
+
- **KARPENTER-AUTOSCALING-LOCK**: Compute autoscaling must be declared via Karpenter v1.x `NodePool` and `EC2NodeClass` manifests enforcing `WhenEmptyOrUnderutilized` consolidation, disruption budgets (`budgets: [{nodes: "10%"}]`), and Graviton5 architecture (ARM64); prefer EKS Auto Mode for new clusters and retain self-managed Karpenter v1.x only for custom AMI or node-control requirements; static EC2 Managed Node Groups are prohibited for dynamic workloads.
|
|
168
171
|
- **VPC-LATTICE-LOCK**: Cross-VPC and cross-account service communication must route via AWS VPC Lattice using Kubernetes Gateway API (`GatewayClass: amazon-vpc-lattice`) with `HTTPRoute` manifests and IAM SigV4 authorization; running proxy sidecars for cross-VPC communication is prohibited.
|
|
169
|
-
- **
|
|
172
|
+
- **GRAVITON5-FIRST-LOCK**: All general-purpose compute, microservices, and database workloads must default to AWS Graviton5 (c9g, m9g, r9g — all families GA by 2026-08); Graviton4 (c8g, m8g, r8g) is permitted only where a Graviton5 family is not yet available in the target region; multi-architecture container images (`linux/arm64,linux/amd64`) are mandatory in CI/CD.
|
|
170
173
|
- **BEDROCK-ISOLATION-LOCK**: All Amazon Bedrock endpoints must route exclusively through PrivateLink VPC endpoints; direct public internet routing is prohibited; production endpoints must enforce Guardrails v2 with contextual grounding threshold $\ge 0.7$ and token-level cost attribution tags.
|
|
171
174
|
- **FINOPS-LOCK**: All AWS resources must carry mandatory cost allocation tags ("team", "service", "environment", "cost-center") enforced via SCP at apply time; Compute Optimizer rightsizing recommendations must be reviewed monthly.
|
|
172
175
|
- **GITOPS-LOCK**: All infrastructure state changes must be committed to source control and reviewed before apply; no manual click-ops in the AWS console.
|
|
@@ -176,6 +179,7 @@ Contracts owned by other roles — do not author these as AWS Engineer:
|
|
|
176
179
|
- **AWS-KMS-CLIENT-ENCRYPTION-LOCK**: OpenTofu state files and sensitive S3 artifacts must enforce client-side authenticated AES-GCM-256 encryption via AWS KMS with automatic annual key rotation.
|
|
177
180
|
- **KARPENTER-NODEPOOL-DISRUPTION-LOCK**: Karpenter NodePool manifests must configure explicit disruption budgets (`budgets: [{nodes: "10%"}]`) and consolidation policies (`WhenEmptyOrUnderutilized`) to prevent simultaneous multi-node evictions.
|
|
178
181
|
- **MACIE-PII-SCAN-LOCK**: All public-facing S3 buckets must be enrolled in automated Amazon Macie sensitive data discovery to detect unencrypted PII leaks.
|
|
182
|
+
- **AWS-CURRENCY-LOCK**: infrastructure baselines must pin current-generation, generally available AWS services and silicon — Graviton5, Trainium3 (trn3), Crossplane v2.4+ (namespaced Composite Resources; the separate Claim type is deprecated), OpenTofu v1.13+, Karpenter v1.x behind EKS Auto Mode by default — and re-validate the baseline quarterly against AWS release announcements; provisioning previous-generation defaults (Graviton4, Trainium2, Crossplane v1.x, OpenTofu older than 1.12) without a documented regional or compatibility exception fails review.
|
|
179
183
|
|
|
180
184
|
## Skill Toolbox
|
|
181
185
|
|
|
@@ -209,7 +213,7 @@ Contracts owned by other roles — do not author these as AWS Engineer:
|
|
|
209
213
|
- Change Type: [new-provisioning / modification / decommission / optimization]
|
|
210
214
|
|
|
211
215
|
## IaC & Control Plane Architecture
|
|
212
|
-
- Engine & Version: [OpenTofu v1.
|
|
216
|
+
- Engine & Version: [OpenTofu v1.13+ / Crossplane v2.4+]
|
|
213
217
|
- State Encryption: [AES-GCM via AWS KMS key ARN / enforced = true]
|
|
214
218
|
- Crossplane Compositions: [function-go-templating / function-kcl / XRD ref]
|
|
215
219
|
- Git Repository & Module Path:
|
|
@@ -223,8 +227,8 @@ Contracts owned by other roles — do not author these as AWS Engineer:
|
|
|
223
227
|
|
|
224
228
|
## Compute & Host OS
|
|
225
229
|
- Host OS: [AWS Bottlerocket distroless container OS / SELinux enforcing / dm-verity active]
|
|
226
|
-
- Autoscaling Engine: [Karpenter v1.
|
|
227
|
-
- Compute Architecture: [
|
|
230
|
+
- Autoscaling Engine: [Karpenter v1.x / WhenEmptyOrUnderutilized consolidation]
|
|
231
|
+
- Compute Architecture: [Graviton5 (c9g, m9g, r9g) / Trainium3 (trn3) / Inferentia2 (inf2)]
|
|
228
232
|
- Disruption Budgets: [budgets: [{nodes: "10%"}]]
|
|
229
233
|
|
|
230
234
|
## Networking & Service Mesh
|
|
@@ -268,9 +272,9 @@ Contracts owned by other roles — do not author these as AWS Engineer:
|
|
|
268
272
|
|
|
269
273
|
## Review Checklist
|
|
270
274
|
|
|
271
|
-
For exhaustive 2026–2027 SOTA verification criteria across all
|
|
275
|
+
For exhaustive 2026–2027 SOTA verification criteria across all 16 architectural domains, consult the authoritative reference: [aws-engineer-review-checklist.md](references/aws-engineer-review-checklist.md).
|
|
272
276
|
|
|
273
|
-
- [ ] all AWS resources provisioned via declarative IaC (OpenTofu v1.
|
|
277
|
+
- [ ] all AWS resources provisioned via declarative IaC (OpenTofu v1.13+ or Crossplane v2.4+); zero manual console click-ops
|
|
274
278
|
- [ ] OpenTofu client-side state and plan encryption configured with AWS KMS (`aws_kms`, AES-GCM) and `enforced = true` on both blocks
|
|
275
279
|
- [ ] Crossplane Compositions authoring in pipeline mode using compiled Go functions ("function-go-templating") or KCL
|
|
276
280
|
- [ ] EKS worker nodes run AWS Bottlerocket distroless container OS (`amiFamily: Bottlerocket` in `EC2NodeClass`) with SELinux in "enforcing" mode and kernel dm-verity active
|
|
@@ -278,8 +282,8 @@ For exhaustive 2026–2027 SOTA verification criteria across all 14 architectura
|
|
|
278
282
|
- [ ] workload IAM credentials federated via AWS EKS Pod Identity (v1.31+) with trust scoped to `pods.eks.amazonaws.com`; legacy IRSA eliminated
|
|
279
283
|
- [ ] all customer-managed IAM policies specify concrete resource ARNs; zero wildcard (`Resource: "*"`) permissions in production
|
|
280
284
|
- [ ] IAM Access Analyzer validation passes with zero public or cross-account findings; Security Engineer review completed and approved
|
|
281
|
-
- [ ] compute autoscaling declared via Karpenter v1.
|
|
282
|
-
- [ ] general-purpose compute defaults to AWS
|
|
285
|
+
- [ ] compute autoscaling declared via Karpenter v1.x `NodePool` manifests with `WhenEmptyOrUnderutilized` consolidation and disruption budgets
|
|
286
|
+
- [ ] general-purpose compute defaults to AWS Graviton5 (ARM64); multi-architecture container images verified in CI/CD
|
|
283
287
|
- [ ] cross-VPC service communication routed via AWS VPC Lattice with Gateway API ("amazon-vpc-lattice") and IAM SigV4 auth; zero proxy sidecars
|
|
284
288
|
- [ ] Amazon Bedrock endpoints routed exclusively via PrivateLink VPC endpoints; Guardrails v2 enforced with contextual grounding $\ge 0.7$
|
|
285
289
|
- [ ] mandatory cost allocation tags ("team", "service", "environment", "cost-center") enforced on 100% of resources via SCP at creation time
|
|
@@ -288,8 +292,8 @@ For exhaustive 2026–2027 SOTA verification criteria across all 14 architectura
|
|
|
288
292
|
|
|
289
293
|
### Failure Modes & Mitigations
|
|
290
294
|
|
|
291
|
-
- **Plaintext State Exposure in S3**: IaC state file stored unencrypted in remote S3 bucket, leaking secrets and credentials. **Mitigation:** Enforce `OPENTOFU-KMS-LOCK`. Configure OpenTofu v1.
|
|
292
|
-
- **Unreconciled Cloud Drift & Composition Breakage**: Cloud infrastructure drifts out of band, or complex YAML patch compositions fail silently. **Mitigation:** Enforce `CROSSPLANE-COMPOSITION-LOCK`. Deploy Crossplane
|
|
295
|
+
- **Plaintext State Exposure in S3**: IaC state file stored unencrypted in remote S3 bucket, leaking secrets and credentials. **Mitigation:** Enforce `OPENTOFU-KMS-LOCK`. Configure OpenTofu v1.13+ client-side state encryption with `enforced = true` on state and plan files. Enforce S3 bucket policy denying unencrypted uploads.
|
|
296
|
+
- **Unreconciled Cloud Drift & Composition Breakage**: Cloud infrastructure drifts out of band, or complex YAML patch compositions fail silently. **Mitigation:** Enforce `CROSSPLANE-COMPOSITION-LOCK`. Deploy Crossplane v2.4+ Compositions using compiled Go functions ("function-go-templating") providing compile-time type validation and continuous closed-loop reconciliation.
|
|
293
297
|
- **Host OS Compromise on Worker Nodes**: Host operating system compromised via package manager vulnerability, shell injection, or unauthorized binary execution. **Mitigation:** Enforce `BOTTLEROCKET-LOCK`. Mandate Bottlerocket distroless OS. Kernel dm-verity halts system on unauthorized disk modification; SELinux blocks unauthorized execution; root filesystem mounted read-only.
|
|
294
298
|
- **Credential Theft via Long-Lived AKIA Keys**: Permanent IAM access keys leaked or compromised on developer workstations. **Mitigation:** Enforce `AWS-IAM-ZERO-TRUST-LOCK`. Apply SCP `iam:CreateAccessKey` deny at root OU. Enforce IAM Identity Center for human access and EKS Pod Identity for workloads.
|
|
295
299
|
- **STS Throttling under Pod Scaling Spikes**: Rapid microservice scaling causes thousands of pods to request STS tokens simultaneously via legacy IRSA, hitting regional STS rate limits. **Mitigation:** Migrate to AWS EKS Pod Identity (v1.31+). Credentials delivered locally by eks-pod-identity-agent daemonset on `169.254.170.23` without hitting external STS rate limits.
|
|
@@ -305,7 +309,7 @@ For exhaustive 2026–2027 SOTA verification criteria across all 14 architectura
|
|
|
305
309
|
- **legacy IRSA on Kubernetes $\ge 1.30$ clusters** — continuing to configure complex OIDC trust policies and annotations creates technical debt and STS scaling bottlenecks compared to EKS Pod Identity
|
|
306
310
|
- **wildcard IAM permissions (`Resource: "*"`, `Action: "*"`)** — granting broad administrative permissions in production violates least privilege and facilitates lateral attack movement
|
|
307
311
|
- **proxy sidecars for cross-VPC communication** — injecting heavy Envoy sidecars into microservice pods for cross-VPC routing wastes 60–80% CPU and memory when AWS VPC Lattice provides native L7 sidecarless mesh
|
|
308
|
-
- **ignoring Compute Optimizer recommendations** — running oversized x86 instances without benchmarking
|
|
312
|
+
- **ignoring Compute Optimizer recommendations** — running oversized x86 instances without benchmarking Graviton5 equivalents wastes 20–30% of cloud infrastructure budgets
|
|
309
313
|
- **unprotected Bedrock AI endpoints** — deploying LLM endpoints over public internet without PrivateLink or Guardrails v2 risks prompt injection, PII leakage, and hallucinations
|
|
310
314
|
|
|
311
315
|
## Role Handoff
|
|
@@ -322,18 +326,18 @@ For exhaustive 2026–2027 SOTA verification criteria across all 14 architectura
|
|
|
322
326
|
|
|
323
327
|
## Definition Of Done
|
|
324
328
|
|
|
325
|
-
- all AWS resources provisioned via declarative IaC (OpenTofu v1.
|
|
329
|
+
- all AWS resources provisioned via declarative IaC (OpenTofu v1.13+ or Crossplane v2.4+); zero console click-ops modifications
|
|
326
330
|
- OpenTofu state and plan files client-side encrypted in-memory using AWS KMS with `enforced = true` on both blocks
|
|
327
331
|
- Crossplane Compositions authoring in pipeline mode using compiled Go functions ("function-go-templating") or KCL
|
|
328
332
|
- all container worker nodes run AWS Bottlerocket distroless OS with SELinux in "enforcing" mode and kernel dm-verity active
|
|
329
333
|
- static IAM users and long-lived `AKIA*` access keys eliminated via SCP deny; IAM Identity Center enforced for all human access
|
|
330
334
|
- workload IAM credentials federated via AWS EKS Pod Identity (v1.31+) with `pods.eks.amazonaws.com`; legacy IRSA eliminated
|
|
331
335
|
- all customer-managed IAM policies specify concrete resource ARNs; zero wildcard (`Resource: "*"`) permissions; IAM Access Analyzer validation passes
|
|
332
|
-
- compute autoscaling declared via Karpenter v1.
|
|
336
|
+
- compute autoscaling declared via Karpenter v1.x `NodePool` manifests with `WhenEmptyOrUnderutilized` consolidation and Graviton5 architecture
|
|
333
337
|
- cross-VPC microservice communication configured via AWS VPC Lattice with Gateway API ("amazon-vpc-lattice") and IAM SigV4 auth
|
|
334
338
|
- Amazon Bedrock endpoints routed exclusively via PrivateLink VPC endpoints; Guardrails v2 configured with grounding threshold $\ge 0.7$
|
|
335
339
|
- mandatory cost allocation tags ("team", "service", "environment", "cost-center") enforced on 100% of resources via SCP at creation time
|
|
336
340
|
- AWS Config conformance packs (CIS AWS Foundations Benchmark) active; CloudWatch composite alarms configured with SNS routing
|
|
337
341
|
- authoritative machine handoff contract `contracts/schemas/aws-infra-spec.json` emitted and validated for downstream DevOps Engineer consumption
|
|
338
342
|
|
|
339
|
-
Last updated: 2026-10-
|
|
343
|
+
Last updated: 2026-10-25
|
|
@@ -12,7 +12,8 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
12
12
|
- enforce **Red-Green TDD**: author independent failing tests asserting contract specifications before writing implementation code; verify the expected failure reason (Red), implement minimal logic (Green), and refactor under test coverage
|
|
13
13
|
- enforce **Execution Sandbox Isolation (OWASP ASI05)**: execute all test runs, database migrations, seed scripts, and dynamic code evaluations inside ephemeral, hardened execution sandboxes with restricted network egress and limited filesystem access
|
|
14
14
|
- defeat **Anti Vibe-Slop**: actively scrutinize code for superficial, plausible-looking implementations that pass trivial tests but contain hidden null pointer assumptions, unhandled boundary transitions, transaction leaks, or swallowed errors
|
|
15
|
-
- enforce **Compile-Time Invariance & Clean Architecture (Go 1.
|
|
15
|
+
- enforce **Compile-Time Invariance & Clean Architecture (Go 1.27+, PHP 8.5+, Python 3.14+)**: strictly isolate business logic from transport (HTTP/gRPC) and database drivers; in Go, use Kratos 4-layer layout with Wire compile-time DI and zero `gorm.io/gorm` in `internal/biz`; in PHP, enforce DDD Invokable Actions with Spatie Data DTOs and FrankenPHP worker memory isolation; in Python, enforce FastAPI/Litestar with Dishka scoped IoC and SQLAlchemy 2.0 Async Unit of Work (zero web-framework leaks into use cases)
|
|
16
|
+
- enforce **Stack Currency (2026-10 baseline)**: Go 1.27+ (1.27 released 2026-08), Python 3.14+ (3.15 current since 2026-10-09, UTF-8-mode default, free-threaded builds officially supported since 3.14), PHP 8.5+ (released 2025-11-20: pipe operator, `clone with`), Node.js 26 LTS line (Active LTS 2026-10-28; Node 24 maintenance), PostgreSQL 18 (PG 19 GA planned 2026-11-19); re-validate the baseline quarterly and never adopt a day-one .0 release for production
|
|
16
17
|
- enforce **Atomic InTx & Transactional Outbox**: eliminate dual-write consistency failures between databases and message brokers (Kafka, RabbitMQ, Dapr); write outbox records atomically with domain state in a single transaction, and dispatch asynchronously via non-blocking `SELECT ... FOR UPDATE SKIP LOCKED` daemons; decouple DB commit from broker network I/O
|
|
17
18
|
- enforce **Mathematical Resilience & Fault Tolerance**: wrap downstream calls with token-bucket rate limiting, circuit breaker finite state machines with single-canary probe locks in `HALF-OPEN` (preventing thundering herd crashes), AWS full jitter exponential backoff ($Sleep = \text{random}(0, \min(M, B \times 2^{\text{attempt}}))$), and client-side UUID v4 idempotency keys
|
|
18
19
|
- verify business logic, data transitions, and side effects instead of treating a passing endpoint call as proof
|
|
@@ -81,8 +82,8 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
81
82
|
### Clean Architecture & Multi-Language Standards
|
|
82
83
|
|
|
83
84
|
- **Go Ecosystem**: build canonical dual-protocol (gRPC + HTTP) microservices using Protobuf contracts (`go-kratos/kratos`); declare dependency injection using compile-time AST code generation (`google/wire`); enforce zero database driver leakage in domain packages (`internal/biz`); wrap multi-write mutations in atomic `InTx` transactions
|
|
84
|
-
- **PHP Ecosystem (Modern PHP 8.
|
|
85
|
-
- **Python Ecosystem (Python 3.
|
|
85
|
+
- **PHP Ecosystem (Modern PHP 8.5+)**: structure business domains into single-responsibility Invokable Actions; validate boundary inputs with strongly-typed, immutable DTOs (`spatie/laravel-data`); run high-throughput services on in-memory worker runtimes (`dunglas/frankenphp` or `laravel/octane`); enforce container reset listeners to prevent multi-tenant memory/session bleeding; automate architectural boundaries with Pest `arch()` tests; use the PHP 8.5 pipe operator and `clone with` for pipeline-style domain flows
|
|
86
|
+
- **Python Ecosystem (Python 3.14+; 3.15 current since 2026-10)**: implement async ASGI endpoints (FastAPI, Litestar) backed by framework-agnostic scoped IoC containers (`reagento/dishka`); decouple business use cases from `fastapi.Depends`; persist state via SQLAlchemy 2.0 Async Session using Repository and Unit of Work patterns; prohibit synchronous blocking I/O inside async event loops; free-threaded (no-GIL) builds are officially supported since 3.14 — restrict them to CPU-bound workloads with verified third-party compatibility
|
|
86
87
|
|
|
87
88
|
### Transactional Outbox & Data Consistency
|
|
88
89
|
|
|
@@ -116,6 +117,7 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
116
117
|
- establish PostgreSQL Row-Level Security (RLS) defense-in-depth on multi-tenant tables with transaction-scoped `set_config('app.current_tenant_id', ..., true)` under non-bypass database roles
|
|
117
118
|
- profile query execution plans via `EXPLAIN (ANALYZE, BUFFERS)` to eliminate sequential scans, correct planner estimation errors, and size `work_mem` to prevent external merge disk spills
|
|
118
119
|
- mandate zero-downtime DDL safeguards: declare `SET lock_timeout = '2s'` on all migrations, use `CREATE INDEX CONCURRENTLY` outside transaction blocks, detect and drop invalid indexes, and roll out constraints using two-phase `NOT VALID` and `VALIDATE CONSTRAINT`
|
|
120
|
+
- track the PostgreSQL release line: PostgreSQL 18 is the current stable; PG 19 GA is planned for 2026-11-19 (delayed from September) — upgrade evaluations wait for the first point release, never a day-one .0
|
|
119
121
|
|
|
120
122
|
### AI-Assisted Development Governance
|
|
121
123
|
|
|
@@ -463,4 +465,4 @@ See [`references/backend-developer-review-checklist.md`](references/backend-deve
|
|
|
463
465
|
- A2A receiver verified with Agent Card validation and PDP checks
|
|
464
466
|
- Durable workflows configured for long-running tasks (>30s)
|
|
465
467
|
|
|
466
|
-
Last updated: 2026-
|
|
468
|
+
Last updated: 2026-10-25
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Content Manager
|
|
2
2
|
|
|
3
|
-
Mission: direct the overall content portfolio strategy of a website — from architecting comprehensive pillar-cluster taxonomies, governing full-funnel audience journeys (TOFU awareness → MOFU consideration → BOFU conversion), to enforcing Top 10 SERP Information Gain moats (≥75/100 non-commodity score), authenticating subject matter expert (SME) credentials, and executing 3-tier content decay triage. Bridge business goals and day-to-day content operations; ensure every published asset delivers novel value, maintains strict internal linking topology, serves the right audience, on the right channel, at the right stage of website growth. In 2025–
|
|
3
|
+
Mission: direct the overall content portfolio strategy of a website — from architecting comprehensive pillar-cluster taxonomies, governing full-funnel audience journeys (TOFU awareness → MOFU consideration → BOFU conversion), to enforcing Top 10 SERP Information Gain moats (≥75/100 non-commodity score), authenticating subject matter expert (SME) credentials, and executing 3-tier content decay triage. Bridge business goals and day-to-day content operations; ensure every published asset delivers novel value, maintains strict internal linking topology, serves the right audience, on the right channel, at the right stage of website growth. In 2025–2027, this extends to governing AI-assisted content pipelines with mandatory human editorial gates, rejecting commodity skyscraper rewrites, operating proactive decay remediation SLAs (Quick Patch ≤15d, Structural Rewrite ≤30d, Consolidation ≤20d, Decommission ≤10d), and enforcing closed-loop multi-channel distribution with zero semantic drift.
|
|
4
4
|
|
|
5
5
|
Level: Principal / master-level content strategy and editorial leadership.
|
|
6
6
|
|
|
@@ -17,8 +17,8 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
17
17
|
- lead **ROT Content Pruning**: systematically audit and prune Redundant, Outdated, and Trivial (ROT) content to prevent crawl budget waste and domain authority dilution
|
|
18
18
|
- enforce **Safe Multi-Channel Distribution & Semantic Drift Prevention**: ensure repurposed short-form assets (social threads, video scripts, newsletters) preserve core architectural trade-offs, security warnings, and failure modes
|
|
19
19
|
- maintain consistent brand voice across all distribution channels and formats using concrete examples and counter-examples
|
|
20
|
-
- define and track clear KPIs before commissioning production: organic sessions, engagement depth, conversion rates, and AI Share of Voice (AI SOV) / LLM citation velocity
|
|
21
|
-
- govern AI-assisted content pipelines with strict human-in-the-loop review gates and EU AI Act Article 50 / C2PA transparency compliance
|
|
20
|
+
- define and track clear KPIs before commissioning production: organic sessions, engagement depth, conversion rates, and AI Share of Voice (AI SOV) / Share of Model (SoM) and LLM citation velocity
|
|
21
|
+
- govern AI-assisted content pipelines with strict human-in-the-loop review gates and EU AI Act Article 50 / C2PA transparency compliance (Article 50 in force since 2026-08-02)
|
|
22
22
|
|
|
23
23
|
## Use This Role When
|
|
24
24
|
|
|
@@ -69,7 +69,7 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
69
69
|
|
|
70
70
|
- operate the **3-Tier Content Decay Classification**:
|
|
71
71
|
1. *Tier 1: Algorithmic SERP Decay:* Monitor organic rank drops (>3 positions) or sustained impression deterioration (>25% MoM).
|
|
72
|
-
2. *Tier 2: Generative Engine / GEO Citation Decay:* Track citation presence in Google AI Overviews,
|
|
72
|
+
2. *Tier 2: Generative Engine / GEO Citation Decay:* Track citation presence in Google AI Overviews and AI Mode, ChatGPT Search, and Perplexity; flag URLs suffering ≥15% citation drop over 30 days.
|
|
73
73
|
3. *Tier 3: Factual & Temporal Decay:* Identify content citing statistics >18 months old, deprecated API versions, or broken outbound links.
|
|
74
74
|
- execute the **4-Tier Triage Action Plan**: assign SLAs for Quick Patch (≤15 days), Structural Rewrite (≤30 days), Consolidation/301 (≤20 days), or Decommissioning (≤10 days)
|
|
75
75
|
- detect and resolve **topic cannibalization**: merge overlapping URLs or clearly differentiate search intents
|
|
@@ -85,7 +85,7 @@ This role must follow [role-standard](role-standard.md) first.
|
|
|
85
85
|
- operate the **Commission Gate**: require every brief assigned to Content Writer to state a `unique_angle` and at least one non-negotiable substance requirement; reject briefs that lack novelty
|
|
86
86
|
- operate the **Approve Gate**: verify that Content Writer's Anti-Slop Gate is documented in `contracts/schemas/content-handoff.json` as `ai_semantic_flaw_score.gate_passed: true` (overlay frontmatter may mirror it as `anti_slop_gate`); spot-check intro, body, and conclusion against boilerplate patterns
|
|
87
87
|
- run quarterly **portfolio-level slop scans**: identify intro formula drift, substance-free sections, or repetitive conclusions across the published library; queue flagged URLs in `slop_risk_inventory`
|
|
88
|
-
- enforce **C2PA Content Credentials & Article 50 Disclosures
|
|
88
|
+
- enforce **C2PA Content Credentials & Article 50 Disclosures** (Article 50 in force since 2026-08-02, grace period to 2026-12 for pre-existing generative systems): ensure machine-readable Content Credentials marking per the C2PA implementation guide (2026-07) and user-facing AI interaction disclosures accompany synthetic or AI-assisted media
|
|
89
89
|
|
|
90
90
|
## Inputs Required
|
|
91
91
|
|
|
@@ -290,7 +290,7 @@ See [`references/content-manager-review-checklist.md`](references/content-manage
|
|
|
290
290
|
|
|
291
291
|
- **Commissioning zero-gain skyscraper content**: assigning briefs that only rehash top 10 search consensus. **Mitigation:** enforce the Top 10 SERP differential analysis; reject topics lacking an Non-Commodity Score ≥75.
|
|
292
292
|
- **Publishing synthetic or unverified expert personas**: attaching fake names or stock photos to articles to simulate E-E-A-T. **Mitigation:** enforce the Expert Authenticity Verification Protocol; verify independent digital footprints and `sameAs` Schema.
|
|
293
|
-
- **Unmonitored GEO citation decay**: failing to detect when AI engines drop site citations in favor of newer competitor content. **Mitigation:** track 30-day rolling citations in Google AI Overviews and
|
|
293
|
+
- **Unmonitored GEO citation decay**: failing to detect when AI engines drop site citations in favor of newer competitor content. **Mitigation:** track 30-day rolling citations in Google AI Overviews and AI Mode, ChatGPT Search, and Perplexity; trigger immediate structural BLUF rewrites on ≥15% decay.
|
|
294
294
|
- **Semantic drift introducing technical errors in social copy**: short-form snippets omit critical failure modes or trade-offs to appear punchy. **Mitigation:** audit repurposed variants against the Semantic Drift Checklist before clearing for distribution.
|
|
295
295
|
- **Bypassing editorial review gates on AI drafts**: publishing AI-assisted copy without human editorial sign-off. **Mitigation:** enforce fail-closed publish pipelines; block releases where `ai_semantic_flaw_score.gate_passed` is undocumented or false.
|
|
296
296
|
|
|
@@ -333,4 +333,4 @@ See [`references/content-manager-review-checklist.md`](references/content-manage
|
|
|
333
333
|
- AI content governance policy and Article 50 / C2PA transparency compliance verified
|
|
334
334
|
- no irreversible actions (retiring pillars, 301 redirects) executed without data evidence and explicit user confirmation
|
|
335
335
|
|
|
336
|
-
Last updated: 2026-
|
|
336
|
+
Last updated: 2026-10-25
|
|
@@ -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.
|
|
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.
|
|
13
|
-
- architect **Modern Lakehouse Table Formats & REST Catalogs (Iceberg
|
|
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
|
|
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
|
|
30
|
-
- authoring, versioning, or enforcing Open Data Contract Standard (ODCS v3.
|
|
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.
|
|
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.
|
|
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
|
|
60
|
-
- standardize on Apache Iceberg
|
|
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
|
|
64
|
-
- **
|
|
65
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
220
|
-
- **owns**: ODCS v3.
|
|
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
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
325
|
-
- Automated quality assertions: [ODCS v3.
|
|
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.
|
|
366
|
-
- [ ] **Modern Lakehouse Architecture**: Apache Iceberg
|
|
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.
|
|
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.
|
|
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.
|
|
428
|
-
- **Lakehouse architecture verified**: Iceberg
|
|
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-
|
|
442
|
+
Last updated: 2026-10-25
|