metronome/docs
Me Here dd27d553fe pm-grid: live re-read of programs.json (no reboot needed)
When the host writes the drive (SCSI Write sets a dirty flag) and the drive has
been idle ~1.5s AND playback is stopped, the loop re-reads programs.json and
rebuilds the set lists (reload_user) -> a dropped file applies without a reboot.

Read-only path (split read_programs_json out of read_user_setlists; the format
flash-write only happens at boot), so no FAT-corruption risk from dual access.

Note on the recommended write path: the device deliberately does NOT write the
shared FAT while the host has it mounted (that corrupts the host cache - same
reason CircuitPython is one-direction-at-a-time). The practice log should instead
go to the editor via LOGSYNC (0x45); settings.json *read* (device read-only) is a
safe follow-up. Documented in docs/rust-port.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 10:19:43 -05:00
..
livesync-protocol.md Preserve notation + grammar feature work (verified complete + green) 2026-06-02 13:45:26 -05:00
playback-flow-test.md Editor controls for playback flow + close web-side divergences 2026-05-31 16:11:43 -05:00
rust-port.md pm-grid: live re-read of programs.json (no reboot needed) 2026-06-04 10:19:43 -05:00
track-format.md Preserve notation + grammar feature work (verified complete + green) 2026-06-02 13:45:26 -05:00