# agent: Respect compaction boundaries in request windows \(\#58241\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/b9892c593fbaa79b2b8810ed4e16e51b30e3ab80)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: b9892c593fbaa79b2b8810ed4e16e51b30e3ab80

Requested commit: b9892c593fbaa79b2b8810ed4e16e51b30e3ab80

Commit: b9892c593fbaa79b2b8810ed4e16e51b30e3ab80

Tree: 4d9523b8586dd6260307e3978c9ed53458cc7f15

Author: Richard Feldman

Committer: GitHub

## Message

```
agent: Respect compaction boundaries in request windows (#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>
```

## Parents

- [513e2b2ee3d59373bbafc5995119088d3ea2d368](https://git.cafe/gitcafe/zed/commit/513e2b2ee3d59373bbafc5995119088d3ea2d368?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/b9892c593fbaa79b2b8810ed4e16e51b30e3ab80?format=markdown)
