[PR #1627] [MERGED] fix(ci): activate incremental Dottore reviews on main #1632

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

📋 Pull Request Information

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

Base: main ← Head: hotfix/dottore-default-dispatch-8197


📝 Commits (2)

  • 4901d39 fix(ci): activate incremental review dispatch on main
  • 85aeec5 test(ci): pin branch policy event bindings

📊 Changes

4 files changed (+93 additions, -13 deletions)

View changed files

📝 .github/workflows/dottore-review-auto.yml (+19 -8)
📝 .github/workflows/dottore-review.yml (+1 -1)
📝 .github/workflows/pull-request-triage.yml (+11 -4)
📝 scripts/validate-pr-triage.mjs (+62 -0)

📄 Description

Pull request

Linked issue

Tracks Engine #8197 and Closes #1624. The staging implementation is already merged; this PR activates the trusted default-branch workflows. Mari explicitly approved both workflow-only main backports.

Why this change

GitHub now executes pull_request_target workflows from the default branch, even for PRs targeting staging. The old main dispatcher still forces a full review on every ready transition, so the staging fix alone cannot stop repeated full examinations. GitHub's trust-source change explains the dependency.

This main-only backport preserves completed review checkpoints, ignores title/description edits, and keeps incomplete or incompatible checkpoints on a safe full-review fallback. The wrapper pins the actual reviewed Engine-main merge e5ead06, whose executable runtime differs from the old main pin only by the two trusted base-ref producer lines.

What changed

  • Backport the exact reviewed dispatcher bytes from staging.
  • Pin the shared reviewer to the actual Engine-main backport merge, including its trusted checkpoint base identity.
  • Match Engine's existing rule allowing only SpicyMarinara to open a same-repository hotfix/* PR into main; ordinary contributions still target staging.
  • Extend the existing triage validator with 12 real Bash cases for owner, member, outsider, fork, branch-prefix, and target boundaries.

The previous trusted Agents-main branch policy accepted only staging promotion. Mari explicitly approved the one-time removal of that single required Branch policy context for this exact workflow-only backport. The other four required checks and current-head Dottore examination passed before the normal SHA-locked merge. The exact original five requirements and all other protection settings were then restored and independently verified. The newly merged trusted policy permits owner-only same-repository hotfixes for future PRs.

Package and security impact

  • Affected package IDs: none; no package, catalog, artifact, prompt, release, or app source changes.
  • Engine compatibility impact: the exact actual Engine-main merge is pinned; no broad staging runtime upgrade.
  • New or changed permissions/entrypoints: workflow token permissions are unchanged. Only the owner-authored same-repository hotfix branch is added to the target-policy allowlist.
  • Restart, storage, update, or uninstall impact: none.

Validation

Public source and validation proof records the final source hashes, raw logs, pin audit, and environment boundaries. The baseline uses all actual main source and immutable historical artifacts; six installed development dependency minor versions differ from the main lock, so this is not a frozen npm ci claim. Hosted locked CI remains a separate required gate. The package baseline has 811 existing lint warnings and zero errors. Exact cached Prettier 3.9.10 separately checks all four changed files.

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

The four canonical catalog/lane/locale/release-note checks passed against the actual main source. Historical ZIPs were verified against main Git blobs and copied with private inodes before read-only catalog validation. Final focused proof executes 26 actual dispatcher Bash cases, 17 real resolver cases, and 12 policy cases. The initial four-file local CodeRabbit reported zero findings; the prior missing-producer-pin findings are resolved by the actual e5ead pin. The first hosted review at 4901d396 then identified one LOW regression-coverage gap. It is fixed in 85aeec5839e5c3f03fffdc73ceb6d812aff72bcb by asserting the exact event-to-environment bindings and consumed policy inputs before the Windows guard. The runtime policy and production bindings are unchanged. Sixteen temporary mutation cases, focused validator/ESLint/Prettier checks, and validator-only local CodeRabbit (zero findings) passed. Original4901 baseline artifacts remain historical; the same public proof packet includes a separately named current85aeec58 source receipt and full patch. The normal follow-up hosted review completed as run40026318120: Viable With Notes, zero defects and two notes, incrementally from4901d396. The fixed finding was explicitly verifiedPASS and its thread resolved. No finding was dismissed.

Manually verify the first legitimate post-merge review event uses the new default dispatcher. Existing pre-marker checkpoints can need one full transition review. This PR's first hosted examination still uses the old trusted main wrapper until this PR merges; it cannot demonstrate execution of the candidate pin. No extra paid review is requested for verification.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

No UI changes.

Actual main delivery

Merged normally as f9a05f761b8019c95078f956d1de8889b6021e98 (parents actual main0d97 plus reviewed85aeec). All four reviewed files and the Enginee5ead pin match the published source exactly. Actual merge, canonical incremental review, local proof, and protection-restoration receipts. This completion edit is also a legitimate opportunity to observe the newly trusted metadata-skip and owner-hotfix policy; any resulting run is separate from the pre-merge gates and is not a request for another model examination.


🔄 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/1627 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/23/2026 **Status:** ✅ Merged **Merged:** 10/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `hotfix/dottore-default-dispatch-8197` --- ### 📝 Commits (2) - [`4901d39`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4901d39674c09da6be7dda5fc15206aaaae984d5) fix(ci): activate incremental review dispatch on main - [`85aeec5`](https://github.com/Pasta-Devs/Marinara-Agents/commit/85aeec5839e5c3f03fffdc73ceb6d812aff72bcb) test(ci): pin branch policy event bindings ### 📊 Changes **4 files changed** (+93 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/dottore-review-auto.yml` (+19 -8) 📝 `.github/workflows/dottore-review.yml` (+1 -1) 📝 `.github/workflows/pull-request-triage.yml` (+11 -4) 📝 `scripts/validate-pr-triage.mjs` (+62 -0) </details> ### 📄 Description # Pull request ## Linked issue Tracks [Engine #8197](https://github.com/Pasta-Devs/Marinara-Engine/issues/8197) and Closes #1624. The staging implementation is already merged; this PR activates the trusted default-branch workflows. Mari explicitly approved both workflow-only main backports. ## Why this change GitHub now executes `pull_request_target` workflows from the default branch, even for PRs targeting staging. The old main dispatcher still forces a full review on every ready transition, so the staging fix alone cannot stop repeated full examinations. [GitHub's trust-source change](https://github.blog/changelog/2025-11-07-actions-pull_request_target-and-environment-branch-protections-changes/) explains the dependency. This main-only backport preserves completed review checkpoints, ignores title/description edits, and keeps incomplete or incompatible checkpoints on a safe full-review fallback. The wrapper pins the actual reviewed Engine-main merge [e5ead06](https://github.com/Pasta-Devs/Marinara-Engine/commit/e5ead06ac2fe1cb3e039f8cab7e4d266b01dac44), whose executable runtime differs from the old main pin only by the two trusted base-ref producer lines. ## What changed - Backport the exact reviewed dispatcher bytes from staging. - Pin the shared reviewer to the actual Engine-main backport merge, including its trusted checkpoint base identity. - Match Engine's existing rule allowing only `SpicyMarinara` to open a same-repository `hotfix/*` PR into main; ordinary contributions still target staging. - Extend the existing triage validator with 12 real Bash cases for owner, member, outsider, fork, branch-prefix, and target boundaries. The previous trusted Agents-main branch policy accepted only staging promotion. Mari explicitly approved the one-time removal of that single required Branch policy context for this exact workflow-only backport. The other four required checks and current-head Dottore examination passed before the normal SHA-locked merge. The exact original five requirements and all other protection settings were then restored and independently verified. The newly merged trusted policy permits owner-only same-repository hotfixes for future PRs. ## Package and security impact - Affected package IDs: none; no package, catalog, artifact, prompt, release, or app source changes. - Engine compatibility impact: the exact actual Engine-main merge is pinned; no broad staging runtime upgrade. - New or changed permissions/entrypoints: workflow token permissions are unchanged. Only the owner-authored same-repository hotfix branch is added to the target-policy allowlist. - Restart, storage, update, or uninstall impact: none. ## Validation [Public source and validation proof](https://gist.github.com/SpicyMarinara/3f1a22791900ed6aaf306bca14c37e32) records the final source hashes, raw logs, pin audit, and environment boundaries. The baseline uses all actual main source and immutable historical artifacts; six installed development dependency minor versions differ from the main lock, so this is not a frozen `npm ci` claim. Hosted locked CI remains a separate required gate. The package baseline has 811 existing lint warnings and zero errors. Exact cached Prettier 3.9.10 separately checks all four changed files. - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes The four canonical catalog/lane/locale/release-note checks passed against the actual main source. Historical ZIPs were verified against main Git blobs and copied with private inodes before read-only catalog validation. Final focused proof executes 26 actual dispatcher Bash cases, 17 real resolver cases, and 12 policy cases. The initial four-file local CodeRabbit reported zero findings; the prior missing-producer-pin findings are resolved by the actual e5ead pin. The first hosted review at `4901d396` then identified one LOW regression-coverage gap. It is fixed in `85aeec5839e5c3f03fffdc73ceb6d812aff72bcb` by asserting the exact event-to-environment bindings and consumed policy inputs before the Windows guard. The runtime policy and production bindings are unchanged. Sixteen temporary mutation cases, focused validator/ESLint/Prettier checks, and validator-only local CodeRabbit (zero findings) passed. Original4901 baseline artifacts remain historical; the same public proof packet includes a separately named current85aeec58 source receipt and full patch. The normal follow-up hosted review completed as run40026318120: Viable With Notes, zero defects and two notes, incrementally from4901d396. The fixed finding was explicitly verifiedPASS and its thread resolved. No finding was dismissed. Manually verify the first legitimate post-merge review event uses the new default dispatcher. Existing pre-marker checkpoints can need one full transition review. This PR's first hosted examination still uses the old trusted main wrapper until this PR merges; it cannot demonstrate execution of the candidate pin. No extra paid review is requested for verification. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) No UI changes. ### Actual main delivery Merged normally as `f9a05f761b8019c95078f956d1de8889b6021e98` (parents actual main0d97 plus reviewed85aeec). All four reviewed files and the Enginee5ead pin match the published source exactly. [Actual merge, canonical incremental review, local proof, and protection-restoration receipts](https://gist.github.com/SpicyMarinara/3f1a22791900ed6aaf306bca14c37e32). This completion edit is also a legitimate opportunity to observe the newly trusted metadata-skip and owner-hotfix policy; any resulting run is separate from the pre-merge gates and is not a request for another model examination. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-25 04:02:18 +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#1632
No description provided.