#!/usr/bin/env node /** * check-embed-url-absolute — a share/embed url must never be relative. * * THE DEFECT (2026-09-28, found testing live): the link copied from Simple Research was * `research-map-plus-grid/research-map-plus-grid/index.html` while the page was * `http://127.0.0.1:5192/#f=…`, a clear case of an embed that could not work. * * WHY IT SURVIVED SO LONG, and it is the reason this is a gate rather than a fix: a relative share link * WORKS WHEN CLICKED. The browser resolves it against the page you copied it from, so the person testing * sees it open correctly. It is the EMBED that breaks — an