Skip to content

docs(releases): keep the release-notes nav group to version routes - #140353

Merged
vincentkoc merged 1 commit into
mainfrom
fix/release-nav-route-shape
Sep 6, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/release-nav-route-shape

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What

Removes 23 releases/2026.8.1/<area> child routes from the Release notes nav group. The pages stay published and reachable.

Why

#140319 split the 2.17 MB v2026.8.1 page into 23 child pages and added each to the nav. That breaks an invariant asserted in test/scripts/docs-sync-publish.test.ts:

for (const page of releaseNotes.slice(1)) {
  expect(page).toMatch(/^releases\/\d{4}\.\d{1,2}\.\d+$/);
}

releases/2026.8.1/messaging does not match, so keeps generated locale navigation aligned with English routes started failing on main.

The docs-only change classification skips that test lane, so the break landed on main instead of on the PR — exactly what the comment above the assertion warns about:

Pinning the list makes this assertion fail on release PRs whose change classification never selects this lane, so the break first lands on main.

Reachability

All 23 children keep an inbound link — 15 from the parent index, the rest from sibling pagination — verified by scanning every /releases/2026.8.1/<slug> reference in docs/. Removing them from nav also stops the sidebar listing 23 sub-pages under a single release.

Validation

node scripts/check-docs-mdx.mjs docs README.md   # passed, 775 files
node scripts/docs-link-audit.mjs                 # 8292 links, 0 broken
node scripts/docs-link-audit.mjs --anchors       # 0 broken
node scripts/format-docs.mts --check             # clean, 762 files

PR #140319 split the 2.17 MB v2026.8.1 page into 23 child pages and
added every child to the "Release notes" nav group. That breaks the
route-shape invariant asserted in
test/scripts/docs-sync-publish.test.ts:

  for (const page of releaseNotes.slice(1)) {
    expect(page).toMatch(/^releases\/\d{4}\.\d{1,2}\.\d+$/);
  }

Child routes such as releases/2026.8.1/messaging do not match, so
"keeps generated locale navigation aligned with English routes" failed
on main. The docs-only change classification skips that lane, so the
break landed on main rather than on the PR, exactly as the comment
above the assertion predicts.

The children stay published and reachable: all 23 carry an inbound
link, 15 from the parent index and the rest from their sibling
pagination. Only the nav entries are removed, which also keeps the
sidebar from listing 23 sub-pages under one release.

Validated: check-docs-mdx (775 files), docs-link-audit 8292 links 0
broken, --anchors 0 broken, format-docs --check clean.
@clawsweeper

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

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS maintainer Maintainer-authored PR labels Sep 6, 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 6, 2026
@clawsweeper

clawsweeper Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 6, 2026, 2:06 PM ET / 18:06 UTC.

ClawSweeper review

What this changes

Removes the 23 v2026.8.1 section routes from the release sidebar while retaining their pages and links from the release index.

Merge readiness

✅ Ready for maintainer review

Keep open: current main still violates the release-navigation assertion, and this focused correction preserves the linked release content. No blocking defect was found.

Priority: P3
Reviewed head: 031a97dfae717c66dd65317121e200ea700ffda2

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused documentation correction with preserved links, reported docs checks, and no blocking finding.
Proof confidence 🌊 off-meta tidepool Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

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 7 items Verified patch scope: The merge-base-to-head diff only removes section routes from docs/docs.json; the plugin changes in endpoint drift belong to the base branch. The supplied verified test-merge comparison likewise changes only docs/docs.json.
Current main still needs the correction: Fetched main retains all 23 nested section routes. The existing test recursively collects navigation pages and requires every release entry after the index to match a version-only route. The proposed deletion satisfies that assertion without modifying the test.
Release content remains reachable: The version index links to all 15 section pages; the maintainer section links to all eight maintenance pages at lines 384–391. No page content, pathname, or anchor is changed.
Findings None None.
Security None None.

How this fits together

The documentation navigation config controls the release sidebar and feeds generated locale navigation. Release content is copied separately into the publishing repository.

flowchart TD
  A[Navigation config] --> B[Release sidebar]
  A --> C[Generated locale navigation]
  B --> D[Version index]
  D --> E[Section and maintenance pages]
  F[Documentation source files] --> G[Published documentation]
  E --> G
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Docs -24. Total -24 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 1 1 25 -24
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 1 25 -24

Review metrics

None.

Technical review

Best possible solution:

Keep release versions in the sidebar and use each version's index to expose its detailed sections without changing published URLs.

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

Yes, from source: current main supplies nested section routes to an existing assertion that accepts only version routes. The test was inspected but not executed.

Is this the best way to solve the issue?

Yes: changing the navigation preserves the existing assertion and the release-page split while retaining index-based access to every removed sidebar destination.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is a bounded documentation-navigation correction with preserved content and links.
  • 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: Real behavior proof is not required because this PR only changes files under docs/.

Label justifications:

  • P3: This is a bounded documentation-navigation correction with preserved content and links.
  • 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: Real behavior proof is not required because this PR only changes files under docs/.

Evidence

