docs(oidc): synchronize A03 secret-grant blocker in project and operator documentation
This commit is contained in:
1 parent
6d9a037ce3
commit
657e3aa931
8 files changed
+37
No files matched your search
@@ -69,3 +69,5 @@ Future feature additions need an evidence-backed status update here, an exact de
|
||||
**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).
|
||||
|
||||
**P05-OIDC-08-A03 (2026-11-23) static production-config contract latest:** [Run #104](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/104) / Job #220 **FAILURE**. Docker Compose static config PASS. Normalized all five `replicas` int zero, with exactly **empty `resources: {}` and `placement: {}`** in deploy mappings (safe diagnostics VERIFIED); previous `DEPLOY_DISABLED` blocker passed. Next `SERVICE_SECRET_REFS` FAIL, exact normalized secret grant source/target semantics UNKNOWN. The original 25 + runtime 4 + replica 3 + deploy 8 negative cases are **NOT EXECUTED**, not accepted. Manual-only/no-resource-action step and runner job cleanup PASS. Full synthetic contract and real production HTTPS/DNS/secrets/backup/Console/MFA/SSO still BLOCKED; imported custom Login V2 real disposable browser OIDC [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) remains previously accepted. [A03 details](P05-OIDC-08-A03.md).
|
||||
@@ -178,3 +178,9 @@ Approved baseline `b3841d8c05d6b47ceaf1dbc5f7103b8de4f256e6`, accepted [Run #96]
|
||||
- `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).
|
||||
|
||||
## P05-OIDC-08-A03 — Extra deployment defaults resolved, next secret-grant blocker (2026-11-23)
|
||||
|
||||
Approved baseline `b3b1878e03b3d189ae97ce24a87d6d87c6151811`, pre-source note-first commit `756f3e134affcf908c3cce800cd177d78c192c78`. **Exactly one** source change in `tests/ci/production_contract/validate.py`, tested source SHA `7954938fcee4d11c0b27751c7cf7abdcc64cd243`; all Compose/JSON/workflow/Auth.js/Login/backend/packages read-only. **Exactly one** [Gitea Run #104](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/104) / Job #220 **COMPLETED FAILURE**: toolchain, checkout, static Compose config PASS; all five source and normalized zero replicas and empty `resources: {}` / `placement: {}` verified. The previous `DEPLOY_DISABLED` false-positive was passed on the checked path. Strict next `SERVICE_SECRET_REFS` FAIL before full positive markers or any of **40** negative fixtures (25+4+3+8). Manual workflow-safety `always()` PASS; runner-owned task container/two volumes/network removed. No repeated CI, post-run source patch, local application test, real DNS/TLS/secret, image build or deployment.
|
||||
|
||||
**Decision:** A03 partial RCA PASS / full synthetic contract security acceptance BLOCKED. Next separately approved `P05-OIDC-08-A04`: validator-only safe type/classification for service secret grants and exact expected canonical source/target mapping; preserve 40 negative fixtures, add focused secret-grant negatives, one new manual static-only run and documentation closure. [Forensic notes](../notes/P05-OIDC-08-A03.md) and [operator guide](P05-OIDC-08-A03.md).
|
||||
@@ -158,3 +158,7 @@ Existing `deployment/production-contract/compose.ci.yaml` remains purposely non-
|
||||
## 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.
|
||||
|
||||
## P05-OIDC-08-A03 — synthetic-only status, no runtime setup
|
||||
|
||||
**Do not deploy** `deployment/production-contract/compose.ci.yaml`; it has reserved `synthetic.invalid` images, zero replicas, a private network and unresolved external secret placeholder names. A03 [Run #104](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/104) verified five source `replicas: 0`, five normalized integer zeros and harmless empty Compose `resources: {}` / `placement: {}`, but **failed** strict `SERVICE_SECRET_REFS` before all 40 negative tests ran. The actual normalized secret grant shape is not known; never work around the failure by copying real keys, disabling secret validation, running `up` or contacting live `auth.vib.tools`/`account.vib.tools` endpoints. Only a separately approved A04 validator-only RCA may change this CI contract; production HTTPS/TLS/backup/SSO remains independently unverified. See [A03 operator report](P05-OIDC-08-A03.md).
|
||||
@@ -117,3 +117,7 @@ If master-key or DB recovery is needed, preserve existing key/volumes and use an
|
||||
## 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).
|
||||
|
||||
## P05-OIDC-08-A03 — additional deploy keys classified, next SERVICE_SECRET_REFS guard failed
|
||||
|
||||
The previous [Run #103](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/103) showed unknown extra deploy keys. [Run #104](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/104) now identifies them **exactly**: normalized `resources: {}` and `placement: {}` on each of five zero-replica synthetic services. Only these safely empty known defaults can be tolerated; arbitrary populated mode/resources/placement/update/restart policies, unknown keys, nonzero replicas, public ports or executable runtime config remain disallowed. The validator reached `ZITPLANE_P08_FAIL_CLOSED_SERVICE_SECRET_REFS`. Current `service_secret_refs()` accepts string entries or restricted source/target dictionaries and checks `target == source`; it has **no safe per-entry log**, so do not presume a particular path discrepancy. A04 (requires separate approval) must log only fixed source/target **classification** of known placeholder grants, never actual values/secrets or raw Compose JSON, then accept only evidence-proven canonical mapping, run all 40+ security negatives in one new CI. Do not modify deployment/CI workflow or execute `docker compose up`, real DNS/SSL or credential actions. [Full A03 evidence](P05-OIDC-08-A03.md).
|
||||
Reference in new issue
Block a user