Seams: pic_platform and a tool executor interface
Closedd1310511528f4856099451c6b1b472d7142f32f7Created 11.3 days agoUpdated 11.2 days ago
Description2026-11-19 15:56:17
Pure refactor. pic_platform: clock, entropy, the single-writer lock (the empty lock file stays; a disk-owning build makes it a no-op), input reading. Tool executor interface whose file half is workspace-relative (read, write, stat, list, remove by name), shaped like libfossil's fsl_ckout_fs, with the local disk + fork backend as the only one. Pass the SQLite VFS name explicitly at open.
Done when: tools.c and the TUI's child processes go through the interfaces; behavior and tests unchanged.
Plan: https://artifacts.craftdesign.group/v/-DvLRzrfEh1mIldmhMgfG#06c5bdb18c04b6b8d28d045ed9812ef5c91f2f85f57c6feb26b574cb21cec0ef (section 5)
2026-11-19 18:40:25
Landed in 29c6862cfd03 (with ticket 6): pic_platform (clocks, entropy, lock, input, VFS name) and pic_executor (file operations and run), host backends only.