diff --git a/deployment/production-contract/MINIFEST.md b/deployment/production-contract/MINIFEST.md new file mode 100644 index 0000000..5cbbf2a --- /dev/null +++ b/deployment/production-contract/MINIFEST.md @@ -0,0 +1,10 @@ +# deployment/production-contract/ — MINIFEST + +| Direct file | Owner / purpose | Status | +| --- | --- | --- | +| [README.md](README.md) | CI-security owner, strict never-deploy warnings | P05-OIDC-08 | +| [MINIFEST.md](MINIFEST.md) | Exact direct file/folder inventory | P05-OIDC-08 | +| [compose.ci.yaml](compose.ci.yaml) | Parseable zero-replica, placeholder-only synthetic Compose | P05-OIDC-08 | +| [routing-policy.json](routing-policy.json) | Canonical HTTPS issuer/callback, private h2c and Host/security requirements | P05-OIDC-08 | + +No subfolders, real images, secrets or runtime data. diff --git a/deployment/production-contract/README.md b/deployment/production-contract/README.md new file mode 100644 index 0000000..dc0f2e8 --- /dev/null +++ b/deployment/production-contract/README.md @@ -0,0 +1,10 @@ +# P05-OIDC-08 — Synthetic production contract, not deployable + +**Owner:** ZitPlane CI/security maintainers. Purpose: model the P05-OIDC-07 **proposed** HTTPS issuer/Account origins and trust boundaries without any production deployment. + +- `compose.ci.yaml` is **intentionally non-deployable**: reserved `synthetic.invalid` image references, five zero-replica services, one internal-only network, no ports/bind mounts/build instructions and unresolved named **external** CI placeholder secret references. Never execute `up`, `run`, `build`, `pull` or deploy this fixture. +- `routing-policy.json` is a declarative security contract, **not an ingress implementation**. It expresses the proposed `auth.vib.tools` canonical HTTPS issuer and Login V2/Console/API h2c routing, separate `account.vib.tools` relying-party origin and exact callback, trusted Host/Forwarded policy and secret-reference requirements. +- `tests/ci/production_contract/validate.py` consumes only generated JSON from `docker compose config --format json` and local JSON policy, with 25 synthetic negative cases. No DNS query, real certificate, production user, credentials, key or server is accessed. +- CI workflow `.gitea/workflows/p05-production-contract-dry-run.yml` runs only config parsing/static validation and a workflow safety audit; it cannot certify actual production TLS, secrets, backup/restore, Login V2 Console/MFA or SSO. + +**Update instructions:** only under approved Scope Lock, update direct-child `MINIFEST.md` and parent `deployment/README.md`, and reconcile notes/project/docs. See `notes/P05-OIDC-08.md` for exact evidence and phase acceptance.