memtrace-preflight

Solid

Run a one-call pre-flight check on a single existing symbol before editing it: blast radius, co-change partners, complexity, 30-day churn, and verification checklist, then check Cortex decision memory for rationale/bans when intent may matter. Use before modifying any existing function or symbol you did not just write. Do not start editing a non-trivial existing function without pre-flight plus decision-memory recall/provenance; Memtrace knows the dependency graph, change history, and recorded decisions.

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-flight check: the two minutes before an edit that prevent the bug. One `preflight_check` call composes the dependency graph, the bi-temporal change history, and the complexity metrics into an actionable radar for a single symbol. ## Quick Reference | Tool | Purpose | |------|---------| | `preflight_check` | Full radar for one symbol: blast radius + co-change + churn + checklist | | `get_impact` | Deeper blast-radius walk when the radar flags HIGH/CRITICAL | | `get_cochange_context` | Wider co-change window when partners look surprising | | `recall_decision` | Recorded choices, bans, and conventions for the symbol/subsystem/behavior | | `why_is_this_here` / `governing_contracts` | Symbol-scoped rationale and constraints when a symbol id is available | > **Parameter types:** MCP parameters are strictly typed. Numbers must be Full parameter spec for every Memtrace tool: `references/mcp-parameters.md` (bundled at the memtrace-skills plugin root). > JSON numbers — not strings. ## Steps ### 1. Run the pre-flight check before touching the symbol `preflight_check` with: - `repo_id` — required - `symbol` — the function/method name you are about to modify ### 2. Read the checklist — it is generated from the graph, not boilerplate Each line names something concrete to verify: - *"N symbols depend on this"* → run `get_impact` again after your edit and compare `total_affected`; new dependents mean your change leaked wider than intended. - *"hotspot: N changes...

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

AI & Automation Solid

memtrace-change-impact-analysis

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.

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
AI & Automation Listed

memory-pre-flight

Use BEFORE any code edit, plan, or architectural decision. Defines the Two-Tier Pre-Flight Protocol (Topic Pre-Flight at workflow start; File Pre-Flight at each Edit). Agents preload this skill when they may modify code or propose changes — it tells them how to read the .devt/state/preflight-brief.md, when to escalate to a 5-lane File Pre-Flight, and how to scratchpad-summarize their findings before touching files. The PreToolUse pre-flight-guard hook checks the scratchpad — missing summaries warn or block the edit.

0 Updated 5 days ago
emrecdr