Files
ruflo/plugins/ruflo-adr/scripts/lib
Akash BhatandrUv cd89db4f08 fix(ruflo-adr): make ADR indexing work on Windows (#2413) (#4330)
* fix(ruflo-adr): find ADRs on Windows and report POSIX paths (#2413)

findAdrs matched literal /docs/adr/ substrings, so join()'s backslashes on Windows silently produced 0 ADRs. Match either separator and report the file field relative to the scan root with forward slashes so bySource and stored records are stable across platforms.

* fix(ruflo-adr): spawn npm npx-cli.js on Windows (#2413)

spawnSync cannot launch npx.cmd without a shell, so the no-installed-CLI fallback returned ENOENT and every store failed on Windows. Resolve npm's npx-cli.js (npm_execpath, PATH shims, or Node's bundled npm) and run it with process.execPath so argv stays shell-safe.

---------

Co-authored-by: rUv <ruv@ruv.net>
2026-10-21 13:48:41 -04:00
..