# πŸ“š AI-Chats Protocol Documentation v3.2 ## 🚨 ATTENTION ALL AI CODING ASSISTANTS 🚨 **This protocol MUST be followed by ALL AI tools:** Claude Code, Gemini CLI, Qwen CLI, Kilo Code Extension, Codex Extension, and any other AI coding assistant. ## πŸ”΄ CRITICAL FILENAME CONVENTION (v3.1) πŸ”΄ ### ⚠️ MANDATORY RULES - NO EXCEPTIONS! 1. **NO SPACES IN FILENAMES** - Use dashes (`-`) instead - ❌ WRONG: `Opus 4.1--00.md` (contains space) - βœ… CORRECT: `Opus-4.1--00.md` (dash replaces space) 2. **DOUBLE DASH BEFORE SEQUENCE** - Use `--` not single `-` - ❌ WRONG: `Opus_4.1-00.md` (single dash) - βœ… CORRECT: `Opus_4.1--00.md` (double dash) 3. **COMPLETE PATTERN:** `[Model-Name-Version]--[NN].md` - Model name: Replace ALL spaces with dashes - Separator: ALWAYS use double dash (`--`) - Sequence: Two-digit number (00-99) ### πŸ“ EXAMPLES OF CORRECT NAMING: ``` Opus-4.1--00.md ← NOT "Opus 4.1-00.md" Gemini-Pro-2.5--01.md ← NOT "Gemini Pro 2.5-01.md" Qwen-2.5-Coder--02.md ← NOT "Qwen 2.5 Coder-02.md" GPT-4-Turbo--03.md ← NOT "GPT-4 Turbo-03.md" Claude-3.5-Sonnet--04.md ← NOT "Claude 3.5 Sonnet-04.md" ``` ### 🚫 WHY THIS MATTERS: - **Shell scripts break** with spaces (require constant quoting) - **URLs become ugly** with %20 encoding - **CI/CD pipelines fail** when processing spaced filenames - **Cross-platform issues** between Windows/Mac/Linux - **Double dash** clearly separates model from sequence number If you create files with spaces or single dashes, YOU ARE VIOLATING THE PROTOCOL! ## πŸš€ CRITICAL CHANGE TO v3.0 - SOLVES VERBATIM PROBLEM! **OLD WAY (v1.0) - OBSOLETE:** ``` ai-chats/2025-01-14-01-initial-setup.md ← Single file per session ``` **OLD WAY (v2.0) - CAUSED SUMMARIZATION:** ``` ai-chats/YYYY-MM-DD-01-initial-setup/ ← FOLDER per session β”œβ”€β”€ Opus_4.1.md ← Everything in one file (led to summaries) β”œβ”€β”€ Gemini_Pro_2.5.md ← Too large, triggered summarization └── GPT-4_Turbo.md ← Context pressure caused violations ``` **NEW WAY (v3.2) - USE THIS - ENFORCES VERBATIM + MASTER INDEX:** ``` ai-chats/ β”œβ”€β”€ INDEX.md ← MASTER INDEX (v3.2 MANDATORY!) β”œβ”€β”€ YYYY-MM-DD-01-initial-setup/ β”‚ β”œβ”€β”€ Opus-4.1--00.md ← Main doc (summary, tech, lessons) β”‚ β”œβ”€β”€ Opus-4.1--01.md ← Exchange 1 (FULL VERBATIM) β”‚ β”œβ”€β”€ Opus-4.1--02.md ← Exchange 2 (FULL VERBATIM) β”‚ β”œβ”€β”€ Opus-4.1--03.md ← Exchange 3 (FULL VERBATIM) β”‚ β”œβ”€β”€ Gemini-Pro-2.5--00.md ← Gemini's main doc β”‚ β”œβ”€β”€ Gemini-Pro-2.5--01.md ← Gemini's first exchange β”‚ └── [Model-Version]--[NN].md ← Pattern: 00=main, 01+=exchanges ``` ## 🎯 Overview The AI-Chats protocol is a **MANDATORY** folder-based documentation system for tracking all AI-assisted development sessions. Each session gets its own folder with SPLIT FILES to ensure verbatim documentation without summarization. ## πŸ”΄ CRITICAL: THE NEW PROTOCOL (v3.2) ### πŸ“‘ STEP 0: MASTER INDEX MAINTENANCE (NEW IN v3.2!) **🚨 MANDATORY: Before AND after every session:** 1. **Check for `ai-chats/INDEX.md`:** - If it doesn't exist, CREATE it immediately - If it exists, READ it to understand existing sessions 2. **Update `INDEX.md` after EVERY session:** - Add new session folder to the index - Include session date, topic, models used, and file count - Keep index sorted by date (newest first) - This is NOT optional - EVERY AI must maintain the index! ### πŸ“ STEP 1: FOLDER CREATION/DETECTION **THE VERY FIRST THING IN ANY PROJECT:** 1. **Check for existing session folder:** - Look in `ai-chats/` for folders matching today's date pattern: `YYYY-MM-DD-*` - If folders exist, examine their contents (look for .md files inside) - Determine if any folder matches the current session topic - Use fuzzy matching - don't create duplicate folders for similar topics 2. **Create or use folder:** - If no matching folder exists, create: `ai-chats/YYYY-MM-DD-XX-description/` - If matching folder found, use that existing folder - NO `.md` extension on folder names! ### πŸ“ STEP 2: MODEL-SPECIFIC FILE CREATION **Inside the session folder, create MULTIPLE files with this pattern:** ``` ai-chats/YYYY-MM-DD-XX-description/ β”œβ”€β”€ [Model-Version]--00.md ← Main documentation file β”œβ”€β”€ [Model-Version]--01.md ← First exchange (VERBATIM) β”œβ”€β”€ [Model-Version]--02.md ← Second exchange (VERBATIM) β”œβ”€β”€ [Model-Version]--03.md ← Third exchange (VERBATIM) └── [Model-Version]--NN.md ← Continue numbering sequentially ``` **File Numbering Convention:** - **--00**: Main documentation (summary, tech details, lessons, next steps) - **--01 to --99**: Individual exchanges in chronological order (FULL VERBATIM) **πŸ”΄ MANDATORY: Model Name + Version Examples (NO SPACES!):** - Claude Code β†’ "Opus-4.1--00.md", "Sonnet-3.5--00.md", "Haiku-3--00.md" - Gemini CLI β†’ "Gemini-Pro-2.5--00.md", "Gemini-Ultra-1.5--00.md", "Gemini-Flash-2.0--00.md" - Qwen CLI β†’ "Qwen-2.5--00.md", "Qwen-72B--00.md", "Qwen-2.5-Coder--00.md" - GPT variants β†’ "GPT-4--00.md", "GPT-4-Turbo--00.md", "GPT-4o--00.md", "GPT-3.5-Turbo--00.md" - DeepSeek β†’ "DeepSeek-V3--00.md", "DeepSeek-Coder-V2--00.md" - Anthropic β†’ "Claude-3-Opus--00.md", "Claude-3.5-Sonnet--00.md" - Others β†’ ALWAYS include version, NO SPACES, use DOUBLE DASH ## πŸ“‹ Folder Naming Convention ``` ai-chats/YYYY-MM-DD-XX-description/ ``` - **YYYY** - Four-digit year (e.g., 2025) - **MM** - Two-digit month (01-12) - **DD** - Two-digit day (01-31) - **XX** - Two-digit session number for that day (01, 02, 03...) - **description** - Brief 2-3 word kebab-case description ### βœ… Correct Examples: ``` ai-chats/YYYY-MM-DD-01-initial-setup/ ai-chats/YYYY-MM-DD-02-database-migration/ ai-chats/YYYY-MM-DD-01-api-integration/ ``` ### ❌ WRONG Examples: ``` ai-chats/YYYY-MM-DD-01-initial-setup.md ← NO! This is a file, not folder ai-chats/initial-setup/ ← NO! Missing date and sequence ai-chats/YYYY-M-DD-1-setup/ ← NO! Must use two-digit format ai-chats/YYYY-MM-DD-01-setup/Opus 4.1--00.md ← NO! Space in filename ai-chats/YYYY-MM-DD-01-setup/Opus_4.1-00.md ← NO! Single dash ``` ## πŸ€– IMPLEMENTATION ALGORITHM FOR AI TOOLS v3.2 **EVERY AI tool MUST follow this exact algorithm:** ```python # PSEUDO-CODE FOR AI TOOLS TO FOLLOW: 0. MASTER INDEX MAINTENANCE (NEW IN v3.2!): a. Check if ai-chats/INDEX.md exists b. If not, create it with proper template c. If exists, read it to understand existing sessions d. BOOKMARK: You will update this at the END of session 1. Get current date and format as YYYY-MM-DD 2. List all folders in ai-chats/ directory 3. Filter folders starting with today's date 4. If matching folders exist: a. Read contents of each folder b. Check if topic matches current session c. If match found: USE THAT FOLDER d. If no match: Create new folder with next sequence number 5. If no folders for today: a. Create folder with sequence 01 6. Inside chosen/created folder: a. Create "[Model-Version]--00.md" for main documentation (NO SPACES!) b. For EACH exchange with user: - Create "[Model-Version]--NN.md" (01, 02, 03...) (DOUBLE DASH!) - Include COMPLETE VERBATIM exchange - NO SUMMARIZATION ALLOWED c. Update --00.md with summary and index after session 7. UPDATE MASTER INDEX (MANDATORY!): a. Add/update entry for this session in ai-chats/INDEX.md b. Include: date, folder name, topic, models used, file count c. Keep sorted by date (newest first) d. Regenerate table of contents if needed ``` ## πŸ“‹ Required Document Structure ### πŸ“‘ Master Index File (INDEX.md) - NEW IN v3.2! The `ai-chats/INDEX.md` file is **MANDATORY** and serves as the complete table of contents for ALL sessions. This file MUST be created/updated by EVERY AI assistant. #### Structure of INDEX.md: ```markdown # AI-Chats Master Index **Last Updated:** YYYY-MM-DD HH:MM:SS **Total Sessions:** [count] **Total Files:** [count across all sessions] ## πŸ“‹ Quick Navigation - [By Date](#sessions-by-date) - [By Topic](#sessions-by-topic) - [By Model](#sessions-by-model) - [Statistics](#statistics) --- ## Sessions by Date ### YYYY-MM-DD #### [01] [Folder: YYYY-MM-DD-01-topic-name](./YYYY-MM-DD-01-topic-name/) - **Topic:** Brief description - **Models Used:** Sonnet-4.5, Gemini-Pro-2.5 - **Files:** 7 files (3 Sonnet + 4 Gemini) - **Status:** βœ… Complete / 🚧 In Progress / πŸ”„ Continued - **Key Achievements:** - Achievement 1 - Achievement 2 - **Related Sessions:** Links to related session folders #### [02] [Folder: YYYY-MM-DD-02-another-topic](./YYYY-MM-DD-02-another-topic/) - **Topic:** Brief description - **Models Used:** GPT-4-Turbo - **Files:** 4 files - **Status:** βœ… Complete - **Key Achievements:** - Achievement 1 --- ## Sessions by Topic ### Database & Migrations - [YYYY-MM-DD-02-database-migration](./YYYY-MM-DD-02-database-migration/) - [YYYY-MM-DD-15-schema-refactor](./YYYY-MM-DD-15-schema-refactor/) ### API Development - [YYYY-MM-DD-01-api-integration](./YYYY-MM-DD-01-api-integration/) - [YYYY-MM-DD-08-rest-endpoints](./YYYY-MM-DD-08-rest-endpoints/) ### Frontend - [YYYY-MM-DD-03-react-setup](./YYYY-MM-DD-03-react-setup/) --- ## Sessions by Model ### Sonnet-4.5 (Claude Code) - [YYYY-MM-DD-01-topic-name](./YYYY-MM-DD-01-topic-name/) - 3 files - [YYYY-MM-DD-05-another](./YYYY-MM-DD-05-another/) - 5 files ### Gemini-Pro-2.5 - [YYYY-MM-DD-01-topic-name](./YYYY-MM-DD-01-topic-name/) - 4 files - [YYYY-MM-DD-03-different](./YYYY-MM-DD-03-different/) - 2 files ### GPT-4-Turbo - [YYYY-MM-DD-02-another-topic](./YYYY-MM-DD-02-another-topic/) - 4 files --- ## Statistics ### By Month - **2025-01:** 15 sessions, 87 files - **2024-12:** 23 sessions, 134 files ### By Model - **Sonnet-4.5:** 45 sessions, 213 files - **Gemini-Pro-2.5:** 12 sessions, 67 files - **GPT-4-Turbo:** 8 sessions, 34 files ### Most Active Topics 1. API Development (15 sessions) 2. Database Work (12 sessions) 3. Frontend (10 sessions) --- ## Complete File Listing ### YYYY-MM-DD-01-topic-name/ - [Sonnet-4.5--00.md](./YYYY-MM-DD-01-topic-name/Sonnet-4.5--00.md) - Main documentation - [Sonnet-4.5--01.md](./YYYY-MM-DD-01-topic-name/Sonnet-4.5--01.md) - Exchange 1 - [Sonnet-4.5--02.md](./YYYY-MM-DD-01-topic-name/Sonnet-4.5--02.md) - Exchange 2 - [Gemini-Pro-2.5--00.md](./YYYY-MM-DD-01-topic-name/Gemini-Pro-2.5--00.md) - Main documentation - [Gemini-Pro-2.5--01.md](./YYYY-MM-DD-01-topic-name/Gemini-Pro-2.5--01.md) - Exchange 1 - [Gemini-Pro-2.5--02.md](./YYYY-MM-DD-01-topic-name/Gemini-Pro-2.5--02.md) - Exchange 2 - [Gemini-Pro-2.5--03.md](./YYYY-MM-DD-01-topic-name/Gemini-Pro-2.5--03.md) - Exchange 3 ### YYYY-MM-DD-02-another-topic/ - [GPT-4-Turbo--00.md](./YYYY-MM-DD-02-another-topic/GPT-4-Turbo--00.md) - Main documentation - [GPT-4-Turbo--01.md](./YYYY-MM-DD-02-another-topic/GPT-4-Turbo--01.md) - Exchange 1 - [GPT-4-Turbo--02.md](./YYYY-MM-DD-02-another-topic/GPT-4-Turbo--02.md) - Exchange 2 - [GPT-4-Turbo--03.md](./YYYY-MM-DD-02-another-topic/GPT-4-Turbo--03.md) - Exchange 3 [Continue for all session folders...] ``` #### πŸ”΄ MANDATORY Rules for INDEX.md: 1. **Always Update:** Every AI session MUST update this file at session end 2. **Accurate Counts:** File counts and statistics MUST be accurate 3. **Consistent Format:** Follow the template structure exactly 4. **Multiple Views:** Provide at least 3 views (Date, Topic, Model) 5. **Complete Listing:** Include EVERY file in the complete listing section 6. **Relative Links:** Use relative paths for all links 7. **Status Indicators:** Use emojis for quick status identification - βœ… Complete - 🚧 In Progress - πŸ”„ Continued from previous session - ⚠️ Issues/Blockers ### πŸ“„ Main Documentation File (--00) The `[Model-Version]--00.md` file **MUST** include these sections: #### 1. πŸ“… Session Header ```markdown # AI Chat Session: [Topic] - **Date:** YYYY-MM-DD HH:MM - **Model:** [Your Exact Model Name/Version] - **Topic:** Brief description - **Tool:** Claude Code/Gemini CLI/Qwen CLI/etc - **Project:** Project name - **Exchange Count:** Total number of exchange files ``` #### 2. πŸ’‘ Conversation Summary - High-level overview of what was discussed - Main objectives and goals - Key decisions made - Overall outcome #### 3. πŸ”§ Technical Details - Technologies used - Frameworks and libraries - APIs and services - Configuration changes - Dependencies added/removed - Files created/modified (list with paths) #### 4. πŸ“š Lessons Learned - What worked well - What didn't work - Debugging insights - Performance discoveries - Best practices identified #### 5. ⏭️ Next Steps - Unfinished tasks - Future improvements - Follow-up questions - Related work to explore #### 6. πŸ“ Exchange Index ```markdown ## Exchange Files - [01 - Initial Request](./Opus-4.1--01.md) - [02 - Implementation](./Opus-4.1--02.md) - [03 - Testing](./Opus-4.1--03.md) [Continue listing all exchanges] ``` ### πŸ’¬ Exchange Files (--01, --02, etc.) Each `[Model-Version]--NN.md` file contains **ONE COMPLETE EXCHANGE:** ```markdown # Exchange NN: [Brief Description] - **Timestamp:** YYYY-MM-DD HH:MM:SS - **Context:** [What was happening before this exchange] ## User Input [EXACT, VERBATIM user message including any code, errors, etc.] ## AI Response [COMPLETE, VERBATIM AI response] ## Tool Calls [FULL JSON of any tool invocations] <function_calls> [Complete function call JSON] </function_calls> ## Function Results [Complete, unedited function results] ## Files Read/Modified [If files were read or edited, include the FULL content] ``` ### Starting a Session 1. **Manual:** Create file immediately when starting work 2. **Automatic:** Use `/_startup` command which auto-creates AI chat ### During the Session - Update document continuously as work progresses - Include all significant code changes - Document decision rationale - Capture error messages and solutions ### Ending a Session - Use `/_wrapup` command to: - Commit changes with proper message - Sync to AI Value Vault repository - Generate session summary ## 🌟 Benefits ### πŸ“Š Knowledge Management - **Searchable History:** Find solutions to previously solved problems - **Pattern Recognition:** Identify recurring issues and solutions - **Learning Resource:** Review past sessions for education ### 🀝 Team Collaboration - **Onboarding:** New team members can review AI chat history - **Context Sharing:** Understand decisions and approaches - **Audit Trail:** Complete record of AI-assisted development ### πŸš€ Productivity - **Resume Work:** Pick up exactly where you left off - **Avoid Repetition:** Don't solve the same problem twice - **Best Practices:** Build institutional knowledge ## πŸ“‚ REAL-WORLD EXAMPLE v3.2 ### Complete Folder Structure with Split Files and Master Index ``` ai-chats/ β”œβ”€β”€ README.md (Protocol documentation - this file) β”œβ”€β”€ INDEX.md (πŸ†• MASTER INDEX - MANDATORY!) β”œβ”€β”€ 2025-01-15-01-initial-setup/ β”‚ β”œβ”€β”€ Opus-4.1--00.md (Claude's main doc) β”‚ β”œβ”€β”€ Opus-4.1--01.md (First exchange - verbatim) β”‚ β”œβ”€β”€ Opus-4.1--02.md (Second exchange - verbatim) β”‚ β”œβ”€β”€ Opus-4.1--03.md (Third exchange - verbatim) β”‚ β”œβ”€β”€ Gemini-Pro-2.5--00.md (Gemini's main doc) β”‚ β”œβ”€β”€ Gemini-Pro-2.5--01.md (Gemini's first exchange) β”‚ └── GPT-4-Turbo--00.md (GPT-4's main doc) β”œβ”€β”€ 2025-01-15-02-database-migration/ β”‚ β”œβ”€β”€ Sonnet-4.5--00.md (Main documentation) β”‚ β”œβ”€β”€ Sonnet-4.5--01.md (Exchange 1: Schema design) β”‚ β”œβ”€β”€ Sonnet-4.5--02.md (Exchange 2: Migration script) β”‚ └── Sonnet-4.5--03.md (Exchange 3: Testing) β”œβ”€β”€ 2025-01-14-01-api-integration/ β”‚ β”œβ”€β”€ Sonnet-4.5--00.md β”‚ β”œβ”€β”€ Sonnet-4.5--01.md β”‚ └── Sonnet-4.5--02.md └── archive/ └── (older session folders - still indexed!) ``` ## 🎭 MULTI-MODEL COLLABORATION When multiple AI models work on the same session: 1. Each model creates its OWN file in the SAME folder 2. Models should check for existing files to understand context 3. Models can reference work done by other models 4. This creates a comprehensive record of collaborative AI development ### Example Scenario: ``` Morning: Claude creates folder and starts work β†’ ai-chats/YYYY-MM-DD-01-react-setup/Opus-4.1--00.md Afternoon: User switches to Gemini for specific task β†’ ai-chats/YYYY-MM-DD-01-react-setup/Gemini-Pro-2.5--00.md Evening: User asks GPT-4 to review and optimize β†’ ai-chats/YYYY-MM-DD-01-react-setup/GPT-4-Turbo--00.md ``` ## 🏷️ HOW TO DETERMINE YOUR MODEL NAME ### For AI Tools - Use This Logic: ```javascript // Example for different AI tools - ALWAYS INCLUDE VERSION, NO SPACES, DOUBLE DASH: if (tool === "Claude Code") { // Use the specific model WITH version, dash for spaces filename = "Opus-4.1--00.md" // or "Sonnet-3.5--00.md", "Haiku-3--00.md" } else if (tool === "Gemini CLI") { // MUST include version number, replace spaces with dashes filename = "Gemini-Pro-2.5--00.md" // or "Gemini-Ultra-1.5--00.md" } else if (tool === "Qwen CLI") { // Include version/variant, no spaces allowed filename = "Qwen-2.5--00.md" // or "Qwen-2.5-Coder--00.md" } else if (tool === "GPT-based") { // Include variant/version, use dashes filename = "GPT-4-Turbo--00.md" // or "GPT-4o--00.md", "GPT-3.5-Turbo--00.md" } else { // ALWAYS include version, NO SPACES, DOUBLE DASH filename = "[Model-Name]-[Version]--00.md" } ``` ### πŸ”΄ MANDATORY: Version Number Rules 1. **ALWAYS include version numbers** - no exceptions! 2. Use the EXACT model name/version you're running on 3. Include sub-versions if relevant (e.g., "2.5", "3.5", "V3") 4. Include variants if applicable (e.g., "Turbo", "Pro", "Ultra", "Coder") 5. **NEVER use spaces** - replace ALL spaces with dashes (`-`) 6. **ALWAYS use double dash** (`--`) before sequence numbers 7. Be consistent - always use the same format for the same model ## πŸ” Search and Discovery ### Finding Past Solutions ```bash # Search all AI chats for a keyword grep -r "database migration" ai-chats/ # Find sessions by date ls -la ai-chats/YYYY-MM-*/ # Search for specific errors across all models grep -r "TypeError" ai-chats/ --include="*.md" # Find what Gemini worked on find ai-chats -name "Gemini*--*.md" -exec grep -l "API" {} \; ``` ### Using with Git ```bash # View AI chat history git log --oneline -- ai-chats/ # See what was discussed in a commit git show <commit-hash> -- ai-chats/ ``` ## πŸš€ Advanced Features ### AI Value Vault Synchronization - Sessions auto-sync to: `https://github.com/PowerAppsDarren/ai-value-vault` - Creates shared knowledge base across projects - Enables cross-project learning ### Session Analytics Track productivity metrics: - Sessions per week/month - Common problem categories - Solution success rates - Time saved through reuse ## ⚑ Quick Commands ```bash # Start new session with auto-creation /_startup # Wrap up session with commit and sync /_wrapup # Resume from previous session /_resume # Show session status /_status ``` ## 🎯 Best Practices ### βœ… DO: - Create AI chat file IMMEDIATELY when starting - Update continuously throughout session - Include complete context and rationale - Document both successes and failures - Use descriptive file names - Preserve full conversation history ### ❌ DON'T: - Skip creating AI chat files - Wait until end to document - Summarize too briefly - Delete "failed" attempts - Use generic descriptions - Forget to commit changes ## πŸ”— Related Documentation - **Global Config:** `~/.claude/CLAUDE.md` - **Project Config:** `.claude/PROJECT.md` - **AI Value Vault:** `https://github.com/PowerAppsDarren/ai-value-vault` - **Command System:** Use `/_command help` for details ## ❓ FAQ FOR AI TOOLS v3.2 ### Q: Why split into multiple files? **A:** Large context in single files triggers AI summarization. Split files ensure VERBATIM documentation. ### Q: What goes in --00 vs --01, --02 files? **A:** --00 = summary/tech/lessons. --01+ = COMPLETE verbatim exchanges, one per file. ### Q: What is INDEX.md and why is it mandatory? (NEW v3.2) **A:** INDEX.md is the master table of contents for ALL sessions. It provides: - Quick navigation by date, topic, or model - Complete file listings - Statistics and analytics - Discovery of related sessions Every AI MUST update it at session end. No exceptions! ### Q: What if INDEX.md doesn't exist? **A:** Create it immediately using the template in this protocol. It's mandatory! ### Q: Do I need to update INDEX.md if I'm just continuing an existing session? **A:** YES! Update the file count and timestamp. Keep it accurate. ### Q: How many exchange files can I create? **A:** Up to 99 per model (--01 through --99). If more needed, consider a new session. ### Q: What if ai-chats/ folder doesn't exist? **A:** Create it first, then create your session folder inside, then create INDEX.md. ### Q: How do I know what sequence number to use? **A:** Count existing folders for today's date. Next number = count + 1, formatted as 01, 02, 03, etc. ### Q: What if user's topic doesn't match any existing folder? **A:** Create a new folder with next sequence number and 2-3 word description. ### Q: Should I read other model's files in the same folder? **A:** Yes! This provides context and prevents duplicate work. ### Q: What if my model name has special characters or spaces? **A:** Replace spaces with dashes (-). Other special chars: / β†’ -, : β†’ -, * β†’ -star ### Q: Can I summarize in the exchange files? **A:** ABSOLUTELY NOT. Exchange files MUST be verbatim. No exceptions. ### Q: Should archived sessions be in INDEX.md? **A:** YES! All sessions, including archived ones, should be in the index for complete discoverability. ## πŸš€ QUICK IMPLEMENTATION CHECKLIST v3.2 **For AI Tools - Copy This Checklist:** ``` SESSION START: β–‘ Check if ai-chats/ directory exists β–‘ πŸ†• Check if ai-chats/INDEX.md exists (create if missing!) β–‘ πŸ†• Read INDEX.md to understand existing sessions β–‘ Get today's date in YYYY-MM-DD format β–‘ List existing folders for today β–‘ Determine if any folder matches current topic β–‘ Create new folder OR use existing one β–‘ Create [Model-Version]--00.md for main documentation (NO SPACES!) β–‘ Create [Model-Version]--01.md for first exchange (VERBATIM, DOUBLE DASH!) DURING SESSION: β–‘ Create [Model-Version]--NN.md for each subsequent exchange β–‘ NO SUMMARIZATION in exchange files - VERBATIM ONLY SESSION END: β–‘ Update --00.md with summary and exchange index β–‘ πŸ†• UPDATE ai-chats/INDEX.md with this session's info β–‘ πŸ†• Add session to "By Date" section β–‘ πŸ†• Add session to "By Topic" section β–‘ πŸ†• Add session to "By Model" section β–‘ πŸ†• Add all files to "Complete File Listing" β–‘ πŸ†• Update statistics (session count, file count) β–‘ πŸ†• Update "Last Updated" timestamp ``` ## πŸ“ž Support - **Protocol Version:** 3.2 (Split-file system + Master Index) - **Key Innovations:** - v3.0: Solves verbatim problem by splitting exchanges - v3.2: Adds master INDEX.md for complete discoverability - **Issues:** Report at project repository - **Questions:** Review this README first - **Improvements:** Submit PRs with documentation --- ## 🎯 Why v3.2 Works **The Problem v1:** Large files trigger AI summarization instinct **The Solution v1:** Split files prevent context pressure **The Problem v2:** Hard to discover and navigate sessions across projects **The Solution v2:** Master INDEX.md provides complete table of contents **The Result:** TRUE VERBATIM DOCUMENTATION + EASY DISCOVERY *This protocol ensures every AI-assisted development session creates lasting value through COMPLETE documentation AND makes that documentation easily discoverable. The split-file structure eliminates summarization, the master index enables discovery, and multi-model collaboration creates comprehensive knowledge. Your future self (and team) will thank you!* **Remember: - --00 = Summary, --01+ = VERBATIM EXCHANGES! - NO SPACES IN FILENAMES! - ALWAYS UPDATE INDEX.md!**