refactor(evidence): migrate runtime consumption (#29)
This commit is contained in:
@@ -518,7 +518,7 @@ def finalize_cmd(session_id: str = typer.Argument(...), config: Path = CONFIG_OP
|
||||
from tht.execute import ExecutionError
|
||||
from tht.execute.warnings import plan_warnings, runtime_warnings, static_warnings
|
||||
from tht.report import extract_reviewer_notes, render_validation_report
|
||||
from tht.session.artifacts import build_evidence_entries
|
||||
from tht.evidence import project_session
|
||||
from tht.phase import cte_plan as effective_cte_plan
|
||||
from tht.phase import effective_decisions
|
||||
from tht.session.models import SchemaLinking
|
||||
@@ -614,7 +614,7 @@ def finalize_cmd(session_id: str = typer.Argument(...), config: Path = CONFIG_OP
|
||||
linking = SchemaLinking.model_validate(
|
||||
json.loads(snapshot.artifacts["schema_linking"])
|
||||
)
|
||||
entries = build_evidence_entries(decisions, linking, cfg.paths.artifacts / "evidence")
|
||||
entries = project_session(decisions, linking, cfg.paths.artifacts / "evidence")
|
||||
evidence = json.dumps(entries, ensure_ascii=False, indent=2)
|
||||
|
||||
# --- manifest + riepilogo ---
|
||||
|
||||
Reference in New Issue
Block a user