Skip to content

docs: add ChromeOS (Crostini) platform install guide - #107663

Merged
Patrick-Erichsen merged 4 commits into
openclaw:mainfrom
charlesBerg-ux:docs/chromeos-crostini-install
Aug 4, 2026
Merged

Patrick-Erichsen merged 4 commits into
openclaw:mainfrom
charlesBerg-ux:docs/chromeos-crostini-install

Conversation

@charlesBerg-ux

Copy link
Copy Markdown
Contributor

Closes #107662

Drafted with AI assistance from my own Crostini install.

What Problem This Solves

Users installing OpenClaw on a Chromebook have no ChromeOS-specific guidance. OpenClaw runs well inside the Crostini Linux container, but four gotchas differ from a plain Linux host and are easy to trip over:

  1. Choosing the native install over Docker (Docker-in-Crostini can lose a container-home CLI login on rebuild).
  2. Debian's default Node 18 being below the OpenClaw floor.
  3. Provider keys not reaching the systemd user service when only exported in a shell.
  4. Crostini not being always-on across a ChromeOS reboot, so the Gateway silently stops.

Why This Change Was Made

Adds a docs/platforms/chromeos.md platform page that mirrors the Linux guide's structure and documents the four gotchas, then wires it into the Platforms nav and cross-links it from the OS picker and the Linux page. Docs only — no runtime or config changes. The ~/.openclaw/.env and openclaw gateway restart guidance matches existing docs (docs/providers/meta.md, docs/tools/web.md, docs/gateway/configuration-reference), and all internal links were verified to resolve to real pages.

User Impact

Chromebook users get a clear install path and avoid the common failure modes: silently-missing provider keys, a Gateway that vanishes after a reboot, and a lost Docker-container CLI login.

Evidence

  • Set up OpenClaw on a ChromeOS/Crostini device this week and hit each of the four documented gotchas firsthand.
  • Verified on the actual Crostini box that the Gateway binds loopback-only (127.0.0.1:18789), which is why the page does not promise browser access via penguin.linux.test (it would require rebinding off loopback) — that guidance was intentionally left out rather than guessed.
  • Docs-only change; git diff --check is clean and every internal link resolves to an existing page. Docs link-lint runs in CI.

AI-assisted: drafted with Claude from my own Crostini install; I understand and verified the content.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: linux plugin: linux-node size: XS labels Jul 14, 2026
@charlesBerg-ux
charlesBerg-ux force-pushed the docs/chromeos-crostini-install branch 3 times, most recently from edf1128 to 9fd1b43 Compare July 14, 2026 16:59
@clawsweeper clawsweeper Bot added 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. P2 Normal backlog priority with limited blast radius. labels Jul 15, 2026
@clawsweeper

clawsweeper Bot commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge. Reviewed July 31, 2026, 12:53 PM ET / 16:53 UTC.

ClawSweeper review

What this changes

Adds a ChromeOS/Crostini Gateway installation guide, platform-navigation links, generated docs-map entry, and Chinese glossary terms.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open: the ChromeOS guide fills a real current documentation gap, but its runtime sentence still contradicts the current Node-only Gateway contract. The prior blocker remains on the unchanged PR head, and GitHub reports the branch as dirty, so it needs that correction and a rebase before merge.

Priority: P2
Reviewed head: fddce9a8352520c95027cbb83da01c33652d38c8

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The guide is focused and useful, but a concrete runtime-contract error remains in the primary install instructions.
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 5 items PR runtime wording: The provided PR patch adds docs/platforms/chromeos.md with “Node is the recommended runtime; Bun is not recommended,” which leaves Bun sounding usable for the Gateway.
Current platform documentation: Current main says Node is the required runtime because canonical state uses node:sqlite; the Linux guide likewise says the Gateway requires Node and Bun cannot run OpenClaw.
Runtime contract: The daemon runtime type and supported option are Node only, and non-Node values fail with an error explaining Bun lacks the required node:sqlite API.
Findings 1 actionable finding [P2] State that Node is required for the Gateway
Security None None.

How this fits together

Platform documentation directs operators from an OS-specific install guide into onboarding and the Gateway service. The ChromeOS page must preserve the runtime and daemon-service contracts that the CLI and Linux documentation enforce.

flowchart LR
  A[ChromeOS operator] --> B[ChromeOS install guide]
  B --> C[Install and onboard commands]
  C --> D[Node Gateway runtime]
  D --> E[Linux systemd user service]
  E --> F[Gateway status and recovery]
