geolith-cli 0.3.2

Rust vector tile generator — OSM + Overture Maps → protomaps PMTiles
Documentation
# The refresh and prune goldens

The transcripts the Rust `geolith dataset refresh --dry-run` and
`geolith dataset prune --dry-run` must reproduce, captured from the scripts
before either port was written.

Captured 2026-11-22 against `scripts/datasets/refresh.ts` at commit
`8132568` (the merge of PR #160), data root `.data` of the main checkout,
with the three live builds already published:

| file                | command                                                                                          |
| ------------------- | ------------------------------------------------------------------------------------------------ |
| `dry-run-in.txt`    | `DATA_ROOT=.data DATASET=rainfall COUNTRY=in node scripts/datasets/refresh.ts refresh --dry-run` |
| `dry-run-us.txt`    | `DATA_ROOT=.data DATASET=rainfall COUNTRY=us node scripts/datasets/refresh.ts refresh --dry-run` |
| `prune-dry-run.txt` | `DATA_ROOT=.data node scripts/datasets/refresh.ts prune --dry-run`                               |

Two normalisations, nothing else changed: the leading
`YYYY-MM-DDTHH:MM:SS.mmmZ ` log prefix is dropped, and a trailing duration
`(N s)` becomes `(N s)` with the digits replaced by `N`. A Rust parity test
applies the same two substitutions to its own output before comparing.

Notes that matter for the port:

- The scripts these transcripts were captured from are gone: `scripts/datasets/`
  was deleted once every verb had a Rust counterpart. The commands in the table
  above are the historical capture commands, kept so the transcripts stay
  reproducible by a reader of that commit; the live equivalent is
  `geolith dataset refresh --dry-run [--country <cc>]`.

- `refresh` ignores `DATASET` and `COUNTRY` for the dataset list: it walks
  every published dataset (ndvi, then rainfall in name order) for one
  country, so all three "pairs" are two runs (in and us), not three.
- The `us` run was recaptured on 22 Nov 2026 from `geolith dataset refresh
  --dry-run --country us`, once the US NDVI build `2026-11-20.20261122T0838Z`
  was published. Its earlier copy recorded `ndvi failed at plan: Unexpected end
  of JSON input` because that pass was mid-flight; both datasets now read
  `nothing-new`, and both lines are in the golden.
- `--dry-run` still runs the plan gate, which lists the sources over the
  network, and still writes a history line and a lock through the script's
  own code paths. The Rust port must do the same to match.
- No items were prunable in the live root at capture time (`0 items, 0 B`);
  the interesting prune cases are the hand-built unit tests, not this
  transcript.