Repository navigation
Read Copilot's Second Review-Body Format and Its Finding Total - #1690
Conversation
Copilot's reviews here now arrive in a second body format, identified by the `<!-- ccr-overview-v2 -->` marker it opens with. The first review in it named three markers this script had no spelling for, so `status` exited 43 and no Copilot-reviewed pull request could close its review loop. That exit is the contract working, and the remedy it names is this reader. ## What the format changes Its overview heading is `## Copilot review overview` rather than `## Pull request overview`. It wraps each `<summary>` in `<strong>`, where the first format wrapped none. It states its effort level and its finding total on bare bold lines rather than as `Review details` bullets, and it has no `Review details` section at all. It enumerates each finding it opened a thread for as a link to that thread's own comment anchor, under an `Open (N)` summary, and it carries the change summary under a `What changed in this PR` summary beside it. ## What this reads The three blocked markers are vetted, and the emphasis tags around a summary are dropped before comparison rather than vetted with it, on the same reasoning the verdict headings already drop their colored circle: markup that changes under an unchanged section is the cheapest drift there is. `effort=` reads either spelling. Reading only the bullet left every round in the new format printing `effort=unknown` over a body that states the level outright, which is a reading lost rather than one refused. `overview=T/M` is new: the total the round covering the head states, beside the number of findings it enumerates with a thread anchor, and `?` for T where it states no total, since a total absent and a total of zero are different readings. A total larger than the enumeration is findings raised where polling threads cannot see them, and a `FINDINGS WITH NO THREAD` block follows naming the shortfall. That is what `suppressed=` reads in the first format, and the new format carries no `Suppressed comments` heading for it to find. Reading the shortfall rather than a section name is what makes it hold without knowing what the format calls the section holding such a finding, and a section it does name arrives as an unvetted `<summary>` and stops the loop on its own, so the two readings cover each other. No exit code rides on the shortfall, the same as `suppressed=` and `cr_outside_diff=`, since what an unread finding says is the reader's to judge. ## What this deliberately does not read The anchors are used to count an entry rather than to select one. Mapping an anchor back to a live thread would need the thread query to carry comment ids, and `reply --match` selects on the finding's own words because that is what a caller has to hand. Nothing measured says the anchor would select better, and one observed body is not enough to design that on. The metadata bullet pattern stays bullet-anchored. Dropping the bullet would read the new format's own `**Changes:**` prose label as metadata and block on it, so the two bare lines that carry a reading have their own patterns instead. That format states its file coverage only through the `fleet-review` marker the fleet's carried `code-review` instructions ask for, so a repository not carrying those instructions reads a round in it as exit 45, `COVERAGE_IS_UNSTATED`. That is the honest reading rather than a gap introduced here. ## Verification Against the live pull request that raised this, `status` moves from `shapes=UNRECOGNIZED` with three listed markers and `effort=unknown effort_source=unknown` to `shapes=ok`, `effort=lite effort_source=explicit` and `overview=2/2`. Five first-format pull requests read identically before and after, carrying no `overview=` field. Sixteen cases cover the format, and thirteen of them fail against the reader this replaces. Fixes #1688
`scripts/README.md` documents `suppressed=` as the reading that finds a finding raised with no thread. The second review-body format carries no `Suppressed comments` heading for that reading to find, so the paragraph was left describing a coverage the script no longer has on its own. `overview=T/M` is what covers it there, and the reference now says so.
A read-only adversarial pass over this branch raised thirteen findings, eleven of them reproducible defects in what the two commits before this one added. Each fix below is pinned by a test that fails against the code it replaces, verified by mutation. ## The marker identifies the format only on a line of its own It is an HTML comment, so it renders invisibly and nobody writing about one has a reason to quote it. The fence and code-span guards alone read a first-format round that names the marker mid-sentence as a round written in it, take a total out of that prose, and report a shortfall against a manifest that is not there. This change's own prose carries the bare marker, so the next review of this branch was the case. ## Each half of the manifest is read from the region that owns it The total is read outside the collapsed sections and the enumeration from the section labelled `Open (N)`. Reading either body-wide let a number the round never stated decide the shortfall: a prose back-reference to an earlier round's thread counted as a finding this round enumerated, and the change summary's own counts read as the round's total. Where the overview states more than one total the largest wins, so an ambiguous body overstates the shortfall rather than suppressing it, which the first-wins reading did. ## A refusal wearing the version marker is still a refusal Reading the marker as the body's opening line read a quota refusal as an ordinary review, which is the clean-pass-byte-for-byte failure the refusal reader exists for. The marker is now skipped as the markup it is. This leaves the heading-introduced refusal that the refusal reader already documents as its own known cost, missing in both formats alike rather than in one, and a test pins it rather than leaving it to be rediscovered. It is not a false green: such a round states no coverage either, so it reaches the maintainer as an unproven diff. ## The short effort label is vetted in the bullet spelling too Dropping the bullet requirement and the word `level` together left one combination that the effort reader parses and the shape reader blocks on, so `- **Review effort:** Lite` exited 43 over a line read correctly. ## The single-withheld-finding rendering The pluralizer keyed its pronouns off the enumeration while the antecedent was the stated total, so one withheld finding rendered "them" twice and "1 of them". ## Two claims that overreached The docstrings, `scripts/README.md`, and the skill each claimed the shortfall and the vetted lists "cover each other". They do not. A withheld section introduced as a bare bold line, the markup this format states `Findings:` and `Changes:` on, matches no heading, no `<summary>` and no label, and the bullet requirement this change deliberately kept is what makes that so. The shortfall is the primary reading and the vetted lists are a second net under it, and the text now says that. The same surfaces stated properties of the format in general on the strength of one observed body. They now say which body they describe. ## Two guards that no test held The newest-round selection and the anchor deduplication each survived mutation against the whole suite: the round-selection test built its older round on a different head, so the head filter answered before the selection was reached, and every fixture used distinct anchors. Both now have cases that exercise what their names claim. ## Declined The removal of a bare issue reference from the skill is the maintainer's standing instruction, not collateral. The remaining references in that file are in scope for the scrub tracked separately, not for this change.
A second adversarial pass over the fix round raised six findings, all in what that round added. Each fix is pinned by a test that fails against the code it replaces, verified across eleven mutations. ## The newest round on the head answers, and its own body then decides The reader chose the newest round that happened to carry a manifest, which is not the newest round. A round in the second format followed on the same commit by one in the first reported the superseded manifest as current, so a shortfall printed from a round the head had moved past while `effort=` on the same line came from the newer round, and one digest line described two rounds. Four surfaces claim the field is present only where the round covering the head is written in that format, and this is what makes that true. The order is the one the effort reader already uses: take the newest head round, then read it. ## Neither half of the manifest partitions the body any more Splitting the body into collapsed sections reads a well-formed wrong number whenever the markup is not what the split assumes, and nothing reports that the split failed. An unclosed section moved its own total into the region read as the overview, reporting a shortfall of 38 on a body with none. A section nested one level deeper hid the enumeration entirely, fabricating the whole block on a body that enumerated every finding it stated. The total now comes from the overview preamble, the text ahead of the first `<details`, and the enumeration counts the findings listed as list items, which is what an entry is in that format. Neither depends on the sections nesting or closing as expected. A preamble carrying no total reads as no total, printing `?` and no shortfall, so a body shaped unexpectedly suppresses the block rather than fabricating one. ## Three defects in the tests themselves One test's docstring still carried the claim the previous round set out to retract, and was the only surviving copy of it in the tree. Two verdict assertions ran without capturing stdout, printing three status lines after the runner's own summary on every run, which is what a real failure looks like to anything reading the tail. And one assertion read the digest's unresolved count as an exit code, so it held for any manifest behavior whatsoever while reading as a check that it did not make. ## The count beside the vetted lists Adding a label left the comment stating three where the list holds four. A case now reads the comment and the lists together, so the next entry cannot leave it stale.
A third adversarial pass raised five defects in the two fix rounds before it, one of them the false green the manifest field exists to prevent. Fifteen mutations across every guard on this branch are killed by the cases that name them. ## Only the enumeration's own list items are findings Counting anchors on every list item in the body counted the change summary's own links, which is a bulleted list too. Three findings stated against one entry and two summary links read as fully accounted for, `overview=3/3` with the block gone and `shapes=ok` beside it. That is the direction that hides rather than the one that reports, on the one field whose whole purpose is the opposite. The enumeration is now read from the section labelled `Open`, walking the list items after it and stopping at the first line that is neither blank nor a list item. That is a line scan rather than a section slice, so it keeps what the previous round bought, which is a reading that does not depend on the sections nesting or closing as expected, while recovering the scope that round gave away with it. A body naming no such section enumerates nothing, so every finding it states reads as unaccounted for, and the same rename that causes it arrives as an unvetted summary and stops the loop in its own right. ## The section opener folds case Every other tag reader here does. A body spelling it `<DETAILS>` never split at all, so a collapsed section's own total became the round's and fabricated a shortfall of 38, which is the exact failure the preamble scoping was added to prevent. ## One selection idiom, and a tie takes the later arrival `max` returns the first maximal element and the reviews connection arrives oldest first, so two rounds stamped in the same second selected the older one. GitHub stamps two rounds on one commit that way often enough to decide a digest. A round carrying no timestamp sorts oldest, not having been submitted. The three readers that each wanted the newest round on the head now share one function rather than spelling the same key three times, since `effort=` and `overview=` are read from a round each and a digest line whose fields disagree about which round it describes is worse than either field being wrong alone. ## What `?` actually means Both reader-facing surfaces said `?` meant a round stating no total. It also covers a round stating one only after its first collapsed section, the two being indistinguishable from the preamble, and neither saying the round withheld nothing. A reader trusting the narrower claim would not go looking in the body. ## Declined The removed bare issue reference is the maintainer's standing instruction, raised again by a pass with no sight of it. The remaining references in that file belong to the separate scrub.
A fourth adversarial pass found the false green back in a new guise, the second round to reintroduce what it claimed to close. The three readings before this one each counted a line that was not an entry, so this round replaces the model rather than adding a fourth guard to it. ## What an entry is An entry is a top-level item of the enumeration's own list, and everything indented under one belongs to it. A nested sub-bullet citing an earlier round's thread is part of its entry rather than an entry of its own. Counting one as an entry reported three findings stated, one with a thread and two withheld, as fully accounted for. Top-level is relative to the list rather than to column zero, so an enumeration that sits indented as a whole reads its own entries. A line indented past that base and carrying no list marker is a lazy continuation, which Markdown renders as part of the entry above. Ending the walk there lost every entry after it and invented a shortfall against findings that were all enumerated. ## Which section the enumeration is The label is compared as the vetted list holds it rather than matched loosely. A loose match took `Open questions` and `Still open (2)` for the enumeration and counted none of the real entries. Comparing the vetted spelling also makes this reader and the shape reader judge one body the same way: a section labeled `Open` with no count is unvetted, so it stops the loop rather than being read as an enumeration. Each summary's own text is collapsed onto its tag's line before the scan, because `SUMMARY` reads across lines and a line scan does not. A body spelling its label on its own line missed the enumeration entirely while the shape reader saw a vetted label and reported nothing, which is a fabricated block with no second net under it. ## Both failure directions are live, and the prose now says so Counting a line that is not an entry hides a real shortfall, and losing an entry invents one. Three surfaces called a shortfall withheld findings outright. Each now says it is that or an entry this reader lost, and sends the reader to the body rather than standing in for what is there. Two further claims were false. The vetted lists do not report a second format body that carries a first format shape, both shapes being vetted already, and the readers that own them handle both correctly. And a refusal wearing the format's marker prints the field too, which no surface mentioned. ## Two test gaps this round found in itself Eighteen mutations across every guard on the branch, and two survived: no case covered an indented enumeration, and none distinguished reading the first labelled section from reading every one. Both are covered now, and all eighteen are killed.
A fifth adversarial pass found the false green a third time, in two more guises, and five invented shortfalls beside it. What every reading before this one had in common is the unit: they counted anchors on a line. An entry carries two links as readily as one, its own and a back-reference, and its own link can sit on the line its text wraps onto, so a line is the wrong unit whichever way the count is guarded. ## Entries are the unit The section's lines are grouped into entries, and an entry counts once where anything in it links a thread. The entries are the list items at the shallowest indent the list uses, and everything else in the group belongs to the entry above, whether that is a nested sub-bullet, a wrapped line, an inline `<picture>`, or a table row. The shallowest indent rather than the first item's, since an item indented deeper than the ones after it otherwise sets the floor too deep and promotes their sub-bullets to entries. ## The section ends at the tag that closes it Counted by depth rather than matched, and running to the end of the body where it never closes. That is a structural end rather than a guess about which line stops a list, and the guesses are what four readings each got wrong differently: a lazy continuation, inline markup, a table row, and a character Python breaks a line on while Markdown does not. Both tags are counted, since an entry can collapse detail of its own, and counting only the closing tag ends the enumeration at the inner one. ## Two readers that refused what the format emits A `<summary>` carrying an attribute read as no summary at all, missing the section while the shape reader reported nothing, and this reader was the one exception in a file whose other tag readers allow attributes. The observed format emits `<details open>`, so it does put them there. The attribute must carry a non-space character, or masking a code span inside a `<summary`x`>` fuses a tag the body never had, which a case guards. And the marker was accepted at any indent, so a first-format round quoting it four spaces deep, which is a Markdown code block and so a quotation the fence guard never sees, was read as a body written in the format. It is bounded to three spaces now, the rule a fence is read by. ## One shape read wrongly on purpose Markdown allows an entry up to three spaces of indent, so a list whose first item is indented deeper than the ones after it has siblings this reads as nested, and undercounts. Reading it correctly means resolving each marker's own content column, which is a parser rather than a scan, and no observed body indents an entry at all. It reports a shortfall that is not there, where the same shape used to cancel one, and a case pins it rather than leaving it to be found again. ## Two claims that were false A refusal wearing the marker never reaches the field at all, the head reviews excluding it before the manifest is asked for, so the sentence promising `?/0` described output the code cannot emit. And a later body stating coverage the first format's way is only read where it uses a bullet: this format states its metadata on bare bold lines, which is why the effort reader had to drop that requirement, so the spelling such a body would most likely use is the one the coverage reader does not see. It blocks at exit 45 for the wrong reason, and the docstring says so. ## Coverage Twenty-two mutations across every guard on this branch. Twenty are killed, and the two that survive are equivalent rather than unkilled: no list item can be shallower than the shallowest, and the summary line carries no marker, anchor, or tag. Three real survivors were found in this round's own tests and are covered.
A sixth adversarial pass found four more false greens, one of them in the mechanism built to end them. Six readings of that enumeration, four mechanisms, and four of the six cancelled a shortfall by counting something that was not an entry: a link in the change summary, a nested sub-bullet, a back-reference beside an entry's own link, and a list inside an entry's collapsed detail. Telling those apart needs each list marker's own content column and each HTML block's own extent, which is a Markdown parser rather than a line scan. So this stops parsing. ## The count was never in the prose That format enumerates the findings it opened threads for, and the anchor each entry links is the database id of that thread's own comment. The threads the round opened are therefore the same set the enumeration names, already structured, and no shape of the body can move the number. Confirmed against the live round that raised this: its two anchors are exactly the two thread comment ids the API returns. `overview=T/M` now reads the stated total from the overview preamble and `M` from the threads whose opening comment names that round. The query carries a review id and each thread's opening review to link them. Deleted with the parser: the section walk, the entry grouping, the summary flattening, the list-item and anchor patterns, the enumeration label, and the closing-tag depth count. Twelve shapes that defeated one reading or another are now irrelevant to the count rather than handled by it, and a case asserts that for each. The one way the count can be wrong is a thread past the hundred the query reads, which overstates the shortfall. That is the direction that reports, `threads=` already carries the trailing `+` saying the page was cut, and both the digest block and the documentation say so. ## Two readers that refused what the format emits A `<summary>` carrying an attribute read as no summary at all, and this was the one tag reader in the file refusing them while the format emits `<details open>`. An attribute name opens on a letter, which admits a trailing space before the tag closes and still refuses the `<summary >` that masking a code span leaves behind, a shape a case already guards. ## Coverage Twenty-two mutations across every guard on this branch, all killed. Three survived the first sweep and are covered: a thread's later comments are replies rather than findings, a new section label behind an attribute is still a shape, and a refusal on the head reaches this field not at all.
A seventh adversarial pass found one false green and one cry-wolf, both in the preamble reading rather than in the thread count that replaced the enumeration parser. It also found the query the thread count depends on guarded by nothing. ## The section opener is a tag on a line of its own Matched anywhere, a round naming `<details>` in its own overview prose ended the preamble early and threw the stated total away. That prints `?` and no shortfall over a round that withheld findings, reached by one word of the round's own prose. It carries a tag boundary too, as this file's other tag reader already does, so a token merely opening with those bytes is not this tag. ## The stated total is bounded to three spaces For the reason the marker already was: a fourth makes the line a code block, and so a quotation the fence guard never sees. The largest total wins, so a quoted number beat the round's own, reporting a shortfall of 38 over a round that stated two and opened two. ## The query the thread count reads is guarded Dropping either field it depends on left the whole suite green while the count returned zero for every round, which is a standing full-size false shortfall. This file already gates that class of query-and-reader drift for its check window, and the one new reader taking its number from the API had no such guard. ## Four readings that nothing pinned The quotation masking on the stated total, the trailing whitespace that makes the marker line read under CRLF, three of the four emphasis tags the stripper names, and the singular of the thread count, whose assertion was a substring of its own plural. ## Claims corrected The `?` readings are three rather than the closed pair stated: a round stating no total, one stating it only after its first collapsed section, and one stating it as a bullet, that last blocking at exit 43. A comment claimed this change's own prose carries the marker bare, which no file in the tree does, and the reason it gave was backwards, since a writer who wants an invisible comment seen has to quote it. The equivalence the field rests on is measured on one round of one body, and it now says so. It holds while the enumeration lists what this round raised, and a format listing findings still open from earlier rounds would state a total this undercounts. The body carries its own enumeration's size as the count on its `Open` summary, so a second body is what settles it, and nothing compares the two yet. ## Carried prose The paragraph about this format had been inserted into the middle of the Merge Gate's Qodo sentence, splitting one topic in two. It moves after it, and it no longer tells a reader to answer a withheld finding by quoting a block count, this format carrying no such block.
An eighth adversarial pass cleared the branch for a pull request and named four bounds no case held, one mask whose own case did not isolate it, a docstring still stating the claim the previous round retired elsewhere, and one omission worth more than the rest. ## The merge gate never said `T` can read `?` The script's help and the script reference both carry that reading and one of them calls it the reason to read the body. The carried Merge Gate paragraph, which is the surface an agent actually reads before deciding a pull request is closed, carried neither. An agent holding only the skill saw `overview=?/2` beside `suppressed=0`, found no rule matching it, and read the item as satisfied. It says so now. ## Both ways the comparison overstates, on every surface A thread past the hundred the query reads was already named. The second was in one docstring only: a round whose enumeration lists findings earlier rounds raised states a total the thread count counts none of. Both overstate rather than hide, so a shortfall is confirmed against the body rather than acted on from the number, and all three surfaces now say that. ## Two readings that were stated somewhere and not everywhere A body that does collapse a suppressed section has those findings counted twice, once by `suppressed=` and once in the shortfall, since the total counts them and no thread carries them. And an HTML comment is the one quotation shape neither mask strips, so a column-0 section opener inside a multi-line one ends the preamble and prints `?`. ## Four bounds and one mask, pinned Each of the preamble's two three-space bounds was held on one side only: the total's refusal of four spaces but not its acceptance of three, and the opener's boundary and case folding but not its bound. The marker's line anchor was held at its opening half, every case putting text before the marker and none after it. And the code-span mask survived only as a multi-line guard, which the case claiming it did not isolate, since a one-line span is refused by the line anchor either way. The opener's bound also runs the other way from the total's, which the new case states: an opener a code block holds is a quotation and leaves the preamble running, where the total's own bound refuses a quoted number. My first attempt at that case asserted the opposite and the code was right. ## A docstring stating the retired claim The previous round corrected a comment that claimed this change's own prose carries the marker bare, which no file in the tree does, and left the same words in a test docstring, so the two surfaces read as opposites.
A ninth pass cleared the branch again and found the previous round's prose carrying three claims the tree does not support and one that parses into its own opposite. ## Two claims stated as measured that were not A body collapsing a suppressed section was said to have those findings counted twice, once by `suppressed=` and once in the shortfall. That holds only if the round's stated total includes them, which no body read here says, and the same paragraph says four lines earlier that one body has been read. So `suppressed=2` beside a shortfall of 2 is either two findings or four, and both surfaces now say that rather than promising one. An HTML comment was called the one quotation shape neither mask strips. A raw `<pre>` block does the same, and the indented code block is a third, answered by a pattern bound rather than a mask. All three are named now. ## A sentence that parsed backwards "A round whose enumeration lists findings earlier rounds raised states a total `M` counts none of" binds the relative clause to the total, which is false whenever the round opened threads of its own, the ordinary case. The script reference stated the same fact correctly, so the docstring was the drifted copy. The paragraph above it announced two things and then listed three clauses, the middle being a rider on the first. Each is its own sentence now. ## The merge-gate surface said less than the other two Its categorical sentence stood nine lines from the counterexample that qualifies it, where the other two surfaces qualify theirs in the sentence following. Its `?` rule read as an upper bound, "satisfies this item no more than a number does", which licenses `?` to stand wherever a number would, where the intent is that a `?` leaves the item unsatisfied. Its demonstrative bound "such a body" to the body the same sentence says carries no suppressed section, inverting the case it introduces. ## A test docstring wrong about its own suite It claimed every marker case puts text before the marker, which two of five do not, and that the line anchor's closing half was unheld, where the trailing whitespace half was already held by a CRLF case. Only the `$` was unheld, which is what the case adds.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 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.
Copilot review overview
🔵 Needs a closer look
It changes core review-parsing logic and the GraphQL query contract, so it warrants a final human pass even with the added test coverage.
Review effort: Lite
Findings: 1
Open (1)
What changed in this PR
This pull request updates scripts/pr_review.py to recognize and parse Copilot’s newer review-body format (<!-- ccr-overview-v2 -->), including reading the format’s stated findings total and comparing it against the number of threads opened by that review round (via the API), so status/digest no longer fail on newly arriving Copilot reviews.
Changes:
- Teach
pr_review.pyto detect theccr-overview-v2marker, vet its new headings/summaries/labels, and extract the stated**Findings:** Ntotal from the preamble. - Extend the GraphQL query to include review IDs and each thread’s opening comment’s
pullRequestReview.id, enabling an API-derived “threads opened by this review” count. - Add extensive unit tests covering the new format and update documentation/skill guidance to describe
overview=T/Mand its interpretation.
| File | Description |
|---|---|
| scripts/pr_review.py | Adds second-format detection, stated-total parsing, per-review thread counting, and digest output (overview=T/M + shortfall block). |
| scripts/tests/test_pr_review.py | Adds fixtures and a large test matrix for the second Copilot review-body format and the new query fields. |
| scripts/README.md | Documents the second Copilot body format and how overview=T/M is derived/interpreted. |
| .agents/skills/pr-review-conduct/SKILL.md | Updates the canonical skill text to explain how to triage overview=T/M shortfalls / T=?. |
| .github/skills/pr-review-conduct/SKILL.md | Regenerated distribution copy reflecting the updated skill guidance. |
| .claude-plugin/fleet-skills/skills/pr-review-conduct/SKILL.md | Regenerated plugin distribution copy reflecting the updated skill guidance. |
| .claude-plugin/fleet-skills/.source-digests/pr-review-conduct | Updates the source digest to match the regenerated skill content. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
A relative clause with its head at the end, "the count `overview=T/M` compares the stated total against is the threads the round opened", reads as a garden path. The sentence says the same thing in two.
The docstring said a round in this format states its file coverage through the `fleet-review` marker, and that a repository not carrying the instructions asking for it reads such a round as exit 45. This pull request's own review falsified the second half: its head carries those instructions and its round carried no coverage statement at all, where the round that raised this issue carried the marker. So the format states coverage inconsistently rather than through one reliable line, and exit 45 on a round that stated none is the honest reading rather than a property of the repository reading it.
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
It changes the repository’s merge-gating review parser and its GraphQL query shape in ways that could affect real-world gating behavior and warrants final human validation on live PR output.
Review effort: Lite
Findings: None
Resolved since last review (1)
This reader's own second round raised exit 43 on a shape it had no spelling for, which is the contract working on the change that adds it. `Resolved since last review (N)` is a section a round lists what it resolved in, vetted now. And that section is evidence for a hazard the thread count could only hedge before: the format tracks a finding's state across rounds rather than describing one round, so an `Open (N)` carrying what an earlier round raised would state a total whose threads belong to that earlier round. What would settle it is a round whose count exceeds the threads it opened with the body accounting for the difference, and no round read here has shown that, so the docstring says that rather than either asserting or dismissing it. `**Findings:** None` is a total of zero spelled in words, which a round raising nothing states. Requiring digits read it as no total at all and printed `?`, against this file's own rule that a total absent and a total of zero are different readings.

