doxa-maps/library/scripts
doxa-maps-88655c70 ec974b4c63
Some checks are pending
build-gate / build (push) Waiting to run
fix(posters): ask the legend which zones are reachable, not clusters.json
publish-html.mjs enumerated the raw cluster keys under a comment that said "the
zone ids the app can actually reach" — which was exactly what it did not do. It
then warned that deaf-old-world and deaf-new-world-asia-pacific were MISSING on
every run, when nothing was missing.

Those two are SUPERSEDED by the unified `deaf` row (affinity bloc A017), not
absent. Verified against live records instead of trusting the comment that says
so: 63 + 60 = 123 = A017 exactly, zero groups on either side of the difference.
They stay in clusters.json deliberately — three isolation-proof scripts assert
deaf_lists.length === 2 — but the legend does not expose them, so no user can
select them and a poster for them is unreachable by construction.

It now derives zone ids from leafZones(buildLegendNodes(...)), the same source
the app itself uses, so the two can never disagree again. Result: 28 posters
published, zero warnings, matching the legend's 28 leaves.

records:null, not records:[] — buildLegendNodes treats an empty array as truthy
and then demands population fields that are not available here.

A recurring warning that is always wrong is worse than no warning: it trains
everyone to ignore the one run where something really is missing.
2026-09-24 04:07:17 +00:00
..
posters fix(posters): ask the legend which zones are reachable, not clusters.json 2026-09-24 04:07:17 +00:00
research Close the visa-data leak at its factory + harden the gate 2026-09-24 03:03:53 +00:00