Repository navigation
improve(ui): clarify slash-command guidance and results - #192415
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 1ae05207-0a66-4e2e-9313-5124857b6c50
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 1ae05207-0a66-4e2e-9313-5124857b6c50
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: d033b8c1-3668-4162-ab74-b74d84f8733f
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 125fa6d2-faa7-4156-8075-eaf48133a895
|
Codex review: needs maintainer review before merge. What this changesThis PR clarifies slash-command descriptions, results, and recovery guidance using the existing English catalogs. Example: Running /model fails with “Network connection lost.”
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete 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 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe 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]
Technical reviewBest 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
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource 0, Tests +3, Docs +10, Other +2. Total +15 across 11 files. Added test files: 0. View PR surface stats
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 3, 2026, 7:42 PM ET / November 4, 2026, 00:42 UTC. |
) improve(ui): clarify slash-command guidance and results Co-authored-by: vyctorbrzezowski <[email protected]>
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.
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.
Existing diagnostic placeholders are unchanged. The final follow-up passed
pnpm ui:i18n:verifywith 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
pnpm ui:i18n:baselinecompleted with no baseline diff;pnpm ui:i18n:verifypassed.git diff --checkpassed.1248bee4959bf403d1823fc0748d291354cee074: JS gzip 1,280,959 → 1,280,944 bytes (−15); 20 → 20 requests. CSS gzip 130,910 → 130,910 bytes; 3 → 3 requests.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
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
Worked on by
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.