Skip to content

refactor: extract packages/agentdb to dedicated ruvnet/agentdb repo#152

Merged
ruvnet merged 1 commit intomainfrom
refactor/agentdb-submodule
May 6, 2026
Merged

refactor: extract packages/agentdb to dedicated ruvnet/agentdb repo#152
ruvnet merged 1 commit intomainfrom
refactor/agentdb-submodule

Conversation

@ruvnet
Copy link
Copy Markdown
Owner

@ruvnet ruvnet commented May 6, 2026

Splits agentdb into ruvnet/agentdb as a git submodule. CI workflows updated for submodules: recursive. ui/ folder holds the former ruvnet/agentdb-site (env scrubbed, history wiped). Verified: 23/23 tests pass, build clean. See full description: daa521a

Splits the agentdb npm package source out of this monorepo into its own
repository (ruvnet/agentdb) and consumes it back as a git submodule at
packages/agentdb/. Also folds in the previously-separate marketing site
(ruvnet/agentdb-site) into the new repo under ui/ for one-stop maintenance.

What changed:
- packages/agentdb/ — was a regular tracked directory; now a git
  submodule pinned at ruvnet/agentdb@3e4a349. The published agentdb
  versions on npm are sourced from this submodule going forward.
- .gitmodules — adds the packages/agentdb entry pointing at
  github.com/ruvnet/agentdb on branch main.
- .github/workflows/agentdb-docker-test.yml — actions/checkout@v4 now
  uses `with: submodules: recursive` so CI sees the agentdb tree.
- .github/workflows/test-agentdb.yml — same patch.

Migration of ruvnet/agentdb-site:
- Renamed to ruvnet/agentdb (re-claiming the name; old name now
  redirects).
- ui/.env scrubbed (contained VITE_SUPABASE_PUBLISHABLE_KEY which is
  Supabase's public anon key, but env files don't belong in the repo
  regardless). Replaced with ui/.env.example + an entry in
  ui/.gitignore.
- Full git history wiped (orphan-branch reset) — the previous AI-gateway
  history doesn't match the new content.

Verification:
- agentic-flow build clean (only pre-existing uuid types warning).
- 23/23 issue-fixes vitest tests still pass with the submodule in place.
- packages/agentdb/package.json repository / homepage / bugs all point
  at the new ruvnet/agentdb repo.
- npm publish flow unchanged (cd packages/agentdb && npm publish).

For consumers cloning agentic-flow:
  git clone --recurse-submodules https://github.com/ruvnet/agentic-flow
  # or after a regular clone:
  git submodule update --init --recursive

Co-Authored-By: claude-flow <ruv@ruv.net>
@ruvnet ruvnet merged commit 61f5841 into main May 6, 2026
8 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant