Skip to content
pi-c View Ticket
Login

View Ticket

Storage: bash output that does not fit goes to pic_output in the journal

Closed75eb6011107a09707293f472546d90d4a8bd603bCreated 11.3 days agoUpdated 11.2 days ago
Description2026-11-19 15:56:17
Replace the $TMPDIR/pic-bash-XXXXXX spill: the supervisor streams the full output to pic over a pipe; pic stores it as pic_output(effect_id, sz, data) (sqlar rule, capped near 16 MB) in the same transaction as the result. The truncation notice names pic:output/<effect id>; the read tool opens it with offset/limit, so the tool schema is unchanged; the notice tells the model to rerun with a filter to grep.

Done when: no temp files from bash; read pic:output/<id> works after a crash and a restart; Fil-C and crash tests cover it.

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

2026-11-19 17:49:29
Landed in 771137f682c4: truncated bash output is stored in pic_output (journal, sqlar-compressed, same transaction as the result); read opens pic:output/<id>; no temp files.