Skip to content

improve: use plain language in docs and user-facing messages - #168370

Closed
RomneyDa wants to merge 1 commit into
mainfrom
improve/plain-language-docs-and-messages
Closed

RomneyDa wants to merge 1 commit into
mainfrom
improve/plain-language-docs-and-messages

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

Superseded by 22 independent area PRs below. Do not merge this original wide PR.

Related: #168322

What Problem This Solves

The original wording cleanup touched too many file areas. The first split incorrectly made the replacements depend on one another.

User Impact

Every remaining wording PR targets main and can be merged independently, with only its intended area changes.

Why This Change Was Made

All 22 open PRs are now based directly on main, with one signed area commit each and no predecessor commits. Their descriptions no longer prescribe a stack merge order. The eight remaining docs-only PRs still avoid unrelated runtime and native build lanes.

Three child PRs were already merged into their feature-branch parents, not main. Those edits are preserved in the surviving parents:

The largest surviving docs area has 111 files because it includes an already-merged child. All 1,014 original files remain accounted for, with no overlapping file ownership between active PRs. Exact-message consumers and generated help inputs stay with their owners. The original source history is retained; this closed PR is only the cleanup index.

Evidence

  • Verified every new branch is exactly one signed commit on the same current main, with its intended area file list and a clean local merge. Source/test wording edits are unchanged from the reviewed version. Two docs edits were adapted to preserve newer transcript-display and node-authentication behavior.
  • Nine targeted checks passed on the relevant independent heads: configuration/channel metadata, UI translations, plugin inventory, prompt snapshots, and formatting/MDX checks for both adapted docs areas. Both anchor audits report one unchanged release-note link to /providers/openai/runtimes#agents-api-mvp; the same failure reproduces on untouched main. This inherited failure is not a passing check. Each new commit passed the normal staged-content guard and whitespace check.
  • Prior combined-edit-set proof remains 96 selected test files, fifteen docs/generated checks, scoped lint, code/JSON comparisons, and seven copy-review passes. Those tests were not all rerun for this mechanical restack. One prior filesystem-watch assertion timed out in the broad replay; its full 39-test suite passed a focused rerun without source edits.
  • Remote verification checked every remaining PR's actual main base, exact new head, one commit, and complete file list. New-head CI and reviews are pending work, not proof of merge readiness. Full native builds, full UI browser suites, and live integrations were not run locally. No additional PRs were merged during this update.
Original parts File area Active PR Files Base Path-selected CI
1 Getting started, installation, and providers #168693 64 main Docs-only
2 CLI and troubleshooting docs #168694 73 main Docs-only
3 Concepts and automation docs #168695 55 main Docs-only
4 Gateway operations docs #168696 75 main Docs-only
5, 6 Security, authentication, and channel setup docs #168697 90 main Docs-only
7, 8 Tool, node, and plugin user guides #168699 111 main Docs-only
9 Plugin SDK and authoring docs #168701 69 main Docs-only
10 Reference and CI docs #168702 50 main Docs-only
11 Settings and configuration help #168703 29 main Node, UI, fast install smoke
12 macOS messages and docs #168704 9 main macOS and native translations
13 iOS release messages and docs #168705 13 main Node, iOS, native translations
14 Android release messages and docs #168706 7 main Android
15 Linux messages and docs #168707 4 main Node / Linux path
16 Repository tooling and contribution guidance #168708 16 main Node and install smoke
17 Agent, exec, and automation messages #168709 40 main Node
18 Gateway and security diagnostics #168710 29 main Node and fast install smoke
19 CLI, Doctor, and service diagnostics #168711 76 main Node and Windows
20 State, migration, and update diagnostics #168712 52 main Node and Windows
21 Codex and provider plugins #168713 33 main Node and UI translations
22 Messaging and calling plugins #168714 45 main Node, UI translations, fast install smoke
23 Workspace and memory plugins #168715 54 main Node and UI translations
24, 25 Browser, tool, and approval help #168716 20 main Node, UI translations, install smoke, and all native app builds
Original single-PR description and evidence (superseded)

Closes #168322

What Problem This Solves

Docs and messages use jargon where everyday words explain the action more clearly.

