mirror of
https://github.com/NCBM/plyngent.git
synced 2026-11-07 07:17:54 +08:00
a83c67ba6d
Adds 7 unit tests for _synthetic_todo_pair_after and committed_prefix_end with synthetic todo nag pairs: survival across rollback, detection at correct index, immunity to real tool calls, and multiple rollbacks. These directly verify the guard that prevents duplicate turn-start nag injection on /retry when a synthetic pair from a previous failed attempt survived rollback (committed tool batch).