[GH-ISSUE #8178] fix(dottore): retain confirmed carried findings in incremental review output #7598

Closed
opened 2026-10-24 04:04:38 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8178

Originally assigned to: @SpicyMarinara on GitHub.

Owner: @SpicyMarinara (Codex investigation; implementation not started).

An incremental Dottore review can confirm a previously carried candidate and then omit it from the published findings. This is inherited from staging d4f3ecfc6e, independently discovered during the unrelated #8153 repair review; no workflow source is changed in that PR.

judge() tests the confirmed location against the PR-wide ctx.anchorable, so a carried candidate on an older changed line gets outside_diff=False. render_review() subsequently validates that finding against its incremental review_base. If only a newer line changed in that interval, validate_review_items() drops the already-confirmed candidate as "line is not part of the change". With no other finding, the published verdict can incorrectly lose this defect.

Runnable read-only reproduction and output. Run the Python fixture from a current Engine checkout with Python3.12. Its first case invokes the actual judge and publication validator, stubbing only grounded-evidence confirmation and the incremental changed-line set. It confirms full-PR line10, then proves incremental-only line20 drops it. No model or network request is made.

Expected: retain every confirmed carried candidate in the walkthrough/defect count, using a valid full-PR inline anchor where possible. Preserve the stricter validation of unverified/new finder output. Add the smallest permanent regression covering this confirmed-but-unchanged location and the resulting verdict/count.

Originally created by @SpicyMarinara on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8178 Originally assigned to: @SpicyMarinara on GitHub. Owner: @SpicyMarinara (Codex investigation; implementation not started). An incremental Dottore review can confirm a previously carried candidate and then omit it from the published findings. This is inherited from staging `d4f3ecfc6e`, independently discovered during the unrelated #8153 repair review; no workflow source is changed in that PR. `judge()` tests the confirmed location against the PR-wide `ctx.anchorable`, so a carried candidate on an older changed line gets `outside_diff=False`. `render_review()` subsequently validates that finding against its incremental `review_base`. If only a newer line changed in that interval, `validate_review_items()` drops the already-confirmed candidate as "line is not part of the change". With no other finding, the published verdict can incorrectly lose this defect. [Runnable read-only reproduction and output](https://gist.github.com/SpicyMarinara/a03a43c99982f8e3dd5eef0afaaa2999). Run the Python fixture from a current Engine checkout with Python3.12. Its first case invokes the actual `judge` and publication validator, stubbing only grounded-evidence confirmation and the incremental changed-line set. It confirms full-PR line10, then proves incremental-only line20 drops it. No model or network request is made. Expected: retain every confirmed carried candidate in the walkthrough/defect count, using a valid full-PR inline anchor where possible. Preserve the stricter validation of unverified/new finder output. Add the smallest permanent regression covering this confirmed-but-unchanged location and the resulting verdict/count.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 23, 2026):

Owner: @SpicyMarinara (Codex). I am taking this bounded reviewer follow-up in a dedicated PR together with #8179. Both reported paths reproduce against the unchanged current reviewer source. The separate Sonnet5.5/xhigh repository-variable change is already live and will remain unchanged.

<!-- gh-comment-id:6367352149 --> @SpicyMarinara commented on GitHub (Oct 23, 2026): Owner: @SpicyMarinara (Codex). I am taking this bounded reviewer follow-up in a dedicated PR together with #8179. Both reported paths reproduce against the unchanged current reviewer source. The separate Sonnet5.5/xhigh repository-variable change is already live and will remain unchanged.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 23, 2026):

The source repair is merged to staging in e471bca3 via #8183. Local baseline, both canonical regression files and independent negative controls pass; final-head Dottore is Viable With Notes (0 defects), all eight required gates passed, and merge ancestry is verified. Runnable proof and logs.

This does not make the hosted fix live: the reviewer executes maintainer-controlled trusted tooling/pins. I am leaving this issue open to track that normal promotion and the subsequent live verification. No main promotion or trust-boundary change was made. Post-merge staging CI is separate and is still being monitored.

<!-- gh-comment-id:6368890146 --> @SpicyMarinara commented on GitHub (Oct 23, 2026): The source repair is merged to `staging` in [e471bca3](https://github.com/Pasta-Devs/Marinara-Engine/commit/e471bca346cb50de7ce6d48ea90ff78d1e41a025) via #8183. Local baseline, both canonical regression files and independent negative controls pass; final-head Dottore is Viable With Notes (0 defects), all eight required gates passed, and merge ancestry is verified. [Runnable proof and logs](https://gist.github.com/SpicyMarinara/6660de767c3c4c19e27a3a5ac4ef3380). This does **not** make the hosted fix live: the reviewer executes maintainer-controlled trusted tooling/pins. I am leaving this issue open to track that normal promotion and the subsequent live verification. No `main` promotion or trust-boundary change was made. Post-merge staging CI is separate and is still being monitored.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7598
No description provided.