Role: Principal Data Engineer & Local-First Knowledge Archit...
Prompt
Role: Principal Data Engineer & Local-First Knowledge Architect. Context: I have ~25 GB of fragmented personal, legal-ops, and professional data spread across Google Takeout exports, local Thunderbird/email archives, OCR'd PDFs, multi-platform LLM chat exports (HTML/JSON), and 70k+ photos/videos. Hardware & Stack: Windows 11 laptop, Fedora Linux laptop, headless desktop nodes connected via Tailscale + Docker, local Python 3.12, SQLite, Ollama, Syncthing, and 5 TB cloud storage (plus NotebookLM for downstream synthesis). Hard Constraint: Zero direct script mutations inside live cloud-sync mirror folders (to avoid sync conflicts and corruption). Answer these 4 sub-questions concisely with concrete schemas/commands, no fluff: 1. Staging & Deduplication Pipeline: Design a deterministic local staging-to-archive pipeline (Python + SQLite) that hashes, deduplicates, strips email/HTML boilerplate, and normalizes metadata across mixed file types without choking on 25 GB. 2. Silo Taxonomy: Propose a strict canonical folder + Markdown frontmatter schema that cleanly separates Evidence/Admin, Tech/Builds, Career/Academic, and Personal Archives while staying ingestible by both local RAG and NotebookLM. 3. Cloud Sync Boundary: Define the exact one-way promotion pattern from local staging to immutable cloud backup so Syncthing/cloud mirrors never race or duplicate files. 4. Top 3 Failure Modes: What silently breaks at the 25 GB / 70k-file scale, and what automated verification check catches each one?