GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Propagate runtime approval policy and sandbox mode to thread turn startup by juliusmarminge · Pull Request #100 · pingdotgg/t3code

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Feb 27, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

  • Add approvalPolicy and sandboxMode to thread.turn.start command and thread.turn-start-requested payload contracts.
  • Forward runtime approval/sandbox settings through decider and provider command reactor when creating/starting provider sessions.
  • Update ChatView to derive runtime settings from runtimeMode (full-access => never + danger-full-access, otherwise on-request + workspace-write).
  • Extend server orchestration tests to verify approval/sandbox fields are emitted and passed into session startup.

Testing

  • apps/server/src/orchestration/decider.projectScripts.test.ts: verifies thread.turn-start-requested includes approvalPolicy and sandboxMode.
  • apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts: verifies startSession receives approvalPolicy and sandboxMode.
  • Project lint scripts: Not run.

Note

Medium Risk
Touches turn-start/session lifecycle and persistence (contracts, provider session management, projections, and a DB migration), so regressions could break turn dispatch or session reuse/restart behavior; changes are scoped and covered by updated tests.

Overview
Propagates runtime controls by making approvalPolicy and sandboxMode required on thread.turn.start and carrying them into thread.turn-start-requested and OrchestrationSession so the values are visible end-to-end.

Updates ProviderCommandReactor to pass these settings into providerService.startSession, persist them onto the thread session, and restart the provider session when either setting changes (otherwise reuse the existing session).

Persists the new fields in projection_thread_sessions (adds columns via a new migration, projects them in ProjectionPipeline, and hydrates them in ProjectionSnapshotQuery). The web ChatView now derives the two fields from runtimeMode when dispatching turn start, and tests are updated/expanded to assert propagation and session restart behavior.

Written by Cursor Bugbot for commit 7d0226c. This will update automatically on new commits. Configure here.

Note

Propagate approvalPolicy and sandboxMode through thread.turn.start and persist them in projection-backed session reads across server and web dispatch paths

Add required approvalPolicy and sandboxMode to ThreadTurnStartCommand, forward them via decider into thread.turn-start-requested, ensure ProviderCommandReactor.make starts/restarts sessions based on these fields, and persist them via projection repositories and migration. Update UI dispatch to include these fields based on runtime mode.

📍Where to Start

Start with processTurnStartRequested and session handling in ProviderCommandReactor.ts, then review event emission in decider.ts and projection persistence in ProjectionThreadSessions.ts.

Macroscope summarized 7d0226c.

Summary by CodeRabbit

  • New Features
    • Provider sessions now include configurable approvalPolicy and sandboxMode that flow from runtime mode into session start and events.
    • Settings persist in session state and read models so UI and tooling observe policy and sandbox values.
  • Bug Fixes
    • Sessions will restart and rebind when approvalPolicy or sandboxMode change, preventing mismatched runtime behavior.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@coderabbitai

coderabbitai Bot commented Feb 27, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

Adds optional approvalPolicy and sandboxMode fields across the orchestration stack: contract schemas, client dispatch, event payloads, provider session lifecycle (start/stop/rebind), runtime ingestion, projection/store mappings, and tests. Session restart occurs when policy or sandbox mode changes.

Changes

