Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
piece-runs: fix log phase payload shape — nest events under data master
/api/piece-log's log branch reads data.events, but disk.mjs was posting { events } at the top level, so the server always saw an empty array and never $pushed anything. Verified against prod: 0 of 8669 piece-runs had an events field. Both call sites (per-tick flush and end-of-piece complete) now wrap events in { data: { events } }, matching start's { meta } and complete's { data: {...summary} } shapes. This unblocks the cam/init and cam/frame diagnostics from cap.mjs — they can now actually be read back via ac-piece-logs-events.
Author prompt.ac/@jeffrey Date (Apr 24, 2026, 9:16 PM UTC) Commit 949dce82 949dce822b890ec59bca063ad083b750dc5dbf8b Parent 22ed4a7a 22ed4a7a520ea09b346649d55ed634fce669249d