Skip to content

Run the review auto-merge gate in shadow mode (Stage 4 calibration) - #148

Merged
mmcky merged 1 commit into
mainfrom
chore/auto-merge-shadow
Aug 4, 2026
Merged

Run the review auto-merge gate in shadow mode (Stage 4 calibration)#148
mmcky merged 1 commit into
mainfrom
chore/auto-merge-shadow

Conversation

@mmcky

@mmcky mmcky commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

One-line workflow change: review mode now passes auto-merge-mode: shadow to action-translation.

Nothing observable changes for this repo. Shadow computes the would-auto-merge decision on every review and records it in three places — the translation-review-verdict block (wouldAutoMerge: true|false), a workflow notice in the run log, and a would-auto-merge action output — and acts on none of them. No PR is merged by machine, no label or routing changes; sync PRs keep going to editors exactly as today.

Why: Stage 4 of the human-review optimisation program (QuantEcon/project-translation#15) needs ≥4 weeks of recorded decisions on real sync traffic to measure the gate's base rate (how often it would fire) and precision (whether it would have been right) before the per-criterion floors are set — the floors shipped in verdict v2 are provisional placeholders, and shadow data is what replaces them. Merging this PR starts this edition's calibration window.

Safety: the mechanism shipped in v0.22.0 default-off, is fail-closed throughout (a malformed verdict gates to editor, never to merge), and was field-validated on the test harness at v0.25.0 on 2026-08-04 — the deployed-path run recorded wouldAutoMerge: true and took no action (validation record on QuantEcon/project-translation#15). active is deliberately unimplemented and fails loudly. Reverting is deleting one input line.

🤖 Generated with Claude Code

Records the would-auto-merge decision (verdict block, run notice, action
output) without acting on it. Part of Stage 4 of the human-review
optimisation program, QuantEcon/project-translation#15; merging starts
this edition's calibration window.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 4, 2026 09:47
@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploy Preview for majestic-griffin-10b166 ready!

Name Link
🔨 Latest commit 914baa4
🔍 Latest deploy log https://app.netlify.com/projects/majestic-griffin-10b166/deploys/6a71b527884f190008bce40c
😎 Deploy Preview https://deploy-preview-148--majestic-griffin-10b166.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR switches the translations review workflow into the action’s auto-merge “shadow” mode, so the action computes and records the would-auto-merge decision during reviews without taking any automated merge or routing actions.

Changes:

  • Passes auto-merge-mode: shadow to QuantEcon/action-translation in review mode.
  • Documents (in-line) that shadow mode only records the decision (verdict block / run notice / output) and does not act on it.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mmcky
mmcky merged commit 325cf41 into main Aug 4, 2026
7 checks passed
@mmcky
mmcky deleted the chore/auto-merge-shadow branch August 4, 2026 09:51
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

@github-actions
github-actions Bot temporarily deployed to pull request August 4, 2026 09:52 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants