mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8237] [Issue]: Dottore Review re-raises disposed threads and reports false positives from missing context #8170
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8170
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Promansis on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8237
Originally assigned to: @Promansis on GitHub.
Summary
Dottore Review raises a high rate of false-positive findings, and some come back round after round. An analysis of the pooled findings since the 2026-10-18 cutover (reviewer prompt and
rules.jsonunchanged since39029be18) traces most of them to the harness and the review policy, not the model. The biggest pattern is a harness bug: threads a maintainer has answered or resolved keep feeding their repair contract back to the finder, so the finder judges the same disputed point again on every round (Engine#8151 x8, Engine#8153 x7).Expected behavior
rules.jsonagrees withreviewer-prompt.md.Actual behavior
produce_reviewcarriesprior_contract_statefrom the walkthrough header. The only way out is Dottore's own repair check marking the threadresolved.threads_to_checkskips answered threads and never looks at threads resolved by hand.pr_descriptionfetches only the title and body, but the prompt says "the linked issue defines intent".TEST_PATH_REremoves tests from the bundle. Existing tests for a changed module are not mentioned at all, so findings that say "no regression covers X" are based on missing information.DOTTORE_AUTO_REVIEWwas off on PRs about its own gating.judge()downgrades these touncertain, andagentic_reviewthen publishes them with "The quoted evidence did not match the code."rules.jsongrades "maintainability trap, or missing test" as medium and lists "missing regression tests" inreview_focus. The prompt says thin proof is a pre-merge Proof Gap, not a finding.Steps to reproduce
Environment
stagingatde6df1064; no Dottore changes since3bc641c44).github/workflows/dottore-review.yml,.github/dottore-review/dottore_review.py)Logs, screenshots, or video
Examples from the findings pool: Engine#8151 (8 re-raises of one disposed contract), Engine#8153 (7), #7954 and #7960 (repository-variable claims), #7986 (GitHub-token claims).
Additional context
Proposed fix, as one PR against
staging(or two if the prompt edits need their own review round):Harness
REVIEW_THREADS_QUERYresult, with no extra GraphQL call. Drop the contracts of resolved threads. Mark answered onesdisposed, attach the reply, and render them under their own heading. Regression proof:scripts/regressions/dottore-thread-dispositions.regression.mjs.closingIssuesReferencesinto the bundle, at most two issues, truncated..github/. Never include secrets.PR_HEAD_SHAdiffers from the currentheadRefOid, mark the walkthrough as superseded.rules.jsonreview_focusin line with the prompt.reviewer-prompt.mdponytail:note that names the specific input count as a decision for that input? The current checker text says no deferral is a decision. The proposal: a note that names the input settles that input, and a general ceiling still leaves the candidate standing.Follow-up: After the Engine PR merges, a Marinara-Agents PR against its
stagingapplies the R1rules.jsonedit and bumps the wrapper's pinned SHA in the same change.Out of scope:
cancel-in-progresson the review workflow, loading test contents into the bundle, and the Agents dispatcher copies.No open issue or PR covers Dottore false positives.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@Promansis commented on GitHub (Oct 24, 2026):
P7 decision: option B (a note that names the input settles that input).
A
ponytail:note that names the specific failing input counts as a decision for that input, and the checker rejects a candidate that rests only on that input. A general ceiling or upgrade path that names no input still leaves the candidate standing.Two limits:
Planned replacement for the last sentence of the
rejectedbullet inreviewer-prompt.md(checker step 3):Why:
AGENTS.mdasks contributors to name the known ceiling inponytail:notes, and the checker already treats "a decision that names the input" as settling it. B removes the one exception that contradicts both, without letting a vague note hide a real defect.@Promansis commented on GitHub (Oct 24, 2026):
@Promansis is working on this in draft #8238.