Repository navigation
fix(docs): restore section links and unique maturity anchors - #138121
Conversation
Point stale development, agent, exec, GitHub, audio, Docker, and macOS skill trust references at their canonical published sections. Regenerate maturity pages with the existing renderer and original verified QA evidence, preserving scores and recorded outcomes while removing duplicate IDs and stale projections. Keep canonical ClawHub mirror routes and the anchor audit unchanged. Validate 8,353 assembled links with no broken destinations, seven renderer tests, MDX, glossary parity, formatting, and evidence-backed maturity freshness.
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Land-ready verification for Exact-head CI run 33857720075 completed successfully, and the required The repaired assembled docs check 8,353 links with 0 broken destinations. The existing maturity renderer tests pass 7/7; evidence-backed maturity freshness, MDX (753 files), glossary, formatting (740 files), and OPENCLAW_DOCS_SYNC_CLAWHUB_REPO=.artifacts/docs-source-clawhub.oQUoHb pnpm docs:check-links:anchorspnpm maturity:check -- --evidence-dir .artifacts/docs-anchors/evidence --allow-failuresThe historical QA results and existing 281-versus-280 category warning remain unchanged; this is not a new QA score claim. No runtime or app UI behavior changed. ClawSweeper's before-merge verification gap is addressed. Its completed review found no correctness or security defects; the sole remaining item was that its read-only Corepack environment could not execute the audit. An independent execution worker has now rerun both commands above against exact committed head The chosen mitigation is the actual committed-head execution proof, not a source change or weakened review environment. Keep the canonical link fixes and renderer-derived projections unchanged, as the review recommends. No actionable item is being skipped and no additional review cycle is needed for this unchanged head. Scope remains documentation only: 13 files, +19/-21 lines, no new aliases or audit exceptions. The separate ClawHub page-ownership follow-up is recorded in the PR body. |
|
Codex review: blocked before merge. Reviewed September 4, 2026, 5:31 AM ET / 09:31 UTC. ClawSweeper reviewWhat this changesThe PR repairs stale published-documentation anchors, adds a stable skill-trust section target, and refreshes generated maturity pages to retain one canonical anchor per section. Merge readiness⛔ Blocked before merge - 1 item remains Keep this active: current main does not include the 13 documentation-path changes, and static inspection finds the focused documentation repair correct. This is also an active maintainer-authored PR with a protected maintainer label. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw source documentation is parsed into the published docs site, where cross-references guide operators to configuration and troubleshooting sections. Maturity scorecard and taxonomy pages are generated from taxonomy and QA inputs, then linked from the same site. flowchart LR
A[Source documentation] --> B[Shared Markdown parser]
C[Taxonomy and QA inputs] --> D[Maturity renderer]
D --> B
B --> E[Published documentation site]
E --> F[Operator navigation]
Before merge
Agent review detailsSecurityNone. PR surfaceDocs -2. Total -2 across 13 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Publish the canonical link fixes and renderer-derived maturity projections while leaving taxonomy, QA scores, and the shared parser/audit behavior unchanged. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a documentation-navigation repair. Static source inspection identifies the target headings and the parser/audit contract, although the local audit could not run in this read-only environment. Is this the best way to solve the issue? Yes. Correcting source cross-references and removing duplicate authored IDs preserves the canonical generated heading anchors instead of adding compatibility aliases or a parallel documentation path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e0c230789b33. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
Remove competing local CLI and publishing pages while preserving OpenClaw-specific workflows and the owner primer in existing guides. Keep the ClawHub mirror and published routes unchanged, and document real-mirror anchor validation. Related: #138121.
…w#138121) Point stale development, agent, exec, GitHub, audio, Docker, and macOS skill trust references at their canonical published sections. Regenerate maturity pages with the existing renderer and original verified QA evidence, preserving scores and recorded outcomes while removing duplicate IDs and stale projections. Keep canonical ClawHub mirror routes and the anchor audit unchanged. Validate 8,353 assembled links with no broken destinations, seven renderer tests, MDX, glossary parity, formatting, and evidence-backed maturity freshness.
Remove competing local CLI and publishing pages while preserving OpenClaw-specific workflows and the owner primer in existing guides. Keep the ClawHub mirror and published routes unchanged, and document real-mirror anchor validation. Related: openclaw#138121.
What Problem This Solves
Fixes an issue where readers following documentation cross-references reached missing sections after heading and page changes. The current anchor audit also rejects duplicate section IDs in the checked-in maturity scorecard and taxonomy pages.
Reproduced on main at
be967f4a514f7ff944cff1c6612af2f0f7285458: the unconfigured linked-worktree audit reported 30 failures. Supplying the canonical ClawHub mirror separated missing local source input from actual published-link defects and exposed an additional macOS skills link to a section that is overwritten during publishing.Why This Change Was Made
Correct nine stale cross-references to their actual published destinations, including punctuation-preserving heading IDs and the Docker permissions accordion. Give the existing OpenClaw-owned skill release-trust paragraph a proper heading and point the macOS caller there instead of a locally present but unpublished ClawHub override.
Regenerate the maturity pages through the existing renderer, whose duplicate-ID source fix is already on main in 0a1e564d345. The regeneration uses unchanged current taxonomy/score sources and the original verified QA artifact; no generated Markdown was hand-edited. It also incorporates existing canonical taxonomy changes, including removal of redundant redirected links. Scores and recorded QA outcomes are unchanged.
The
/clawhuband/clawhub/security-auditsroutes and their legacy redirects are correct and remain unchanged. Their pages come from the existingopenclaw/clawhubmirror. No new compatibility aliases, audit exemptions, runtime changes, or changelog edits are included.User Impact
Readers reach the intended development, working-directory, ambient-owner, exec-policy, GitHub-identity, audio, Docker permissions, and skill-trust sections. Maturity jump links retain their canonical IDs without duplicate authored anchors.
The patch changes 13 documentation files: +19/-21 lines. Production/tooling code: +0/-0. Tests: +0/-0. English source only; translations remain owned by the publishing pipeline.
Evidence
fa653d46c7702f491119f8f979254b0b4cf18efd, using the existingOPENCLAW_DOCS_SYNC_CLAWHUB_REPOinput. Missing mirror input is a linked-worktree setup issue, not a reason to replace canonical routes.maturity:check: up to date.git diff --checkpassed.ed6e3aabf0ef6cd58a8ee9d9282a6dc6c06cc918was checked before publication and had no intervening changes in the 13 touched docs.Exact local validation commands (artifact paths are repository-relative):
OPENCLAW_DOCS_SYNC_CLAWHUB_REPO=.artifacts/docs-source-clawhub.oQUoHb pnpm docs:check-links:anchors pnpm maturity:render -- --evidence-dir .artifacts/docs-anchors/evidence --allow-failures pnpm maturity:check -- --evidence-dir .artifacts/docs-anchors/evidence --allow-failures pnpm test test/scripts/render-maturity-docs.test.ts pnpm docs:check-mdx pnpm docs:check-i18n-glossary pnpm format:docs:check git diff --checkHistorical maturity evidence, not a new QA run
Recovered the original artifact 9270102878 from Maturity Scorecard run 31971708839. Its ZIP SHA-256 matches GitHub metadata:
5e326958f9140671b1f691f9baef88a658de65fff73797bfcef99cfeb8389951. The byte-identical renderer input has SHA-2566a4fab51602aa6500b8096eca0fdac211bcf1c7d2a073b063427cabe7939aaf7.This preserves the August 16 evidence: 406 checks, 313 passed, 35 failed, 51 blocked, 7 skipped. The existing 281 evidence categories versus 280 active categories warning is preserved.
--allow-failuresretains those historical outcomes; this PR does not claim fresh passing QA evidence or alter maturity scores.Follow-up
The local
docs/clawhub/cli.mdanddocs/clawhub/publishing.mdpages are replaced by the ClawHub mirror during publishing. A separate source-ownership consolidation was noted; this PR fixes the broken consumer without broadening into that redesign.