@
lingyired 反复校验可能和这段提示有关:
## 4. Goal-Driven Execution
**Define success criteria. Loop until verified.**
Transform tasks into verifiable goals:
- "Add validation" → "Write tests for invalid inputs, then make them pass"
- "Fix the bug" → "Write a test that reproduces it, then make it pass"
- "Refactor X" → "Ensure tests pass before and after"
For multi-step tasks, state a brief plan:
```
1. [Step] → verify: [check]
2. [Step] → verify: [check]
3. [Step] → verify: [check]
```
我实际用的版本是用 ds 和 gemini 简化过的,比如其中反复验证的 3 次校验改成了:
## 4. Verification – Write the check before the fix
- Plan format: `[Action] → [Verification method]`
- To fix a bug: first write a test that reproduces it, then change code.
- For multi‑step tasks: list checkpoints and confirm each.