[PR #1623] [MERGED] fix(ci): preserve incremental Dottore reviews when marking PRs ready #1940

Closed
opened 2026-11-07 16:38:08 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1623
Author: @SpicyMarinara
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/dottore-incremental-ready-8197


📝 Commits (3)

  • 933d171 fix(ci): preserve incremental Dottore reviews on ready transitions
  • 7e67ea0 fix(ci): bind Dottore checkpoints to the reviewed target base
  • 9e70a8b Merge branch 'staging' into fix/dottore-incremental-ready-8197

📊 Changes

2 files changed (+17 additions, -8 deletions)

View changed files

📝 .github/workflows/dottore-review-auto.yml (+16 -7)
📝 .github/workflows/dottore-review.yml (+1 -1)

📄 Description

Linked issue

Closes #1624.

Refs Pasta-Devs/Marinara-Engine#8197 and companion Pasta-Devs/Marinara-Engine#8200, merged into Engine staging as e3b2a2344fdd775dd0d4acc4d2fda9dfb67c9af1. The cross-repository tracker stays open until this companion also lands.

Why this change

Marking a previously reviewed PR ready again forces another full Dottore examination and ignores its saved checkpoint. Follow-up reviews should inspect the changed code and unfinished candidates. A checkpoint must also belong to the current target base, including when a PR was retargeted while draft.

What changed

  • Route ready transitions through auto/checkpoint selection, as for later pushes. First reviews, invalid/nonancestor history and target-base changes retain safe full fallback.
  • Mirror the exact merged Engine dispatcher, including its trusted base-ref check. Completed same-head reviews skip; unfinished RIGHT candidates remain eligible. SHA, base and carry state come from the same bot-authored leading header, never model prose.
  • Pin the reusable reviewer to the actual reviewed Engine merge e3b2a2344fdd775dd0d4acc4d2fda9dfb67c9af1 so its producer emits the base-ref marker. Legacy checkpoints without that identity may receive one safe full review; subsequent same-base deltas remain incremental.

Package and security impact

  • Affected package IDs: none; only dispatcher and reusable-workflow pin change.
  • Engine application compatibility, package artifacts/catalogs, permissions, model/effort variables, API keys and runtime budgets are unchanged.
  • The privileged dispatcher does not check out or execute PR code. The wrapper calls an immutable, already-merged Engine revision.
  • The bounded pin audit verifies the reusable workflow, requirements, prompt and rules are byte-identical to the old pin. The reviewed shared reviewer and its README contain the intervening fixes, including the two-line trusted base marker. No package install/restart/storage/uninstall behavior changes.

Validation

Public source and proof packet: all 41 final files were downloaded from their raw URLs and matched local bytes.

  • The old actual Bash step fails the ready-followup control. The valid hosted draft-retarget finding is reproduced and repaired by the same merged Engine patch.
  • The exact Agents dispatcher passes 26 actual Bash cases and 17 real resolver/ancestor cases against the fetched, hash-verified runtime from the actual Engine merge. These include real clean, RIGHT-carry, LEFT-unrecorded and old-base producer headers, plus forged-prose/nonbot controls.
  • Engine's maintained regression accepts the mirrored workflow and pinned runtime as inputs; its canonical three-program suite passed, with the earlier unchanged worker-timing failure and exact passing replays preserved in the packet.
  • Scoped Prettier, Bash/Node/Python syntax and git diff --check pass. POSIX missing jq fails explicitly; the new Engine fixture prints a Windows skip, with no native Windows coverage claim.
  • Final two-file local CodeRabbit follow-up completed with zero findings. The original shared Engine patch had zero findings; its separate platform-policy finding and hosted source-based dispositions remain individually recorded, rather than being called zero.
  • Engine's completed follow-up actually used incremental mode. Its unsupported multiple-walkthrough finding is source-disposed with original/current publisher POST→PATCH→PATCH proof and four live one-comment histories; this is qualified disposition, not a zero-findings claim for that hosted review.

No dependency installation, application/package build, catalog validation, package lifecycle or live provider execution was run for this workflow-only exception. Normal hosted repository checks and an actual viable Dottore verdict for this final Agents head remain merge gates.

Manual verification notes

  • Manually verify the first automatic review is full and a later ready transition uses its saved checkpoint after this fix lands.
  • Manually verify completed same-head reviews skip while unfinished carried candidates remain eligible.

Documentation impact

The shared Dottore guide already describes auto/checkpoint selection and first-review fallback. No package or user-guide edits are required.


🔄 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-Agents/pull/1623 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/23/2026 **Status:** ✅ Merged **Merged:** 10/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/dottore-incremental-ready-8197` --- ### 📝 Commits (3) - [`933d171`](https://github.com/Pasta-Devs/Marinara-Agents/commit/933d171b2ee10c42b8aa9e2b9d4a8f8c0594b8bd) fix(ci): preserve incremental Dottore reviews on ready transitions - [`7e67ea0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7e67ea044d6cff01e8d3ec93098fb2da6dba4164) fix(ci): bind Dottore checkpoints to the reviewed target base - [`9e70a8b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9e70a8b466ffa28ddc8396ffab3b49a2f2bde848) Merge branch 'staging' into fix/dottore-incremental-ready-8197 ### 📊 Changes **2 files changed** (+17 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/dottore-review-auto.yml` (+16 -7) 📝 `.github/workflows/dottore-review.yml` (+1 -1) </details> ### 📄 Description ## Linked issue Closes #1624. Refs Pasta-Devs/Marinara-Engine#8197 and companion Pasta-Devs/Marinara-Engine#8200, merged into Engine staging as `e3b2a2344fdd775dd0d4acc4d2fda9dfb67c9af1`. The cross-repository tracker stays open until this companion also lands. ## Why this change Marking a previously reviewed PR ready again forces another full Dottore examination and ignores its saved checkpoint. Follow-up reviews should inspect the changed code and unfinished candidates. A checkpoint must also belong to the current target base, including when a PR was retargeted while draft. ## What changed - Route ready transitions through auto/checkpoint selection, as for later pushes. First reviews, invalid/nonancestor history and target-base changes retain safe full fallback. - Mirror the exact merged Engine dispatcher, including its trusted base-ref check. Completed same-head reviews skip; unfinished RIGHT candidates remain eligible. SHA, base and carry state come from the same bot-authored leading header, never model prose. - Pin the reusable reviewer to the actual reviewed Engine merge `e3b2a2344fdd775dd0d4acc4d2fda9dfb67c9af1` so its producer emits the base-ref marker. Legacy checkpoints without that identity may receive one safe full review; subsequent same-base deltas remain incremental. ## Package and security impact - Affected package IDs: none; only dispatcher and reusable-workflow pin change. - Engine application compatibility, package artifacts/catalogs, permissions, model/effort variables, API keys and runtime budgets are unchanged. - The privileged dispatcher does not check out or execute PR code. The wrapper calls an immutable, already-merged Engine revision. - The bounded pin audit verifies the reusable workflow, requirements, prompt and rules are byte-identical to the old pin. The reviewed shared reviewer and its README contain the intervening fixes, including the two-line trusted base marker. No package install/restart/storage/uninstall behavior changes. ## Validation [Public source and proof packet](https://gist.github.com/SpicyMarinara/85ab77850a5af2698a5d69ac74d9ea50): all 41 final files were downloaded from their raw URLs and matched local bytes. - The old actual Bash step fails the ready-followup control. The valid hosted draft-retarget finding is reproduced and repaired by the same merged Engine patch. - The exact Agents dispatcher passes 26 actual Bash cases and 17 real resolver/ancestor cases against the fetched, hash-verified runtime from the actual Engine merge. These include real clean, RIGHT-carry, LEFT-unrecorded and old-base producer headers, plus forged-prose/nonbot controls. - Engine's maintained regression accepts the mirrored workflow and pinned runtime as inputs; its canonical three-program suite passed, with the earlier unchanged worker-timing failure and exact passing replays preserved in the packet. - Scoped Prettier, Bash/Node/Python syntax and `git diff --check` pass. POSIX missing jq fails explicitly; the new Engine fixture prints a Windows skip, with no native Windows coverage claim. - Final two-file local CodeRabbit follow-up completed with zero findings. The original shared Engine patch had zero findings; its separate platform-policy finding and hosted source-based dispositions remain individually recorded, rather than being called zero. - Engine's completed follow-up actually used incremental mode. Its unsupported multiple-walkthrough finding is source-disposed with original/current publisher POST→PATCH→PATCH proof and four live one-comment histories; this is qualified disposition, not a zero-findings claim for that hosted review. No dependency installation, application/package build, catalog validation, package lifecycle or live provider execution was run for this workflow-only exception. Normal hosted repository checks and an actual viable Dottore verdict for this final Agents head remain merge gates. ### Manual verification notes - [ ] Manually verify the first automatic review is full and a later ready transition uses its saved checkpoint after this fix lands. - [ ] Manually verify completed same-head reviews skip while unfinished carried candidates remain eligible. ## Documentation impact The shared Dottore guide already describes auto/checkpoint selection and first-review fallback. No package or user-guide edits are required. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:38:08 +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-Agents#1940
No description provided.