Skip to content

improve(ui): clarify slash-command guidance and results - #192415

Merged
vyctorbrzezowski merged 11 commits into
mainfrom
openclaw/ember-krill
Nov 4, 2026
Merged

vyctorbrzezowski merged 11 commits into
mainfrom
openclaw/ember-krill

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 4, 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

An earlier revision had a performance gate failure. 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. These measurements are historical; the authorized budget-only exception applies if needed at landing.

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.

Supersedes #192107 (publisher created a new branch)

Effort fixes in this PR

  • Current value, reset confirmation, and set confirmation use “effort.”
  • Load, reset, unsupported-value, unsupported-model, and set failures use “effort.”
  • Real-Gateway assertions quote “Current effort” and “Couldn’t use effort.”
  • The remaining retired-term match was a negative test assertion, not displayed copy; it now positively asserts “effort” for effort-command failures.

Worked on by

Before: thinking level command error, synthetic data

After: effort command error, synthetic data

Landing integration preserves the current canonical command-result keys and executor error owner, with one approved connection-changed message. All 70 focused command/executor/root-copy tests and i18n verification passed. The exact three-line allocation covers own growth; the remaining 110-line base debt is recorded. No full suite or fresh visual capture was repeated.

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

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

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

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: d033b8c1-3668-4162-ab74-b74d84f8733f
@clawsweeper

clawsweeper Bot commented Nov 4, 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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: S labels Nov 4, 2026
@roboclaw-bot roboclaw-bot changed the title Publish openclaw/ember-krill improve(ui): clarify slash-command guidance and results Nov 4, 2026
roboclaw-bot and others added 2 commits November 4, 2026 00:21
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 125fa6d2-faa7-4156-8075-eaf48133a895
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment 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-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 4, 2026
@clawsweeper

clawsweeper Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR clarifies slash-command descriptions, results, and recovery guidance using the existing English catalogs.

Example: Running /model 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) A focused, useful patch with no identified correctness defect; visual evidence is representative harness proof, and current CI is not green.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor proof gate; inspected menu, model-error, and effort screenshots demonstrate the visible copy changes, with synthetic executor input and mocked transcript limitations 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 feedback exposes internal run terminology and mixes recovery guidance with diagnostics.
Reason: The collaborator-authored direction is established, and clearer feedback has useful user value at 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 failed CI gates still need reconciliation before landing.

Priority: P3
Reviewed head: 42c3b3128892567fe8e6ec5ba97165e6906357b4

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Failure visuals use synthetic capabilities and a mocked transcript; final real-Gateway effort assertions were not rerun, and no base-red/head-green execution is supplied.
Agent review details

How this fits together

The Control UI command registry supplies menu descriptions, and its executor turns Gateway responses into localized 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 changes and existing executor, result, localization, and redaction owners.

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

Current-main catalogs contain the reported terminology, and inspected before screenshots demonstrate representative wording; no target code was executed.

Is this the best way to solve the issue?

The patch is the smallest complete copy improvement: it changes existing catalog values, localizes one existing error, and updates affected consumers without adding machinery.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Localized descriptions and command results changes intended behavior with a stated reason (fix(ui): localize remaining control surfaces #115730: Route command feedback through the existing localization catalog so locale selection applies consistently.)
  • 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 (de9bc99: 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 promise an exact compaction threshold; this PR changes the user-facing term to reply while preserving 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)
  • Shakker: Raw commit de9bc99 adds ui/src/pages/chat/chat-command-executor.ts:82 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: de9bc994c7d8; files: ui/src/pages/chat/chat-command-executor.ts)

PR surface

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

View PR surface stats
Area Files Added Removed Net
Source 3 42 42 0
Tests 6 12 9 +3
Docs 1 10 0 +10
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 0 +2
Total 11 66 51 +15

Root-cause cluster

Relationship: canonical
Canonical: #192415
Summary: This PR replaces the earlier publisher branch for the same slash-command copy work.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

  • add P3: This is a bounded wording and usability 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 wording and usability 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.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Establish the numeric cause of the test-line failure before assigning any branch repair.

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, 7:42 PM ET / November 4, 2026, 00:42 UTC.

@vyctorbrzezowski
vyctorbrzezowski merged commit 3e1fea5 into main Nov 4, 2026
33 of 34 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/ember-krill branch November 4, 2026 13:38
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 5, 2026
)

improve(ui): clarify slash-command guidance and results

Co-authored-by: vyctorbrzezowski <[email protected]>
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.

2 participants