Skip to content

agent: Respect compaction boundaries in request windows - #58241

Merged
rtfeldman merged 2 commits into
mainfrom
handoff/03-request-window-helpers
Jun 1, 2026
Merged

agent: Respect compaction boundaries in request windows#58241
rtfeldman merged 2 commits into
mainfrom
handoff/03-request-window-helpers

Conversation

@rtfeldman

Copy link
Copy Markdown
Contributor

Agent request construction now honors persisted compaction markers by rebuilding the model-visible window from the latest boundary, retaining recent user context for summary compactions, and treating provider-native compactions as suffix-only until native replay lands.

Release Notes:

  • N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
@rtfeldman rtfeldman self-assigned this Jun 1, 2026
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 1, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 1, 2026
@rtfeldman
rtfeldman marked this pull request as ready for review June 1, 2026 15:55
@rtfeldman
rtfeldman enabled auto-merge June 1, 2026 15:55
@rtfeldman
rtfeldman added this pull request to the merge queue Jun 1, 2026
Merged via the queue into main with commit b9892c5 Jun 1, 2026
32 checks passed
@rtfeldman
rtfeldman deleted the handoff/03-request-window-helpers branch June 1, 2026 16:03
TomPlanche pushed a commit to TomPlanche/zed that referenced this pull request Jun 2, 2026
…es#58241)

Agent request construction now honors persisted compaction markers by
rebuilding the model-visible window from the latest boundary, retaining
recent user context for summary compactions, and treating
provider-native compactions as suffix-only until native replay lands.

Release Notes:

- N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
This was referenced Jun 18, 2026
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
…es#58241)

Agent request construction now honors persisted compaction markers by
rebuilding the model-visible window from the latest boundary, retaining
recent user context for summary compactions, and treating
provider-native compactions as suffix-only until native replay lands.

Release Notes:

- N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
…es#58241)

Agent request construction now honors persisted compaction markers by
rebuilding the model-visible window from the latest boundary, retaining
recent user context for summary compactions, and treating
provider-native compactions as suffix-only until native replay lands.

Release Notes:

- N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants