Thanks, Zhiwei, Jast, Doyeon and Goutam, for the feedback. Following
my earlier revision, the proposal is now limited to advisory risk
triage. The ai-merge label and automated merging are withdrawn. Review
and merge decisions remain with committers under the existing project
process.

Based on the discussion, I suggest the following adjustments:

1. Assess the change without adding risk points simply because the
contributor is new. New-contributor information can help us offer
support, but should not increase the technical risk score.

2. Treat changes to CI behavior, workflow permissions and credential
handling as critical-risk changes requiring careful review. A
documentation change that mentions CI should not automatically receive
the same classification.

3. Keep the output lightweight: risk labels with the reasoning in the
job summary, rather than routine bot comments on every PR. We can
revisit notifications, including Slack, if the evaluation shows a
concrete need.

4. Keep five levels provisionally for manual evaluation. The
historical analysis did not clearly distinguish levels 1–4 by review
effort, so those distinctions should not be treated as validated. If
adjacent levels do not help reviewers, we can simplify them to three
before rollout.

Address the ASF workflow policy before enabling automation. Goutam,
thanks for pointing this out. My earlier statement that an API-only
implementation was safe under pull_request_target was too broad. The
policy says that trigger will be disabled from November 2026. Any
automated version needs a compliant design, such as pull_request plus
workflow_run, with minimal permissions and careful handling of
untrusted PR data. PR-controlled code must not run with write
credentials. I suggest discussing migration of the existing
add-label.yml and notify_test_workflow.yml separately to keep this
proposal focused.

Jast, the hardcoded approver configuration and merge-gate logic were
removed in my earlier revision. The separate question about
collaborator permissions in .asf.yaml remains a PMC matter. Please
clarify if that was the concern you intended to raise.

For the next step, I suggest a small manual evaluation on
representative open PRs, with no workflow enabled. We can share the
classifications, reasoning and disagreements here to identify missed
risks, unnecessary escalation and whether the labels actually help
reviewers. Workflow activation would remain a separate decision after
that evaluation and the outstanding implementation review findings are
addressed.

Does this capture the concerns raised so far? Examples of PRs that the
current rules would misclassify would be particularly helpful.


Best Regards,
David

Reply via email to