Skip to content

Increase Frank compaction reserve#2327

Merged
claytono merged 1 commit into
mainfrom
frank-compaction-reserve
Jun 6, 2026
Merged

Increase Frank compaction reserve#2327
claytono merged 1 commit into
mainfrom
frank-compaction-reserve

Conversation

@claytono

@claytono claytono commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Set OpenClaw's compaction reserve token floor for Frank to 40000 so long Slack/task transcripts trigger compaction earlier instead of hitting the context limit reset path.

Set OpenClaw's compaction reserve token floor for Frank to 40000 so long Slack/task transcripts trigger compaction earlier instead of hitting the context limit reset path.
Copilot AI review requested due to automatic review settings June 6, 2026 17:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates Frank’s OpenClaw agent defaults to trigger conversation compaction earlier by increasing the configured compaction reserve token floor, reducing the chance of hitting a hard context-limit reset path during long Slack/task transcripts.

Changes:

  • Add an agents.defaults.compaction block to Frank’s OpenClaw config.
  • Set reserveTokensFloor to 40000.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@claytono claytono enabled auto-merge (rebase) June 6, 2026 17:20
@claytono claytono merged commit 65438c1 into main Jun 6, 2026
20 of 21 checks passed
@claytono claytono deleted the frank-compaction-reserve branch June 6, 2026 17:22
@coderabbitai

coderabbitai Bot commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

Pull request was closed or merged during review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8ef02d57-e0d4-426e-88c9-f0b75c90f02c

📥 Commits

Reviewing files that changed from the base of the PR and between 28158b4 and bda9cb2.

📒 Files selected for processing (1)
  • kubernetes/frank/openclaw.json

Walkthrough

This PR adds a compaction configuration block to agent defaults in the OpenClaw Kubernetes configuration, setting a token reserve floor of 40,000. The change is a single addition to the JSON configuration with no code logic or test modifications.

Changes

Agent Configuration Update

Layer / File(s) Summary
Agent compaction token floor
kubernetes/frank/openclaw.json
Introduces compaction.reserveTokensFloor set to 40000 under agents.defaults in the OpenClaw configuration file.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • claytono/infra#1534: Both PRs modify the same configuration file kubernetes/frank/openclaw.json, adding new configuration settings to agents.defaults.
  • claytono/infra#1952: Both PRs modify kubernetes/frank/openclaw.json under agents.defaults by adding new default configuration fields.
  • claytono/infra#2065: Both PRs modify kubernetes/frank/openclaw.json's agent-default configuration section.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: increasing the Frank compaction reserve configuration value.
Description check ✅ Passed The description clearly explains the purpose of the change: setting OpenClaw's compaction reserve token floor to 40000 to trigger earlier compaction of transcripts.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch frank-compaction-reserve

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants