pic-fs: filesystem primitives and UI for projects held in pic (onefile)
Open30058bf193b6fe3b218a2c9bc3d0a146bb0d2116Created 9.5 days agoUpdated 6.4 days ago
Description2026-11-21 11:58:55
Write-up: https://artifacts.craftdesign.group/v/m1Ve1ezzxw7OFB-Zk0ukL#d0e7e4a918220e4f51ad952d776cd0d9a9050ab3df3160abc88a38bec44e7273
Verdict: mostly surface, not engine. The executor seam (src/pic.h:231) already carries all seven tools, and libfossil has status/diff/history/blame/undo/stash/extract on in-database checkouts. Needed: a pic fs command set (export first), ignore rules separating project rows from build files, an answer for people's editors (a person-facing disk workbench that trades check-ins; no mounts). Yazi: ideas plus an optional pic:// provider over pic fs --json, not its code. Gaps found: pic_executor has no rename; forked parallel tool children cannot read rows; @file completion reads the disk directly (src/tui/atfile.c:89). Five-stage plan; owner decisions (several architecture) listed in the write-up.
2026-11-24 13:02:07
Owner, 2026-11-24: when pic runs under onefile, SQLite full-text search (FTS) eventually replaces grep. Search rules decided the same day carry over: VCS ignore files (.gitignore, .zitignore, fossil ignore-glob) only keep files out of commits and never limit search, so FTS indexes ignored files too; only pic's own .picignore (gitignore syntax, opt-in) excludes anything from agents' search. grep, find and list_files follow the same rules today (branch search-all).