Skip to content

docs(www): document experimental.precompute_compaction - #58213

Open
opencode-agent[bot] wants to merge 1 commit into
devfrom
docs-background-compaction
Open

opencode-agent[bot] wants to merge 1 commit into
devfrom
docs-background-compaction

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Documents experimental.precompute_compaction (added in #57444) in the Experimental section of the config docs: what it does, the example config, and when the held summary is used, discarded, or skipped.

How did you verify your code works?

astro check passes with 0 errors, and the built config page renders the new section and table.

Requested by: @rekram1-node (Aiden Cline via Slack)


Added by the opencode bot (AI-generated).

Related: #55896

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new docs match the implementation. I checked the default, the 85% / 64k start conditions, the rules for discarding a stale summary, manual vs. overflow compaction, waiting for an in-progress summary, and the in-memory lifetime against packages/core/src/session/compaction.ts and the config wiring. I have no concerns.

The public API is unchanged: this PR only adds docs for an existing config key.

Related: #55896

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant