Skip to content

docs(start): repair the first-run path from landing page to first channel - #140390

Merged
vincentkoc merged 1 commit into
mainfrom
docs-audit/pr-022
Sep 6, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
docs-audit/pr-022

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Repairs the path a new reader walks from the landing page to a working install with one channel connected. Every command below was checked against the CLI reference pages before it was written.

The one install command

curl -fsSL https://openclaw.ai/install.sh | bash (PowerShell: iwr -useb https://openclaw.ai/install.ps1 | iex).

Evidence: docs/install/index.md heads it "Recommended: installer script" and says it "detects your OS, installs Node if needed, installs OpenClaw, and launches onboarding". docs/install/installer.md confirms that for an unconfigured install it "starts onboarding" — bare openclaw onboard, which docs/cli/onboard.md says "starts the guided flow". Getting Started already used this command; the landing page and the FAQ now use it too.

The landing page previously ran npm install -g openclaw@latest then openclaw onboard --install-daemon. docs/start/onboarding-overview.md states that --install-daemon "also selects the classic flow", so that reader never saw the Quick start / Custom setup choice that Getting Started narrates. npm, pnpm, and bun remain documented on /install as alternatives; the FAQ still names openclaw onboard --install-daemon as the classic one-command option, and now says so explicitly.

Follow the new path

  1. / — Quick start installs with the installer script, says which wizard it opens, then adds the missing Gateway service step before "Chat". The mobile hub card "Get started" no longer reloads /, and the "Channels" card points at the hub it describes rather than one channel page.
  2. /install — "Verify the install" is followed by a Next: run onboarding and connect a channel card group pointing at /start/getting-started and /channels. /install/node now links the installer script section rather than the alternative-methods anchor.
  3. /start/getting-started — a new numbered step, Install the Gateway service, sits between onboarding and "Verify the Gateway is running". It says to press Ctrl+C and run openclaw gateway install, and names the per-OS service with its Windows fallback. Previously that instruction was prose inside Step 2, and Steps 3 and 4 assumed a Gateway the reader had just stopped.
  4. /channels — a Which channel should I connect first? section with the Telegram recommendation and one openclaw channels add --channel telegram --token <bot-token> example now sits above the 31-entry catalog instead of below it.
  5. /channels/telegram — quick setup is now four steps that work in order: create the token, configure it (leading with openclaw channels add, and naming ~/.openclaw/openclaw.json for the hand-edit path), restart the gateway with openclaw gateway restart, then send the bot a message before openclaw pairing list telegram. The old step started openclaw gateway in the foreground, which conflicts with the service the previous page just installed; that command is now named only for the no-service case.

Command provenance

Command Verified against
curl -fsSL https://openclaw.ai/install.sh | bash docs/install/index.md "Recommended: installer script"
openclaw gateway install docs/cli/gateway.md "Manage the Gateway service"
openclaw gateway restart docs/cli/gateway.md "Restart the Gateway"
openclaw channels add --channel telegram --token <bot-token> docs/cli/channels.md "Add / remove accounts"
openclaw pairing list telegram / openclaw pairing approve telegram <CODE> docs/cli/pairing.md "Commands"
openclaw onboard --classic docs/cli/onboard.md --classic
openclaw onboard to change provider or auth docs/start/wizard.md, docs/cli/onboard.md

Also in this PR

  • /start/onboarding: the first three macOS steps were images with alt="" and no body text. Each now says what dialog appears and which button to click, with real alt text. read_when addresses first-run readers instead of the people implementing the flow.
  • /help/faq-first-run: install and onboarding answers move above the heartbeat and exec-approval answers; "What does onboarding actually do?" is rewritten around Quick start and Custom setup with a link to the classic step list; the provider-add answer now says openclaw onboard, matching the wizard pages; the "I am stuck" link targets a real anchor.
  • /start/onboarding-overview: the duplicated Quick start walkthrough is reduced to one paragraph plus a link to /start/wizard#guided-default.
  • /start/openclaw: the WhatsApp plugin is named as a prerequisite for the 5-minute quick start.
  • /start/hubs: Dashboard links to /web/dashboard with the loopback URL in text; /install and /install/installer head the installation list.
  • /start/docs-directory: "Start here" is cut from 19 links to five; the rest move to a "Setup and reference" list.
  • STE sentence splits in channels/telegram.md, start/why-openclaw.md, start/teams.md, start/setup.md, and start/wizard-cli-automation.md. Hard violations across the 16 touched files drop from 501 to 437, with no file above its own baseline.
  • Two zh-CN glossary entries for the new link labels, required by check-docs-i18n-glossary.

Not done

  • r3-0961 (move /start/why-openclaw out of the Get started tab) needs a docs.json nav edit. test/scripts/docs-sync-publish.test.ts already fails 5 of 10 tests on unmodified main in this environment, including keeps generated locale navigation aligned with English routes, so a nav change here cannot be verified against a green baseline. Left for a PR that can run that lane clean. docs.json is untouched.
  • r3-0945, second half (move "Group join introductions" from /channels to /channels/groups): the "which channel first" reorder is done; the section move would edit a page outside this PR's scope.
  • r3-0947, second half (move heartbeat and exec-approval answers to /help/faq): they are reordered below the first-run answers on this page; moving them to another page is outside this PR's scope.

Validators

Docs MDX check passed (775 files).
docs-link-audit:           checked_internal_links=8330  broken_links=0
docs-link-audit --anchors: checked_internal_links=8699  broken_links=0
Docs formatting clean (762 files).
check-docs-i18n-glossary:  exit 0

…nnel

Walks the new reader path end to end and fixes each step where the docs
sent the reader somewhere the previous step had not prepared.

Landing page (docs/index.md): the Quick start installed with npm and then
ran `openclaw onboard --install-daemon`, which selects the classic wizard
(onboarding-overview.md), so the landing reader never saw the Quick start
and Custom setup choice that Getting Started narrates. It now uses the
installer script that install/index.md calls "Recommended", names which
wizard that opens, and adds the missing Gateway service step. The mobile
hub card "Get started" pointed at `/`, and the "Channels" card pointed at
one channel page while promising the catalog; both now point at the hub
they describe.

Install page (docs/install/index.md): "Verify the install" ended the page
with no route onward. Adds a next-step card group to Getting started and
to the channel hub. docs/install/node.md pointed "installer script" at the
alternative-methods anchor instead of the installer script section.

Getting Started (docs/start/getting-started.md): Step 2 left the Gateway
in the foreground and buried "Ctrl+C, then `openclaw gateway install`" in
prose, while Steps 3 and 4 assumed a running background Gateway. That is
now its own numbered step between onboarding and verification.

Channel hub (docs/channels/index.md): the "fastest setup is usually
Telegram" guidance sat at the bottom, below the catalog and a long group
introductions explanation, and the page carried no `openclaw channels add`
example. Both now sit above the 31-entry catalog.

Telegram (docs/channels/telegram.md): quick setup showed a JSON5 block
with no file path and no `openclaw channels add`, told the reader to run
`openclaw pairing list` without first sending the bot a message, and
started a second foreground Gateway that conflicts with the service the
Getting Started path installs. Step 2 now names `~/.openclaw/openclaw.json`
and leads with `openclaw channels add --channel telegram --token <token>`.
Restart and pairing are separate steps, the restart uses
`openclaw gateway restart` with `openclaw gateway` named as the
no-service case, and pairing starts by messaging the bot. The opening
line now says what the page is for.

macOS onboarding (docs/start/onboarding.md): the first three steps were
images with empty alt text. Each now says what dialog appears and which
button to click, and read_when addresses first-run readers rather than
the people implementing the flow.

First-run FAQ (docs/help/faq-first-run.md): the install answer ran the
installer and then onboarding again, the "what does onboarding do" answer
described the classic 8-step wizard as the default, install and
onboarding answers sat below heartbeat and exec-approval answers, the
provider-add command disagreed with the wizard pages, and the "I am
stuck" link landed on a heading rather than the accordion.

Also trims duplicated Quick start prose from onboarding-overview.md,
names the WhatsApp plugin prerequisite in openclaw.md, repairs the
localhost dashboard link and the install entries in hubs.md, cuts the
19-item "Start here" list in docs-directory.md, and splits the
single-instruction sentences named by the STE findings in telegram.md,
why-openclaw.md, teams.md, setup.md, and wizard-cli-automation.md.

Closes audit findings: r3-0936, r3-0937, r3-0938, r3-0939, r3-0940,
r3-0941, r3-0942, r3-0943, r3-0944, r3-0945, r3-0946, r3-0947, r3-0948,
r3-0949, r3-0950, r3-0951, r3-0952, r3-0953, r3-0954, r3-0955, r3-0956,
r3-0958, r3-0959, r3-0962, r3-0963, r3-0964, r3-0965
@clawsweeper

clawsweeper Bot commented Sep 6, 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 channel: telegram Channel integration: telegram size: XS maintainer Maintainer-authored PR labels Sep 6, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 6, 2026
@clawsweeper

clawsweeper Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge. Reviewed September 6, 2026, 3:36 PM ET / 19:36 UTC.

ClawSweeper review

What this changes

Reorganizes first-run documentation around installation, guided onboarding, background Gateway setup, and connecting Telegram, while improving navigation and explanatory text.

Merge readiness

⛔ Needs changes before merge - 2 items remain

Keep open: this remains useful documentation work absent from current main, and the maintainer-authored PR is protected from cleanup closure. One installation-prerequisite error needs correction.

