mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-05 06:56:22 +09:00
Item 1: dist/src/ruvector/agent-wasm.js imports @ruvector/rvagent-wasm but the CLI never declared it, so a global install never fetched it and every wasm_gallery/agent tool failed with a raw ERR_MODULE_NOT_FOUND trace. It is now an optional dependency (^0.1.0, 620 KB, no install scripts, MIT/Apache) and initAgentWasm() reports a missing package as 'not installed' with the install command. Item 4: 'patterns learned' always equalled trajectories because recordTrajectory() bumped the counter for every successful step even when LocalReasoningBank.store() merged it into an existing pattern. store() now returns whether a new pattern was added and only that is counted. Tests first: __tests__/patterns-learned-dedup-3979.test.ts (13 identical successes counted 13) and __tests__/agent-wasm-not-installed-3979.test.ts both fail on main. pnpm-lock.yaml: only the two rvagent-wasm hunks (frozen-lockfile clean). Co-Authored-By: RuFlo <ruv@ruv.net>