Files
ZitPlane/docs/P05-OIDC-08-A01.md
T

2.9 KiB

P05-OIDC-08-A01 — Normalized Runtime-Field RCA

Outcome: Gitea Run #102, Job #218 — COMPLETED FAILURE on tested source 07c91ea5bcb2037e3c7b76261e1eb106b49d223f. One run only; no repeat or post-run source edit.

Exact evidence

The previous Run #101 failed at the normalized RUNTIME_BEHAVIOR field check without key-specific diagnostics. A01 updated only tests/ci/production_contract/validate.py to print allowlisted field name and safe shape, never values, environment variables, URLs, full JSON or secrets. It permits only null Compose-generated command/entrypoint and null/empty configs; actual build or executable overrides are still rejected.

Run #102 observed command: null and entrypoint: null on all five synthetic services, identifying the old false-positive exact cause. docker compose config --quiet PASS; the runtime default check then proceeded to the next ZITPLANE_P08_FAIL_CLOSED_DEPLOY_DISABLED. This new error's precise deploy.replicas representation is not known, so the full policy positive checks and all 29 negative fixtures were not reached. Workflow manual-only/no Docker lifecycle action checker PASS. The Gitea runner removed its own task container, two task volumes and network.

Check Status
Exactly one source-only patch and pre-source Scope Lock PASS
Static Compose config parse PASS
Null command/entrypoint RCA across five services VERIFIED
Rejecting actual executable overrides IMPLEMENTED, NOT CI EXECUTED
Normalized zero-replica safety gate FAIL
Canonical issuer/callback/routing/secret final success markers NOT EXECUTED
25 original negative + four new runtime negative tests NOT EXECUTED
Manual-only/no resource action workflow check PASS
Actual public DNS/TLS, ZITADEL human login, production deployment NOT EXECUTED / OUT OF SCOPE

Do not run docker compose up/run/build/pull on the deployment/production-contract/compose.ci.yaml fixture; it is deliberately non-deployable. No production SSL/HTTPS/domain/Console/MFA or release acceptance is established. Previously accepted imported source-built Login V2 Run #99 remains valid as disposable CI authentication evidence.

Next recommended separately approved P05-OIDC-08-A02: change only tests/ci/production_contract/validate.py to inspect the normalized deploy.replicas existence/type/zero category and, if safely justified by read-only synthetic source evidence, accept only inert zero-replica normalization while retaining nonzero/unsafe runtime rejection. Reverify all 29 synthetic negatives in one newly approved Gitea run. See the exact plan in notes/P05-OIDC-08-A01.md.