What is this about?
Problem
When you capture screens, stage them, then restart Cipher, the staged captures disappear.
loadState() tries to restore saved.screenshots, but persistState() never saves them.
Where to look
index.html — persistState() (~line 1083)
index.html — loadState() (~line 1072)
Acceptance criteria
Skills needed
JavaScript, localStorage — no Electron main-process knowledge required.
How to test
npm start
- Capture 1–2 screens (don't send yet)
- Quit and relaunch — captures should still be there
What is this about?
Problem
When you capture screens, stage them, then restart Cipher, the staged captures disappear.
loadState()tries to restoresaved.screenshots, butpersistState()never saves them.Where to look
index.html—persistState()(~line 1083)index.html—loadState()(~line 1072)Acceptance criteria
persistState()andloadState()use the same data shapeSkills needed
JavaScript, localStorage — no Electron main-process knowledge required.
How to test
npm start