Migration scripts from jarvis-brain #30

Open
opened 2026-01-28 19:06:35 +00:00 by jason.woltje · 0 comments
Owner

Implement data migration from jarvis-brain to Mosaic Stack.

Source data:

  • data/tasks.json
  • data/events.json
  • data/projects.json
  • data/agents.json
  • data/tickets.json

Target tables:

  • tasks
  • events
  • projects
  • (agents → user preferences)
  • (tickets → external integration)

Migration steps:

  1. Parse JSON files
  2. Map fields to new schema
  3. Generate IDs
  4. Create default workspace
  5. Import data with relationships

Scripts:

  • scripts/migrate-jarvis-brain.ts

Requirements:

  • Idempotent (can re-run safely)
  • Dry-run mode
  • Progress logging
  • Error handling with rollback
Implement data migration from jarvis-brain to Mosaic Stack. **Source data:** - data/tasks.json - data/events.json - data/projects.json - data/agents.json - data/tickets.json **Target tables:** - tasks - events - projects - (agents → user preferences) - (tickets → external integration) **Migration steps:** 1. Parse JSON files 2. Map fields to new schema 3. Generate IDs 4. Create default workspace 5. Import data with relationships **Scripts:** - scripts/migrate-jarvis-brain.ts **Requirements:** - Idempotent (can re-run safely) - Dry-run mode - Progress logging - Error handling with rollback
jason.woltje added this to the MVP-Migration (0.1.0 MVP) milestone 2026-01-28 19:06:35 +00:00
jason.woltje added the migrationp0 labels 2026-01-28 19:06:35 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#30