Session economics: stable session/task attribution + per-session token/cost analytics #97
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/llm-log#97
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Extends #13 and #96.
Goal
Make session identity a first-class durable accounting dimension, not the current generic proxy placeholder.
Ingest
Capture trusted local attribution for:
Strip internal attribution headers before upstream egress as already required by #96. Untrusted external callers cannot forge privileged attribution.
Durable model
Persist stable edges:
Unknown pricing stays unknown.
Analytics
Every applicable analytics/query/export surface must support session as a filter/grouping dimension:
Add bounded indexed operations for session summary, session timeline and session task tree.
Acceptance
A fixture with multiple sessions, tasks, retries and models produces exact non-double-counted rollups before and after expert restart/backfill.