Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 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

fix(witness): make WITNESS_ED25519_ROOT actually resolve @noble/ed25519 (#3200) (#3276)

Ayubu Kayange1c594c7714f2
diff --git a/plugins/ruflo-core/scripts/witness/lib.mjs b/plugins/ruflo-core/scripts/witness/lib.mjs
index 16e9b07c28..c1212680b2 100644
--- a/plugins/ruflo-core/scripts/witness/lib.mjs
+++ b/plugins/ruflo-core/scripts/witness/lib.mjs
@@ -60,7 +60,11 @@ function loadEd25519(probeRoots) {
// pnpm's isolated layout (where transitive deps don't hoist to the
// workspace root) still resolves @noble/ed25519. Callers don't need
// to know about this — the function just probes more places.
+ // WITNESS_ED25519_ROOT is the escape hatch the thrown error below
+ // advertises — it must actually be probed, first, or the message lies.
+ const envRoot = process.env.WITNESS_ED25519_ROOT;
const expanded = [
+ ...(envRoot ? [envRoot] : []),
...probeRoots,
...probeRoots.flatMap(r => [
join(r, 'v3/@claude-flow/cli'),