docs(oidc): map synthetic validator functions and Run 101 acceptance boundary

This commit is contained in:
victorsteele428 committed 2026-11-23 12:41:08 +00:00
1 parent 78cab750c9
commit ce116a6b4c
5 files changed
+35

No files matched your search

+8
View File
@@ -165,3 +165,11 @@ Run #99 confirmed input `644 UID:GID 0:0`, copied output/image executable and ac
- `users/ui/src/lib/identity.ts::requireIdentity,zitadelSelfServiceUrl` enforces nonempty subject, produces policy-dependent Console self-service link; `users/ui/src/components/account-shell.tsx::portalLogout` calls local `signOut` only.
- `auth/ui/v2/apps/login/src/lib/server/service-url.ts::getServiceConfig,constructUrl` relies on publicHost/forwarded headers, and `src/proxy.ts::proxy` performs upstream rewrites/CSP/CORS; security at public proxy/Host trust must be verified separately. `src/lib/server/custom-headers.ts::applyCustomHeaders` uses configured headers. No upstream change.
- `core/backend/zitadel/dev.py::create_dev_env,validate_env` generates **development** secrets only (master key 32 chars, login cookie >=32), not production KMS/escrow or rotation. No new functions or behavior in P05-OIDC-07; see `notes/P05-OIDC-07.md`.
## P05-OIDC-08 — stdlib static validator function contract
`tests/ci/production_contract/validate.py::validate_policy` validates fixed canonical HTTPS issuer/origin/callback, confidential code+PKCE/state/nonce, exact ordered Login/Console/API/Account routes (ZITADEL h2c), unknown Host reject and forwarded header strip-and-replace, required symbolic secret references.
`validate_compose` accepts normalized JSON from Compose `config --format json` and enforces exact synthetic images, five services, private-only network, zero replicas, no ports/volumes/sockets/privileged fields, referenced-only external placeholder secrets and no embedded environment secrets. **In Run #101 it failed with `RUNTIME_BEHAVIOR`** while checking the normalized service dict; offending field/type not logged and cannot yet be assigned to Compose default vs true runtime field.
`negative_cases` contains **25 targeted in-memory mutation checks** that require a specific error class. Run #101's positive failure occurred **before** this function; negative coverage is **NOT EXECUTED**. `workflow_safety` allows only two `docker compose ... config` commands, manual trigger, and proves no Docker lifecycle actions configured; **PASS** in Run #101. `main` prints fixed status codes; no input/credential dumps, DNS, runtime containers or external contacts. A01 may diagnose/reconcile Compose normalized inert keys only with separate approval.