feat: make AI review verdicts advisory

Removes the separate review check and relies on review labels/comments instead
Marks workflow/tooling failures with review:automation-failed
Updates review guidance to reflect the advisory verdict model
This commit is contained in:
Bohdan Triapitsyn
2026-07-22 10:33:25 +03:00
parent a62731bd6e
commit 733bd37c37
3 changed files with 25 additions and 121 deletions
+4 -4
View File
@@ -219,10 +219,10 @@ the previous readiness label before it starts, and only `review:ready` means
the pull request is ready to enter the maintainer review queue. Draft pull
requests have no readiness label.
The workflow publishes a separate `review` check on the exact reviewed HEAD;
only `review:ready` passes it. The `automation` job reports workflow execution
independently so a manual `/oc-review` result can update readiness without
being attached to the default-branch commit that triggered the command.
AI review verdicts are advisory and never fail the pull request check. Readiness
is communicated only through the `review:*` label and immutable review comment.
The `automation` job fails only when the workflow itself cannot complete or
verify a trustworthy result, in which case it applies `review:automation-failed`.
Each completed review creates a new comment tied to its reviewed HEAD so the
conversation remains chronological. Previous review comments are not rewritten.