Skip to content
pi-c View Ticket
Login

View Ticket

2026-11-19
21:57 • Ticket [ff1a4dc200] Later: microVM build with cowoco/onefile workspace status still Open with 1 other change artifact: c136aac0f9 user: dmestas
19:05 • Ticket [ff1a4dc200]: 1 change artifact: 712b718b04 user: dmestas
15:56 • New ticket [ff1a4dc200]. artifact: 029a10860c user: dmestas

Later: microVM build with cowoco/onefile workspace

Openff1a4dc200b498b9a2eb58df9f326bdc4c16945aCreated 11.3 days agoUpdated 11.0 days ago
Description2026-11-19 15:56:18
pic as the only process in a microVM (Linux kernel, no userland, one raw block device, network): vendor the onefile-byot libfossil build (cowoco + onefile + caller-supplied sync channels); a db:work / repo:project workspace backend behind the executor interface (read/write/edit as SQL on fslfiles_work in the same transaction as the journal record); sync over a BearSSL channel; a two-extent raw-device SQLite VFS. Bash is absent there. Caveats: check-in with the repository in the same database needs no particular journal mode (verify under WAL); fsl_content() not inside a writing statement; foreign keys off; open the working copy before BEGIN IMMEDIATE. cowoco is under upstream review and onefile is private: keep coupling to the SQL-function surface.

Plan: https://artifacts.craftdesign.group/v/-DvLRzrfEh1mIldmhMgfG#06c5bdb18c04b6b8d28d045ed9812ef5c91f2f85f57c6feb26b574cb21cec0ef (section 7)

2026-11-19 19:05:55
Without an OS there is no bash; a separate remote command tool covers that, in ticket d909e0fe55 (not to be built yet). Running without an OS stays an option, not the way pic runs.
2026-11-19 21:57:34
A ready-to-vendor libfossil cut exists at ~/libfossil-builds/current/ (check-in a88df0d594 on branch sql-ext-int: trunk 7408b4185c plus onefile, cowoco, backlinks and anypipe caller-supplied sync channels, with SQLite 3.55.0; tested on macOS, Linux gcc, ASan/UBSan, Fil-C). pic vendors 7d9634ac5c today. Re-vendor from that cut when this work starts; the anypipe channels may replace the planned BearSSL sync channel.