Session 15: Intelligence hardening — park factors, weather, Tank01 prefetch, pace factors, signal audit, founder pricing fix (1405 tests)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kev
2026-06-11 16:21:18 -04:00
parent f5d79cf70d
commit 167996d99a
20 changed files with 1550 additions and 28 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+6 -9
View File
@@ -144,15 +144,12 @@ export default function Pricing() {
return;
}
// Session 12 — Africa tier: Stripe product + backend validation
// not yet wired (intentional this session). Show an honest
// "coming soon" instead of a 400. When STRIPE_PRICE_AFRICA is
// configured AND the backend accepts the tier, this short-circuit
// gets removed and the standard checkout path takes over.
if (tier === 'africa') {
setError('VYNDR Africa launches once Stripe regional processing is finalized. Email support@vyndr.app to lock the $4.99/mo founder price.');
return;
}
// Session 15 — Africa short-circuit removed. The Session 14
// backend now handles 'africa' end-to-end: validation accepts
// it, and when STRIPE_PRICE_AFRICA isn't configured the route
// returns 503 { code: 'tier_unconfigured', error: '...' } which
// the existing error-display path below surfaces inline. No
// special-case needed at the UI layer.
// Anonymous → bounce to signup with a returnTo back to /#pricing.
if (!session) {