You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tracking #1384: L2 chat-diff as default approval path #1389
PREVENT_FOCUS_DISRUPTION experiment default flipped false → true in src/shared/experiments.ts: approval happens in chat, writes are saved directly, no diff-editor open/refocus. Toggle kept as escape hatch; storage key unchanged, so saved values are preserved.
All five write tools + ApplyDiff already route through experiments.isEnabled(state?.experiments ?? {}, ...) — the flip applies automatically, no production call-site changes.
Tests: default assertions flipped; new default-path behavioral test (no stored value → saveDirectly, no open/saveChanges; stored false → legacy diff-editor path); tool-spec base mocks pin the legacy path explicitly; the openFile=false case now also asserts the in-memory-only document load (focus not stolen).
Acceptance
Default approval no longer opens/refocuses the diff editor
Activity