Skip to content

SP4: ready to instantiate - #5

Merged
pullely merged 1 commit into
mainfrom
orun/SP-5-ready-to-instantiate
Oct 15, 2026
Merged

pullely merged 1 commit into
mainfrom
orun/SP-5-ready-to-instantiate

Conversation

@pullely

@pullely pullely commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

SP4 — ready to instantiate. The as-built status names the PRs and every departure from upstream: middleware.ts → proxy.ts; @supabase/ssr 0.12's getAll/setAll adapters; createClient(), cookies(), params and searchParams awaited; Stripe's createFetchHttpClient() and constructEventAsync + createSubtleCryptoProvider(); the per-call service-role client (a credential-free next build evaluates the webhook route); React.JSX.Element; Next 16's mandatory tsconfig.json rewrite; eslint-config-next 16's flat config with the rules the template was never written against turned off by name (types_db.ts, UTF-16 as upstream commits it, ignored); the package.json scripts and dependencies, with what was dropped and what was kept; what is left exactly as upstream wrote it (getURL()'s NEXT_PUBLIC_VERCEL_URL fallback, the local-dev supabase/ tree, schema.sql, fixtures/, the supabase CLI devDependency under pnpm 10's blocked postinstall, lucide-react 0.330's React 18 peer). The versions table gives each pin its reason.

Verified: wire/typecheck/lint/test/build locally, wrangler dev with the fixture vars and dummy Worker secrets (/ 200 in the template's no-plans state, /signin 307 → /signin/password_signin, the sign-in views 200, /account signed out 307 → /signin, POST /api/webhooks 400 unsigned and 400 with a bad signature — SubtleCrypto on workerd), the offline migration plan with both migrations, terraform validate, and Checks on #2, #3 and #4. Not verified: the Supabase and migration applies and a live deploy (gated on a linked workspace with Supabase and Cloudflare connections) and a real Stripe round-trip (the product's keys as Worker secrets). The README's local-stack note now says pnpm approve-builds — pnpm rebuild does not run a script pnpm 10 blocked. epic.yaml moves to completed.

🤖 Generated with Claude Code

The as-built status names the PRs, every departure from upstream (proxy.ts,
the ssr 0.12 cookie adapters, the awaited cookies()/createClient()/params,
Stripe's fetch client and async webhook verification, the per-call admin
client, the React 19 JSX type, Next 16's tsconfig rewrite, the flat eslint
config with the template's patterns allowed, package.json scripts and
dependencies), the versions with their reasons, what was verified (locally
under wrangler dev with fixture vars and dummy Worker secrets, the offline
migration plan, terraform validate, Checks on #2–#4) and what was not (the
Supabase and migration applies, a live deploy and a real Stripe round-trip,
gated on a linked workspace and the product's Stripe keys). The README's
local-stack note says pnpm approve-builds, which is what pnpm 10 needs. The
epic is completed.

Orun-Task: SP-5
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@pullely
pullely merged commit 8240db6 into main Oct 15, 2026
3 checks passed
@pullely
pullely deleted the orun/SP-5-ready-to-instantiate branch October 15, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants