Originally created by: fu351
tests/unit/test_cli_approvals.py computed NOW once at import and seeded an approval that expires five minutes later, while approvals status counts live entries against the real clock. On a slow -n auto run the test starts more than five minutes after collection, the seed has expired, and live entries: 0 fails the "1" in output assertion. It went red on main at 05a48c6 (all four test legs) and on every PR run that reached the test late (#493, [#494], [#495]) after being green at 15ffeb7.
Fix: _seed takes the clock when it runs, so the window is the test's own runtime. test_clear_is_ungated_strengthening still compares against the module NOW (earlier than the seed, so the entry is live for it until cleared).
pytest tests/unit/test_cli_approvals.py: 6 passed.
Ticket changed by: fu351