"""Test fixtures for execution contract resolution.

Spec refs:
- docs/proposals/execution-architecture-refactor.md#tests-required/resolution-tests
- docs/proposals/execution-architecture-refactor.md#tests-required/consumer-conformance-tests
- docs/proposals/execution-architecture-refactor.md#tests-required/session-runtime-tests
- docs/proposals/execution-architecture-refactor.md#refactor-program/wave-4-schema-and-core-cleanup
"""

from tests.fixtures.conversation_types import (
    _MockCompactionSessionView,
    _MockConversationMessage,
    _MockConversationSummary,
    make_assistant_message,
    make_compaction_candidate_history,
    make_compaction_config,
    make_compaction_session_view,
    make_context_bundle,
    make_conversation_message,
    make_conversation_summary,
    make_history_with_tool_calls,
    make_message_history,
    make_overflow_history,
    make_raw_tail_entry,
    make_simple_user_assistant_history,
    make_summary_ref,
    make_tool_result_message,
    make_user_message,
)
from tests.fixtures.execution_contract_resolution import (
    ConsumerConformanceCase,
    EffectiveContractExpectation,
    LegacyAgentState,
    MockRuntimeProbeResults,
    ResolutionPrecedenceInputs,
    compute_contract_snapshot_hash,
    compute_source_hash,
    contract_to_deterministic_json,
    make_consumer_conformance_fixture,
    make_contract_identity,
    make_file_backed_persona_provenance,
    make_inline_persona_provenance,
    make_legacy_agent_without_contract_snapshot,
    make_materialized_snapshot_persona_provenance,
    make_synthesized_persona_provenance,
)
from tests.fixtures.launch_control_services import (
    ControlRequestFixtureSet,
    LaunchRequestFixtureSet,
    ResolutionRegressionFixture,
    SpawnSubagentFixtureCase,
    cli_spawn_outcome_view,
    control_request_name_for_cli,
    control_request_name_for_mcp,
    launch_result_summary,
    make_control_request_fixture_set,
    make_ctl_spawn_subagent_fixture_cases,
    make_launch_request_fixture_set,
    make_mcp_control_resolution_regression_fixture,
    make_run_spawn_resolution_regression_fixture,
    mcp_spawn_outcome_view,
    override_persona_fixture_for_spawn,
)
from tests.fixtures.session_attach import (
    AttachSignal,
    DaemonExplicitAttachabilityFixture,
    ParentSpawnabilityCase,
    SessionAttachMatrixCase,
    TalkChatParityRule,
    make_daemon_explicit_attachability_fixture,
    make_parent_spawnability_cases,
    make_session_attach_matrix_cases,
    make_talk_chat_parity_rules,
)

__all__ = [
    # Conversation type fixtures (Wave 4 schema cleanup)
    "_MockCompactionSessionView",
    "_MockConversationMessage",
    "_MockConversationSummary",
    "make_assistant_message",
    "make_compaction_candidate_history",
    "make_compaction_config",
    "make_compaction_session_view",
    "make_context_bundle",
    "make_conversation_message",
    "make_conversation_summary",
    "make_history_with_tool_calls",
    "make_message_history",
    "make_overflow_history",
    "make_raw_tail_entry",
    "make_simple_user_assistant_history",
    "make_summary_ref",
    "make_tool_result_message",
    "make_user_message",
    # Execution contract resolution fixtures
    "ConsumerConformanceCase",
    "EffectiveContractExpectation",
    "LegacyAgentState",
    "MockRuntimeProbeResults",
    "ResolutionPrecedenceInputs",
    "compute_contract_snapshot_hash",
    "compute_source_hash",
    "contract_to_deterministic_json",
    "make_consumer_conformance_fixture",
    "make_contract_identity",
    "make_file_backed_persona_provenance",
    "make_inline_persona_provenance",
    "make_legacy_agent_without_contract_snapshot",
    "make_materialized_snapshot_persona_provenance",
    "make_synthesized_persona_provenance",
    # Launch control service fixtures
    "ControlRequestFixtureSet",
    "LaunchRequestFixtureSet",
    "ResolutionRegressionFixture",
    "SpawnSubagentFixtureCase",
    "cli_spawn_outcome_view",
    "control_request_name_for_cli",
    "control_request_name_for_mcp",
    "launch_result_summary",
    "make_control_request_fixture_set",
    "make_ctl_spawn_subagent_fixture_cases",
    "make_launch_request_fixture_set",
    "make_mcp_control_resolution_regression_fixture",
    "make_run_spawn_resolution_regression_fixture",
    "mcp_spawn_outcome_view",
    "override_persona_fixture_for_spawn",
    # Session attach fixtures
    "AttachSignal",
    "DaemonExplicitAttachabilityFixture",
    "ParentSpawnabilityCase",
    "SessionAttachMatrixCase",
    "TalkChatParityRule",
    "make_daemon_explicit_attachability_fixture",
    "make_parent_spawnability_cases",
    "make_session_attach_matrix_cases",
    "make_talk_chat_parity_rules",
]
