🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
fix(verify): actionable error when @noble/ed25519 isn't installed (#1880) (#1999)
rUvdafc567d8292
diff --git a/plugins/ruflo-core/scripts/witness/verify.mjs b/plugins/ruflo-core/scripts/witness/verify.mjsindex 48d27aefb1..830f2d705b 100644--- a/plugins/ruflo-core/scripts/witness/verify.mjs+++ b/plugins/ruflo-core/scripts/witness/verify.mjs@@ -100,8 +100,28 @@ async function verifySignature(witness, repoRoot) {catch (e) { probeErr = e; }}if (!ed) {- console.error(`verify.mjs: could not load @noble/ed25519 from any of:\n ${probes.join('\n ')}\n last error: ${probeErr?.message ?? '?'}`);- return { manifestHashOk: false, publicKeyReproducible: false, signatureValid: false };+ // ruflo#1880 — the scheduled 12h verification has bounced off this+ // 6+ times. Spell out the fix in the error message instead of+ // leaving the operator to chase it.+ console.error(+ `verify.mjs: could not load @noble/ed25519 from any of:\n` ++ ` ${probes.join('\n ')}\n` ++ ` last error: ${probeErr?.message ?? '?'}\n` ++ `\n` ++ `Fix: from the repo root, run \`npm install\` (the dep is declared\n` ++ `in the root package.json under @noble/ed25519). If your runner\n` ++ `is a source-only checkout, your verification pipeline must run\n` ++ `\`npm ci && npm run build\` before invoking this script. See #1880\n` ++ `for the full diagnosis.`+ );+ return {+ manifestHashOk: false,+ publicKeyReproducible: false,+ signatureValid: false,+ // Machine-parseable hint for the scheduled runner so it can+ // distinguish "missing dep" from a real signature failure.+ reason: 'noble-ed25519-not-installed',+ };}ed.etc.sha512Sync = (...m) => { const h = createHash('sha512'); for (const x of m) h.update(x); return h.digest(); };