Skip to content

fix(ui): remove context compact button - #130770

Closed
roboclaw-bot wants to merge 2 commits into
mainfrom
openclaw/new-compact-button-explanation
Closed

roboclaw-bot wants to merge 2 commits into
mainfrom
openclaw/new-compact-button-explanation

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

What Problem This Solves

The Control UI context-usage ring added a separate Compact action at high context pressure. That duplicated compaction status chrome and turned an informational usage indicator into an unexpected session mutation control.

Why This Change Was Made

Keep the context ring read-only. Remove the high-pressure action threshold, composer callback pipeline, action styles, obsolete translations, and stale docs while preserving the warning ring itself.

The existing /compact command, automatic compaction, compaction lifecycle status, and session checkpoint controls are unchanged.

User Impact

At high context pressure, the composer still warns through the context ring, but no adjacent Compact button appears. Operators who intentionally want manual compaction can still use /compact.

Evidence

  • Exact repo-pinned oxfmt 0.60.0 --check passed on all 13 touched files.
  • git diff --check passed.
  • node scripts/check-changed.mjs --dry-run -- <touched files> classified the expected UI, core-test, and docs lanes.
  • Mandatory autoreview passed with no accepted/actionable findings (0.99 patch-correct confidence).
  • Production LOC: +1/-103 (net -102); tests: +31/-11; docs: +1/-1.
  • A browser regression now requires fresh 95% usage to retain warning styling without rendering a context action.
  • Focused remote Vitest/E2E proof was attempted but blocked before tests: Blacksmith Testbox was not authenticated on this host, and two owned AWS Crabbox commands stalled in repository tooling after dependency installation. Both leases were released. Exact-head PR CI is required before landing.

View the OpenClaw team session

OpenClaw-Publication: 37fcd8f7-5da2-4fe3-afcf-c77609e0ab33
@clawsweeper

clawsweeper Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Aug 27, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Superseded by #130775, which carries the same compact-button removal rebased onto current main without requiring a force-push.

@RomneyDa
RomneyDa deleted the openclaw/new-compact-button-explanation branch October 22, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant