Files
ruflo/plugins/ruflo-graph-intelligence
rUvandr 2bc73c0994 fix(deps): zod 4.6.7 in graph-intelligence and browser, time-boxed accepted entries for nested zod 3 (#4442) (#4444)
* fix(deps): zod 4.6.7 in graph-intelligence and browser; time-boxed accepted entries for nested zod 3 (#4442)

GHSA-mrhx-c7xc-m3w5 (zod <4.6.6) turned the supply-chain audit red for every PR.
Both projects' own zod dependency moves ^3.22.4 -> ^4.6.7; the only code change zod 4
needs is a key schema on z.record (7 calls). The regenerated locks are now consistent
with package.json (npm ci works). The audit still names zod because other packages
(@claude-flow/cli|hooks|security|plugin-gastown-bridge, agentic-flow) keep nested zod
3.25.76 copies; two time-boxed accepted entries (expire 2026-11-23, tracked in #4442)
cover those. Needs CODEOWNER review (policy file).

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(deps): pnpm lock follows the browser package's zod 4.6.7

The first commit changed v3/@claude-flow/browser/package.json but not v3/pnpm-lock.yaml,
so every 'pnpm install --frozen-lockfile' job failed with ERR_PNPM_OUTDATED_LOCKFILE.
Minimal edit: the browser importer's zod specifier/version and the /zod@4.6.7 package
block (registry integrity). Proved with a clean 'pnpm install --frozen-lockfile', then
pnpm -r build, browser tsc --noEmit and its tests (231 passed).

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: r <r@x>
2026-10-23 22:28:25 -04:00
..

ruflo-graph-intelligence

Graph Intelligence Engine for RuFlo: single-entry personalized PageRank, streaming delta updates and witness-signed reasoning artifacts (ADR-123), built on sublinear-time-solver. Library: npm test, npm run build.

As a mod (0.2.0-alpha.6)

A function-hook mod ships beside the skills (ADR-445 pattern). Needs a Claude Code with mods (2.1.287+); older builds ignore it. No network, no process spawning: it only tightens calls to this plugin's own tools and reads through tools already connected.

Piece Default What it does
Write guard on Refuses a call to a sublinear/* (sublinear_*) tool whose input holds a key, token or password: graph, node and seed ids land in signed artifacts that federation can copy.
/graph-mod — status, scan <text>, tools (lists connected graph-intelligence tools); answered locally, no model call.
Status file — .claude-flow/graph-mod/status.json (version, updatedMs, mode flags and counters); written at session start and when a counter changes.

Options (userConfig): guard on|off. Refusals never echo the value they matched.

bash plugins/ruflo-graph-intelligence/scripts/smoke.sh   # stages the mod and runs claude plugin test (7 tests); the engine's own tests: npm test