Files
ruflo/plugins/ruflo-core/scripts
rUvandReuven dafc567d82 fix(verify): actionable error when @noble/ed25519 isn't installed (#1880) (#1999)
The 12-hour scheduled verification has bounced off the same failure
6+ times — `verify.mjs` can't load `@noble/ed25519` because the
scheduled runner is a source-only checkout with no `npm install`
step. The root package.json already declares the dep; this is purely
a pipeline problem.

Until the scheduled runner is fixed (add `npm ci && npm run build`),
make the error message itself spell out the exact remediation:

  Fix: from the repo root, run `npm install` (the dep is declared
  in the root package.json under @noble/ed25519). If your runner
  is a source-only checkout, your verification pipeline must run
  `npm ci && npm run build` before invoking this script.

Also returns a `reason: 'noble-ed25519-not-installed'` field so the
scheduled runner can distinguish "missing dep" from a real
signature failure programmatically without grepping the error.

Pure error-message + structured-output change. No behavior change
when the dep IS installed.

Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
2026-05-14 21:24:40 -04:00
..