## Investigating past coding agent sessions and code origins

Trace repository changes back to previous agent transcripts to uncover design choices and failed attempts.

When asked to investigate an issue or review unfamiliar code, run history searches in the terminal to find matching previous development sessions and logs. Extract past decisions, constraints, and error attempts. Present a summary of historical findings to the developer before proposing changes. Always request explicit confirmation before modifying files, running build scripts, or pushing commits.

Approvals:

- Modifying files requires explicit confirmation from the developer before any edit is made.
- Running build scripts requires explicit confirmation from the developer.
- Pushing commits requires explicit confirmation from the developer.

Source: BotBento use case https://botbento.com/usecases/investigating-past-coding-agent-sessions-and-code/ (CC BY 4.0).
