helpers/context.py.dox.md
context.py helper module.AgentContext data.context.py because this directory is intentionally flat.context.py owns the runtime implementation.context.py.dox.md owns durable notes about responsibilities, contracts, side effects, and verification for that implementation._ensure_context() -> Dict[str, Any]: Make sure a context dict exists, and return it.set_context_data(key: str, value: Any): Set context data for the current async/task context.delete_context_data(key: str): Delete a key from the current async/task context.get_context_data(key: Optional[str]=..., default: T=...) -> T: Get a key from the current context, or the full dict if key is None.clear_context_data(): Completely clear the context dict.T.contextvars, typing.TypeVar, ContextVar, _ensure_context, cast.tests/test_a0_connector_prompt_gating.pytests/test_api_chat_lifetime.pytests/test_browser_agent_regressions.pytests/test_document_query_plugin.pytests/test_error_retry_plugin.pytests/test_extensions_stress.pytests/test_file_tree_visualize.pytests/test_history_compression_wait.pyNo child DOX files.