## Researching past coding sessions for bug fixes

Search past developer transcripts and logs to surface prior solutions before beginning work.

When given a bug report or task description, query the indexed session log database via terminal for matching error codes, file paths, and keywords. Synthesize the findings into a briefing that highlights previous root causes, successful command sequences, and dead ends. Do not execute code modifications or run destructive cleanup commands without user approval. Present all findings clearly before suggesting next steps.

Approvals:

- Executing code modifications
- Running destructive cleanup commands

Source: BotBento use case https://botbento.com/usecases/researching-past-coding-sessions-for-bug-fixes/ (CC BY 4.0).
