Skip to content

[Superseded by #192415] improve(ui): clarify slash-command guidance and results - #192107

Closed
roboclaw-bot wants to merge 2 commits into
mainfrom
openclaw/copy-c1
Closed

roboclaw-bot wants to merge 2 commits into
mainfrom
openclaw/copy-c1

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Control UI slash-command feedback uses inconsistent terms such as “active run,” title-case headings, and failure messages that lead with a diagnostic instead of a recovery action.

User Impact

Commands use “reply,” “effort,” sentence-case headings, and actionable failure summaries. Diagnostics remain available in a separate paragraph. Slash tokens, command behavior, permissions, and redaction are unchanged.

Before After
Inject a message into the active run Guide the agent’s current reply
Clear chat history Clear this conversation
Available Commands Available commands
Failed to get model info: … Couldn’t load model details. Try again. + diagnostic paragraph
Prompt budget (last run) Prompt budget (last reply)
Session capability is unavailable Couldn’t access this session. Open another session and try again.

Why This Change Was Made

Applies the approved Control UI glossary to the slash-command catalogs and moves the executor’s connection-change text into the English catalog. Updates quoted command feedback in the Chat documentation and all affected assertions. Retains the existing result contract rather than introducing another error-rendering owner.

Follow-up: effort glossary correction

Vyctor’s copy audit found five error strings still using “thinking level.” All eight strings in that command-result group now use “effort,” including the current value, reset confirmation, and set confirmation. The failure-matrix regression rejects the retired terms, and real-Gateway assertions quote the updated copy. The complete PR copy diff was re-read against the approved glossary; no additional glossary changes were needed. Internal translation keys and slash tokens remain unchanged.

Before After
Current thinking level: {level}. Current effort: {level}.
Couldn’t load the thinking level. Try again. Couldn’t load effort. Try again.
Thinking level reset to default. Effort reset to default.
Couldn’t reset the thinking level. Try again. Couldn’t reset effort. Try again.
Couldn’t change the thinking level to “{level}”. Choose {options}. Couldn’t change effort to “{level}”. Choose {options}.
Couldn’t use thinking level “{level}” with this model. Choose {options}. Couldn’t use effort “{level}” with this model. Choose {options}.
Thinking level set to {level}. Effort set to {level}.
Couldn’t change the thinking level. Try again. Couldn’t change effort. Try again.

Existing diagnostic placeholders are unchanged. The final follow-up passed pnpm ui:i18n:verify with a three-minute timeout and the normal pre-commit hook.

Follow-up Gaps

Per Vyctor’s revised instructions, no further browser, e2e, screenshot, full-test, or CI runs were started after the correction to the test plan. The final real-Gateway assertion updates were not rerun. An earlier follow-up e2e attempt exposed two stale “Current thinking level” assertions; both are corrected, but this is not a passing final-head e2e claim. Earlier unit and visual results below are historical evidence, not a substitute for landing-time validation. No CI watching or landing was performed.

Evidence from the earlier PR revision

  • 68 unit tests passed across the executor, failure matrix, command metadata, and root-copy loading.
  • 5 browser/real-Gateway tests passed across inference setup and thinking metadata.
  • Mocked Control UI visual harness: 2 before/after scenarios passed; synthetic data, light theme, same-frame crops. Screenshots below were inspected locally and again from their public attachment URLs.
  • pnpm ui:i18n:baseline completed with no baseline diff; pnpm ui:i18n:verify passed.
  • Touched-file oxfmt and oxlint, UI TypeScript check, and git diff --check passed.
  • Local chat boot budget vs source base 1248bee4959bf403d1823fc0748d291354cee074: JS gzip 1,280,959 → 1,280,944 bytes (−15); 20 → 20 requests. CSS gzip 130,910 → 130,910 bytes; 3 → 3 requests.
  • Fresh independent review found two stale text assertions; both are fixed. Author simplification pass retained the existing executor/result/redaction owners.

CI blocker from the earlier PR revision

The PR is not ready to land. Control UI performance failed on the CI merge against base 2cf02a5d104a4dfccd62dc90ebd33e8f417b972c: chat boot JS gzip 1,280,794 → 1,281,067 bytes (+273). That base already exceeds the cap; the allowed build variance is 64 bytes. The aggregate CI gate therefore fails.

Reproducing locally on that exact newer base also failed (+308 bytes). Shorter menu descriptions did not resolve it (+538 bytes); that experiment and the investigative rebase were reverted, leaving the reviewed source unchanged. No budget, baseline, or permission exception was added. Resolving this merge-base-sensitive boot-size regression remains required.

Visual proof

Surface Before After
Steer menu Before: steer menu After: steer menu
Model command failure Before: model command failure After: model command failure

Gaps and retained behavior

The shared F1 collapsed “Show details” contract is not on this base. Raw {error}/{reason} diagnostics remain in the existing result content, separated from the summary by a paragraph: compaction failed/skipped; model get/set; effort get/reset/set; verbose get/set; fast get/reset/set; usage; agents; steer and redirect requests. No new error component or competing result contract is added.

Visual failure proof invokes the real executor with a synthetic failing capability and delivers its result through the mocked transcript renderer; it is not a live provider failure. Compatible short labels and slash tokens are unchanged.

Worked on by

Before: thinking level command error, synthetic data

After: effort command error, synthetic data

roboclaw-bot and others added 2 commits November 3, 2026 16:55
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 1ae05207-0a66-4e2e-9313-5124857b6c50
@clawsweeper

clawsweeper Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Slash-command copy: visual proof

Synthetic mocked Control UI, light theme. Inspected same-frame crops.

Command menu

Before:

Before: steer menu

After:

After: steer menu

Model command failure

Before:

Before: model command failure

After:

After: model command failure

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: S labels Nov 3, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review November 3, 2026 16:56
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 3, 2026
@clawsweeper

clawsweeper Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR clarifies slash-command descriptions and results, separates diagnostics from recovery guidance, and updates documentation and affected assertions.

Example: The user runs /model and the request fails with Network connection lost.

  • Before: Failed to get model info: Network connection lost.
  • After: Couldn’t load model details. Try again. Network connection lost.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The focused patch has no identified correctness or security defect; inspected visual evidence covers representative copy through a synthetic harness.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor proof gate; inspected screenshots demonstrate the changed menu and failure text, with the mocked transcript limitation explicitly disclosed.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Slash-command descriptions expose internal run terminology, and failures mix recovery guidance with diagnostics.
Reason: The maintainer-authored direction is established, and the change improves understandable feedback with minimal implementation cost.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: the maintainer-authored copy improvement is useful and introduces no identified correctness defect, while the failed performance gate still needs attribution.

Priority: P3
Reviewed head: d1e3dca77ce2eb4816b1ef0ca030b8a36b4dc286

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The failure screenshot exercises the real executor with synthetic failure input and a mocked transcript, rather than a failure displayed through the shipped Control UI transcript.
Agent review details

How this fits together

The Control UI command registry supplies menu descriptions, and the command executor translates Gateway results into Markdown feedback displayed in the conversation.

flowchart LR
  A[Chat composer] --> B[Command registry]
  B --> C[Command executor]
  C --> D[Session capability and Gateway]
  D --> C
  E[English catalogs] --> B
  E --> C
  C --> F[Conversation feedback]
Loading

Technical review

Best possible solution:

Retain the focused catalog and executor changes, preserving the existing result, authorization, and redaction owners.

Do we have a high-confidence way to reproduce the issue?

Current-main catalogs contain the reported wording, and the inspected before screenshots show the steer description and model-failure example; no target code was executed during this review.

Is this the best way to solve the issue?

The patch uses the existing catalog and failure-result owners, preserves diagnostic redaction and command behavior, and is already a small complete implementation of the stated copy improvement.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 404491496160.

Provenance checked

  • Localized command descriptions and results changes intended behavior with a stated reason (fix(ui): localize remaining control surfaces #115730: Route Control UI command feedback through the existing localization catalog; later catalog extractions preserved that ownership.)
  • Lazy command-copy registration keeps the original intent (353db54: Defer command execution and cold English copy to preserve Chat and New Session boot headroom.)
  • Shared failure-result construction keeps the original intent (9341795: Consolidate duplicate failure builders while preserving formatting, translation, and failed-result semantics.)
  • Delayed-command connection validation keeps the original intent (fix: stop delayed chat commands crossing gateway reconnects #118019: Prevent delayed commands from crossing Gateway reconnects or changing their target authorization context.)
  • Prompt-budget label changes intended behavior with a stated reason (1580e46: Identify the validated budget from the last run rather than imply an exact current compaction threshold; this PR changes the user-facing term to reply while retaining the calculation.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 353db54 adds ui/src/pages/chat/chat-command-executor.ts:51 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 353db5496220; files: ui/src/pages/chat/chat-command-executor.ts)
  • Vincent Koc: Raw commit 9341795 adds ui/src/pages/chat/chat-command-executor.ts:78 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 93417952a25d; files: ui/src/pages/chat/chat-command-executor.ts)

PR surface

Source 0, Tests +2, Docs +10, Other +2. Total +14 across 11 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 3 39 39 0
Tests 6 9 7 +2
Docs 1 10 0 +10
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 0 +2
Total 11 60 46 +14

Labels

Label changes:

  • add P3: This is a bounded usability and wording improvement without an identified broken command workflow.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is a bounded usability and wording improvement without an identified broken command workflow.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 3, 2026, 12:14 PM ET / 17:14 UTC.

@roboclaw-bot roboclaw-bot changed the title improve(ui): clarify slash-command guidance and results [Superseded by #192415] improve(ui): clarify slash-command guidance and results Nov 4, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Superseded by #192415, which preserves this copy change and includes the approved effort-wording corrections. Closing the duplicate; no branch deletion or merge.

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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant