Listopia Documentation Map

April 29, 2026 ยท View on GitHub

Quick reference for finding the right documentation for your task.


๐Ÿš€ Quick Start by Task

I want to understand the project architecture

โ†’ Start with CLAUDE.md

  • Stack overview
  • Architecture patterns
  • Key models and conventions
  • Frontend approach
  • Chat System Architecture section (350+ lines)

I'm implementing intelligent list creation

โ†’ Read CHAT_CONTEXT.md

  • System overview and architecture
  • Service pipeline (detection, analysis, generation)
  • State machine and flows
  • UI components and real-time feedback
  • Testing and data migration

I'm implementing a chat feature

โ†’ Read CHAT_FEATURES.md

  • Quick start examples
  • How to add commands
  • How to add LLM tools
  • How to create message templates
  • Authorization patterns
  • Testing scenarios
  • Troubleshooting guide

I'm working with search or RAG

โ†’ Read RAG_SEMANTIC_SEARCH.md

  • How embeddings work
  • Hybrid search (vector + keyword)
  • RAG context building
  • Database setup with pgvector
  • Performance optimization
  • Integration with chat

I'm debugging a problem

โ†’ Use CHAT_FEATURES.md - Debugging & Troubleshooting โ†’ Or RAG_SEMANTIC_SEARCH.md - Troubleshooting

I'm writing tests

โ†’ See CHAT_FEATURES.md - Testing Scenarios

I need API endpoint documentation

โ†’ See RAG_SEMANTIC_SEARCH.md - API Endpoints

I'm building or configuring AI Agents

โ†’ Read AGENTS.md

  • Agent scopes and access control (system, org, team, user)
  • Resources and tool management
  • Execution flow and orchestration
  • Authorization rules
  • Data models and controllers

I'm integrating third-party services

โ†’ Read CONNECTORS_ARCHITECTURE.md

  • Complete connector overview
  • Implementation status (6 phases complete)
  • Security model and encryption
  • OAuth implementations (Google, Microsoft, Slack)

โ†’ Then CONNECTORS_SECURITY_CHECKLIST.md

  • Pre-testing security verification
  • Token encryption validation
  • Multi-layer authorization testing
  • CSRF protection verification

I want historical context

โ†’ See archived/README.md

  • Why decisions were made
  • Original architectural proposals
  • Implementation history

๐Ÿ“š Complete Documentation Structure

CLAUDE.md (Master Reference)
โ”œโ”€โ”€ Stack Overview
โ”œโ”€โ”€ Architecture Patterns
โ”œโ”€โ”€ Key Models
โ”œโ”€โ”€ Organizations & Teams Architecture โœ…
โ”œโ”€โ”€ Chat System Architecture โœ… (NEW - 350+ lines)
โ”‚   โ”œโ”€โ”€ Overview
โ”‚   โ”œโ”€โ”€ Command System
โ”‚   โ”œโ”€โ”€ Intent Detection
โ”‚   โ”œโ”€โ”€ Resource Creation Flow
โ”‚   โ”œโ”€โ”€ Message Types & Templates
โ”‚   โ”œโ”€โ”€ Authorization & Data Boundaries
โ”‚   โ”œโ”€โ”€ Services & Components
โ”‚   โ”œโ”€โ”€ UI/UX Patterns
โ”‚   โ””โ”€โ”€ Example Flows
โ”œโ”€โ”€ Frontend Approach
โ”‚   โ””โ”€โ”€ Chat UI Patterns โœ… (NEW)
โ”œโ”€โ”€ Common Tasks
โ””โ”€โ”€ Development Standards

AGENTS.md (AI Agents System) โœ… NEW
โ”œโ”€โ”€ Overview & Architecture
โ”œโ”€โ”€ Agent Scopes & Access Control
โ”œโ”€โ”€ Agent Configuration
โ”œโ”€โ”€ Resources & Tools
โ”œโ”€โ”€ Execution Flow & Lifecycle
โ”œโ”€โ”€ Orchestration (Agent โ†’ Agent)
โ”œโ”€โ”€ Data Models
โ”œโ”€โ”€ Routes & Controllers
โ”œโ”€โ”€ Security & Authorization
โ”œโ”€โ”€ Performance Considerations
โ”œโ”€โ”€ Troubleshooting
โ””โ”€โ”€ Future Enhancements

CHAT_CONTEXT.md (Chat Context Management) โœ… NEW
โ”œโ”€โ”€ Understanding Chat Context
โ”œโ”€โ”€ Implementation Details
โ”‚   โ”œโ”€โ”€ Phase 1: Models & Database
โ”‚   โ”œโ”€โ”€ Phase 2: Core Services
โ”‚   โ”œโ”€โ”€ Phase 3: ChatCompletionService Integration
โ”‚   โ”œโ”€โ”€ Phase 4: List Creation
โ”‚   โ”œโ”€โ”€ Phase 5: User Interface
โ”‚   โ””โ”€โ”€ Phase 6: Testing & Migration
โ”œโ”€โ”€ Flows (Simple & Complex)
โ”œโ”€โ”€ Common Patterns
โ””โ”€โ”€ Testing & Deployment

CHAT_FEATURES.md (Implementation Guide)
โ”œโ”€โ”€ Quick Start
โ”œโ”€โ”€ Architecture Overview
โ”œโ”€โ”€ How to Add Features
โ”‚   โ”œโ”€โ”€ Add a Command
โ”‚   โ”œโ”€โ”€ Add an LLM Tool
โ”‚   โ”œโ”€โ”€ Add a Message Template
โ”‚   โ””โ”€โ”€ Add a Navigation Route
โ”œโ”€โ”€ Available Tools Reference
โ”œโ”€โ”€ Message Templates
โ”œโ”€โ”€ Authorization & Security
โ”œโ”€โ”€ Testing Scenarios
โ”œโ”€โ”€ Debugging & Troubleshooting
โ”œโ”€โ”€ Common Issues & Solutions
โ”œโ”€โ”€ File Locations
โ””โ”€โ”€ Performance Optimization

RAG_SEMANTIC_SEARCH.md (Search & RAG Guide)
โ”œโ”€โ”€ Overview
โ”œโ”€โ”€ Core Concepts
โ”‚   โ”œโ”€โ”€ Embeddings
โ”‚   โ”œโ”€โ”€ Vector Similarity Search
โ”‚   โ”œโ”€โ”€ Full-Text Search
โ”‚   โ””โ”€โ”€ Relevance Scoring
โ”œโ”€โ”€ Architecture
โ”œโ”€โ”€ Database Setup
โ”œโ”€โ”€ Embedding Generation
โ”œโ”€โ”€ Hybrid Search
โ”œโ”€โ”€ RAG Integration
โ”œโ”€โ”€ Search vs. Navigation Decision Tree
โ”œโ”€โ”€ API Endpoints
โ”œโ”€โ”€ Internal Services
โ”œโ”€โ”€ Integration with Chat
โ”œโ”€โ”€ Performance & Optimization
โ”œโ”€โ”€ Troubleshooting
โ””โ”€โ”€ Future Enhancements

CONNECTORS_ARCHITECTURE.md (Third-Party Integrations) โœ… NEW
โ”œโ”€โ”€ Overview & Implementation Status
โ”œโ”€โ”€ Architecture Overview (6 phases complete)
โ”œโ”€โ”€ Directory Structure
โ”œโ”€โ”€ Database Schema
โ”œโ”€โ”€ Key Architectural Patterns
โ”œโ”€โ”€ Security Implementation
โ”œโ”€โ”€ OAuth Implementations
โ”œโ”€โ”€ Connector Features
โ”œโ”€โ”€ API Operations
โ”œโ”€โ”€ Testing
โ”œโ”€โ”€ Routes
โ”œโ”€โ”€ Future Enhancements
โ”œโ”€โ”€ Deployment
โ””โ”€โ”€ Monitoring

CONNECTORS_SECURITY_CHECKLIST.md (Pre-Testing Verification) โœ… NEW
โ”œโ”€โ”€ Pre-Testing Security Verification
โ”œโ”€โ”€ Token Encryption & Storage
โ”œโ”€โ”€ Multi-Layer Authorization
โ”œโ”€โ”€ OAuth Security
โ”œโ”€โ”€ Data Isolation & Multi-Tenancy
โ”œโ”€โ”€ Error Handling & Incident Response
โ”œโ”€โ”€ Logging & Audit Trail
โ”œโ”€โ”€ Deployment Security
โ”œโ”€โ”€ Rate Limiting & Abuse Prevention
โ”œโ”€โ”€ Secrets Rotation
โ”œโ”€โ”€ Testing Checklist
โ”œโ”€โ”€ Production Checklist
โ””โ”€โ”€ Incident Response Procedures

CONNECTORS_GOOGLE_CALENDAR.md (Google Calendar Details)
โ”œโ”€โ”€ Architecture
โ”œโ”€โ”€ OAuth Flow
โ”œโ”€โ”€ Event Sync
โ”œโ”€โ”€ Error Handling
โ””โ”€โ”€ Future Enhancements

CONNECTORS_MICROSOFT_OUTLOOK.md (Microsoft Outlook Details)
โ”œโ”€โ”€ Architecture
โ”œโ”€โ”€ PKCE Implementation
โ”œโ”€โ”€ Event Sync
โ”œโ”€โ”€ Differences from Google
โ””โ”€โ”€ Error Handling

CONNECTORS_SLACK.md (Slack Details)
โ”œโ”€โ”€ Architecture
โ”œโ”€โ”€ OAuth Flow
โ”œโ”€โ”€ Message Posting
โ”œโ”€โ”€ Webhook Handling
โ””โ”€โ”€ Error Handling

CONNECTORS_GOOGLE_DRIVE.md (Google Drive Details)
โ”œโ”€โ”€ Architecture
โ”œโ”€โ”€ File Browsing
โ”œโ”€โ”€ API Operations
โ”œโ”€โ”€ Future Enhancements
โ””โ”€โ”€ Error Handling

CONNECTORS_OAUTH.md (OAuth Implementation)
โ”œโ”€โ”€ OAuth 2.0 Patterns
โ”œโ”€โ”€ State Parameter Validation
โ”œโ”€โ”€ Token Lifecycle
โ””โ”€โ”€ Error Handling

CONNECTORS_SECURITY.md (Security Model)
โ”œโ”€โ”€ Authentication & Authorization
โ”œโ”€โ”€ OAuth Security
โ”œโ”€โ”€ User Isolation
โ”œโ”€โ”€ Incident Handling
โ”œโ”€โ”€ Deployment Requirements
โ””โ”€โ”€ Future Enhancements

docs/archived/README.md (Historical Reference)
โ”œโ”€โ”€ CHAT_ARCHITECTURE_PROPOSAL.md
โ”œโ”€โ”€ CHAT_IMPLEMENTATION_SUMMARY.md
โ”œโ”€โ”€ UNIFIED_CHAT_IMPLEMENTATION.md
โ”œโ”€โ”€ CHAT_INTEGRATION_COMPLETE.md
โ”œโ”€โ”€ RAG_SEARCH_IMPLEMENTATION_STATUS.md
โ””โ”€โ”€ API_ENDPOINTS_RAG_SEARCH.md

๐ŸŽฏ By Developer Role

Backend Developer (Ruby/Rails)

Essential Reading:

  1. CLAUDE.md - Project overview
  2. CHAT_FEATURES.md - How to add features
  3. RAG_SEMANTIC_SEARCH.md - Search implementation

Key Sections:

  • Architecture patterns (models, services)
  • Authorization & security
  • Testing scenarios
  • File locations

Frontend Developer (JavaScript/Stimulus)

Essential Reading:

  1. CLAUDE.md - Chat UI Patterns
  2. CHAT_FEATURES.md - Message Templates
  3. RAG_SEMANTIC_SEARCH.md - API Endpoints

Key Sections:

  • Form handling and input clearing
  • Message rendering
  • Turbo Stream integration
  • Stimulus controllers

AI Agent (Claude Code)

Recommended Starting Point:

  1. CLAUDE.md - Comprehensive reference
  2. CHAT_FEATURES.md - Implementation patterns
  3. RAG_SEMANTIC_SEARCH.md - Search details

Key Sections:

  • Development standards
  • Authorization patterns
  • File locations
  • Testing checklist

๐Ÿ” By Topic

AI Agents

Chat System

Chat Context & List Planning

Search & RAG

Authentication & Authorization

Models & Database

Frontend & UI

Testing

Third-Party Integrations (Connectors)


๐Ÿ“‹ File Organization

In Project Root (Active)

FilePurposeLinesWhen to Use
CLAUDE.mdMaster development reference750+First resource for any question
CHAT_FEATURES.mdChat implementation guide850+Building chat features
RAG_SEMANTIC_SEARCH.mdSearch & RAG guide800+Working with search/embeddings
CONNECTORS_ARCHITECTURE.mdThird-party integrations500+Working with connectors (OAuth, sync, webhooks)
CONNECTORS_SECURITY_CHECKLIST.mdPre-testing security verification400+Before testing connector functionality
README.mdThis file-Finding the right doc

In docs/ (AI Agents - Active)

FilePurposeLinesWhen to Use
AGENTS.mdAI Agents system architecture400+Building or configuring agents, managing resources/tools

In docs/ (Chat Context - Active)

FilePurposeLinesWhen to Use
CHAT_CONTEXT.mdChat context & list planning system350+Implementing intelligent list creation

In docs/ (Connectors - Active)

FilePurposeWhen to Use
CONNECTORS_OAUTH.mdOAuth 2.0 implementationUnderstanding OAuth patterns across all connectors
CONNECTORS_SECURITY.mdDetailed security modelDeep dive on authorization, encryption, error handling
CONNECTORS_GOOGLE_CALENDAR.mdGoogle Calendar specificsWorking with calendar sync and events
CONNECTORS_MICROSOFT_OUTLOOK.mdMicrosoft Outlook specificsWorking with Outlook calendars (PKCE flow)
CONNECTORS_SLACK.mdSlack specificsWorking with messaging, webhooks, notifications
CONNECTORS_GOOGLE_DRIVE.mdGoogle Drive specificsWorking with file browsing and metadata

In docs/archived/ (Reference Only)

FileHistorical ContentWhy Archived
CHAT_ARCHITECTURE_PROPOSAL.mdOriginal 18-part proposalSuperseded by CLAUDE.md + CHAT_FEATURES.md
CHAT_IMPLEMENTATION_SUMMARY.mdImplementation snapshotStatus report from implementation phase
UNIFIED_CHAT_IMPLEMENTATION.mdPhase 1 completionStatus report (features now in CHAT_FEATURES.md)
CHAT_INTEGRATION_COMPLETE.mdIntegration detailsDetails now in CLAUDE.md Chat section
RAG_SEARCH_IMPLEMENTATION_STATUS.mdRAG phase statusConsolidated into RAG_SEMANTIC_SEARCH.md
API_ENDPOINTS_RAG_SEARCH.mdSearch API docsContent moved to RAG_SEMANTIC_SEARCH.md

Deleted (Content Consolidated):

  • CHAT_QUICK_START.md โ†’ CHAT_FEATURES.md
  • CHAT_SYSTEM.md โ†’ CHAT_FEATURES.md
  • QUICK_START_RAG_SEARCH.md โ†’ RAG_SEMANTIC_SEARCH.md
  • RAG_SEARCH_INDEX.md โ†’ RAG_SEMANTIC_SEARCH.md

๐Ÿšฆ Documentation Quality Standards

All active documentation follows these standards:

โœ… Current - Updated with latest implementation details โœ… Accurate - Reflects actual code in repository โœ… Complete - Covers all essential information โœ… Clear - Written for developers and AI agents โœ… Actionable - Includes examples and code samples โœ… Organized - Clear structure with table of contents โœ… Cross-Referenced - Links to related documents โœ… Non-Duplicated - No significant content overlap


๐Ÿ“ž Finding Help

Need architecture overview? โ†’ CLAUDE.md

Can't find what you're looking for? โ†’ Check the table of contents in each doc โ†’ Use Ctrl+F to search

Implementing a new feature? โ†’ CHAT_FEATURES.md - How to Add Features

Debugging something? โ†’ Check "Troubleshooting" section in relevant doc

Want historical context? โ†’ docs/archived/README.md


๐ŸŽ“ Learning Path

New to Listopia?

  1. Read CLAUDE.md overview sections
  2. Read CLAUDE.md - Stack Overview
  3. Read CLAUDE.md - Architecture Patterns
  4. Read relevant feature docs (CHAT_FEATURES.md or RAG_SEMANTIC_SEARCH.md)

New to Chat Context & List Planning?

  1. CHAT_CONTEXT.md - Understanding Chat Context
  2. CHAT_CONTEXT.md - Implementation Details
  3. CHAT_CONTEXT.md - Flows
  4. Review the test files to understand usage

New to Chat Features?

  1. CHAT_FEATURES.md - Quick Start
  2. CHAT_FEATURES.md - Architecture Overview
  3. CHAT_FEATURES.md - How to Add Features
  4. Practice: Add a simple command

New to Search/RAG?

  1. RAG_SEMANTIC_SEARCH.md - Overview
  2. RAG_SEMANTIC_SEARCH.md - Core Concepts
  3. RAG_SEMANTIC_SEARCH.md - Architecture
  4. Practice: Test SearchService with real data

Last Updated: 2025-12-10 Documentation Version: 3.0 (Consolidated & Reorganized)