# How weather.promptugal.news works

> The automations behind weather.promptugal.news and a threat model for each: what they read, write and trust, and what could go wrong.
>
> Not a warning service: follow IPMA (https://www.ipma.pt/) and ANEPC (https://prociv.gov.pt/). In an emergency call 112.
> Version v0.1.23 · https://weather.promptugal.news/how/
> Is something here yours, and should it not be? Open an issue at https://github.com/PrompTugal/PrompTugal__News__Weather/issues and we take it down while we talk.

What runs on its own behind weather.promptugal.news, and its threat models.

- [Threat model: the data pull](/how/threat-models/data-pull/): What scripts/sync-data.mjs reads from data.promptugal.news and the PrompTugal.news Website repository, what it trusts, what could go wrong, and how it is limited.
- [Threat model: page views (observability)](/how/threat-models/observability/): What src/assets/obs/obs.js would send when this site's page-view lane opens, what it trusts, what readers' browsers reveal, and how it is limited. No lane is open yet, so nothing is sent today.
- [Threat model: the hourly rebuild](/how/threat-models/scheduled-rebuild/): What the Pages workflow reads, writes and trusts when it rebuilds weather.promptugal.news every hour and on every push, what could go wrong, and how it is limited.

- [Security](/security/)

## Licences

- PrompTugal.news Weather (our pages, words, charts and the way the data is put together): CC BY 4.0, https://creativecommons.org/licenses/by/4.0/

## How this page was made

- Code: scripts/site/*.mjs builds this page from data/ on every push; no model runs at build time.
- Agents: weather@PrompTugal.dinis (Claude, Opus) wrote the first version; weather.b@PrompTugal.dinis (Claude, Opus) carries it on.
- A person: Not yet checked by a person.

