Skip to content

ci(docs): 扩展 doc-ssot 行数门禁与内部链接覆盖 - #1742

Merged
DeliciousBuding merged 1 commit into
masterfrom
ci/doc-ssot-coverage-expand
Aug 17, 2026
Merged

ci(docs): 扩展 doc-ssot 行数门禁与内部链接覆盖#1742
DeliciousBuding merged 1 commit into
masterfrom
ci/doc-ssot-coverage-expand

Conversation

@DeliciousBuding

Copy link
Copy Markdown
Collaborator

背景

verify-doc-ssot.pycheck_max_lines 只为 docs/architecture.md04-frontend-data-flow.md 设了上限,01-09github-actions-ci-cd-policy.mdREADME.md 等 9 个子文档均无行数门禁。check_doc_internal_links 只扫 docs/docs/architecturedocs/governancedocs/reference 四目录,根级 README.md/CONTRIBUTING.md/AGENTS.md 与模块 README.md 的 markdown 链接目标存在性未被机器校验。

变更

  • scripts/verify/verify-doc-ssot.py check_max_lines:补齐 docs/architecture/01-hub-server.md-09-dev-server-topology.mdgithub-actions-ci-cd-policy.mdREADME.md 全部子文档行数上限(按当前行数 +20% 余量)。
  • scripts/verify/verify-doc-ssot.py check_doc_internal_links:在 4 个 docs/ 子目录之外,遍历全部 is_active_doc() 文件(git ls-files + is_active_doc()),覆盖根级与模块 README 的 markdown 链接目标存在性。

证据

  • real_tested=false:纯 verifier 脚本变更。
  • 本地门禁:python scripts/verify/verify-doc-ssot.py(全绿)+ python scripts/verify/verify-ci-gates.py(全绿)+ python scripts/verify/tests/verify-doc-entrypoints.Tests.py(1 test OK)+ git diff --check 全绿。

关联

审计 P2-3(check_max_lines 缺多数 docs/architecture/*.md)+ P2-4(check_doc_internal_links 不覆盖根级与模块 README)。

- check_max_lines:补齐 docs/architecture/*.md 全部子文档行数上限(01-09 + github-actions-ci-cd-policy + README),堵住未来巨石文档漂移
- check_doc_internal_links:除 4 个 docs/ 子目录外,遍历全部 is_active_doc() 文件,覆盖根级 README/CONTRIBUTING/AGENTS 与模块 README 的 markdown 链接目标存在性

Co-authored-by: Cursor <cursor@vectorcontrol.tech>
@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@DeliciousBuding, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 15 minutes

Limit details: You’ve used all 1 included review currently available under your plan.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 4d03f008-78cf-47db-a0a3-b0b7d4fd835a

📥 Commits

Reviewing files that changed from the base of the PR and between 26d28d4 and 1acdfe5.

📒 Files selected for processing (1)
  • scripts/verify/verify-doc-ssot.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@DeliciousBuding
DeliciousBuding merged commit eadc391 into master Aug 17, 2026
33 checks passed
@DeliciousBuding
DeliciousBuding deleted the ci/doc-ssot-coverage-expand branch August 17, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant