name: perf-investigation-logger description: "Use when appending structured perf investigation notes and evidence." version: 5.0.0
perf-investigation-logger
Append structured investigation notes to {state-dir}/perf/investigations/<id>.md.
Follow docs/perf-requirements.md as the canonical contract.
Required Content
- •Exact user quotes (verbatim)
- •Phase summary
- •Decisions and rationale
- •Evidence pointers (files, metrics, commands)
Output Format
code
## <Phase Name> - <YYYY-MM-DD> **User Quote:** "<exact quote>" **Summary** - ... **Evidence** - Command: `...` - File: `path:line` **Decision** - ...
Constraints
- •Use
AI_STATE_DIRfor state path (default.opencode). - •Do not paraphrase user quotes.