# SAP Migration Dashboard

A comprehensive enterprise data migration management platform designed for planning, tracking, and executing SAP S/4HANA system integrations. Built for migration teams that need structured workflows, capacity planning, and optional AI-powered assistance.

## Features

### Migration Package Management
Create and manage migration packages with full lifecycle tracking. Each package moves through clearly defined stages from initial planning through go-live, giving your team complete visibility into migration progress.

### 7-Phase Implementation Workflow
Follow a structured implementation methodology with seven distinct phases:
1. **Discover** - Assess current landscape and define scope
2. **Prepare** - Set up project governance and infrastructure
3. **Explore** - Analyze business processes and data
4. **Realize** - Configure, develop, and test
5. **Deploy** - Execute cutover and migration
6. **Run** - Stabilize and support production
7. **Optimize** - Continuous improvement post go-live

### Team Capacity Planning
Manage team members, roles, and availability. Track resource allocation across packages and phases to prevent overcommitment and identify bottlenecks before they impact timelines.

### Task Assignment and Gantt Visualization
Assign tasks to team members with deadlines and dependencies. Visualize project timelines with interactive Gantt charts to keep the entire migration on track.

### Process Mapping with Mermaid Diagrams
Document and visualize business processes using Mermaid diagram syntax. Map current-state and future-state processes directly within the platform for easy reference during migration execution.

### Excel Export
Export migration data, task lists, and reports to Excel format for stakeholder reporting, offline analysis, and integration with existing project management workflows.

### AI Agent Chat (Optional)
Enable the built-in AI assistant powered by Anthropic's Claude to get help with migration planning, process analysis, and troubleshooting. Requires an Anthropic API key and can be toggled on or off via configuration.

### File Management
Upload and organize migration-related documents, configuration files, and reference materials. Keep all project artifacts centralized and accessible to the team.

## Configuration

| Variable | Description | Required |
|----------|-------------|----------|
| `ANTHROPIC_API_KEY` | Anthropic API key for AI chat features | Yes |
| `ANTHROPIC_MODEL` | Claude model to use (default: `claude-opus-4-6`) | No |
| `AGENT_CHAT_ENABLED` | Enable AI chat feature (default: `false`) | No |
| `CORS_ORIGIN` | Allowed CORS origins (default: `*`) | No |

## Data Persistence

- **SQLite database** stored in `/app/backend/data`
- **Uploaded files** stored in `/app/backend/uploads`

Both directories are persisted across container restarts through Runtipi volume mounts.
