Repository navigation
docs: retire redundant guides and fix gateway package instructions - #133722
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 11:49 PM ET / August 31, 2026, 03:49 UTC. ClawSweeper reviewWhat this changesThe PR removes redundant documentation stubs, preserves their routes through central redirects, and updates Gateway SDK installation and compatibility guidance. Merge readinessKeep open for normal maintainer review. The PR is still needed: current main retains the old unpinned Gateway package guidance, while the branch centralizes all 29 retired routes and aligns the retained guides with the package source contracts. No introduced correctness or security defect was found. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw’s documentation source is synchronized into a separate publish tree, where redirect metadata preserves legacy public URLs. The Gateway client and protocol packages are consumed by external applications, with their manifests and runtime source defining their supported entrypoints and host-owned authentication responsibilities. flowchart LR
Legacy[Legacy documentation URLs] --> Redirects[Central redirect metadata]
Redirects --> Guides[Canonical operator and plugin guides]
PackageSource[Gateway package manifests and source] --> InstallDocs[SDK installation guidance]
InstallDocs --> ExternalClients[External Gateway clients]
Before merge
Agent review detailsSecurityNone. PR surfaceSource 0, Tests -1, Docs -399, Other -5. Total -405 across 56 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the redirect consolidation and canonical package guidance after exact-head documentation/publisher validation completes on a writable CI runner. Do we have a high-confidence way to reproduce the issue? Not applicable: this is documentation maintenance rather than a reported runtime bug. Static inspection confirms each deleted source route has a central redirect, but the local docs-list command could not start on the read-only host. Is this the best way to solve the issue? Yes. Using the publisher-owned redirect map and preserving the useful facts in canonical guides avoids maintaining duplicate stubs while keeping old URLs reachable. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 945ea6fa91d9. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Land-ready proof for Exact-head CI, the required Fresh AWS/Linux full-artifact proof used the exact final core source and merged publisher. It verified 832 core files and 22 separately owned ClawHub files, passed 76 publisher tests and Local Proceeding through native prepare/merge, then verifying actual source sync, full R2 publication and all 58 original-/docs-route cases. Generated locale cleanup is explicitly separate: incremental translation is disabled and the active full wave predates this change. No claim of localized retirement, generated-output freshness, real-browser SDK connectivity, package publication, schema changes or operator-state changes is being made. |
|
Merged via squash.
|
…penclaw#133722) * docs: retire legacy redirects and clarify gateway package installs * docs: refresh stable gateway SDK guidance and canonical links
Related: #133404 — the first historical-plan retirement.
Publisher prerequisites are merged and live-verified: openclaw/docs#143 — canonical Markdown at retired URLs; openclaw/docs#146 — publication admission and catch-up without starvation.
Additional instructions
MUST: Keep Allow edits from maintainers enabled for this PR so maintainers can help update the branch when needed.
What Problem This Solves
Readers still encounter duplicate redirect pages, a historical Node/tsx crash investigation, and a retired TCP bridge reference alongside maintained guidance. Gateway SDK installation guidance also needs to reflect the now-published packages and their actual compatibility contracts rather than initial-publication assumptions.
Why This Change Was Made
Retire 27 redundant redirect/duplicate pages and two historical notes, preserve useful current facts in canonical guides, and retain all 29 public URLs through central redirects. Move authored links and source-file references to their owners instead of maintaining another layer of stubs.
Make the Gateway client guide the installation owner, with reproducible stable
2026.8.1pins and explicit distinctions between SDK package versions, the root CLI release, and wire protocol versions. Preserve host-owned device-auth requirements and the signed local-backend pairing exception. The only production-source change is a documentation URL in config UI hint metadata; no runtime logic, settings, validation/database schemas, migrations, SDK exports, package versions, credentials or operator state change.User Impact
Readers reach current guidance directly, while old URLs remain usable by browsers and Markdown readers. SDK consumers install verified stable artifacts, with a short recovery note for lockfiles still containing the reserved
0.0.0packages. The still-exportedchannel-messagefacade and its three deprecated inbound aliases remain documented accurately: the date is removal eligibility, not automatic retirement, a next-major promise or an import warning.Current flow lookup, macOS SSH reconnect guidance, Node startup diagnostics and node exec lifecycle behavior are retained. Old Node pins/bisect notes and retired TCP wire frames are intentionally historical, not described as implemented current features. The docs guide corrects its stale hosting statement, and the TTS config help link points directly at the maintained guide.
Evidence
.md, all three Markdown Accept types, GET/HEAD, exact canonical bytes,Vary: Accept, noLocation, and correct browser targets. Plaincurl -fsSwithout-Lreturned the complete 71,584-byte canonical schema reference.c29f34dc5312530761529e7133afa083911e7959, retaining upstream navigation, glossary and protocol additions.pnpm docs:listandgit diff --checkpassed.pnpm maturity:checkvalidates source inputs. Evidence-backed generated freshness was explicitly skipped because no release-QA evidence directory was supplied; generated maturity output was not fabricated or edited./tts. Both failures were reproduced. Removed only the obsolete stub from the plugin-author test input and changed the owning TTS docs URL to/tools/tts; all 16 tests in the two affected files now pass, without weakening assertions or changing schema/setting behavior. Valid legacy URL fixtures and generated external-plugin catalog metadata are left intact.0.0.0failure and beta proof were correct when collected, but both SDKs published stable2026.8.1at 2026-08-31 02:30 UTC, during review. Final guides use stable pins, not the now-stale placeholder claim. Fresh registry responses verifylatest=2026.8.1,reserved=0.0.0, exact protocol dependency, publication times, tarballs and integrity. No package was published or retagged by this PR.ws. Current/general/node/probe wire constants are 4/4/3/3. The pinned 3,326,258-byte schema download matches installed bytes; its package import subpath correctly rejects withERR_PACKAGE_PATH_NOT_EXPORTED. Browser import/type checks are not a real-browser connection or minimum-engine matrix claim.operator.read. The signed unpaired backend received no device token; UI mode followed normal pairing and received one. PID 46108 exited, port 51204 closed, and synthetic state, credentials and preview configuration were removed. The operator's Gateway was not used or changed.pnpm buildalso passed before the follow-up head was pushed.openclaw/ci-gatepassed on1a2a265daa4f4adf619a8637bee52e016baa4356; the native watcher finishedGREEN. The prior two executed test failures are fixed, not bypassed. Cancelled superseded labeling/dispatch checks were not test failures.1a2a265daa4f4adf619a8637bee52e016baa4356and merged publisher8d0159ab1d44a762c9d83cc7e33cbb887ed8cac0: 76 publisher tests, 30,544 built pages, 85,950 R2 objects, 10,328 aliases and 41,228 GET/HEAD requests. All 29 English sources/old Markdown objects are absent and both alias forms are correct. Input checks compare 832 core files and 22 ClawHub-owned files against their actual owners. The 42 dotted aliases are excluded only from negotiation, not explicit.mdverification. The initial harness ownership error comparing imported ClawHub pages with core entry-point guides was corrected, not worked around in product code. AWS leasecbx_3ea7d7544918is independently confirmed released; no R2 upload was performed by the proof.Representative commands:
Production documentation-link metadata: +1/-1 (net 0); runtime logic unchanged. Tests: 0/-1. Docs and docs metadata: +253/-652. QA/maturity source-reference metadata: +2/-7. Total: 56 files, +256/-661 (net -405). Nine redirects are added, 20 existing retirement redirects retained, four obsolete navigation entries removed and three glossary labels added. Scores, coverage IDs, generated plugin references and generated locales remain untouched.
Retired URL → canonical destination (29 pages)
Preservation owners: Task Flow naming → automation/taskflow; flow ID/owner-key lookup and statuses → cli/tasks;
channel-messagemigration → plugins/sdk-channel-outbound; startup diagnostics → help/debugging; authenticated node exec fields, terminal consumption, suppression/quiet-success and best-effort delivery → gateway/protocol; SSH/app reconnect guidance → gateway/remote and platforms/mac/remote.Merged as
ee3ee255d8d9. Source sync succeeded and publisher commitf60987d1765ed694ceff36dafe1edbb4720d6d72records that exact source, with all 29 English files absent. Full R2 publication actually built, smoke-tested and uploaded the snapshot: 30,544 pages, 85,951 objects, 11,081 changed uploads and 504 obsolete manifest-tracked objects deleted. The alias build/prepare/upload and Worker owners are unchanged from the complete artifact proof; independently landed browser anchor/mobile-TOC changes are also included in the production build. At 2026-08-31 04:31 UTC, all 58 original-/docs-route cases passed live, including 464 Markdown GET/HEAD requests, all three negotiated MIME types, exact canonical-body equality, noLocation, and correct browser destinations—without following redirects or cache-busting. At 05:11 UTC, all nine SDK guide variants (three guides × explicit Markdown, negotiated Markdown and browser HTML) showed the authored stable2026.8.1guidance and no obsolete E404 publication note. The older client/protocol Markdown entries refreshed naturally under the existing edge policy; no purge, cache-busting, request bypass or cache-policy change was used. The complete 58-case retirement probe passed again after that cache refresh. Locale cleanup belongs to translation finalization, not source sync: the candidate sync reports 976 orphan localized pages across the existing corpus and deliberately retains them. At the final workflow check, Translate Incremental is disabled manually, and the active full translation wave selects source4bc25d7a7001c67dadc80835619b200406fe5cb1, predating this retirement. Localized retirement therefore remains pending a new post-sync wave with complete accepted deletion artifacts, an aggregate commit and successful full deployment. No translation setting or finalizer gate is changed; English retirement is not a claim that every translated source has been removed.