apps/mobile/src/features/home/HomeScreen.tsx | 22 +- apps/mobile/src/features/keyboard/HardwareKeyboardCommandProvider.tsx | 37 +- apps/mobile/src/features/threads/ThreadNavigationSidebar.tsx | 15 - apps/mobile/src/features/threads/thread-list-items.tsx | 3 +- apps/mobile/src/features/threads/thread-list-v2-items.tsx | 3 +- apps/mobile/src/state/use-thread-pr.ts | 69 ++-- apps/mobile/src/state/use-thread-selection.ts | 1 + apps/server/integration/OrchestrationEngineHarness.integration.ts | 7 + apps/server/src/git/GitManager.test.ts | 235 +++++++++++- apps/server/src/git/GitManager.ts | 66 ++-- apps/server/src/orchestration/Layers/OrchestrationEngine.test.ts | 211 +++++++++++ apps/server/src/orchestration/Layers/OrchestrationEngine.ts | 17 + apps/server/src/orchestration/Layers/OrchestrationReactor.test.ts | 11 + apps/server/src/orchestration/Layers/OrchestrationReactor.ts | 3 + apps/server/src/orchestration/Layers/ProjectionPipeline.test.ts | 92 +++++ apps/server/src/orchestration/Layers/ProjectionPipeline.ts | 4 + apps/server/src/orchestration/Layers/ProjectionSnapshotQuery.test.ts | 36 ++ apps/server/src/orchestration/Layers/ProjectionSnapshotQuery.ts | 11 + apps/server/src/orchestration/ThreadPullRequestReactor.test.ts | 613 ++++++++++++++++++++++++++++++++ apps/server/src/orchestration/ThreadPullRequestReactor.ts | 371 +++++++++++++++++++ apps/server/src/orchestration/ThreadSettlementReactor.test.ts | 126 +++++-- apps/server/src/orchestration/ThreadSettlementReactor.ts | 94 ++--- apps/server/src/orchestration/decider.ts | 59 +++ apps/server/src/orchestration/projector.test.ts | 62 ++++ apps/server/src/orchestration/projector.ts | 4 + apps/server/src/persistence/Layers/ProjectionRepositories.test.ts | 18 +- apps/server/src/persistence/Layers/ProjectionThreads.ts | 6 + apps/server/src/persistence/Migrations.ts | 2 + apps/server/src/persistence/Migrations/048_ProjectionThreadBranchPullRequest.ts | 16 + apps/server/src/persistence/Services/ProjectionThreads.ts | 1 + apps/server/src/project/RepositoryIdentityResolver.test.ts | 65 +++- apps/server/src/project/RepositoryIdentityResolver.ts | 9 +- apps/server/src/server.ts | 2 + apps/web/src/components/BranchToolbarBranchSelector.tsx | 19 +- apps/web/src/components/ChatView.logic.test.ts | 35 ++ apps/web/src/components/ChatView.logic.ts | 19 + apps/web/src/components/ChatView.tsx | 228 ++---------- apps/web/src/components/CommandPalette.tsx | 43 +-- apps/web/src/components/LegacySidebar.tsx | 55 +-- apps/web/src/components/Sidebar.tsx | 63 +--- apps/web/src/components/ThreadStatusIndicators.test.ts | 525 --------------------------- apps/web/src/components/ThreadStatusIndicators.tsx | 311 +--------------- apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx | 12 - docs/user/thread-sidebar.md | 7 +- packages/client-runtime/src/state/threadReducer.test.ts | 97 ++--- packages/client-runtime/src/state/threadReducer.ts | 4 + packages/contracts/src/orchestration.test.ts | 42 +++ packages/contracts/src/orchestration.ts | 21 ++ packages/shared/src/threadReference.test.ts | 19 +- packages/shared/src/threadReference.ts | 4 +- 50 files changed, 2309 insertions(+), 1486 deletions(-)