Skip to content

fix(docs): preserve mirrored ClawHub maturity links - #138241

Merged
steipete merged 1 commit into
mainfrom
codex/perf8-qa-clawhub-doc-refs
Sep 4, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/perf8-qa-clawhub-doc-refs

Conversation

@steipete

@steipete steipete commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Generated maturity pages silently omitted valid ClawHub links because the renderer indexed only Markdown files present in this repository. ClawHub documentation is supplied by the publishing pipeline from its separate source repository.

Share the auditor's existing declared-mirror route policy with the maturity renderer. Navigation-declared ClawHub pages and index aliases now remain in generated Markdown. Missing ordinary local pages, undeclared mirrors, private paths and external targets stay excluded, and existing redirect/fragment behavior is preserved. All five canonical taxonomy references remain unchanged. This replaces the earlier proposed taxonomy substitutions: the physical-file-only taxonomy assumption was incorrect, and the ClawSweeper finding identifying the lost publishing/trust links is addressed at the renderer owner.

The shared helper replaces the auditor's local implementations without importing its CLI side effects. Tooling is +75/-57 (net +18); tests are +26/-2 (net +24). No taxonomy, score, schema, configuration, scenario-catalog or publishing-pipeline changes are included. This is a correctness repair with no memory or performance claim.

The actual renderer CLI regression fails against the original renderer on exactly five missing mirror links and passes against the candidate. Both complete existing suites pass all 26 cases (19 auditor, seven renderer), including unknown/private/local omissions, redirects and fragment precedence. All five files pass formatting; the canonical changed-file gate passes all 27 stages, including typechecking, dead-export checks and lint. Independent source and actual-proof audits found no actionable issue, and managed Codex review through P2 is clear. All local proof processes and resource claims are closed.

This proves locally generated Markdown, not a new deployed docs build. The public publishing, skill-format and security-audits pages were inspected separately. The original failing logs remain preserved; their cleanly closed temporary runtime was removed normally. Earlier CI results for the superseded taxonomy-only head remain historical; the new head must pass normal hosted CI.

Maintainer disposition for the current review: retain the shared route collector and its net 18 tooling lines. The added route-admission capability is consumed by both the auditor and renderer; removing the shared owner would reintroduce duplicate policy or pull CLI side effects into the renderer. Existing namespace restrictions, redirects and fragment behavior remain covered.

The review’s serialized-state flag names a documentation renderer, not a runtime store. Its existing output map and writer emit derived maturity/scorecard.md and maturity/taxonomy.md; the unchanged optional static-assets path copies source YAML/evidence JSON without changing their representation. This patch changes only the in-memory route index used to render links. Taxonomy, score and evidence input formats, database schemas, stored user state, CLI flags, and output filenames remain unchanged, so no migration is needed. The original/candidate CLI comparison uses the same existing input fixtures, and all seven renderer cases plus nineteen auditor cases pass. Generated documentation gains the missing declared links without a storage upgrade.

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 4, 2026
@clawsweeper

clawsweeper Bot commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 4, 2026, 10:54 AM ET / 14:54 UTC.

ClawSweeper review

What this changes

The PR shares navigation-derived ClawHub route discovery between the documentation-link auditor and maturity-page renderer so generated maturity Markdown retains valid mirrored links.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep this PR open. Current main still builds the maturity renderer’s route index from physical local files and redirects only, while the ClawHub pages are declared in navigation and mirrored separately; this focused shared route collector repairs that gap with no blocking correctness or security finding.

