Real-time observability system for Claude Code agent activities with comprehensive event tracking and visualization
| Component | Coverage | Threshold | Status |
|---|---|---|---|
| 📊 Dashboard | 80%+ | 80% | ✅ Production Ready |
| 🪝 Hooks | 60%+ | 60% | ✅ Production Ready |
| 🔧 Core Libraries | 85%+ | 85% | ✅ Production Ready |
| 🔐 Security Modules | 90%+ | 90% | ✅ Production Ready |
Automated Installation:
git clone <repository-url>
cd chronicle
./scripts/quick-start.shManual Installation:
# 1. Dashboard
cd apps/dashboard && npm install && cp .env.example .env.local
# Configure .env.local with Supabase credentials
npm run dev # Starts on http://localhost:3000
# 2. Hooks System
cd apps/hooks && pip install -r requirements.txt && cp .env.template .env
# Configure .env with Supabase credentials
python install.py # Installs Claude Code hooksHealth Check:
./scripts/health-check.sh # Validate installation- INSTALLATION.md - Complete installation guide
- CONFIGURATION.md - Environment configuration
- SUPABASE_SETUP.md - Database setup guide
- docs/guides/coverage.md - Test coverage guide & requirements
- docs/reference/ci-cd.md - CI/CD pipeline reference
- docs/guides/deployment.md - Production deployment guide
- docs/guides/security.md - Security best practices
- TROUBLESHOOTING.md - Common issues & solutions
- Dashboard: Next.js 15 with real-time Chronicle UI (
apps/dashboard/) - Hooks System: Python-based event capture (
apps/hooks/) - Database: Supabase PostgreSQL with SQLite fallback
- Documentation: Comprehensive guides for deployment
- Real-time Event Streaming: Live dashboard updates via Supabase
- Complete Hook Coverage: All Claude Code hooks implemented
- Data Security: Sanitization, PII filtering, secure configuration
- Production Deployment: Full deployment automation and monitoring
- Comprehensive Testing: 42+ tests across all components
- Node.js: 18.0.0+ (20.0.0+ recommended)
- Python: 3.8.0+ (3.11+ recommended)
- Claude Code: Latest version
- Supabase: Free tier sufficient for MVP
chronicle/
├── apps/
│ ├── dashboard/ # Next.js real-time dashboard
│ └── hooks/ # Python hook system
├── scripts/ # Installation & health check scripts
└── docs/ # Comprehensive documentation
├── INSTALLATION.md
├── CONFIGURATION.md
├── docs/
│ └── guides/
│ ├── deployment.md # Consolidated deployment guide
│ └── security.md # Consolidated security guide
├── SUPABASE_SETUP.md
└── TROUBLESHOOTING.md
- Frontend: Next.js 15, TypeScript, Tailwind CSS v4, Recharts
- Backend: Python 3.8+, AsyncPG, Pydantic, aiofiles
- Database: Supabase (PostgreSQL) with real-time subscriptions
- Deployment: Docker, Vercel, Railway, self-hosted options
- Testing: Jest (frontend), pytest (backend)
- Security: Data sanitization, PII filtering, environment isolation
# Run tests with coverage
npm run test:coverage # All components
npm run test:coverage:dashboard # Dashboard only
npm run test:coverage:hooks # Hooks only
# Coverage validation
npm run coverage:check # Validate thresholds
npm run coverage:report # Generate HTML reports
npm run coverage:badges # Update badges
# Start development servers
cd apps/dashboard && npm run dev # http://localhost:3000
cd apps/hooks && python install.py --validate-only
# Health check
./scripts/health-check.shOption 1: Automated Script
./scripts/install.sh --productionOption 2: Docker
docker-compose up -dOption 3: Cloud Platforms
- Vercel: Dashboard deployment
- Railway/Render: Full-stack deployment
- Self-hosted: Complete deployment guide
See docs/guides/deployment.md for detailed instructions.
- Data Sanitization: Automatic removal of sensitive information
- PII Filtering: Configurable privacy protection
- Secure Configuration: Environment-based secrets management
- Row Level Security: Optional Supabase RLS configuration
- Audit Logging: Comprehensive security event tracking
See docs/guides/security.md for security best practices.
The Chronicle dashboard provides:
- Real-time Event Stream: Live agent activity visualization
- Tool Usage Analytics: Performance metrics and patterns
- Session Management: Multi-session tracking and comparison
- Error Monitoring: Comprehensive error tracking and alerting
- Performance Insights: Execution time analysis
- Quick Issues: Check TROUBLESHOOTING.md
- Installation Problems: Review INSTALLATION.md
- Configuration Issues: See CONFIGURATION.md
- Health Check: Run
./scripts/health-check.sh - Security Questions: Consult docs/guides/security.md
[License information here]
Inspired by IndieDevDan's observability concepts and built for the Claude Code community.
Chronicle provides comprehensive observability for Claude Code with production-ready deployment in under 30 minutes.