⚠️ ARCHIVED REPOSITORY
This is the V1 proof-of-concept version of YourBench.ai, preserved for reference.
Active development has moved to V2: yourbench-v2
This repository contains the complete V1 proof-of-concept implementation with:
- ✅ 605/786 tests passing (77% success rate at time of archival)
- ✅ Multi-persona AI chat with OpenAI, Gemini, and Anthropic
- ✅ Organization-based multi-tenancy with Supabase
- ✅ Provider registry system with resilient initialization
- ✅ Next.js 15 + React 19 with modern TypeScript
- ✅ Complete BDD + TDD testing framework
- ✅ FREE tier deployment on Vercel + Supabase
Final Commit: 3eff9e0 - AI Provider Factory tests with enhanced global mock
Test Status: 305+ core tests passing with atomic test fixing methodology
Architecture: Monorepo with apps/web structure, provider registry, database access layer
All V1 documentation remains intact in this archive:
- PRD.md - Product Requirements Document (v2.6)
- CLAUDE.md - Development guidance for AI assistants
- task-list.md - Final task status and MVP progress
- docs/technical-specification.md - Architecture details
- docs/development-standards.md - Code quality standards
- docs/testing-standards.md - Testing methodologies
- tasks/completed/ - Completed features and technical tasks
- Frontend: Next.js 15, React 19, TypeScript, Tailwind CSS, shadcn/ui
- Backend: Next.js API Routes, Supabase (PostgreSQL + Auth)
- Database: PostgreSQL 16 with pgvector extension
- AI Providers: OpenAI, Google Gemini, Anthropic Claude (registry pattern)
- Testing: Vitest (TDD) + Cucumber.js (BDD), Testing Library, MSW
- Deployment: Vercel FREE tier + Supabase FREE tier ($0/month)
- Provider Registry System (TT004) - Dynamic AI provider management
- Database Access Layer (TT002) - Repository pattern implementation
- Organization Multi-tenancy - Complete data isolation
- Authentication System - Supabase Auth with React Context
- Component State Management (TT005) - Global state with React Context
# Install dependencies
pnpm install
# Set up environment
cp env-examples/local.env.example apps/web/.env.local
# Start development
pnpm dev
# Run tests
pnpm test # TDD tests (305+ tests)
pnpm test:bdd # BDD tests (Cucumber.js)- Atomic development workflow with test-driven development
- Provider registry pattern for AI service management
- Organization-based multi-tenancy with Row Level Security
- Comprehensive testing strategy (TDD + BDD combination)
- FREE tier deployment strategy with $0/month infrastructure
- Test suite complexity - 195 failing tests at peak, maintenance overhead
- Mixed testing strategies - BDD configuration issues and inconsistencies
- Component size growth - Some components exceeded 200-line standard
- Documentation scattered - Multiple documentation approaches
- Local task management - task-list.md became unwieldy
- Monorepo structure needed better organization
- Provider initialization required resilient error handling
- Database access patterns needed standardization
- Authentication flow required centralization
- Component state needed global management strategy
V1 served as an excellent proof-of-concept and learning platform. Key V1 insights informed V2 design:
- 100% test success rate from day 1
- Professional project management with Linear integration
- Comprehensive documentation suite before implementation
- Enterprise-grade tooling and development practices
- Clean architecture with proper separation of concerns
- Git history preserved - Complete development history maintained
- V1 reference available - This archive for architectural reference
- Task migration - V1 tasks migrated to Linear for V2 implementation
- Lessons applied - V1 technical debt addressed in V2 design
MIT License - see LICENSE file for details.
YourBench.ai V1 - Proof of concept completed July 2025
Archived with 605 passing tests and complete functionality
Reference implementation for V2 enterprise rewrite 🚀