TraceRecordingSession
A lightweight session to convert runtime tensors to stable TensorRef ids and optionally resolve them back for diagnostics within the same run.
Notes:
Keys are held strongly; intended for short-lived recording windows.
ID policy: sequential IDs (t0, t1, ...), deterministic within the session.