Three additional hardening fixes for the SPARQL subsystem, building on
PR #172:
1. Parser: replace hardcoded saturating_sub(6) with saved_pos variable.
The old backtrack assumed all update keywords are 6 chars, but LOAD,
DROP, and CLEAR are 4-5 chars, causing incorrect parse positions.
2. Executor: change default_graph from Option<&'a str> to Option<String>
and remove Box::leak calls in the GraphPattern::Graph handler. Each
GRAPH clause previously leaked a String allocation that was never freed.
3. Operators: wrap ruvector_sparql parse/execute/format in catch_unwind
so that panics from non-empty but malformed queries are converted to
PostgreSQL ERROR messages instead of crashing the backend.
Closes#167
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Create @ruvector/rvf-solver README with badges, API reference, type tables,
acceptance test modes, and three-loop architecture diagram
- Update @ruvector/rvf-node README with AGI methods section (indexStats,
verifyWitness, freeze, metric) and usage examples
Co-Authored-By: claude-flow <ruv@ruv.net>
- Create @ruvector/rvf-solver README with badges, API reference, type tables,
acceptance test modes, and three-loop architecture diagram
- Update @ruvector/rvf-node README with AGI methods section (indexStats,
verifyWitness, freeze, metric) and usage examples
Co-Authored-By: claude-flow <ruv@ruv.net>
- Add release-rvf-cli.yml: builds standalone binaries for Linux x64/ARM64,
macOS x64/ARM64, and Windows x64 on tag push (rvf-v*)
- Creates GitHub Release with all binaries and SHA256 checksums
- Update CLI README with install instructions for pre-built binaries,
examples/rvf/output/ usage guide, and full command reference
Co-Authored-By: claude-flow <ruv@ruv.net>
- Add release-rvf-cli.yml: builds standalone binaries for Linux x64/ARM64,
macOS x64/ARM64, and Windows x64 on tag push (rvf-v*)
- Creates GitHub Release with all binaries and SHA256 checksums
- Update CLI README with install instructions for pre-built binaries,
examples/rvf/output/ usage guide, and full command reference
Co-Authored-By: claude-flow <ruv@ruv.net>
Three fixes:
1. locking.rs: __errno_location is Linux-only; macOS uses __error().
Split the extern "C" declarations by target_os so rvf-runtime
compiles on both platforms.
2. build-rvf-node.yml: NAPI CLI outputs index.<platform>.node instead
of rvf-node.<platform>.node. Added rename step after build.
3. build-rvf-node.yml: darwin builds need -undefined dynamic_lookup
RUSTFLAGS so NAPI symbols resolve at runtime via Node.js.
Added CARGO_TARGET_*_APPLE_DARWIN_RUSTFLAGS env vars.
Co-Authored-By: claude-flow <ruv@ruv.net>
Three fixes:
1. locking.rs: __errno_location is Linux-only; macOS uses __error().
Split the extern "C" declarations by target_os so rvf-runtime
compiles on both platforms.
2. build-rvf-node.yml: NAPI CLI outputs index.<platform>.node instead
of rvf-node.<platform>.node. Added rename step after build.
3. build-rvf-node.yml: darwin builds need -undefined dynamic_lookup
RUSTFLAGS so NAPI symbols resolve at runtime via Node.js.
Added CARGO_TARGET_*_APPLE_DARWIN_RUSTFLAGS env vars.
Co-Authored-By: claude-flow <ruv@ruv.net>
The copy step was failing with "cp: 'X' and 'X' are the same file" because
committed binaries in npm/ subdirs matched the find pattern. Added -maxdepth 1
to only find freshly built files and realpath comparison before cp.
Co-Authored-By: claude-flow <ruv@ruv.net>
The copy step was failing with "cp: 'X' and 'X' are the same file" because
committed binaries in npm/ subdirs matched the find pattern. Added -maxdepth 1
to only find freshly built files and realpath comparison before cp.
Co-Authored-By: claude-flow <ruv@ruv.net>
The workspace member crates/rvf/rvf-adapters/claude-flow was listed in
Cargo.toml but gitignored, causing CI builds to fail with:
"failed to load manifest for workspace member rvf-adapters/claude-flow"
Co-Authored-By: claude-flow <ruv@ruv.net>
The workspace member crates/rvf/rvf-adapters/claude-flow was listed in
Cargo.toml but gitignored, causing CI builds to fail with:
"failed to load manifest for workspace member rvf-adapters/claude-flow"
Co-Authored-By: claude-flow <ruv@ruv.net>