{"agent":"claude","input":"Add error boundaries to this React app and open a pull request that links the Linear issue. Read package.json, vite.config.ts, cypress.config.ts, src/index.tsx, src/containers/App.tsx, src/containers/PrivateRoutesContainer.tsx, src/components/PrivateRoute.tsx, src/components/MainLayout.tsx, src/components/AlertBar.tsx, src/machines/snackbarMachine.ts and one existing *.cy.tsx component test first. Write src/components/ErrorBoundary.tsx as a class with getDerivedStateFromError and componentDidCatch, an onError prop, a resetKey prop that clears the state when it changes, and a MUI fallback with Try again and Reload buttons carrying data-test attributes. Wrap App in src/index.tsx inside the ThemeProvider, and wrap each PrivateRoute's children in PrivateRoutesContainer.tsx with resetKey set to the route path and onError sending SHOW with severity error to snackbarService. Do not change the machines or the routes. Add src/components/ErrorBoundary.cy.tsx covering the fallback, the retry and the onError call. Run yarn types, yarn lint, yarn test:unit:ci, yarn build:ci and yarn cypress:run:component, and paste the component test output in the pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}