Problem
GridBash serializes and atomically replaces the complete session snapshot every five seconds even when no persisted state changed. Large grids can rewrite hundreds of kilobytes per interval, causing unnecessary CPU and disk traffic.
Acceptance checks
- Autosave skips writes when persisted session state has not changed.
- Output, input, cwd, layout, tab, background-job, and host changes still become durable promptly.
- Explicit save and clean shutdown always persist the latest state.
- Tests cover unchanged and dirty autosave decisions.
Problem
GridBash serializes and atomically replaces the complete session snapshot every five seconds even when no persisted state changed. Large grids can rewrite hundreds of kilobytes per interval, causing unnecessary CPU and disk traffic.
Acceptance checks