epic-13: add cli and tui entry point, finish epic.

This commit is contained in:
2026-05-16 13:37:58 +04:00
parent 72d20726ce
commit 2207a37549
60 changed files with 2896 additions and 41 deletions
@@ -66,7 +66,7 @@ class SessionOrchestratorIntegrationTest {
val orchestrationRepository = OrchestrationRepository(orchestrationReplayer)
private val inferenceRepository = InferenceRepository(
object : EventReplayer<InferenceState> {
override fun rebuild(sessionId: com.correx.core.events.types.SessionId) = InferenceState()
override fun rebuild(sessionId: SessionId) = InferenceState()
},
)
private val riskAssessor = DefaultRiskAssessor()
@@ -270,7 +270,7 @@ class SessionOrchestratorIntegrationTest {
val sessionId = SessionId("s7")
val ex = org.junit.jupiter.api.Assertions.assertThrows(IllegalArgumentException::class.java) {
kotlinx.coroutines.runBlocking { orchestrator.run(sessionId, brokenGraph, config) }
runBlocking { orchestrator.run(sessionId, brokenGraph, config) }
}
assertTrue(ex.message?.contains("ghost") == true, "Expected message to mention 'ghost', got: ${ex.message}")
}
@@ -52,7 +52,7 @@ class ValidationPipelineIntegrationTest {
}
@Test
fun `rejected outcome retryable is false set by validator, not orchestrator`() {
fun `rejected outcome retryable is false - set by validator, not orchestrator`() {
// A dangling transition triggers GraphValidator ERROR → Rejected(retryable=false).
// Ownership rule: the validator sets retryable; the orchestrator must only read it.
val a = StageId("A")