Skip to content

Centralize runtime env aliases and startup thread selection

1682216
Select commit
Loading
Failed to load commit list.
Closed

Centralize runtime env aliases and startup thread selection #1481

Centralize runtime env aliases and startup thread selection
1682216
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Correctness Check completed Mar 28, 2026 in 5m 23s

3 issues identified (169 code objects reviewed).

β€’ Merge Base: a542a3b
β€’ Head: 1682216

Details

βœ… File Path Comments Posted
βž– prompt.md
βž– postmortem.md
βž– TODO.md
βž– CURRENT-TASK.md
βž– AGENTS.md
βž– README.md
βž– .gitignore
βœ… packages/shared/src/runtime.ts 0
βž– KEYBINDINGS.md
βœ… scripts/workspace-links.test.ts 0
βž– scripts/lib/workspace-links.d.ts
βœ… scripts/sync-workspace-links.mjs 0
βœ… packages/contracts/src/writing.ts 0
βž– scripts/lib/workspace-links.d.mts
❌ scripts/lib/workspace-links.mjs 1
βœ… packages/shared/src/runtime.test.ts 0
βž– REMOTE.md
βž– turbo.json
βž– apps/web/src/types.ts
βž– .docs/workspace-layout.md
βœ… apps/server/src/config.ts 0
βž– apps/web/src/lib/utils.ts
βž– apps/web/src/nativeApi.ts
βž– apps/web/src/store.test.ts
βž– apps/web/src/vite-env.d.ts
βœ… packages/shared/src/Net.ts 0
βž– apps/marketing/package.json
βž– apps/web/src/keybindings.ts
βž– apps/web/src/wsNativeApi.ts
βž– apps/web/src/wsTransport.ts
βœ… apps/server/tsdown.config.ts 0
βž– packages/shared/src/model.ts
βœ… apps/desktop/tsdown.config.ts 0
βž– apps/web/src/routes/_chat.tsx
βž– apps/web/src/session-logic.ts
βž– .docs/provider-architecture.md
βœ… apps/web/src/hooks/useTheme.ts 0
βœ… packages/contracts/src/ws.ts 0
βž– scripts/package.json
βž– .github/workflows/release.yml
βž– apps/desktop/src/runtimeArch.ts
βž– apps/web/package.json
βž– apps/web/src/diffRouteSearch.ts
βž– packages/contracts/package.json
βž– apps/web/src/keybindings.test.ts
βž– apps/web/src/pendingUserInput.ts
βž– apps/web/src/terminalActivity.ts
βž– apps/web/src/wsTransport.test.ts
βž– apps/desktop/src/updateMachine.ts
βž– apps/web/src/lib/contextWindow.ts
βž– apps/web/src/lib/gitReactQuery.ts
βž– packages/shared/src/model.test.ts
βž– apps/server/src/attachmentStore.ts
βž– apps/web/src/session-logic.test.ts
βž– apps/server/src/keybindings.test.ts
βœ… apps/server/src/open.ts 0
βž– apps/server/src/workspaceEntries.ts
βž– apps/server/src/wsServer/pushBus.ts
βž– apps/web/src/components/Sidebar.tsx
βž– apps/web/src/contextMenuFallback.ts
βž– apps/web/src/lib/terminalContext.ts
βœ… apps/server/src/os-jank.ts 0
βž– apps/web/src/components/ui/toast.tsx
❌ apps/web/src/store.ts 1
βž– apps/web/src/threadSelectionStore.ts
βž– apps/web/src/worktreeCleanup.test.ts
βœ… apps/desktop/src/preload.ts 0
βž– apps/server/src/git/Layers/GitCore.ts
βž– apps/web/src/components/DiffPanel.tsx
βž– apps/web/src/historyBootstrap.test.ts
βœ… apps/web/src/hooks/useLocalStorage.ts 0
βž– apps/web/src/lib/projectReactQuery.ts
βž– apps/web/src/terminalActivity.test.ts
βž– apps/web/src/lib/contextWindow.test.ts
βž– apps/web/src/lib/providerReactQuery.ts
βž– apps/web/src/routes/_chat.settings.tsx
βž– apps/server/src/git/Layers/GitHubCli.ts
βž– apps/web/src/composerDraftStore.test.ts
βž– apps/web/src/routes/_chat.$threadId.tsx
βž– apps/web/src/terminalStateStore.test.ts
βž– apps/desktop/src/syncShellEnvironment.ts
βž– apps/server/src/codexAppServerManager.ts
βž– apps/server/src/orchestration/Schemas.ts
βž– apps/server/src/orchestration/decider.ts
βœ… apps/server/src/terminal/Services/PTY.ts 0
βž– apps/server/src/wsServer/pushBus.test.ts
βž– apps/web/src/hooks/useHandleNewThread.ts
βž– apps/web/src/lib/terminalContext.test.ts
βž– apps/web/src/lib/terminalStateCleanup.ts
βž– apps/desktop/src/rotatingFileSink.test.ts
βœ… apps/desktop/src/updateState.ts 0
βœ… apps/server/src/git/Services/GitHubCli.ts 0
βž– apps/web/src/components/BranchToolbar.tsx
βž– apps/web/src/threadSelectionStore.test.ts
βœ… apps/server/src/keybindings.ts 0
βž– apps/web/src/components/chat/ChatHeader.tsx
βœ… apps/web/src/editorPreferences.ts 0
βž– apps/web/src/lib/providerReactQuery.test.ts
βž– packages/shared/package.json
βœ… apps/desktop/scripts/start-electron.mjs 0
βœ… apps/desktop/turbo.jsonc 0
βœ… apps/server/src/index.ts 0
βž– apps/web/src/lib/projectScriptKeybindings.ts
βœ… apps/web/src/terminalStateStore.ts 0
βž– apps/desktop/package.json
βž– apps/server/src/codexAppServerManager.test.ts
βž– apps/server/src/git/Layers/GitManager.test.ts
βž– apps/web/src/components/GitActionsControl.tsx
βž– apps/web/src/components/Sidebar.logic.test.ts
βž– apps/web/src/components/chat/OpenInPicker.tsx
βž– apps/web/src/lib/terminalStateCleanup.test.ts
βœ… apps/desktop/src/updateState.test.ts 0
βž– apps/web/src/components/BranchToolbar.logic.ts
βž– apps/web/src/components/ChatView.logic.test.ts
βž– apps/web/src/components/ChatView.tsx
βž– apps/web/src/components/desktopUpdate.logic.ts
βž– apps/server/src/orchestration/projector.test.ts
βœ… apps/server/src/persistence/NodeSqliteClient.ts 0
βž– apps/server/src/provider/Layers/CodexAdapter.ts
βž– apps/server/src/terminal/Layers/Manager.test.ts
βœ… apps/web/src/appSettings.ts 0
βœ… apps/server/src/checkpointing/Utils.ts 0
βœ… apps/server/src/terminal/Layers/Manager.ts 0
βž– apps/web/src/components/ThreadTerminalDrawer.tsx
βœ… packages/shared/src/shell.ts 0
βž– apps/server/src/git/Layers/CodexTextGeneration.ts
βž– apps/server/src/provider/Layers/ProviderHealth.ts
βœ… apps/server/src/provider/Services/CodexAdapter.ts 0
βž– apps/web/src/components/ProjectScriptsControl.tsx
βž– apps/web/src/components/chat/ChangedFilesTree.tsx
βž– apps/web/src/components/chat/MessagesTimeline.tsx
βž– apps/web/src/lib/projectScriptKeybindings.test.ts
βž– apps/server/src/git/Layers/GitManager.ts
βž– apps/server/src/orchestration/commandInvariants.ts
βž– apps/server/src/provider/Layers/ProviderService.ts
βœ… apps/server/src/provider/Services/ClaudeAdapter.ts 0
βœ… apps/web/src/projectScripts.ts 0
βž– apps/server/integration/fixtures/providerRuntime.ts
βœ… apps/server/src/git/Services/GitCore.ts 0
βž– apps/web/src/components/BranchToolbar.logic.test.ts
βœ… apps/web/src/components/ChatView.logic.ts 0
βž– apps/web/src/components/PullRequestThreadDialog.tsx
βž– apps/web/src/components/desktopUpdate.logic.test.ts
βœ… apps/server/src/git/Services/GitManager.ts 0
βž– apps/server/src/orchestration/projector.ts
βž– apps/server/src/provider/Layers/CodexAdapter.test.ts
βž– apps/server/src/provider/Layers/EventNdjsonLogger.ts
βž– apps/server/src/provider/Services/ProviderAdapter.ts
βž– apps/web/src/components/chat/ComposerCommandMenu.tsx
βž– apps/web/src/components/chat/ProviderModelPicker.tsx
βž– apps/server/src/persistence/Layers/ProjectionState.ts
βž– apps/server/src/persistence/Layers/ProjectionTurns.ts
βž– apps/server/src/provider/Layers/ClaudeAdapter.test.ts
βž– apps/web/src/components/chat/ProviderHealthBanner.tsx
βž– apps/web/src/components/chat/TraitsPicker.browser.tsx
βž– apps/server/package.json
βœ… apps/server/src/telemetry/Services/AnalyticsService.ts 0
βœ… apps/server/src/terminal/Services/Manager.ts 0
βž– apps/web/src/components/chat/MessagesTimeline.test.tsx
βœ… apps/web/src/composerDraftStore.ts 0
βž– apps/server/src/orchestration/commandInvariants.test.ts
βž– apps/server/src/persistence/Layers/ProjectionThreads.ts
βž– apps/web/src/components/BranchToolbarBranchSelector.tsx
βž– apps/web/src/components/GitActionsControl.logic.test.ts
βž– apps/web/src/components/chat/TraitsPicker.tsx
βœ… apps/server/src/git/Services/TextGeneration.ts 0
βž– apps/server/src/persistence/Layers/ProjectionProjects.ts
βœ… apps/web/src/components/ChatView.browser.tsx 0
βœ… apps/desktop/scripts/dev-electron.mjs 0
βž– apps/server/src/provider/Layers/EventNdjsonLogger.test.ts
βœ… apps/desktop/scripts/electron-launcher.mjs 0
βž– apps/server/integration/TestProviderAdapter.integration.ts
βž– apps/server/src/orchestration/Layers/ProjectionPipeline.ts
βž– apps/server/src/provider/Layers/ClaudeAdapter.ts
βž– apps/server/integration/providerService.integration.test.ts
βž– apps/server/src/checkpointing/Layers/CheckpointDiffQuery.ts
βž– apps/server/src/orchestration/Layers/OrchestrationEngine.ts
βœ… apps/server/src/orchestration/Services/CheckpointReactor.ts 0
βž– apps/server/src/persistence/Layers/ProjectionCheckpoints.ts
βž– apps/server/src/provider/Layers/ProviderSessionDirectory.ts
βž– apps/server/src/orchestration/decider.projectScripts.test.ts
βž– apps/server/src/persistence/Layers/ProviderSessionRuntime.ts
βž– apps/web/src/components/chat/CompactComposerControlsMenu.tsx
βž– apps/web/src/components/chat/ProviderModelPicker.browser.tsx
βž– apps/server/src/persistence/Layers/OrchestrationEventStore.ts
βœ… apps/server/src/provider/Services/ProviderHealth.ts 0
βœ… apps/server/src/orchestration/Services/OrchestrationReactor.ts 0
βž– apps/server/src/persistence/Layers/ProjectionThreadMessages.ts
βœ… apps/server/src/provider/Services/ProviderService.ts 0
βœ… apps/web/src/components/GitActionsControl.logic.ts 0
βž– apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx
βž– apps/server/integration/orchestrationEngine.integration.test.ts
βž– apps/server/src/orchestration/Layers/ProjectionPipeline.test.ts
βž– apps/server/src/orchestration/Layers/ProjectionSnapshotQuery.ts
βž– apps/server/src/provider/Layers/ProviderAdapterRegistry.test.ts
βž– apps/web/src/components/chat/ComposerPendingApprovalActions.tsx
βž– apps/server/src/checkpointing/Layers/CheckpointDiffQuery.test.ts
βž– apps/server/src/orchestration/Layers/OrchestrationEngine.test.ts
βœ… apps/server/src/orchestration/Services/ProviderCommandReactor.ts 0
βž– apps/server/src/persistence/Layers/ProjectionThreadActivities.ts
βž– apps/server/src/provider/Layers/ProviderSessionDirectory.test.ts
βœ… apps/web/src/components/KeybindingsToast.browser.tsx 0
βž– apps/server/integration/OrchestrationEngineHarness.integration.ts
βž– apps/server/src/persistence/Layers/ProjectionRepositories.test.ts
βœ… apps/server/src/persistence/Services/ProjectionState.ts 0
βž– apps/server/src/provider/Layers/ProviderService.test.ts
βœ… apps/web/src/projectScripts.test.ts 0
βœ… apps/server/src/orchestration/Services/ProviderRuntimeIngestion.ts 0
βž– apps/server/src/persistence/Layers/OrchestrationEventStore.test.ts
βœ… apps/server/src/checkpointing/Services/CheckpointStore.ts 0
βž– apps/server/src/orchestration/Layers/CheckpointReactor.ts
βž– apps/server/src/persistence/Layers/ProjectionThreadMessages.test.ts
βœ… apps/server/src/persistence/Services/ProjectionThreads.ts 0
βœ… apps/server/src/persistence/Services/ProjectionTurns.ts 0
βž– apps/web/src/components/chat/composerProviderRegistry.tsx
βž– package.json
βž– apps/server/src/orchestration/Layers/ProjectionSnapshotQuery.test.ts
βœ… apps/server/src/persistence/Services/ProjectionProjects.ts 0
βž– apps/web/src/components/chat/CompactComposerControlsMenu.browser.tsx
βœ… apps/web/src/wsNativeApi.test.ts 0
βœ… apps/server/src/orchestration/Services/RuntimeReceiptBus.ts 0
βž– apps/web/src/components/chat/ComposerPendingTerminalContexts.test.tsx
βœ… apps/server/src/orchestration/Services/ProjectionPipeline.ts 0
βœ… apps/server/src/provider/Services/ProviderAdapterRegistry.ts 0
βœ… apps/server/src/checkpointing/Services/CheckpointDiffQuery.ts 0
βœ… apps/server/src/orchestration/Services/OrchestrationEngine.ts 0
βœ… apps/server/src/persistence/Services/ProjectionCheckpoints.ts 0
βœ… apps/server/src/provider/Services/ProviderSessionDirectory.ts 0
βž– apps/server/src/orchestration/Layers/CheckpointReactor.test.ts
βž– apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
βœ… apps/server/src/persistence/Services/ProviderSessionRuntime.ts 0
βœ… apps/server/src/persistence/Services/OrchestrationEventStore.ts 0
βž– apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts
βœ… apps/server/src/persistence/Services/ProjectionThreadMessages.ts 0
βœ… apps/server/src/persistence/Services/ProjectionThreadSessions.ts 0
βœ… apps/server/src/orchestration/Services/ProjectionSnapshotQuery.ts 0
βœ… apps/server/src/persistence/Services/ProjectionPendingApprovals.ts 0
βœ… apps/server/src/persistence/Services/ProjectionThreadActivities.ts 0
βž– apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
βœ… apps/server/src/persistence/Services/OrchestrationCommandReceipts.ts 0
βž– apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.test.ts
βœ… apps/server/src/persistence/Services/ProjectionThreadProposedPlans.ts 0
βœ… apps/server/src/checkpointing/Layers/CheckpointStore.ts 0
❌ apps/server/src/wsServer.ts 1
βœ… apps/server/src/wsServer.test.ts 0
βœ… packages/shared/src/shell.test.ts 0
βœ… apps/web/src/routes/__root.tsx 0
βž– scripts/dev-runner.test.ts
βž– bun.lock
βœ… apps/server/src/main.ts 0
βœ… apps/server/src/main.test.ts 0
βœ… scripts/build-desktop-artifact.ts 0
βœ… apps/desktop/src/main.ts 0
βœ… scripts/dev-runner.ts 0

Filtered Issues Details

apps/web/src/appSettings.ts
  • line 17: Changing APP_SETTINGS_STORAGE_KEY from "t3code:app-settings:v1" to "tero:app-settings:v1" will cause existing users to lose all their saved settings. The useAppSettings hook uses this key with useLocalStorage, so any settings previously stored under the old key will be orphaned and the app will fall back to DEFAULT_APP_SETTINGS. If preserving user settings during the rebrand is intended, a migration from the old key to the new key should be implemented. [ Cross-file consolidated ]