docs(oidc): synchronize null-field RCA and zero-replica blocker across developer and operator docs
This commit is contained in:
1 parent
0e30331a9c
commit
c50c2da1de
8 files changed
+38
No files matched your search
@@ -65,3 +65,5 @@ Future feature additions need an evidence-backed status update here, an exact de
|
||||
**P05-OIDC-07 production readiness status (2026-11-23):** Imported **custom source-built** Login V2 / real Chromium OIDC→Auth.js protected Account/session/negative/logout and dual cleanup **VERIFIED in disposable Run #99** (unchanged). Account `validatedUrl()` production HTTPS-origin guard, PKCE/state/nonce, subject/expiry checks and existing UI/identity API **IMPLEMENTED**. Proposed `auth.vib.tools` single issuer and `account.vib.tools` RP, secure TLS/h2c ingress, trusted headers, registered exact callback/real HTTPS Secure/SameSite cookies, Console cutover, production secret manager/32-byte master-key escrow, backups+isolated restore, SMTP, immutable image release and monitoring **UNVERIFIED / BLOCKED**. MFA/passkey, federated logout and second-app SSO **NOT EXECUTED**. These domain names are hypothetical, and this read-only phase made **no new source/CI/deployment changes**. [Audit](P05-OIDC-07.md).
|
||||
|
||||
**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).
|
||||
@@ -164,3 +164,10 @@ Approved baseline `b3841d8c05d6b47ceaf1dbc5f7103b8de4f256e6`, accepted [Run #96]
|
||||
- New manual workflow `p05-production-contract-dry-run.yml` and five-service `synthetic.invalid`, zero-replica, private-network, no-host-port Compose contract are **non-deployable**. Proposed `https://auth.vib.tools` issuer and `https://account.vib.tools` origin/callback NOT live checked.
|
||||
- Exactly one [Gitea Run #101](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/101) / Job #217 **COMPLETED FAILURE**: toolchain+checkout PASS, `docker compose ... config --quiet` PASS, strict Python normalized service validator **FAIL** at `ZITPLANE_P08_FAIL_CLOSED_RUNTIME_BEHAVIOR`; offending field/type not exposed; all 25 in-memory negative cases **NOT EXECUTED**. `always()` workflow static manual-only/no-resource-action check PASS. Gitea job container/volumes/network removed; no application services deployed.
|
||||
- **Phase outcome: SOURCE IMPLEMENTED / STATIC COMPOSE PARSE PASS / FULL SECURITY CONTRACT ACCEPTANCE BLOCKED**. No local tests, reruns, live DNS/SSL, real secrets/users, image pulls/build, production deployment. Next separately approved `P05-OIDC-08-A01` limits source writes to `tests/ci/production_contract/validate.py` for safe normalized-key RCA and narrow inert-default normalization, retaining actual behavior rejection. See [notes](../notes/P05-OIDC-08.md) and [operator guide](P05-OIDC-08.md).
|
||||
|
||||
## P05-OIDC-08-A01 — Normalized runtime-field RCA (2026-11-23; overall CI FAILURE)
|
||||
|
||||
- Approved baseline `f3528841f444d1bc119bc067db2e044269141555`; pre-source Scope Lock note commit `b235a39078a80464aaf01ee9fa1aca1f1f3e5c15`. One narrowly edited source file `tests/ci/production_contract/validate.py`, tested SHA `07c91ea5bcb2037e3c7b76261e1eb106b49d223f`; all Compose, deployment, existing workflows, Auth.js/Login/Go/package source read-only.
|
||||
- **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).
|
||||
@@ -150,3 +150,7 @@ For a later separately approved production rollout, plan **one** HTTPS ZITADEL i
|
||||
`deployment/production-contract/compose.ci.yaml` contains only reserved-domain synthetic images, zero replicas, private network, no ports and external *placeholder names* for secrets. **NEVER run `docker compose up`, `run`, `build` or `pull` against it; never use this fixture as a production Coolify/VPS installer.** `routing-policy.json` specifies *proposed* HTTPS issuer `https://auth.vib.tools`, separate `https://account.vib.tools` and exact callback but does not configure a real reverse proxy. The manual Gitea workflow is limited to Compose `config` and Python-only static checks.
|
||||
|
||||
[Gitea Run #101](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/101) on `2ca1b4493bd47209d0c7eabf7453feaeb1f5174a` confirmed Compose syntax PASS but **FAILED** its normalized service runtime-field security validator, before 25 deliberately malformed cases were run. Workflow static no-lifecycle policy PASS; this is not live TLS/credential/backup acceptance. Wait for separately approved `P05-OIDC-08-A01` normalized JSON key-only RCA; do not disable security checks or invoke production endpoints. [Full operator status](P05-OIDC-08.md).
|
||||
|
||||
## 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).
|
||||
@@ -109,3 +109,7 @@ If master-key or DB recovery is needed, preserve existing key/volumes and use an
|
||||
## P05-OIDC-08 — synthetic Compose parsed but normalized validator refused it
|
||||
|
||||
[Run #101](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/101) printed `ZITPLANE_P08_COMPOSE_STATIC_CONFIG_PASS` followed by `ZITPLANE_P08_FAIL_CLOSED_RUNTIME_BEHAVIOR` in the `validate.py` stage. This class means a **normalized Compose service field** intersected the validator's disallowed runtime-behavior keys (`build`, `command`, `entrypoint`, `configs`). It does **not** identify which field was present or prove an unsafe runtime; no normalized JSON/secret values were logged. Don't claim a specific null/default cause or edit the production source/Compose/workflow to work around the guard. The manual-only/no-resource-action `always()` check PASS and the runner cleaned its job environment. 25 negative cases were **NOT EXECUTED**. A separately approved A01 phase may report only safe field name/type classification, accept only evidence-proven inert defaults and reverify all negatives once. Never run the synthetic Compose or access live production for troubleshooting. [Report](P05-OIDC-08.md).
|
||||
|
||||
## 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).
|
||||
Reference in new issue
Block a user