Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
267 commits
Select commit Hold shift + click to select a range
f624f85
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jun 21, 2026
4c95466
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jun 25, 2026
67f4559
Port source control service fixes
Quicksaver Jun 25, 2026
b18f677
Port VCS panel runtime labels
Quicksaver Jun 25, 2026
3818a4e
Port source control metadata errors
Quicksaver Jun 25, 2026
9b7e1ac
Harden source control metadata updates
Quicksaver Jun 25, 2026
ae654dd
Port source control polling cleanup
Quicksaver Jun 25, 2026
98ec2e8
Restore source control periodic fetch
Quicksaver Jun 25, 2026
5b834f1
Render working tree source rows eagerly
Quicksaver Jun 25, 2026
ec19c79
Add source control error cause sanitizer
Quicksaver Jun 25, 2026
942122a
Fix standalone source control branch validation
Quicksaver Jun 25, 2026
dc29076
Remove VS Code source control gating
Quicksaver Jun 25, 2026
5f3a26b
Remove obsolete webview bridge and sidebar helpers
Quicksaver Jun 25, 2026
b704651
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jun 25, 2026
ea9bf9b
Document version control upstream merge
Quicksaver Jun 25, 2026
6c431c1
Merge upstream main into version control panel
Quicksaver Jun 26, 2026
429b799
fix(source-control): address panel review feedback
Quicksaver Jun 26, 2026
fa3dd00
Show dirty sibling worktrees in source control panel
Quicksaver Jun 26, 2026
35ae2c7
Refresh expanded diffs on explicit local status updates
Quicksaver Jun 26, 2026
819fb9a
Stabilize source control refresh diffs
Quicksaver Jun 26, 2026
f797413
fix(source-control): address branch detail review gaps
Quicksaver Jun 26, 2026
1fe01f5
Fix source control review follow-ups
Quicksaver Jun 26, 2026
b74eb18
Fix source control review edge cases
Quicksaver Jun 26, 2026
769ce3e
Fix sibling file preview tab state
Quicksaver Jun 26, 2026
be1525e
Fix source control worktree edge cases
Quicksaver Jun 26, 2026
4abafaf
Handle renamed file diffs in source control panel
Quicksaver Jun 26, 2026
997467f
Harden source control review follow-ups
Quicksaver Jun 27, 2026
d104016
Avoid untracked fallback for rename diffs
Quicksaver Jun 27, 2026
b53331f
Add provider-backed commit author avatars
Quicksaver Jun 27, 2026
28f7aea
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jun 27, 2026
212e625
Move source control routing out of ChatView
Quicksaver Jun 27, 2026
d3c1b79
Fix draft source-control metadata updates
Quicksaver Jun 27, 2026
5786c1c
Harden source control metadata routing
Quicksaver Jun 27, 2026
836a188
Ignore stale source control metadata errors
Quicksaver Jun 27, 2026
f28c6bd
Harden source control review follow-ups
Quicksaver Jun 27, 2026
1f3e006
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jun 27, 2026
59621bc
Update source control merge snapshot
Quicksaver Jun 27, 2026
93106c7
Fetch actionable branches on initial cwd change
Quicksaver Jun 29, 2026
8e6897f
Remount source control panel when thread context changes
Quicksaver Jun 29, 2026
e25707a
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jun 29, 2026
a22812f
Refactor source control surface gating
Quicksaver Jun 29, 2026
0e8ec28
Persist source control panel state across sessions
Quicksaver Jun 30, 2026
475d5fb
Document source control panel cache and refresh behavior
Quicksaver Jun 30, 2026
a6973ff
Keep right panel surface visible when VCS hides
Quicksaver Jun 30, 2026
fb12a32
Fix cached source control panel refresh
Quicksaver Jun 30, 2026
3319d5e
Key stash panel state by stable identity
Quicksaver Jun 30, 2026
a49db42
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 1, 2026
933c7bb
Consolidate right-panel add-surface actions
Quicksaver Jul 1, 2026
ef3cc00
Harden right panel add-surface actions
Quicksaver Jul 1, 2026
ff137ce
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 3, 2026
d3a15c4
Update source control merge snapshot
Quicksaver Jul 3, 2026
a619fa3
Remove version control branch pollution
Quicksaver Jul 3, 2026
7a26626
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 4, 2026
ca848a8
Update source control merge snapshot
Quicksaver Jul 4, 2026
0a85ac6
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 5, 2026
d6f86b1
Update source control merge snapshot
Quicksaver Jul 5, 2026
37aa959
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 10, 2026
7141001
Adapt source control panel to upstream metadata
Quicksaver Jul 10, 2026
2ce693c
Merge upstream Android support
Quicksaver Jul 13, 2026
41b4d6c
test(source-control): avoid remote update race
Quicksaver Jul 13, 2026
eba3649
Merge upstream main into version control panel
Quicksaver Jul 15, 2026
f4d025f
Fix self-hosted GitLab merge request lookup
Quicksaver Jul 15, 2026
1149bb4
Avoid duplicate GitLab repository URL prefixes
Quicksaver Jul 15, 2026
ae5117e
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 16, 2026
16053ae
Update source control merge snapshot
Quicksaver Jul 16, 2026
0828b6d
Remove residual version control branch pollution
Quicksaver Jul 16, 2026
e3d9ea7
Document version control panel branch context
Quicksaver Jul 17, 2026
b815652
Add native mobile Version Control screen
Quicksaver Jul 18, 2026
f3d149b
Prevent stale mobile Version Control state
Quicksaver Jul 18, 2026
e16e5b0
Fix mobile Version Control refresh and actions
Quicksaver Jul 18, 2026
fe59ac5
Fix mobile Version Control state recovery
Quicksaver Jul 18, 2026
343572b
Preserve mobile VCS errors and guard discard actions
Quicksaver Jul 18, 2026
d34eeaf
Read tracked and untracked stash file diffs
Quicksaver Jul 18, 2026
9427b05
Add native mobile version-control diff navigation
Quicksaver Jul 18, 2026
1e54877
Refresh version control panel documentation
Quicksaver Jul 19, 2026
d78a257
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 19, 2026
e2e4c8b
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 19, 2026
561f2ef
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 19, 2026
d3346dd
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 19, 2026
a108fe1
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 19, 2026
2d03756
Fix pnpm workspace dependency resolution
Quicksaver Jul 19, 2026
81a8b85
Optimize Version Control panel refreshes
Quicksaver Jul 20, 2026
32f8dc0
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 20, 2026
f875014
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 20, 2026
2aa5de0
Fix native Version Control state handling
Quicksaver Jul 20, 2026
fd76c5e
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 20, 2026
9a46f91
Fix Version Control review findings
Quicksaver Jul 20, 2026
b48cbf0
Fix version control action edge cases
Quicksaver Jul 20, 2026
c990bc9
Harden selected commit cleanup
Quicksaver Jul 20, 2026
73c923a
Use literal paths when unstaging
Quicksaver Jul 20, 2026
059c557
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 21, 2026
a3e773b
Fix literal paths and remote checkout collisions
Quicksaver Jul 21, 2026
96966b7
Fix slashful remote checkout branch names
Quicksaver Jul 21, 2026
8c09c5a
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 22, 2026
8245d1b
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 22, 2026
b42684a
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 23, 2026
b8a3122
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 23, 2026
14b4a69
Refresh inline diffs after worker syntax highlighting
Quicksaver Jul 23, 2026
135eb1a
Honor worktree ownership for branch actions
Quicksaver Jul 23, 2026
c145a0c
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 23, 2026
28577e9
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 23, 2026
e5fa8b7
test(web): cover grouped Source Control draft switching
Quicksaver Jul 23, 2026
1dde6ec
docs: document grouped Source Control draft isolation
Quicksaver Jul 23, 2026
f75c08d
Keep Source Control open across grouped project switches
Quicksaver Jul 23, 2026
4ab2ef1
Avoid redundant Source Control retargets
Quicksaver Jul 23, 2026
f0e1d97
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 23, 2026
9ec4db5
Fix Version Control refresh and detail states
Quicksaver Jul 23, 2026
97bd8ef
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 23, 2026
c8bf90a
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 23, 2026
e12200e
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 23, 2026
46e57db
Preserve queued refreshes and remote collapse state
Quicksaver Jul 23, 2026
8beca06
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 24, 2026
90a9036
Fix source control review regressions
Quicksaver Jul 24, 2026
394a0a6
Add rich hover tooltips to source control rows
Quicksaver Jul 24, 2026
a301104
Federate web source control across connected environments
Quicksaver Jul 24, 2026
7087e9c
Scope file tooltip anchors to their trigger
Quicksaver Jul 24, 2026
f6a0f5d
Scope source control tooltip state
Quicksaver Jul 24, 2026
c8a0c3f
Preserve row tooltips during nested tooltip opens
Quicksaver Jul 24, 2026
16a2196
Document federated source control tooltips
Quicksaver Jul 24, 2026
7086f24
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 24, 2026
2465e76
Refresh failed actions and route Azure avatar lookups
Quicksaver Jul 24, 2026
14aba43
Fix invalid native Version Control dates
Quicksaver Jul 24, 2026
348f6bd
Make secondary VCS environments lazy and collapsible
Quicksaver Jul 24, 2026
87910a1
Surface version control commit hook failures
Quicksaver Jul 24, 2026
6f757f7
Wait for Git before classifying commit hook failure
Quicksaver Jul 24, 2026
3d15541
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 24, 2026
bdc92c0
Remove inactive environment expand chevrons
Quicksaver Jul 24, 2026
194d574
Refactor source control panels into modular components and services
Quicksaver Jul 25, 2026
3719fb8
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 25, 2026
5efd9f4
Export source control action state type
Quicksaver Jul 26, 2026
af3b77c
Fix Version Control review edge cases
Quicksaver Jul 26, 2026
a14cc54
Fix late Version Control review races
Quicksaver Jul 26, 2026
861a4ff
Fix Version Control retry and cancellation handling
Quicksaver Jul 26, 2026
eff1fe9
Scope native snapshot requests to current cwd
Quicksaver Jul 26, 2026
81ad88f
Remove main-only pnpm global store pollution
Quicksaver Jul 26, 2026
30153d1
Add accessibility semantics to mobile version control
Quicksaver Jul 26, 2026
d0ff6ba
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 27, 2026
816dcd9
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 27, 2026
0f110a4
Remove trailing blank line from relay migration
Quicksaver Jul 27, 2026
7e1cbb3
Test Source Control across preview mini-player lifecycle
Quicksaver Jul 27, 2026
4d8c7a4
Document Source Control preview lifecycle invariant
Quicksaver Jul 27, 2026
8e8d009
Strengthen Source Control preview lifecycle coverage
Quicksaver Jul 27, 2026
304727c
Restore immutable relay migration bytes
Quicksaver Jul 27, 2026
5708271
Strengthen Source Control preview lifecycle coverage
Quicksaver Jul 27, 2026
0dde279
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 27, 2026
b665cd7
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Jul 27, 2026
52472ec
Merge commit '32843c2551bd5832d436ef46bff5ab1198cdc39c' into split/ve…
Quicksaver Jul 27, 2026
62720fd
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 28, 2026
d82fe8f
Propagate mobile branch checkout failures
Jul 28, 2026
068904e
Ignore interrupted mobile Git actions
Jul 28, 2026
31205d7
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 28, 2026
b9c4ea2
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 28, 2026
5cdc346
Merge commit '1b61ce1112d56358a4207322620c20ac3f3ce8a8' into split/ve…
Jul 29, 2026
fc30ab7
Merge commit '694f8d1c6eaaabafbf5c2861ae524174919ef625' into split/ve…
Jul 29, 2026
1c715cd
fix(vcs): invalidate refs after panel mutations
Jul 29, 2026
16fe9fa
docs(vcs): document shared ref invalidation
Jul 29, 2026
97373ff
Prevent redundant ref cache invalidation
Jul 29, 2026
5988da2
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 29, 2026
df0203a
Preserve Version Control request errors
Jul 29, 2026
6d69bf5
Reset Source Control state across contexts
Jul 29, 2026
4ed682c
Retry failed mobile remote fetches
Jul 29, 2026
34b934d
Share Source Control panel services
Jul 29, 2026
c81800f
Keep source control error messages structural
Jul 29, 2026
6318822
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 29, 2026
d13af75
Preserve conservative Git fetch default
Jul 29, 2026
f99dec2
Document background Git fetch policy
Jul 29, 2026
11dfd17
Preserve legacy Git fetch intervals
Jul 29, 2026
21bdf4a
Strengthen background activity compatibility tests
Jul 29, 2026
0e4296b
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 29, 2026
7dadb09
Harden untracked source control diffs
Jul 29, 2026
fa48bf9
Harden Source Control review patches
Jul 29, 2026
e301e74
Harden Source Control review patch shape
Jul 29, 2026
03517b2
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 29, 2026
b054cde
Fix copied file diff requests
Jul 29, 2026
0aad102
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 30, 2026
17a0083
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 30, 2026
3791b8d
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 30, 2026
244fb3a
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 30, 2026
c0c1633
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 30, 2026
68c1832
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 31, 2026
1a3fd10
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 31, 2026
8bd2c20
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 31, 2026
977d7a5
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 31, 2026
f7b499e
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 31, 2026
6a65033
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Jul 31, 2026
68e531a
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 2, 2026
ceba193
fix(web): index source control settings search
Aug 2, 2026
f24c68a
docs: record source control settings search
Aug 2, 2026
20ef893
Strengthen source control search navigation tests
Aug 2, 2026
4d5328f
Extend Git timeouts for network commands
Aug 3, 2026
228bd5a
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 3, 2026
05bacf2
Fix native Version Control refresh and checkout errors
Aug 4, 2026
5b8f67d
Handle unborn branches in remote status diagnostics
Aug 5, 2026
5624ede
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 6, 2026
dfcb5df
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 6, 2026
225bfdf
test(web): scope right panel assertions to source control
Aug 6, 2026
4b02fc3
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 7, 2026
8e941cf
Preserve Version Control during panel migration
Aug 7, 2026
389b9de
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 7, 2026
ce77896
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 7, 2026
2c37736
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 8, 2026
3a71566
docs(mobile): update sidebar source reference
Aug 8, 2026
8d4e13c
docs(vcs): align sidebar tooltip references
Aug 8, 2026
b90bd26
Clarify sidebar reconciliation documentation
Aug 8, 2026
74f57c5
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 8, 2026
ff0f8bc
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 8, 2026
ba23661
Separate Version Control fetch cadence from upstream refresh
Aug 8, 2026
514d87f
Fix Version Control review races and context routing
Aug 8, 2026
2a83003
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 9, 2026
6279406
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 9, 2026
a363451
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 9, 2026
5886628
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 9, 2026
c5f62fa
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 10, 2026
dbcd372
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 10, 2026
d1e7ab1
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Aug 10, 2026
a404c94
fix(web): use themed source control confirmations
Aug 10, 2026
c90aeae
docs: record themed source control confirmations
Aug 10, 2026
d0dd4f9
Fix Version Control sync and availability
Aug 10, 2026
87750a9
Prevent duplicate mobile VCS mutations
Aug 10, 2026
697c918
fix(vcs): align panel actions and restore managed hooks
Quicksaver Aug 15, 2026
0b3fc7a
chore: merge upstream main into version control panel
Quicksaver Aug 16, 2026
1867507
fix(web): preserve source control errors on dismissal
Quicksaver Aug 16, 2026
ecb1361
docs(version-control): update merged panel behavior
Quicksaver Aug 16, 2026
17312ed
fix(web): preserve same-message thread errors
Quicksaver Aug 16, 2026
225fc91
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Aug 17, 2026
0cbd89e
fix(source-control): share provider rate-limit cooldowns
Quicksaver Aug 17, 2026
a7cdc6a
fix(source-control): normalize shared cooldown hosts
Quicksaver Aug 17, 2026
646a90a
fix(source-control): preserve rate-limit metadata
Quicksaver Aug 17, 2026
4df898a
Stack environment labels and paths in source control headers
Quicksaver Aug 17, 2026
23b1a5e
fix(source-control): use themed destructive confirms
Quicksaver Aug 17, 2026
8a5ccb3
fix(vcs): harden panel review edge cases
Quicksaver Aug 17, 2026
92a8ab4
fix(vcs): preserve queued metadata guards
Quicksaver Aug 17, 2026
e860d48
fix(vcs): retain pending branch observations
Quicksaver Aug 17, 2026
1e02395
fix(vcs): trust subscription branch observations
Quicksaver Aug 18, 2026
882a3b8
fix(vcs): reject lagging branch observations
Quicksaver Aug 18, 2026
082f784
fix(vcs): retain chained branch transitions
Quicksaver Aug 18, 2026
0c13c1f
fix(vcs): snapshot chained metadata guards
Quicksaver Aug 18, 2026
dfb71c0
fix(vcs): apply snapshotted metadata guards
Quicksaver Aug 18, 2026
73e0459
fix(vcs): prioritize metadata target acknowledgements
Quicksaver Aug 18, 2026
134f59d
fix(vcs): require fresh metadata target acknowledgements
Quicksaver Aug 18, 2026
1858899
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Aug 18, 2026
8996ad8
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Aug 18, 2026
c2da73b
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Aug 19, 2026
d8130fa
refactor(web): unify panel and PR state policy
Quicksaver Aug 19, 2026
98a2d86
docs(source-control): document shared panel policies
Quicksaver Aug 19, 2026
2194182
Merge remote-tracking branch 'upstream/main' into split/version-contr…
Quicksaver Aug 19, 2026
dfaa114
refactor(source-control): align shared behavior with upstream
Quicksaver Aug 20, 2026
c275c8b
fix(mobile): follow app theme in version control diffs
Quicksaver Aug 20, 2026
6ef2c47
fix(web): isolate unpublished branch expansion state
Quicksaver Aug 20, 2026
7e7fe33
fix(web): serialize stash mutations
Quicksaver Aug 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions BRANCH_DETAILS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Version Control Panel Work

