{"agent":"claude","input":"This project fails with: TypeError: Descriptors cannot be created directly. If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0. Fix it properly. Read the dependency files and say how protobuf, grpcio and grpcio-tools are constrained. List every generated _pb2.py and _pb2_grpc.py file and say whether the .proto sources are in the repository. In a clean environment with the newest protobuf, reproduce the error and run the tests; quote the first traceback and the summary. Try both workarounds from the message (protobuf 3.20.x, and PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python on the newest protobuf) and report the test summary for each, but do not ship either as the fix. Regenerate the files with the newest grpcio-tools. If the .proto sources are missing, recover them from the generated code: under a protobuf version where the old modules import, read each module's DESCRIPTOR.serialized_pb into a FileDescriptorSet and pass it to protoc with --descriptor_set_in. Do not hand-write schemas. Fix the generated import paths to match the package layout, keep any licence header the old files had, and commit the regeneration script. Run the tests on the newest protobuf with no environment variable set. Then find the oldest protobuf runtime the new files import on, and set the protobuf requirement to that lower bound. Open a pull request with the traceback before, the three test summaries, and the regeneration command.","resources":[{"url":"https://github.com/your-org/your-app"}]}