2.4 KiB
P05-OIDC-08 — Synthetic Production Configuration Contract Dry-Run
Terminal outcome: Gitea Run #101, Job #217 on source 2ca1b4493bd47209d0c7eabf7453feaeb1f5174a — COMPLETED FAILURE. This is a CI-only structural policy test, not live HTTPS/deployment authentication.
The approved new fixtures are in deployment/production-contract/ and tests/ci/production_contract/. The five service images point to reserved synthetic.invalid, replicas are set to 0 and the network is private. The routing-policy.json describes proposed https://auth.vib.tools issuer, separate https://account.vib.tools Account portal and exact /api/auth/callback/zitadel HTTPS callback. None of these hostnames/certificates or external infrastructure were contacted or verified by the workflow.
| Check | Run #101 |
|---|---|
| Tools and repository checkout | PASS |
docker compose config --quiet structural parse |
PASS |
| Static workflow's manual-only/no Docker lifecycle commands | PASS |
| Normalized Compose + policy security validator | FAIL ZITPLANE_P08_FAIL_CLOSED_RUNTIME_BEHAVIOR |
| Exact normalized field that triggered rule | UNKNOWN (logs show only reason class) |
| 25 intended negative tests | NOT EXECUTED (positive failed first) |
| CI task container/volume/network cleanup by Gitea | PASS in job terminal log |
| Real DNS/TLS/production secrets/images/backup/Account login | NOT EXECUTED / out of scope |
The validator's RUNTIME_BEHAVIOR gate disallows certain runtime-oriented keys in Compose normalized JSON, but which key or value is responsible was not retained. It may be normalization of an inert default or a disallowed field; a separate narrow RCA is needed. Do not weaken the security rule or treat the unexecuted negatives as passing.
Next recommended separately approved phase: P05-OIDC-08-A01, with source WRITE only tests/ci/production_contract/validate.py. Add safe key/type-only diagnostics and narrowly distinguish harmless normalized defaults from actual runtime commands/build/config, then one new manual CI static dry-run proving positive and negative gates. The fixture, policy, workflow and original applications remain read-only. No production deployment or live secrets.
Detailed terminal CI/source security evidence and exact proposed Scope Lock: notes/P05-OIDC-08.md.