Cohort / File(s) Summary
Contract Definitions
packages/contracts/src/orchestration.ts
Added optional approvalPolicy and sandboxMode to OrchestrationSession, ThreadTurnStartCommand, and ThreadTurnStartRequestedPayload.
Provider Session Core
apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
Extended ensureSessionForThread and sendTurnForThread signatures to accept approvalPolicy and sandboxMode; include them in start payloads; restart sessions when policy/mode change; propagate fields into provider events.
Runtime Ingestion
apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts
Include approvalPolicy and sandboxMode in thread.session.set and error paths; added default constants for both.
Persistence & Projections
apps/server/src/persistence/Migrations/005_Projections.ts, apps/server/src/persistence/Services/ProjectionThreadSessions.ts, apps/server/src/orchestration/Layers/ProjectionSnapshotQuery.ts, apps/server/src/orchestration/Layers/ProjectionPipeline.ts
DB migration adds approval_policy and sandbox_mode columns; persistence layer upsert/select updated; projection snapshot and pipeline map new fields into read model session objects.
Event Routing / Decider / Client
apps/server/src/orchestration/decider.ts, apps/server/src/orchestration/decider.projectScripts.test.ts, apps/web/src/components/ChatView.tsx
thread.turn.start/thread.turn-start-requested payloads extended with approvalPolicy and sandboxMode; ChatView derives and sets these based on runtimeMode.
Tests & Integration
apps/server/.../*.test.ts, apps/server/integration/orchestrationEngine.integration.test.ts, apps/server/src/wsServer.test.ts, apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
Numerous tests and integration specs updated to include approvalPolicy and sandboxMode in fixtures and assertions; added session reuse/restart scenarios for mode changes.

Sequence Diagram(s)

sequenceDiagram
    participant Client as ChatView
    participant Decider as Decider
    participant Reactor as ProviderCommandReactor
    participant Provider as Provider Session
    participant Ingest as ProviderRuntimeIngestion

    Client->>Decider: dispatch thread.turn.start(approvalPolicy, sandboxMode)
    Decider->>Reactor: sendTurnForThread(..., approvalPolicy, sandboxMode)
    Reactor->>Provider: ensureSessionForThread -> check existing session
    alt session exists & policy/mode unchanged
        Reactor->>Provider: reuse session
    else session exists & policy/mode changed
        Reactor->>Provider: stop session
        Reactor->>Provider: start session(approvalPolicy, sandboxMode)
    else no session
        Reactor->>Provider: start session(approvalPolicy, sandboxMode)
    end
    Provider-->>Reactor: session details
    Reactor->>Ingest: emit thread.session.set(..., approvalPolicy, sandboxMode)
    Ingest->>Ingest: update projections / persistence with new fields
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title directly and accurately describes the main change: adding approvalPolicy and sandboxMode propagation through the thread turn startup flow, which is the core objective of this PR.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch codething/2c75aea7

Comment @coderabbitai help to get the list of available commands and usage tips.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed Feb 27, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Autofix Details

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Existing session ignores runtime mode changes
    • Added in-memory tracking of per-thread session runtime settings (approvalPolicy/sandboxMode) so that when ensureSessionForThread detects the requested settings differ from the stored ones, it stops the old session and creates a new one with the updated configuration.

Create PR

Or push these changes by commenting:

@cursor push 9ee36a6e77
Preview (9ee36a6e77)
diff --git a/apps/server/src/orchestration/Layers/ProviderCommandReactor.ts b/apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
--- a/apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
+++ b/apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
@@ -127,6 +127,11 @@
     return readModel.threads.find((entry) => entry.id === threadId);
   });
 
+  const sessionRuntimeSettings = new Map<
+    string,
+    { approvalPolicy?: ProviderApprovalPolicy; sandboxMode?: ProviderSandboxMode }
+  >();
+
   const ensureSessionForThread = Effect.fnUntraced(function* (
     threadId: ThreadId,
     createdAt: string,
@@ -143,7 +148,15 @@
 
     const existingSessionId = thread.session?.providerSessionId;
     if (existingSessionId) {
-      return existingSessionId;
+      const stored = sessionRuntimeSettings.get(threadId);
+      const runtimeModeChanged =
+        (options?.approvalPolicy !== undefined &&
+          options.approvalPolicy !== stored?.approvalPolicy) ||
+        (options?.sandboxMode !== undefined && options.sandboxMode !== stored?.sandboxMode);
+      if (!runtimeModeChanged) {
+        return existingSessionId;
+      }
+      yield* providerService.stopSession({ sessionId: existingSessionId });
     }
 
     const preferredProvider: ProviderKind | undefined =
@@ -163,6 +176,11 @@
       ...(options?.sandboxMode !== undefined ? { sandboxMode: options.sandboxMode } : {}),
     });
 
+    sessionRuntimeSettings.set(threadId, {
+      approvalPolicy: options?.approvalPolicy,
+      sandboxMode: options?.sandboxMode,
+    });
+
     yield* setThreadSession({
       threadId,
       session: {
@@ -314,6 +332,8 @@
       yield* providerService.stopSession({ sessionId });
     }
 
+    sessionRuntimeSettings.delete(thread.id);
+
     yield* setThreadSession({
       threadId: thread.id,
       session: {

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/server/src/orchestration/Layers/ProviderCommandReactor.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge force-pushed the codething/2c75aea7 branch from e33ca5f to 8916262 Compare February 27, 2026 02:48
macroscopeapp[bot]
macroscopeapp Bot reviewed Feb 27, 2026
View reviewed changes
Comment thread apps/server/src/orchestration/Layers/ProviderCommandReactor.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge force-pushed the codething/2c75aea7 branch 2 times, most recently from aedb803 to 5fdf30b Compare February 27, 2026 03:31
cursor[bot]
cursor Bot reviewed Feb 27, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Autofix Details

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Runtime keybindings file accidentally committed
    • Removed the entire apps/server/.t3/ runtime directory (keybindings.json, SQLite state, and log files) from git tracking and added .t3/ to .gitignore to prevent future accidental commits.

Create PR

Or push these changes by commenting:

@cursor push 03dd03cc9e
Preview (03dd03cc9e)
diff --git a/.gitignore b/.gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -10,4 +10,5 @@
 .env.local
 build/
 .logs/
+.t3/
 release/

diff --git a/apps/server/.t3/keybindings.json b/apps/server/.t3/keybindings.json
deleted file mode 100644
--- a/apps/server/.t3/keybindings.json
+++ /dev/null
@@ -1,45 +1,0 @@
-[
-  {
-    "key": "mod+j",
-    "command": "terminal.toggle"
-  },
-  {
-    "key": "mod+d",
-    "command": "terminal.split",
-    "when": "terminalFocus"
-  },
-  {
-    "key": "mod+n",
-    "command": "terminal.new",
-    "when": "terminalFocus"
-  },
-  {
-    "key": "mod+w",
-    "command": "terminal.close",
-    "when": "terminalFocus"
-  },
-  {
-    "key": "mod+n",
-    "command": "chat.new",
-    "when": "!terminalFocus"
-  },
-  {
-    "key": "mod+shift+o",
-    "command": "chat.new",
-    "when": "!terminalFocus"
-  },
-  {
-    "key": "mod+shift+n",
-    "command": "chat.newLocal",
-    "when": "!terminalFocus"
-  },
-  {
-    "key": "mod+o",
-    "command": "editor.openFavorite"
-  },
-  {
-    "key": "mod+d",
-    "command": "diff.toggle",
-    "when": "!terminalFocus"
-  }
-]
\ No newline at end of file

diff --git a/apps/server/.t3/logs/providers/provider-canonical.ndjson b/apps/server/.t3/logs/providers/provider-canonical.ndjson
deleted file mode 100644

diff --git a/apps/server/.t3/logs/providers/provider-native.ndjson b/apps/server/.t3/logs/providers/provider-native.ndjson
deleted file mode 100644

diff --git a/apps/server/.t3/state.sqlite b/apps/server/.t3/state.sqlite
deleted file mode 100644
--- a/apps/server/.t3/state.sqlite
+++ /dev/null
@@ -1,196 +1,0 @@
-SQLite format 3������@  �������1�����������������������������������������������������������������.�������������-������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
����� ������s�D� ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������"���3#2026-02-27 03:19:21Projections-���392026-02-27 03:19:21ProviderSessionRuntime*���332026-02-27 03:19:21CheckpointDiffBlobs3���3E2026-02-27 03:19:21OrchestrationCommandReceipts*���332026-02-27 03:19:21OrchestrationEvents
������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������m���U�U�+=U�U��=�872bca1f-73be-4346-8b52-570c4174f728project6d7b7d04-791e-4c47-812b-9f3dcdc91b83project.created2026-02-27T03:19:21.859Zd62dcca7-5310-4e5e-ba59-2602d655f203d62dcca7-5310-4e5e-ba59-2602d655f203client{"projectId":"6d7b7d04-791e-4c47-812b-9f3dcdc91b83","title":"server","workspaceRoot":"/Users/julius/.t3/worktrees/codething-mvp/codething-2c75aea7/apps/server","defaultModel":"gpt-5-codex","scripts":[],"createdAt":"2026-02-27T03:19:21.859Z","updatedAt":"2026-02-27T03:19:21.859Z"}{}
-�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������'�U	872bca1f-73be-4346-8b52-570c4174f728
�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������5	orchestration_events
-��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������0��U�	project6d7b7d04-791e-4c47-812b-9f3dcdc91b83
-��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������0��U		project6d7b7d04-791e-4c47-812b-9f3dcdc91b83
-�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������'�U	d62dcca7-5310-4e5e-ba59-2602d655f203
-�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������'�U	d62dcca7-5310-4e5e-ba59-2602d655f203
��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������w��U�U=	��d62dcca7-5310-4e5e-ba59-2602d655f203project6d7b7d04-791e-4c47-812b-9f3dcdc91b832026-02-27T03:19:21.859Zaccepted
-�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������'�U	d62dcca7-5310-4e5e-ba59-2602d655f203
... diff truncated: showing 80 of 284 lines

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/server/.t3/keybindings.json Resolved

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge force-pushed the codething/2c75aea7 branch from 5fdf30b to d79cb63 Compare February 27, 2026 03:36
cursor[bot]
cursor Bot reviewed Feb 27, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Autofix Details

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Read model left inconsistent when session restart fails
    • Added Effect.tapError to the startProviderSession call in the restart path to clear the read model session (set providerSessionId to null with error status) when the restart fails after the old session has been stopped, preventing subsequent turns from reusing a dead session ID.

Create PR

Or push these changes by commenting:

@cursor push 4505053a05
Preview (4505053a05)
diff --git a/apps/server/src/orchestration/Layers/ProviderCommandReactor.ts b/apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
--- a/apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
+++ b/apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
@@ -186,7 +186,8 @@
     const existingSessionId = thread.session?.providerSessionId;
     if (existingSessionId) {
       const approvalPolicyChanged =
-        options?.approvalPolicy !== undefined && options.approvalPolicy !== thread.session?.approvalPolicy;
+        options?.approvalPolicy !== undefined &&
+        options.approvalPolicy !== thread.session?.approvalPolicy;
       const sandboxModeChanged =
         options?.sandboxMode !== undefined && options.sandboxMode !== thread.session?.sandboxMode;
 
@@ -195,7 +196,26 @@
       }
 
       yield* providerService.stopSession({ sessionId: existingSessionId });
-      const restartedSession = yield* startProviderSession(thread.session?.providerThreadId ?? null);
+      const restartedSession = yield* startProviderSession(
+        thread.session?.providerThreadId ?? null,
+      ).pipe(
+        Effect.tapError(() =>
+          setThreadSession({
+            threadId,
+            session: {
+              threadId,
+              status: "error",
+              providerName: thread.session?.providerName ?? null,
+              providerSessionId: null,
+              providerThreadId: thread.session?.providerThreadId ?? null,
+              activeTurnId: null,
+              lastError: null,
+              updatedAt: createdAt,
+            },
+            createdAt,
+          }),
+        ),
+      );
       yield* bindSessionToThread(restartedSession);
       return restartedSession.sessionId;
     }

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/server/src/orchestration/Layers/ProviderCommandReactor.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

juliusmarminge and others added 4 commits February 26, 2026 20:48
@juliusmarminge
Propagate runtime approval and sandbox settings to turn startup
5d64138
- Add `approvalPolicy` and `sandboxMode` to turn-start command and requested payload contracts
- Pass runtime mode-derived values from `ChatView` when dispatching `thread.turn.start`
- Thread provider options through decider/reactor into session startup, with tests updated
@juliusmarminge
Restart provider sessions when runtime mode changes
6f2181d
- Persist `approvalPolicy` and `sandboxMode` on orchestration sessions
- Reuse existing sessions when runtime mode is unchanged
- Stop and recreate provider sessions when runtime mode settings change
- Add reactor tests for reuse vs restart behavior
@juliusmarminge
Add .t3 keybindings and initial local runtime state files
454ddee
- add default `.t3/keybindings.json` for terminal/chat/editor/diff shortcuts
- include initial provider log files and SQLite state artifacts under `apps/server/.t3`
@juliusmarminge @claude
Fix type error with optional approvalPolicy and sandboxMode
6158b2a
Use conditional spreading for these properties to handle undefined
values correctly with exactOptionalPropertyTypes.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@juliusmarminge
juliusmarminge force-pushed the codething/2c75aea7 branch from b0aff07 to 6158b2a Compare February 27, 2026 04:48
@juliusmarminge
rm
422160a
coderabbitai[bot]
coderabbitai Bot reviewed Feb 27, 2026
View reviewed changes

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@apps/server/src/orchestration/Layers/ProviderCommandReactor.ts`:
- Around line 146-147: desiredApprovalPolicy and desiredSandboxMode currently
fallback to thread.session values, but after an explicit stop those properties
are missing; update the fallback logic so after options you check for
preserved/session-history values before using thread.session directly (e.g.,
options?.approvalPolicy ?? thread.session?.approvalPolicy ??
thread.previousSession?.approvalPolicy ?? defaultApprovalPolicy and similarly
for sandboxMode), and if no such history field exists add and use a stable store
on Thread (e.g., previousSession or sessionSnapshot set before stop) so
ProviderCommandReactor's desiredApprovalPolicy and desiredSandboxMode always
resolve to the last known policy/mode.
- Around line 197-201: The current restart sequence stops the old session via
providerService.stopSession(existingSessionId) before calling
startProviderSession and bindSessionToThread, which can leave the thread bound
to a stale/empty session if start/bind fails; change the flow to first call
startProviderSession(thread.session?.providerThreadId ?? null), then
bindSessionToThread(restartedSession), and only after successful bind call
providerService.stopSession(existingSessionId); alternatively (if stopping first
is required) wrap the startProviderSession/bindSessionToThread calls in a
try/catch and on failure attempt to restore the old session by
re-creating/re-binding existingSessionId so thread.session remains consistent.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b0aff079bf0ca7309d4b65f2eea2e2d7377c552a and 422160a.

📒 Files selected for processing (7)
  • apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
  • apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
  • apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts
  • apps/server/src/orchestration/decider.projectScripts.test.ts
  • apps/server/src/orchestration/decider.ts
  • apps/web/src/components/ChatView.tsx
  • packages/contracts/src/orchestration.ts
🚧 Files skipped from review as they are similar to previous changes (3)
  • apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts
  • apps/server/src/orchestration/decider.ts
  • apps/server/src/orchestration/decider.projectScripts.test.ts

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/server/src/orchestration/Layers/ProviderCommandReactor.ts Outdated
Comment on lines +146 to +147
const desiredApprovalPolicy = options?.approvalPolicy ?? thread.session?.approvalPolicy;
const desiredSandboxMode = options?.sandboxMode ?? thread.session?.sandboxMode;

@coderabbitai coderabbitai Bot Feb 27, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fallback policy/mode continuity breaks after explicit session stops.

Line 146 and Line 147 fall back to values on thread.session, but the stop path writes a stopped session without approvalPolicy/sandboxMode, so those fallbacks become unavailable after a stop.

💡 Suggested fix
     yield* setThreadSession({
       threadId: thread.id,
       session: {
         threadId: thread.id,
         status: "stopped",
         providerName: thread.session?.providerName ?? null,
         providerSessionId: null,
         providerThreadId: null,
+        ...(thread.session?.approvalPolicy !== undefined
+          ? { approvalPolicy: thread.session.approvalPolicy }
+          : {}),
+        ...(thread.session?.sandboxMode !== undefined
+          ? { sandboxMode: thread.session.sandboxMode }
+          : {}),
         activeTurnId: null,
         lastError: thread.session?.lastError ?? null,
         updatedAt: now,
       },
       createdAt: now,
     });
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/server/src/orchestration/Layers/ProviderCommandReactor.ts` around lines
146 - 147, desiredApprovalPolicy and desiredSandboxMode currently fallback to
thread.session values, but after an explicit stop those properties are missing;
update the fallback logic so after options you check for
preserved/session-history values before using thread.session directly (e.g.,
options?.approvalPolicy ?? thread.session?.approvalPolicy ??
thread.previousSession?.approvalPolicy ?? defaultApprovalPolicy and similarly
for sandboxMode), and if no such history field exists add and use a stable store
on Thread (e.g., previousSession or sessionSnapshot set before stop) so
ProviderCommandReactor's desiredApprovalPolicy and desiredSandboxMode always
resolve to the last known policy/mode.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/server/src/orchestration/Layers/ProviderCommandReactor.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

juliusmarminge added 2 commits February 26, 2026 21:08
@juliusmarminge
Persist required approval policy and sandbox mode for sessions
4d791fe
- Make `approvalPolicy` and `sandboxMode` required in orchestration contracts and turn-start flow
- Add defaults in provider reactors/ingestion to guarantee values are always set
- Store and hydrate both fields in projection persistence, snapshots, and related tests
@juliusmarminge
Handle session restart failures without dropping active thread session
4b80ad2
- Reorder restart flow to bind the new provider session before stopping the old one
- Log (and swallow) stop-session failures for superseded sessions
- Add regression test ensuring failed restart does not stop the active session
coderabbitai[bot]
coderabbitai Bot reviewed Feb 27, 2026
View reviewed changes

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

♻️ Duplicate comments (1)
apps/server/src/orchestration/Layers/ProviderCommandReactor.ts (1)

201-204: ⚠️ Potential issue | 🟠 Major

Restart sequence still has a failure window after the old session is stopped.

At Line 201, the old session is stopped before replacement startup/bind completes. If startup fails, the thread can be left without a recoverable active provider session.

Based on learnings: Keep behavior predictable under load and during failures (session restarts, reconnects, partial streams).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/server/src/orchestration/Layers/ProviderCommandReactor.ts` around lines
201 - 204, The current sequence calls
providerService.stopSession(existingSessionId) before starting and binding the
replacement session, which leaves the thread without a recoverable session if
startup fails; instead create the new session first (call
startProviderSession(thread.session?.providerThreadId ?? null) and bind it with
bindSessionToThread(restartedSession)), verify startup succeeded, then
atomically swap by stopping the old session via
providerService.stopSession(existingSessionId) (or schedule the old session for
teardown after confirming the new one is bound); also ensure to handle cleanup
on startProviderSession failure (do not stop the old session) and guard against
concurrent restarts by using the thread/session restart lock or flag used
elsewhere.
🧹 Nitpick comments (1)
apps/server/src/orchestration/projector.test.ts (1)

198-199: Add explicit assertions for the new session runtime fields.

This test now provides approvalPolicy/sandboxMode but does not verify they are projected. As this PR is about propagating these fields, asserting them here would prevent silent regressions.

Suggested test assertion patch
     const thread = afterRunning.threads[0];
     expect(thread?.latestTurnId).toBe("turn-1");
     expect(thread?.session?.status).toBe("running");
+    expect(thread?.session?.approvalPolicy).toBe("on-request");
+    expect(thread?.session?.sandboxMode).toBe("workspace-write");

Also applies to: 209-212

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/server/src/orchestration/projector.test.ts` around lines 198 - 199, The
test in projector.test.ts sets approvalPolicy and sandboxMode but never asserts
them; add explicit assertions that the projected session runtime contains
approvalPolicy === "on-request" and sandboxMode === "workspace-write" (e.g.
assert on the projected object's session.runtime.approvalPolicy and
session.runtime.sandboxMode) in the same two assertion blocks currently
validating the projection (the blocks around the existing checks for the
projected session), so regressions to propagating these fields are caught.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts`:
- Around line 29-30: DEFAULT_APPROVAL_POLICY currently set to "never" causes
missing/unknown session policy to silently disable approvals; change the
constant DEFAULT_APPROVAL_POLICY to a fail-safe value (e.g., "explicit" or
whatever ProviderApprovalPolicy value means "require explicit approval") and
update the two fallback branches in ProviderRuntimeIngestion that currently
apply the old default so they either (a) use the new fail-safe default or (b)
throw/return an error when session state/policy is unknown; ensure you update
both places where DEFAULT_APPROVAL_POLICY is referenced in the fallback logic so
unknown policies no longer silently bypass approvals.

In `@apps/server/src/persistence/Migrations/005_Projections.ts`:
- Around line 68-69: Don't edit the existing migration 005_Projections.ts;
instead create a new rollout-safe migration that ALTER TABLEs
projection_thread_sessions to add the two new columns (approval_policy and
sandbox_mode) so existing DBs receive them; in the new migration use ALTER TABLE
... ADD COLUMN for each column, make them either nullable or provide reasonable
DEFAULT values, and include any necessary backfill/update statements and a safe
down migration to remove the columns; reference projection_thread_sessions,
approval_policy, and sandbox_mode when implementing the change.

---

Duplicate comments:
In `@apps/server/src/orchestration/Layers/ProviderCommandReactor.ts`:
- Around line 201-204: The current sequence calls
providerService.stopSession(existingSessionId) before starting and binding the
replacement session, which leaves the thread without a recoverable session if
startup fails; instead create the new session first (call
startProviderSession(thread.session?.providerThreadId ?? null) and bind it with
bindSessionToThread(restartedSession)), verify startup succeeded, then
atomically swap by stopping the old session via
providerService.stopSession(existingSessionId) (or schedule the old session for
teardown after confirming the new one is bound); also ensure to handle cleanup
on startProviderSession failure (do not stop the old session) and guard against
concurrent restarts by using the thread/session restart lock or flag used
elsewhere.

---

Nitpick comments:
In `@apps/server/src/orchestration/projector.test.ts`:
- Around line 198-199: The test in projector.test.ts sets approvalPolicy and
sandboxMode but never asserts them; add explicit assertions that the projected
session runtime contains approvalPolicy === "on-request" and sandboxMode ===
"workspace-write" (e.g. assert on the projected object's
session.runtime.approvalPolicy and session.runtime.sandboxMode) in the same two
assertion blocks currently validating the projection (the blocks around the
existing checks for the projected session), so regressions to propagating these
fields are caught.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 422160a and 4d791fe.

📒 Files selected for processing (19)
  • apps/server/integration/orchestrationEngine.integration.test.ts
  • apps/server/src/orchestration/Layers/CheckpointReactor.test.ts
  • apps/server/src/orchestration/Layers/OrchestrationEngine.test.ts
  • apps/server/src/orchestration/Layers/ProjectionPipeline.test.ts
  • apps/server/src/orchestration/Layers/ProjectionPipeline.ts
  • apps/server/src/orchestration/Layers/ProjectionSnapshotQuery.test.ts
  • apps/server/src/orchestration/Layers/ProjectionSnapshotQuery.ts
  • apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
  • apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
  • apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.test.ts
  • apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts
  • apps/server/src/orchestration/commandInvariants.test.ts
  • apps/server/src/orchestration/decider.ts
  • apps/server/src/orchestration/projector.test.ts
  • apps/server/src/persistence/Layers/ProjectionThreadSessions.ts
  • apps/server/src/persistence/Migrations/005_Projections.ts
  • apps/server/src/persistence/Services/ProjectionThreadSessions.ts
  • apps/server/src/wsServer.test.ts
  • packages/contracts/src/orchestration.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/server/src/orchestration/decider.ts

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts Outdated
Comment on lines +29 to +30
const DEFAULT_APPROVAL_POLICY: ProviderApprovalPolicy = "never";
const DEFAULT_SANDBOX_MODE: ProviderSandboxMode = "workspace-write";

@coderabbitai coderabbitai Bot Feb 27, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Fallback approval policy is overly permissive for unknown session state.

Line 29 defaults to "never", and that value is applied in both fallback paths (Line 378 and Line 488). When policy is missing, this silently disables approvals instead of failing safe.

Safer fallback
-const DEFAULT_APPROVAL_POLICY: ProviderApprovalPolicy = "never";
+const DEFAULT_APPROVAL_POLICY: ProviderApprovalPolicy = "on-request";

Also applies to: 378-379, 488-489

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts` around
lines 29 - 30, DEFAULT_APPROVAL_POLICY currently set to "never" causes
missing/unknown session policy to silently disable approvals; change the
constant DEFAULT_APPROVAL_POLICY to a fail-safe value (e.g., "explicit" or
whatever ProviderApprovalPolicy value means "require explicit approval") and
update the two fallback branches in ProviderRuntimeIngestion that currently
apply the old default so they either (a) use the new fail-safe default or (b)
throw/return an error when session state/policy is unknown; ensure you update
both places where DEFAULT_APPROVAL_POLICY is referenced in the fallback logic so
unknown policies no longer silently bypass approvals.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/server/src/persistence/Migrations/005_Projections.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

juliusmarminge added 3 commits February 26, 2026 21:18
@juliusmarminge
Disable two Effect lint rules in server tsconfig
caafd21
- Turn off `preferSchemaOverJson`
- Turn off `globalErrorInEffectFailure`
@juliusmarminge
tone down defautls
21c62c5
@juliusmarminge
migr
7d0226c
@juliusmarminge
juliusmarminge merged commit f9752d7 into main Feb 27, 2026
3 checks passed

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed Feb 27, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix prepared fixes for both issues found in the latest run.

  • ✅ Fixed: Inconsistent default approval policy across modules
    • Changed DEFAULT_APPROVAL_POLICY in ProviderCommandReactor.ts from "never" to "on-request" to match ProviderRuntimeIngestion.ts, ensuring consistent and safe fallback behavior.
  • ✅ Fixed: Required schema fields break replay of old events
    • Made approvalPolicy and sandboxMode fields optional with decoding defaults in OrchestrationSession and ThreadTurnStartRequestedPayload schemas, so old events without these fields can be decoded during bootstrap replay.

Create PR

Or push these changes by commenting:

@cursor push 7491351d10
Preview (7491351d10)
diff --git a/apps/server/src/orchestration/Layers/ProjectionPipeline.ts b/apps/server/src/orchestration/Layers/ProjectionPipeline.ts
--- a/apps/server/src/orchestration/Layers/ProjectionPipeline.ts
+++ b/apps/server/src/orchestration/Layers/ProjectionPipeline.ts
@@ -473,8 +473,8 @@
         providerName: event.payload.session.providerName,
         providerSessionId: event.payload.session.providerSessionId,
         providerThreadId: event.payload.session.providerThreadId,
-        approvalPolicy: event.payload.session.approvalPolicy,
-        sandboxMode: event.payload.session.sandboxMode,
+        approvalPolicy: event.payload.session.approvalPolicy ?? "on-request",
+        sandboxMode: event.payload.session.sandboxMode ?? "workspace-write",
         activeTurnId: event.payload.session.activeTurnId,
         lastError: event.payload.session.lastError,
         updatedAt: event.payload.session.updatedAt,

diff --git a/apps/server/src/orchestration/Layers/ProviderCommandReactor.ts b/apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
--- a/apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
+++ b/apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
@@ -64,7 +64,7 @@
 
 const HANDLED_TURN_START_KEY_MAX = 10_000;
 const HANDLED_TURN_START_KEY_TTL = Duration.minutes(30);
-const DEFAULT_APPROVAL_POLICY: ProviderApprovalPolicy = "never";
+const DEFAULT_APPROVAL_POLICY: ProviderApprovalPolicy = "on-request";
 const DEFAULT_SANDBOX_MODE: ProviderSandboxMode = "workspace-write";
 
 const make = Effect.gen(function* () {
@@ -279,8 +279,8 @@
       ...(message.attachments !== undefined ? { attachments: message.attachments } : {}),
       ...(event.payload.model !== undefined ? { model: event.payload.model } : {}),
       ...(event.payload.effort !== undefined ? { effort: event.payload.effort } : {}),
-      approvalPolicy: event.payload.approvalPolicy,
-      sandboxMode: event.payload.sandboxMode,
+      approvalPolicy: event.payload.approvalPolicy ?? DEFAULT_APPROVAL_POLICY,
+      sandboxMode: event.payload.sandboxMode ?? DEFAULT_SANDBOX_MODE,
       createdAt: event.payload.createdAt,
     });
   });

diff --git a/packages/contracts/src/orchestration.ts b/packages/contracts/src/orchestration.ts
--- a/packages/contracts/src/orchestration.ts
+++ b/packages/contracts/src/orchestration.ts
@@ -142,8 +142,12 @@
   providerName: Schema.NullOr(TrimmedNonEmptyString),
   providerSessionId: Schema.NullOr(ProviderSessionId),
   providerThreadId: Schema.NullOr(ProviderThreadId),
-  approvalPolicy: ProviderApprovalPolicy,
-  sandboxMode: ProviderSandboxMode,
+  approvalPolicy: Schema.optional(ProviderApprovalPolicy).pipe(
+    Schema.withDecodingDefault(() => "on-request" as ProviderApprovalPolicy),
+  ),
+  sandboxMode: Schema.optional(ProviderSandboxMode).pipe(
+    Schema.withDecodingDefault(() => "workspace-write" as ProviderSandboxMode),
+  ),
   activeTurnId: Schema.NullOr(TurnId),
   lastError: Schema.NullOr(TrimmedNonEmptyString),
   updatedAt: IsoDateTime,
@@ -500,8 +504,12 @@
   model: Schema.optional(TrimmedNonEmptyString),
   effort: Schema.optional(TrimmedNonEmptyString),
   assistantDeliveryMode: Schema.optional(AssistantDeliveryMode),
-  approvalPolicy: ProviderApprovalPolicy,
-  sandboxMode: ProviderSandboxMode,
+  approvalPolicy: Schema.optional(ProviderApprovalPolicy).pipe(
+    Schema.withDecodingDefault(() => "on-request" as ProviderApprovalPolicy),
+  ),
+  sandboxMode: Schema.optional(ProviderSandboxMode).pipe(
+    Schema.withDecodingDefault(() => "workspace-write" as ProviderSandboxMode),
+  ),
   createdAt: IsoDateTime,
 });

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
const HANDLED_TURN_START_KEY_MAX = 10_000;
const HANDLED_TURN_START_KEY_TTL = Duration.minutes(30);
const DEFAULT_APPROVAL_POLICY: ProviderApprovalPolicy = "never";
const DEFAULT_SANDBOX_MODE: ProviderSandboxMode = "workspace-write";

@cursor cursor Bot Feb 27, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent default approval policy across modules

Medium Severity

DEFAULT_APPROVAL_POLICY is "never" in ProviderCommandReactor.ts but "on-request" in ProviderRuntimeIngestion.ts. Both are used as fallbacks when thread.session?.approvalPolicy is undefined. This means session status updates from runtime events (e.g., turn.started, session.exited, runtime.error) will record "on-request", while session stops from ProviderCommandReactor will record "never". The "never" default is the less safe option, allowing tools to run without user approval in fallback scenarios.

Additional Locations (1)
  • apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts#L28-L30

Fix in Cursor Fix in Web

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/contracts/src/orchestration.ts
providerSessionId: Schema.NullOr(ProviderSessionId),
providerThreadId: Schema.NullOr(ProviderThreadId),
approvalPolicy: ProviderApprovalPolicy,
sandboxMode: ProviderSandboxMode,

@cursor cursor Bot Feb 27, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Required schema fields break replay of old events

High Severity

Adding approvalPolicy and sandboxMode as required (non-optional) fields to OrchestrationSession and ThreadTurnStartRequestedPayload breaks backward compatibility with events already persisted in the event store. The engine bootstrap replays all events via Schema.decodeUnknownEffect(OrchestrationEvent), and old thread.session-set and thread.turn-start-requested events that lack these fields will fail schema validation, preventing the application from starting. These fields need Schema.optional with a default (or equivalent) to be decode-compatible with pre-existing events.

Additional Locations (1)
  • packages/contracts/src/orchestration.ts#L502-L504

Fix in Cursor Fix in Web

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
aorwall added a commit to aorwall/t3code that referenced this pull request Sep 5, 2026
@aorwall
chore: merge upstream t3code to 36c4e9c (pingdotgg#100)
712cd8a
Merges 137 upstream commits (`d937e3075..36c4e9c`) into the fork,
following the `fork-upstream-merge` skill. Landed as a merge commit;
conflicts resolved by the inventory's cached verdicts.

## Merge shape

816 files landed (`git diff --stat HEAD^1 HEAD`) against 811 in the
upstream range; fork delta 650 files. The gap of five is all in landed
and not the range: two fork-owned files touched during resolution
(`sandboxControl.placement.test.tsx` test-prop fixup,
`useSandboxCommandsBanner.tsx` reformat) plus the three fork docs this
merge writes (`inventory.json`, `gaps.md`, `upstream-merge-log.md`). No
upstream work was dropped.

## Conflicts

Resolved by inventory verdict — `AGENTS.md` (kept the fork's slimmed
shape, added Antigravity to the provider list), `contracts/rpc.ts` and
`environment.ts`, the ChatView/MessagesTimeline thread-fork +
message-origin convergence, the preview cluster (`addBrowserSurface`
`profileId` beside the fork's `url`, `rightPanelStore` `openAttachment`
beside `retargetFile`), the settings gates, and the two upstream pingdotgg#9364
test deletions.

Two latent fork bugs surfaced and were fixed: `PreviewView`'s hosted
annotation handler called an unexported helper, now routed through the
exported `capturePreviewAnnotationScreenshot` wrapper (matching the
sibling native handler); and `ChatView` passed a `configuredUrls` prop
the fork's hosted `PreviewPanel` does not accept.

## Unsupported methods

`unsupported-methods.mjs` reported ADD 10; recomputed to 0 by adding
`UnsupportedMethodError` to the shared `ProviderSetupRpcError` union
(nine `provider.auth.*` / `provider.install.*` methods) and to
`server.refreshUsageRates`. `gaps.md` grown with a _Provider setup_
bullet and a `refreshUsageRates` clause on _Usage summary_. The three
DROP entries (`scripts.run`, `subtasks.list`, `threads.getShell`) are
the documented keep-anyway exceptions — `apps/server` still refuses
them.

## Feature classification

**Usable as-is** (UI only, no backend dependency): mod+w tab close
(pingdotgg#9363), PageUp/PageDown chat nav (pingdotgg#9315), diff/PR file tree (pingdotgg#9330),
diff-header copy path (pingdotgg#2403), error-report copy (pingdotgg#9166), opt-in
context-window indicator (pingdotgg#9190), opt-in panel animations (pingdotgg#8830),
proactive panels (pingdotgg#9276), button press feedback (pingdotgg#9349), provider-editor
redesign chrome (pingdotgg#8508).

**Unsupported in Moatless** (resolve to a refusal): Antigravity provider
auth/install and all `provider.*` setup (pingdotgg#9348, pingdotgg#8508),
`server.refreshUsageRates`. Desktop-only and already capability- or
desktop-gated, so no new fork work: preview browser profiles (pingdotgg#7254),
open-links-in-app (pingdotgg#9339), ssh-host suggestions (pingdotgg#9171),
environment-as-machine (pingdotgg#9299), continue-threads-across-restart (pingdotgg#9167,
rides the new `serverUpdateThreadContinuation` capability).

**Backend behavior to reproduce** if Moatless wants it: project icons
(pingdotgg#9137, migration 047), auto-pull clean default branches (pingdotgg#9277,
migration 045), inline citations (pingdotgg#9146, needs the backend to emit
them), the usage page. Migration 046
(RepairAutomaticSettlementTimestamps) is upstream-server-only.

Net-zero: context compaction (pingdotgg#8808) landed and was reverted (pingdotgg#9284).

## Verification

`fmt:check`, `lint`, `typecheck`, `tripwires` and `inventory-check`
green. Full test suite green — one web test failed initially
(`addBrowserSurface.test.ts` did not expect the converged default
`profileId`), fixed and re-run.

Two `verify.mjs` checks exit non-zero and are the caveated machine
failures: `unsupported-methods` on the three documented DROP exceptions
above, and `duplicate-adds` on three confirmed false positives
(`openPreview` in a `ChatView` object literal vs its deps array; three
distinct `it()` blocks in `addBrowserSurface.test.ts`).

Written by Claude Opus 5 in Claude Code.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---
Moatless task:
https://moatless.soaplabstest.com/tasks/4e881239-73d1-4a93-9563-6a926e920b42
TomCohenDev pushed a commit to TomCohenDev/t3code that referenced this pull request Oct 18, 2026
@Yarden-zamir
Merge pull request pingdotgg#100 from Yarden-zamir/fork-sync/2026-10-…
089de89
…14-2

chore(sync): merge pingdotgg/t3code main
@orbitingflea orbitingflea mentioned this pull request Oct 31, 2026
fix(shared): usage view names hub accounts by their slug orbitingflea/t3code#33
Merged
gmackie pushed a commit to gmackie/t3code that referenced this pull request Nov 2, 2026
gmackie
Merge pull request 'feat: T3CODE-74 MCP-native plugins: MCP server + …
c9371a3
…MCP Apps panels' (pingdotgg#100) from T3CODE-74-mcp-native-plugins into custom-local
yasinuslu added a commit to yasinuslu/t3code that referenced this pull request Nov 2, 2026
@yasinuslu
Merge pull request 'merge: upstream/main (8657eec) into dev' (pingdot…
645d92c
…gg#100) from sync/upstream-2026-11-02 into dev

Reviewed-on: https://git.nepjua.org/yasinuslu/t3code/pulls/100
@dioskuroi dioskuroi mentioned this pull request Nov 17, 2026
perf(web): 流式渲染预算回归本地适配——MarkdownSource cache 计入块闭合判定 dioskuroi/t3code#2
Merged
dioskuroi pushed a commit to dioskuroi/t3code that referenced this pull request Nov 17, 2026
rebase-drill
test(web): renders 4 场景稳定失败修复——断言走 tr() 中文 + diff.toggle 键位平台感知(migra…
cf9375e
…tion pingdotgg#102)

真实根因(隔离复现 + DOM dump + 基线对照实验证实,推翻 pingdotgg#102 的 fakeEnvironment 404 归因):

- app-open-settings / app-switch-settings-section:断言英文字符串(Time format /
  Interface),运行时 UI 经 tr() 汉化(时间格式/界面),expect.element poll 永不匹配
  → 60s 超时。断言改走 tr(),随字典自动同步(ADR-0005「测试断言中文化」口径)。
- warm up / app-toggle-diff-panel:Ctrl+D 不匹配 macOS 的 mod+d(isMacPlatform →
  Cmd),面板永不打开;chord 按 isMacPlatform(navigator.platform) 平台感知。
- 404 归因证伪:shellSnapshotHttp / boundedThreadSnapshotHttp 均 catchCause 回退
  socket(fake 注释声明的设计意图),连接正常建立;修复方向 a)/b) 前提不成立。
- 「合并前全绿」证据不成立:基线 25bf84a 实测 app-toggle-diff-panel 同样
  60s 超时,两根因与上游合并无关。

验证:4 场景转绿(1-4s,原 60s 超时);renders 项目 14/14 全绿(含 pingdotgg#100 验收
app-stream-assistant-turn);vp lint 0 警告 0 错误。
Quinntyx added a commit to Quinntyx/t3code that referenced this pull request Nov 22, 2026
@Quinntyx
fix: report running turns' token usage live and settle it per result …
59d0731
…window (pingdotgg#100)

Claude and Pi turns now publish token usage while they run, including Claude's own subagents and Pi's subagent tool, and the usage panel re-reads it every 30 seconds while a thread runs. Claude turns settle each result window from one source per scope, with usage billed from frames carried until the process's ledger bills it.
Abdullah1738 added a commit to Abdullah1738/t3code that referenced this pull request Nov 24, 2026
@Abdullah1738
fix(imessage): merge polling and wake wait logging
4c95d32
Merge pinned main 9f1ace1 into
imessage/marker-cross-thread-reads at 63b8c88.
Merge base: 8c61334.

Preserve pingdotgg#83 marker/cross-thread polling, pingdotgg#50-equivalent records, tick
attribution, separate gate-admitted physical read counters and bounded
outage logs alongside main's bounded scans, loop-stall diagnostics and
wake delivery waits (pingdotgg#105/pingdotgg#108), Moni boundary (pingdotgg#73) and outage detail (pingdotgg#100).
Intent sources: both base-to-side diffs and full commit messages, including
34667c0, 77c3c89, 273e77d, 6802d61 and 8eb5542.

Conflict decision: one hunk in integrations/spectrum-bridge/src/toollog.ts:40,
classified disjoint-intent, with three independent subdecisions:
- ID_KEYS: retain HEAD's complete set, including tickId. It contains all
  main IDs, including outageId, so tick attribution and correlation coexist.
- WAKE_EVENTS: retain main's seven-event set, adding wake.waiting to all six
  existing events. Bounded wait diagnostics survive the already-merged wake
  metadata filter and cap exemptions.
- NUMBERS: retain HEAD's complete set. It contains every main numeric key
  plus markerPolls, crossThreadReads, crossThreadPages, markerSkips,
  fallbacks, trackedThreads, detailReads, evidenceReads, discoveryReads,
  markerChecks and crossThreadChecks. downMs, skippedCalls and failedProbes
  remain. Each resulting declaration is exactly the union of both sides.
No competing product answer or superseded behavior was selected.

Only this marked conflict region was manually edited. Every byte outside
it and all 31,695 other index entries match the halted merge, including
router.ts, main.ts, sb-main.ts and runtime log isolation. The repeated
allowlist conflict remains a hotspot already flagged by the parent.

Validation:
- bun test test/toollog.test.ts: 46 pass, 0 fail, 158 assertions.
- git diff --cached --check passed; no staged conflict markers remain.
- Pinned parents, reviewed index and tree reconfirmed immediately before commit.

Parent owns exact-merged-head Sol re-review and both unchanged packet
commands offbox. Predecessor receipts do not certify this merge.
No push, deploy, restart, install, offbox, broad suite or live DB access.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@coderabbitai coderabbitai[bot] coderabbitai[bot] left review comments
@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] left review comments
@cursor cursor[bot] cursor[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.