Link wiki pages to existing KG nodes where high-confidence mappings can be established from identifiers, cited context, or related entity records. These links turn narrative content into navigable world-model views.
kg_node_id populated or documented no-match rationalekg_node_id counts are recordedkg_node_id IS NULL OR kg_node_id = ''.refs_json, or related wiki_entities rows.415b277f-03b - Atlas quest7b702f3a-680f-4533-aebe-681a6cf2d2bb.AGENTS.md, the shared wiki-KG linking spec, and relevant planning docs.kg_node_id; no commits were found for this task ID.node_wiki_links entries to specific KG concepts that already occur in knowledge_edges; reject broad navigation placeholders such as OVERVIEW, TR, and DISEASES.wiki_pages.kg_node_id mappings in PostgreSQL with JournalContext(task_id=7b702f3a-680f-4533-aebe-681a6cf2d2bb).SELECT COUNT(*) FROM wiki_pages WHERE COALESCE(kg_node_id,'')='' returned 904 before and 879 after.knowledge_edges; edge reference counts ranged from 1 to 6,137. No placeholder nodes were created./wiki/companies-evgen-pharma, /wiki/companies-vmat-modulators, /wiki/institutions-osaka-neurotherapeutics, /entity/NRF2, /entity/VMAT2, and /entity/BDNF./api/wiki/companies-evgen-pharma returned kg_node_id: "NRF2".wiki_pages.kg_node_id mappings in PostgreSQL via db_writes.save_wiki_page.SELECT COUNT(*) FROM wiki_pages WHERE COALESCE(kg_node_id,'')='' returned 703 before and 678 after.knowledge_edges; edge counts ranged from 2 (Nanomedicine) to 8,682 (ALZHEIMER). No placeholder nodes created./wiki/companies-braingate, /entity/TREM2, /entity/TAU, /api/wiki/companies-vigil-neuroscience returned kg_node_id: "TREM2", /api/wiki/institutions-tpirc returned kg_node_id: "TAU".knowledge_edges row with relation='describes' and source_type='wiki_page'.knowledge_edges (no placeholder nodes created).kg_node_id values that incorrectly had PROTEIN suffix (e.g., BAG6PROTEIN → BAG6); corrected to match existing KG entities.wiki_pages.kg_node_id values updated to canonical form.describes-type wiki_page edges after this batch: 80.729b8b4b-117c-418c-94b3-126ee491b909.kg_node_id.scripts/link_missing_wiki_kg_nodes_729b8b4b.py with 25 curated expert mappings, each backed by verified KG node existence in knowledge_edges.delta=25)./api/wiki/companies-wave-life-sciences returned kg_node_id: "HUNTINGTON"; /api/wiki/institutions-broad-institute returned kg_node_id: "NEURODEGENERATION"; /api/wiki/researchers-carlo-ferraro returned kg_node_id: "PARKINSON".knowledge_edges.kg_node_id updates — created explicit knowledge_edges rows with source_type='wiki_page', target_type='entity', relation='describes', evidence_strength=1.0.entity_type IN ('gene','protein','disease','entity') that lacked canonical_entity_id and had no existing knowledge_edges wiki_page entries.canonical_entity_id on matching wiki pages.wiki_pages.canonical_entity_id for 30 pages (total with canonical_entity_id: 110 → 140).