# Migration Plan — Dafna Vault → Nautilus

## Source
- Obsidian vault at `/opt/apps/vaults/dafna-tamir/`
- Claude memory at `/home/chaim/.claude/projects/-opt-apps-vaults-dafna-tamir/memory/`
- 229MB compressed (excluding node_modules, .git)

## Target
- PostgreSQL on Nautilus (legal-ai-postgres)
- File storage on Nautilus
- Gitea repository for code/scripts

## What to Migrate

### Knowledge (Priority 1 — enables RAG immediately)
| Source | Target Table | Records |
|--------|-------------|---------|
| docs/legal-decision-lessons.md | lessons_learned | ~12 lessons |
| SKILL.md section 5.2 | transition_phrases | ~30 phrases |
| Published decisions (citations) | case_law | ~20 cases |
| SKILL.md section 6.9 | statutory_provisions | ~10 statutes |

### Appeals (Priority 2)
| Source | Target Table | Records |
|--------|-------------|---------|
| 01_Projects/*/README.md | appeals | 3 active |
| 04_Archive/*/README.md | appeals | 14 archived |
| All case headers | parties | ~50 |
| All case headers | panels | ~17 |

### Documents (Priority 3)
| Source | Target Table | Records |
|--------|-------------|---------|
| */חומרי-מקור/**/*.pdf | documents | ~200 PDFs |
| */חומרי-מקור/**/*.md | documents | ~100 MDs |
| */החלטה/*.docx | documents | ~10 DOCXs |

### Decisions (Priority 4)
| Source | Target Table | Records |
|--------|-------------|---------|
| הכט published PDF | decisions + blocks + paragraphs | 1 complete |
| בית הכרם Draft 9 | decisions + blocks + paragraphs | 1 complete |
| קרית יערים draft | decisions + blocks | 1 in progress |

### Embeddings (Priority 5)
| Source | Target Table | Records |
|--------|-------------|---------|
| All MD source docs | document_embeddings | ~500 chunks |
| Decision paragraphs | paragraph_embeddings | ~300 paragraphs |
| Case law summaries | case_law_embeddings | ~20 summaries |