Priority: P2
Reviewed head: 20865cbdb54ee59f119f210f593bd311b4d83a2c

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful, focused documentation with supplied validation, held back by one concrete first-run instruction error.
Proof confidence 🌊 off-meta tidepool Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Evidence reviewed 7 items Introduced documentation defect: The new classic alternative explicitly replaces both preceding commands, including installation, with an invocation of the not-yet-installed CLI.
Existing complete installation alternative: The installation reference documents installing with --no-onboard before running a separate onboarding command, and its npm alternative explicitly installs the package before invoking onboard.
Current onboarding dispatch: Current main explicitly selects classic onboarding when installDaemon is supplied, supporting the PR's distinction between guided setup and --install-daemon.
Findings 1 actionable finding [P2] Retain installation before the classic onboarding alternative
Security None None.

How this fits together

The first-run docs guide readers from installing OpenClaw to configuring AI access and starting the Gateway. Channel setup then connects incoming chat messages to the agent after pairing approval.

flowchart LR
  A[New reader] --> B[Install OpenClaw]
  B --> C[Choose onboarding flow]
  C --> D[Configure AI access]
  D --> E[Start Gateway service]
  E --> F[Dashboard chat]
  E --> G[Connect Telegram and approve pairing]
Loading

Before merge

  • Retain installation before the classic onboarding alternative (P2) - The two preceding commands include the installer, so telling a fresh reader to replace both with openclaw onboard --install-daemon leaves OpenClaw uninstalled and produces a command-not-found error. Show installation with --no-onboard followed by the classic command, or explicitly restrict this alternative to already-installed systems.
  • Complete next step (P2) - Correct the FAQ's classic alternative so fresh installations install OpenClaw before invoking onboard --install-daemon.

Findings

  • [P2] Retain installation before the classic onboarding alternative — docs/help/faq-first-run.md:30-33
Agent review details

Security

None.

PR surface

Docs +132. Total +132 across 17 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 17 273 141 +132
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 17 273 141 +132

Review metrics

None.

Technical review

Best possible solution:

Keep the unified guided path and make the classic alternative self-contained by installing with --no-onboard before running onboard --install-daemon.

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

Yes, by source inspection: following the new classic alternative on a machine without OpenClaw skips installation and invokes an unavailable command; no runtime reproduction was executed.

Is this the best way to solve the issue?

Mostly yes: the existing CLI paths support the revised sequence, but the classic alternative must retain its installation prerequisite.

Full review comments:

  • [P2] Retain installation before the classic onboarding alternative — docs/help/faq-first-run.md:30-33
    The two preceding commands include the installer, so telling a fresh reader to replace both with openclaw onboard --install-daemon leaves OpenClaw uninstalled and produces a command-not-found error. Show installation with --no-onboard followed by the classic command, or explicitly restrict this alternative to already-installed systems.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.96

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: The documentation improves first-run setup but introduces a bounded prerequisite error in the classic installation alternative.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: Real behavior proof is not required because this PR only changes files under docs/.

Label justifications:

  • P2: The documentation improves first-run setup but introduces a bounded prerequisite error in the classic installation alternative.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: Real behavior proof is not required because this PR only changes files under docs/.

Evidence

What I checked:

  • Introduced documentation defect: The new classic alternative explicitly replaces both preceding commands, including installation, with an invocation of the not-yet-installed CLI. Public docs: docs/help/faq-first-run.md. (docs/help/faq-first-run.md:30, 20865cbdb54e)
  • Existing complete installation alternative: The installation reference documents installing with --no-onboard before running a separate onboarding command, and its npm alternative explicitly installs the package before invoking onboard. Public docs: docs/install/index.md. (docs/install/index.md:52, 20865cbdb54e)
  • Current onboarding dispatch: Current main explicitly selects classic onboarding when installDaemon is supplied, supporting the PR's distinction between guided setup and --install-daemon. (src/commands/onboard.ts:516, 00905439e82c)
  • Still necessary on main and latest release: Both inspected revisions retain the landing-page npm installation followed by classic onboarding; they do not contain this PR's revised guided first-run sequence. Public docs: docs/index.md. (docs/index.md:144, 3928bad9badf)
  • Current-main landing-page comparison: The fetched main still presents npm installation and onboard --install-daemon as separate steps. Public docs: docs/index.md. (docs/index.md:144, 00905439e82c)
  • Relevant area history: Current-main history identifies Peter Steinberger's recent quick-start and duplicate-onboarding documentation work. Exact historical line inspection encountered unavailable objects, so no introducing-author attribution is asserted. Public docs: docs/start/getting-started.md. (docs/start/getting-started.md, 87da4a74abc3)

Likely related people:

  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

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

  • Make the FAQ's classic alternative include installation before invoking OpenClaw.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@vincentkoc
