- PLAN.md: Complete implementation plan with architecture, ACs, phases - CLAUDE.md: Project context for AI agents Architecture: Tauri + React, beads as universal work graph, manual-first priority with rich decision logging.
1.9 KiB
1.9 KiB
CLAUDE.md
Project Overview
Mission Control (MC) is an ADHD-centric personal productivity hub built with Tauri + React. It unifies GitLab activity (via gitlore) and beads task tracking into a single native interface.
Core principle: Surface THE ONE THING you should be doing right now.
Key Documents
PLAN.md— Complete implementation plan with architecture, ACs, and reasoning
Tech Stack
- Shell: Tauri 2.0 (Rust backend)
- Frontend: React 19 + Vite + Tailwind + shadcn/ui
- State: Zustand + TanStack Query
- Animations: Framer Motion
External Dependencies
MC shells out to these CLIs (does NOT import them as libraries):
lore --robot— GitLab data (issues, MRs, activity)br— Beads task management (create, close, list)bv --robot-*— Beads triage recommendations
Local State
All MC-specific state lives in ~/.local/share/mc/:
| File | Purpose |
|---|---|
gitlab_bead_map.json |
Maps GitLab events to bead IDs (deduplication) |
decision_log.jsonl |
Append-only log of all user decisions with context |
state.json |
Current focus, queue order, UI state |
settings.json |
User preferences |
Key Architectural Decisions
- Beads are the universal task graph — GitLab items auto-create beads via MC's bridge
- Manual priority first — User sets THE ONE THING, MC logs decisions to learn patterns
- CLI integration over library imports — Clean boundaries, no schema coupling
- Rich decision logging — Every action logged with context and optional reasoning
Development Commands
# Frontend dev
npm run dev
# Tauri dev (frontend + backend)
npm run tauri dev
# Build
npm run tauri build
Code Quality
- Run
cargo clippy -- -D warningsbefore committing Rust changes - Run
npm run lintbefore committing frontend changes - Follow existing patterns in the codebase