docs(ci): plan P05 SEC-02 A01 focused Login acceptance

This commit is contained in:
Vib Tools committed 2026-11-22 08:30:02 -08:00
1 parent 7655dbdcb4
commit ff4c58ed86
12 files changed
+92 -15

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ This is the **developer-focused implementation history**. `notes/CHANGELOG.md` i
| 2026-11-22 | P05-CI-03 | Dedicated manual backend-only CI acceptance, guarded disposable Compose, persistence/ready/JWKS probes and owned-state cleanup | **Gitea Run #86 SUCCESS** on `03fb589`; all steps PASS; `notes/P05-CI-03.md` |
| 2026-11-22 | P05-SEC-01 | Next.js/OTel minimal security manifests, reproducible locks, dedicated CI and strict Moderate+ gates | Run #87: Account/Login build PASS, Login Vitest 1219/1219, Account audit 0, Login 2 Moderate open; `notes/P05-SEC-01.md` |
| 2026-11-22 | P05-SEC-02 | Seven parent-targeted glob/minimatch patched resolutions, PNPM lockfile metadata-only, manual Login-only CI and post-run validator fix | Run #88: strict Login audit 0 findings PASS, Login build job blocked before install by parser false-positive; post-run fix untested. `notes/P05-SEC-02.md` |
| 2026-11-22 | P05-SEC-02-A01 | Re-accept already corrected CI-only contract with frozen pnpm, official Login build/units and strict registry audit; no new application code | Plan: `notes/P05-SEC-02-A01.md`; one focused Gitea run pending |
## Required entry for each future change
+7
View File
@@ -110,3 +110,10 @@ A single manual run is authorized; Git source commit/push precedes dispatch, and
## Run #88 and CI helper parsing defect — acceptance remains blocked
Gitea Run #88 source `66cfed5`, exact tree `9a1d2abd`, intentionally skipped Account jobs #189/#191. Login security #192 **PASS** (zero Moderate/High/Critical). Login build #190 **FAIL before frozen install** in `transitive_override_contract.py` due misclassification of existing `>=` version-range keys as parent-scoped overrides. Build/unit steps were **skipped**, not failed application regressions. Narrow post-run regex correction now explicitly accepts only `>glob` / `>minimatch`; **unverified until a newly approved run**. One focused run only; follow-up P05-SEC-02-A01 should run *only* Login frozen/build/unit with security gate, under a separately approved baseline.
## P05-SEC-02-A01 — final frozen-build acceptance scope
Run #88 (`66cfed5`) proved strict Login production vulnerability audit 0 but *did not execute* frozen PNPM install, Nx standalone build or Vitest: new CI-only `overridden()` parser previously misread `axios@>=` etc. Corrected suffix-only `>glob`/`>minimatch` version is already committed at baseline `7655dbd`; no further source/CI changes are planned.
One manual `p05-security-acceptance.yml` dispatch with `login_only=true` tests this existing code; Account build/security jobs intentionally skipped and previously accepted (Run #87). Login job: exact seven parent→child contract, PNPM v10.30.3 frozen install, Nx original proto/client/Login standalone build and upstream Vitest; Login security job: fail-closed live registry zero Moderate/High/Critical. No local tests/build/Docker or production usage; exact CI job outcomes recorded under `notes/P05-SEC-02-A01.md`. If a gate fails, this acceptance remains BLOCKED and no unapproved repeat run occurs.
+5
View File
@@ -77,3 +77,8 @@ The seven *semver-major transitive* substitutions require runtime compatibility
**Login frozen/build/unit job #190 FAIL before install:** newly written `tests/ci/transitive_override_contract.py` treated historical `axios@>=1.0.0`, `brace-expansion@>=4.0.0`, and `esbuild@>=0.27.3` version-range selectors as new parent overrides because the regex matched any `>`. That is a **validator false-positive**; it does **not** establish pinned PNPM frozen install or Nx/Next/1219-unit compatibility with the semver-major overrides. The helper regex was then narrowed to match **only terminal `>glob` / `>minimatch` selectors**. This final narrow correction has **NOT been executed in CI**, and there was no second run.
**Verdict:** advisory clearance **VERIFIED** in Run #88; full dependency compatibility/phase acceptance **BLOCKED** pending **P05-SEC-02-A01** isolated Login frozen install, production build, upstream unit suite, exact contract and retained zero-advisory gate. No authentication/UI/backend/Account source change or production deployment. Do not assert that historical Run #87's successful builds validate the newly overridden glob/minimatch majors.
## P05-SEC-02-A01 — acceptance of existing scoped dependency resolution (pending)
This phase **does not modify** `auth/ui/v2/pnpm-workspace.yaml`, `pnpm-lock.yaml` or any manifest. The seven original P05-SEC-02 patch parent selectors remain pinned to `glob@14.0.6` and `minimatch@11.0.9` without global major overrides. Run #88 established **zero known Moderate/High/Critical** advisories from the live Login production audit; only compatible frozen install/build/upstream-unit confirmation was missing due a CI helper false-positive. Acceptance of this existing dependency graph requires a successful Gitea Login-only run on the corrected parser baseline or its pre-run docs commit, with actual frozen PNPM, official Next standalone build and Vitest results. An audit PASS by itself is not runtime E2E.
+17 -15
View File
@@ -1,25 +1,25 @@
# Git-tracked source inventory ? exact paths
**Snapshot:** 2026-11-22, P05-SEC-02 Git-tracked source inventory. Gitea Run #88 tested remote commit `66cfed5`, found zero Login Moderate/High/Critical advisories but build job stopped on new CI helper false-positive. Post-run parser fix is **not CI-verified**; final docs/source SHA differs from tested Run #88 SHA.
**Snapshot:** 2026-11-22, P05-SEC-02-A01 source/CI plan from baseline `7655dbd`. Gitea acceptance for corrected parser **pending**.
**Git-tracked paths: 732.** Untracked `AI_INSTRUCTIONS.md` and ignored secrets excluded.
**Git-tracked paths: 734.** Untracked `AI_INSTRUCTIONS.md` and ignored secrets excluded.
This is a complete Git path inventory, not verification of interactive OIDC, application behavior or production. See `project/DEPENDENCY-SECURITY.md` and `notes/P05-SEC-02.md`.
This file inventories actual Git-tracked file paths; it does not prove production/interactive OIDC or CI runtime. See `notes/P05-SEC-02-A01.md` and `project/DEPENDENCY-SECURITY.md`.
| Group | Paths | Responsibility |
| --- | ---: | --- |
| `(repository root)` | 6 | Repository root |
| `.gitea` | 7 | Manual Gitea workflows |
| `auth` | 639 | Official Login V2 source and scoped PNPM dependency metadata |
| `core` | 2 | Backend dev orchestration |
| `deployment` | 2 | Developer Compose |
| `docs` | 17 | User/operator guidance |
| `notes` | 9 | Scope and audit evidence |
| `packages` | 1 | First-party placeholder |
| `project` | 11 | Developer function/file/security maps |
| `scripts` | 1 | First-party placeholder |
| `tests` | 13 | Focused CI tooling |
| `users` | 24 | Read-only Account Portal |
| `auth` | 639 | Original official Login V2 plus verified security dependency metadata |
| `core` | 2 | Backend developer orchestration |
| `deployment` | 2 | Dev-only Compose |
| `docs` | 18 | User/operator guidance |
| `notes` | 10 | Exact pre-change scope/evidence |
| `packages` | 1 | Placeholder |
| `project` | 11 | Development architecture/security/function maps |
| `scripts` | 1 | Script placeholder |
| `tests` | 13 | Focused CI-only contracts |
| `users` | 24 | Account Portal read-only |
## Exact tracked paths
@@ -694,7 +694,7 @@ This is a complete Git path inventory, not verification of interactive OIDC, app
- `deployment/README.md`
- `deployment/docker/compose.backend.dev.yaml`
### docs ? 17 files
### docs ? 18 files
- `docs/ARCHITECTURE.md`
- `docs/DEVELOPMENT.md`
@@ -707,6 +707,7 @@ This is a complete Git path inventory, not verification of interactive OIDC, app
- `docs/P05-CI-02.md`
- `docs/P05-CI-03.md`
- `docs/P05-SEC-01.md`
- `docs/P05-SEC-02-A01.md`
- `docs/P05-SEC-02.md`
- `docs/PHASES.md`
- `docs/README.md`
@@ -714,7 +715,7 @@ This is a complete Git path inventory, not verification of interactive OIDC, app
- `docs/TROUBLESHOOTING.md`
- `docs/USER-GUIDE.md`
### notes ? 9 files
### notes ? 10 files
- `notes/CHANGELOG.md`
- `notes/DOCS-01.md`
@@ -723,6 +724,7 @@ This is a complete Git path inventory, not verification of interactive OIDC, app
- `notes/P05-CI-02.md`
- `notes/P05-CI-03.md`
- `notes/P05-SEC-01.md`
- `notes/P05-SEC-02-A01.md`
- `notes/P05-SEC-02.md`
- `notes/README.md`