Find decisions that affected a file.
Find which decisions modified files matching a pattern. Use it to trace why a file changed or assess impact of changes.
/plugin marketplace add enzokro/crinzo-plugins/plugin install ctx@crinzo-pluginsFind decisions that touched a file pattern.
Parse $ARGUMENTS for file pattern.
Query file impact:
python3 "${CLAUDE_PLUGIN_ROOT}/lib/ctx.py" impact "$FILE"
Decisions affecting 'auth':
[015] auth-refactor (3d)
Delta: src/auth/*.ts
[008] security-audit (12d)
Delta: src/**/*.ts
/ctx:impact auth # Files containing "auth"
/ctx:impact src/api # Files in src/api/
/ctx:impact session.ts # Specific file
This command traverses the file → decisions edge in the context graph.
src/auth/*.ts
└── modified_by → [015, 023]