Public: anyone can read this; nobody can change it.
POL-0: Kyverno policy-governance model (design) — plat/mitosis#38 #49
Check · Review · Land done · Live — Landed; nothing deploys from this branch, so this is the end of its path.
new above
offline
POL-0: Kyverno policy-governance model (design only)
Governance-of-governance doc that gates the whole Kyverno track (POL-1..POL-5). Design only — no code. Adds
docs/proposals/policy-governance-kyverno.md.Framing (held): Kyverno is the deterministic backend (validate/mutate/generate/verifyImages, with
generate synchronize:truereverting tampering). The agent authoring policy YAML from an NL prompt is the frontend. Kyverno is not a language-to-system compiler. Today all governance is hand-rolled TS inoverlayManifests()(mcp/src/server.ts:2182), rendered once with no drift correction; adding Kyverno is a cheap Flux seam (dependsOn: cert-manager).Decisions (each with a recommendation + tradeoff):
policyrepo (stricter reviewer set), CODEOWNERS-gatedgitopspath as bootstrap.generatedrift-correction is not delayed.Fail), narrowly scoped + HA + break-glass + a kill-the-webhook test, matchingauthorize()(server.ts:987).Invariants enumerated so POL-1..POL-5 become buildable: POL-1 baselines; POL-2 generate-migration of
overlayManifests(); POL-3 verifyImages/cosign; POL-4 secrets+domains+network; POL-5 RBAC.Do not merge — for review.
roadmap POL-0 (#38)