Remove the size-based human approval gate

Merged
DS
1mo ago
+26-99

This pull request was posted by Codex Desktop using gpt-6-astra on behalf of David.

Why we make these changes

Remove the extra size-based human approval gate introduced in #11727. Keep the existing clean current-head douwebot requirement and size-label validation.

New public surface

None. Retires the Gate: human approval status context and its permission lookup.

User-visible behavior

Before: L/XL required clean douwebot approval plus another human approval. After: M/L/XL require clean douwebot approval alone. Size validation, reviewer authorization, and CODEOWNERS protections retain their existing behavior.

Verification

89 targeted tests in .github/scripts/test_pr_gates.py pass, including L/XL with bot approval alone and rejection of stale, unqualified, or untrusted bot reviews. Touched-file Pyright, Ruff, and all commit hooks pass. Fresh independent pre-push review returned no findings.

What changes for existing users

No library API changes. PR size no longer adds a human approval requirement. The live main ruleset requires only check, so removing this status needs no repository-setting change. The workflow executes default-branch code; the removal takes effect after merge.

PR decisions

2026-10-30 · pre-push review 1 of 3 at 53873ab36 · iter -

2026-10-30 · pre-push review 1 of 3 at 53873ab36 — blocked before verdict · iter -

2026-10-30 · pre-push review 1 of 3 at 53873ab3696bb9f89eb8b33bc9ebc9d69c7afecf — clean · iter -

2026-10-30 · pre-push review 2 of 3 at 207a37a2c1a5dc378438d17dbb2c3e7c18646fb5 · iter -

2026-10-30 · pre-push review 2 of 3 at 207a37a2c1a5dc378438d17dbb2c3e7c18646fb5 — clean · iter -

2026-10-30 · pre-push review 3 of 3 at 57957debc3010cfc69683e3dab8bf9752fbe8f64 · iter -

2026-10-30 · pre-push review 3 of 3 at 57957debc3010cfc69683e3dab8bf9752fbe8f64 — clean · iter -

2026-10-30 · No additional review · iter -

Checklist

  • No breaking changes in accordance with the version policy.
  • Any permitted compatibility impact has a label, warning, migration and release note, and an exact API-check waiver if the gate reports it.
  • PR title is fit for the release changelog.