| 1 | # Recipes -- INDEX |
| 2 | |
| 3 | Task-oriented recipes that combine `get-events.sh` + |
| 4 | `analyze-events.sh` for common bug-investigation flows. |
| 5 | |
| 6 | | Recipe | Use case | |
| 7 | |---|---| |
| 8 | | `find-by-function.md` | "Is anyone hitting a crash in this specific function?" | |
| 9 | | `find-by-version.md` | "Did crash X start in v2.10? Was it fixed in nightlies?" | |
| 10 | | `find-related-to-work.md` | "We just fixed Y. Is anyone hitting Y in agent-events?" | |
| 11 | |
| 12 | For top-level "find all crashes" / "find all fatals" flows, |
| 13 | see `../finding-crashes.md` and `../finding-fatals.md`. |
| 14 | |
| 15 | ## Common preamble |
| 16 | |
| 17 | ```bash |
| 18 | cd <repo> |
| 19 | source .agents/skills/query-agent-events/scripts/_lib.sh |
| 20 | agentevents_load_env |
| 21 | ``` |
| 22 | |
| 23 | ## Live how-to rule |
| 24 | |
| 25 | If you investigate a question that isn't covered by the |
| 26 | existing per-domain guides or these recipes AND your work |
| 27 | involved non-trivial analysis, AUTHOR a how-to under |
| 28 | `../how-tos/<slug>.md` and add a row to `../how-tos/INDEX.md`. |
| 29 | See SKILL.md for the rule. |