The first-class Version Control panel includes a singleton right-panel surface, live VCS status watcher, Actionable and Remotes panel model, selected-file commit/stash flow, branch/commit/stash/remote actions, compare-base semantics, and Version Control panel RPC/contracts. On web, a logical project shared across environments renders one complete panel instance for each connected environment, with the active environment first and remote instances using the existing server-icon and environment-label treatment. Snapshots, status subscriptions, fetches, diffs, editor launches, and Git mutations stay routed through each instance's environment and cwd. Disconnected environments are omitted, failures remain isolated to their per-panel retry state, and only the active instance may update active-thread source-control metadata or open its standalone File surface. The shared `apps/web/src/rightPanelStore.ts`, `RightPanelTabs.tsx`, and `ChatView.sourceControl.ts` integration keeps singleton Source Control and multi-tab pull-request surfaces as peers: Source Control availability filtering removes only that surface, preserves pull-request tabs, and falls back to the first remaining visible surface when an unavailable Source Control tab was active. `apps/web/src/components/rightPanelSurfaceActions.ts` is the canonical add-surface descriptor for availability, activation, shortcut, empty-state and menu order, instance policy, disabled presentation, and badges; `RightPanelTabs.tsx` consumes its actions for both launchers and keyboard activation. Version Control uses shortcut `V`, appears first in the empty-panel launcher, and remains last in the compact add-surface menu. Browser session/runtime-tab resolution, audio state, and mute-menu behavior remain isolated in `apps/web/src/components/rightPanelBrowserTabState.ts`, so background preview mini-player lifecycle changes and right-panel browser-surface reconciliation must leave the Source Control surface open, visible, active, and present exactly once.

