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>