memtrace-incident-investigation

Solid

Investigate source-code bugs, incidents, regressions, production issues, and failures to root cause with Memtrace symbol search, impact, call graph, and temporal history. Use when the user asks about root cause analysis, what broke, or what changed when debugging a failure. Do not start with Grep, Glob, rg, find, or manual file search for code causes. For plain what-changed questions without a failure, use memtrace-evolution.

Code & Development 469 stars 41 forks Updated 5 days ago NOASSERTION

Install

View on GitHub

Quality Score: 81/100

Stars 20%
89
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Overview Root cause investigation workflow for incidents, regressions, and production issues. Uses `get_evolution` to list changes near the incident time, then traces blast radius and execution flows to identify the likely cause. ## Steps ### 1. Establish the timeline Determine: - **Incident time** — when did the problem start? (This becomes the `to` parameter) - **Lookback window** — how far back to search? Start with 24 hours, expand if needed. - **Repo(s)** — which services are affected? Call `list_indexed_repositories` to get repo_ids. ### 2. List changes near the incident Call `get_evolution`: ```json { "repo_id": "<affected-repo>", "from": "<incident_time minus lookback, e.g. 24h before>", "to": "<incident_time ISO-8601>", "mode": "recent", "limit": 100 } ``` **Why `recent` mode?** Returns a chronological per-episode changelog. Focus on episodes whose `reference_time` is closest to the incident — especially those with high `nodes_added` + `nodes_removed` or that touch files in the failure area. Paginate with `cursor` if `next_cursor` is present in the response. **Success criteria:** A list of episodes in the window, with touched files and change counts for each. ### 3. Identify hotspot files and symbols Call `get_evolution` again on the same window with `mode: "compound"`: ```json { "repo_id": "<affected-repo>", "from": "<same as step 2>", "to": "<same as step 2>", "mode": "compound" } ``` Review `top_changed_files` and `top_touched_sy...

Details

Author
syncable-dev
Repository
syncable-dev/memtrace-public
Created
5 months ago
Last Updated
5 days ago
Language
Python
License
NOASSERTION

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Solid

memtrace-evolution

Trace source-code change history from Memtrace's symbol-level temporal memory. Use when the user asks about change history, recent modifications, what changed since a date, symbol timeline, evolution, unexpected changes, or incident timelines. Do not use git log, git diff, Grep, or manual file search to reconstruct history. Do NOT use for current-state architecture overviews (use memtrace-codebase-exploration) or for replaying one commit/save's graph diff (use memtrace-episode-replay).

469 Updated 5 days ago
syncable-dev
AI & Automation Solid

memtrace-codebase-exploration

Map an indexed source-code repo into a structured overview — scale, communities, central symbols, execution flows, API surface, recent activity. Use when the user wants to explore, understand, onboard to, map, or get an overview of an indexed source-code repo, architecture, modules, or major flows. Do not use Glob, find, tree, rg, or manual file browsing as the first exploration path; Memtrace provides structured graph briefing. Do NOT use for change history / what-changed questions — use memtrace-evolution.

469 Updated 5 days ago
syncable-dev
AI & Automation Solid

memtrace-impact

Compute the blast radius of modifying a symbol through transitive graph impact. Use when the user asks about blast radius, impact, what breaks, risk, upstream callers, downstream dependencies, or consequences of modifying a symbol, before or during source-code changes. Do not use Grep or manual reference search; Memtrace computes transitive graph impact. For a full risk-rated plan covering a multi-part change, use memtrace-change-impact-analysis.

469 Updated 5 days ago
syncable-dev