Batch 28 commit de6f2ac gave ESP FAT image short names and libuv timer turns as MEDIUM; the ESP HTTP response task is being topped up. Batch 28 has 3 MEDIUM and no HARD in 20 measured so far, below batches 26 and 29. Each task comes from the commit Qwen measured, its digest matches, and it is still present at the batch branch head. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Timer service workspace
This is a Linux timer-only libuv source workspace with a deterministic clock and a nonblocking backend. Build and run the normal-path smoke with:
make smoke
docs/contract.md defines the delivery requirements. Fix the service so that its behavior satisfies all clauses. Keep the existing public C API. The final delivery files are src/timer.c and include/uv/unix.h; other workspace files are reference and build support.
make observe builds a diagnostic program which reads commands from standard input. It prints raw return codes, timer state and callbacks. There are 64 timer slots, numbered 0 through 63. Clock values and timer intervals are decimal unsigned integers. The clock begins at 100 ms. Commands are:
| Command | Operation |
|---|---|
I id |
Initialize the timer slot. |
T milliseconds |
Set the backend clock and update the loop time. |
S id delay repeat |
Start with the observer callback. |
N id delay repeat |
Start with a null callback. |
X id |
Stop. |
A id |
Call again. |
P id repeat |
Set the repeat interval. |
Q id |
Print active, closing, repeat, and loop active-handle count. |
Z id |
Close with an observer close callback. |
U id / V id |
Reference / unreference. |
B |
Print backend timeout. |
R |
Run one UV_RUN_NOWAIT iteration. |
F id kind target delay repeat limit stop |
Configure callback operations. |
For F, kind 0 only records the callback, 1 starts itself, 2 starts the target, 3 stops the target, 4 closes the target, 5 changes its own repeat, and 6 calls again on the target. The operation runs while the callback count is less than limit. A nonzero stop calls uv_stop on each callback. F resets that timer's observer count. The observer prints E id count time for a timer callback, D id kind result for an operation, and C id for a close callback. Other lines identify the command and its returned value or state; K reports the platform's UV_EINVAL value. The observer contains no pass/fail decision.