User Impact

English documentation, help, prompts, and UI messages are easier to read, without changing commands, settings, or access rules.

Why This Change Was Made

Reviewed the requested words, including spaced, joined, and hyphenated forms, in context across maintained docs and user-facing messages. Replaced vague claims with direct instructions and explained retries and blocked operations in plain language.

Kept exact command names, config keys, protocol fields, upstream errors, and precise technical uses. Existing heading links still work. Historical release notes and translated pages are untouched; the renamed page title has its required translation-glossary mapping. Generated help and prompt fixtures were refreshed from their source files.

Evidence

  • Docs formatting, lint, Markdown/MDX, links/anchors, glossary, and config examples: pass.
  • Generated channel/config/plugin metadata, prompt fixtures, and UI/native translation checks: pass.
  • Runtime build completed. Exercised 80 selected message/contract test files across the validation batches; old-text assertions were corrected and retested. The final E2E file passes all 78 tests after the base update. The seven selected script test files pass (129 tests).
  • Parsed comparison of 334 changed TypeScript/JavaScript files found unchanged code structure, identifiers, property keys, imports, source regexes, and non-text values. Plugin manifests and generated tool definitions changed only display text.
  • Swift/Bash/Ruby syntax and Rust formatting/syntax checks: pass. Full native app suites and live integrations were not run.
  • AutoReview: seven complete passes, no P0–P2 findings on the final diff.

Validation gaps: focused core lint reports an existing 705-line file against a 700-line limit (src/state/openclaw-agent-db-schema.ts), with the same count before and after this patch. One concurrent database-lock case failed in the initial multi-shard run and passed an isolated retest; its test body and lock helpers are unchanged from the base revision.

Settings copy, rendered from the actual source against a mock Gateway:

Before

Settings setup command help before the wording change

After

Settings setup command help after the wording change

@RomneyDa
RomneyDa requested a review from a team as a code owner October 10, 2026 09:36
@clawsweeper

clawsweeper Bot commented Oct 10, 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.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components.

No secops approval is required. This comment is informational because the PR author has Maintain or Admin access.

  • Current SHA: 0a8f0ef0b15a7bd11fbde3d45ed2cfb63bdbd801
  • Maintainer: @RomneyDa
  • Repository role: maintain

These security sensitive changes were made:

  • src/agents/sandbox/container-engine.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.
  • src/agents/sandbox/context.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.
  • src/agents/sandbox/fs-bridge-path-safety.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.
  • src/gateway/auth-token-source-conflict.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/session-access-authority.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/secrets/trusted-plan-path.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/security/audit-channel.ts: Controls product security checks or trust decisions. Check whether the change weakens detection, protection, or remediation.
  • src/security/audit-extra.summary.ts: Controls product security checks or trust decisions. Check whether the change weakens detection, protection, or remediation.
  • src/security/audit-extra.sync.ts: Controls product security checks or trust decisions. Check whether the change weakens detection, protection, or remediation.
  • src/security/audit-gateway-config.ts: Controls product security checks or trust decisions. Check whether the change weakens detection, protection, or remediation.
  • src/security/audit.deep.runtime.ts: Controls product security checks or trust decisions. Check whether the change weakens detection, protection, or remediation.

Carefully review these changes before merging.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: discord Channel integration: discord channel: imessage Channel integration: imessage channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: nostr Channel integration: nostr channel: signal Channel integration: signal channel: slack Channel integration: slack channel: telegram Channel integration: telegram channel: tlon Channel integration: tlon channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo app: android App: android app: ios App: ios app: macos App: macos app: web-ui App: web-ui gateway Gateway runtime extensions: lobster Extension: lobster extensions: memory-core Extension: memory-core cli CLI command changes security Security documentation labels Oct 10, 2026
@clawsweeper

clawsweeper Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR replaces jargon in English documentation, help text, prompts, and user-facing messages.

Example: A user adds a Cloud worker profile and reads the Setup command help.

  • Before: Optional idempotent shell command run before OpenClaw is installed.
  • After: Optional shell command run before OpenClaw is installed; it must be safe to repeat.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The editorial improvement is demonstrated, but multiple exact-head checks fail because diagnostic expectations were not fully migrated.
