session_mine
Mine past coding sessions to search conversations, find decisions, replay file discussions, detect struggles and errors, correlate edits, and generate timelines and summaries.
Instructions
Mine session history. Operations:
search: Search across past conversations (query, project_path, limit, method=hybrid|semantic|keyword)
decisions: Find when/why a decision was made (query, project_path)
replay: Find discussions about a file (file_path, project_path)
struggles: Files/areas with repeated difficulty (project_path)
errors: Recurring error patterns across sessions (project_path)
correlations: Files always edited together (project_path)
timeline: Project development timeline (project_path)
summaries: Auto-generated session summaries (project_path)
overview: High-level project stats (project_path)
status: Mining index coverage (project_path)
reindex: Trigger background re-indexing (project_path, mode=post_session|bootstrap|full)
predict: Predict context needed for a file edit (file_path, project_path)
cross_project: Patterns across all projects (no project_path needed)
reflect: LLM-powered analysis of mistakes, patterns, and decisions (project_path)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Operation to perform | |
| project_path | No | Project directory | |
| query | No | For search/decisions: search query | |
| file_path | No | For replay: file to find discussions about | |
| limit | No | Max results (default 10) | |
| method | No | For search: search method | |
| mode | No | For reindex: mining mode | |
| since | No | For search: filter after date (YYYY-MM-DD) | |
| until | No | For search: filter before date (YYYY-MM-DD) |