Repository navigation
docs: #3308 retire stale references to deleted Python C++ checkers - #3319
Conversation
After #3293 migrated the C++ checker fleet from Python to the Rust crate at ci/lint_cpp_rs/, several docs and configs still pointed at deleted .py files. Update every stale pointer to the live Rust target and prune the stale checker list in ci/dependencies.json. - agents/docs/linter-architecture.md: rewrite "When to still use Python" — only the 3 Tier-4 AST ratchets remain in Python. - agents/docs/cpp-standards.md: point Public Settings allowlist at ci/lint_cpp_rs/src/checkers/public_settings.rs::PUBLIC_SETTINGS_GRANDFATHERED. - .claude/agents/cpp-linter-builder-agent.md: replace deleted unity / aggregation / pch py paths with the Rust analogues. - .claude/agents/architecture-reviewer-agent.md: update PublicSettings pointer to the Rust checker. - .claude/commands/code_review.md: same update. - ci/dependencies.json: prune the tools array to surviving entries (run_all_checkers.py, rust_bridge.py, rust_binary_cache.py, noexcept_checker.py) plus the ci/lint_cpp_rs/ crate. - src/fl/stl/compiler_control.h: redirect FL_NO_INLINE comment to BareNoInlineChecker in ci/lint_cpp_rs/src/checkers/bare_legacy.rs. - ci/fix_has_include_README.md: rewrite the retired-rule paragraph per #3308 acceptance criterion. - ci/fix_has_include.py: add docstring marking it manual-only. Verified: bash lint --cpp passes; ci/dependencies.json parses; sweep grep returns 0 hits outside ci/lint_cpp_rs/ migration comments. Refs #3308. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughStale references to Python-based C++ lint checker paths, allowlist identifiers, and Python-held responsibilities are updated across agent docs, command docs, standards docs, ChangesPython→Rust linter reference cleanup
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~4 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@agents/docs/linter-architecture.md`:
- Around line 155-161: In the linter-architecture.md file, correct the
quantifier in the statement about Tier-4 AST ratchets. Change "three remaining
Tier-4 AST ratchets" to "two remaining Tier-4 AST ratchets" since only two AST
ratchets are listed and described: run_noexcept_ast_check and
run_array_param_ast_check.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 297dd8af-0d03-4d5c-b16b-6551618d4cfc
📒 Files selected for processing (9)
.claude/agents/architecture-reviewer-agent.md.claude/agents/cpp-linter-builder-agent.md.claude/commands/code_review.mdagents/docs/cpp-standards.mdagents/docs/linter-architecture.mdci/dependencies.jsonci/fix_has_include.pyci/fix_has_include_README.mdsrc/fl/stl/compiler_control.h
The clang-query AST tier consists of two distinct ratchets (noexcept and decayed array params) implemented across three Python files (the orchestrator function file + two clang-query backends). Update the sentence so the rule count matches CodeRabbit's reading while still hinting at the file count the #3308 verification command surfaces. Refs #3308. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Summary
After PR #3293 migrated the C++ checker fleet from Python to the Rust crate at
ci/lint_cpp_rs/, several docs and configs still pointed at deleted.pyfiles. This PR retires every stale reference and redirects it to the live Rust target.Files changed (9)
agents/docs/linter-architecture.md— rewrote "When to still use Python" section; only the 3 Tier-4 AST ratchets remain in Python.agents/docs/cpp-standards.md— Public Settings allowlist now points atci/lint_cpp_rs/src/checkers/public_settings.rs::PUBLIC_SETTINGS_GRANDFATHERED..claude/agents/cpp-linter-builder-agent.md— replaced deletedtest_unity_build.py/test_aggregation_checker.py/pch_file_checker.pywithci/lint_cpp_rs/src/checkers/unity_build.rsandstructural_passes.rs..claude/agents/architecture-reviewer-agent.md— updated PublicSettings pointer to Rust..claude/commands/code_review.md— same update.ci/dependencies.json— prunedtoolsarray to surviving entries (run_all_checkers.py,rust_bridge.py,rust_binary_cache.py,noexcept_checker.py) plus the Rust crate.src/fl/stl/compiler_control.h—FL_NO_INLINEcomment redirected toBareNoInlineCheckerinci/lint_cpp_rs/src/checkers/bare_legacy.rs.ci/fix_has_include_README.md— rewrote the retired-rule paragraph per Follow-up to #3288/#3297: red-team gaps in the Rust C++ linter migration #3308 acceptance criterion.ci/fix_has_include.py— added docstring marking it manual-only (orphan tool disposition).Test plan
bash lint --cpppassespython -m json.tool ci/dependencies.jsonparsesci/lint_cpp/*_checker.pyreferences returns 0 hits outsideci/lint_cpp_rs/migration commentsstruct PublicSettingsPatternChecker,PUBLIC_SETTINGS_GRANDFATHERED,BareNoInlineChecker)Refs #3308.
Generated with Claude Code.
Summary by CodeRabbit
Documentation
fix_has_includeutility and its (non-)enforcement status.Chores