Sync stores from definitions config (bootstrap on fresh clone)
Syncs knowledge stores from definitions config to recreate team stores on fresh clones.
/plugin marketplace add blueraai/bluera-knowledge/plugin install bluera-knowledge@blueraSync stores from the git-committable definitions config. This is useful when:
.bluera/bluera-knowledge/stores.config.jsonUse the mcp__bluera-knowledge__execute tool with command "stores:sync" to sync stores from definitions
Optional arguments:
dryRun: true - Show what would happen without making changesprune: true - Remove stores not in definitionsreindex: true - Re-index existing stores after syncPresent results in a structured format:
## Sync Results
**Created**: 3 stores
- my-docs (file)
- react-source (repo)
- api-docs (web)
**Skipped** (already exist): 2 stores
- lodash
- typescript-docs
**Orphans** (not in definitions): 1 store
- old-unused-store
No errors occurred.
When using dry run, show what WOULD happen:
## Sync Preview (Dry Run)
**Would create**: 3 stores
- my-docs (file)
- react-source (repo)
- api-docs (web)
**Would skip** (already exist): 2 stores
- lodash
- typescript-docs
**Orphans** (not in definitions): 1 store
- old-unused-store
To apply these changes, run without --dry-run
If no store definitions config exists:
## No Store Definitions Found
The config file `.bluera/bluera-knowledge/stores.config.json` doesn't exist yet.
Store definitions are automatically created when you:
- Add a repo: `/bluera-knowledge:add-repo <url>`
- Add a folder: `/bluera-knowledge:add-folder <path>`
- Crawl a website: `/bluera-knowledge:crawl <url>`
The config file will be created automatically and can be committed to git for team sharing.
If some stores fail to sync, report them individually:
## Sync Results
**Created**: 2 stores
- my-docs
- api-docs
**Failed**: 1 store
- react-source: Directory does not exist: /path/to/repo
Continue to resolve the errors manually.