ci(docs): 扩展 doc-ssot 行数门禁与内部链接覆盖 - #1742
Conversation
- 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>
|
Warning Review limit reached
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 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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
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. Comment |
背景
verify-doc-ssot.py的check_max_lines只为docs/architecture.md和04-frontend-data-flow.md设了上限,01-09、github-actions-ci-cd-policy.md、README.md等 9 个子文档均无行数门禁。check_doc_internal_links只扫docs/、docs/architecture、docs/governance、docs/reference四目录,根级README.md/CONTRIBUTING.md/AGENTS.md与模块README.md的 markdown 链接目标存在性未被机器校验。变更
scripts/verify/verify-doc-ssot.pycheck_max_lines:补齐docs/architecture/01-hub-server.md-09-dev-server-topology.md、github-actions-ci-cd-policy.md、README.md全部子文档行数上限(按当前行数 +20% 余量)。scripts/verify/verify-doc-ssot.pycheck_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)。