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(audit): register #2721's test-only hook env vars as escape hatches

ruvnet0a110aee9fbd
diff --git a/scripts/audit-env-var-precedence.mjs b/scripts/audit-env-var-precedence.mjs
index fb18a5fa49..773198ec34 100644
--- a/scripts/audit-env-var-precedence.mjs
+++ b/scripts/audit-env-var-precedence.mjs
@@ -54,6 +54,8 @@ const KNOWN_ESCAPE_HATCHES = new Set([
// ── CI / test escape hatches ────────────────────────────────────────────────
'CLAUDE_FLOW_DISABLE_BRIDGE', // CI/test: force raw sql.js path β€” intentionally no CLI flag
'RUFLO_HOOK_SKIP_NPX', // CI: suppress cold-install latency in smoke tests
+ 'RUFLO_HOOK_CLI_OVERRIDE', // #2721 test-only: point plugins/ruflo-core/scripts/ruflo-hook.cjs at a local CLI build instead of the ruflo/claude-flow/npx PATH probe. Hook scripts have no CLI-flag surface (invoked by hooks.json, never a user-typed command)
+ 'RUFLO_HOOK_DEBUG_STDOUT', // #2721 test-only: surface the invoked CLI's stdout/stderr from ruflo-hook.cjs instead of swallowing it, so test-hooks.mjs can assert on recorded values. Same no-CLI-surface reasoning as RUFLO_HOOK_CLI_OVERRIDE above β€” production never sets this
'RUFLO_SUBLINEAR_NATIVE', // Manual override for native vs WASM sublinear β€” CI/perf knob
'RUFLO_METAHARNESS_CACHE_BASE', // CI/test seam: relocates the ~/.ruflo pinned-cache root in metaharness smoke tests β€” intentionally env-only, plugin scripts have no CLI-flag surface
'RUFLO_FUNNEL', // Read inside the generated hook-handler.cjs (ADR-312/313 rate-limit nudge), not a typed CLI invocation β€” no command surface to attach a flag to