Web source-control rows use the rich-tooltip presentation and timing shared with the default web sidebar in `apps/web/src/components/Sidebar.tsx`, including its `TooltipCardPopup` treatment. The opt-in legacy sidebar remains isolated in `apps/web/src/components/LegacySidebar.tsx` and does not define this convention. Working tree, file, branch, commit, stash, and remote cards expose their full paths or refs and relevant status, timestamp, identity, URL, and line-change details without covering the row. Clickable tree and file rows use the pointer cursor alongside their keyboard button semantics. Federated environment headers expose their complete cwd through the shared styled tooltip primitive rather than the browser-native `title` attribute. File cards use trigger-scoped virtual anchors while retaining a common panel-aligned left edge. Nested action buttons keep their terse label tooltips and preserve the parent rich card only for the nested trigger in that same row, so unrelated tooltips elsewhere are unaffected.

VCS status ignores internal `.git/` watcher events before refreshing local status. Background activity keeps lightweight current-upstream status refreshes separate from the Version Control panel's broader fetch-all-remotes work. The normal Git interval retains the shared `performance`, `balanced`, and `battery-saver` values of 15 seconds, 30 seconds, and disabled, while the panel-specific all-remotes interval uses one minute, five minutes, and disabled respectively. Automatic panel fetches run only while a panel retains Git-ref demand and the owning environment's shared lock, low-power, battery, visibility, and activity policy allows the work. Opening the web panel and focusing the mobile route refresh their local snapshots immediately. On subsequent web focus, an enabled panel interval first makes the interval-aware, policy-gated fetch request and then refreshes the local snapshot once; a zero interval skips the network request and refreshes locally immediately. Explicit Fetch always remains available. The previous omitted custom default migrates through the new balanced default, with its conservative cadence preserved by the panel-specific value; an explicitly persisted five-minute upstream-status override remains an override instead of being reclassified by value. Settings search indexes the individual Source Control controls: stable writing controls anchor to their rows, while discovery-dependent Git intervals and provider-avatar controls route to the panel's stable Source Control section.

Provider-backed change-request and commit-avatar lookups remain best-effort in the panel service. Provider/auth/CLI failures must not fail the whole panel snapshot or hide git-derived actionable branch rows. These background reads share the provider-and-host cooldown used by pull-request services: the first classified rate-limit response records the provider reset time or fallback backoff, and later panel reads skip the provider until that pause expires while retaining Git-derived content and avatar fallbacks. Provider adapters retain their provider-specific raw-state normalization, while resolved Git pull requests and panel `VcsStatusChangeRequest` schemas in `packages/contracts/src/git.ts` share the canonical `ChangeRequestState` from `packages/contracts/src/sourceControl.ts`. Terminal `closed`/`merged` checks are centralized in `packages/shared/src/sourceControl.ts` and consumed by sidebar and thread-settlement paths without changing the opt-out for automatic settlement on merge.

Version Control and source-control provider failures should preserve structured causes when normalized for panel RPC errors. GitLab, GitHub, Azure DevOps, and Bitbucket provider paths should keep provider-specific not-found/auth/missing-CLI details without collapsing structured process failures into generic strings. Web mutations reconcile VCS status and an authoritative panel snapshot after both success and failure before preserving a mutation error, so conflict-producing or partially applied operations remain visible. Web Source Control mutation confirmations use the shared themed `LocalApi` dialog with the destructive variant and never fall back to a native `window.confirm`; commit branch-name entry likewise uses a themed `Dialog` and `Input` instead of native `window.prompt`. Azure DevOps commit-avatar lookups route through the organization encoded by the repository remote and use the stable Commits Get API version.

