You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@magpie.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/10/10 08:47:07 UTC

[PR] perf(pr-management-quick-merge): run the screen as code, one file per gate and bucket [magpie]

potiuk opened a new pull request, #1580:
URL: https://github.com/apache/magpie/pull/1580

   ## Summary
   
   - The quick-merge screen (gates G1–G7, the triviality footprint with deny-before-allow path globs and tiers A/B, the live merge-readiness buckets, the ranking, the drop-reason summary and the approve protocol) was prose the agent applied to every PR. It now runs in `pr-management quick-merge screen` / `approve-check` over reads saved with `vetted-op-read --save`. The agent presents the result, reads the diffs, and hands the maintainer the merge command, which it never runs.
   - Each gate, bucket, tier and drop reason has its own document under `classifications/`, loaded only when a PR lands in it; the present, approve and hand-off steps are under `actions/`.
   - An optional approval body ends with the triage-style `<sub>` credit line naming the approving maintainer.
   
   ## Security notes
   
   The approve protocol fails closed. It needs the fresh PR, the live merge state and the workflow-approval index (none is optional), re-runs both the Stage-1 gates and the Stage-2 triviality screen on the fresh file list, and refuses when either has regressed. Gate G7 blocks on any change request that still stands: a later push does not dismiss it, only the reviewer can.
   
   ## Type of change
   
   - [x] Skill change — eval fixtures updated below
   - [x] Python package
   
   ## Test plan
   
   - [x] `prek run --all-files` passes
   - [x] `tools/pr-management` pytest / ruff / mypy
   - [x] The model-graded stage-1/2/3 suites (21 cases) are now pytest cases named after each former case
   - [x] New `approve-protocol` eval suite: 5/5 pass
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [x] Yes — Claude Code (Opus 5). I reviewed the diff and the test results; commits carry `Generated-by:`.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_01GTPsZ5aEE5bUVYqp47Dpvv
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] perf(pr-management-quick-merge): run the screen as code, one file per gate and bucket [magpie]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #1580:
URL: https://github.com/apache/magpie/pull/1580


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org