{"agent":"claude","input":"Migrate this project from the raven package to sentry-sdk. Find every use of raven: imports, raven.contrib entries in INSTALLED_APPS, RAVEN_CONFIG, WSGI or other middleware, logging handlers that point at raven, Client() objects created inline, and any helper or base class that reports errors (management commands, task or job exception handlers). List them all before changing anything. Add a single sentry_sdk.init() at startup that keeps the current way of switching reporting on (for example a SENTRY_DSN environment variable) and carries over release, environment and sample-rate options if the old config set them. Replace captureException and captureMessage calls with capture_exception and capture_message, and move extra and tags data to the SDK's scope API. Remove wiring the SDK's integrations make unnecessary. Where an existing helper swallows the exception after reporting it, keep that behaviour and point it out. For a job queue the SDK has an integration for, either use the integration or keep the custom handler, not both, and say what data each one sends. Update every manifest and regenerate compiled requirement files with the tool that produced them. Check that the Python and framework versions the project supports are ones the SDK supports and report any that are not. Verify without a real DSN: use a transport or before_send hook that records events, trigger one error per integration point, and report how many events each produced. Run the existing tests if the services they need can be started. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}