{"agent":"claude","input":"Migrate this React app from hand-written Redux to Redux Toolkit. Read package.json, both lockfiles if there are two, src/store.js, every file under src/actions and src/reducers, and every component that calls connect or dispatch before changing anything. Say which lockfile matches package.json and install with that package manager; do not regenerate the other one. Take a baseline with the build script and the test script and report exactly what each prints, including a failure that comes from the Node version rather than the code. Install @reduxjs/toolkit, then show npm ls redux. Remove direct dependencies the toolkit replaces (redux, redux-thunk, the DevTools extension package) and move react-redux only as far as needed for one copy of redux, without upgrading React. Replace createStore with configureStore and each reducer, its action types and its action creators with a slice, keeping the state shape exactly as it is so existing selectors and mapStateToProps functions do not change. Convert each thunk to createAsyncThunk. For every place a component awaits or chains on a dispatched thunk, check what the promise resolved or rejected with before and make it behave the same after, using unwrap where the component depends on a rejection, and adapt call sites that pass several positional arguments. Do not convert class components or connect to hooks. Add tests for each slice and each thunk with the HTTP service mocked, covering the rejected paths. Run the build and the tests and open a pull request that lists the dependency changes, the npm ls redux output before and after, each call site whose promise handling changed, and anything you left alone.","resources":[{"url":"https://github.com/your-org/your-app"}]}