mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
Fixes #153. Phase 0 step 7 filters changed files to source extensions only and never reads `.understandignore`, so files in user-excluded paths (migrations, vendored code, tests) count as structural changes and can spuriously escalate the action to FULL_UPDATE. The reporter saw 50 → 38 structural files after applying their ignore patterns (below the 30-file FULL_UPDATE threshold, ARCHITECTURE_UPDATE would have sufficed). Add step 9 that delegates to `createIgnoreFilter` from `@understand-anything/core` via $CLAUDE_PLUGIN_ROOT. Same code path as /understand's project-scanner Step 2.5, so the auto-update honors the exact same patterns (hardcoded defaults + user .understandignore files at both standard locations + `!` negation semantics). If $CLAUDE_PLUGIN_ROOT can't be resolved, fail loud rather than silently skipping — a silent skip reproduces the original bug.