Icpg Impact

Show the blast radius of a ReasonNode or symbol — what depends on it, what breaks if it changes.

Published by @alinaqi·from alinaqi/maggy·0 agent reads / 30d·0 saves·

/icpg-impact — Show Blast Radius

Show the blast radius of a ReasonNode or symbol — what depends on it, what breaks if it changes.


Usage

/icpg-impact <id-or-symbol>

  • If argument looks like a UUID (contains -), treat as ReasonNode ID
  • Otherwise, treat as symbol name and find its creating ReasonNode

Steps

1. Resolve target

# If ReasonNode ID
icpg query blast <id>

# If symbol name
icpg query risk <symbol-name>
# Then get the creating reason from the output
icpg query blast <creating-reason-id>

2. Display results

Format the output as:

BLAST RADIUS: <goal>
═══════════════════════════════════

Symbols ({N}):
  function validateToken (src/auth/service.ts)
  class AuthMiddleware (src/auth/middleware.ts)
  ...

Dependent Intents ({N}):
  a1b2c3d4 — Dashboard user session management
  e5f6g7h8 — Payment authorization flow
  ...

Contracts:
  INV: file_exists("src/auth/middleware.ts")
  POST: test_exists("src/auth/__tests__/service.test.ts")

Risk: {HIGH|MEDIUM|LOW} based on dependent count + drift history

3. Recommendations

If high risk (>5 dependents or active drift):

  • Suggest running full test suite before changes
  • Suggest creating a new ReasonNode with MODIFIES edge
  • Warn about function signatures to preserve

More on the bench

SKILL0

Skill Creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

ai-prompt-engineering+1
6
SKILL0

Bash Pro

Master of defensive Bash scripting for production automation, CI/CD pipelines, and system utilities. Expert in safe, portable, and testable shell scripts.

ai-prompt-engineering+3
4
SKILL0

Security Compliance Compliance Check

You are a compliance expert specializing in regulatory requirements for software systems including GDPR, HIPAA, SOC2, PCI-DSS, and other industry standards. Perform comprehensive compliance audits and provide implementation guidance for achieving and maintaining compliance.

ai-prompt-engineering+3
3