Repository navigation
Description
Parent: #112
Blocks: #114
Operator outcome
Repository changes that do not modify dependencies can complete the required CI
gate without being blocked by nondeterministic or unidentifiable npm audit
metadata.
The production dependency audit must continue to fail closed for genuine,
unexcepted high or critical findings.
Evidence
PR #114:
- Base:
b89eb8a497a2c86e66d4f08c98e0c97f5d05f1ff - Head:
8e9300f4948dfab0d81cf7b9d8d9d97ce5d8da9e - CI workflow run:
31055340009
The original run and a failed-jobs rerun produced the same result:
production-audit: blocking finding for 'minimatch' (severity=high)
has no advisory url — cannot assign a stable identity for exception matching
All other CI jobs passed, including:
- syntax and source-of-truth checks;
- web unit tests;
- core, rules, runtime, dashboard, executor, and integration tests;
- application, dashboard, executor, and validator image builds;
- release-tooling validation;
- DCO;
- CodeQL.
PR #114 changes only:
README.md;packages/web/docker/docker-compose.yml;packages/web/tests/unit/quick-start-contract.test.js.
It does not change dependencies, the lockfile, the audit evaluator, or the
exception registry.
Classification
P1 release-pipeline blocker
The failure prevents an otherwise scope-clean product-readiness change from
passing required CI. The underlying security finding remains unclassified
until its dependency path and advisory identity are established.
This classification must not be interpreted as dismissing or excepting the
reported high-severity finding.
Investigation scope
Establish, with retained evidence:
-
The exact
npm, Node.js, registry, and audit-report versions involved. -
The raw
npm audit --omit=dev --jsonrecord forminimatch. -
The complete production dependency path or paths that introduce the
finding. -
Whether the entry is:
- a direct advisory object;
- a meta-vulnerability containing only string
viareferences; - incomplete registry metadata;
- an npm audit schema/behavior change;
- or a genuine unsupported audit-report shape.
-
Whether the same result reproduces from the frozen
masterbase with the
same clean install and tool versions. -
The correct stable security identity, when one exists.
-
Whether the affected production dependency can be safely upgraded or
removed.
Permitted remediation categories for proposal
The investigation may propose one of these outcomes, but implementation is not
authorized by creating this issue:
- upgrade or remove the affected production dependency;
- correctly traverse meta-vulnerability references to an underlying advisory;
- support a verified newer npm audit schema without weakening fail-closed
behavior; - distinguish a registry or npm operational-metadata failure from a confirmed
vulnerability finding while retaining a blocking result; - add a narrowly scoped, expiring exception only when an exact advisory,
package, range, owner, justification, and tracking issue are available.
Required security properties
Any proposed remediation must preserve all of the following:
- high and critical production findings remain blocking unless exactly covered
by an active governed exception; - unknown audit schemas fail closed;
- unidentifiable security findings are not silently ignored;
- exceptions remain exact, reviewable, owned, time-bounded, and non-stale;
- no wildcard advisory, package, or version-range matching;
- evaluator positive and negative tests cover the corrected behavior;
- the raw audit evidence used for the fix is retained or reproducible.
Explicit exclusions
- No change to PR fix(product-readiness): make local quick start reproducible #114’s three-file product scope
- No dependency upgrade without evidence and separate authorization
- No blanket audit suppression
- No severity downgrade
- No wildcard or indefinite exception
- No disabling the production audit job
- No
continue-on-error - No merge bypass for fix(product-readiness): make local quick start reproducible #114
- No production deployment
- No governed-policy work
Acceptance evidence
- The failure is reproduced or disproved on the frozen
masterbaseline using
recorded tool versions. - The exact dependency path and audit-report shape are documented.
- The remediation addresses the actual cause rather than matching the error
string. - Evaluator unit and negative tests pass.
npm audit --omit=devevaluation behaves deterministically for the retained
fixture.- A clean CI run passes
production-dependency-audit. - All other CI, DCO, CodeQL, source-of-truth, and secret-scanning gates remain
green. - PR fix(product-readiness): make local quick start reproducible #114 remains free of unrelated dependency-audit changes.
Authorization boundary
Creating this issue authorizes tracking and evidence collection only.
It does not authorize:
- branch creation;
- dependency or lockfile changes;
- evaluator changes;
- exception-registry changes;
- commits or push;
- pull-request creation;
- merging fix(product-readiness): make local quick start reproducible #114;
- deployment.
Activity
gitwire-hq commentedon Sep 5, 2026
⏰ GitWire Stale Warning
This issue has had no activity for 30 days.
It will be automatically closed in 30 days if no further activity occurs.
To keep it open, leave a comment or push an update.
Alajmah commentedon Nov 22, 2026
Coverage gap: the production dependency audit does not cover the validator image
Recorded per the maintainer's review of 2026-11-22 (issue #425). No code change; closing the gap needs its own authorization.
The gap
The
production-dependency-auditjob runsnpm audit --omit=devon the root tree and fails on unexcepted high or critical findings. It assumes that production images omit development dependencies. The validator image does not:validator-image/Dockerfilecopies the rootpackage.jsonandpackage-lock.jsonand runsnpm ci --include=dev— on purpose, because lint and test need the tooling.That is the current state.
handlebars4.7.9 (Dependabot #85, #86, both critical) is in the root lockfile's development tree. The pinned validator image,sha256:e2c10a61…, most likely carries it: the image was created 2026-06-25, and the 27 commits that changed the lockfile from 2026-05-31 to 2026-07-19 all lock the same versions. This is an inference from the Dockerfile and the lockfile history; the image was not inspected directly.This is a limit of the gate's coverage model, not of its thresholds. A green run of
npm audit --omit=devdoes not show that the validator image is free of packages classified as development.What would close it — options, none authorized
--omit=dev, with its own exception registryRelated
handlebarsin the root lockfile. It changes no image; the pinned validator image keeps its baked-in copy until a separate change-controlled rebuild.Alajmah commentedon Nov 22, 2026
Second instance of the coverage gap: the dashboard image is not built from the lockfile
Recorded 2026-11-22, read-only. The trigger was the maintainer's review of #494, which found that
docs/Dockerfileinstalls before the lockfile is copied. Checking the other image builds found the same pattern in the dashboard, where it matters more. No code change; every fix below needs its own authorization.The finding
Dockerfile)package.jsonandpackage-lock.json, thennpm ci --omit=dev --ignore-scripts(lines 9–16)validator-image/Dockerfile)npm ci --include=dev(lines 37–44)packages/web-dashboard/Dockerfile)package.jsonalone, thennpm install(lines 4–5)docs/Dockerfile)package.jsonalone, thennpm install(lines 4–5); the lockfile arrives only withCOPY . ./on line 6packages/web-dashboarddirectory alone (publish-release-images:docker build … packages/web-dashboard). That directory has no lockfile; the repository's is at the root, outside the build context.npm installresolves on build day. Six of its nine direct dependencies are declared as ranges, and every transitive dependency is resolved the same way.packages/bot/Dockerfile,packages/demo-dashboard/Dockerfileandplugin-sandbox/Dockerfile. Their build contexts and lockfiles were not checked.Evidence from the running dashboard container
Read from the production dashboard container at release
f56b86f(image55517710b576), read-only. The standalone Next.js output keeps only a few package manifests, so the sample is small: 16 package versions.@next/envsemversemver(nested undersharp)Three of sixteen versions in the image do not exist in the lockfile. The image was not built from it.
The lockfile does not describe the dashboard's Next.js package
A lock-pinned dashboard build is not a matter of copying the lockfile into the context. The root lockfile's entry for the dashboard's
nextis stale:packages/web-dashboard/node_modules/nextnext@16.4.6declaresversion@next/env@next/swc-*(eight platform packages)An
npm cifrom this lockfile would pairnext16.4.6 with@next/env16.3.3. The running image has the consistent pair, 16.4.6 with 16.4.6, only because its build ignores the lockfile.What this means
npm audit --omit=devon the root lockfile, and Dependabot reads the same file. Neither describes the dashboard image. The gap recorded in the comment above for the validator image — audit green, image different — has a second instance here.docs-buildjob install. The docs image ignores it untildocs/Dockerfileis changed.npm ci, and build the image once to prove it. The dashboard fix is larger, because the lockfile's dashboard subtree must be regenerated first.Status
docs/Dockerfilefixpackages/web-dashboard/Dockerfilefix and the lockfile regeneration it needs