Skip to content

docs(cli): split the plugins command reference by reader job - #142980

Merged
vincentkoc merged 1 commit into
mainfrom
docs-audit/split-cli-plugins
Sep 9, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
docs-audit/split-cli-plugins

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

docs/cli/plugins.md was 55,872 characters across 11 H2 sections, mixing a CLI synopsis, an authoring how-to, 2,065 words of install-policy explanation buried in nine accordions, lifecycle reference, diagnostics, and marketplace feed-trust text on one page (audit finding r3-0126, blocking). It is now a short index over six children, one per reader job.

Children

Page Sections moved
cli/plugins/authoring Author, Feature scaffold and artifacts, Provider scaffold
cli/plugins/install Install (9 accordions, 2 tabs), Marketplace shorthand
cli/plugins/list List (3 ParamFields), Plugin index
cli/plugins/uninstall-and-update Uninstall, Update (6 accordions)
cli/plugins/inspect-and-diagnose Inspect, Doctor, Registry
cli/plugins/marketplace Marketplace

The index keeps the intro, the CardGroup, the full ## Commands synopsis with its lifecycle-trace, Nix-mode, and bundled-plugin notes, and ## Related.

Naming and index shape follow the landed docs/cli/doctor/ split (verified with test -d, not cited from an open PR); docs/cli/update/ is the second on-main precedent for this directory. Each child is a contiguous range of the original, so the reassembly proof below is exact rather than order-sensitive.

Anchor preservation

Per-anchor redirects are not possible here: a path is not a fragment, and redirectSource() in scripts/lib/docs-redirects.mjs throws on any source containing [?#]. Every original anchor therefore stays alive on the parent index as an authored <a id="..." /> stub pointing at its new home, the same mechanism docs/cli/doctor.md uses.

Ids were computed with parseDocsDocument, not a slug approximation. That matters here because only 14 of the 34 pre-split ids come from headings: the other 20 are minted by nine Accordion titles in Install, six in Update, two Tab titles, and three ParamField paths. A slug approximation would have silently dropped #pin-scope, #git-repositories, #param-json, and 17 others.

  • 34 pre-split ids: 32 stubbed, 2 (commands, related) still published by the index itself and therefore deliberately not stubbed, which would otherwise raise duplicate authored/canonical ID.
  • All 34 verified to resolve on /cli/plugins by parsing the new index with parseDocsDocument and calling resolveDocsFragment, rather than relying on a passing link audit.
  • All 32 stub targets verified to resolve on their destination child the same way.
  • parseDocsDocument reports 0 collisions on the index and on each of the six children (3 + 12 + 5 + 8 + 3 + 1 = 32 child ids, matching the stubs exactly).
  • No heading on this page is punctuated in a way that mints both an encoded and a cleaned id, so there is no encoded/cleaned pair to stub (unlike macOS: \launchctl` env overrides` in the doctor split).

Inbound anchor links that keep working: #inspect (docs/plugins/architecture.md:90, docs/tools/plugin.md:235), #update (docs/plugins/manage-plugins.md:311, docs/releases/2026.9.2.md:3046), #install (docs/tools/plugin.md:139), #list (docs/tools/plugin.md:234), and — the one non-docs consumer — #registry, emitted at runtime three times as a docsPath from src/commands/doctor/shared/deprecation-compat.ts:503,518,530.

Losslessness

Asserted mechanically against the pre-split file, not by eye:

  • Byte-identical reassembly. Index prefix + the six children (frontmatter and lede removed, heading levels unchanged) + index suffix reproduce the original exactly, sha256 c462b672a341344fca6dc46d623f6136f337844080b97bd469faffacb12265f8.
  • Fences 17 -> 17, matched one-for-one as a multiset on info string + body sha256.
  • Table rows 6 -> 14, all 6 preserved, +8 for the new index page table.
  • Links: 27/27 original targets retained.
  • Words 7,266 -> 8,023 (+757: index page table, 32-entry anchor map, and one orienting sentence per child).
  • Index 55,872 -> 8,662 chars; children range 3,935-22,363 chars.

Prose was not rewritten, and unusually for this program no prose exception was needed: the page had zero intra-page ](#...) links and zero self-route links. check-orphan-refs.py finds exactly one directional reference on the pre-split page ("the trusted plugin id replacement above", L522); its target is four lines earlier in the same Update accordion group, so both land in uninstall-and-update.md and it stays correct. The post-split run reports 0 directional references on the index and on the other five children. The prose diff is empty.

Pin classification

docs-test-pins.py reports 14 pins; an independent unfiltered git grep -n "/cli/plugins", "docs/cli/plugins", and "cli/plugins\.md" over origin/main returns 152 lines. Every hit classified:

  • Not this page (the overwhelming majority). ~90 hits are src/cli/plugins-*.ts source paths that share the cli/plugins prefix — CodeQL config, knip, max-lines and assertion-safety baselines, CI test timings, vitest shard metadata, and ordinary imports. The pin script's "test(s)" label is loose in exactly this way.
  • 10 QA scenarios + scripts/e2e/qa-plugin-install-sources.mjs list docs/cli/plugins.md in docsRefs. That field is z.array(z.string()) in extensions/qa-lab/src/scenario-catalog.ts:321 and is only rendered into agent bootstrap prompts and coverage reports (qa-agent-bootstrap.ts:29, coverage-report.ts:485); nothing asserts the path exists or reads its contents. The parent file survives, so these are unaffected. Deliberately not rewritten to point at children — that is QA evidence curation, not a docs split.
  • taxonomy.yaml carries 7 references to docs/cli/plugins.md, all anchor-free, all still resolving to the surviving cli/plugins route. docs/maturity/taxonomy.md links /cli/plugins six times, also anchor-free.
  • docs/AGENTS.md:9 names the file as the owner of plugin guidance; still true of the index and its children.
  • src/cli/plugins-cli.ts:94 prints formatDocsLink("/cli/plugins", ...) — the parent route, which survives.
  • docs/.i18n/zh-Hans-navigation.json:448 lists zh-CN/cli/plugins; the translated tree is generated separately and the parent route is unchanged.

No contract test reads this single file and asserts literal strings, so the sdk-subpaths.md refusal precedent does not apply. src/docs/clawhub-plugin-docs.test.ts reads an explicit list of eight docs/plugins/* files that does not include this page, and src/docs/plugin-doc-examples.test.ts walks docs/plugins/ only.

Validation

check-docs-mdx passed on 1,039 files. docs-link-audit reports broken_links=0 over 10,500 internal links. format-docs --check clean on 1,027 files; markdownlint-cli2 --config config/markdownlint-cli2.jsonc (the config lint:docs uses) reports 0 issues in 1,026 files; the i18n glossary check passes with 6 new zh-CN entries and 0 duplicate sources.

docs-link-audit --anchors exits 1 with broken_links=42, all of them pre-existing: reproduced identically at the base sha 008cf5d9b0a in a detached worktree, and the two output sets are equal once the cli/plugins* file:line prefixes are normalised (the same four broken /clawhub* targets simply moved from cli/plugins.md to cli/plugins.md/cli/plugins/install.md). checked_internal_links grows 10,793 -> 10,837, which is the new stub and page-table links.

plugins:inventory:check (scripts/generate-plugin-inventory-doc.mts --check) exits 0.

Test lanes: render-maturity-docs, docs-source-anchors, and docs-sync-publish pass 20/20. src/docs/ passes 16/16 across 8 files under vitest.unit.config.ts.

src/scripts/docs-link-audit.test.ts has one failing case ("preserves Mint component targets", on an inline ass-guide fixture). It is pre-existing and unrelated to this change: it fails identically at the base sha with no docs modified.

Notes for review

  • CODEOWNERS: no maintainer team owns this page. Simulated last-match-wins over .github/CODEOWNERS with working positive controls (/docs/cli/security.md -> @openclaw/openclaw-secops, /docs/security/foo.md -> @openclaw/openclaw-secops, /docs/reference/RELEASING.md -> @openclaw/openclaw-release-managers). Both /docs/cli/plugins.md and /docs/cli/plugins/install.md resolve to no owner, as does the landed sibling /docs/cli/doctor/running.md. There is no global * rule in the file.
  • .github/labeler.yml needs nothing here. It carries file-exact docs/cli/*.md globs for migrate.md, fleet.md, sandbox.md, security.md, and policy.md, but not for plugins.md — so this split opens no labeler gap. (Where a docs page does have a labeler entry and gains a directory, the established shape is a docs/<x>.md + docs/<x>/** pair, as in docs/plugins/sdk-runtime.md.)
  • Findings closed: r3-0126 (blocking). r3-1163 is closed in part — the nine Install accordions are no longer buried under a single 2,065-word H2 and every one now has a linkable anchor from the index — but its literal ask (promote each accordion title to an H3, add a body H1) is a content rewrite and stays open.
  • Deferred, all prose-shape or accuracy work outside a mechanical, content-preserving split: r3-0127 (paragraphs over six sentences), r3-0130 (strict-STE hard violations), r3-0131 (launch-window and roadmap wording with no version scope), r3-0132 and r3-0135 (--force/--pin/beta-channel policy documented in three places, and duplicated against docs/cli/update.md), r3-1164 (accordions to H3). Splitting the page first makes each of these a small, reviewable follow-up on one child instead of a rewrite of a 56 KB page.

@clawsweeper

clawsweeper Bot commented Sep 9, 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 9, 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 9, 2026
@clawsweeper

clawsweeper Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 9, 2026, 5:16 AM ET / 09:16 UTC (Revision 3).

ClawSweeper review

What this changes

Splits the plugins CLI reference into six task-focused pages, adds navigation and translated titles, and preserves existing section links.

Merge readiness

✅ Ready for maintainer review

The previous conflict blocker is resolved, and no actionable patch defects remain. The documentation split remains useful because current main still contains the original combined reference.

Priority: P3
Reviewed head: 4869397118a633759a8ee6aec9172907c4278841

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, content-preserving docs split with the previous conflict concern resolved and no actionable findings.
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 Content preservation: An independent read-only Python comparison reassembled the index prefix, six child bodies, and index suffix byte-for-byte into the merge-base reference. SHA-256 matched c462b672a341344fca6dc46d623f6136f337844080b97bd469faffacb12265f8. All child pages were inspected.
Navigation and glossary preservation: The introduced delta adds only the six child navigation entries and six glossary entries. Independent JSON inspection found every merge-base glossary entry retained, no duplicate sources, and valid navigation JSON.
Existing link compatibility: The index retains 32 explicit anchor stubs, including component-generated anchors, with commands and related still supplied by headings. The publishing parser recognizes authored HTML IDs and Accordion, Tab, and ParamField targets. The retained registry anchor is consumed by Doctor diagnostics.
Findings None None.
Security None None.

How this fits together

The plugins CLI documentation guides operators through installation, maintenance, and diagnostics, and developers through authoring. Navigation and existing CLI-generated documentation links lead readers to the command reference.

flowchart TD
  A[CLI help and existing links] --> B[Plugins reference index]
  C[Documentation navigation] --> B
  B --> D[Choose a reader task]
  D --> E[Authoring and installation]
  D --> F[Inventory and maintenance]
  D --> G[Diagnostics and marketplace feeds]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Docs +150. Total +150 across 9 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 9 761 611 +150
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 9 761 611 +150

Review metrics

Metric Value Why it matters
Legacy section links 32 anchor stubs; 2 original heading anchors retained Existing deep links retain destinations despite the reference being split.

Technical review

Best possible solution:

Keep the task-focused reference pages with the original parent route and section anchors as stable entry points.

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

Not applicable: this is documentation restructuring; source comparison directly verifies preservation of the original content.

Is this the best way to solve the issue?

Yes. The split follows the merged Doctor-reference precedent while retaining existing routes, anchors, examples, and policy explanations.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P3: This is a content-preserving documentation navigation improvement with no runtime behavior changes.
  • 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:

  • Content preservation: An independent read-only Python comparison reassembled the index prefix, six child bodies, and index suffix byte-for-byte into the merge-base reference. SHA-256 matched c462b672a341344fca6dc46d623f6136f337844080b97bd469faffacb12265f8. All child pages were inspected. Public docs: docs/cli/plugins.md. (docs/cli/plugins.md:71, 4869397118a6)
  • Navigation and glossary preservation: The introduced delta adds only the six child navigation entries and six glossary entries. Independent JSON inspection found every merge-base glossary entry retained, no duplicate sources, and valid navigation JSON. Public docs: docs/docs.json. (docs/docs.json:2582, 4869397118a6)
  • Existing link compatibility: The index retains 32 explicit anchor stubs, including component-generated anchors, with commands and related still supplied by headings. The publishing parser recognizes authored HTML IDs and Accordion, Tab, and ParamField targets. The retained registry anchor is consumed by Doctor diagnostics. Public docs: docs/cli/plugins.md. (docs/cli/plugins.md:92, 4869397118a6)
  • Previous blocker resolved: Raw test-merge parents are exactly the pinned base followed by the reviewed head; its comparison against that base contains only the intended documentation changes. A live REST read reports the same head open, unmerged, mergeable, and clean. This resolves the prior review's unavailable-conflict-resolution concern. (4869397118a6)
  • Current-main necessity: The fetched main reference still has the original Author, Install, List, Uninstall, Update, Inspect, Doctor, Registry, and Marketplace sections; its content is unchanged from the pinned merge base. The supplied latest release predates this proposal, and no merged replacement for the plugins split is established. Public docs: docs/cli/plugins.md. (docs/cli/plugins.md:71, 174ca9eadb82)
  • Validation and review continuity: The contributor's final-head comment reports renewed content and anchor preservation checks, documentation checks, and focused test results, while identifying unchanged baseline failures: docs(cli): split the plugins command reference by reader job #142980 (comment). Independently, git diff --check passed. Repository scripts and tests were not executed during this read-only review. (4869397118a6)

Likely related people:

  • vincentkoc: 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-09T08:50:47.370Z sha 63c4a672dca53e49d41e6c98105dfef50707bd20 :: blocked before merge. :: none
  • reviewed 2026-09-09T09:04:59.514Z sha c1af93fff21c6ca6a7fbe291955dd76c72dcf6a0 :: blocked before merge. :: none

@vincentkoc
vincentkoc force-pushed the docs-audit/split-cli-plugins branch from 63c4a67 to c1af93f Compare September 9, 2026 08:58
docs/cli/plugins.md was 55,872 characters and 11 H2 sections mixing a CLI
synopsis, an authoring how-to, install-policy explanation, lifecycle
reference, diagnostics, and marketplace feed trust. It is now a short index
over six children, one per reader job:

- cli/plugins/authoring             Author, Feature scaffold, Provider scaffold
- cli/plugins/install               Install, Marketplace shorthand
- cli/plugins/list                  List, Plugin index
- cli/plugins/uninstall-and-update  Uninstall, Update
- cli/plugins/inspect-and-diagnose  Inspect, Doctor, Registry
- cli/plugins/marketplace           Marketplace

The index keeps the intro, the CardGroup, the full `## Commands` synopsis with
its trace/Nix/bundled notes, and `## Related`.

Anchor strategy: per-anchor redirects are impossible, because redirectSource()
in scripts/lib/docs-redirects.mjs throws on any source containing [?#]. Every
original anchor therefore stays alive on the parent index as an authored
<a id="..." /> stub pointing at its new home. Ids were computed with
parseDocsDocument, not a slug approximation, so the nine Accordion titles, the
two Tab titles, and the three ParamField ids are covered alongside the
headings. 34 pre-split ids: 32 stubbed, 2 (commands, related) still published
by the index itself, so no duplicate authored/canonical ID is raised. All 34
verified to resolve on /cli/plugins, and all 32 stub targets verified to
resolve on their child page. Collisions are empty on the index and on each of
the six children.

Losslessness, asserted mechanically against the pre-split file:
- index prefix + the six children (frontmatter and lede removed) + index
  suffix reassemble byte-identically, sha256
  c462b672a341344fca6dc46d623f6136f337844080b97bd469faffacb12265f8
- fences 17 -> 17, every one identical on info string and body sha256
- table rows 6 -> 14 (+8 = the new index page table)
- links: 27/27 original targets retained
- words 7,266 -> 8,023 (+757 = index page table, anchor map, child ledes)
- index 55,872 -> 8,662 chars; children 3,935-22,363 chars

No prose was rewritten and no prose exception was needed. The page had zero
intra-page anchor links and zero self-route links, and the one directional
reference the orphan check finds ("the trusted plugin id replacement above")
keeps its target on the same child page.

Closes audit findings: r3-0126, r3-1163 (partially: the accordions keep their
authored anchors and are no longer buried under a 2,065-word H2)
@vincentkoc
vincentkoc force-pushed the docs-audit/split-cli-plugins branch from c1af93f to 4869397 Compare September 9, 2026 09:09
@vincentkoc

Copy link
Copy Markdown
Member Author

Both "before merge" items addressed. The review recorded no patch findings and no security findings; the only blockers were the merge conflict and its resolution.

P1 / P2 — merge conflict resolved. Rebased onto main twice (concurrent sibling splits kept landing): first onto fe975ca99bb, then onto 2cb7337e207. GitHub now reports MERGEABLE. Only docs/.i18n/glossary.zh-CN.json ever conflicted; docs/docs.json auto-merged both times, and the resulting navigation keeps main's independent groups alongside the new cli/plugins/* group.

Both sets of glossary additions retained, verified set-wise rather than by reading the resolver's ours/theirs labels (which are inverted during a rebase). Comparing git stages 2 and 3 against the resolved file:

  • rebase 1: main 832 sources + branch 831 -> 838, result == union, superset of both, 0 duplicate sources
  • rebase 2: main 838 sources + branch 838 -> 844, result == union, superset of both, 0 duplicate sources

Nothing from either side was dropped, and no source appears twice.

Focused documentation checks rerun on the final head 4869397118a, all after the last rebase:

  • Losslessness re-proved: index prefix + six child bodies + index suffix still reassemble byte-identically to the merge-base page, sha256 c462b672a341344fca6dc46d623f6136f337844080b97bd469faffacb12265f8. Fences 17/17 identical on info string and body, links 27/27 retained, words only grow.
  • Anchors re-proved with parseDocsDocument: 34 pre-split ids, 32 stubbed and 2 self-published, 0 that fail to resolve on /cli/plugins, all 32 stub targets resolve on their child, 0 collisions on the index and on each child.
  • check-docs-mdx passed (1,052 files). docs-link-audit broken_links=0 over 10,620 links. format-docs --check clean (1,040 files). check-docs-i18n-glossary rc=0. markdownlint-cli2 0 issues (config lint:docs uses). plugins:inventory:check rc=0.
  • docs-source-anchors, docs-sync-publish, render-maturity-docs: 20/20. src/docs/: 16/16 across 8 files.
  • docs-link-audit --anchors still exits 1 with broken_links=42. Re-confirmed pre-existing against the new base fe975ca99bb in a detached worktree: the two failure sets are identical once the cli/plugins* file:line prefixes are normalised. All 42 are /clawhub* route/file-not-found plus three #windows-app-node fragments, none introduced here.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@vincentkoc
vincentkoc merged commit 20e0ed5 into main Sep 9, 2026
55 checks passed
@vincentkoc
vincentkoc deleted the docs-audit/split-cli-plugins branch September 9, 2026 09:23
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 10, 2026
…w#142980)

docs/cli/plugins.md was 55,872 characters and 11 H2 sections mixing a CLI
synopsis, an authoring how-to, install-policy explanation, lifecycle
reference, diagnostics, and marketplace feed trust. It is now a short index
over six children, one per reader job:

- cli/plugins/authoring             Author, Feature scaffold, Provider scaffold
- cli/plugins/install               Install, Marketplace shorthand
- cli/plugins/list                  List, Plugin index
- cli/plugins/uninstall-and-update  Uninstall, Update
- cli/plugins/inspect-and-diagnose  Inspect, Doctor, Registry
- cli/plugins/marketplace           Marketplace

The index keeps the intro, the CardGroup, the full `## Commands` synopsis with
its trace/Nix/bundled notes, and `## Related`.

Anchor strategy: per-anchor redirects are impossible, because redirectSource()
in scripts/lib/docs-redirects.mjs throws on any source containing [?#]. Every
original anchor therefore stays alive on the parent index as an authored
<a id="..." /> stub pointing at its new home. Ids were computed with
parseDocsDocument, not a slug approximation, so the nine Accordion titles, the
two Tab titles, and the three ParamField ids are covered alongside the
headings. 34 pre-split ids: 32 stubbed, 2 (commands, related) still published
by the index itself, so no duplicate authored/canonical ID is raised. All 34
verified to resolve on /cli/plugins, and all 32 stub targets verified to
resolve on their child page. Collisions are empty on the index and on each of
the six children.

Losslessness, asserted mechanically against the pre-split file:
- index prefix + the six children (frontmatter and lede removed) + index
  suffix reassemble byte-identically, sha256
  c462b672a341344fca6dc46d623f6136f337844080b97bd469faffacb12265f8
- fences 17 -> 17, every one identical on info string and body sha256
- table rows 6 -> 14 (+8 = the new index page table)
- links: 27/27 original targets retained
- words 7,266 -> 8,023 (+757 = index page table, anchor map, child ledes)
- index 55,872 -> 8,662 chars; children 3,935-22,363 chars

No prose was rewritten and no prose exception was needed. The page had zero
intra-page anchor links and zero self-route links, and the one directional
reference the orphan check finds ("the trusted plugin id replacement above")
keeps its target on the same child page.

Closes audit findings: r3-0126, r3-1163 (partially: the accordions keep their
authored anchors and are no longer buried under a 2,065-word H2)
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