v0 build plan

The execution spec.

The authoritative spec for the v0 coding pass: what to build, in what order, against which live data, and what counts as done. The build brief is the background.

Standalone macro project. No Aura, XR or horn-tori. No backend. No earthquake claims in v0. No coupling to other repos.

North star: a global VR news studio

Space Weather News is global from the start, at macro and planetary scale. Its destination is a VR news studio: an immersive newsroom and mission control with screens for all the macro data (solar wind, Kp, X-rays and flares, CMEs, proton flux, aurora and other global feeds), each a live screen, broadcast style.

Corpus: space-weather-news-hub-vrai, vr-space-weather-news, modular-unity-development-deployment-plan-for-spaceweather-news-hub.

This is a macro-data-display project, a different style from the place-twin Sensorium. The v0 web dashboard is the data layer that will feed the studio's screens.

Goal of v0

A live, client-side static web dashboard and plain-language news feed off real public space-weather data. It opens by double-clicking index.html and deploys to GitHub Pages unchanged. Honest about hazards: guidance, never official warnings.

Stack

  • Vanilla HTML, CSS and JavaScript. No framework, no build step, no dependencies beyond two optional Google Fonts.
  • Fetch NOAA SWPC and NASA JSON directly in the browser.
  • Charts via inline SVG or <canvas>; no chart library needed.
  • Reuse the an-open-book design language: deep cosmic ink, violet and gold, Fraunces and Inter, starfield.

File tree

space-weather-news/
  index.html             # live dashboard
  brief.html             # build brief
  plan.html              # this plan
  licence.html           # Public Source Licence
  assets/styles.css      # adapted from an-open-book
  assets/data.js         # all fetchers, normalisers and thresholds
  assets/app.js          # render and refresh loop
  .nojekyll
  README.md

Live data endpoints

Real and CORS-friendly. Verify each on first fetch.

FeedEndpoint
Solar wind plasmahttps://services.swpc.noaa.gov/products/solar-wind/plasma-1-day.json
Solar wind magnetic field (IMF Bz)https://services.swpc.noaa.gov/products/solar-wind/mag-1-day.json
Planetary K index (Kp)https://services.swpc.noaa.gov/products/noaa-planetary-k-index.json
GOES X-ray fluxhttps://services.swpc.noaa.gov/json/goes/primary/xrays-6-hour.json
Latest X-ray flareshttps://services.swpc.noaa.gov/json/goes/primary/xray-flares-latest.json
Aurora (OVATION)https://services.swpc.noaa.gov/json/ovation_aurora_latest.json
Official alerts, watches and warningshttps://services.swpc.noaa.gov/products/alerts.json
Solar regionshttps://services.swpc.noaa.gov/json/solar_regions.json
NOAA scales (R/S/G now and 3-day)https://services.swpc.noaa.gov/products/noaa-scales.json

NASA DONKI CMEs need an API key: defer to v1, or use DEMO_KEY behind a clearly labelled toggle.

Tasks, in order

  1. Scaffold the static site; port the an-open-book tokens, typography and starfield into styles.css. Sticky header, responsive, reduced-motion, accessible.
  2. data.js: one fetch-and-normalise function per endpoint; graceful error and stale handling; a single refreshAll() on a 90-second interval; timestamps ("as of … UTC").
  3. Current conditions header: the three NOAA scales (R radio blackouts, S solar radiation, G geomagnetic) as live badges from noaa-scales.json, colour-coded, with the plain-English meaning.
  4. Gauges and sparklines: Kp (0 to 9 dial), solar-wind speed and density, IMF Bz (highlight southward, negative values), X-ray flux with flare class (A/B/C/M/X). Vanilla SVG or canvas.
  5. News ticker: turn alerts.json into plain-language headlines, for example "⚠️ G2 (Moderate) geomagnetic storm in progress: high-latitude power grids on watch; aurora possible toward mid-latitudes." Most recent first; no off-site links.
  6. Ops-impact panel: grids, satellites, and aviation and HF comms status derived from Kp, flare class and proton flux thresholds. Every row labelled "guidance, not an official warning; see NOAA SWPC."
  7. Aurora and active regions: OVATION probability (a simple hemisphere view or a "visible to about X° latitude tonight" line) and a sunspot region list.
  8. Polish: loading, empty and error states; mobile layout; a footer with data-source credits, the licence and the Luke × Claude signature. .nojekyll. Confirm it runs from file:// and is Pages-ready.

Acceptance

Double-clicking index.html shows real, current space weather that refreshes. The news ticker reads like plain English. Ops-impact carries honest disclaimers. It looks great, throws no console errors, and works on mobile.

Explicitly not in v0

  • No Aura, horn-tori or XR.
  • No earthquake prediction. That is a later, clearly flagged research module, not now.
  • No backend, and no Kafka, InfluxDB or ML yet. That is v1.
  • Nothing presented as an official warning.
  • No coupling to web3-sensorium.

Decisions for Luke

  • Public-facing news tone versus technical ops console, or one view with a toggle? Default: one view, plain language first, details expandable.
  • Include the DEMO_KEY NASA DONKI CME feed in v0, or wait for a real key?
  • Domain and branding for the eventual Pages deploy.

Where v0 landed. The dashboard ships as one view with a News / Ops Console toggle, and includes the DONKI CME feed on the shared DEMO_KEY with a clear "demo data, rate-limited" label. Domain and branding remain open.

Later phases

  • v1: streaming and fusion backbone, porting space-weather-hub-pseudo-code.md (Kafka to InfluxDB to signal fusion).
  • v2: the flagged earthquake research module: backtested, transparent, never a warning.

Conventions throughout: Australian English, Public Source Licence, signed Luke × Claude.

Run this

The v0 coding pass was set up to run as a lower-cost Sonnet session from the repo folder, opened with the prompt below.

The prompt that opened the v0 build session
Build Space Weather News v0. Read MEMORY.md (my conventions), then README.md
and PLAN.md: PLAN.md is the authoritative spec; execute its tasks in order.
Standalone project: no Aura/XR, no backend, no earthquake claims, no coupling
to other repos. Static site off live NOAA/NASA JSON, GitHub-Pages-ready,
Australian English, an-open-book design bar (../an-open-book for reference).
Commit as you go, signed Luke × Claude with a Co-Authored-By: Claude trailer.
Ask me only on the items under "Decisions".