Source legend migration follow-up — 2026-05-13

The Tier 1 source-legend generator (tools/evidence/build-source-legend.mjs) skipped 8 pages because they already carry hand-curated ## Sources content that should not be clobbered by auto-generation. These pages need manual migration into the marker-bounded format used elsewhere.

Workflow

For each flagged page:

  1. Compare the existing hand-curated ## Sources table with what the generator would produce (run node tools/evidence/build-source-legend.mjs --dry-run --only <kind> to preview).
  2. Decide which “Used on this page for” descriptions in the hand-curated table to preserve — those are the higher-quality version of what Tier 2 will eventually generate.
  3. Wrap the hand-curated table in <!-- BEGIN: hmi-source-legend --> and <!-- END: hmi-source-legend --> markers.
  4. Re-run the generator — it will see the markers and respect the hand-curated content.

Flagged pages (8)

  • wiki/metals/cadmium.md — existing content snippet: ”- EFSA Cd 2009 — EFSA Panel on Contaminants in the Food Chain, 2009. Scientific Opi”…
  • wiki/metals/lead.md — existing content snippet: ”- ATSDR 2020 — ATSDR, August 2020. Toxicological Profile for Lead.\n- [[sources/cd”…
  • wiki/ingredients/fish.md — existing content snippet: ”- EPA Fish Advice — FDA and EPA joint fish consumption advice.\n- [[sourc”…
  • wiki/ingredients/rice.md — existing content snippet: ”- collado-lopez2025-heavy-metals-baby-food-formula — review-level rice/rice-mix baby-food signal for Pb and “…
  • wiki/metals/tin.md — existing content snippet: ”- ATSDR 2005 — Comprehensive ATSDR Toxicological Profile for Tin and Tin”…
  • wiki/ingredients/peach.md — existing content snippet: ”- fda2022-tds-elements-fy2018-fy2020\nNo source pages are currently cited for this ingredient node.”…
  • wiki/ingredients/pear.md — existing content snippet: ”- fda2022-tds-elements-fy2018-fy2020\nNo source pages are currently cited for this ingredient node.”…
  • wiki/ingredients/turkey.md — existing content snippet: ”- fda2022-tds-elements-fy2018-fy2020\nNo source pages are currently cited for this ingredient node.”…