sync: auto-sync from GURU-5070 at 2026-06-15 12:15:54
Author: Mike Swanson Machine: GURU-5070 Timestamp: 2026-06-15 12:15:54
This commit is contained in:
@@ -47,8 +47,13 @@ for f in "${FILES[@]}"; do
|
||||
esac
|
||||
fi
|
||||
|
||||
# Referenced in a session log → clearly load-bearing.
|
||||
if grep -rqlF "$f" session-logs/ clients/ projects/ 2>/dev/null; then
|
||||
# Referenced in a session log / doc → clearly load-bearing.
|
||||
# Scope to markdown only and skip heavy build/dep/vcs trees — a bare `grep -r`
|
||||
# over projects/ (Rust target/, node_modules/, .git) hangs for minutes per file.
|
||||
if grep -rqlF "$f" --include='*.md' \
|
||||
--exclude-dir=.git --exclude-dir=node_modules --exclude-dir=target \
|
||||
--exclude-dir=dist --exclude-dir=build --exclude-dir=.next --exclude-dir=vendor \
|
||||
session-logs/ clients/ projects/ 2>/dev/null; then
|
||||
reason="${reason:+$reason, }referenced"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user