healtests
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseHeal Tests Loop
测试修复循环
You are in a test-healing loop. Goal: make all tests pass.
你处于测试修复循环中。目标:让所有测试通过。
Step 1: Run Tests
步骤1:运行测试
bash
just testqbash
just testqStep 2: Evaluate Results
步骤2:评估结果
If tests pass: Report success. The healing loop is complete.
If tests fail: Continue to Step 3.
如果测试通过:报告成功。修复循环已完成。
如果测试失败:继续执行步骤3。
Step 3: Plan the Fix
步骤3:规划修复方案
- Analyze the test failure output
- Enter plan mode using tool
EnterPlanMode - Write your fix plan to the plan file
CRITICAL: Your plan file MUST end with this exact section:
markdown
undefined- 分析测试失败输出
- 使用工具进入规划模式
EnterPlanMode - 将你的修复方案写入规划文件
关键注意事项:你的规划文件必须以以下确切内容结尾:
markdown
undefinedVerification (Healing Loop)
Verification (Healing Loop)
This fix is part of a healing loop. After implementing:
/healtests- Run
just testq - If tests pass, the healing loop is complete
- If tests fail, use to plan the next fix
EnterPlanMode
The loop continues until all tests pass.
This ensures the loop context survives context clearing.This fix is part of a healing loop. After implementing:
/healtests- Run
just testq - If tests pass, the healing loop is complete
- If tests fail, use to plan the next fix
EnterPlanMode
The loop continues until all tests pass.
这能确保循环上下文在上下文被清空后依然保留。