Skip to content

docs: fix utility model migration links - #157441

Merged
Patrick-Erichsen merged 1 commit into
openclaw:mainfrom
LinzeShi:docs/utility-model-migration-links
Oct 1, 2026
Merged

Patrick-Erichsen merged 1 commit into
openclaw:mainfrom
LinzeShi:docs/utility-model-migration-links

Conversation

@LinzeShi

Copy link
Copy Markdown
Contributor

What Problem This Solves

The Apple Foundation Models setup guide and Doctor migration guide link to a nonexistent section when explaining utility-model migration.

User Impact

Readers following either link now reach the model configuration section that describes how the migration preserves an existing primary model.

Why This Change Was Made

Both links use #agentsdefaultsmodel, but the shared publishing parser emits #agents.defaults.model for the existing heading. Update the two references without changing headings, anchors, or configuration guidance.

Evidence

  • Reproduced both unresolved fragments with parseDocsDocument and resolveDocsFragment; both resolve after the change. All other source bytes and existing anchors are unchanged.
  • Full anchor audit at base 6e8d06876: 14,892 links checked, with failures reduced from 56 to 54. Comparing the reports confirms that only these two failures disappeared. The remaining failures are unrelated; ClawHub fragments remain unverified without its separate source checkout.
  • Focused MDX and formatting checks, the commit hook, and git diff --check passed.
  • Independent P0–P3 review found no actionable issues.

Documentation only; no runtime behavior changes.

@clawsweeper

clawsweeper Bot commented Sep 24, 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 triage: docs-discoverability Candidate: docs discoverability/listing change may belong elsewhere. triage: low-signal-docs Candidate: docs-only change looks low signal; maintainer review needed. docs Improvements or additions to documentation gateway Gateway runtime extensions: apple-fm size: XS labels Sep 24, 2026
@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

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

ClawSweeper review

What this changes

Updates links in the Doctor migration and Apple Foundation Models guides so readers reach the agent model configuration section.

Merge readiness

✅ Ready for maintainer review

Current main still contains both broken fragments, while this PR points them to the existing model configuration section. The narrow documentation fix remains useful, and I found no actionable patch defect.

Priority: P3
Reviewed head: f40d349217e0ae9a3f669f7e017c66abd4107ec0

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The small, coherent docs correction matches the source heading and parser contract, with no actionable 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 6 items Introduced patch: The pinned PR delta changes only the two model-configuration fragments from #agentsdefaultsmodel to #agents.defaults.model.
Destination heading: The target page has a agents.defaults.model heading and explains preservation of an older implicit primary during utility-model separation.
Published anchor contract: The shared parser reserves heading IDs and derives published heading aliases; the docs link-audit test includes a dotted agents.defaults heading fragment.
Findings None None.
Security None None.

How this fits together

OpenClaw's documentation guides readers from utility-model setup and Doctor migration advice to the agent model configuration reference. The docs publishing parser determines the section fragment those links must use.

flowchart LR
  A[Doctor migration guide] --> C[Documentation links]
  B[Apple model guide] --> C
  C --> D[Published fragment]
  E[Heading parser] --> D
  D --> F[Agent model configuration]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Docs 0. Total 0 across 2 files.

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

Review metrics

None.

Technical review

Best possible solution:

Land the corrected links through the normal documentation checks, keeping the existing section heading and migration guidance intact.

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

Yes. Both old fragments are present on current main, while the destination heading and docs parser support the dotted fragment.

Is this the best way to solve the issue?

Yes. Changing the two incoming links matches the existing published section without altering the heading or configuration guidance.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is a narrow documentation navigation fix with no runtime or configuration change.
  • 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:

Likely related people:

  • Peter Steinberger: Raw commit 0352277 adds docs/plugins/apple-fm.md:69 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 035227797aa6; files: docs/plugins/apple-fm.md)

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-24T17:29:38.310Z sha 0bf41d0d9994f62740e2e646ad8701a66309944b :: needs maintainer review before merge. :: none
  • reviewed 2026-09-30T22:26:09.728Z sha 0bf41d0d9994f62740e2e646ad8701a66309944b :: 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:

@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 30, 2026
@Patrick-Erichsen
Patrick-Erichsen force-pushed the docs/utility-model-migration-links branch from 0bf41d0 to f40d349 Compare September 30, 2026 22:36
@Patrick-Erichsen Patrick-Erichsen self-assigned this Sep 30, 2026
@Patrick-Erichsen
Patrick-Erichsen merged commit 7db2084 into openclaw:main Oct 1, 2026
59 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 extensions: apple-fm gateway Gateway runtime 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. triage: docs-discoverability Candidate: docs discoverability/listing change may belong elsewhere. triage: low-signal-docs Candidate: docs-only change looks low signal; maintainer review needed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants