You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scripts/sync.py downloads more than it writes out:
updated_at is selected from Supabase but never copied into the record built by build_enriched(), so it is null in all rows of indexes/technologies.json.
Sources:technologies_sources is downloaded and never written. The CMS has also moved sources into technology_evidence, so the legacy table may be out of date.
Tags: per-technology tag1/2/3 are only exported as per-hub counts in indexes/tags.json, not on each entry.
collection_label isn't exported, so cities collections show up as IDs like M7CFmLD9Qx2KxloytEYe6w.
Problem
scripts/sync.pydownloads more than it writes out:updated_atis selected from Supabase but never copied into the record built bybuild_enriched(), so it isnullin all rows ofindexes/technologies.json.technologies_sourcesis downloaded and never written. The CMS has also moved sources intotechnology_evidence, so the legacy table may be out of date.tag1/2/3are only exported as per-hub counts inindexes/tags.json, not on each entry.collection_labelisn't exported, so cities collections show up as IDs likeM7CFmLD9Qx2KxloytEYe6w.about,indicator_explainersandmetrics_configare downloaded but not written toindexes/hubs.json, which causes [P0]trl/impact/investmentare mislabelled for 9 hubs (986 entries) #5.lexicon) are listed with a count of 0.Fix
updated_atthrough inbuild_enriched(). While there, fix the misindented"sources"line.technology_evidence, falling back totechnologies_sources.collection_labelandtagsto the frontmatter, andsourcesto the body as a## Sourceslist.aboutandmetrics_configtohubs.json.researchrow is unpublished or that have 0 published technologies.scripts/test_sync.pyfor each of these.Runbook:
docs/improvements/03-schema-v2.md