from __future__ import annotations from typing import Any, TypedDict class QAState(TypedDict, total=False): run_metadata: dict[str, Any] title: str source_requirements: str requirements: list[dict[str, Any]] test_designs: list[dict[str, Any]] generated_artifacts: list[dict[str, Any]] review: dict[str, Any] orchestration_decision: dict[str, Any] iterations: int run_controls: dict[str, Any] global_llm_config: dict[str, Any] agent_configs: list[dict[str, Any]] stage_traces: list[dict[str, Any]] working_memory: dict[str, Any] errors: list[dict[str, Any]] final_report: str