env -u TMPDIR HOME=/home/cube PYTHONPATH=/home/cube/projects/richard/hermes-agent:/home/cube/.hermes/profiles/dualcoachtest/workspace/checkin_cli PYTHONDONTWRITEBYTECODE=1 /home/cube/projects/richard/hermes-agent/.venv/bin/python -B -m pytest -q -p no:cacheprovider --junitxml=/home/cube/projects/richard/traning\ coach/.omo/evidence/task26/task26-gate20-corrected-harness-4e9962be49b72951c3b9ed7e1a4fe36d0ca03e757872ae03364c1ab7a790f32b-st_01a0080c/artifacts/control-a-direct-normal.junit.xml tests/gateway/test_discord_document_handling.py::TestIncomingDocumentHandling::test_pdf_document_cached tests/gateway/test_discord_document_handling.py::TestIncomingDocumentHandling::test_txt_content_injected tests/gateway/test_discord_document_handling.py::TestIncomingDocumentHandling::test_md_content_injected tests/gateway/test_discord_document_handling.py::TestIncomingDocumentHandling::test_log_content_injected tests/gateway/test_discord_document_handling.py::TestIncomingDocumentHandling::test_mid_sized_zip_under_32mb_is_cached tests/gateway/test_discord_document_handling.py::TestIncomingDocumentHandling::test_zip_document_cached tests/gateway/test_discord_document_handling.py::TestIncomingDocumentHandling::test_large_txt_cached_not_injected tests/gateway/test_discord_document_handling.py::TestIncomingDocumentHandling::test_multiple_text_files_both_injected tests/gateway/test_discord_document_handling.py::TestAllowAnyAttachment::test_unknown_type_cached_when_flag_on tests/gateway/test_discord_document_handling.py::TestAllowAnyAttachment::test_unknown_type_no_content_type_becomes_octet_stream tests/gateway/test_discord_document_handling.py::TestAllowAnyAttachment::test_max_attachment_bytes_zero_means_unlimited tests/gateway/test_discord_document_handling.py::TestAllowAnyAttachment::test_allowlisted_doc_unchanged_when_flag_on tests/gateway/test_matrix.py::TestMatrixImageOnlyMediaNormalization::test_external_media_download_rejects_oversized_content_length tests/gateway/test_matrix.py::TestMatrixImageOnlyMediaNormalization::test_external_media_download_rejects_oversized_stream tests/gateway/test_matrix.py::TestMatrixImageOnlyMediaNormalization::test_external_media_download_rejects_unsafe_redirect tests/gateway/test_matrix.py::TestMatrixImageOnlyMediaNormalization::test_external_media_download_rejects_non_image_content_type tests/gateway/test_matrix.py::TestMatrixImageOnlyMediaNormalization::test_send_image_failure_log_redacts_signed_url tests/gateway/test_matrix.py::TestMatrixImageOnlyMediaNormalization::test_send_image_failure_response_does_not_expose_signed_url_query tests/gateway/test_matrix.py::TestMatrixImageOnlyMediaNormalization::test_send_image_failure_response_does_not_expose_signed_url_fragment tests/gateway/test_matrix.py::TestMatrixImageOnlyMediaNormalization::test_send_image_failure_response_preserves_caption tests/gateway/test_matrix.py::TestMatrixImageOnlyMediaNormalization::test_send_image_failure_log_still_redacts_signed_url tests/gateway/test_runtime_footer.py::test_format_footer_skips_missing_context_length