Catalog citations (generalized pilot)
Date: 2026-08-27
Status: Generalized beyond the Grice/Karver/Southern pilot.
What runs
.venv/bin/python scripts/apply_citations.py
Wired into ./sync_docs.sh after apply_people.py.
What it writes
-
Facility pages (CDM/CSH/ART/EXT/UNI/TTS/MUS/COM) that appear in
publication_resource_links.yamlget a regenerated block: -
Publications (documented vs supporting)
- Related facilities (only via shared
include_in_graphpublications) - People on those publications
-
Sources with comma-grouped markers (
1,4) -
Publication landing pages at
resources/PUB/PUB-*.mdfor every publication that has a person or resource link (~900 pages). -
Persists the pilot’s PUB-014 ↔ CSH-016/CSH-017 collaboration rows into YAML (
include_in_graph: false) so they are not hard-coded.
Person pages link to those PUB landings via generate_people_catalog.py.
Markers
<!-- citations:begin -->
…
<!-- citations:end -->
Legacy citation-pilot markers are stripped on rewrite.
Rules
- No invented facility↔facility edges
- Supporting / method-alignment links stay labeled and out of “related facilities”
- Internal grants stay off public facility citation blocks
- Catalog Standard view chrome applies (see
portal-header.mjs)
Inspect
- Lab with pubs:
/resources/CSH/CSH-017/ - Heavy Steans cluster:
/resources/CSH/CSH-021/ - Paper landing:
/resources/PUB/PUB-013/ - Person hub:
/resources/PER/PER-074/