docs(oidc): accept Run 105 full 48-case synthetic contract and record production boundaries

This commit is contained in:
victorsteele428 committed 2026-11-23 16:39:07 +00:00
1 parent daaa8b259a
commit c5c17f3a89
2 files changed
+94 -1

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
# P05-OIDC-08-A04 — Full Synthetic Contract Acceptance
**Acceptance:** [Gitea Run #105](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/105) / Job #221 `COMPLETED / SUCCESS`, tested source `daaa8b259a519ae0290ba28936ef2279b3a9172c`. Exactly one approved manual dry-run; no repeat. Toolchain, checkout, synthetic Compose configuration+Python checks, and `always()` manual-only workflow safety all SUCCESS.
## Exact normalized service-grant root cause
Run #104 failed `SERVICE_SECRET_REFS` because the validator expected service grant dictionary `target == source`. Docker Compose normalized **seven** authorized grants into dictionaries whose `target` was the safe canonical **`/run/secrets/<source>`** mount path. Run #105 prints only the safe classes `OBJECT`, `SOURCE_EXPECTED`, `TARGET_CANONICAL_MOUNT` for each entry, never raw grant strings/secret contents.
The validator accepts only exact six symbolic external secret references, authorized per-service grants, proper canonical targets (or unchanged target names where applicable), default root ownership/read-only mode and strict no-duplicate/no-extra/no-unrecognized-metadata policy. The source's original `synthetic.invalid` images, zero replicas, empty default `resources`/`placement` and internal network are unchanged.
## Final CI acceptance ledger
| Gate | Result |
| --- | --- |
| Compose `config --quiet`, source fixture integrity/five zero replicas | **PASS** |
| Canonical secret grants, per-service permissions/expected set | **PASS** |
| HTTPS issuer and exact Account callback (static policy) | **PASS** |
| Login/Console/API h2c routing contract (static policy) | **PASS** |
| Host and forwarded-header trust/TLS policy | **PASS** |
| No public ports, Docker socket, privileged or executable override | **PASS** |
| Original 25 security negative cases | **25/25 PASS** |
| Runtime override negative cases | **4/4 PASS** |
| Replica negative cases | **3/3 PASS** |
| Extra deploy negative cases | **8/8 PASS** |
| Secret-grant negative cases | **8/8 PASS** |
| Inert normalized/default deploy and canonical mount positive fixtures | **PASS** |
| Final synthetic static security contract | **PASS** |
| Manual-only workflow safety | **PASS** |
| Runner task container, two volumes and network cleanup | **PASS — job log** |
| Real HTTPS/TLS/DNS, production ZITADEL/Login, MFA/passkeys, Console or SSO | **NOT EXECUTED / OUT OF SCOPE** |
**All 48 deliberately malformed synthetic security cases passed exact-error rejection.** This is **source-driven configuration policy acceptance**, not deployment readiness or production security certification. No real secrets were resolved and **no application services were started**. The Gitea CI runner provisioned its own disposable job container/volumes/network and cleaned them; the workflow itself configured only Docker Compose `config` commands.
The previous imported custom Login V2 [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) remains separate **disposable real browser PKCE/Auth.js OIDC SUCCESS**; live HTTPS, Console, vault-backed secrets and MFA/SSO remain unverified.
**Next proposed separately approved phase:** P05-OIDC-09, **read-only, documentation-only production release preflight**, mapping real image/release, secure secret/DB recovery, HTTPS ingress and live acceptance requirements into small exact Scope Locks without any production deployment. Full proposal in [notes/P05-OIDC-08-A04.md](../notes/P05-OIDC-08-A04.md).