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
@@ -16,6 +16,6 @@ No real credentials or production domains are used. Never print bootstrap PATs,
- `security_advisory_gate.py` (P05-SEC-01) takes npm or pnpm registry audit JSON, rejects missing/errored/inconsistent metadata and requires **zero Moderate/High/Critical findings**. It is independent of the existing HIGH+ audit command and `advisory_triage.py` detailed advisory ID report. **Gitea Run #87** proved Account audit 0 and Login audit **2 Moderate** (`glob`, `minimatch`); strict Login gate correctly FAILED. Dedicated `.gitea/workflows/p05-security-acceptance.yml` is manual only; frozen installs/builds are CI-only and passed 1219/1219 Login unit regressions.
- `transitive_override_contract.py` (P05-SEC-02) validates exactly seven parent-scoped PNPM override selectors, absence of known advisory-affected glob/minimatch lock entries, preserved importer structure and each exact patched parent resolution. This is **source-only** and not a live security audit; still require strict Gitea registry `security_advisory_gate.py`, frozen pnpm install, Nx production build and unit suite. Trigger the existing Gitea security workflow with manual `login_only=true`; Account build/security jobs should be skipped.
- `transitive_override_contract.py` (P05-SEC-02) validates seven exact parent-scoped PNPM overrides, lock/importer consistency and absence of affected glob/minimatch versions. **Run #88 failed in this helper before pnpm frozen install** because its first regex also matched existing `>=` version-range override keys. Post-run regex restricted to `>glob`/`>minimatch` parent selectors, **not CI-tested**; next separately approved focused run required. The independent Run #88 live production advisory audit found 0 Moderate/High/Critical. Account jobs skipped as expected with `login_only=true`.
Add new CI checks and update `MINIFEST.md`, `project/`, `docs/`, and `notes/` in the same approved phase.
+1 -1
View File
@@ -27,7 +27,7 @@ EXPECTED = {
def overridden(data: str) -> dict[str, str]:
found: dict[str, str] = {}
for line in data.splitlines():
match = re.match(r"^ ['\"]?([^'\"#][^:]*>[^:'\"]+)['\"]?: ['\"]?([^'\" #]+)", line)
match = re.match(r"^ ['\"]?([^'\"#:]+>(?:glob|minimatch))['\"]?: ['\"]?([^'\" #]+)", line)
if match:
found[match.group(1)] = match.group(2).rstrip("'\":")
return found