Architecture: After deleting legacy session files, should MCP code be upda...

Documentation for Sessions

🏗️ Architecture: After deleting legacy session files, should MCP code be upda...

📋 Decision Context

Question:

After deleting legacy session files, should MCP code be updated to only use unified history.json?

Task: MCP Session Management System Refactor - v8.0 Update


🎯 Decision Made

Chosen:

Update all MCP code to read exclusively from sessions/history.json

Options Considered:

  1. Keep backwards compatibility with legacy files
  2. Fully migrate to unified history.json only

💭 Reasoning

With unified history.json as the single source of truth, all references to legacy files (sessionID.json, workspace-specific active.json and history.json) should be removed from MCP code. This eliminates confusion and ensures consistent session tracking. The MCP server runs TypeScript source directly via tsx, so changes take effect on restart.


📁 Files Involved


🔗 Related


Auto-generated by MCP Smart Consolidation