-
Notifications
You must be signed in to change notification settings - Fork 0
docs(review-pr): Pass C v1.1 — fenced-body heuristic + doc refinements (4.5.0) #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 20 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
de76536
chore(reviewer-rigor): BP audit + release SKILL YAML fix + version 4.2.0
claude ae2bdda
feat(schema): add call_tree category + CALL- id prefix for reviewer c…
claude 22bdcae
Merge branch 'feat/reviewer-rigor-housekeeping' into feat/reviewer-rigor
claude e6975ee
feat(reviewer-rigor): call-tree inspection methodology + ephemeral-ID…
claude b76bf72
fix(reviewer-rigor): address Copilot review on PR #41
claude f10308d
feat(git-and-github): PR bodies lead with "Why this PR exists" rationale
claude ead92c6
fix(report-pipeline): derive severity on-the-fly + schema 3.1.0 addit…
claude a631c98
fix(report-pipeline): renderer on-the-fly severity + permalink @{u} +…
claude aa89655
style(consolidate): drop unused build_severity_stats import (ruff F401)
claude c9f0ccc
feat(review-pr): Pass C v1.1 doc heuristics + regression tests (4.5.0)
claude d7c93c8
Merge branch 'main' into feat/report-pipeline-severity
claude c107c11
fix(report-pipeline): address Copilot review on PR #42
claude ec9ad84
fix(report-pipeline): address second Copilot pass on PR #42
claude e33231d
Merge branch 'feat/report-pipeline-severity' into feat/pr-why-template
claude 67c1ce7
Merge remote-tracking branch 'origin/main' into feat/pr-why-template
claude e24a823
style(test): black-format test_pr_body_template.py
claude 81e54fc
Merge branch 'feat/pr-why-template' into feat/passc-v1.1
claude 2cf5ce8
style(test): ruff E741 + black on test_review_pr_passc.py
claude 5447c29
Merge remote-tracking branch 'origin/main' into feat/passc-v1.1
claude b941251
fix(review-pr): correct Pass C informational-finding severity floats …
claude f4dfd62
docs(changelog): correct PR-body-unparseable finding band INFO -> LOW
claude a9cfcf3
docs(review-pr): correct band-math wording in Pass C scope note + tes…
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| # Pass C fixture — fully-fenced PR body | ||
|
|
||
| Exercises the **fenced-body unwrap** heuristic: the entire PR body is wrapped in | ||
| a single code fence, so the column-0-anchored Summary/Out-of-scope regexes match | ||
| nothing until the outer fence is stripped and the content dedented. | ||
|
|
||
| ## PR Title | ||
|
|
||
| ``` | ||
| feat(resolver): add LRU caching layer | ||
| ``` | ||
|
|
||
| ## PR Body (raw — wholly fenced) | ||
|
|
||
| The body as received from the API is a single fenced block. The `## Summary` | ||
| and `## Out of scope` headers below sit INSIDE the fence: | ||
|
|
||
| ``` | ||
| # Add caching layer to the resolver | ||
|
|
||
| ## Summary | ||
|
|
||
| - Add an LRU cache to `Resolver::lookup` | ||
| - Expose `CacheConfig` with a configurable capacity | ||
|
|
||
| ## Out of scope | ||
|
|
||
| - Distributed cache backends (separate PR) | ||
| ``` | ||
|
|
||
| ## Expected Pass C behaviour | ||
|
|
||
| After the fenced-body unwrap (strip outer fence + dedent), the `## Summary` | ||
| header becomes visible at column 0 and the two bullets are extracted normally; | ||
| the out-of-scope item is enforced against the diff. No unparseable-body finding | ||
| is emitted because the dedent exposes a real Summary header. The | ||
| `expected_finding_count` below reflects the documented dedent rule, not an | ||
| executed audit (no diff is supplied). | ||
|
|
||
| <!-- expected: { | ||
| "expected_finding_count": 0, | ||
| "title_alignment": "aligned", | ||
| "summary_alignment": "aligned", | ||
| "out_of_scope": "aligned", | ||
| "required_sections": ["## PR Title", "## PR Body (raw — wholly fenced)"] | ||
| } --> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.