Implementation: Where should workspace history.json files be stored for quic...
Documentation for Sessions
⚙️ Implementation: Where should workspace history.json files be stored for quic...
📋 Decision Context
Question:
Where should workspace history.json files be stored for quick session lookup?
Task: Workspace history.json implementation
🎯 Decision Made
Chosen:
In sessions/sessions-history/{workspace}/history.json - co-located with session manifests
Options Considered:
- In sessions/workspaces/{workspace}/history.json
- In sessions/sessions-history/{workspace}/history.json
- In sessions/history.json (single global)
- In docs/english/sessions/{workspace}/history.json
💭 Reasoning
The history.json file provides a quick index of all sessions in a workspace without reading individual files. Co-locating it with session manifests in sessions-history/ maintains single source of truth principle and makes the folder self-contained. The MCP now automatically updates this file when decisions are logged, keeping it in sync with session manifests.
📁 Files Involved
sessions/sessions-history/editor2/history.jsonsessions/sessions-history/gspace/history.jsonMCP/mcp-development-ai/src/storage/docs-data-integration.ts
🔗 Related
- Decision ID:
dev_1767648950802_remmyq6 - Session: 22
- Workspace: editor2
Auto-generated by MCP Smart Consolidation