Forward glossary provenance without transcript substitution

This commit is contained in:
2026-09-12 11:51:38 +02:00
parent 77be2b39ff
commit 500d2c4c67
6 changed files with 39 additions and 1 deletions
+5
View File
@@ -355,6 +355,11 @@ def render_glossary_terms(entries: Iterable[GlossaryEntry]) -> list[str]:
return rendered
def glossary_alias_mapping(entries: Iterable[GlossaryEntry]) -> dict[str, str]:
"""Return explicit alias configuration for provenance, not substitution."""
return {alias: entry.canonical_term for entry in entries for alias in entry.aliases}
def _timestamp() -> str:
return datetime.now(UTC).isoformat(timespec="seconds")