[PR #8065] [MERGED] fix(dottore): allow 64k output for judging roles #8084

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

📋 Pull Request Information

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

Base: staging ← Head: fix/dottore-opus-output-budget


📝 Commits (2)

  • 506db58 chore(dottore): start extra-high output budget fix
  • 0d231de fix(dottore): give judging roles 64k output capacity

📊 Changes

2 files changed (+5 additions, -4 deletions)

View changed files

📝 .github/dottore-review/README.md (+3 -2)
📝 .github/dottore-review/dottore_review.py (+2 -2)

📄 Description

Linked issue

Closes #8064

Unblocks security PR #8055 and issue #8053; follows the progress-timeout fix in #8060.

Why this change

The requested claude-opus-5-5 / xhigh configuration exhausted the finder’s 32,000-token output cap before submitting the security review. The response spent 31,975 tokens thinking out of 32,000 total. The new progress-aware watchdog worked: that reply continued for 783.3 seconds instead of failing at 600 seconds.

Anthropic recommends starting at 64k output tokens at extra-high/max effort, since thinking and the final response share the cap. There is no supported live token-cap override in the runner.

What changed

  • Raise finder and verifier output caps from 32,000 to 64,000, giving the two judging roles room to think and submit at the requested effort. The larger allowance can increase per-call usage and latency when needed.
  • Update the Dottore README table and explain the capacity choice.

Scout allocation stays 16,000. Model, effort, routing, retry behavior, scheduling deadlines, workflow timeouts, and cost-limit behavior are unchanged. No new configuration surface, application UI, dependencies, or release metadata.

Validation

Tested head: 0d231de664499476ffdc2bd5261a7e260ad7663d.

  • pnpm install --frozen-lockfile and pnpm check: passed.
  • node scripts/run-regressions.mjs --filter dottore-stream-progress: 1/1 passed (134ms).
  • A standard-library mocked-request proof loaded the actual role_models() settings and captured claude_reply requests: finder/verifier sent max_tokens: 64000, scout sent 16000; all retained claude-opus-5-5 and xhigh. No live provider request is claimed by this local proof.
  • git diff --check and independent code review: passed, no blocking findings.
  • Local CodeRabbit on both changed files: completed, 0 findings.
  • Final-head Dottore Review: Viable, With Notes, 0 actionable defects and 1 nonblocking cost note. Code-based dispositions of the note and outside-diff observations are recorded; there are no inline threads.
  • Hosted required CI and all other head checks: passed before merge. Merged to staging as 5911b5029271b7e1401531341cb44a3c09ca1520; reviewed head ancestry and exact runner bytes were verified after merge. Post-merge workflows run separately from these PR gates.

The production failure is recorded in run 39763004882. The constant-only change does not add a dedicated regression file.

  • 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
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Manually verify a fresh security review can submit at extra-high effort after this cap reaches its trusted staging runner. This PR’s own hosted reviewer uses the existing trusted cap, so it cannot establish that live result.
  • No application UI or container walkthrough was needed for the two reviewer constants.

Docs and release impact

The Dottore README matches the caps. No user-facing docs/ content or version metadata changed.


🔄 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/8065 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/22/2026 **Status:** ✅ Merged **Merged:** 10/22/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/dottore-opus-output-budget` --- ### 📝 Commits (2) - [`506db58`](https://github.com/Pasta-Devs/Marinara-Engine/commit/506db58b70d62f824fd447e249db55886e0e85f8) chore(dottore): start extra-high output budget fix - [`0d231de`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0d231de664499476ffdc2bd5261a7e260ad7663d) fix(dottore): give judging roles 64k output capacity ### 📊 Changes **2 files changed** (+5 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `.github/dottore-review/README.md` (+3 -2) 📝 `.github/dottore-review/dottore_review.py` (+2 -2) </details> ### 📄 Description ## Linked issue Closes #8064 Unblocks security PR #8055 and issue #8053; follows the progress-timeout fix in #8060. ## Why this change The requested `claude-opus-5-5` / `xhigh` configuration exhausted the finder’s 32,000-token output cap before submitting the security review. The response spent 31,975 tokens thinking out of 32,000 total. The new progress-aware watchdog worked: that reply continued for 783.3 seconds instead of failing at 600 seconds. [Anthropic recommends starting at 64k output tokens at extra-high/max effort](https://platform.claude.com/docs/en/models/opus-5-5/migration-guide), since thinking and the final response share the cap. There is no supported live token-cap override in the runner. ## What changed - Raise finder and verifier output caps from 32,000 to 64,000, giving the two judging roles room to think and submit at the requested effort. The larger allowance can increase per-call usage and latency when needed. - Update the Dottore README table and explain the capacity choice. Scout allocation stays 16,000. Model, effort, routing, retry behavior, scheduling deadlines, workflow timeouts, and cost-limit behavior are unchanged. No new configuration surface, application UI, dependencies, or release metadata. ## Validation Tested head: `0d231de664499476ffdc2bd5261a7e260ad7663d`. - `pnpm install --frozen-lockfile` and `pnpm check`: passed. - `node scripts/run-regressions.mjs --filter dottore-stream-progress`: 1/1 passed (134ms). - A standard-library mocked-request proof loaded the actual `role_models()` settings and captured `claude_reply` requests: finder/verifier sent `max_tokens: 64000`, scout sent `16000`; all retained `claude-opus-5-5` and `xhigh`. No live provider request is claimed by this local proof. - `git diff --check` and independent code review: passed, no blocking findings. - Local CodeRabbit on both changed files: completed, 0 findings. - Final-head Dottore Review: **Viable, With Notes**, 0 actionable defects and 1 nonblocking cost note. [Code-based dispositions of the note and outside-diff observations](https://github.com/Pasta-Devs/Marinara-Engine/pull/8065#issuecomment-6339081928) are recorded; there are no inline threads. - Hosted required CI and all other head checks: passed before merge. Merged to `staging` as `5911b5029271b7e1401531341cb44a3c09ca1520`; reviewed head ancestry and exact runner bytes were verified after merge. Post-merge workflows run separately from these PR gates. The production failure is recorded in [run 39763004882](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/39763004882). The constant-only change does not add a dedicated regression file. - [ ] `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 - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Manually verify a fresh security review can submit at extra-high effort after this cap reaches its trusted staging runner. This PR’s own hosted reviewer uses the existing trusted cap, so it cannot establish that live result. - No application UI or container walkthrough was needed for the two reviewer constants. ## Docs and release impact The Dottore README matches the caps. No user-facing `docs/` content or version metadata changed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:10:15 +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#8084
No description provided.