--- name: perf-investigation-logger description: "Use when appending structured perf investigation notes and evidence." version: 1.0.0 --- # perf-investigation-logger Append structured investigation notes to `{state-dir}/perf/investigations/.md`. Follow `docs/perf-requirements.md` as the canonical contract. ## Required Content 1. Exact user quotes (verbatim) 2. Phase summary 3. Decisions and rationale 4. Evidence pointers (files, metrics, commands) ## Output Format ``` ## - **User Quote:** "" **Summary** - ... **Evidence** - Command: `...` - File: `path:line` **Decision** - ... ``` ## Constraints - Use `AI_STATE_DIR` for state path (default `.claude`). - Do not paraphrase user quotes.