Files
PaperClipAI/packages
Priya RamanandPaperclip f7612c8a55 fix(runner): close the Greptile gaps on the real-process wait guard
Race each waitForCapabilityLiveProcess attempt against the deadline's
remaining time, so a callback that never settles fails at the stated
10,000ms envelope instead of running past it. Keep the same deadline
diagnostic (label, elapsed time, last observed error).

Make the bare-real-process-wait guard inspect only a wait call's own
options argument for an explicit timeout, not the whole argument list,
so a same-shaped timeout option nested in the callback body no longer
exempts a bare wait. Mask comments and string or template literals
before the guard scans for vi.waitFor( or expect.poll(, so source text
that only mentions those patterns can no longer trigger a false
violation. Add regression tests for both gaps.

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-09-04 01:16:42 +00:00
..