[PR #13110] docs(config): clarify pruning behavior and disable options #14514

Open
opened 2026-02-16 18:19:18 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13110

State: open
Merged: No


What does this PR do?

Fixes #3917.

Expands the compaction docs in config.mdx to explain what pruning actually does, why token usage can appear to fluctuate, and how to disable pruning/auto-compaction.

How did you verify your code works?

  • Verified the docs match current config/schema flags and behavior:
    • compaction.prune
    • OPENCODE_DISABLE_PRUNE
    • OPENCODE_DISABLE_AUTOCOMPACT
  • Validation will run in GitHub Actions CI for docs checks.
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13110 **State:** open **Merged:** No --- ### What does this PR do? Fixes #3917. Expands the `compaction` docs in `config.mdx` to explain what pruning actually does, why token usage can appear to fluctuate, and how to disable pruning/auto-compaction. ### How did you verify your code works? - Verified the docs match current config/schema flags and behavior: - `compaction.prune` - `OPENCODE_DISABLE_PRUNE` - `OPENCODE_DISABLE_AUTOCOMPACT` - Validation will run in GitHub Actions CI for docs checks.
yindo added the pull-request label 2026-02-16 18:19:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14514