docs(ci): record run 88 and narrow transitive override parser

This commit is contained in:
victorsteele428 committed 2026-11-22 14:40:05 +00:00
1 parent 66cfed5a8b
commit 7655dbdcb4
20 files changed
+67 -16

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ Snapshot: 2026-11-22, **Gitea P05-CI-03 Run #86 backend-only SUCCESS** on `03fb5
| Global ZITADEL SSO logout | No | N/A | No |
| Subscriptions, payments and SaaS billing | Outside ZitPlane scope | N/A | No |
| Gitea Actions CI verification workflow | Yes, P05 manual dispatch | Run #83 baseline, Run #86 backend SUCCESS, Run #87 3 PASS/1 FAIL (2 Moderate Login advisories) | Not deployed |
| Dependency Moderate security patch/acceptance | Account/Login Next.js/OTel patched in P05-SEC-01; P05-SEC-02 exact seven scoped glob/minimatch override candidates | Run #87: Account 0, Login 2 Moderate; **P05-SEC-02 frozen/build/audit CI pending**, so full clearance NOT YET VERIFIED | Not deployed |
| Dependency Moderate security patch/acceptance | P05-SEC-01 direct Next/OTel patches; P05-SEC-02 seven exact glob/minimatch parent overrides | Run #88 Login audit **0 Moderate/High/Critical PASS**; Login frozen install/build/unit **BLOCKED by CI helper false-positive**; post-run fix unverified. Account audit 0 in Run #87 | Not deployed |
| Gitea Actions CI and isolated integration tests | Backend-only workflow; interactive identity E2E remains absent | **Run #86 PASS:** disposable backend OIDC ready/discovery/JWKS, Postgres persistence, cleanup; authenticated user E2E pending | No |
| Coolify production stack, TLS, routing and backups | No | No | No |
| Public `auth.vib.tools/login` URL | Proposed only | No | No |
+1 -1
View File
@@ -11,7 +11,7 @@ Every file listed below is a direct child of `docs/`. Add/remove rows whenever t
| [P05-CI-02.md](P05-CI-02.md) | TypeScript remediation, Gitea CI verification, dependency risk and isolation evidence | P05-CI-02 / run #83 done; Docker acceptance blocked |
| [P05-CI-03.md](P05-CI-03.md) | Isolated backend-only Gitea CI procedure, checks and exact run outcomes | P05-CI-03 / Run #86 SUCCESS |
| [P05-SEC-01.md](P05-SEC-01.md) | Source-grounded dependency security patches, advisory blockers and CI verification | P05-SEC-01 / Run #87 3 PASS/1 FAIL, 2 Moderate open |
| [P05-SEC-02.md](P05-SEC-02.md) | Seven scoped PNPM parent overrides, patched lock and manual Login-only security CI evidence | P05-SEC-02 / run pending |
| [P05-SEC-02.md](P05-SEC-02.md) | Seven scoped PNPM parent overrides, patched lock and manual Login-only security CI evidence | P05-SEC-02 / Run #88 partial: security zero, build unverified |
| [SETUP-GUIDE.md](SETUP-GUIDE.md) | Operator/developer prerequisites, configs, activation and safety | DOCS-01 / active; runtime pending |
| [FEATURES-STATUS.md](FEATURES-STATUS.md) | Exact implemented/unavailable/unverified feature matrix | DOCS-01 / active |
| [TROUBLESHOOTING.md](TROUBLESHOOTING.md) | Known blockers and safe diagnosis based on source status | DOCS-01 / active |
+2 -2
View File
@@ -2,7 +2,7 @@
**Date:** 2026-11-22
**Approved baseline:** `43eee54e7ad6b647e38491ac4dc28703547cf410`
**Status:** Targeted source patch prepared; **one Gitea security acceptance run pending**.
**Status:** **Run #88 overall FAILURE**: Login live security audit PASS (0 Moderate/High/Critical); frozen install/build/units blocked by CI helper false-positive. Post-run source-only regex correction not CI-verified.
## Purpose
@@ -40,4 +40,4 @@ No `users/ui/**` changes, original Login source/route/callback/UI changes, Go ba
## Real Gitea acceptance ledger
**PENDING:** one focused run, tested source SHA, actual Login build/unit/security jobs, distinct skipped Account jobs, audit counts and cleanup/evidence. **Do not claim zero advisories before terminal CI evidence.** Detailed pre-edit root-cause proof and implementation log: `notes/P05-SEC-02.md`. Dependency source map: `project/DEPENDENCY-SECURITY.md`.
**ACTUAL RUN #88:** [Gitea Actions](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/88) tested source commit `66cfed5a8b6bd5845b229c9934695e307f9a0775`, `login_only=true`, overall **FAILURE**. Account build (#189) and Account security (#191) intentionally SKIPPED. Login build (#190) FAILED *before* frozen install: new CI validator treated existing `axios@>=...`, `brace-expansion@>=...`, `esbuild@>=...` version ranges as parent selectors due a broad `>` regex. Thus **frozen PNPM install, Next.js standalone build, and upstream unit tests NOT RUN**. Login production security (#192) **PASS**: `pnpm audit --prod` found **zero Moderate/High/Critical**, `PNPM_ADVISORY_RECORDS=0`, `ZITPLANE_PNPM_ZERO_MODERATE_HIGH_CRITICAL_PASS`. The seven parent-scoped glob/minimatch patches eliminated the two previously reported findings from the current registry audit, but their **build/runtime compatibility remains unverified**. After Run #88, narrowed the validator regex to match only `>glob` or `>minimatch` package selectors; **this correction was not tested by CI**. No second run. Full P05-SEC-02 acceptance remains **BLOCKED**; separately approve focused build/unit acceptance using the post-correction SHA. See `notes/P05-SEC-02.md` and `project/DEPENDENCY-SECURITY.md`.
+1 -1
View File
@@ -63,7 +63,7 @@ Implement one explicitly approved phase at a time. Keep out-of-scope files, exis
- Baseline `43eee54e7ad6b647e38491ac4dc28703547cf410`; prior Gitea Run #87: 3 PASS/1 FAIL, only 2 Login Moderate GHSA (`glob`/`minimatch`) remaining, Account audit 0.
- Exact Scope Lock: `auth/ui/v2/pnpm-workspace.yaml`, `pnpm-lock.yaml`, justified root or Login dependency manifests only, `.gitea/workflows/p05-security-acceptance.yml`, focused `tests/ci/**`, notes/project/docs and associated README/MINIFEST. **Login/auth/UI source, users/ui/**, Go backend, developer Compose, other packages and production READ-ONLY.** Preserve untracked AI_INSTRUCTIONS.md.
- Seven **exact parent-scoped** overrides: two glob10 parents → glob14.0.6, five minimatch10 parents → minimatch11.0.9. No broad global major override; pinned PNPM 10.30.3 metadata-only lockfile regeneration; compatibility subject to CI proof.
- Existing Gitea security workflow `workflow_dispatch.inputs.login_only=true`: skip previously accepted Account jobs; focused Login pinned frozen install, exact resolution contract, Nx production build + upstream Vitest, live fail-closed High/Critical and zero Moderate+ audit. **Exactly one CI cycle**, no local app builds/tests, no production deployment. Final evidence: `notes/P05-SEC-02.md` and `docs/P05-SEC-02.md`.
- **Actual Gitea Run #88**, tested source SHA `66cfed5a8b6bd5845b229c9934695e307f9a0775`, overall **FAILURE**: Account jobs correctly SKIPPED, Login live production audit **0 Moderate/High/Critical PASS**; Login build job FAIL before frozen install because new contract helper falsely treated existing `>=` semver ranges as parent overrides. No frozen install/build/units executed in this run. Corrected parser to recognize exact `>glob` or `>minimatch` selectors after the run, **not CI-verified**. Full security/compatibility acceptance **BLOCKED** pending separately approved focused CI; one run only, no local app builds/tests or deployment. Exact evidence: `notes/P05-SEC-02.md`, `docs/P05-SEC-02.md`.
## P05 - Full Integration (proposed, NOT approved)
Shared design system, production-safe Compose topology and verified Login/Account OIDC wiring. No live deployment; separate approval.
+1 -1
View File
@@ -26,4 +26,4 @@
Full update policy is in root [AGENTS.md](../AGENTS.md). A list of available docs is in [MINIFEST.md](MINIFEST.md).
For the seven targeted `glob`/`minimatch` remediation candidates and manual focused Login-only CI instructions see [P05-SEC-02.md](P05-SEC-02.md). For Gitea Run #87 findings see [P05-SEC-01.md](P05-SEC-01.md). For backend-only isolated runtime verification see [P05-CI-03.md](P05-CI-03.md); for initial full workflow and its limitations see [P05-CI-01.md](P05-CI-01.md). A green backend discovery smoke is not an authenticated user-login result.
For Run #88 zero-advisory security evidence, blocked Login build gate, post-run unverified CI parser correction and next focused acceptance see [P05-SEC-02.md](P05-SEC-02.md). For Gitea Run #87 findings see [P05-SEC-01.md](P05-SEC-01.md). For backend-only isolated runtime verification see [P05-CI-03.md](P05-CI-03.md); for initial full workflow and its limitations see [P05-CI-01.md](P05-CI-01.md). A green backend discovery smoke is not an authenticated user-login result.
+3
View File
@@ -89,3 +89,6 @@ On Gitea `vibtools/ZitPlane` open Actions → `ZitPlane P05-SEC-01 Dependency Se
## P05-SEC-02 — focused Login-only dependency security acceptance
Gitea `vibtools/ZitPlane` → Actions → **ZitPlane P05 Dependency Security Acceptance (SEC-01/02)** → manual Run workflow on `main`, set **`login_only=true`**. This option deliberately skips Account build/security jobs already accepted in Run #87. Only the frozen official Login workspace install, source-level seven-override contract, proto/client/Next standalone build + upstream unit suite and live production pnpm vulnerability gate execute. The expected security threshold is **0 Moderate, 0 High, 0 Critical**. The authenticated OIDC end-to-end flow and production deployment are **not** part of the dependency gate. See `docs/P05-SEC-02.md`.
**P05-SEC-02 verified outcome:** Gitea [Run #88](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/88) with `login_only=true` proved a clean Login production registry audit (**zero known Moderate/High/Critical**), while Account jobs were correctly skipped. The Login build/unit job did not reach frozen install because a new CI helper misparsed `>=` version-range selectors; a post-run source-only parser correction is **unverified**. **Do not deploy or claim Login dependency compatibility until the separately approved P05-SEC-02-A01 CI completes.** No local build/test is required.
+5
View File
@@ -40,3 +40,8 @@ Gitea Run #87 produced 3 PASS and 1 FAIL. The FAILED `security_login` job is a *
## P05-SEC-02 — scoped major transitive override troubleshooting
If a frozen Login install, Nx build or unit suite fails after this patch, verify the seven exact `parent@version>dependency` selectors in `auth/ui/v2/pnpm-workspace.yaml` and the matching `pnpm-lock.yaml` snapshots; compare with `notes/P05-SEC-02.md`. `glob@14` and `minimatch@11` are semver-major transitive substitutions, so historical parents expecting v10 APIs may need a separately approved compatible parent upgrade. **Do not** apply global overrides, blanket `pnpm audit --fix`, disable the strict zero-Moderate gate, or edit protected Login authentication code. Full security acceptance requires current CI frozen install/build/Vitest and registry audit, not just a clean lockfile.
## P05-SEC-02 Run #88: false-positive override validation (not a runtime failure)
Run #88 Login build job #190 stopped before `pnpm install --frozen-lockfile` when the new `transitive_override_contract.py` classified old `axios@>=...` / `brace-expansion@>=...` / `esbuild@>=...` selectors as extra parent overrides. The regex was narrowed **after** the run to accept only direct `>glob` or `>minimatch` overrides. **This fix has not been tested by CI.** Independent Login production security audit job #192 passed with **0 Moderate, 0 High, 0 Critical**; do not confuse that security result with an authenticated login, a production deployment, or a successful frozen build. A separate, explicitly approved Gitea CI run is required for complete Login dependency compatibility acceptance.