Repository navigation
Conversation
|
Review of #1347. The core change is sound:
|
…egion #860 Signed-off-by: Nik Cubrilovic <[email protected]>
… not scoped to a region #860 Signed-off-by: Nik Cubrilovic <[email protected]>
nc9
force-pushed
the
fix/carried-counts
branch
from
October 30, 2026 08:35
3de0971 to
bb663aa
Compare
|
Review of #1347: the fix is correct and complete. I found no blocking issues. I grepped every non-test caller of
|
Contributor
Author
|
Landed in v0.0.144 as nik |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #860
The page-type line (#857) already refuses to scope a finding that carries pages from an earlier audit; the region line (#846) did not.
checkRegionScopeanditemRegionScopenow return nothing when the check has carried pages (sharedhasCarriedPages, same test as #857), and the five renderers plus HTML pass the item's check through (itemSourceView(item, structure, check); the LLM format passes whether any check of the rule carries pages, since it lists a rule's items together). The finding keeps its page rows.Reproduction and tests:
packages/report/tests/region-scope-846.test.ts(new describe): the helpers refuse each carried marker (carriedCount,carriedPages,provenance: carried) and acceptcarriedPages: []; a report whose last 7 pages are carried prints no region share in text, markdown, llm, html, json or xml and lists the pages; the fresh-only control still reads "In the site header, on 49 of 53 pages". No scoring change (report-time only).Docs: none needed (behaviour matches the existing "carried findings keep their rows" wording); CHANGELOG under Unreleased. Skill: none.