noodlbox

Impact Detection

Analyze git changes to understand code impact

Analyze your uncommitted changes to see which processes and symbols are affected before committing.

Parameters

ParameterTypeRequiredDescription
repositorystringYesRepository name
change_scopestringNoWhat to analyze (default: "unstaged")
base_refstringNoBase reference for comparison (default: "HEAD")
include_contentbooleanNoInclude symbol signatures (default: false)
depthstringNoResult detail level: "definitions" (default) or "full"

Depth Parameter

ValueDescription
"definitions" (default)Returns affected symbol signatures and bodies only
"full"Returns affected symbols plus all relationship data (callers, callees, edges)

Change Scopes

ScopeUse Case
unstagedSee impact before staging
stagedReview before committing
allFull picture of uncommitted work
compareCompare against branch (use with base_ref)

Usage

Ask your agent:

"What processes are affected by my current changes?"

"Check the impact of my staged changes before I commit"

"Compare my changes against main branch"

Response

{
  "changed_files": [
    {
      "file_path": "src/auth/login.ts",
      "change_type": "modified",
      "affected_symbols": ["authenticateUser", "validateCredentials"]
    }
  ],
  "affected_processes": [
    {
      "process_label": "UserAuthentication",
      "process_type": "cross_community",
      "affected_symbols": [
        {
          "symbol_name": "authenticateUser",
          "change_type": "modified"
        },
        {
          "symbol_name": "checkPermissions",
          "change_type": "potentially_affected"
        }
      ]
    }
  ]
}

What to Look For

  • modified: Symbols you directly changed
  • potentially_affected: Symbols that call or are called by modified code
  • cross_community: Changes spanning multiple areas have wider impact

Common Workflows

Before committing:

/noodlbox:detect_impact staged

Before creating PR:

/noodlbox:detect_impact compare --base_ref main

On this page