Skip to content

fix(docs): detect missing navigation routes - #144075

Merged
steipete merged 1 commit into
mainfrom
codex/fix-docs-navigation-inventory
Sep 10, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/fix-docs-navigation-inventory

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Related: #144037 and #133652. Preserves the navigation split introduced in #144021.

What Problem This Solves

The publisher test sampled six Contributing routes from the generated navigation instead of checking its complete independent inventory. Removing another route, such as concepts/qa-e2e-automation/qa-reporting, from English also removed it from every generated locale while the test continued to pass. Its last-four-tab assertion also stopped protecting Gateway & Ops ordering.

Why This Change Was Made

Restore the explicit ordered 56-route Contributing inventory and exact equality, and assert the last five tabs including Gateway & Ops. Keep the existing dynamic release-version check, locale projections, translated Chinese labels, and manifest-driven hidden QA exclusion.

User Impact

Documentation checks again detect accidentally lost Contributing routes and tail-tab ordering changes. This follow-up changes only the publisher test; the merged navigation and translated overlay are preserved.

Evidence

A real publisher mutation test removed concepts/qa-e2e-automation/qa-reporting: the original test passed, while the corrected test failed specifically on the missing route. The navigation bytes were restored afterward. Fresh independent review through P2 accepted the full corrected candidate. The follow-up uses the same correction bytes and unchanged publisher, navigation, manifest, and catalog context from that review.

The complete docs publisher and official channel catalog suites passed, 32 tests. Required changed checks passed, including formatting, test-root types, lint, dead-export checks, and the selected guards. Exact-head hosted CI remains required before native landing.

Restore the exact ordered Contributing route inventory and the last-five-tab
Gateway & Ops guard after #144037. Keep the #144021 split, translated Chinese
overlay, hidden QA exclusion, and dynamic release-version checks intact.

The real publisher mutation probe shows a removed qa-reporting route escaping
the old sampled check and failing the restored guard. All 32 publisher/catalog
tests, required changed checks, and independent P2 review passed.

Preserves the fixed non-release inventory contract from #133652.
@clawsweeper

clawsweeper Bot commented Sep 10, 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.

@steipete
steipete marked this pull request as ready for review September 10, 2026 13:34
@openclaw-barnacle openclaw-barnacle Bot added size: S maintainer Maintainer-authored PR labels Sep 10, 2026
@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 10, 2026
@clawsweeper

clawsweeper Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 10, 2026, 9:41 AM ET / 13:41 UTC.

ClawSweeper review

What this changes

The PR checks all 56 Contributing documentation routes in order and restores the Gateway & Ops tab-order assertion in the publisher test.

Merge readiness

✅ Ready for maintainer review

This remains a useful, focused regression guard: current main still permits unsampled Contributing routes to disappear without failing the test. No actionable patch defects were found, and the maintainer-protected PR should remain open.

Priority: P3
Reviewed head: 8e284a95264ff62cde8f02686c2aae6565bfa1a2

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, maintainable assertion repair with relevant reported mutation validation and no identified correctness defects.
Proof confidence 🌊 off-meta tidepool Not applicable: The supplied maintainer context exempts this test-only PR from external-contributor runtime proof; its body nevertheless reports a relevant before/after mutation through the real documentation publisher.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The supplied maintainer context exempts this test-only PR from external-contributor runtime proof; its body nevertheless reports a relevant before/after mutation through the real documentation publisher.
Evidence reviewed 7 items Introduced change: The pinned merge-base-to-head diff changes only navigation assertions in the existing publisher test. The host-verified test merge likewise changes only this file relative to its main parent.
Still necessary on main: Fetched main derives contributingRoutes from actual output and checks only six required entries; subsequent locale comparisons reuse that derived list. Removing an unsampled English route can therefore escape every comparison.
Independent inventory matches navigation: The Contributing navigation contains the ordered routes asserted by the patch. Its source configuration is unchanged between fetched main and this head.
Findings None None.
Security None None.

How this fits together

The documentation publisher combines English navigation with translated labels to generate localized navigation. This test checks that the generated menus preserve required routes and ordering.

flowchart LR
 A[English navigation] --> C[Documentation publisher]
 B[Translated labels] --> C
 C --> D[Localized navigation]
 D --> F[Navigation assertions]
 E[Independent route inventory] --> F
 F --> G[Pass or report missing routes]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +49. Total +49 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 61 12 +49
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 61 12 +49

Review metrics

Metric Value Why it matters
Independent route coverage 56 ordered routes instead of 6 sampled routes The assertion can now detect removal of previously unchecked Contributing pages.

Technical review

Best possible solution:

Keep the independent non-release route inventory alongside dynamic release-version checks and the existing locale projections.

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

Yes, from source: removing an unsampled Contributing route propagates into derived locale expectations and evades main's sampled assertion. The body reports that exact mutation probe; this review did not execute it.

Is this the best way to solve the issue?

Yes. Strengthening the existing publisher-boundary assertion restores an independent contract without adding another validator or pinning changing release versions.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This strengthens documentation regression coverage without changing production behavior.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The supplied maintainer context exempts this test-only PR from external-contributor runtime proof; its body nevertheless reports a relevant before/after mutation through the real documentation publisher.

Label justifications:

  • P3: This strengthens documentation regression coverage without changing production behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The supplied maintainer context exempts this test-only PR from external-contributor runtime proof; its body nevertheless reports a relevant before/after mutation through the real documentation publisher.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • RomneyDa: 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.

@steipete
steipete merged commit 46ffd89 into main Sep 10, 2026
171 checks passed
@steipete
steipete deleted the codex/fix-docs-navigation-inventory branch September 10, 2026 14:21
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 11, 2026
Restore the exact ordered Contributing route inventory and the last-five-tab
Gateway & Ops guard after openclaw#144037. Keep the openclaw#144021 split, translated Chinese
overlay, hidden QA exclusion, and dynamic release-version checks intact.

The real publisher mutation probe shows a removed qa-reporting route escaping
the old sampled check and failing the restored guard. All 32 publisher/catalog
tests, required changed checks, and independent P2 review passed.

Preserves the fixed non-release inventory contract from openclaw#133652.
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: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S 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