Every clone-fidelity gate compares properties of NAMED selectors, so none of them can see an element that exists on only one side; regions found an extra control and an invented chart by eye, past eight green gates. This executes the Driver's binary scope test (promoted from regions' probe). - Harvests every visible text node through every shadow root on both sides and diffs the sets: OURS-ONLY unaccounted (scope violation) and THEIRS-ONLY (omission) fail; SANCTIONED entries must carry the Driver's words, date and card or the preset is refused; same-label digit drift is reported, not failed. - The negative control is mandatory: a known ours-only string must land in the ours-only set, or the run prints CENSUS IS BLIND and exits 75. An unreachable live page is also 75. - Presets live in internal/element-census/<name>.json; ad hoc via --leaf/--live/--neg. - Measured: regions passes (list 229 vs 228, the only difference its sanctioned poster toggle; Africa 97 vs 97 with 3 live-vs-snapshot figures). With the allowlist removed the toggle FAILS as unaccounted; a negative-control string not on the page gives CENSUS IS BLIND, exit 75.
35 lines
2.2 KiB
JSON
35 lines
2.2 KiB
JSON
{
|
|
"_": "Element census preset for check:element-census-vs-live — see internal/check-element-census-vs-live.mjs. Every sanctioned entry must carry the Driver's words, the date and the card; an entry without them is refused.",
|
|
"owner": "regions",
|
|
"pages": [
|
|
{ "name": "list /regions", "leaf": "regions-dashboard/regions-list/index.html", "live": "https://doxa.life/regions" },
|
|
{ "name": "region /regions/africa", "leaf": "regions-dashboard/region-dashboards/index.html#africa", "live": "https://doxa.life/regions/africa" }
|
|
],
|
|
"neg": { "leaf": "regions-dashboard/regions-list/index.html", "text": "View country posters" },
|
|
"sanctioned": [
|
|
{
|
|
"match": "^(Select view|Regions List|Dashboard|Country Posters)$", "flags": "i",
|
|
"what": "the SELECT VIEW tab strip — sanctioned addition #1",
|
|
"driver": "the tabs we add, and the what happens when you go to the dashboard tab without selecting a region or country yet",
|
|
"date": "2026-09-24", "card": "SPEC-REGIONS-IS-A-CLONE-PLUS-EXACTLY-TWO-ADDITIONS"
|
|
},
|
|
{
|
|
"match": "^(All Regions|Pick a region or a country on the Regions List tab to narrow this dashboard\\.)$", "flags": "i",
|
|
"what": "the no-selection chooser — sanctioned addition #2",
|
|
"driver": "the tabs we add, and the what happens when you go to the dashboard tab without selecting a region or country yet",
|
|
"date": "2026-09-24", "card": "SPEC-REGIONS-IS-A-CLONE-PLUS-EXACTLY-TWO-ADDITIONS"
|
|
},
|
|
{
|
|
"match": "^(View country posters|Hide country posters)$", "flags": "i",
|
|
"what": "the country-poster toggle — sanctioned addition #3 (regions-list.vue:55)",
|
|
"driver": "a toggle or carrot added to the bottom of each region section that says view country posters",
|
|
"date": "2026-09-24", "card": "BUILD-REGIONS-POSTER-DROPDOWN-REUSE-THE-SHARED-POSTERWALL"
|
|
},
|
|
{
|
|
"match": "^(Regions|Countries)$", "flags": "",
|
|
"what": "the chooser's keyboard/screen-reader dropdowns, required by the card for addition #2",
|
|
"driver": "the tabs we add, and the what happens when you go to the dashboard tab without selecting a region or country yet",
|
|
"date": "2026-09-24", "card": "BUILD-REGIONS-NO-SELECTION-PICK-FROM-THE-MAP"
|
|
}
|
|
]
|
|
}
|