# Add context compaction markers \(\#58089\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b259b346bf71302a68e08eb7fda13451366f6ae6

Requested commit: b259b346bf71302a68e08eb7fda13451366f6ae6

Commit: b259b346bf71302a68e08eb7fda13451366f6ae6

Tree: 3cbd2a1328013b048aa531106577008faa945f95

Author: Richard Feldman

Committer: GitHub

## Message

```
Add context compaction markers (#58089)

Adds the flat context compaction marker data model and replays persisted
markers into native agent transcripts as static dividers. This lets
compacted thread boundaries deserialize, render, and export to Markdown
without enabling automatic compaction behavior yet.

Release Notes:

- Improved agent threads to show restored context compaction dividers in
conversations
```

## Parents

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

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