apps/server/integration/OrchestrationEngineHarness.integration.ts | 468 ++++++++++++++++---------------- apps/server/integration/TestProviderAdapter.integration.ts | 129 ++++----- apps/server/integration/orchestrationEngine.integration.test.ts | 189 +++++-------- apps/server/integration/providerService.integration.test.ts | 28 +- apps/server/src/codexAppServerManager.test.ts | 37 +-- apps/server/src/codexAppServerManager.ts | 226 +++++++-------- apps/server/src/orchestration/Layers/CheckpointReactor.test.ts | 114 +++----- apps/server/src/orchestration/Layers/CheckpointReactor.ts | 98 ++----- apps/server/src/orchestration/Layers/ProjectionPipeline.test.ts | 9 +- apps/server/src/orchestration/Layers/ProjectionPipeline.ts | 2 - apps/server/src/orchestration/Layers/ProjectionSnapshotQuery.test.ts | 7 - apps/server/src/orchestration/Layers/ProjectionSnapshotQuery.ts | 2 - apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts | 70 +++-- apps/server/src/orchestration/Layers/ProviderCommandReactor.ts | 71 ++--- apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.test.ts | 202 ++++++-------- apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts | 128 +++------ apps/server/src/orchestration/decider.ts | 9 +- apps/server/src/persistence/Layers/OrchestrationEventStore.ts | 2 - apps/server/src/persistence/Layers/ProjectionThreadSessions.ts | 8 - apps/server/src/persistence/Layers/ProviderSessionRuntime.ts | 50 ++-- apps/server/src/persistence/Layers/ProviderSessions.ts | 225 --------------- apps/server/src/persistence/Migrations/004_ProviderSessionRuntime.ts | 10 +- apps/server/src/persistence/Migrations/009_ProviderSessionRuntimeMode.ts | 13 +- apps/server/src/persistence/Services/ProjectionThreadSessions.ts | 4 - apps/server/src/persistence/Services/ProviderSessionRuntime.ts | 22 +- apps/server/src/persistence/Services/ProviderSessions.ts | 81 ------ apps/server/src/provider/Errors.ts | 16 +- apps/server/src/provider/Layers/ClaudeCodeAdapter.test.ts | 52 ++-- apps/server/src/provider/Layers/ClaudeCodeAdapter.ts | 337 +++++++++-------------- apps/server/src/provider/Layers/CodexAdapter.test.ts | 65 +++-- apps/server/src/provider/Layers/CodexAdapter.ts | 303 ++++++++++----------- apps/server/src/provider/Layers/CursorAdapter.test.ts | 49 ++-- apps/server/src/provider/Layers/CursorAdapter.ts | 270 +++++++----------- apps/server/src/provider/Layers/ProviderAdapterRegistry.ts | 2 +- apps/server/src/provider/Layers/ProviderService.test.ts | 164 ++++++----- apps/server/src/provider/Layers/ProviderService.ts | 317 +++++---------------- apps/server/src/provider/Layers/ProviderSessionDirectory.test.ts | 135 +++------ apps/server/src/provider/Layers/ProviderSessionDirectory.ts | 91 ++----- apps/server/src/provider/Services/ProviderAdapter.ts | 23 +- apps/server/src/provider/Services/ProviderService.ts | 3 +- apps/server/src/provider/Services/ProviderSessionDirectory.ts | 67 +---- apps/server/src/serverLayers.ts | 16 +- apps/server/src/wsServer.test.ts | 27 +- apps/web/src/components/BranchToolbar.tsx | 5 +- apps/web/src/components/ChatView.tsx | 2 + apps/web/src/session-logic.ts | 11 +- apps/web/src/store.test.ts | 4 - apps/web/src/store.ts | 7 +- apps/web/src/types.ts | 6 +- packages/contracts/src/baseSchemas.ts | 6 - packages/contracts/src/orchestration.ts | 11 +- packages/contracts/src/provider.ts | 35 ++- packages/contracts/src/providerRuntime.ts | 21 +- provider-threadless-runtime-migration-plan.md | 281 +++++++++++++++++++ 54 files changed, 1865 insertions(+), 2665 deletions(-)