Skip to main content
CRUCIBLE
All 8 Academies/Academy 03
ACADEMY 03 · 0 → 10M USERS · 7 PLAYABLE MODULES · 12 JOB WORKFLOWS

Full-Stack Product Builder & Brownfield Studio

Bridge Idea → Production App serving millions: Next.js RSC, Auth/RBAC/Postgres RLS, Stripe subscriptions/webhooks, real-time WS, and Hostile AI-PR Audits.

C1 · L3 → L5

Idea to Typed API, Postgres RLS & Stripe Billing

Schema modeling, OAuth 2.1/PKCE, multi-tenant RLS, and out-of-order Stripe webhook ledgers.

C2 · L4 → L5

Modern Web UX, Real-Time WebSockets & Direct R2 Media

RSC boundaries, optimistic rollback, CWV forensics, backpressure SSE/WS, and presigned uploads.

C3 · L5 → L6

Brownfield Archaeology, Hostile AI-PR Audits & Founder Launch

30-min 50k-LOC repo mapping, catching 3 hidden landmines in green-CI AI PRs, and E2E testing pyramids.

Playable Modules (7)

0 / 7 COMPLETED
MODULE 01 · L3 → L4
35 min

Typed APIs, Keyset Cursor Pagination & N+1 Query Eradication

Why OFFSET 50000 and ORM lazy-loading destroy SaaS dashboards — and how keyset cursors stay 3ms forever.

STORECOMPUTEORDERVERIFY
Open Interactive Studio →
MODULE 02 · L4 → L5
40 min

Multi-Tenant Postgres RLS & PgBouncer SET LOCAL Isolation

Make cross-tenant data leaks structurally impossible at the storage engine boundary — even when a developer forgets WHERE org_id.

TRUSTSTOREVERIFY
Open Interactive Studio →
MODULE 03 · L4 → L5
35 min

Out-of-Order Stripe Webhooks: Raw-Body HMAC, Replay Windows & Monotonic Ledgers

Prevent forged billing events, duplicate retry credits, and cancelled accounts staying unlocked when webhooks arrive backwards.

TRUSTORDERSTOREVERIFY
Open Interactive Studio →
MODULE 04 · L4 → L5
40 min

OAuth 2.1 + PKCE, Short-Lived Sessions & Fail-Closed RBAC/ABAC

Why storing JWTs in localStorage and trusting client role claims gets B2B SaaS apps owned in 10 minutes.

TRUSTVERIFYSTORELIMIT
Open Interactive Studio →
MODULE 05 · L4 → L5
40 min

Next.js RSC Boundaries, Core Web Vitals & Rollback-Safe Optimistic UI

Kill client waterfalls, 900KB accidental client bundles, and ghost UI state when mutations fail.

MOVECOPYCOMPUTEVERIFY
Open Interactive Studio →
MODULE 06 · L4 → L5
40 min

Real-Time WebSockets/SSE Backpressure & Direct Presigned R2 Media Uploads

Stop streaming 500 MB uploads through your API servers and stop slow mobile sockets from OOMing Node.

MOVEWAITLIMITCOPY
Open Interactive Studio →
MODULE 07 · L5 → L6
50 min

Brownfield Archaeology & Hostile AI-PR Audits (3 Hidden Landmines, Green CI)

Catch subtle security, concurrency, and migration bombs hidden inside plausible 300-line AI-generated PRs.

VERIFYTRUSTEVOLVECOMPUTE
Open Interactive Studio →

Linked Job Workflows (12)

T2 -> 1M · COLD-NO-AI
30-Min Unfamiliar 50k-LOC Repo Architecture Map
Trace request entrypoints, DB writes, background jobs, and hidden side effects in a cold legacy codebase.
T2 -> 1M · AI-AUGMENTED
Hostile AI-Generated PR Audit (3 Hidden Landmines)
Review a 300-line AI PR with 100% green unit tests and catch a concurrency race, tenant leak, and O(N²) ORM query.
T2 -> 1M · COLD-NO-AI
Characterization Testing Before Legacy Refactor
Lock down undocumented billing edge cases with golden snapshot & property tests before modifying a single line.
T2 -> 1M · AI-AUGMENTED
Safe Live Public API Deprecation & Sunset
Instrument caller telemetry, emit Sunset headers, migrate stragglers, and retire v1 without breaking paying tenants.
T1 -> 10K · COLD-NO-AI
Typed End-to-End API Contract & Cursor Pagination
Build a strict OpenAPI/Zod backend with keyset cursor pagination, idempotency keys, and RFC-7807 error envelopes.
T2 -> 1M · AI-AUGMENTED
Next.js RSC Boundaries, Optimistic UI & CWV Forensics
Eliminate client fetch waterfalls, hydration mismatches, and INP/LCP stalls with optimistic rollback.
T2 -> 1M · COLD-NO-AI
OAuth 2.1 / PKCE, Multi-Tenant RBAC & Postgres RLS
Implement org workspaces where cross-tenant reads are impossible even if an API handler omits WHERE org_id.
T2 -> 1M · AI-AUGMENTED
Stripe Subscriptions, Metered Credits & Out-of-Order Webhooks
Handle duplicated, reordered, and spoofed Stripe webhooks cleanly with double-entry ledger reconciliation.
T2 -> 1M · AI-AUGMENTED
Direct-to-R2/S3 Presigned Uploads & Async Media Pipeline
Stream large user uploads straight to object storage with MIME/size validation, background transcoding, and CDN cache.
T3 -> 100M · AI-AUGMENTED
Backpressure-Aware WebSocket / SSE Fanout & Reconnect Jitter
Serve 10k concurrent live viewers without slow-consumer OOMs or thundering-herd reconnect storms.
T1 -> 10K · AI-AUGMENTED
Zero-Flake Testing Pyramid (Unit, Real-DB, Contract, E2E)
Replace brittle mocked tests with fast isolated Postgres transactions, API contract checks, and Playwright smoke tests.
T2 -> 1M · COLD-NO-AI
Attack-Then-Defend: IDOR, SQLi, CSRF & Balance Race Exploit
Exploit a vulnerable twin service first to prove the risk, then patch every layer with structural invariants.