Skip to content

fix(control-ui): clarify slash-command descriptions - #194698

Merged
vyctorbrzezowski merged 5 commits into
mainfrom
brzezowski/slash-command-descriptions
Nov 7, 2026
Merged

vyctorbrzezowski merged 5 commits into
mainfrom
brzezowski/slash-command-descriptions

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Some slash-menu descriptions contain command syntax, unclear wording, or claims that do not match their handlers.

User Impact

Commands have short, direct descriptions. The Control UI correctly describes its local agent list and usage report; other channels keep descriptions suited to their handlers. Model scope flags and loop syntax remain in the existing argument descriptions and command help.

Why This Change Was Made

Keep action summaries separate from usage instructions. Reuse the existing UI description overrides and English catalog; leave other locales unchanged.

The slash menu shows descriptions without a trailing period.

This formatting happens only when rendering command rows in the chat slash menu. A single final . is removed; … and ... are preserved. The 13 description rewrites below show the source text.

Command Before After
/learn (shared) Learn from recent work or named sources into skills or memory. Save lessons from recent work or named sources to skills or memory.
/loop (shared) Loop a prompt: /loop [interval] <prompt> | /loop status | /loop stop [name] Run and manage recurring prompts in this conversation.
/diagnostics (shared) Explain Gateway diagnostics and Codex feedback upload options. Request Gateway diagnostics and optional Codex feedback uploads.
/allowlist (shared) List/add/remove allowlist entries. List, add, or remove allowlist entries.
/approve (shared) Approve or deny exec requests. Approve or deny pending requests.
/agents (shared) List thread-bound agents for this session. List agents and conversation bindings for this session.
/usage (shared) Usage footer or cost summary. Set the usage footer or show a cost summary.
/send (shared) Set send policy. Control message delivery for this session.
/model (shared) Show or set the model; use -s, -a, or -g to choose scope. Show or set the model.
/models (shared) List model providers/models. List model providers and their models.
/bash (shared) Run host shell commands (host-only). Run shell commands on the host.
/agents (Control UI) List thread-bound agents for this session. List available agents
/usage (Control UI) Usage footer or cost summary. Show token and context usage for this session

Evidence

View Before After
Tools view Before Tools view After Tools view
Agents view Before Agents view After Agents view

Captured from the real Control UI against a local Gateway with no model credentials, so the composer shows No models available.

The two After screenshots use 230206193a7137a1a71427894840ae94b87b2d99. They were inspected and preserved under the incoming screenshot recapture waiver. The later repair changes only the test fixture.

Validation

  • Focused registry/argument, UI command catalog/executor, and composer accessibility checks exercised 102 tests. The initial run found one fixture failure: the assertion read skeleton rows before the lazy row renderer loaded. The fixture now waits for the existing busy fallback to retire, retaining the original assertions. The corrected composer file passes all 10 tests (2.58s runner wall with --maxWorkers=1).
  • The retained accessibility assertion fails with the original untrimmed renderer. All 10 composer tests also pass with the preceding keyboard-order implementation applied; the temporary integration inputs were restored afterward.
  • Targeted formatting/lint, pnpm tsgo:ui, keyless locale baseline/source verification, the Control UI controller guard, the test-line ratchet, and git diff --check pass. Locale validation generated no source changes; no foreign catalogs were regenerated. Net test growth is four lines and stays within the existing budget.
  • Installed independent autoreview found no actionable P0–P2 issues in the functional diff or fixture repair. Shared handlers and Control UI overrides were reviewed; model scope flags and loop syntax remain in argument metadata/help.

The final candidate is ea0585930b85a1d95a49d970005167b9e75f4e78. The original commits and revert are preserved. Final CI/security observation is delegated to the parent preparation flow. No full UI/E2E suite or screenshot recapture was run. The sibling Codex checkout was unavailable; diagnostics copy was verified against the local request/approval handler, not upstream Codex execution.

@vyctorbrzezowski vyctorbrzezowski self-assigned this Nov 7, 2026
@clawsweeper

clawsweeper Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review in progress

ClawSweeper is reviewing this revision. This supersedes any previous blocked status.

View the workflow run.

@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. labels Nov 7, 2026
@clawsweeper clawsweeper Bot removed the clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. label Nov 7, 2026
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review November 7, 2026 23:46
@vyctorbrzezowski
vyctorbrzezowski merged commit 3543d85 into main Nov 7, 2026
177 of 179 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/slash-command-descriptions branch November 7, 2026 23:49
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 8, 2026
Clarify shared and Control UI slash-command descriptions and omit a single trailing period from displayed command rows.

Co-authored-by: Vyctor H. Brzezowski <[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 clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant