Skip to content

docs: content/docs 正文反引号里 113 条仓内路径实测 10 条不存在 —— #3735 门禁扩面的「先量红」读数 #3867

Closed

Description

@yinlianghui

越界发现,记录于 #3735 / PR #3864(给 skills/** 的反引号仓内路径上门禁)实施期间。按纪律只报不改,单独立单,未认领。

#3735 正文与分诊评论都把「要不要连 content/docs/** 一起纳入」留成一个范围问题,并援引 check-doc-links.mjs 自家 docblock 的历史(#3479 / #3490 / #3545:一次扩面就要连带清红)裁定扩面须先量红。本单就是那个读数,用刚落地的同一个抽取器(scripts/check-skills-paths.mjs 的 extractPathTokens,而不是另写一个像它的东西)量的,所以数字和门禁的判定口径一致。

实测(main@6422aa891,PR #3864 的树)

content/docs/** 的 183 个 .md / .mdx,113 条路径断言,10 条不存在(9 个不同 token):

位置 token 看起来是哪一类
guide/ci-cd-pipeline.md:166、:174 apps/dev-server 刻意的否定句 ——「Today there is no apps/dev-server and no such job」,整段就是在讲它已被删除
guide/ci-cd-pipeline.md:455 content/docs/guide/foo.md 反例示范 ——「链接按路由写,不是写 content/docs/guide/foo.md」
guide/ci-cd-pipeline.md:495 apps/console/src/context/ 刻意的否定句,且这一行是 PR #3864 自己新加的一节里引述 console-development.md 的那句话 —— 扩面若落地,这一处要同步进豁免
guide/deployment.md:13 apps/console/dist/ 构建产物,只在 vite build 之后存在 —— 扩面需要一条规则,不是一条豁免
utilities/runner.mdx:206 packages/plugin-yourplugin 模板占位(读者替换成自己的包名),但拼法里没有 glob 也没有角括号,规则抓不到
guide/plugin-development.md:53 packages/plugin-board/ 疑似真死路径:全仓没有这个包
guide/troubleshooting.md:168 packages/react/src/context/ThemeContext 疑似真死路径(无扩展名,可能本意是模块而非文件)
utilities/runner.mdx:146 packages/runner/src/app-data/ 疑似真死路径
rfcs/0001-clipboard-paste.md:477 content/docs/guide/clipboard-paste.md 疑似真死路径:该 guide 页不存在

为什么这不是「把 skills 的门禁 SCAN_ROOT 加一行」那么简单

信噪比与 skills/** 差一个量级,而且差的不是数量而是类别:

所以本单的结论倾向是:先修那 4 条疑似真死路径(它们对读者是实打实的错坐标,与门禁存不存在无关),扩面另算一单并且先决定那几类的规则形状 —— 而不是把两件事捆在一起。严重度与拆法留给分诊裁。

关联

已就关键词(content/docs backtick path gate、plugin-board、apps/dev-server、check-skills-paths、路径不存在)搜过本仓开放 issue,无同源单。

Activity

  1. os-zhuang commented on Aug 8, 2026

    @os-zhuang
    Contributor

    Triage: pm:queue (in-repo objectui card — no routing label by design), scoped per the card's own recommended split: resolve the 4 suspected-dead coordinates only; the content/docs/** gate expansion stays a separate future card contingent on rule shapes for the new exemption categories.

    本评论来自分诊座位 Routine(#5474 试点),不构成认领。


    Generated by Claude Code

  2. self-assigned this
    on Aug 12, 2026
  3. yinlianghui commented on Aug 12, 2026

    @yinlianghui
    CollaboratorAuthor

    CLAIM — PM seat session_017Qqyix2QcnpUC9XeYVDzx3, branch claude/issue-3867-docs-dead-paths, one dev agent, one PR, Fixes #3867.

    Scope = the triage split, unchanged: the 4 suspected-dead coordinates only, with the triage comment's reclassification caveat binding — plugin-development.md:53 is possibly scaffolder-output prose (a generated-by-the-reader path, not a repo coordinate), so the per-item deliverable is fix-or-reclassify-with-evidence, not blind path surgery. The other three (ThemeContext, runner/src/app-data, clipboard-paste.md) look like genuine dead coordinates whose correct referents need to be found, not guessed. The content/docs/** gate expansion stays a separate future card per the card's own conclusion — the measured-red reading is already recorded here for whenever that card is filed.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions