Provisions and collects data via Google Sheets. This runs as a separate deployment on Google's infrastructure (Apps Script), not on Vercel — it can never appear "inside" this site's domain, it's a different platform by design. This page is a thin client that talks to it through a server-side proxy.
google-apps-script/sheet-provisioner.gs from this repo/exec)APPS_SCRIPT_URL = that URL, then redeployscript.googleusercontent.com that doesn't carry CORS headers, so a direct browser fetch() fails with an opaque CORS error. The /api/research/submit route on this server forwards the request instead, which sidesteps the browser entirely.Run createStudySheet(schema) directly from the Apps Script editor (Step 1) with your schema — see the JSDoc at the top of sheet-provisioner.gs for the exact shape. This isn't wired into this page yet since it's a one-off action per study, not a repeated one.