NextGen SDLCLive
Human Intent. AI Execution.
Human sets the intent, a fleet of AI agents handle the rest, and a real production app, cuppati.com, comes alive and stays operational supporting a business.
Before the First Keystroke — The MCP Agent
claude mcp add. It exposes live codebase tools: reading the beans catalog, inspecting the route tree, checking cart state, so the agent operates on live data, not static file dumps.The Feature — GitHub Issue Created
Add Spring Roast promo — 20% off single-origin beans
Create a promo banner on the home page and /beans route. Apply 20% discount to featured beans. Add badge to bean cards. Feature flag off by default.
Code, Part 1 — The MCP Agent Writes It
Code, Part 2 — Closing the Gap
The PR — AI Writes the Description
feat: Spring Roast promo — 20% off featured single-origin beans
This PR was described by Claude Code.
| File | Change |
|---|---|
| src/routes/index.tsx | Added PromoBanner (feature-flagged) |
| src/routes/beans.tsx | Filter + badge on featured beans |
| src/routes/checkout.tsx | Promo line item in order summary |
| src/components/PromoBanner.tsx | New component |
| src/components/BeanCard.tsx | Promo badge added |
| src/context/CartContext.tsx | 20% discount logic |
| src/lib/discount.ts | Shared discount util extracted |
| src/data/beans.json | featured flag on 3 beans |
Secrets Stay Secret — Push Protection
$ git push origin feature/spring-roast-promo remote: —————————————————————————————————— remote: GitHub Push Protection remote: —————————————————————————————————— remote: 1 secret detected in commit a3f91b2 remote: Cloudflare API token: CLOUDFLARE_API_TOKEN remote: Location: src/config/env.ts, line 4 remote: Push BLOCKED. Remove the secret and retry.
# Correct: use environment variables CLOUDFLARE_API_TOKEN=... ← in .env (gitignored) src/config/env.ts reads from process.env ✓ Push allowed.
The Pipeline — 13 Jobs, One Push
Sequential
Parallel (fires after row 1)
13 artifacts → JFrog · SBOM generated · Release notes drafted
The Security Wall — Four Scanners
CodeQL
4 findings (all low)Scans for SQL injection, XSS, path traversal. Finds vulnerabilities in the code logic itself.
Checkmarx SAST
0 critical247 files scanned in 90 seconds. 10 vulnerability classes checked.
Dependabot
PR #31 auto-createdreact-router 6.21.0 → 6.22.1 (XSS patch). Turns a 2pm CVE into a 2:05 fix.
SonarQube
0 bugs · Quality gate: APR #47 passed. 0 bugs, 0 code smells.
Trust Before Prod — Artifact Signing
Artifacts: 8 components SBOMs generated: 8 ✓ Signatures (cosign): caldo-web@v1.2.0 sha256:a3f9... ✓ caldo-cart@v1.2.0 sha256:b12d... ✓ caldo-checkout@v1.2.0 sha256:c88a... ✓ caldo-beans-api@v1.2.0 sha256:d4e1... ✓ caldo-auth@v1.2.0 sha256:e7b3... ✓ caldo-orders@v1.2.0 sha256:f02c... ✓ caldo-search@v1.2.0 sha256:1a99... ✓ caldo-cdn@v1.2.0 sha256:2bf4... ✓ CVEs: 0 License violations: 0 Deployment attestation: SIGNED ✓ → Harness manifest dispatched.
The Starting Line — Harness CD
Release Manifest
| Component | Version | Change |
|---|---|---|
| caldo-web | 1.2.0 | Promo banner + bean badges |
| caldo-cart | 1.2.0 | Discount logic |
| caldo-checkout | 1.2.0 | Promo line item |
| caldo-beans-api | 1.2.0 | featured flag |
| caldo-auth | 1.2.0 | no change |
| caldo-orders | 1.2.0 | no change |
| caldo-search | 1.2.0 | index refresh |
| caldo-cdn | 1.2.0 | asset rev |
Release Strategy: DEV → SIT → PROD (blue/green)
Ship It — OPA Policy Gate
OPA Policy Evaluation
- ✓No critical CVEs in SBOM
- ✓All artifacts signed (cosign)
- ✓Change ticket #12 linked and approved
- ✓PR #47 approved (1 reviewer)
- ✓Deployment window: CLEAR (not a freeze period)
- ✓Lint: 0 errors
- ✓Tests: 52 passed, 0 failed
- ✓License scan: no violations
One URL, Two Stacks — Blue/Green
3 pods
3 pods
Staged. Waiting.
The Swap — Zero Downtime
3 pods
standby
3 pods
The Incident — 12 Seconds After Swap
The Recovery — 45 Seconds
- T+0Swap to green (v1.2.0)
- ⚠️T+12sSplunk alert fires
- T+14sSOAR playbook triggered
- T+19sHarness rollback command issued
- ✓T+45sTraffic flipped back to blue
- 🔒T+57sGreen quarantined
AI Diagnosis — Root Cause in Seconds
calculateDiscount runs on every render with no memoization. Under load, 50+ cart items × concurrent users overwhelms the CPU. Not a guess, it read the code.The Receipt — GitHub Release
Release v1.2.1 — ROLLBACK NOTICE
caldo-coffee-shop · Published 4 min ago
⚠️ v1.2.0 auto-rolled back at T+45s (CPU incident)
Root cause: useMemo missing in CartContext.calculateDiscount
Fix: PR #48 — ships as v1.2.1
Component Status
- caldo-web v1.2.0 → v1.1.0 (rolled back) BLUE
- caldo-cart v1.2.0 → v1.1.0 (rolled back) BLUE
- caldo-checkout v1.2.0 → v1.1.0 (rolled back) BLUE
DORA Metrics
- Deployment Frequency:
- Elite (multiple/day)
- Lead Time:
- Elite (88s)
- MTTR:
- Elite (45s)
- Change Failure Rate:
- Low
OPA Results: 8/8 passed
Nobody wrote this release. The pipeline did.
The Finish Line — Harness END Stage
HARNESS CD — END ───────────────────────────────────────── SUMMARY Components deployed: 8 Environments: DEV ✓ SIT ✓ PROD ✓ (rolled back) Active version: v1.1.0 (blue) Staged version: v1.2.0 (quarantined) TRACEABILITY Commit: a3f91b2 CI Run: #88 Harness: exec-4491 Issue: #12 TELEMETRY T+0s: Deploy to green started T+88s: Swap complete T+100s: Splunk alert T+145s: Rollback complete Lead Time: 88s [Elite] MTTR: 45s [Elite] Smoke Tests: 52 passed / 0 failed Auto-remediated rollbacks: 1 ───────────────────────────────────────── Developer didn't write this report. The pipeline did.
See It Yourself — Toggle the Feature
Ethiopia Yirgacheffe
$18
Colombia Huila
$16
Sumatra Mandheling
$17
This is the exact feature the MCP agent built. Harness caught the CPU incident and rolled it back in 45 seconds — but the feature shipped. It just hit production too early.
One issue. Two prompts. One push.
The MCP agent coded it. The pipeline secured it. Harness shipped it, caught the incident, rolled it back, diagnosed the root cause, and documented everything.
Zero customer impact.
cuppati.com is a real app. This is how it's built and maintained.
About
This is just the beginning.
Every engineering team deserves a pipeline this autonomous. If you're an investor who sees the same future, we'd love to hear from you.
hello@nextgensdlc.app