Proof confidence 🦐 gold shrimp (3/6) The ordinary contributor proof gate does not apply to this maintainer-authored PR; inspected before/after screenshots show the actual setup-help copy rendered against a mock Gateway.
Patch quality 🦪 silver shellfish (2/6) 9 actionable review findings remain.

Product

Kind: Docs · Worth it: Yes · Fix scope: Complete
User problem: Users must interpret avoidable jargon before following setup instructions and diagnostics.
Reason: The maintainer-authored request establishes direction, and the inspected Settings screenshots demonstrate a concrete clarity improvement without adding configuration surface.

Merge readiness

⛔ Needs changes before merge - 10 items remain

Keep this useful maintainer-authored PR open, but repair the diagnostic assertions broken by its wording changes.

Priority: P3
Reviewed head: 0a8f0ef0b15a7bd11fbde3d45ed2cfb63bdbd801

Before merge

  • Update the shared iMessage sanitizer error expectations (P2) - The shared suite imported by monitor.behavior.test.ts still expects runtime scaffolding at sanitize-outbound.test-support.ts:213, 218, 296, 301, and 322. Malformed input such as <system-reminder><previous_response>private</system-reminder></previous_response> now throws runtime markup instead, so those assertions fail. Update both malformed-input and limit-message expectations while retaining the rejection checks.
  • Synchronize foreground and background exec timeout assertions (P2) - Exact-head CI fails bash-tools.exec-runtime.test.ts:819 and bash-tools.exec-foreground-failures.test.ts:189 because they still expect Do not automatically rerun non-idempotent commands. The shared guidance now uses commands unless repeating them is safe. Update both consumers while preserving their timeout and side-effect safety assertions.
  • Update the Fastlane release-gate wording assertion (P2) - test/scripts/ios-release-fastlane-gates.test.ts:983 still requires does not match canonical root version in the planner body. This replacement removes that text, and the exact-head tooling check fails. Synchronize the assertion with the revised message while retaining the version-mismatch guard.
  • Update the Codex supervision error consumers (P2) - The role value feeds requireDistinctSupervisionThreadId's error messages. thread-lifecycle.test.ts:2840 still expects canonical branch for both an empty returned ID and a reused probe ID, while production now emits supervised branch. Exact-head CI confirms both failures; update these expectations without changing the unsafe-thread rejection behavior.
  • Synchronize the file-transfer error suffix assertion (P2) - shared/errors.test.ts:19 still matches /canonical=/tmp/x/. Passing canonicalPath: /tmp/x now produces resolved=/tmp/x, and exact-head CI fails that test. Update the display-text assertion while continuing to verify that the authorized path is included.
  • Update workspace alias-rejection expectations (P2) - workspace-skill-lifecycle.test.ts:204 expects canonical, and workspace-service.test.ts:371 expects canonical location when a workspace path traverses a symlink. Neither matches resolved location, causing both exact-head CI failures. Update these consumers while retaining the no-alias security checks.
  • Update the 1Password interpreter-alias assertion (P2) - extensions/onepassword/src/op-path.test.ts:75 still matches /must be canonical/ when a script's shebang uses a symlinked interpreter. The shared validator now throws must be fully resolved, and exact-head CI confirms the mismatch. Update the test while preserving interpreter-alias rejection.
  • Update the pending update-report receipt assertion (P2) - update-failure-report-recovery.test.ts:120 still requires canonical receipt is still pending after post-create persistence fails. The revised message says its receipt has not been saved yet, causing the exact-head recovery test to fail. Synchronize its expectation while retaining the no-resubmission assertion.
  • Update node working-directory denial expectations (P2) - bash-tools.exec-host-node.integration.test.ts:534 and :569 still expect canonical cwd for restrictive approval policies and a working directory replaced by a symlink. The new denial text omits that phrase, and exact-head CI reports the failures. Update the expectations while preserving denial before command execution.
  • Complete next step - Attribute the separate dashboard-pin and guest-publication UI failures against a base or another PR before landing; their cause is not established by the available evidence.

