mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 19:47:11 +01:00
Snapshot-style markdown was multiplying — multiple AUDIT_REPORT.md
variants, ENTITY_*_FIXES.md fork trees, RLS-fix instruction docs from
old migrations, *_COMPLETE.md / *_SUMMARY.md from work that's been
shipped for months. They were authoritative once; today they're
landmines for anyone running `grep` to find the current SSOT.
Moved everything that matches AUDIT|EVAL|REPORT|PROPOSAL|PLAN|FIX|
HANDOFF|IMPROVEMENT|SUMMARY|FINDING|COMPLETE|ANALYSIS in
docs/{,development/,analysis/,testing/} into docs/archive/2026-h1/.
99 files. Preserved via git mv so history is intact; no content lost.
Refreshed docs/AUDIT_REPORT.md as the single current state-of-the-
platform doc — it now (a) lists every commit this session shipped,
(b) names the active SSOT files, (c) prioritises remaining gaps as
P0/P1/P2/P3, (d) lists the production credentials / deploy steps that
need human hands. Marked it as the file that supersedes all the
archived ones.
Marked the ModernChatPanel.tsx re-export shim removal in
docs/architecture/CAT_AND_DESIGN_SSOT.md §5 P2 #7 — shim deleted, one
importer in dashboard/cat/page.tsx updated to point at
./ModernChatPanel/index directly. tsc + lint clean.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
📚 OrangeCat Documentation
Welcome to the OrangeCat Bitcoin Crowdfunding Platform documentation!
This is your centralized knowledge base for understanding, developing, deploying, and maintaining the OrangeCat platform.
🚀 Quick Start
For New Developers
- Developer Guide - Complete setup and first steps
- Development Setup - Environment configuration
- Contributing Guide - How to contribute effectively
For Users
- API Reference - API documentation for integrations
- Features Guide - Platform features overview
📂 Documentation Structure
docs/
├── getting-started/ # 🚀 Onboarding & setup
├── architecture/ # 🏗️ System design & architecture
├── development/ # 💻 Development guides & workflows
├── workflows/ # 🔄 Proven operational workflows
├── features/ # ✨ Feature documentation
│ └── posting/ # 📝 Posting system (mobile-first)
├── operations/ # 🔧 Operations & maintenance
├── deployment/ # 🚢 Deployment guides
├── security/ # 🔒 Security practices
├── testing/ # 🧪 Testing guides
├── changelog/ # 📝 Release notes
├── standards/ # 📏 Standards & conventions
└── archive/ # 🗄️ Historical docs (2024)
📖 Key Documentation
Architecture & Design
- System Architecture - High-level system design
- Database Schema - Database design and relationships
- Services Architecture - Service layer design
- Component Architecture - UI component patterns
Development
- Best Practices - Development guidelines
- Engineering Principles - First principles (privacy/local-first, SSOT/DRY/SoC, a11y, security)
- Code Review Guide - Code review process
- Technical Debt - Current technical debt items
- Dashboard Analysis - Dashboard page analysis
- Hooks Guide - Custom React hooks
- Utils Guide - Utility functions
- Types Guide - TypeScript types
Features
- Posting System ⭐ NEW - Twitter/X-style posting with mobile-first design
- Bitcoin Wallet - Bitcoin wallet integration
- Intelligent Onboarding - Smart user onboarding
Workflows
- Supabase Migration Workflow - Complete migration guide
- Migration Quick Reference - Fast lookup for common tasks
- Migration Lessons Learned - What we learned from failures
Database
- Database Schema - Complete schema reference
- Migrations Guide - Database migration workflow
- Schema Quick Reference - Quick lookup
- Database Improvements - Recent improvements
Operations
- Deployment Guide - Production deployment
- Environment Setup - Environment variables
- Troubleshooting - Common issues
- Port Management - Development ports
Security
- Security Overview - Security principles
- Auth System - Authentication implementation
- Security Audit - Latest security audit
Testing
- Test Guide - Testing strategy
- Test Coverage - Coverage report
- User Journeys - E2E test scenarios
🎯 Common Tasks
Development
- Setting up local environment: See Development Setup
- Running migrations: See Migration Workflow or Quick Reference
- Creating components: See Component Architecture
- Writing tests: See Test Guide
Deployment
- Deploy to production: See Deployment Guide
- Set up monitoring: See Observability
- Configure CI/CD: See CI/CD Guide
Debugging
- Performance issues: See Performance Debugging
- Database issues: See Troubleshooting
- Error handling: See Error Handling
📋 Standards & Best Practices
Code Standards
- Documentation Standards - How to write docs
- Datetime Standards - Date/time handling
- Color System - Design system colors
Templates
- Component Template - Component boilerplate
- API Endpoint Template - API endpoint structure
- ADR Template - Architecture decision records
- Documentation Template - Doc structure
🔍 Finding Information
Search Documentation
Use your IDE's search (Ctrl+Shift+F) to search across all documentation files.
Recently Updated
- My Cat: Voice + Local Models - 2026-01-18 ⭐ NEW
- Engineering Principles - 2026-01-18 ⭐ NEW
- My Cat Spec - 2026-01-18
📞 Getting Help
Team Resources
- GitHub Issues - Report bugs and request features
- Pull Requests - All code changes require review
- Architecture Decisions - Document in
docs/architecture/
External Documentation
- Next.js Docs - React framework
- Supabase Docs - Database and auth
- Tailwind CSS - Styling framework
- Zustand - State management
🎯 Documentation Principles
This documentation follows these principles:
- ✅ Always Current - Updated with every major change
- ✅ Actionable - Step-by-step instructions
- ✅ Contextual - Explains why, not just how
- ✅ Searchable - Clear structure and keywords
- ✅ Reviewed - Regular reviews and updates
- ✅ No Duplication - Single source of truth
📝 Contributing to Docs
When contributing documentation:
- Follow the Documentation Standards
- Use the appropriate template
- Keep docs in the correct directory
- Update this index if adding new sections
- Test all code examples
- Get docs reviewed with code PRs
Last Updated: 2025-11-16 Version: 2.2.0 Maintainers: Development Team
🗄️ Archive
Historical documentation is preserved separately:
- Archive Index
- Previous audits, evaluations, and implementation plans