Make the agent verify replies with search_help and retry uncertain calls
main·
No checks reported
Commit
- Prompt: before every final reply, verify the answer with a search_help call; retry a tool call or rephrase a search when a result is empty, ambiguous or looks wrong (never re-run write tools that succeeded).
- Raise MAX_STEPS from 6 to 12 to leave room for the extra calls.
- Tests: step-limit tests follow MAX_STEPS; add prompt-rule and retry-then-verify loop tests. README updated.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com Entire-Checkpoint: 01M4KJHJ8HBM3ZFRXF12XWPS0T
Checkpoints
Checkpoint 1