Skip to content

Commit abe086f

Browse files
committed
docs(codex): clarify duplicate compaction attribution
1 parent 8f4df2a commit abe086f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎rust/adapters/codex/src/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Automatic compaction usage is recorded separately:
2525
- Local compactions also emit an advancing `token_count` between the response record and marker. When that snapshot accounts for the record's request usage or matches its cumulative `thread_token_usage`, do not add the usage again. Remote v2 compactions lack this advance.
2626
- Keep its request timestamp and recorded service tier. Missing model metadata uses the active `turn_context` and marks the attribution as a fallback.
2727
- Compaction usage does not advance the normal cumulative baseline or change the active turn model.
28-
- Deduplicate copied compactions by response ID, independently of normal token-count replay matching. Retain the first file's attribution even when files are parsed in parallel.
28+
- Deduplicate copied compactions by response ID, independently of normal token-count replay matching. Retain the first file's session, timestamp, and model attribution even when files are parsed in parallel; merge service tiers across copies.
2929
- Preserve all matched parent compaction IDs in the replay plan, including usage already covered by a cumulative snapshot, so a date-bounded child report does not count a copied request when its parent lies outside the report range.
3030

3131
Relevant speed-setting event in Codex CLI 0.144.0 and later:

0 commit comments

Comments
 (0)