Repository navigation
feat(roadmap): keep the tokens of each implement attempt - #4594
Merged
Merged
Conversation
Owner
Author
|
Test evidence.
On the branch,
Overlap with open pull requests: #4553 (#4387) changes |
dan-petty
marked this pull request as ready for review
November 11, 2026 10:48
Each entry under implement.spend.steps holds the requests, the input and output tokens, the repair rounds and the largest request of the step, apart from the trace that drops old events.
dan-petty
force-pushed
the
feat/4587-keep-attempt-tokens
branch
from
November 11, 2026 12:57
e1fe663 to
05196cf
Compare
dan-petty
enabled auto-merge (squash)
November 11, 2026 12:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The record
implement.spendkept only the first request of each step, and the trace drops its oldest model events in a long run, so no record showed which step used the tokens or its largest request. Each entry underimplement.spend.stepsnow also holds the requests, the input and output tokens, the repair rounds andlargest_request_tokensof the step. The budget count does not change. The cached and uncached split waits for #4553, which addscache_read_tokenstoStepOutcomeon the same lines.Closes #4587
Change:
openspec/changes/archive/2026-11-11-4587-keep-the-tokens-of-each-implement/