# Testing Strategy ## Layers ### Unit Tests - state transitions - policy evaluation - graph readiness - fallback logic ### Contract Tests - API schemas - worker envelopes - MCP result normalization - model router output contracts ### Integration Tests - repository implementations - event streaming - config loader - storage adapters ### Scenario Tests - create task -> plan -> execute -> finalize - confirm flow - weak retry then strong fallback - worker result ingestion ### Smoke Tests Обязательный список зафиксирован в [tests/smoke/SMOKE_TESTS.md](/Z:/codex/ai_orchestrator/tests/smoke/SMOKE_TESTS.md).