fix: preserve gitbundle tool wrapper paths

This commit is contained in:
Codex
2026-06-09 02:51:25 +08:00
parent 99973b07f4
commit fe33a6ee4b
4 changed files with 17 additions and 7 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ gitbundle skill 聚合规则:
workspace `tools/` 装配规则:
- runner 把 workspace `tools/` 追加`PATH`;repo 内的短命令文件本身承担 wrapper 语义。
- runner 把 workspace `tools/` 暴露`PATH`如 runtime 需要稳定 bin 目录,只能安装执行原始 workspace tool 的 shim,不能复制 tool 文件导致相对路径语义改变。repo 内的短命令文件本身承担 wrapper 语义。
- `tools/` 顶层 `.ts` 脚本必须带 shebang;带 shebang 的脚本会被 `chmod +x`
- Event/result 只输出工具文件名、hash、bytes、shebang 摘要和 count,不输出脚本文本。