mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-09-14 14:01:28 +08:00
9c511cf035
ADR-095 G7 partial close-out. Two of six previously-disabled AgentDB controllers are now wired into the registry on post-init: - gnnService — agentdb's graph neural net service (constructs no-arg) - rvfOptimizer — RVF format optimizer (constructs no-arg) Both load via direct file:// URL imports from the cli's bundled agentdb dist tree, sidestepping agentdb's strict exports field (which doesn't expose these subpaths). The earlier attempt to patch agentdb's exports field via postinstall didn't work reliably across pnpm-hoisted multi-version trees — file URL imports avoid that hoisting problem entirely. Postinstall script extracted to v3/@claude-flow/cli/scripts/postinstall.cjs (was inlined as a one-liner in package.json). Added scripts/ to the files array so it ships in the published tarball. The script also walks all reachable agentdb installations (top-level + .pnpm/agentdb@* + deep node_modules) and applies the existing #1721 sibling-copy fix to every one — covers npm/pnpm/yarn install layouts. Remaining four disabled controllers (mutationGuard, attestationLog, guardedVectorBackend, graphAdapter) stay off pending per-controller activation ADRs because each constructor needs config / key material / db handle the registry doesn't safely pass blindly. Tracked in ADR-095 G7. Build clean. Co-Authored-By: RuFlo <ruv@ruv.net>
5.9 KiB
Executable File
5.9 KiB
Executable File