Repository navigation
fix(roadmap): count the reported input in the run window estimate - #4238
Merged
Merged
Conversation
Owner
Author
|
Test record for #4221.
|
dan-petty
force-pushed
the
fix/4221-window-estimate-tracks-real-input
branch
from
November 9, 2026 16:13
dd8c2a7 to
ff0f6eb
Compare
Owner
Author
|
Update after the rebase onto origin/main (four commits came in; no conflict, no overlap with the files of this change).
|
dan-petty
marked this pull request as ready for review
November 9, 2026 16:53
dan-petty
pushed a commit
that referenced
this pull request
Nov 9, 2026
🤖 I have created a release *beep* *boop* --- ## [0.101.1](v0.101.0...v0.101.1) (2026-11-09) ### Bug Fixes * **devcontainer:** a rejected unlock password becomes the keyring password ([#4249](#4249)) ([cc3d22e](cc3d22e)) * **roadmap:** count the reported input in the run window estimate ([#4238](#4238)) ([af9c27a](af9c27a)) * **roadmap:** send one tool call at a time to a Claude group ([#4243](#4243)) ([b855601](b855601)) ### Code Refactoring * **ai:** replace PydanticAgent with pydantic-ai Agent ([#4237](#4237)) ([5edd7a5](5edd7a5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This was referenced Nov 9, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 9, 2026
…4260) The stage job kept only the last problem of a refused reply and kept no refused reply, so a failed plan could not be read. A reply of placeholders in every text also used the second request and gave the same reply. The job now logs each refused reply with the request number, the input tokens and the tool offer, keeps the first and second refused reply with their problems in a file beside the plan file until the item is staged, and ends a placeholder reply at once as the new result degenerate (metric and stage eval). Other changes removed the causes of the placeholder replies: #4215, #4216, #4224, #4238 and #4243. Closes #4204 Change: `openspec/changes/archive/2026-11-09-4204-keep-refused-stage-reply/`
2 tasks
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 window estimate of an investigation run counted the JSON dump of all messages. That count ran about 1.4 times above the reported input of the provider, so tools were refused too early. The estimate now takes the usage of the last reply (input plus output) and adds the text after it. If the provider reports no input, it counts the text parts, not the JSON.
Closes #4221
Change:
openspec/changes/archive/2026-11-09-4221-window-estimate-tracks-real-input/Elapsed: 9.93s