Draft: chore(review): make gitlab-bot a code owner of agent-approvable paths

What

After this merges, a GitLab Duo Code Review approval counts as a code-owner approval on agent-approvable paths, through the triage-ops MR Bot. CODEOWNERS lists @gitlab-bot and the maintainers as owners of those paths instead of excluding them. The two CI versions files stay excluded, so the independent-approval job keeps checking them. The set of agent-approvable paths does not change. .gitlab/review-policy.md describes the bot's role and the gate job. The Delivery-block parser in scripts/verify-agent-docs.sh and .ai/delivery-breakages.md now stops at the end of that block, because the owned globs below it are not Delivery paths.

This MR stays a draft until gitlab-org/quality/triage-ops!4534 (closed) merges. Before then, the bot does not know this project, so these paths would need a human maintainer.

Why

GitLab is piloting single-human review. A human writes the MR, Duo Code Review approves it, the triage-ops MR Bot turns that approval into a code-owner approval, and a human with merge rights merges. The pilot started in gitlab-org/cli and is looking for more projects.

IAM already runs an author-merge pilot with CODEOWNERS exclusions and the review-gate job. Joining the pilot makes GitLab's approval rules the enforcement. The bot's public comment on each MR becomes the audit trail. The gate job now passes on the code-owner rule for every MR except one that touches only the two versions files.

Follow-up in review-gate-policy: run the versions-file check regardless of code-owner rules. An MR that touches a versions file and a bot-owned path now passes the gate on the code-owner rule, so the content check does not run for it.

Merge request reports

Loading
Loading