Priority: P3
Reviewed head: 583bc888072c68d8779a6b24186358b8cc3cd605

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A focused owner-boundary repair with credible CLI regression coverage and no actionable review finding.
Proof confidence 🌊 off-meta tidepool Not applicable: This MEMBER-authored tooling repair is exempt from the external-contributor proof gate. The changed production owner is the maturity renderer, and its focused CLI regression directly exercises navigation-only route admission; the reviewer did not rerun it because Corepack failed while attempting an EROFS cache write on this read-only host.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This MEMBER-authored tooling repair is exempt from the external-contributor proof gate. The changed production owner is the maturity renderer, and its focused CLI regression directly exercises navigation-only route admission; the reviewer did not rerun it because Corepack failed while attempting an EROFS cache write on this read-only host.
Evidence reviewed 6 items Current-main failure boundary: At fetched main, the renderer indexes only Markdown files physically present under its docs root plus redirects; docsLink drops a reference whose route is absent from that set. The source tree has no docs/clawhub/ directory, so navigation-only mirrored routes are not admitted.
Published-route declaration: The target repository’s docs navigation explicitly declares ClawHub publishing, skill-format, and security-audits routes despite their source pages being mirrored at publish time.
Repair at the route-index owner: The introduced collector admits only /clawhub navigation routes and index aliases; the renderer feeds those normalized routes into its existing route set before resolving taxonomy references.
Findings None None.
Security None None.

How this fits together

The maturity renderer converts taxonomy documentation references into links in generated scorecard pages. The docs publisher separately mirrors ClawHub pages, and navigation declares which of those public routes are valid.

flowchart LR
  A[Taxonomy documentation references] --> B[Maturity renderer]
  C[Documentation navigation] --> D[Mirrored route collector]
  D --> B
  B --> E[Generated maturity Markdown]
  F[Docs publisher mirror] --> C
  G[Link auditor] --> D
Loading

Before merge

  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Tests +24, Other +18. Total +42 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 26 2 +24
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 3 75 57 +18
Total 5 101 59 +42

Review metrics

Metric Value Why it matters
Production versus test delta tooling +18 net; tests +24 net The shared helper replaces duplicated auditor traversal and adds the renderer admission path; the accompanying CLI regression protects both accepted and rejected route classes.

Stored data model

Persistent data-model change detected: serialized state: scripts/qa/render-maturity-docs.ts. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Use the shared navigation-derived mirror-route collector so the auditor and renderer retain one public-route policy without importing audit CLI behavior.

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

Yes, from source. Current main admits only physical local docs routes, while target-owned navigation declares mirrored ClawHub routes; the changed CLI regression encodes that exact nav-only case, although local execution was blocked because Corepack attempted a cache write on the read-only review host.

Is this the best way to solve the issue?

Yes. Extracting the existing auditor route policy into a shared helper fixes the renderer at its route-index owner and avoids both duplicated traversal and importing the audit CLI.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🌊 off-meta tidepool and patch quality is 🦞 diamond lobster.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.

Label justifications:

  • P3: This is a narrowly scoped generated-documentation correctness repair with limited operator impact.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🌊 off-meta tidepool and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored tooling repair is exempt from the external-contributor proof gate. The changed production owner is the maturity renderer, and its focused CLI regression directly exercises navigation-only route admission; the reviewer did not rerun it because Corepack failed while attempting an EROFS cache write on this read-only host.

Evidence

What I checked:

  • Current-main failure boundary: At fetched main, the renderer indexes only Markdown files physically present under its docs root plus redirects; docsLink drops a reference whose route is absent from that set. The source tree has no docs/clawhub/ directory, so navigation-only mirrored routes are not admitted. (scripts/qa/render-maturity-docs.ts:208, 8f986e0ea839)
  • Published-route declaration: The target repository’s docs navigation explicitly declares ClawHub publishing, skill-format, and security-audits routes despite their source pages being mirrored at publish time. Public docs: docs/docs.json. (docs/docs.json:1599, 8f986e0ea839)
  • Repair at the route-index owner: The introduced collector admits only /clawhub navigation routes and index aliases; the renderer feeds those normalized routes into its existing route set before resolving taxonomy references. (scripts/lib/docs-published-routes.mts:53, 583bc888072c)
  • Boundary regression coverage: The changed CLI test supplies nav-only mirrored routes, verifies five valid ClawHub references render, and verifies undeclared/local/private/external targets remain absent. (test/scripts/render-maturity-docs.test.ts:203, 583bc888072c)
  • Publisher and generation path: The publisher replaces docs/clawhub/ from the separate ClawHub source, while the maturity workflow renders against the ordinary docs root. That makes route admission from target-owned navigation the appropriate shared contract. (scripts/docs-sync-publish.mjs:725, 583bc888072c)
  • Relevant feature history: Recent merged maturity-link repairs establish the same renderer as the maintained owner surface; the PR author also authored those prior merged repairs. Raw parentage was inspected for the cited commit, but historical line-introduction could not be reconstructed locally because this blob-filtered checkout could not fetch missing objects. (scripts/qa/render-maturity-docs.ts:253, 2e61b52af8b1)

