{"agent":"claude","input":"A Linear issue labeled agent says: \"Settings are lost every time the app restarts. Persist user settings (the fields are listed in this issue) on disk, expose them to the renderer safely, and add a settings screen.\" Before changing anything, read src/main/main.ts, src/main/preload.ts, src/renderer/preload.d.ts, src/renderer/App.tsx, jest.config.js and the existing tests under src/__tests__, and note how IPC is exposed today and how main-process modules are tested. Add a settings module in the main process that stores a typed object as JSON under the app's userData path, writes atomically, and falls back to defaults on a missing or corrupt file; register invoke-style IPC handlers for get and set with validation; extend the preload bridge and its Channels type so the renderer gets a typed settings API without touching preload.d.ts; add a settings route and form in the renderer. Write node-environment tests for the module in the style of the updater test and a renderer test for the route. Run the lint script, the type check, the test suite, the build and the Linux smoke test under xvfb until they pass, then open a pull request that links back to the issue.","resources":[{"url":"https://github.com/your-org/your-app"}]}