🌊 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
test(ruflo-adr): smoke step 20 counts spawnCliSync() memory calls too (#3558)
Mr. Mak32b84c04cd4d
diff --git a/plugins/ruflo-adr/scripts/smoke.sh b/plugins/ruflo-adr/scripts/smoke.shindex 604d984b37..234807471c 100755--- a/plugins/ruflo-adr/scripts/smoke.sh+++ b/plugins/ruflo-adr/scripts/smoke.sh@@ -165,12 +165,13 @@ grep -q "from './lib/parse-adrs.mjs'" "$ROOT/scripts/reindex.mjs" || miss="$miss# .git/.swarm ancestor of ROOT) so a scan root can differ from the memory-db root;# either an explicit ROOT or DB_ROOT satisfies the "not the inherited process cwd"# contract this step checks.-step "20. import.mjs + verify.mjs pass cwd: ROOT/DB_ROOT to every npx memory subprocess"+step "20. import.mjs + verify.mjs pass cwd: ROOT/DB_ROOT to every memory subprocess (npx or the installed CLI, #3558)"miss=""-imp_calls=$(grep -c "spawnSync('npx'" "$ROOT/scripts/import.mjs")+# #3558: the memory calls go through spawnCliSync() (installed CLI first, npx fallback); count both shapes.+imp_calls=$(grep -c "spawnSync('npx'\|spawnCliSync(" "$ROOT/scripts/import.mjs")imp_cwd=$(grep -c "cwd: ROOT\|cwd: DB_ROOT" "$ROOT/scripts/import.mjs")[[ "$imp_calls" -gt 0 && "$imp_cwd" -ge "$imp_calls" ]] || miss="$miss import.mjs($imp_cwd/$imp_calls)"-ver_calls=$(grep -c "spawnSync('npx'" "$ROOT/scripts/verify.mjs")+ver_calls=$(grep -c "spawnSync('npx'\|spawnCliSync(" "$ROOT/scripts/verify.mjs")ver_cwd=$(grep -c "cwd: ROOT\|cwd: DB_ROOT" "$ROOT/scripts/verify.mjs")[[ "$ver_calls" -gt 0 && "$ver_cwd" -ge "$ver_calls" ]] || miss="$miss verify.mjs($ver_cwd/$ver_calls)"[[ -z "$miss" ]] && ok || bad "$miss"