You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c4ddff2
Browse filesBrowse the repository at this point in the historyBrowse files
Carry the claimed writer independently of optional ordered context telemetry. Preserve unknown/zero chronology and exact-writer fencing; repair live admission, directory ownership, tool-event capability and cache-contract fixtures.
Fixes#133346. Related to #133260.
Copy file name to clipboardExpand all lines: docs/reference/session-management-compaction.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -195,6 +195,8 @@ Two different concepts:
195
195
1.**Model context window**: hard cap per model (tokens visible to the model). Comes from the model catalog and can be overridden via config.
196
196
2.**Session store counters**: rolling stats written into the session row (used for `/status` and dashboards). `contextTokens` is a runtime estimate/reporting value - do not treat it as a strict guarantee.
197
197
198
+
Completed turns update session counters even when no compaction occurred. An ordered context replacement takes precedence over earlier model usage; if its size is unknown, the counters are marked stale instead of borrowing an older request's total. A superseded run cannot overwrite the current writer's counters.
199
+
198
200
More on limits: [/reference/token-use](/reference/token-use).
0 commit comments