vincentkoc merged commit 11f454e into main Sep 6, 2026
65 checks passed
@vincentkoc
vincentkoc deleted the docs-audit/pr-022 branch September 6, 2026 20:01
vincentkoc added a commit that referenced this pull request Sep 6, 2026
…rol-ui

* origin/main:
  docs: remove the empty release-sections nav group (#140427)
  fix(tooling): omit Codex machine squash credit (#140420)
  chore(ui): refresh control ui locales (#140384)
  refactor(plugin-sdk): reuse native approval input contracts (#140415)
  fix: silent model WebSocket streams hang past the idle timeout (#140335)
  perf(ai): avoid unused text extraction for image results (#140409)
  fix(ui): distinguish failed GitHub status checks from disconnected accounts (#140333)
  refactor(cron): share runtime feedback schema fields (#140408)
  fix: avoid duplicate cloud worker teardown during recovery (#140377)
  fix(cli): show executable approval scope (#138386)
  refactor(ui): reuse shared requirement records (#140407)
  test(gateway): table-drive device token lifecycle checks (#140403)
  fix(chat): fence delayed history at terminal retirement (#140379)
  test(skills): compare large upload bytes natively (#140402)
  refactor(delivery): reuse the canonical rendered batch plan type (#140386)
  docs(start): repair the first-run path from landing page to first channel (#140390)

# Conflicts:
#	docs/.i18n/glossary.zh-CN.json
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 7, 2026
…nnel (openclaw#140390)

Walks the new reader path end to end and fixes each step where the docs
sent the reader somewhere the previous step had not prepared.

Landing page (docs/index.md): the Quick start installed with npm and then
ran `openclaw onboard --install-daemon`, which selects the classic wizard
(onboarding-overview.md), so the landing reader never saw the Quick start
and Custom setup choice that Getting Started narrates. It now uses the
installer script that install/index.md calls "Recommended", names which
wizard that opens, and adds the missing Gateway service step. The mobile
hub card "Get started" pointed at `/`, and the "Channels" card pointed at
one channel page while promising the catalog; both now point at the hub
they describe.

Install page (docs/install/index.md): "Verify the install" ended the page
with no route onward. Adds a next-step card group to Getting started and
to the channel hub. docs/install/node.md pointed "installer script" at the
alternative-methods anchor instead of the installer script section.

Getting Started (docs/start/getting-started.md): Step 2 left the Gateway
in the foreground and buried "Ctrl+C, then `openclaw gateway install`" in
prose, while Steps 3 and 4 assumed a running background Gateway. That is
now its own numbered step between onboarding and verification.

Channel hub (docs/channels/index.md): the "fastest setup is usually
Telegram" guidance sat at the bottom, below the catalog and a long group
introductions explanation, and the page carried no `openclaw channels add`
example. Both now sit above the 31-entry catalog.

Telegram (docs/channels/telegram.md): quick setup showed a JSON5 block
with no file path and no `openclaw channels add`, told the reader to run
`openclaw pairing list` without first sending the bot a message, and
started a second foreground Gateway that conflicts with the service the
Getting Started path installs. Step 2 now names `~/.openclaw/openclaw.json`
and leads with `openclaw channels add --channel telegram --token <token>`.
Restart and pairing are separate steps, the restart uses
`openclaw gateway restart` with `openclaw gateway` named as the
no-service case, and pairing starts by messaging the bot. The opening
line now says what the page is for.

macOS onboarding (docs/start/onboarding.md): the first three steps were
images with empty alt text. Each now says what dialog appears and which
button to click, and read_when addresses first-run readers rather than
the people implementing the flow.

First-run FAQ (docs/help/faq-first-run.md): the install answer ran the
installer and then onboarding again, the "what does onboarding do" answer
described the classic 8-step wizard as the default, install and
onboarding answers sat below heartbeat and exec-approval answers, the
provider-add command disagreed with the wizard pages, and the "I am
stuck" link landed on a heading rather than the accordion.

Also trims duplicated Quick start prose from onboarding-overview.md,
names the WhatsApp plugin prerequisite in openclaw.md, repairs the
localhost dashboard link and the install entries in hubs.md, cuts the
19-item "Start here" list in docs-directory.md, and splits the
single-instruction sentences named by the STE findings in telegram.md,
why-openclaw.md, teams.md, setup.md, and wizard-cli-automation.md.

Closes audit findings: r3-0936, r3-0937, r3-0938, r3-0939, r3-0940,
r3-0941, r3-0942, r3-0943, r3-0944, r3-0945, r3-0946, r3-0947, r3-0948,
r3-0949, r3-0950, r3-0951, r3-0952, r3-0953, r3-0954, r3-0955, r3-0956,
r3-0958, r3-0959, r3-0962, r3-0963, r3-0964, r3-0965
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: telegram Channel integration: telegram docs Improvements or additions to documentation maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS 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.

1 participant