ADR-0006: enforcement is zone-scoped; defer the policy.enabled flip
flex-auth enforced its ops-warden pin (FLEX-WP-0016 T03) and the gate verified clean against it: readiness exits 0, decision:f3f7c88f9585582a, anonymous /v1/check now 401. Everything needed to set policy.enabled: true was in place. It stays false, by decision. policy.enabled is a single repo-wide boolean, and with fail_closed: true it makes flex-auth a hard dependency of every warden sign — including the certs the ops-bridge tunnels depend on, one of which carries the policy call itself. Uniform enforcement across an estate being actively rebuilt hardens the access needed to perform the rebuild. The repo already refuses one-dimensional posture: WP-0015 shipped environment and maturity axes, WP-0029 added organization_posture. A global flag ignores all three. ADR-0006 records that enforcement belongs to a zone, and binds future work — a zone-blind enforcement flag is out of order, not merely unwise. WARDEN-WP-0032 drafts the zone model, leading with the ownership question: whether this is ops-warden's to own or NetKingdom canon to consume (ADR-0005). WP-0031 is finished with T05 cancelled and resuming as WP-0032-T05. Also replaces the hand-run kubectl port-forward with a managed ops-bridge tunnel, flex-auth-ops-warden-railiance01 (-L 19090:10.43.1.165:8080). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
661176e37a
commit
cbf6828061
7 changed files with 273 additions and 9 deletions
|
|
@ -4,7 +4,7 @@ type: workplan
|
|||
title: "Calling-side identity for flex-auth, so policy.enabled can flip"
|
||||
domain: infotech
|
||||
repo: ops-warden
|
||||
status: active
|
||||
status: finished
|
||||
owner: ops-warden
|
||||
topic_slug: netkingdom
|
||||
planning_priority: P1
|
||||
|
|
@ -139,7 +139,7 @@ Evidence: `history/2026-08-19-flex-auth-caller-identity-evidence.md`.
|
|||
|
||||
```task
|
||||
id: WARDEN-WP-0031-T05
|
||||
status: wait
|
||||
status: cancel
|
||||
priority: high
|
||||
state_hub_task_id: "8b8e68c4-587d-490d-a98f-840aaff0fdb8"
|
||||
```
|
||||
|
|
@ -150,6 +150,21 @@ re-run the gate against the enforcing pin, and only then set
|
|||
`policy.enabled: true` with `fail_closed: true`. Flipping before enforce buys
|
||||
nothing; flipping before T04 401s every `warden sign`.
|
||||
|
||||
Asked flex-auth 2026-08-19 with the T04 evidence. Waiting on their enforce.
|
||||
The closing `warden sign` also needs a scoped `VAULT_TOKEN` via
|
||||
`ops-warden-warden-sign-token` (operator authenticates to OpenBao).
|
||||
**Deferred 2026-08-19 under `ADR-0006`** — not blocked, decided against for now.
|
||||
|
||||
flex-auth did enforce (FLEX-WP-0016 T03, Helm rev 2): the pin runs
|
||||
`--caller-auth-mode enforce`, the gate exits 0 against it
|
||||
(`HTTP 200, effect=allow, decision:f3f7c88f9585582a`), and an anonymous
|
||||
`/v1/check` is 401. Everything needed to flip was in place.
|
||||
|
||||
It was not flipped. `policy.enabled` is a single repo-wide boolean, and with
|
||||
`fail_closed: true` it makes flex-auth a hard dependency of every `warden sign`
|
||||
— including the certs the ops-bridge tunnels depend on, one of which carries
|
||||
the policy call itself. Uniform enforcement across an estate being actively
|
||||
rebuilt would harden the access needed to perform the rebuild. Enforcement
|
||||
belongs to a zone, not to the repo; that is `ADR-0006`, and the model is
|
||||
`WARDEN-WP-0032`. This task resumes as WARDEN-WP-0032-T05.
|
||||
|
||||
Also shipped while proving the flip: the gate URL is now a managed ops-bridge
|
||||
tunnel `flex-auth-ops-warden-railiance01` (`-L 19090:10.43.1.165:8080`) instead
|
||||
of a hand-run `kubectl port-forward`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue