docs(oidc): synchronize Run 103 normalized extra-deploy blocker across project and operator docs

This commit is contained in:
victorsteele428 committed 2026-11-23 13:14:50 +00:00
1 parent 087660f4e4
commit 81dfc46aec
8 files changed
+38

No files matched your search

+2
View File
@@ -67,3 +67,5 @@ Future feature additions need an evidence-backed status update here, an exact de
**P05-OIDC-08 (2026-11-23) static contract result:** CI-only synthetic proposed issuer/routing policy, 5 zero-replica `synthetic.invalid` services and stdlib validator **IMPLEMENTED**. [Run #101](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/101) Job #217 **FAILURE**: Compose `config --quiet` **PASS**; strict normalized `RUNTIME_BEHAVIOR` validation **FAIL** (unknown normalized field), so 25 negative security fixtures **NOT EXECUTED**; manual-only/no-resource-action workflow safety **PASS**. Nothing was deployed and no real DNS/TLS/keys or users verified. Earlier source-built custom Login real OIDC [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) **PASS** remains a separate disposable HTTP localhost acceptance; public HTTPS/Console/MFA/SSO/backup **BLOCKED**. [P05-OIDC-08 report](P05-OIDC-08.md).
**P05-OIDC-08-A01 (2026-11-23) latest synthetic contract status:** [Run #102](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/102) / Job #218 **FAIL** after `docker compose config` PASS; diagnostics **VERIFIED** null `command` and `entrypoint` on all five services, correcting previous Run #101 runtime-default false positive. Next strict normalized zero-replica `DEPLOY_DISABLED` rule **FAIL** with exact field/type UNKNOWN, so all 25 original and four added runtime security negative checks **NOT EXECUTED**. Manual-only/no-resource-action policy PASS and runner job cleanup observed. Full synthetic production-config gate **BLOCKED**; no real TLS/DNS/secrets/deploy or actual Login/MFA/Console acceptance. Prior source-built imported Login V2 real **disposable** Run #99 remains SUCCESS. [A01 report](P05-OIDC-08-A01.md).
**P05-OIDC-08-A02 (2026-11-23) synthetic security acceptance status:** Gitea [Run #103](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/103) Job #219 **FAILURE**; Compose `config --quiet` PASS, source five `replicas: 0` PASS, normalized `deploy.replicas` **integer zero in all five** VERIFIED, but **all five contain additional deploy fields**, name/type/effect UNKNOWN. Strict `DEPLOY_DISABLED` rejects extra keys; **25+4+3 negative fixtures NOT EXECUTED**. Manual-only/no Docker resource action safety PASS, runner task cleanup observed. Full static contract **BLOCKED**, production HTTPS/domains/keys/backups/Console/MFA/SSO NOT VERIFIED. Earlier real disposable custom Login V2 Run #99 **SUCCESS** unaffected. [A02 operator guide](P05-OIDC-08-A02.md).
+7
View File
@@ -171,3 +171,10 @@ Approved baseline `b3841d8c05d6b47ceaf1dbc5f7103b8de4f256e6`, accepted [Run #96]
- **Exactly one** [Run #102](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/102) / Job #218 `COMPLETED FAILURE`: tooling/checkout and static `docker compose config --quiet` PASS; safe diagnostic markers show Compose added `command: null` + `entrypoint: null` to **each of 5 services**. This proves previous Run #101 `RUNTIME_BEHAVIOR` root cause and new narrow compatibility passed. Next zero-replica `ZITPLANE_P08_FAIL_CLOSED_DEPLOY_DISABLED` **FAIL**, its precise normalized representation **UNKNOWN**.
- Original 25 plus four new runtime negative assertions **NOT EXECUTED**. Workflow-safety `always()` PASS; runner-owned task container/two volumes/network removed. No application service lifecycle, local tests, production DNS/SSL/secret access, registry or deployment.
- **P05-OIDC-08-A01 terminal status: PARTIAL RCA PASS / FULL SYNTHETIC CONTRACT ACCEPTANCE BLOCKED.** No rerun or post-run source patch. Next new approval `P05-OIDC-08-A02`: validator-only safe normalized `deploy.replicas` evidence/zero enforcement, all 29 negatives/positive acceptance in one manual CI run. See [full report](../notes/P05-OIDC-08-A01.md), [operator summary](P05-OIDC-08-A01.md).
## P05-OIDC-08-A02 — Integer-zero deploy replicas verified; normalized metadata blocker (2026-11-23)
- Approved baseline `eaf299f36ff12e625657521f97bd1d269904eaec`, pre-source Scope Lock first committed at `798f87864414c81ecf50b9fc58f078ac338e5747`. Only `tests/ci/production_contract/validate.py` changed; unchanged synthetic fixture/JSON/workflow/Auth.js/Login/backend/deployment/packages. Exactly one Gitea [Run #103](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/103) / Job #219 tested source `45a2edb854acd98546e60a68482075bc5f742bd2`, **COMPLETED FAILURE**; no local app tests or repeated CI.
- `docker compose config --quiet` PASS, source checked five `replicas:0` PASS. New type-only diagnostics: **all five normalized deploy mappings are objects with integer `replicas:0`, plus extra unknown fields**. Strict `DEPLOY_DISABLED` rule rejects the additional fields, hence CI terminal FAIL. Normalized replicas are **not** missing, string or nonzero. Extra key names/semantics **UNKNOWN**.
- Workflow-safety `always()` PASS and runner task cleanup observed. **All 25 original, 4 runtime and 3 replica negatives NOT EXECUTED**. No actual HTTPS/DNS/production secret/login or image/server deploy.
- Phase outcome **PARTIAL RCA PASS / OVERALL CONTRACT ACCEPTANCE BLOCKED**. Next separately approved `P05-OIDC-08-A03`: validator-only safe extra deploy-key classification and evidence-proven narrow inert-default handling, then exactly one independent static CI run to reach positive and negative checks. [Forensic notes](../notes/P05-OIDC-08-A02.md), [operator report](P05-OIDC-08-A02.md).
+4
View File
@@ -154,3 +154,7 @@ For a later separately approved production rollout, plan **one** HTTPS ZITADEL i
## P05-OIDC-08-A01 — security contract status, not production instructions
Existing `deployment/production-contract/compose.ci.yaml` remains purposely non-deployable and MUST NOT be run with `up`/`pull`/`build`. [Run #102](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/102) parsed its schema and independently verified the normalized `command:null`/`entrypoint:null` defaults; runtime override restriction now passes, but the stricter **zero-replica normalized shape** gate still FAILS (`DEPLOY_DISABLED`). No positive end-to-end policy marker and none of 29 synthetic security negative fixtures are accepted. Do not alter proposed `auth.vib.tools`/`account.vib.tools` DNS, run public TLS, reuse dev bootstrap/secrets or deploy the fixture. Future separately approved A02 must diagnose normalized `deploy.replicas` without printing values or starting services. [Operator status](P05-OIDC-08-A01.md).
## P05-OIDC-08-A02 — static result, not an installation instruction
The unchanged `deployment/production-contract/compose.ci.yaml` is *non-deployable* (`synthetic.invalid` images, zero replicas, private network, name-only external secrets); never start/build/pull it or apply it to real Coolify/VPS. [Run #103](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/103) checked five source and five JSON normalized integer-zero replicas, but extra normalized `deploy` object fields failed the strict security allowlist. Names/types unknown; all 32 planned invalid fixtures NOT EXECUTED. Do not loosen `DEPLOY_DISABLED`, alter DNS/TLS/keys or call a real deployment. Later A03 is validator-only normalization RCA, separately approved.
+4
View File
@@ -113,3 +113,7 @@ If master-key or DB recovery is needed, preserve existing key/volumes and use an
## P05-OIDC-08-A01 — normalized command/entrypoint root verified; new replicas blocker
[Gitea Run #102](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/102) proves Docker Compose `config --format json` emits `command: null` and `entrypoint: null` on each of the five synthetic services. The strict original `RUNTIME_BEHAVIOR` validator had rejected these inert absent-execution defaults; the narrowly scoped check now accepts only null values (actual nonempty commands/builds/configs still disallowed). The static pipeline next printed `ZITPLANE_P08_FAIL_CLOSED_DEPLOY_DISABLED`. **No normalized `deploy.replicas` shape/value was logged**, so do not claim that replicas were omitted or stringified, or loosen zero-replica safety based on a guess. All 29 malformed fixture checks remain **NOT EXECUTED**; manual-only safety PASS. The synthetic fixture is **not deployable**. Any diagnostic must remain value-free, single new approval/CI only, without editing Compose/workflow, contacting real DNS/TLS or starting containers. [A01 details](P05-OIDC-08-A01.md).
## P05-OIDC-08-A02 — normalized replicas are integer zero; unknown extra deploy fields
In [Run #103](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/103), `ZITPLANE_P08_SOURCE_ALL_FIVE_REPLICAS_ZERO_PASS` proves the canonical fixture's five explicit zero declarations; all five `ZITPLANE_P08_NORMALIZED_DEPLOY_*_REPLICAS_INT_ZERO` markers prove the normalized JSON retained integer zero. But `*_UNEXPECTED_FIELDS_PRESENT` on all five precedes `ZITPLANE_P08_FAIL_CLOSED_DEPLOY_DISABLED`. **Do not troubleshoot this as a replica type/string/missing problem** or allow arbitrary deploy keys; actual extra field names were not logged, so no confident classification of their harmlessness exists. Only next independently approved A03 can add safe finite-allowlist key/type diagnostics and adjust inert metadata narrowly if proven; preserve fail-closed rejection of actual deployment behavior, all 32 negatives, HTTP/wildcard/ports/secrets guardrails. Never output raw normalized JSON/credentials or run synthetic Compose `up`/build/pull. [Detailed report](P05-OIDC-08-A02.md).