c053afa087
- Replaced global timer mocks with local `YieldGate` instances to avoid test flakiness from concurrent environment interference. - Introduced an injected clock and counting sleep pattern to test gating logic without relying on `process` globals. - Added a test case to ensure the gate correctly handles negative clock jumps without stalling.