memtrace-change-impact-analysis

Solid

Compute what a planned source-code change will break — blast radius, affected processes, cross-repo callers, temporal stability, and Cortex decision-memory constraints — and produce a risk-rated change plan. Use for multi-symbol or multi-part edits, refactors, API changes, renames, removals, PR reviews, or risk assessments that need a plan; for one symbol's raw blast radius, call get_impact directly. Do not manually grep references or browse files for impact; use Memtrace graph context, change history, and decision recall/provenance.

AI & Automation 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 Pre-change risk assessment workflow. Before modifying code, this workflow maps the full blast radius, identifies affected processes, checks recent change history for instability signals, checks Cortex decision memory for recorded decisions/bans/contracts, and produces a risk-rated change plan. Use this workflow when the change spans multiple symbols or needs a risk-rated plan. For a quick raw upstream/downstream radius around one known symbol, call `get_impact` directly. ## Steps ### 1. Identify what's being changed Find the target symbol(s): - Use `find_symbol` if the user named specific functions/classes - Use `find_code` if the user described behaviour ("the authentication middleware") Collect symbol **names** (`name`, `scope_path`, `file_path`) for all targets — graph tools use names, not internal IDs. ### 2. Get 360° context for each target For each symbol, call `get_symbol_context` (`repo_id`, `symbol`, `file_path`): - Direct callers and callees - Community membership (which module is this in?) - Process membership (which execution flows does this participate in?) - Cross-repo API callers (is this an endpoint called by other services?) **Decision:** If cross-repo API callers exist, this change requires coordination with other teams. Flag this immediately. ### 3. Compute blast radius For each target, call `get_impact` (`repo_id`, `target`) with `direction: "both"`, `depth: 5`: - Upstream impact: what depends on this symbol - Downstream impact: what...

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