Unified RAG over docs, ClickUp, Figma, Miro, Excel & sprint history
Mastra
Cloudflare Vectorize
Trigger.dev
STACK
Mastra + Vectorize + D1
BUILD TIME
Ongoing
STATUS
LIVE
ROLE
Solo build
OUTCOME
Unified RAG over docs, ClickUp, Figma, Miro, Excel & sprint history
Performance Metric
Time-to-context
PMs and stakeholders waste hours hunting answers across PDFs, decks, Figma boards, Miro maps, ClickUp tasks and sprint comments. Context lives everywhere except where the next decision is being made, and blocked tasks rot for days because nobody writes the missing requirement down.
Project Brain ingests every project source — text/PDF/PowerPoint, Excel/CSV spreadsheets, websites, Figma nodes, Miro boards, ClickUp tasks/lists, images — and turns each into structured artifacts (documentation, requirements, todos, meeting minutes, sprint meetings) inside ClickUp Docs. Each artifact enters a full lifecycle: version history with LCS line-level diff, inline editing with preview toggle, ClickUp drift detection, and one-click export to Markdown, HTML, or PDF — all without leaving the page. When the same source URL is re-submitted, Smart Update detects the duplicate, computes an LLM-powered semantic diff, zeros stale Vectorize vectors, and merges artifacts diff-aware (struck-through removals, in-place modifications, appended additions). A daily cron snapshots the active sprint, diffs status/due/assignee changes, parses [area] task prefixes, analyses blocker comments and emails the right designer/dev/PM with reminders. A retrieval-augmented chat answers questions over everything with live token streaming, a tool-call visibility panel, and citations — with a /all bypass when filters get in the way. Sprint Intelligence extends the daily cron with heuristic risk scoring (0–3 per task, shown as colored dots), a Friday Mastra-composed weekly digest emailed to PM/lead, automatic sprint-retro pre-fill as a sprint_meeting artifact, and an Insights tab with burndown, status-distribution, blocker-trend, area-workload charts and a most-changed-tasks list — all computed from the existing snapshot history with zero new infra.
Mastra agents drive each LLM stage with per-stage model routing (cheap models for classify/enrich/preprocess, full model for artifacts/chat). Smart Update adds an LLM semantic diff stage (diff-document prompt) that compares old and new raw_text to produce structured added/removed/modified arrays; the diff drives a diff-aware ClickUp merge that strikes through removed ACs and annotates modified ones in-place. Figma nodes are now vision-processed on every ingest via Claude Haiku (same pipeline as image sources), making the diff semantically meaningful for design changes. Retrieval: bge-m3 embeddings (batch 64) into Cloudflare Vectorize with 10 indexed metadata fields, smarter HyDE (keyword vs question detection), bge-reranker-base cross-encoder rerank with low-confidence UX, recency decay for task snapshots (90d) and document artifacts (180d), diversity caps. Anthropic prompt caching on the system prompt. Langfuse traces on every chat and artifact run. Every chat run is logged to brain_chat_traces for offline eval.
Ingest & Smart Update
Artifacts & Documentation
Chat & RAG
Sprint Monitoring