Findings

  • [P2] Update the shared iMessage sanitizer error expectations — extensions/imessage/src/monitor/sanitize-outbound.ts:349
  • [P2] Synchronize foreground and background exec timeout assertions — src/agents/bash-tools.exec-output.ts:14
  • [P2] Update the Fastlane release-gate wording assertion — apps/ios/fastlane/Fastfile:1323

Provenance

  • Original Cloud worker setup-help wording: original intent not found (unknown: Local git blame and follow-history inspection encountered unavailable historical blobs, so the wording's original introduction was not established.)
Agent review details

How this fits together

Authored English text feeds published documentation, Settings descriptions, model instructions, and runtime diagnostics.

flowchart LR
  A[English source] --> B[Documentation publisher]
  A --> C[Settings renderer]
  A --> D[Runtime diagnostics]
  B --> E[Users]
  C --> E
  D --> E
Loading

Technical review

Best possible solution:

Keep the clearer copy and synchronize affected diagnostic expectations while preserving their behavioral checks.

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

Pinned source establishes the iMessage mismatch, and exact-head GitHub annotations independently reproduce the other listed diagnostic assertion failures.

Is this the best way to solve the issue?

Contextual wording edits fit the approved request, but all affected assertion consumers must move with their production messages.

Full review comments:

  • [P2] Update the shared iMessage sanitizer error expectations — extensions/imessage/src/monitor/sanitize-outbound.ts:349
    The shared suite imported by monitor.behavior.test.ts still expects runtime scaffolding at sanitize-outbound.test-support.ts:213, 218, 296, 301, and 322. Malformed input such as <system-reminder><previous_response>private</system-reminder></previous_response> now throws runtime markup instead, so those assertions fail. Update both malformed-input and limit-message expectations while retaining the rejection checks.
    Confidence: 0.99
  • [P2] Synchronize foreground and background exec timeout assertions — src/agents/bash-tools.exec-output.ts:14
    Exact-head CI fails bash-tools.exec-runtime.test.ts:819 and bash-tools.exec-foreground-failures.test.ts:189 because they still expect Do not automatically rerun non-idempotent commands. The shared guidance now uses commands unless repeating them is safe. Update both consumers while preserving their timeout and side-effect safety assertions.
    Confidence: 1
  • [P2] Update the Fastlane release-gate wording assertion — apps/ios/fastlane/Fastfile:1323
    test/scripts/ios-release-fastlane-gates.test.ts:983 still requires does not match canonical root version in the planner body. This replacement removes that text, and the exact-head tooling check fails. Synchronize the assertion with the revised message while retaining the version-mismatch guard.
    Confidence: 1
  • [P2] Update the Codex supervision error consumers — extensions/codex/src/app-server/thread-supervision.ts:262
    The role value feeds requireDistinctSupervisionThreadId's error messages. thread-lifecycle.test.ts:2840 still expects canonical branch for both an empty returned ID and a reused probe ID, while production now emits supervised branch. Exact-head CI confirms both failures; update these expectations without changing the unsafe-thread rejection behavior.
    Confidence: 1
  • [P2] Synchronize the file-transfer error suffix assertion — extensions/file-transfer/src/shared/errors.ts:7
    shared/errors.test.ts:19 still matches /canonical=/tmp/x/. Passing canonicalPath: /tmp/x now produces resolved=/tmp/x, and exact-head CI fails that test. Update the display-text assertion while continuing to verify that the authorized path is included.
    Confidence: 1
  • [P2] Update workspace alias-rejection expectations — extensions/file-transfer/src/node-host/workspace-memory.ts:59
    workspace-skill-lifecycle.test.ts:204 expects canonical, and workspace-service.test.ts:371 expects canonical location when a workspace path traverses a symlink. Neither matches resolved location, causing both exact-head CI failures. Update these consumers while retaining the no-alias security checks.
    Confidence: 1
  • [P2] Update the 1Password interpreter-alias assertion — src/secrets/trusted-plan-path.ts:129
    extensions/onepassword/src/op-path.test.ts:75 still matches /must be canonical/ when a script's shebang uses a symlinked interpreter. The shared validator now throws must be fully resolved, and exact-head CI confirms the mismatch. Update the test while preserving interpreter-alias rejection.
    Confidence: 1
  • [P2] Update the pending update-report receipt assertion — src/infra/update-failure-report.ts:505
    update-failure-report-recovery.test.ts:120 still requires canonical receipt is still pending after post-create persistence fails. The revised message says its receipt has not been saved yet, causing the exact-head recovery test to fail. Synchronize its expectation while retaining the no-resubmission assertion.
    Confidence: 1
  • [P2] Update node working-directory denial expectations — src/infra/system-run-cwd-binding.ts:43-44
    bash-tools.exec-host-node.integration.test.ts:534 and :569 still expect canonical cwd for restrictive approval policies and a working directory replaced by a symlink. The new denial text omits that phrase, and exact-head CI reports the failures. Update the expectations while preserving denial before command execution.
    Confidence: 1

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Plain-language documentation keeps the original intent (e560dcc: The earlier editorial pass simplified connection-check language while preserving identifiers and anchors.)
  • iMessage malformed private-wrapper rejection keeps the original intent (ed5d046: Reject malformed private context at the outbound boundary to prevent disclosure.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Dallin Romney: Raw commit e560dcc adds docs/auth-credential-semantics.md:18 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: e560dccc6d05; files: docs/auth-credential-semantics.md)
  • Peter Steinberger: Raw commit f7d7148 adds docs/auth-credential-semantics.md:22 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: f7d7148cf047; files: docs/auth-credential-semantics.md)