Copilot's reviews here now arrive in a second body format, identified by the
<!-- ccr-overview-v2 -->marker it opens with. The first review in it named three markersscripts/pr_review.pyhad no spelling for, sostatusexited 43 and no Copilot-reviewed pull request could close its review loop. That exit is the contract working, and the remedy it names is this reader.What the format changes
Its overview heading is
## Copilot review overviewrather than## Pull request overview. It wraps each<summary>in<strong>, where the first format wrapped none. It states its effort level and its finding total on bare bold lines rather than asReview detailsbullets, and it has noReview detailssection at all. It enumerates each finding it opened a thread for as a link to that thread's own comment anchor, under anOpen (N)summary, and it carries a change summary beside that.What this reads
The three blocked markers are vetted. Emphasis tags around a marker are dropped before comparison rather than vetted with it, on the reasoning the verdict headings already drop their colored circle: markup that changes under an unchanged section is the cheapest drift there is.
effort=reads either spelling. Reading only the bullet left every round in the new format printingeffort=unknownover a body that states the level outright, which is a reading lost rather than one refused.overview=T/Mis new.Tis the finding total the round states in its overview preamble,?where no total is found there.Mis the number of review threads that round opened. A total larger than the thread count is findings raised where polling threads cannot see them, and aFINDINGS WITH NO THREADblock follows naming the shortfall. That is whatsuppressed=reads in the first format, and the one body read in this format carries noSuppressed commentsheading for it to find. No exit code rides on it, the same assuppressed=andcr_outside_diff=.Why
Mcomes from the APIThis is the part worth reviewing hardest, because six earlier attempts read
Mout of the review body's own enumeration and four of them shipped a false green: a shortfall of zero over a body that withheld findings, because something that was not an enumeration entry got counted as one. In order, those readings counted every anchor in the body, then anchors inside theOpen (N)region, then anchors on any list item, then anchors on top-level list items, then entries grouped by indent with the section ended by tag depth. Each was locally correct and each moved the defect: a prose back-reference, a change-summary link, a nested sub-bullet, a back-reference on the entry line, a list inside an entry's collapsed detail.Telling those apart needs each list marker's own content column and each HTML block's own extent, which is a Markdown parser rather than a line scan.
The count was never in the prose. The anchor each entry links is the database id of that thread's own comment, so the threads the round opened are the same set the enumeration names, already structured. Confirmed against the live round that raised this: its two anchors are exactly the two thread comment ids the API returns.
Q_FULLgained a review id and each thread's opening review to link them.What is stated as unmeasured, and why
The equivalence above holds while the round's enumeration lists what that round raised. A format listing findings still open from earlier rounds would state a total the thread count undercounts, printing a standing shortfall on every round after the first. One round of one body cannot settle that, and the code says so rather than asserting it. A shortfall is therefore confirmed against the review body rather than acted on from the number, and so is a
?.A thread past the hundred
reviewThreadsreads would also have counted inM, which overstates the shortfall.threads=already carries the trailing+saying the page was cut.What this deliberately does not do
The anchors are not used to select a thread.
reply --matchselects on the finding's own words because that is what a caller has to hand, and mapping an anchor back to a thread would need the thread query to carry comment ids for that purpose. Nothing measured says the anchor would select better.The metadata bullet pattern stays bullet-anchored. Dropping the bullet reads this format's own
**Changes:**prose label as metadata and blocks on it, so the two bare lines that carry a reading have their own patterns instead.That format states its file coverage inconsistently, which this pull request's own review demonstrated: the round on #1687 carried the
fleet-reviewmarker the fleet's carriedcode-reviewinstructions ask for, and the round on this pull request, whose head carries those same instructions, carried no coverage statement at all and read as exit 45,COVERAGE_IS_UNSTATED. That is the honest reading of a round that stated none rather than a gap introduced here.Verification
Against the live pull request that raised this,
statusmoves fromshapes=UNRECOGNIZEDwith three listed markers andeffort=unknown effort_source=unknowntoshapes=ok,effort=lite effort_source=explicitandoverview=2/2. Five first-format pull requests read identically before and after, carrying nooverview=field.370 tests. Twenty mutations across every guard on this branch, all killed, each by the case whose name claims it. Every commit after the first two answers a review pass, local or hosted: the same reader was rebuilt five times because the first four mechanisms each hid a finding.
The
commentslabel is on this pull request because the prose gate reports acomment-addedline for every rationale line this change adds or edits, this file's convention being a rationale block per constant.Fixes #1688