Repository navigation
Conversation
…3271) ## Summary This carries out the maintainer's answer on #3268 (choice 1). The file-naming check's behavior is unchanged. What changes is that `AUDIT.md`'s `file-naming` bullet, the `filenaming.scripts` assert, and `file_naming_findings`' docstring now say which names the check does not judge. - The text after a name's last dot is its extension, matched whatever its case. - A name whose extension is none of the listed ones is not judged, whatever its mode. An executable dotfile with no listed extension, such as `.Hidden_Hook`, and a dotted name such as `Run_Me.v2` go unjudged. - Two selftest cases pin both sides of the boundary. These names are not judged and not read, while a dotfile with a listed extension (`bin/.Hook_Run.sh`, `bin/.lint.py`) is judged on its stem. A mutation that skips every leading-dot name fails the second case. #3268 closes through the promotion pull request. ## Local review Two recorded `agent-skill` passes, with 6 findings and then 0. All six were fixed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
## Summary The maintainer chose to close #3240's class as documented, pinned limits rather than build a container model. The same call covers the four small reader follow-ups #3265, #3263, #3260, and #3259, none of whose shapes any reviewer body has carried. - `CodeSpans`' docstring names where its reading differs from GitHub's: a paragraph end read from its line alone, a top-level setext underline, a backtick run after an even backslash run, and a backtick inside an inline link's destination or title. - `unrecognized_in`'s docstring names the `str.splitlines` separators GitHub does not split on, and the indent `MARKDOWN_HEADING` and `HEADING` accept before a heading. - Three tests pin each case at its current reading. A failure means the limit moved and its note goes with it. The notes are docstrings rather than `#` comments, since the prose gate's `comment-added` rule refuses new comment lines. These issues close through the promotion pull request: #3240, #3265, #3263, #3260, #3259. ## Local review Three recorded `agent-skill` passes, with 6, 3, and 1 findings. The first two rounds were fixed. One finding stayed open once the two-round edit budget was spent. Copilot raised it as well, and it is now fixed in 11b893e, with a fourth recorded pass finding 0: - `introduced`: `scripts/pr_review.py` `unrecognized_in` docstring says `str.splitlines` "ends a line at each other separator `QUOTED_CHAR` names". `QUOTED_CHAR`'s class also names `\r`, which GitHub does end a line at, so "other" should say other than the newline and the carriage return. The test docstring already states it that way. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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.
🟢 Approval recommended
All reviewed changes are documented and covered by regression tests, with no unresolved issues.
No open issues 🎉
What changed in this PR
Promotes documented Markdown-reader limitations and clarifies dotted-name file-naming scope without changing production behavior.
Changes:
- Adds regression tests for Markdown parsing boundaries.
- Documents file-naming exclusions for dotted names.
- Aligns audit specifications, guidance, and docstrings.
| File | Description |
|---|---|
tests/test_pr_review.py |
Pins Markdown-reader limits. |
spec/project-types.json |
Defines dotted-name scope. |
spec/audit.py |
Documents and tests naming behavior. |
scripts/pr_review.py |
Records Markdown-reader limitations. |
AUDIT.md |
Updates file-naming guidance. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3272 +/- ##
=======================================
Coverage 65.49% 65.49%
=======================================
Files 17 17
Lines 10011 10011
=======================================
Hits 6557 6557
Misses 3454 3454
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
Promotes two pull requests from develop, both from this round.
pr_review.py's Markdown readers record where they still differ from GitHub's renderer as known limits, with notes in theCodeSpansandunrecognized_indocstrings. Tests pin each case: a paragraph end read from its line alone, a top-level setext underline, a span after an even backslash run, a backtick in a link's destination or title, a heading's indent, and thestr.splitlinesseparators GitHub does not split on.AUDIT.mdbullet,filenaming.scriptsassert, and docstring say that a name with a dot and none of the listed extensions is not judged. A selftest case pins each side of that boundary.Closes #3240
Closes #3265
Closes #3263
Closes #3260
Closes #3259
Closes #3268
🤖 Generated with Claude Code