TODO-001: todo board IO — trust readdir, reuse known paths

Now
DONE

The board render does ~4.4k syscalls for one screen of one-liners: every key is re-probed through pageFile's 6-candidate stat ladder though listTopic just got the exact name from io.readdir, and work.js re-discovers the board + re-probes the same pages once per wt row. NARROWED (gritzko 2026-08-03): this ticket is path reuse ONLY — derive the page file from the name already in hand, memoize per run; read-size work (bounded head / single read) is out of scope.

Input

Context

Profiled jab todo 2026-07-24 (786 tickets on disk, warm cache): 4403 syscalls — 888 opens, 854 stat + 757 lstat, 1535 reads.

Goals

No path is probed twice: a name readdir returned, or a file already found this run, is never re-discovered.

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome