mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8238] [MERGED] fix(dottore): stop re-raising disposed threads and findings from missing context #8200
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#8200
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8238
Author: @Promansis
Created: 10/24/2026
Status: ✅ Merged
Merged: 10/24/2026
Merged by: @Promansis
Base:
staging← Head:fix/dottore-false-positives-8237📝 Commits (7)
6dc87cdchore(dottore): start false-positive fixes (#8237)fc833c3fix(dottore): stop re-raising disposed findings and widen the review bundle238a9b9fix(dottore): take dispositions only from maintainers and close review gaps711fddefix(dottore): send linked issues' intent to the finder and checker only6ec2bb4fix(dottore): read issue sections from CRLF bodies and decorated headings98a294bfix(dottore): keep an issue's scope under the budget and label what is guessedc1e8f6cMerge branch 'staging' into fix/dottore-false-positives-8237📊 Changes
6 files changed (+420 additions, -51 deletions)
View changed files
📝
.github/dottore-review/README.md(+25 -5)📝
.github/dottore-review/dottore_review.py(+186 -35)📝
.github/dottore-review/reviewer-prompt.md(+8 -6)📝
.github/dottore-review/rules.json(+6 -5)📝
.github/workflows/dottore-review.yml(+2 -0)➕
scripts/regressions/dottore-thread-dispositions.regression.mjs(+193 -0)📄 Description
Linked issue
Closes #8237
Why this change
closingIssuesReferencesonly for PRs into the default branch, and these PRs targetstaging;DOTTORE_AUTO_REVIEW.What changed
Harness (
dottore_review.py,dottore-review.yml)disposedand carries the reply. The finder sees it under a "Disposed by a maintainer" heading. Replies from anyone else, or from bots, settle nothing and never reach the prompt.Closes/Fixes/Resolves #Nin the PR body. Of each they see only the title and the sections that say what the change must do or leave alone (Expected behavior, Requested behavior, Proposed solution, Scope, Not in scope and common variants), up to 1,000 characters, or the first 500 characters of an issue without them. These sections were chosen from the 150 most recent issues in each repo; the extracted text is about 600 characters at the median..github/, the repository's Actions variables, never secrets. The workflow passestoJSON(vars)asDOTTORE_VARS_JSON.unmatched. It is withheld and counted under Verification Coverage and in Lab Notes instead of being published as a hypothesis.post_reviewappends a note naming the examined and current commits.carry_walkthroughstrips that note on the next carry.Prompt and rules (
reviewer-prompt.md,rules.json)confirmed: the evidence must name the caller or producer that reaches the cited line, in the order it runs.rejectedalso covers:ponytail:note that names the failing input. This counts as a decision unless the PR sends that code new inputs the note doesn't name. A general ceiling still leaves the candidate standing.rules.json:repo_concernsline and prompt focus list say the same;mediumrequires an ordinary action to reach the bug;Docs and proof
.github/dottore-review/README.mddocuments the new bundle sections, unmatched confirmations, the moved-head note, dropped and disposed contracts, and that every repository variable reaches the review step.scripts/regressions/dottore-thread-dispositions.regression.mjs(9 cases). It fails all 9 on the previous harness and passes on this one.Deviations from the plan in #8237
open_questions, because that conflicts with its existing rule to report a suspicion so the checker reads it. The reachability requirement goes on the checker'sconfirmedverdict instead.closingIssuesReferencesis empty forstagingPRs. An issue linked only from the sidebar or by a plain mention is not read.Validation
pnpm checkpasses locallynode scripts/run-regressions.mjs --filter dottorepasses (on Windows, withPYTHONUTF8=1)CONTRIBUTING.mdManual verification notes
Agent-run locally (not a substitute for the items below):
pnpm checkexited 0;PYTHONUTF8=1 node scripts/run-regressions.mjs --filter dottorepassed 4/4;py_compilepassed.Local review. The CodeRabbit CLI is not installed on the authoring machine, so the local CodeRabbit review has not run. Two independent agent reviews ran in its place, and the maintainer approved marking the PR ready on that basis. Fixed in
238a9b910after the first review:CLOSING_ISSUE_REmatchedauto-fix #N.ghtimeout on the new head or issue calls could abort the run.rules.jsonrepo_concernsand the prompt focus list still invited missing-test findings.Fixed in
6ec2bb400after the second review, which covered the whole diff:Dottore's findings on
6ec2bb400, fixed in98a294b49:DOTTORE_VARS_JSONwas reported as "None set." It now says "Not passed to this run."review_packet_charsmeasured only the bundles. It now counts the whole packet, linked issues included.Dottore finding dismissed in part:
###headings and bold labels are not read as sections. In the 150 most recent issues of each repo, no issue holds a kept section under###, and the one bold**Not in scope:**label sits inside a##section, so reading bold labels as headings would split it. Both repos' issue templates use##.Dismissed after the second review:
##line inside a code fence in an issue starts a new section, cutting the section short. Template sections rarely hold fenced headings, and the result is less context, not wrong context.verify_filepasses no packet whenpacket is None) and is unchanged by it.### Expected behaviorheadings are not read. Accepting###would end a kept section at its own subheadings; the repo's templates use##.Kept as a documented ceiling (
ponytail:indispose_contracts):To do:
/dottoreon a test PR where a person has replied to a Dottore thread. Confirm the new walkthrough header carries that contract asdisposedwith the reply, and that the finder does not raise it again.Closes #N. Confirm the finder's packet shows "Issue #N" with only its Expected behavior (or Proposed solution) section, and that the scout bundle does not..github/shows the "Repository Variables" section, and that a PR touching nothing under.github/does not.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Only
.github/dottore-review/README.mdchanged, which is not underdocs/, so no translation follow-up applies.Follow-up (after merge): a Marinara-Agents PR that applies the
rules.jsonseverity change there and bumps its wrapper's pinned Engine workflow SHA. Its wrapper already grantsissues: write, which the linked-issue read needs.Risk:
.github/PRs.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.