docs(audit): synchronize production-contract phase status and operator safety guides

This commit is contained in:
victorsteele428 committed 2026-11-23 11:26:29 +00:00
1 parent fd24d92df0
commit c7d32ae22b
6 files changed
+30

No files matched your search

+6
View File
@@ -99,3 +99,9 @@ If production domains do not respond, do not assume Gitea Run #96 deployed them:
## P05-OIDC-06-A01 — entrypoint executable-bit RCA resolved in disposable CI
If a previous imported image fails with `exec: "/app/entrypoint.sh": permission denied`, note that Run #98 was a historical failure. Actual Run #99 [evidence](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) measured copied standalone mode `644` (Git source `100644`), applied `chmod 0755` **only to the temporary build context** and proved built image `test -x` using no secrets/network and its default non-root user. The actual custom Login service started healthy and full Chromium OIDC/Auth.js/negative/logout PASS. Original source, Dockerfile and production remain unchanged. Never relax PKCE/callback or modify production to resolve a packaging mode. If an unrelated future issue appears, open a new scoped RCA; do not rerun Run #99. [Operator report](P05-OIDC-06-A01.md).
## P05-OIDC-07 — future production identity troubleshooting boundaries
If a later public login is broken, **do not** assume [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) verified HTTPS: it tested custom Login using isolated HTTP localhost. With separately authorized production access, first compare exact external `https://auth.vib.tools` issuer and advertised OIDC discovery (no port/scheme mismatch), registered Account callback, certificate chain, strict Host/Forwarded rewrites and HTTP/2 h2c to API (Console gRPC-Web). Check only **redacted** response status, TLS/cookie flags, Login health and Console session behavior. Never share session cookies, auth codes, bearer tokens, PATs, callback URLs with query values, private keys or unredacted logs. Do not disable PKCE/state/nonce, relax redirect allowlist or set `AUTH_TRUST_HOST` behind an untrusted header path. No live DNS/Coolify/VPS/SSL system was inspected or altered in this phase.
If master-key or DB recovery is needed, preserve existing key/volumes and use an **approved isolated restore**, not blind key regeneration or unattended production restoration. Login V2 instance-wide cutover may lock out Console; require independent vaulted IAM_OWNER emergency access and planned rollback. Detailed prerequisites and gates: [P05-OIDC-07.md](P05-OIDC-07.md).