Repository navigation
fix(router): bound incremental summary growth - #3599
Merged
Merged
Conversation
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.
Router summaries could grow past the 2048-token prompt target and inflate later classifier inputs. Enforce a conservative final-text admission budget for live updates and history bootstrap, with one tighter rewrite from the same source under the existing deadline and queue permit. Rejected or failed results retain the accepted summary and pending observations. Record per-attempt length, latency, and known usage without logging summary text.
Smart mode remains release-disabled. Saved settings, environment variables, and manual activation cannot enable it. This change does not alter the summary model's thinking settings or include the reverted GPT compatibility work.
Validation:
git diff --checkpassed.Validation covers local fixtures and loopback providers; SSH workspaces, remote control, Peer Device Mode, and detached dispatch were not exercised end to end.