Likely related people:

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

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 (3 earlier review cycles)
  • reviewed 2026-09-04T12:08:28.010Z sha bc9b8f0ca9caa0cff5b5404b262d7da8af5574b6 :: blocked before merge. :: none
  • reviewed 2026-09-04T12:43:14.222Z sha df7ad8a :: blocked before merge. :: [P2] Preserve canonical ClawHub documentation routes
  • reviewed 2026-09-04T13:54:58.739Z sha 583bc88 :: blocked before merge. :: none

@steipete
steipete force-pushed the codex/perf8-qa-clawhub-doc-refs branch from bc9b8f0 to df7ad8a Compare September 4, 2026 12:15
@steipete steipete changed the title test: use repository-owned ClawHub documentation references fix: repair ClawHub taxonomy documentation references Sep 4, 2026
@openclaw-barnacle openclaw-barnacle Bot closed this Sep 4, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Sep 4, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. 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. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 4, 2026
Share the existing declared ClawHub route policy between the docs auditor and maturity renderer. Preserve precise taxonomy references, local/private exclusions and redirect fragment behavior.
@steipete
steipete force-pushed the codex/perf8-qa-clawhub-doc-refs branch from df7ad8a to 583bc88 Compare September 4, 2026 13:45
@steipete steipete changed the title fix: repair ClawHub taxonomy documentation references fix(docs): preserve mirrored ClawHub maturity links Sep 4, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed 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. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Sep 4, 2026
@steipete
steipete merged commit 05d9c8b into main Sep 4, 2026
163 of 165 checks passed
@steipete
steipete deleted the codex/perf8-qa-clawhub-doc-refs branch September 4, 2026 14:56
@steipete

steipete commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 4, 2026
…9-prep

* commit '407a8f453c0f0306af1ddc0aafa8697c1d49a9e7': (312 commits)
  perf(ui): coalesce automation event refreshes (#138065)
  fix: reject incomplete Skill Workshop directory reads (#138082)
  test(ui): decouple rendering checks from generated wording (#138283)
  perf: avoid temporary entries in bounded JSON traversal (#138017)
  fix(irc): render complete messages before splitting (#138328)
  perf: prepare worker trajectory payloads only for recorded events (#138086)
  fix(mcp): paginated listings no longer time out after a forward clock step (#137206)
  fix(codex): page native transcripts and bound UI previews (#136282)
  feat(gateway): apply more settings without restarting (#138112)
  fix(docs): preserve mirrored ClawHub maturity links (#138241)
  fix(test): own UI animation and legacy database setup (#138296)
  fix(tts): preserve literal directives in Markdown code (#138319)
  fix: load chat widgets behind authenticated gateways (#138074)
  chore(ui): cover native approval finalization (#137259)
  fix(cron): cancel conditions before main-session handoff (#138313)
  fix(backup): preserve text after embedded NUL characters (#138327)
  fix(android): align composer control sheets (#137442)
  fix(ci): wait for replacement PR runs instead of stale failures (#138307)
  fix(sessions): keep Gateway responsive with long transcripts (#138094)
  fix(computer): map window inputs to delivered image coordinates (#138271)
  ...

# Conflicts:
#	scripts/release-check.ts
#	test/release-check.test.ts
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 5, 2026
Share the existing declared ClawHub route policy between the docs auditor and maturity renderer. Preserve precise taxonomy references, local/private exclusions and redirect fragment behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant