[PR #8225] [MERGED] fix(dottore): give each submit-only finder call its whole time box #8195

Closed
opened 2026-10-25 04:04:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8225
Author: @Promansis
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/24/2026
Merged by: @Promansis

Base: staging ← Head: claude/dottore-large-pr-timeout-3igkwo


📝 Commits (2)

  • d6cf48d fix(dottore): give each submit-only finder call its whole time box
  • 5f65a7a fix(dottore): keep the deadline allowance for a submit-only checker

📊 Changes

2 files changed (+25 additions, -13 deletions)

View changed files

📝 .github/dottore-review/README.md (+11 -4)
📝 .github/dottore-review/dottore_review.py (+14 -9)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #8224

Why this change

  • On a large PR split into several packets, a finder that started late got only the time left before its deadline as its silence allowance. On Marinara-Agents PR 1606 that was 193 s.
  • At high effort the model thinks silently for its first few minutes, so the stream watchdog stopped the finder. That failure is not retried, and it failed the whole review as "Specimen Unexamined" while the job stayed green.

What changed

  • chat() in .github/dottore-review/dottore_review.py: a call offered only its submit tool now gets the role's whole minutes box as its silence allowance, however late it starts. For the finder that is 600 s.
  • A submit-only role without a box keeps its previous allowance: the time left before its deadline, with a 180 s floor. In practice that role is a checker whose reads is set to 0. A checker that has reads is still offered its read tools when it is forced to submit, so it keeps the 180/360 s timeouts and the 900 s stream limit as before.
  • The constants comment now says a reply stopped for silence is not resent. It previously said such a call was retried.
  • The Dottore README matches the code, including what the checker's allowance actually is. It also gains a short note on how model effort shapes a large PR's 30 minutes.

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

Manual verification notes

This PR changes only the Python reviewer and its README, so the app checks above were not run.

  • python3 -m py_compile .github/dottore-review/dottore_review.py passes.

  • ruff check --select E9,F .github/dottore-review/dottore_review.py passes.

  • Throwaway scripts, not committed, loaded the module and called the real chat() with a stubbed model reply, a fixed clock and the real ROLE_DEFAULTS. Results as read timeout / stream limit:

    Call Result
    Finder, submit tool only, starting with 100 s left 600/600
    Finder, submit tool only, starting with 5000 s left 600/600
    Checker, submit tool only, 300 s left 300/300
    Checker, submit tool only, cold first turn, 60 s left 180/180 (the floor)
    Checker with reads, forced to submit after spending them 360/900
    Checker with reads, cold first turn 180/900
    Scout with read tools 180/900
  • watched() still resets on stream progress and still stops a silent reply.

  • Not yet verified on a live review. After merge, run /dottore on a multi-packet PR such as Marinara-Agents PR 1606. Every finder's Dottore call: line should show elapsed_s up to about 600, with no TimeoutError ... limit 1xxs and a verdict other than "Specimen Unexamined".

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 README changed is .github/dottore-review/README.md, which is outside docs/, so no translation follow-up applies. Marinara-Agents needs a one-line pin bump of its Dottore wrapper once this merges into staging.

UI evidence (if applicable)

Not applicable. No UI changes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SoDJG7dPshuWeNecygHYRx


🔄 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/8225 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/23/2026 **Status:** ✅ Merged **Merged:** 10/24/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `claude/dottore-large-pr-timeout-3igkwo` --- ### 📝 Commits (2) - [`d6cf48d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d6cf48dff4b65cb9c70a64035d3635c34044dc98) fix(dottore): give each submit-only finder call its whole time box - [`5f65a7a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5f65a7a4e8afe0f44f8c37715fa0b31a597e1256) fix(dottore): keep the deadline allowance for a submit-only checker ### 📊 Changes **2 files changed** (+25 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `.github/dottore-review/README.md` (+11 -4) 📝 `.github/dottore-review/dottore_review.py` (+14 -9) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue Closes #8224 ## Why this change - On a large PR split into several packets, a finder that started late got only the time left before its deadline as its silence allowance. On Marinara-Agents PR 1606 that was 193 s. - At high effort the model thinks silently for its first few minutes, so the stream watchdog stopped the finder. That failure is not retried, and it failed the whole review as "Specimen Unexamined" while the job stayed green. ## What changed - `chat()` in `.github/dottore-review/dottore_review.py`: a call offered only its submit tool now gets the role's whole `minutes` box as its silence allowance, however late it starts. For the finder that is 600 s. - A submit-only role without a box keeps its previous allowance: the time left before its deadline, with a 180 s floor. In practice that role is a checker whose `reads` is set to `0`. A checker that has reads is still offered its read tools when it is forced to submit, so it keeps the 180/360 s timeouts and the 900 s stream limit as before. - The constants comment now says a reply stopped for silence is not resent. It previously said such a call was retried. - The Dottore README matches the code, including what the checker's allowance actually is. It also gains a short note on how model effort shapes a large PR's 30 minutes. ## 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` ### Manual verification notes This PR changes only the Python reviewer and its README, so the app checks above were not run. - `python3 -m py_compile .github/dottore-review/dottore_review.py` passes. - `ruff check --select E9,F .github/dottore-review/dottore_review.py` passes. - Throwaway scripts, not committed, loaded the module and called the real `chat()` with a stubbed model reply, a fixed clock and the real `ROLE_DEFAULTS`. Results as read timeout / stream limit: | Call | Result | | --- | --- | | Finder, submit tool only, starting with 100 s left | 600/600 | | Finder, submit tool only, starting with 5000 s left | 600/600 | | Checker, submit tool only, 300 s left | 300/300 | | Checker, submit tool only, cold first turn, 60 s left | 180/180 (the floor) | | Checker with reads, forced to submit after spending them | 360/900 | | Checker with reads, cold first turn | 180/900 | | Scout with read tools | 180/900 | - `watched()` still resets on stream progress and still stops a silent reply. - Not yet verified on a live review. After merge, run `/dottore` on a multi-packet PR such as Marinara-Agents PR 1606. Every finder's `Dottore call:` line should show `elapsed_s` up to about 600, with no `TimeoutError ... limit 1xxs` and a verdict other than "Specimen Unexamined". ## Docs and release impact - [ ] No docs changes needed - [x] 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 README changed is `.github/dottore-review/README.md`, which is outside `docs/`, so no translation follow-up applies. Marinara-Agents needs a one-line pin bump of its Dottore wrapper once this merges into `staging`. ## UI evidence (if applicable) Not applicable. No UI changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01SoDJG7dPshuWeNecygHYRx --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-25 04:04:37 +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#8195
No description provided.