feat(KB-504): add multi-project migration system

- Add MigrationOrchestrator with automatic project detection and registration
- Add FirstRunExperience with setup wizard for new users
- Add backward compatibility layer for single-project workflows
- Integrate migration hook into CLI entry point
- Add comprehensive tests for migration and first-run functionality
- Update AGENTS.md with multi-project migration and dashboard documentation
This commit is contained in:
gsxdsm
2026-04-01 01:40:42 -07:00
parent c6be1323d1
commit d2354560a0
11 changed files with 1949 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
---
"@gsxdsm/fusion": minor
"@fusion/core": minor
---
Add migration and first-run experience for multi-project support
- Auto-detect and register existing kb projects on first run
- MigrationOrchestrator with filesystem scanning and safety checks
- FirstRunExperience with setup wizard state management
- Backward-compatible single-project mode (TaskStore.getOrCreateForProject)
- `--project` flag support for CLI multi-project targeting
- `KB_SKIP_MIGRATION` environment variable for recovery
- Graceful fallback when central database unavailable