feat(auth): retire authorization posture from composition (S34 Step 5, part 1/3)

Split into 3 stacked MRs to keep each within the review size limit (≈800 ideal). Part 1 targets main; each subsequent part targets the previous part. Review and merge bottom-up.

Part 1 of 3 of S34 (development-mode) — Step 5: retire the stub and the authorization block.

Moves validator selection into a bootDeps.newValidator seam owned by the composition root. The enforcing arm now calls tokenexchange.New directly and fails closed with errPostureUnconfigured when neither development_mode nor a full auth.token_exchange + iam pair is configured — replacing the old bootstrap-stub fallback. checkAuthzBootPosture, authzWiringFrom, and managementVerdictWiringFrom all key on development_mode alone now.

This part is behavior-neutral with respect to the config schema: it stops reading cfg.Authorization/cfg.Auth.BootstrapToken, which part 2 then deletes.

Plan: https://gitlab.com/gitlab-org/ops/artifact-registry/-/blob/main/docs/plans/2026-09-18-s34-development-mode.md Spec: https://gitlab.com/gitlab-org/ops/artifact-registry/-/blob/main/docs/specs/S34-development-mode.md

Related to #692 (closed)

Stacked MRs (review/merge bottom-up)

Edited by David Fernandez

Merge request reports

Loading
Loading