Skip to content

docs: fix SDK migration section links - #158229

Merged
Patrick-Erichsen merged 2 commits into
openclaw:mainfrom
LinzeShi:docs/sdk-migration-section-links
Oct 1, 2026
Merged

Patrick-Erichsen merged 2 commits into
openclaw:mainfrom
LinzeShi:docs/sdk-migration-section-links

Conversation

@LinzeShi

Copy link
Copy Markdown
Contributor

Related: #142607.

What Problem This Solves

Fifteen links in the Plugin SDK migration index open the removed-surfaces page without reaching the selected API's replacement guidance.

User Impact

Plugin authors can follow each migration topic directly to its matching section.

Why This Change Was Made

Point the index links at the existing section IDs emitted from the full Accordion titles. Preserve every compatibility anchor on the index and leave the destination page unchanged.

Evidence

  • Reproduced all 15 unresolved fragments using the shared publishing parser. After the change, all 24 index links into the removed-surfaces page resolve.
  • Full anchor audit at base e124d77e0: 14,944 links checked; failures reduced from 54 to 39. The report comparison confirms that only these 15 failures disappeared. Remaining failures are unrelated; ClawHub fragments were not checked because that separate source checkout is absent.
  • Focused MDX and formatting checks and git diff --check passed.
  • Independent P0–P3 review found no actionable issues.

Documentation only; no runtime behavior changes.

@clawsweeper

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

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

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

clawsweeper Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 30, 2026, 6:25 PM ET / 22:25 UTC (Revision 3).

ClawSweeper review

What this changes

Updates Plugin SDK migration index links so plugin authors reach the matching replacement guidance while existing index anchors stay in place.

Merge readiness

✅ Ready for maintainer review

Keep open. Current main and the latest release still contain short destination fragments that do not match the published Accordion IDs. The focused correction remains useful; the earlier merged guide split did not fix these links.

Priority: P3
Reviewed head: 1db2fc3f53bd2bcf983be98e8dc5e7da4617a78d

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A narrow documentation correction with source-supported anchor targets and focused validation evidence.
Proof confidence 🐚 platinum hermit (4/6) 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 Introduced change: The pinned PR delta changes 14 destination fragments and retains the index's authored compatibility anchors.
Current main still needs the fix: Current main still links the command-auth topic to the short #command-auth fragment, as it does for the other changed topics.
Destination titles: The destination page uses full Accordion titles, including “command-auth help builders -> command-status”; the new fragments follow those titles.
Findings None None.
Security None None.

How this fits together

The Plugin SDK migration index routes plugin authors from legacy API names to replacement guidance on child documentation pages. The docs publisher derives section IDs from Accordion titles, and those IDs determine where each link lands.

flowchart LR
  A[Plugin author] --> B[Migration index]
  B --> C[Topic link]
  C --> D[Published section ID]
  D --> E[Removed surfaces guide]
  E --> F[Replacement guidance]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Docs 0. Total 0 across 1 file.

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

Review metrics

None.

Technical review

Best possible solution:

Publish links to the parser-derived destination IDs while preserving the stable anchors on the migration index.

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

Yes. Current main's short index fragments differ from the IDs derived from the destination Accordion titles; this review verified the source path without running the publisher.

Is this the best way to solve the issue?

Yes. Correcting the index links follows the published anchor contract and preserves the legacy index anchors.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is a focused documentation navigation repair with no runtime change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit 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:

Likely related people:

  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: 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 (2 earlier review cycles)
  • reviewed 2026-09-25T17:32:30.936Z sha 6dcb500 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-29T07:05:17.030Z sha 1db2fc3 :: needs maintainer review before merge. :: none

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

@clawsweeper re-review
The prior completed review is over 12 hours old; please refresh it against the current PR head before landing.

@clawsweeper

clawsweeper Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@Patrick-Erichsen Patrick-Erichsen self-assigned this Oct 1, 2026
@Patrick-Erichsen
Patrick-Erichsen merged commit 80f68b8 into openclaw:main Oct 1, 2026
60 checks passed
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

Merged via squash.

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 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.

2 participants