Skip to content

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

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)#28
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

Copilot AI left a comment

Copy link
Copy Markdown

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 enables “shadow mode” for the review auto-merge gate by passing auto-merge-mode: shadow to QuantEcon/action-translation in the review workflow, so the workflow records would-auto-merge decisions without changing routing, labeling, or merge behavior in this repository.

Changes:

  • Add auto-merge-mode: shadow to the review workflow’s QuantEcon/action-translation step.
  • Document the purpose and non-effect of shadow mode in inline workflow comments.

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

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

📖 Netlify Preview Ready!

Preview URL: https://pr-28--verdant-toffee-3261a8.netlify.app

Commit: d1a897c


Build Info

@mmcky
mmcky merged commit 6893086 into main Aug 4, 2026
3 checks passed
@mmcky
mmcky deleted the chore/auto-merge-shadow branch August 4, 2026 09:51
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