Loading

Before merge

  • State that Node is required for the Gateway (P2) - The new page says Node is only recommended, but current main accepts only Node for the Gateway daemon because Bun lacks node:sqlite. This is the prior unresolved blocker on an unchanged line; ChromeOS users could otherwise infer that Bun is a supported Gateway runtime.
  • Resolve merge risk (P1) - GitHub reports this PR as dirty against current main; after the wording correction, the branch needs a rebase and current-head docs validation before it can merge.
  • Complete next step (P2) - A one-line documentation correction and a rebase resolve the supported runtime mismatch; no product or security decision is needed.

Findings

  • [P2] State that Node is required for the Gateway — docs/platforms/chromeos.md:9-10
Agent review details

Security

None.

PR surface

Docs +153. Total +153 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 6 156 3 +153
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 6 156 3 +153

Review metrics

None.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #107662
Summary: This PR is the linked candidate documentation fix for the still-open ChromeOS/Crostini install-guidance issue.

Members:

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

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep the ChromeOS page and make it say that the Gateway requires Node because Bun lacks node:sqlite, then rebase the focused docs change onto current main.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep the ChromeOS page and make it say that the Gateway requires Node because Bun lacks node:sqlite, then rebase the focused docs change onto current main.

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

Not applicable: this is a docs-only PR, and the mismatch is directly established from the PR text and the current runtime and platform documentation.

Is this the best way to solve the issue?

No: a dedicated ChromeOS guide is the right documentation surface, but its Node wording must match the current Node-only Gateway contract before it is a maintainable solution.

Full review comments:

  • [P2] State that Node is required for the Gateway — docs/platforms/chromeos.md:9-10
    The new page says Node is only recommended, but current main accepts only Node for the Gateway daemon because Bun lacks node:sqlite. This is the prior unresolved blocker on an unchanged line; ChromeOS users could otherwise infer that Bun is a supported Gateway runtime.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against e64b7041ec88.

Labels

Label justifications:

  • P2: The guide affects a bounded platform-install path and currently gives an inaccurate runtime instruction, but it is a focused documentation correction rather than an emergency.
  • 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

Acceptance criteria:

  • [P1] git diff --check.
  • [P1] pnpm check-docs.

What I checked:

Likely related people:

  • Vincent Koc: Current main blames the required-Node wording in both platform pages to this contributor's July 31 commit, which is the contract this guide needs to match. (role: recent runtime-contract and platform-doc contributor; confidence: high; commits: 702de1a1967b; files: docs/platforms/index.md, docs/platforms/linux.md, src/commands/daemon-runtime.ts)

Rank-up moves

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

  • Change the Node/Bun sentence to match the current Node-only Gateway contract.
  • Rebase onto current main and rerun the docs check on the resulting head.

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.

History

Review history (5 earlier review cycles)
  • reviewed 2026-07-15T04:53:04.423Z sha 9fd1b43d68aabd2249150a2f65c128dc57dc36b2 :: needs changes before merge. :: [P2] Use the current ChromeOS Settings path | [P2] State that Node is required for the Gateway
  • reviewed 2026-07-15T06:03:51.457Z sha 9fd1b43d68aabd2249150a2f65c128dc57dc36b2 :: needs changes before merge. :: [P2] Use the current ChromeOS Settings path
  • reviewed 2026-07-15T07:15:22.638Z sha 9fd1b43d68aabd2249150a2f65c128dc57dc36b2 :: needs changes before merge. :: [P2] Use the current ChromeOS Settings path
  • reviewed 2026-07-16T03:49:57.347Z sha 78cba58c74e835c75d2f9fb6e38b7c222587812e :: needs changes before merge. :: [P2] Align the guide with current Linux runtime documentation
  • reviewed 2026-07-17T17:52:42.689Z sha fddce9a :: needs changes before merge. :: [P2] Match the current Node-only runtime contract

@charlesBerg-ux

Copy link
Copy Markdown
Contributor Author

Corrected the ChromeOS Settings path flagged in the review. The setup steps now use the current flow: Settings → About ChromeOS → Developers → "Linux development environment" → Set up (replacing the stale "Advanced → Developers / Turn on" wording). Verified against Google's current Chromebook Help page. Docs-only; the rest of the page is unchanged.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@charlesBerg-ux
charlesBerg-ux force-pushed the docs/chromeos-crostini-install branch from 78cba58 to fddce9a Compare July 17, 2026 17:46
@charlesBerg-ux

Copy link
Copy Markdown
Contributor Author

Thanks for the re-review. Addressed:

  1. ChromeOS Settings path — fixed (Advanced > Developers -> About ChromeOS > Developers > "Set up"). This landed in 78cba58c74 before this round.

  2. Node wording — checked against current main before changing it: docs/platforms/index.md and docs/platforms/linux.md (the exact sibling page this one mirrors) both still say "Node is the recommended runtime; Bun is not recommended." The only "required" language on main is in docs/reference/wizard.md, scoped specifically to WhatsApp/Telegram (Node (recommended; required for WhatsApp/Telegram - Bun can corrupt memory on reconnect)), not a blanket Node requirement. Bun also remains a supported daemon runtime in src/ (isBunRuntime, --daemon-runtime bun).

    Given that, I left the wording as "recommended" to stay consistent with linux.md/index.md rather than introduce a claim main doesn't currently make. Happy to add the WhatsApp/Telegram-specific nuance from wizard.md if maintainers would prefer that here, or to revisit if there's a shipped source I'm missing for a stronger Node requirement.

Also rebased onto current main and added the newly-required docs/.i18n/glossary.zh-CN.json entries (a check that didn't exist when this PR was opened) to keep check-docs green.

@Patrick-Erichsen Patrick-Erichsen self-assigned this Aug 4, 2026
@Patrick-Erichsen
Patrick-Erichsen merged commit c81aee5 into openclaw:main Aug 4, 2026
48 checks passed
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 5, 2026
Punchcard-Session: crisp-lantern-orchard-nv

* origin/main:
  perf(memory): defer session backfill runtime (#119372)
  fix(ci): isolate built TUI PTY fixture (#119339)
  fix(commands): restore tool inventory for dynamic models (#119306)
  fix(media): release rejected BytePlus and Runway video downloads under debug capture (#119257)
  docs: add ChromeOS (Crostini) platform install guide (#107663)
  test(msteams): serve JWKS from in-process server in auth coverage (#119354)
  fix(qa): enable OpenAI for stored audio scenario (#119349)
  test(agents): realpath apply-patch temp dir fixture (#119353)
  test(slack): drop redundant .js-suffixed system-event mock (#119352)
  fix(exec): leave safe builtins unrewritten in enforced mode (#119351)
  fix(sessions): keep gateway responsive while large transcript archives are built (#112424)
  fix(tui): restore provider auth in installed local mode (#119283)
vincentkoc added a commit that referenced this pull request Aug 5, 2026
…time

* origin/main: (75 commits)
  fix(commands): restore tool inventory for dynamic models (#119306)
  fix(media): release rejected BytePlus and Runway video downloads under debug capture (#119257)
  docs: add ChromeOS (Crostini) platform install guide (#107663)
  test(msteams): serve JWKS from in-process server in auth coverage (#119354)
  fix(qa): enable OpenAI for stored audio scenario (#119349)
  test(agents): realpath apply-patch temp dir fixture (#119353)
  test(slack): drop redundant .js-suffixed system-event mock (#119352)
  fix(exec): leave safe builtins unrewritten in enforced mode (#119351)
  fix(sessions): keep gateway responsive while large transcript archives are built (#112424)
  fix(tui): restore provider auth in installed local mode (#119283)
  fix(release): accept legacy empty core artifacts (#119337)
  fix(qa): carry selected runtime into flow scenarios (#119324)
  fix(ci): retry interrupted Windows dashboard release checks (#119095)
  fix(release): filter validation ancestry fetch (#119334)
  fix(release): accept trusted extended-stable validation evidence (#119264)
  fix(sessions): preserve recorder-owned user turns (#119307)
  perf(cli): split plugin registry startup timing (#119318)
  fix(qa): align release scenario setup and compaction proof (#119188)
  fix(ci): avoid duplicate Matrix release QA runs (#119171)
  perf(agents): reuse provider policy manifest registry (#119305)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 5, 2026
* docs: add ChromeOS (Crostini) platform install guide

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* docs: correct ChromeOS Linux container setup path

* docs: add zh-CN glossary entries for ChromeOS page terms

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Co-authored-by: Patrick Erichsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: linux docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. plugin: linux-node 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.

[Docs Bug]: No ChromeOS/Crostini install guidance for the Gateway

2 participants