What I checked:

  • Verified patch scope: The merge-base-to-head diff only removes section routes from docs/docs.json; the plugin changes in endpoint drift belong to the base branch. The supplied verified test-merge comparison likewise changes only docs/docs.json. Public docs: docs/docs.json. (docs/docs.json:2185, 031a97dfae71)
  • Current main still needs the correction: Fetched main retains all 23 nested section routes. The existing test recursively collects navigation pages and requires every release entry after the index to match a version-only route. The proposed deletion satisfies that assertion without modifying the test. (test/scripts/docs-sync-publish.test.ts:376, 96bf3652adab)
  • Release content remains reachable: The version index links to all 15 section pages; the maintainer section links to all eight maintenance pages at lines 384–391. No page content, pathname, or anchor is changed. Public docs: docs/releases/2026.8.1.md. (docs/releases/2026.8.1.md:24, 031a97dfae71)
  • Publishing does not filter these files by navigation: The publishing owner copies the documentation tree with rsync; its exclusions concern internal and generated locale material, not release pages omitted from navigation. (scripts/docs-sync-publish.mjs:785, 031a97dfae71)
  • Related merged work and routing history: Provided GitHub metadata identifies docs(releases): split the v2026.8.1 page and fix the release index #140319 as the merged release-page split. Current-main history records Vincent Koc on that change and Hannes Rudolph on recent release-note additions. These establish relevant routing candidates, not independently verified source-line introduction. Public docs: docs/docs.json. (docs/docs.json, 2a2a9e767f99)
  • Validation and inspection limits: The PR body reports passing MDX, link, anchor, and formatting checks. Reviewer git diff --check passed; no tests or publishing commands were executed. Some historical parent blobs and the supplied release object were unavailable, so exact introduction and release inclusion were not established. Public docs: docs/docs.json. (docs/docs.json, 031a97dfae71)

Likely related people:

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

@vincentkoc
vincentkoc merged commit 856c5f5 into main Sep 6, 2026
65 checks passed
@vincentkoc
vincentkoc deleted the fix/release-nav-route-shape branch September 6, 2026 18:24
vincentkoc added a commit that referenced this pull request Sep 6, 2026
* origin/main: (25 commits)
  docs(releases): keep the release-notes nav group to version routes (#140353)
  fix(ui): hide trust wrappers in imported chat history
  fix(subagents): subagent list building decodes unrelated saved prompts in large session stores (#139540)
  test(process): share relay startup fixtures (#140345)
  refactor(doctor): inline GitHub skill discovery inputs (#140343)
  refactor(ui): share channel status type definitions (#140331)
  refactor: simplify queue state and infrastructure dispatch (#140311)
  fix: require saved agent turns before update verification succeeds (#140274)
  fix(update): keep the service profile when switching to Git (#140263)
  fix(ui): prevent image avatars overlapping mobile chat (#140341)
  fix(test): accept release subpages in docs route shape (#140337)
  refactor(plugins): share uninstall mutation ownership (#140322)
  refactor(agents): use canonical tool execution arguments (#140280)
  perf(cli): keep inference metadata and domain help lazy (#140327)
  refactor(plugins): simplify self-hosted setup results (#140332)
  refactor(config): reuse parent lookup for unset operations (#140326)
  fix(plugins): preserve exact installed-index mutation receipts (#140328)
  test(agents): simplify MCP and LSP boundary fixtures (#140312)
  fix(ui): preserve literal source previews and copied whitespace (#140306)
  fix: OpenCode Go/Zen requests are missing the required x-opencode-session header (#137464)
  ...
vincentkoc added a commit that referenced this pull request Sep 6, 2026
PR #140353 removed the 23 child routes from the "v2026.8.1 sections"
group, which left the group and its "Maintenance changes" subgroup
empty. An empty group renders as a dead sidebar heading.

Nav page count is unchanged at 598.

Validated: docs-sync-publish "keeps generated locale navigation aligned
with English routes" passes, check-docs-mdx 775 files, docs-link-audit
8291 links 0 broken.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 7, 2026
…penclaw#140353)

PR openclaw#140319 split the 2.17 MB v2026.8.1 page into 23 child pages and
added every child to the "Release notes" nav group. That breaks the
route-shape invariant asserted in
test/scripts/docs-sync-publish.test.ts:

  for (const page of releaseNotes.slice(1)) {
    expect(page).toMatch(/^releases\/\d{4}\.\d{1,2}\.\d+$/);
  }

Child routes such as releases/2026.8.1/messaging do not match, so
"keeps generated locale navigation aligned with English routes" failed
on main. The docs-only change classification skips that lane, so the
break landed on main rather than on the PR, exactly as the comment
above the assertion predicts.

The children stay published and reachable: all 23 carry an inbound
link, 15 from the parent index and the rest from their sibling
pagination. Only the nav entries are removed, which also keeps the
sidebar from listing 23 sub-pages under one release.

Validated: check-docs-mdx (775 files), docs-link-audit 8292 links 0
broken, --anchors 0 broken, format-docs --check clean.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 7, 2026
PR openclaw#140353 removed the 23 child routes from the "v2026.8.1 sections"
group, which left the group and its "Maintenance changes" subgroup
empty. An empty group renders as a dead sidebar heading.

Nav page count is unchanged at 598.

Validated: docs-sync-publish "keeps generated locale navigation aligned
with English routes" passes, check-docs-mdx 775 files, docs-link-audit
8291 links 0 broken.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation 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: 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