ruvnet / ruvnet/agentic-flow

agentdb-service.js uses dead pre-extraction relative imports (PR #152 Folge)

Open
#175 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
812
Forks
175
Avg merge
2m
Merged PRs (30d)
3

Description

Bug

agentic-flow/dist/services/agentdb-service.js uses relative imports ../../../packages/agentdb/src/index.js (+ RVFOptimizer.js, factory.js, MutationGuard.js) that don't ship in the published npm package (only dist/ ships). After PR #152 extracted packages/agentdb to a dedicated ruvnet/agentdb repo as a git submodule, these paths are dead in npm installs.

Impact

AutopilotLearning.initialize() falls back to in-memory (agentdb-service catches the import failure silently). No published agentdb version (1.6.1 / 2.0 / 3.0-alpha) exports the expected names (AgentDB, RVFOptimizer, createBackend, MutationGuard) — they use a different controller API (createDatabase, ReflexionMemory, SkillLibrary, ReasoningBank).

Fix options

  1. Ship packages/agentdb/src/ in the npm package, OR
  2. Rewrite the 4 relative imports to use the published agentdb package API.

Context

Discovered while fixing ruflo autopilot learning. Workaround in ruflo: a ruflo-native learning adapter bypasses the broken path.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with agentic-flow/dist/services/agentdb-service.js and inspect its four relative imports into packages/agentdb/src/. Compare the expected exports with the published agentdb APIs, then determine which fix option fits the package layout. Done means AutopilotLearning.initialize() uses the intended AgentDB integration from an npm install instead of silently falling back to in-memory storage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.