test_jobs drives delegate_submit, jobs, result, due and retry against a fake ssh, writes a due waiting_poll job and lets sp_delegate_tick retry it, and loads the scheduler plugin to check its idle widget. The test found a real bug: tool_delegate_retry parsed id and force into the same sp_buf, and json_str appends, so force=1 turned job-1 into job-11. force now has its own buffer.