.plans/16c-pr89-remediation-checklist.md | 12 ++-- apps/server/src/checkpointing/Errors.ts | 40 +---------- apps/server/src/checkpointing/Layers/CheckpointDiffQuery.ts | 1 - apps/server/src/checkpointing/Services/CheckpointDiffQuery.ts | 25 +++++++ apps/server/src/checkpointing/Services/CheckpointStore.ts | 11 +++ apps/server/src/config.ts | 25 +++++++ apps/server/src/git/Errors.ts | 21 +----- apps/server/src/git/Services/GitService.ts | 3 + apps/server/src/keybindings.ts | 26 +++++++ apps/server/src/main.ts | 25 +++++++ apps/server/src/open.ts | 23 ++++++ apps/server/src/orchestration/Errors.ts | 4 -- apps/server/src/orchestration/Layers/ProjectionSnapshotQuery.ts | 24 ++----- apps/server/src/orchestration/Services/CheckpointReactor.ts | 17 +++++ apps/server/src/orchestration/Services/OrchestrationEngine.ts | 8 +++ apps/server/src/orchestration/Services/OrchestrationReactor.ts | 14 ++++ apps/server/src/orchestration/Services/ProjectionPipeline.ts | 35 ++++++--- apps/server/src/orchestration/Services/ProjectionSnapshotQuery.ts | 20 ++++++ apps/server/src/orchestration/Services/ProviderCommandReactor.ts | 17 +++++ apps/server/src/orchestration/Services/ProviderRuntimeIngestion.ts | 17 +++++ apps/server/src/persistence/Errors.ts | 121 ++------------------------------ apps/server/src/persistence/NodeSqliteClient.ts | 5 ++ apps/server/src/persistence/Services/OrchestrationCommandReceipts.ts | 22 ++++++ apps/server/src/persistence/Services/OrchestrationEventStore.ts | 7 ++ apps/server/src/persistence/Services/ProjectionCheckpoints.ts | 30 ++++++++ apps/server/src/persistence/Services/ProjectionPendingApprovals.ts | 30 ++++++++ apps/server/src/persistence/Services/ProjectionPendingTurnStarts.ts | 25 +++++++ apps/server/src/persistence/Services/ProjectionProjects.ts | 30 ++++++++ apps/server/src/persistence/Services/ProjectionState.ts | 30 ++++++++ apps/server/src/persistence/Services/ProjectionThreadActivities.ts | 27 +++++++ apps/server/src/persistence/Services/ProjectionThreadMessages.ts | 27 +++++++ apps/server/src/persistence/Services/ProjectionThreadSessions.ts | 25 +++++++ apps/server/src/persistence/Services/ProjectionThreadTurns.ts | 29 ++++++++ apps/server/src/persistence/Services/ProjectionThreads.ts | 30 ++++++++ apps/server/src/persistence/Services/ProviderSessionRuntime.ts | 29 ++++++++ apps/server/src/persistence/Services/ProviderSessions.ts | 30 ++++++++ apps/server/src/provider/Errors.ts | 71 ------------------- apps/server/src/provider/Services/CodexAdapter.ts | 3 + apps/server/src/provider/Services/ProviderAdapterRegistry.ts | 3 + apps/server/src/provider/Services/ProviderService.ts | 7 ++ apps/server/src/provider/Services/ProviderSessionDirectory.ts | 6 ++ apps/server/src/terminal/Services/Manager.ts | 52 ++++++++++++++ apps/server/src/terminal/Services/PTY.ts | 17 +++++ apps/server/src/wsServer.ts | 21 ++++++ 44 files changed, 765 insertions(+), 280 deletions(-)