CCDash is a local-first dashboard designed to orchestrate, monitor, and analyze the work of AI Agents within a software project. It bridges the gap between traditional project management (Kanban/Docs) and AI-driven development (Session logs, Tool usage, Token metrics).
- Agent-First: Every task, commit, and document changes is traceable back to specific Agent Sessions.
- Forensics & Debugging: Detailed introspection into Agent "thought processes," tool usage, and costs.
- Local Context: Tightly coupled with the local filesystem, Git history, and Markdown frontmatter.
- Frontend: React 19, TypeScript, Vite
- Styling: Tailwind CSS (Slate dark mode theme)
- Icons: Lucide React
- Visualization: Recharts (Area, Bar, Pie, Line, Composed charts)
- Routing: React Router DOM (v7)
- AI Integration: Google Gemini SDK (
@google/genai)
- Collapsible Sidebar: Fluid transition sidebar with icon-only mode.
- Notifications: Badge system for system alerts (e.g., cost overruns, quality drops).
- Theme: Deep "Slate" dark mode optimized for long engineering sessions.
- KPI Cards: High-level metrics for Total Spend, Average Session Quality, Hallucination Rate, and Shipping Velocity.
- AI Insights: Integrated Google Gemini analysis that reads current metrics/tasks and generates executive summaries on project health.
- Visualizations:
- Cost vs. Quality Area Chart: Tracks spending against code quality over time.
- Model Usage Bar Chart: Breakdown of underlying LLM usage (Claude vs. Gemini).
- Feature-Centric View: Redesigned board that groups work into Features discovered from project documentation (PRDs and Implementation Plans).
- Document-First Discovery: Automatically cross-references PRDs, Implementation Plans, and Progress files to build a cohesive view of each feature.
- Views: Toggle between Kanban Board (grouped by feature stage: Backlog, In Progress, Review, Done) and List View.
- Features with deferred steps still land in Done when all tasks are terminal (
doneordeferred), and show a deferred caveat indicator.
- Features with deferred steps still land in Done when all tasks are terminal (
- Drill-Down Modal:
- Overview: Visualize linked documents (PRDs, Plans, Reports), category badges, and related feature variants (v1, v2).
- Phases tab: Accordion view of implementation phases. Each phase expands to show a checklist of individual tasks with their real-time status.
- Documents tab: Quick access to all documentation files associated with the feature.
- Filtering: Search features by name/slug/tag, filter by category/status (including deferred caveat), and sort by update date or total task count.
- In the feature modal, the Phases tab supports phase-status and task-status filtering, including deferred.
- Dynamic Project Switching: Easily switch between multiple local projects from the sidebar.
- Project Context: Each project maintains its own configuration for session logs, plan documentation, and progress tracking.
- Project Creation: Add new projects by specifying local paths and metadata, which are persisted for future sessions.
- Views:
- Card Grid: Visual overview of PRDs, RFCs, and Architecture docs.
- List: Sortable table view.
- Folder/Explorer: 3-pane IDE-style file explorer for navigating documentation hierarchies.
- Document Modal:
- Markdown Preview: Renders document content.
- Metadata: Parses frontmatter (Authors, Version, Status).
- Version Control: Lists linked Commits and PRs.
- Bi-directional Linking: Tabs showing "Linked Files" and "Linked Entities" (Tasks/Sessions).
The core debugging loop for AI interactions.
- Session Index: Grid view of Active (Live) vs. Historical sessions with cost and health indicators.
- Deep Dive View (Tabbed Interface):
- Transcript:
- 3-pane fluid layout (Log list, Detail view, Metadata sidebar).
- Message/Tool/Skill Support: distinct visual styling for different log types.
- Inline Expansion: Inspect tool arguments and large outputs without losing context.
- Files:
- Table of all files touched in the session.
- Diff stats (Additions/Deletions).
- "Open in IDE" simulation or "View Doc" if the file exists in the Plan Catalog.
- Artifacts:
- Visual cards for generated Memories, Request Logs, and Knowledge Base entries.
- App Impact:
- Codebase Impact Chart: Line chart tracking LOC added/removed and file touch-counts over the session duration.
- Test Stability Chart: Area chart visualizing Test Pass vs. Fail counts over time.
- Analytics (Advanced):
- Interactive Charts: Click on any chart (Active Agents, Tool Usage, Model Allocation) to view detailed stats (Cost, Tokens, Count) and deep-link to filtered transcript views.
- Token Timeline: Switch between summary bar charts and a detailed cumulative area chart overlaying discrete events (Tool Executions, File Edits).
- Master Timeline: Full-width correlation view of session lifecycle events against token consumption.
- Agents:
- Card view of all participating agents (e.g., Architect, Coder, Planner).
- Click-to-filter transcript by specific agent.
- Transcript:
- Alert Rules Engine: Configure thresholds for active monitoring (e.g., "Alert if Session Cost > $5.00").
- Toggle System: Activate/Deactivate specific rules.
The primary unit of delivery. Aggregates:
linkedDocs: References to PRDs, Implementation Plans, and Reports.phases: Implementation phases containing granularProjectTaskitems.relatedFeatures: Bi-directional links to other version variants of the same feature.deferredTasks: Count of terminal-complete tasks deferred for later follow-up.
The atomic unit of work. Contains:
logs: The conversation and tool execution stream.impactHistory: Time-series data of code/test changes.updatedFiles: List of file modifications.linkedArtifacts: References to external systems (SkillMeat, MeatyCapture).
Represents a specific unit of implementation.
status: Mapped from frontmatter (pending/backlog, in-progress, review, completed/done, deferred).cost: Derived from estimated effort.
Represents Markdown documentation. Contains:
frontmatter: Metadata for linking back to Tasks and Sessions.
-
Install frontend dependencies:
npm install
-
Install backend dependencies and create
backend/.venv:npm run setup
-
Start full local development stack (backend + frontend):
npm run dev
-
Useful scripts:
npm run dev:backend- backend only (reload mode)npm run dev:frontend- frontend onlynpm run build- build frontend assetsnpm run start:backend- production-style backend startupnpm run start:frontend- serve built frontend (vite preview)
-
Environment Variables:
GEMINI_API_KEY: Enables AI insight features.CCDASH_BACKEND_HOST/CCDASH_BACKEND_PORT: Backend bind host/port for startup scripts.CCDASH_API_PROXY_TARGET: Vite proxy target for/apirequests.
For detailed setup, troubleshooting, and deployment startup guidance, see docs/setup-user-guide.md.