helpers/messages.py.dox.md
messages.py helper module.messages.py because this directory is intentionally flat.messages.py owns the runtime implementation.messages.py.dox.md owns durable notes about responsibilities, contracts, side effects, and verification for that implementation.truncate_text(agent, output, threshold=...)truncate_dict_by_ratio(agent, data: dict | list | str, threshold_chars: int, truncate_to: int)json.agent.read_prompt, process_item, json.dumps, truncate_text.tests/email_parser_test.pytests/test_browser_agent_regressions.pytests/test_chat_compaction.pytests/test_document_query_fallback.pytests/test_download_toast_regressions.pytests/test_fasta2a_client.pytests/test_mcp_handler_multimodal.pytests/test_oauth_codex.pyNo child DOX files.