fcca3f95e0
上一版软链修复有回归:.gitignore 的 `node_modules/`(带斜杠)只匹配目录不匹配软链, 导致 agent 的 `git add -A` 把 `node_modules -> /abs/path` 软链提交进分支,泄露本机绝对路径 (code review + 安全审计已正确 reject)。改为建软链前先把 node_modules 写进共享 <repo>/.git/info/exclude(git 的 info/exclude 取 common dir,worktree 也读它;untracked、幂等、 不动 tracked 的 .gitignore)。测试加回归断言:git add -A 后软链不出现在 status。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>