完整测试套件可能执行仓库定义的代码和钩子
原文依据:3 处该 Skill 要求在结束时运行完整测试套件。测试命令通常会加载仓库配置、插件、测试夹具和生命周期脚本;本指令没有限定可信仓库、具体命令、网络访问或副作用。
在不可信或被篡改的仓库中,测试流程可能读取可用文件或凭据、访问网络、启动服务,或修改工作区及外部资源。这里的材料不能证明这些行为一定发生,但该指令会触发相应执行路径。
原文要求在实现过程中运行类型检查和测试,符合“根据规格实施工作”的正常验证流程。提供的源码没有指定任何测试命令、钩子、网络操作或可疑脚本,因此无法从这些行支持“会执行仓库钩子”等更具体的风险主张。对不受信任的仓库,用户仍可要求先展示实际测试命令及其脚本定义,再允许执行。
这项判断针对展示的代码和适用条件,不表示风险已经实际发生。Use /tdd where possible, at pre-agreed seams.Run typechecking regularly, single test files regularly, and the full test suite once at the end.查看另外 2 个位置
---name: implementdescription: "Implement a piece of work based on a spec or set of tickets."disable-model-invocation: trueImplement the work described by the user in the spec or tickets.Use /tdd where possible, at pre-agreed seams.Run typechecking regularly, single test files regularly, and the full test suite once at the end.