feat(KB-620): add multi-project migration and first-run experience

- Add FirstRunDetector for fresh-install and migration state detection
- Implement MigrationOrchestrator for auto-registering existing projects
- Create BackwardCompat layer to maintain single-project CLI workflows
- Add fn init command for manual project registration
- Add dashboard first-run wizard API endpoints (/api/setup-state, /api/complete-setup)
- Add runtimeLog, ipcLog, projectManagerLog, hybridExecutorLog to engine logger
- Include changeset documenting migration features and rollback procedure
This commit is contained in:
gsxdsm
2026-04-01 07:19:44 -07:00
parent 228648adfa
commit 0559962685
11 changed files with 2006 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
---
"@gsxdsm/fusion": minor
"@fusion/core": minor
"@gsxdsm/fusion": minor
---
Add migration and first-run experience for multi-project support
@@ -12,3 +12,7 @@ Add migration and first-run experience for multi-project support
- `--project` flag support for CLI multi-project targeting
- `KB_SKIP_MIGRATION` environment variable for recovery
- Graceful fallback when central database unavailable
- New `fn init` command to initialize kb projects
- Interactive first-run setup wizard API in dashboard
- Idempotent migration — safe to re-run
- Rollback procedure documented in AGENTS.md