Cost is a fold over the log, not a second write path¶
Decision 287 · accepted · 2026-09-13
Every model call already
left a durable llm_response; making it carry the model, the gateway's request id
and the cost means the ledger is derivable from what the pod already wrote down.
The alternative — a second record kept beside the log — has to be made durable
itself, and then has its own recovery story. This one's recovery story is
Log.replay_from/2.
Governs: apps/troupe_core/lib/troupe/session/log.ex