{"agent":"claude","input":"Replace python-jose with PyJWT in this FastAPI app. Read the requirement files, the Dockerfile and every file that imports jose. List each call: jwt.encode, jwt.decode with its algorithms and options arguments, get_unverified_header or get_unverified_claims, any use of jose.jwe or jose.jwk, and every exception class imported from jose. Before editing, install both libraries side by side and write a script that, for the algorithm and claims this app uses, signs the same payload with each library, decodes each token with the other, and prints whether the two token strings are equal. Run an expired token, a token signed with a different key and a malformed string through both and print the exception class each raises. Then make the change: import jwt from PyJWT, map each jose exception to the PyJWT class that covers the same cases, keep algorithms explicit on every decode, and replace the requirement with PyJWT, adding the crypto extra only if an RS, ES or PS algorithm is used. If the code uses jose.jwe, stop and report it instead of porting it. Never print or log the secret key; if one is set in the environment, report only whether it is at least 32 bytes long. Add tests for token creation, decoding, expiry and the 401 path, set the environment variables the settings module needs, and run them. Resolve the requirements before and after and list the packages that leave. Report deprecated datetime calls and unused constants without changing them. Open a pull request with the script, its output and the test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}