18 lines
519 B
Python
18 lines
519 B
Python
"""Legacy session-artifact entrypoints retained during the Evidence migration."""
|
|
|
|
from pathlib import Path
|
|
|
|
from tht.decisions import DecisionRecord
|
|
from tht.session.models import SchemaLinking
|
|
|
|
|
|
def build_evidence_entries(
|
|
decisions: list[DecisionRecord],
|
|
linking: SchemaLinking,
|
|
evidence_root: Path,
|
|
) -> list[dict]:
|
|
"""Compatibility shim for callers not yet migrated to ``tht.evidence``."""
|
|
from tht.evidence import project_session
|
|
|
|
return project_session(decisions, linking, evidence_root)
|