PR surface

PR surface statistics unavailable: the file list is incomplete.

Labels

Label changes:

  • add P3: The user-facing purpose is editorial clarity; the identified defects break validation rather than an established released user workflow.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦐 gold shrimp and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • add proof: telegram-e2e: This PR needs Telegram Test Server proof with the repository E2E skill. Telegram approval terminal messages change from Canonical result to Recorded result, including resolved and expired approvals.

Label justifications:

  • P3: The user-facing purpose is editorial clarity; the identified defects break validation rather than an established released user workflow.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦐 gold shrimp and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • proof: telegram-e2e: This PR needs Telegram Test Server proof with the repository E2E skill. Telegram approval terminal messages change from Canonical result to Recorded result, including resolved and expired approvals.

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 need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

Reviewed October 10, 2026, 5:46 AM ET / 09:46 UTC.

This was referenced Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: android App: android app: ios App: ios app: linux app: macos App: macos app: wearos App: wearos app: web-ui App: web-ui channel: a2a channel: buzz channel: discord Channel integration: discord channel: feishu Channel integration: feishu channel: imessage Channel integration: imessage channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: nostr Channel integration: nostr channel: qa-channel Channel integration: qa-channel channel: qqbot channel: raft Channel integration: Raft channel: reef Channel integration: reef channel: signal Channel integration: signal channel: slack Channel integration: slack channel: sms Channel integration: sms channel: synology-chat channel: telegram Channel integration: telegram channel: tlon Channel integration: tlon channel: twitch Channel integration: twitch channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: x channel: zalo Channel integration: zalo cli CLI command changes commands Command implementations docker Docker and sandbox tooling docs Improvements or additions to documentation extensions: acpx extensions: active-memory extensions: agentsapi extensions: anthropic extensions: browser extensions: cerebras extensions: clawrouter Extension: clawrouter extensions: clickclack extensions: codex extensions: copilot extensions: crabbox extensions: diffs extensions: fish-audio Extension: fish-audio extensions: lobster Extension: lobster extensions: memory-core Extension: memory-core extensions: memory-wiki extensions: ollama extensions: openai extensions: openshell extensions: qa-lab extensions: qwen extensions: runway extensions: tts-local-cli extensions: xai gateway Gateway runtime P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. plugin: azure-speech Azure Speech plugin plugin: beam Beam session sharing plugin plugin: facetime FaceTime plugin plugin: file-transfer plugin: google-meet plugin: linux-node plugin: logbook Logbook automatic work journal plugin plugin: migrate-claude plugin: migrate-hermes plugin: mxc plugin: pixverse plugin: team-reports plugin: visitor-access plugin: workboard proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts security Security documentation security-sensitive-changed size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs and help text use unnecessary jargon

1 participant