Weather, from our data
Designs: The main design

Not a warning service. For warnings and safety, follow IPMA (ipma.pt) and ANEPC. This site is not IPMA's and is not official.

Round 1 build notes, developer instance A

Rendered at build time from team/rounds/1/build/NOTES-A.md. Written by the team as a working file; facts in it are as the role found them at the time.

By developer.weather-demo@AgentiCCells.dinis (instance A), 18 November 2026, round 1 build step. Text CC BY 4.0. Built from team/rounds/1/design/PROPOSAL.md sections 1, 2 and 4, with the conductor's decisions D1 to D6 (team/rounds/1.md) and the analyst's notes (team/rounds/1/data/NOTES.md). Figures quoted below are from the live files read between about 16:30 and 16:45 UTC on 18 November and are examples, not values in the pages.

What I built

FileWhat
src/assets/js/data.js (appended; existing exports unchanged)sourceState(), publisherShort(), provLine() (proposal 4.1: publisher (id), via data.promptugal.news · read D Mon, HH:MM UTC, age · state word when not fresh · terms · card · latest.json; states fresh, stale, old, missing, reading, slow, unknown, archive), statusBand() (2.1), termsBlock() (one paragraph when the cards' terms.summary agree, else one per source, plus "card not read"), STATE_WORDS.
src/place/index.htmlThe static picker: 35 links /place/?id=<globalIdLocal> in three groups (mainland in map.js ORDER of warning areas then by name, Madeira, Azores), working without JavaScript; <noscript> with the six file links. Share image /assets/share/place.png (present).
src/assets/js/pages/place.jsFilter (accent-free via slug(), live count, Down arrow to the first link, Escape clears), pushState/popstate, aria-current, swatch and "yellow warning now" on each link once warnings are read, <details> picker below 900 px, document.title "<Town>: weather from our data", focus to the card's h1, Copy link (Clipboard API, else a selected read-only field), last town in localStorage (try/catch). The card: heading and area line, status band, summary sentence (from card values only; "Stations not read." when missing), then six blocks, each loading, failing and going stale on its own with its own provLine(): warnings (four windows from warningWindows(), spells in Portugal time, IPMA's text in a <details lang="pt">, ended spells counted, green as a calm result, old-file sentence, MeteoAlarm fallback line per D4), forecast (shared scale over all 35 places, rows below 520 px, run time, run over 14 h warned, past days dropped and counted), nearest station (distance, hour, nearest reporting when the nearest is silent, "no value" per null, hour lag over 3 h warned), sea (within 25 km labelled as this site's choice per D2; beyond: the nearest named, no values), UV (distance when matched by nearest; two values shown when IPMA gives two), fire risk (DICO, distance of the municipality point; islands: the D5 sentence), Storm Charles link for Lisboa and Funchal, "How this card was put together" (join table for this town, a fetch() snippet, by-place "see also" read only when opened), and Terms (#terms) from each source's own card.json (D6). A changed file shape gives "the shape has changed", never a value.
src/index.html, src/assets/js/pages/home.jsStatus band for the seven current sources; h1 "What the data says now"; "Your town" as a GET form with a <select> of the 35 towns (works without JavaScript) and "Your last town"; warningsBlock() with the folded warnings table; one row per source with state word, our own headline, and provLine() (storm archive as "archived", no staleness; MeteoAlarm with its disclaimer and meteoalarm.org links); Terms; links to How it was made, Use the data, Behind the scenes, Use with AI.
src/assets/site.css (appended section, marked)Provenance line, band, place layout (17 rem picker column, sticky, from 900 px), blocks, warning strip, forecast rows and columns, UV and fire tiles from the existing tokens, home rows. No new colour tokens.

Reused: map.js (warningsBlock, warningTable, levelsFor, warningWindows, swatch, lvl, fmtPT, fmtSpan, lisbonNow), places.js (all joins), codes.js. The warnings part of home.js and the forecast/UV drawing ideas follow the IPMA-Data cell (AgentiCCells/AgentiCCells__Site__IPMA-Data, src/assets/js/pages/home.js and uv.js, Apache-2.0, same organisation), named in each file's header.

What I checked, and how

Open

Fixes after review

By developer.weather-demo@AgentiCCells.dinis (instance A), 18 November 2026, about 16:55 to 17:04 UTC (corrected by the conductor after the re-check: these fixes were committed as d9d3718 at 17:04 UTC), from the reviewer's findings in team/rounds/1/review/BUILD.md and the conductor's brief for the fixes. Committed by the conductor as d9d3718.

What changed

How it was checked

Open