[PR #7776] [MERGED] ci: Dottore pull-request reviewer replaces Bunny Review #7923

Closed
opened 2026-10-24 04:08:51 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7776
Author: @Promansis
Created: 10/18/2026
Status: ✅ Merged
Merged: 10/19/2026
Merged by: @SpicyMarinara

Base: staging ← Head: dottore-upstream


📝 Commits (7)

  • 39029be ci: Dottore pull-request reviewer replaces Bunny Review
  • 6611b2b ci(dottore): find fork PRs by head branch; /dottore autofix needs write access
  • 65d9562 ci(dottore): pass the fork head filter as an encoded query parameter
  • 8292c05 ci(dottore): twelve chibis, a few poses per verdict, inset from the comment's edge
  • b0836c8 ci(dottore): the status window has three poses, as the README now says
  • 2429538 fix(dottore): markers from the header, carried no-new-diff heads, threads on the PR diff
  • 6766c7e fix(dottore): withhold the viable verdict for unjudged candidates; fail on an unreadable rules file

📊 Changes

29 files changed (+5962 additions, -3246 deletions)

View changed files

➖ .github/bunny-review/bunny_review.py (+0 -2542)
➖ .github/bunny-review/ci-checks.json (+0 -6)
➖ .github/bunny-review/requirements.txt (+0 -1)
➖ .github/bunny-review/reviewer-prompt.md (+0 -177)
➕ .github/dottore-review/README.md (+302 -0)
➕ .github/dottore-review/chibi/dottore-discharged.png (+0 -0)
➕ .github/dottore-review/chibi/dottore-explaining.png (+0 -0)
➕ .github/dottore-review/chibi/dottore-inspecting.png (+0 -0)
➕ .github/dottore-review/chibi/dottore-instrument-failed.png (+0 -0)
➕ .github/dottore-review/chibi/dottore-reading.png (+0 -0)
➕ .github/dottore-review/chibi/dottore-repair-required.png (+0 -0)
➕ .github/dottore-review/chibi/dottore-sorting.png (+0 -0)
➕ .github/dottore-review/chibi/dottore-specimen-unstable.png (+0 -0)
➕ .github/dottore-review/chibi/dottore-stitching.png (+0 -0)
➕ .github/dottore-review/chibi/dottore-viable-with-notes.png (+0 -0)
➕ .github/dottore-review/chibi/dottore-viable.png (+0 -0)
➕ .github/dottore-review/chibi/dottore-writing.png (+0 -0)
➕ .github/dottore-review/dottore_review.py (+4540 -0)
➕ .github/dottore-review/requirements.txt (+2 -0)
➕ .github/dottore-review/reviewer-prompt.md (+233 -0)

...and 9 more files

📄 Description

Linked issue

Closes #7775

Why this change

  • The repository's own reviewer, Bunny Review, has been disabled since its last hardening (#7146). Dottore is its replacement: a pull-request reviewer that runs on two maintainer-chosen models and posts one walkthrough with a verdict, a review thread per confirmed finding and notes for the rest.
  • It is meant to run beside CodeRabbit for now, on request only, so the maintainers can judge it on live pull requests before deciding anything about CodeRabbit. Nothing here changes CodeRabbit, the required checks or who may merge.

What changed

  • Adds .github/dottore-review/ (reviewer, prompt, rules.json, chibi images, README) and four workflows: dottore-review.yml (the reviewer, also callable from Marinara-Agents), dottore-review-command.yml (/dottore, /dottore full, /dottore autofix, /dottore approve from owners, members and collaborators), dottore-review-auto.yml (the auto dispatcher, to be disabled for the trial, see below) and dottore-review-approve.yml (re-checks Dottore's approval when a check workflow finishes).
  • Removes .github/bunny-review/ and the three bunny-review-*.yml workflows. The OPENAI_API_KEY secret they read is then unused.
  • Adds __pycache__/ to .gitignore.
  • No source, docs or release files change. .github/dottore-review/README.md documents every command, variable, secret and rules key.

Setting it up (maintainer)

  • Right after merging, disable the Dottore Review Auto Dispatch workflow under Actions. Dottore then runs only from a /dottore comment, and a repair it pushes also waits for the next /dottore. Leave DOTTORE_AUTO_REVIEW unset. Enabling both later turns on reviews of every pull request.
  • Variables: DOTTORE_SMALL_MODEL, DOTTORE_SMALL_API, DOTTORE_SMALL_BASE_URL, DOTTORE_SMALL_EFFORT, DOTTORE_LARGE_MODEL, DOTTORE_LARGE_API, DOTTORE_LARGE_BASE_URL, DOTTORE_LARGE_EFFORT. The README's Models section lists the values the fork trial ran (Claude Haiku 5.5 reading, GPT Astra judging, both through LinkAPI) and how to switch either model. Set DOTTORE_BASE_REFS=staging so only pull requests into staging are reviewed.
  • Secrets: DOTTORE_SMALL_API_KEY and DOTTORE_LARGE_API_KEY, from the maintainer's own provider accounts. DOTTORE_APP_ID and DOTTORE_APP_PRIVATE_KEY only if repairs (/dottore autofix) should push; that needs a GitHub App with contents and pull-requests write access installed on this repository. Without them, reviews work and a repair request gets a reply saying what is missing.
  • With the dispatcher disabled, a repair Dottore pushes is reviewed again only on the next /dottore, so each repair is a person's decision. The three-round cap guards the unattended loop once the dispatcher is enabled.
  • /dottore approve posts an approval only if Allow GitHub Actions to create and approve pull requests is on; otherwise it reports what is still open and warns. Not needed for the trial.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Run by the author's agent:

  • python3 -m py_compile .github/dottore-review/dottore_review.py and a YAML parse of the four workflows pass.
  • An offline probe of the renderer (counts, verdicts, threads, status descriptions) passes against this exact file.
  • This build reviewed its own pull requests on the Promansis fork (Promansis/Marinara-Engine#492: Viable, With Notes, 129.8 s, $0.027) and through the Agents fork wrapper (Promansis/Marinara-Agents#48: Viable, $0.008).
  • Acceptance round on seven replayed upstream PRs (fork PRs #473–#479): 6 of 10 known CodeRabbit bugs found, 1 wrong finding in 14, median $0.09 and 5.7 min per review.

Manual verification notes

  • Manually verify: with the variables and secrets set, comment /dottore on an open pull request into staging; confirm a "Dottore Review — Experiment in Progress" window appears, then a walkthrough with a verdict, and the Dottore Review commit status.
  • Manually verify: the Bunny Review workflows no longer appear under Actions, and Dottore Review Auto Dispatch shows as disabled.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

The only documentation is .github/dottore-review/README.md, inside this PR; nothing under docs/ changes.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added Dottore pull request reviews, available automatically or through /dottore, with full review, autofix, and approval modes.
    • Added repair validation, checks for previously reported findings, and approval checks after review threads are resolved and required checks pass.
  • Documentation
    • Added guidance on review commands, configuration, review rules, and repair behavior.
  • Removals
    • Bunny Review workflows and commands are no longer available.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/7776 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/18/2026 **Status:** ✅ Merged **Merged:** 10/19/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `dottore-upstream` --- ### 📝 Commits (7) - [`39029be`](https://github.com/Pasta-Devs/Marinara-Engine/commit/39029be18b3753dc5c7bd6e9bc8824f695d00f81) ci: Dottore pull-request reviewer replaces Bunny Review - [`6611b2b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6611b2bf8b4add05d4e9569d2525d935a277ac20) ci(dottore): find fork PRs by head branch; /dottore autofix needs write access - [`65d9562`](https://github.com/Pasta-Devs/Marinara-Engine/commit/65d95620d8eb1d58bd697e59d4a3d761a7156ade) ci(dottore): pass the fork head filter as an encoded query parameter - [`8292c05`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8292c05b7512b6e2ce81fb9e423c5703aaaf26d0) ci(dottore): twelve chibis, a few poses per verdict, inset from the comment's edge - [`b0836c8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b0836c894a1f676ddc3b8e105c2dcea27787c685) ci(dottore): the status window has three poses, as the README now says - [`2429538`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2429538b60601a81db748675d4db9d9ca2d07b00) fix(dottore): markers from the header, carried no-new-diff heads, threads on the PR diff - [`6766c7e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6766c7e2cfa8aa9ba72307904a0ce64ef0a6b079) fix(dottore): withhold the viable verdict for unjudged candidates; fail on an unreadable rules file ### 📊 Changes **29 files changed** (+5962 additions, -3246 deletions) <details> <summary>View changed files</summary> ➖ `.github/bunny-review/bunny_review.py` (+0 -2542) ➖ `.github/bunny-review/ci-checks.json` (+0 -6) ➖ `.github/bunny-review/requirements.txt` (+0 -1) ➖ `.github/bunny-review/reviewer-prompt.md` (+0 -177) ➕ `.github/dottore-review/README.md` (+302 -0) ➕ `.github/dottore-review/chibi/dottore-discharged.png` (+0 -0) ➕ `.github/dottore-review/chibi/dottore-explaining.png` (+0 -0) ➕ `.github/dottore-review/chibi/dottore-inspecting.png` (+0 -0) ➕ `.github/dottore-review/chibi/dottore-instrument-failed.png` (+0 -0) ➕ `.github/dottore-review/chibi/dottore-reading.png` (+0 -0) ➕ `.github/dottore-review/chibi/dottore-repair-required.png` (+0 -0) ➕ `.github/dottore-review/chibi/dottore-sorting.png` (+0 -0) ➕ `.github/dottore-review/chibi/dottore-specimen-unstable.png` (+0 -0) ➕ `.github/dottore-review/chibi/dottore-stitching.png` (+0 -0) ➕ `.github/dottore-review/chibi/dottore-viable-with-notes.png` (+0 -0) ➕ `.github/dottore-review/chibi/dottore-viable.png` (+0 -0) ➕ `.github/dottore-review/chibi/dottore-writing.png` (+0 -0) ➕ `.github/dottore-review/dottore_review.py` (+4540 -0) ➕ `.github/dottore-review/requirements.txt` (+2 -0) ➕ `.github/dottore-review/reviewer-prompt.md` (+233 -0) _...and 9 more files_ </details> ### 📄 Description ## Linked issue Closes #7775 ## Why this change - The repository's own reviewer, Bunny Review, has been disabled since its last hardening (#7146). Dottore is its replacement: a pull-request reviewer that runs on two maintainer-chosen models and posts one walkthrough with a verdict, a review thread per confirmed finding and notes for the rest. - It is meant to run beside CodeRabbit for now, on request only, so the maintainers can judge it on live pull requests before deciding anything about CodeRabbit. Nothing here changes CodeRabbit, the required checks or who may merge. ## What changed - Adds `.github/dottore-review/` (reviewer, prompt, `rules.json`, chibi images, README) and four workflows: `dottore-review.yml` (the reviewer, also callable from Marinara-Agents), `dottore-review-command.yml` (`/dottore`, `/dottore full`, `/dottore autofix`, `/dottore approve` from owners, members and collaborators), `dottore-review-auto.yml` (the auto dispatcher, to be disabled for the trial, see below) and `dottore-review-approve.yml` (re-checks Dottore's approval when a check workflow finishes). - Removes `.github/bunny-review/` and the three `bunny-review-*.yml` workflows. The `OPENAI_API_KEY` secret they read is then unused. - Adds `__pycache__/` to `.gitignore`. - No source, docs or release files change. `.github/dottore-review/README.md` documents every command, variable, secret and rules key. ### Setting it up (maintainer) - Right after merging, disable the **Dottore Review Auto Dispatch** workflow under Actions. Dottore then runs only from a `/dottore` comment, and a repair it pushes also waits for the next `/dottore`. Leave `DOTTORE_AUTO_REVIEW` unset. Enabling both later turns on reviews of every pull request. - Variables: `DOTTORE_SMALL_MODEL`, `DOTTORE_SMALL_API`, `DOTTORE_SMALL_BASE_URL`, `DOTTORE_SMALL_EFFORT`, `DOTTORE_LARGE_MODEL`, `DOTTORE_LARGE_API`, `DOTTORE_LARGE_BASE_URL`, `DOTTORE_LARGE_EFFORT`. The README's Models section lists the values the fork trial ran (Claude Haiku 5.5 reading, GPT Astra judging, both through LinkAPI) and how to switch either model. Set `DOTTORE_BASE_REFS=staging` so only pull requests into `staging` are reviewed. - Secrets: `DOTTORE_SMALL_API_KEY` and `DOTTORE_LARGE_API_KEY`, from the maintainer's own provider accounts. `DOTTORE_APP_ID` and `DOTTORE_APP_PRIVATE_KEY` only if repairs (`/dottore autofix`) should push; that needs a GitHub App with contents and pull-requests write access installed on this repository. Without them, reviews work and a repair request gets a reply saying what is missing. - With the dispatcher disabled, a repair Dottore pushes is reviewed again only on the next `/dottore`, so each repair is a person's decision. The three-round cap guards the unattended loop once the dispatcher is enabled. - `/dottore approve` posts an approval only if **Allow GitHub Actions to create and approve pull requests** is on; otherwise it reports what is still open and warns. Not needed for the trial. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` Run by the author's agent: - `python3 -m py_compile .github/dottore-review/dottore_review.py` and a YAML parse of the four workflows pass. - An offline probe of the renderer (counts, verdicts, threads, status descriptions) passes against this exact file. - This build reviewed its own pull requests on the Promansis fork (Promansis/Marinara-Engine#492: Viable, With Notes, 129.8 s, $0.027) and through the Agents fork wrapper (Promansis/Marinara-Agents#48: Viable, $0.008). - Acceptance round on seven replayed upstream PRs (fork PRs #473–#479): 6 of 10 known CodeRabbit bugs found, 1 wrong finding in 14, median $0.09 and 5.7 min per review. ### Manual verification notes - Manually verify: with the variables and secrets set, comment `/dottore` on an open pull request into `staging`; confirm a "Dottore Review — Experiment in Progress" window appears, then a walkthrough with a verdict, and the `Dottore Review` commit status. - Manually verify: the Bunny Review workflows no longer appear under Actions, and Dottore Review Auto Dispatch shows as disabled. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) The only documentation is `.github/dottore-review/README.md`, inside this PR; nothing under `docs/` changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added Dottore pull request reviews, available automatically or through `/dottore`, with full review, autofix, and approval modes. * Added repair validation, checks for previously reported findings, and approval checks after review threads are resolved and required checks pass. * **Documentation** * Added guidance on review commands, configuration, review rules, and repair behavior. * **Removals** * Bunny Review workflows and commands are no longer available. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:08:51 +07:00
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#7923
No description provided.