Shift left = move activities earlier in the delivery lifecycle (design → develop → test → staging → prod) so issues are caught cheaper and faster.
Traditional:
Design ──▶ Develop ──▶ Test ──▶ Staging ──▶ Prod
▲
Bugs found here (expensive)
Shift Left:
Design ──▶ Develop ──▶ Test ──▶ Staging ──▶ Prod
▲ ▲
Bugs found here (cheap to fix)
PR opened
├── lint + format check
├── unit tests (coverage gate)
├── security scan (SAST)
├── dependency scan (CVE check)
├── secret scan (nocreds)
└── preview environment deploy
└── e2e tests against preview
└── approval gate
3. Architecture Decision Records (ADRs)
ADRs shift design decisions left — record the why, not just the what.
# ADR-001: Use PostgreSQL instead of MongoDB## Status: Accepted## Date: 2025-05-24## ContextNeed a relational store for order items with ACID transactions.## DecisionPostgreSQL 16 with psycopg3.## Consequences- ✅ ACID compliance for order processing- ✅ Schema enforcement reduces bugs- ❌ Need migration strategy for schema changes
Shift Left in Your Stack
Given your setup (Wazuh SIEM, AWS org, n8n), shift-left for security means: