Status: done (2026-11-02, 2434d84)
Priority: 3
Size: S
Arch: tooling
Phase: implement
Design ref: none. Job review, second pass, 30 Oct 2026 (REVIEW.md, gap 8).
Goal: tools/idle.js measures a job’s wait from when it was first posted, so a 20-hour field that is worked over two days counts the night and the second morning as waiting, and a job taken within the hour it was posted is never seen. Work-arch tasks also report job switches (VB-107), which each had to count with its own script.
Acceptance criteria:
--json gives the same; tests/tools.js checks that waits are non-negative and switches are counted.tests/golden.json unchanged.
Notes / questions:REVIEW.md (second pass) and VB-102 and VB-107 used a scratch script that already did both; this makes it the standard report.