ci: introduce ZitPlane P05 verification foundation
This commit is contained in:
1 parent
7ecf531697
commit
42b79362c1
32 files changed
+1731
-471
No files matched your search
@@ -68,3 +68,18 @@
|
||||
## Future update minimum for each function
|
||||
|
||||
Record: exact path, function name/signature, callers, inputs/outputs, error behavior, security assumptions, user-visible effect, tests/CI reference, phase + commit. Do not speculate from a filename alone.
|
||||
|
||||
|
||||
## P05-CI-01 — CI-only verification helpers
|
||||
|
||||
| Function | Exact path | Purpose / security boundary |
|
||||
| --- | --- | --- |
|
||||
| `fail(message)` | `tests/ci/source_contract.py` | Raise a source-contract assertion with a clear reason |
|
||||
| `check_account_lock()` | Same | Check npm lock v3 root dependency snapshot against Account Portal manifest |
|
||||
| `check_login_importers()` | Same | Require exact 4-importer pnpm lockfile and existing 3 upstream workspace members |
|
||||
| `check_security_boundaries()` | Same | Static source markers for PKCE/state/nonce, expiry and nonempty protected user ID; **not** a behavioral auth test |
|
||||
| `main()` | Same | Execute CI structural checks and return clear process success/failure |
|
||||
| `fetch(path)` | `tests/ci/oidc_discovery.py` | HTTP read-only probe of disposable proxy with expected localhost Host header |
|
||||
| `main()` | Same | Check ZITADEL readiness, issuer discovery metadata and JWKS shape; print explicit interactive OIDC E2E BLOCKED |
|
||||
|
||||
Workflow service orchestration is in `.gitea/workflows/p05-ci.yml`, not Python. It executes only in Gitea CI; no local tests were requested. A green source check does not certify real authentication.
|
||||
Reference in new issue
Block a user