bot-forge error
Error code BF1008
ERROR configuration error: tool rust-analyzer must use the Some(Rustup) typed backend for removal; the registry does not store replayable shell commands
HINT Run bot-forge resume to inspect the unfinished transaction or restore from its backup.
exit=8
隔离目录状态不变:managed=2 pending=0
各平台确认:蓝区 Linux x86_64 复现(操作前后默认目录 23/22/0 一致);绿区三平台复现(行为与消息一致);黄区 Linux x86_64 / ARM 复现(行为与消息一致);蓝区 Windows x86_64 无法测试(环境无托管 rust-toolchain 记录)。
问题概述
remove rust-toolchain --yes(rustup 后端 managed 记录,实测 rust-analyzer)一律拒绝,返回 BF1008/exit8;错误消息中泄漏Some(Rustup)调试格式(内部枚举的 Debug 输出),且 HINT 建议 resume/backup 与当前场景无关,具有误导性。首次出现:阶段 1 共有缺陷,本版(1.0.3 / v1.0.1)延续。受影响安装场景:rustup 后端 managed 记录的移除操作。实际影响:managed 记录无法通过产品命令移除,且错误消息质量差;拒绝行为本身是安全的(默认目录状态零变化,sha256 校验确认)。影响范围
复现步骤
bot-forge remove rust-toolchain --yes预期结果
要么支持 managed 记录移除,要么给出明确拒绝原因与正确指引;错误消息不泄漏内部调试格式。
实际结果
一律拒绝:BF1008/exit8;消息泄漏
Some(Rustup)调试格式;HINT(resume/backup)与场景无关。默认目录状态零变化(拒绝本身安全)。证据:T5.09b/T8.04。实测输出:各平台确认:蓝区 Linux x86_64 复现(操作前后默认目录 23/22/0 一致);绿区三平台复现(行为与消息一致);黄区 Linux x86_64 / ARM 复现(行为与消息一致);蓝区 Windows x86_64 无法测试(环境无托管 rust-toolchain 记录)。
运行环境与供应信息
安全、性能与恢复证据
附件与提交确认