Golden Patterns
Validated engineering approaches extracted from ECL success history. The team's north star.
GP-001
🟢Auth Middleware Pattern
Centralized JWT verification with error propagation through shared error types
0.95
confidence
3×
verified
5
PR refs
authjwtmiddleware
Sara Chen · ECL #089 — 3x verified, 0 failures
middleware/jwt-verify.tssrc/errors.ts
GP-002
🟢Stripe Webhook Handler
Idempotent webhook processing with event deduplication and ordered handling
0.91
confidence
2×
verified
3
PR refs
billingstripewebhook
Sara Chen · ECL #112 — 2x verified, 0 failures
webhooks/stripe-handler.ts
GP-003
🟢Shared Validation Pattern
Runtime validation through packages/validation per ADR-007
0.93
confidence
5×
verified
8
PR refs
validationruntimeschema
Sara Chen · ECL #078 — 5x verified across all services
src/billing.tssrc/user.ts
GP-004
🟢Route Handler Pattern
Validate at boundary, use shared errors, delegate to service layer
0.89
confidence
4×
verified
6
PR refs
routehandlerapi
Sara Chen · ECL #095 — 4x verified
routes/login.tsroutes/subscription.ts
GP-005
🟡Retry with Backoff
Exponential backoff with jitter using packages/shared-utils/retry.ts
0.85
confidence
2×
verified
2
PR refs
retrybackoffreliability
Marcus Webb · ECL #145 — 2x verified
src/retry.tsdispatcher/retry.ts