Panel mutations that can change refs invalidate both shared ref-cache layers in finalizers: `apps/server/src/sourceControl/SourceControlPanelActions.ts` and `SourceControlPanelService.ts` call the non-failing `GitVcsDriver.invalidateRefs` boundary for the shared server `listRefs` snapshot, while matching commands in `packages/client-runtime/src/state/vcs.ts` invalidate shared client ref state through `onSettled`. This applies after successful, failed, interrupted, or partially applied commit, branch, fetch, and remote mutations. Working-tree staging/unstaging/discard, stash operations, diffs, comparisons, and other read/display-only operations remain excluded. Cache invalidation supplements the existing authoritative panel/status reconciliation and never replaces or masks the original mutation result.

Thread source-control metadata update failures should surface on the thread without overwriting unrelated thread errors, and successful source-control updates should clear only the source-control metadata error for that thread. `apps/web/src/components/ChatView.sourceControl.ts` resolves the visible banner with local thread errors ahead of source-control metadata errors and persisted provider-session errors behind them. Dismissing a banner clears only its owning local or source-control error; persisted session errors are masked for the current UI session, so a lower-priority error remains available after the dismissed banner is gone. Metadata updates are serialized per thread with monotonic hook-lifetime sequencing. The subscription effect owns authoritative branch observations; enqueue inputs initialize a missing guard but never rewind an existing one. Each request snapshots the predecessor set when it starts; successful writes use and union that snapshot into the full set of unacknowledged predecessor branches, even if an in-flight acknowledgement temporarily cleared the live transition, ignore lagging observations of any predecessor until the newest target is observed, and then accept legitimate later returns to those branches. A non-stale observed write target takes precedence when that target is itself a snapshotted predecessor, so a rapid return clears the transition without requiring a duplicate acknowledgement; an observation already classified as a lagging predecessor cannot acknowledge that target early. Observations are skipped while the server-thread record is temporarily absent. Each request also snapshots the observation sequence so success, failure, interruption, and queued writes leave the next request guarded by the newest authoritative branch. Loading thread shells supply their recorded active branch as the initial guard. This prevents overlapping checkouts, a post-drain update racing subscription propagation, or a still-loading full thread from leaving server metadata behind the repository state. Grouped-project navigation retargets an open singleton Source Control surface to the active draft/thread environment and effective repository cwd, while metadata errors remain scoped to the originating environment/thread key and are pruned when that context is no longer retained.

