Files
Filip Kujawa e4bd435dec refactor(session): fold parent usage update into a single UPDATE
Address review: replace the two-statement parent metrics update (set usage +
add_accumulated_usage) with one SessionManager::update_usage_metrics that sets
the context-window columns and increments the accumulated totals/cost in a
single atomic UPDATE. add_accumulated_usage remains for the subagent roll-up,
which only touches accumulated columns.
2026-06-30 21:23:02 -07:00
..