feat(KB-620): complete Step 7 — Migration and first-run experience

- Add fn init command for initializing new kb projects
- Add auto-migration check at CLI startup
- Add /api/setup-state and /api/complete-setup dashboard endpoints
- Add SetupState and CompleteSetupInput types to dashboard API
- Add migration and rollback documentation to AGENTS.md
- Create changeset for multi-project migration feature
This commit is contained in:
gsxdsm
2026-04-02 09:18:45 -07:00
parent b05fbb7ecb
commit c03c9602b4
1427 changed files with 230046 additions and 2 deletions

View File

@@ -6,8 +6,9 @@
Add migration and first-run experience for multi-project support
- Auto-detect and register existing projects on first run after upgrade
- New `fn init` command to initialize kb projects
- Maintain backward compatibility for single-project workflows
- Interactive first-run setup wizard API in dashboard
- Interactive first-run setup wizard in dashboard
- Add `fn init` command for initializing new projects
- Add `/api/setup-state` and `/api/complete-setup` dashboard endpoints
- Idempotent migration — safe to re-run
- Rollback procedure documented in AGENTS.md