Required edge cases: the current default branch remains a valid default compare ref and retains that stable base in its own branch details, status-derived default branch names such as `develop` are preferred over hardcoded `main`/`master` guesses, compare-history pagination queries the selected comparison range, branch pull/fetch parsing handles slashful remotes and remote-looking local branch names without treating slashless local upstreams as remote refs, fetch-before-sync refreshes the authoritative snapshot before choosing the same action's push/pull/diverged result and does not fetch an unchanged branch twice, non-Git projects disable the Source Control action and hide any retained surface after VCS status resolves, diverged normal merge sync is available only for the current branch, checked-out branch worktree paths fall back from porcelain worktree output to branch-format placeholders without failing on older Git versions, sibling worktree watcher refreshes keep root Actionable rows live while skipping stale/prunable worktree paths, working-tree refreshes that race an authoritative full snapshot cannot retain pre-mutation branch/remote/stash data, failed full snapshots release the in-flight full-refresh barrier so later working-tree refreshes can remain incremental, queued web refreshes still drain when the active refresh fails or is interrupted, duplicate web and mobile actions with the same key are synchronously suppressed while the first mutation remains in flight, web stash apply/pop/drop actions share one repository mutation key so positional refs cannot race a renumbering operation, branch sync and undo operations for checked-out branches target the owning worktree cwd, checkout and deletion remain rejected by both the client and server for branches already checked out in any worktree, cwd-scoped working-tree enrichment avoids cross-worktree file-detail reuse, a fallback File surface uses its own cwd and reveal metadata, stale background-stop failures cannot clear a newer thread's pending stop, selected-file commits omit pathspecs after staging, commit-hook output only enriches a failed Git result and never interrupts a still-running commit, merge refs are passed after `--`, tracked discard restore failures surface instead of being swallowed, fallback rename parsing preserves original paths, Review patches disable user-configured diff rendering, merged staged-plus-unstaged row stats are summed, collapsed mobile remotes hide their branch rows, mobile conflict-only rows open the working-tree diff side, sibling mobile working trees are not marked expansion-initialized until they become current, failed mobile branch/stash details replace loading placeholders with errors, invalid mobile branch and stash dates are omitted instead of appearing as recent activity, and late-month relative dates do not fall through to `0 years ago`.

`SOURCE_CONTROL.md` contains the detailed implementation requirements.

Primary reference:

- `SOURCE_CONTROL.md`

## Development Ports

- Web: `5742`
- Server/WebSocket: `13782`
Loading
Loading