docs(oidc): synchronize CI/fixture READMEs and root navigation with Run 101 blocker
This commit is contained in:
1 parent
354cfdf9c4
commit
6b4706b1d2
5 files changed
+15
-1
No files matched your search
@@ -43,3 +43,7 @@ See `notes/P05-CI-01.md` and `tests/ci/`.
|
||||
**P05-OIDC-06 new manual workflow:** `p05-custom-login-acceptance.yml` uses an isolated temporary Node22/bookworm builder, pinned PNPM/Nx standalone build, original upstream Dockerfile to package a run-owned local image, opt-in CI Compose image-only overlay and the original real browser OIDC harness. The `always()` cleanup runs original OIDC teardown then exact-labeled builder/image/context teardown. [Run #98](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/98) source `fcfa59e826c39b445faa1b5b26c47ce715d8c3d6` built successfully, but custom OCI Login entrypoint permission denied before full OIDC; old/new cleanup PASS. Not a registry publish or production workflow.
|
||||
|
||||
**P05-OIDC-06-A01 accepted:** The unchanged `p05-custom-login-acceptance.yml` was dispatched exactly once more with source `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f` in [Gitea Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) / Job #214, terminal **SUCCESS**. CI-only builder fixed **only** its disposable standalone entrypoint copy mode `644→755`, verified built image executable by default user, original custom Login image ID/health and real Chromium PKCE/state/nonce/Auth.js session/protected Account/negative/logout PASS. Original backend/OIDC and new builder/image/context `always()` cleanup PASS. Historical Run #98 OCI failure remains documented, production/MFA/SSO not accepted. No workflow change was needed in A01; see `notes/P05-OIDC-06-A01.md`.
|
||||
|
||||
**P05-OIDC-08 manual static workflow:** New `p05-production-contract-dry-run.yml` uses a disposable CI runner to execute only `docker compose -f deployment/production-contract/compose.ci.yaml config --quiet`, Compose `config --format json` piped to stdlib Python static validator, and an `always()` checker that verifies no Docker lifecycle actions configured. It creates **no application services** and never queries the proposed production DNS/SSL/credentials; runner itself does use a temporary CI job container, removed at end.
|
||||
|
||||
Exactly one [Run #101](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/101) source `2ca1b4493bd47209d0c7eabf7453feaeb1f5174a` **FAILURE**: toolchain/checkout and Compose config PASS, normalized `RUNTIME_BEHAVIOR` fail-closed guard FAIL (offending field unknown), **25 negative fixtures NOT EXECUTED**, static workflow-safety always step PASS, Gitea task container/volumes/network cleanup observed. No rerun/patch; separate approval needed for A01 one-file validator RCA. Do not invoke deployment commands. See `notes/P05-OIDC-08.md`.
|
||||
@@ -22,6 +22,7 @@ Compact, developer-friendly monorepo for a central identity service, a branded l
|
||||
- **P05-OIDC-06:** [Run #98](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/98) on `fcfa59e826c39b445faa1b5b26c47ce715d8c3d6` **FAILURE**: imported Login frozen/standalone build + disposable custom image **PASS**; OCI `/app/entrypoint.sh` permission denied before actual custom Login/Chromium; imported Login real OIDC **NOT EXECUTED**. Old OIDC backend and new builder/image cleanup **PASS**. Original prebuilt Run #96 OIDC PASS unchanged. Next focused CI-only entrypoint-mode RCA requires approval; no production. [Evidence](docs/P05-OIDC-06.md).
|
||||
- **P05-OIDC-06-A01:** [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) / job #214 on `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f` **SUCCESS**: original imported Login entrypoint Git mode 100644, disposable copy 644→755, built image executable and actual running image match; real Chromium custom Login V2/PKCE/state/nonce/Auth.js Account session/protected API/negatives/logout PASS, both owned cleanup systems PASS. Production HTTPS/MFA/passkeys/Console/multi-app SSO remain unverified. [Accepted A01](docs/P05-OIDC-06-A01.md).
|
||||
- **P05-OIDC-07:** Documentation-only [production HTTPS/issuer/ingress/secrets/recovery contract](docs/P05-OIDC-07.md) based on existing imported custom Login [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) **SUCCESS**. Canonical `https://auth.vib.tools` issuer and `https://account.vib.tools` relying party are **proposed, not verified live**; production TLS, trusted proxy, emergency IAM_OWNER recovery, secrets/DB restore, image release and Console/MFA/SSO acceptance remain BLOCKED. No new CI/source/deployment changes.
|
||||
- **P05-OIDC-08:** [Gitea Run #101](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/101) / job #217 tested source `2ca1b4493bd47209d0c7eabf7453feaeb1f5174a` **FAILURE**: new non-deployable synthetic Compose `config` PASS and workflow no-resource-action safety PASS, but normalized policy validator `RUNTIME_BEHAVIOR` FAIL; 25 intended negative fixtures **NOT EXECUTED**. No real containers/service startup or public DNS/SSL, production secrets/deployment. Next A01 one-file validator RCA requires separate approval. [Report](docs/P05-OIDC-08.md).
|
||||
- **Production / Coolify:** not configured or deployed.
|
||||
|
||||
## Documentation and project knowledge
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
# Deployment
|
||||
|
||||
Future Docker Compose, Coolify routing, container health checks and secret-handling configuration. Production and development will use isolated databases and configuration. Nothing is deployed in Phase 01.
|
||||
|
||||
## P05-OIDC-08 — synthetic production-contract fixture only
|
||||
|
||||
New [production-contract/](production-contract/README.md) holds **non-deployable** `compose.ci.yaml` + strict `routing-policy.json`. Its images use reserved `synthetic.invalid`, replicas=0, internal-only network, symbolic external secret references, no ports, no bind mounts and no application startup commands. It does **not** implement production ingress/real TLS or images. Never use `up`/`build`/`pull` or point it at production. The existing `docker/compose.backend.dev.yaml` and CI Login override stay untouched.
|
||||
|
||||
Gitea [Run #101](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/101) / Job #217 on source `2ca1b4493bd47209d0c7eabf7453feaeb1f5174a` **FAILED** strict normalized runtime-field validation after Compose structural parse PASS. Workflow static no-resource-action PASS; 25 negative cases NOT EXECUTED. No production host or secret examined. See `notes/P05-OIDC-08.md`.
|
||||
+2
-1
@@ -17,7 +17,8 @@
|
||||
9. [P05-OIDC-06.md](P05-OIDC-06.md) — imported Login image build and OCI startup blocker from one actual Gitea run.
|
||||
10. [P05-OIDC-06-A01.md](P05-OIDC-06-A01.md) — accepted custom imported Login V2 real Chromium OIDC, entrypoint RCA, and production limitations.
|
||||
11. [P05-OIDC-07.md](P05-OIDC-07.md) — proposed production HTTPS/issuer/proxy and secrets/backup recovery contract, not a deployment.
|
||||
12. [MINIFEST.md](MINIFEST.md) — exact files and purposes.
|
||||
12. [P05-OIDC-08.md](P05-OIDC-08.md) — synthetic CI-only static security contract Run #101 failure and next narrow RCA.
|
||||
13. [MINIFEST.md](MINIFEST.md) — exact files and purposes.
|
||||
|
||||
## Rules for every future developer/AI agent
|
||||
|
||||
|
||||
@@ -38,3 +38,5 @@ Add new CI checks and update `MINIFEST.md`, `project/`, `docs/`, and `notes/` in
|
||||
**P05-OIDC-06 `login_image/` helpers:** isolated frozen imported Login builder and local image, plus run-labeled image/builder/temp-context cleanup; original OIDC default mode unchanged with a narrow opt-in Compose overlay. [Run #98](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/98) build PASS, OCI custom Login startup failed with entrypoint permission denied (exact mode UNKNOWN), custom browser NOT EXECUTED, dual cleanup PASS. New folder `README.md` and `MINIFEST.md` document exact files. No local developer build or production user.
|
||||
|
||||
**P05-OIDC-06-A01 terminal:** Existing CI-only `login_image/build.sh` now validates copied temporary entrypoint regular-file/shebang/mode, corrects an observed `644` executable-bit defect **only in the disposable build context**, and checks the final image with no-network default-user `test -x`. [Gitea Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) SUCCESS on `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f`: imported custom Login image actually ran and completed full Chromium PKCE/Auth.js protected Account/session/negative/logout with exact run-owned cleanup PASS. No imported Login source/Dockerfile, browser/provision, Compose, original workflow or production change. See `login_image/README.md`, `notes/P05-OIDC-06-A01.md`.
|
||||
|
||||
**P05-OIDC-08 `production_contract/` (NEW):** stdlib `validate.py` compares normalized Compose JSON with strict synthetic proposed HTTPS issuer/Account callback/Login/Console/API h2c Host/forwarding policy and 6 symbolic secret references, with **25 in-memory malformed fixtures** and manual-workflow command allowlist. `compose.ci.yaml` has only `synthetic.invalid` images, zero replicas and internal network. [Run #101](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/101) source `2ca1b4493bd47209d0c7eabf7453feaeb1f5174a`: `docker compose config --quiet` PASS, normalized `RUNTIME_BEHAVIOR` failure occurred **before 25 negative cases**, workflow-safety PASS. No real service container or external production DNS/SSL. See `production_contract/README.md` and `notes/P05-OIDC-08.md`.
|
||||
Reference in new issue
Block a user