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

28 lines
2.7 KiB
Markdown

# P05-OIDC-08-A02 — Docker Compose Zero-Replica Forensic Acceptance
**CI outcome:** [Gitea Run #103](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/103), Job #219 **COMPLETED FAILURE** on tested source `45a2edb854acd98546e60a68482075bc5f742bd2`, exactly one approved dry-run. The existing zero-replica source is non-deployable synthetic configuration, not actual production.
## Precisely observed
Run #102 had established null `command`/`entrypoint` normalized defaults, but zero-replica normalization was unknown. A02 added safe name/type/classification diagnostics and an exact read-only check of the five **`deploy.replicas: 0` source declarations**.
Run #103 printed `ZITPLANE_P08_SOURCE_ALL_FIVE_REPLICAS_ZERO_PASS`; each of the five normalized `deploy` mappings was an object containing **integer `replicas: 0`**, so missing or nonzero replica is *not* the cause. But each deploy mapping also contained **additional unknown fields**. The allowlist rejected them with `ZITPLANE_P08_FAIL_CLOSED_DEPLOY_DISABLED`; **their names and values were not logged and must not be invented**.
| Verification | Run #103 |
| --- | --- |
| Static Compose config (no application startup) | **PASS** |
| Five tracked source declarations `replicas: 0` | **PASS** |
| Five normalized `replicas` each integer zero | **VERIFIED** |
| Extra normalized deploy fields on all five | **PRESENT, exact names/types UNKNOWN** |
| Strict deploy-field security gate | **FAIL** |
| Original 25 invalid fixture checks | **NOT EXECUTED** |
| Runtime four negative checks | **NOT EXECUTED** |
| Replica three negative checks | **NOT EXECUTED** |
| Manual-only/no-resource-action workflow check | **PASS** |
| Runner task container/two volumes/network cleanup | **PASS** |
| Real DNS/TLS/production deployment/secrets/real users | **NOT EXECUTED** |
**No source patch or second CI run occurred after this failure.** The unchanged `synthetic.invalid` images, zero-replica fixture and placeholder secrets are *not deployable*. Do not run `docker compose up`, image pulls, builds or registry publishing. The previously accepted custom Login V2 [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) remains a separate disposable login acceptance, not a public site.
**Next independently approved P05-OIDC-08-A03:** the only source edit may be `tests/ci/production_contract/validate.py`. Safely identify normalized `deploy` additional keys and harmless default shapes, accept only evidence-proven inert metadata, reject all deployment-capable options, then verify the original 25 plus four runtime plus three replica negative fixtures in one new Gitea CI dry-run. Exact source/security Scope Lock: [notes/P05-OIDC-08-A02.md](../notes/P05-OIDC-08-A02.md).