Repository navigation
Walk recently visited Agent panes across projects with Ctrl+Tab in the Agent area - #306
Merged
Merged
Conversation
…e Agent area In the Agent area, Ctrl+Tab and Ctrl+Shift+Tab (Option+Backquote in a browser) now walk every terminal pane the keyboard has been in this session, one row per pane, across devices, projects and checkouts. Releasing commits the pane the way the Agents list does: one focus_pane that brings its device, project, tab and pane forward. A View area keeps cycling only its own tabs. The shell keeps a second session-local order of pane visits beside the surface order, gated while a commit is landing so passing frames are not visits, and pruned to the panes that exist. Closes #301
…delegated canvas A keyboard owner left on a pane whose tab no Agent area draws is stale, so it no longer starts the cycle or records a visit; the tab bar reads the focused pane the way the store does. The delegated-canvas test now draws a child tab as a canvas instead of reusing a normal area tab.
A pane that runs no agent is no longer a row; its visits stay recorded for when an agent starts there. From such a pane the first chord lands on the most recent agent pane. The pane-title helper goes back to the pane view, since rows are always named by their agent now.
… held The held cycle's minimum row count now reads the rows that survived, so an origin whose agent ended no longer takes a still-valid target with it. s2 also checks that the second tab's shell pane is not a row.
# Conflicts: # docs/ARCHITECTURE.md # web/src/search.test.ts
This was referenced Oct 3, 2026
yansfil
added a commit
that referenced
this pull request
Oct 3, 2026
Related: #349, `agents/prd/overview-modal/prd.md` (이어지는 작업: #350, 관련: #306, #347, `agents/prd/three-column-panel/prd.md`) ## Summary 이슈 #349를 구현하기 전에 운영자가 승인할 PRD만 추가합니다. 코드는 바꾸지 않습니다. Overview를 프로젝트 소속이 아닌 하나의 화면으로 만들어, Workspace 위에서는 모달, 중앙에 Workspace가 없으면 페이지로 보이고 범위는 All projects와 현재 프로젝트를 전환합니다. 진입점은 사이드바 맨 위 `Overview` 행(내 차례 수와 `⌘⇧O`), 툴바의 글자 없는 아이콘(내 차례가 있으면 점), `⌘⇧O`입니다. `⌘⇧P`/`⌘⇧A`는 사이드바 Projects/Agents 탭의 직접 키이고, Overview에서도 `⌃Tab`이 가장 최근 에이전트 pane으로 갑니다. Decisions 25개, Behaviors 35개입니다. 화면은 아직 바뀌지 않아 이미지는 없습니다. ## Review - **판단해 주세요 (툴바 순서)**: 점과 열린 View 개수 뱃지가 붙지 않도록 Overview 아이콘을 Open server 앞에 둡니다. 시안은 globe 다음이었고 개수 뱃지를 뺀 그림이었습니다(D-07, B5). - **판단해 주세요 (Home 행)**: Home 행은 지금처럼 Overview 페이지를 엽니다. 시안의 "Home is only the Home workspace"는 #350이나 보드 승인 때 다시 봅니다(D-17). - **판단해 주세요 (범위 내용)**: All projects는 오늘 Home Overview, 현재 프로젝트는 오늘 프로젝트 Overview를 그대로 담습니다. 기기 횡단은 하지 않습니다(D-12). - **판단해 주세요 (내 차례 수)**: 앞에 있는 기기의 Needs You 수로, 사이드바 `Needs You · N`과 같습니다. 0이면 수도 점도 없습니다(D-14). - **판단해 주세요 (사이드바 탭 키)**: `⌘⇧P`/`⌘⇧A`는 숨은 사이드바를 보이고 키보드를 그 목록으로 옮깁니다. `Toggle sidebar view`는 없앱니다(D-18). - **판단해 주세요 (⌘⇧H)**: Project home은 기본 chord 없이 ⌘K, View 메뉴, 툴바 메뉴로 남습니다(#350까지, B22). - **조심해서 볼 파일**: `agents/prd/overview-modal/prd.md` Technical structure - 웹 셸 페이지 상태만 바뀌고 core, wire, Herdr 계약은 그대로라는 경계. - **질문**: 구현 전에 `home-final.html` 보드를 `design/hide-screens.pen`으로 옮겨 승인받아야 합니다. 시안에 없는 상태(수 0, 라이트, 좁은 창, 선택된 탭)를 어느 세션에서 그릴까요? 이 machine에는 `pen`이 없습니다(D-21). ## Evidence - **확인한 것**: `sasu gate gap-audit` PASS(1차 BLOCK 2건: Home 행 동작, 팔레트 중 ⌘⇧O를 고친 뒤), `sasu gate spec` PASS, 둘 다 sealed입니다. - **확인한 것**: `sasu prd readiness`가 blocking gap 0개로 통과했습니다(behaviorCount 35, decisionCount 25). - **확인한 것**: `shortcuts.ts`, `menu.ts`, `areaCycle.ts`, `keyboard.ts`, `ui.ts`, `App.tsx`, `MainScreen.tsx`, `ProjectOverview.tsx`, `sidebar.tsx`, `WorkspaceScreen.tsx`와 `UI_BEHAVIOR.md`, `ARCHITECTURE.md`, `BROWSER_DISPLAYS.md`, `status-model.md`를 읽고 사실 진술을 맞췄습니다. - **확인한 것**: `⌘⇧O`, `⌘⇧P`, `⌘⇧A`는 REGISTRY, `CHROME_RESERVED`, `MACOS_RESERVED`, Electron 메뉴 accelerator에 없습니다. - **확인한 것**: `check-no-workstation-identity.sh`, `check-no-attribution.py`가 통과했습니다. - **확인하지 못한 것**: macOS 시스템 단축키, 다른 앱, Chrome(⌘⇧A 탭 검색)과의 충돌은 확인하지 않았습니다. - **확인하지 못한 것**: 운영자가 이 실행에서 새 질문에 답할 수 없어 qa-log는 이슈 #349, #350, 시안, handoff에서 썼고, 위임 범위의 가정은 PRD에 가정으로 표시했습니다. - **확인하지 못한 것**: 원칙 저장소에 ROOT.md가 없어 `sasu principles list`가 실패했습니다. engineering 원칙은 직접 읽었습니다(D-25). - **확인하지 못한 것**: three-column-panel 구현이 아직 main에 없어 그 툴바와의 실제 배치는 보지 못했습니다. 코드 변경이 없어 web, desktop, cargo lane은 실행하지 않았습니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Related: Closes #301 (follows #284)
Summary
Agent 영역에 키보드가 있을 때 Ctrl+Tab과 Ctrl+Shift+Tab(브라우저에서는 ⌥
)이 이번 세션에 키보드가 들어갔던 agent pane을 최근 순으로 돕니다. 범위는 모든 기기, 프로젝트, checkout입니다. 한 줄은 pane 하나라서, 한 탭에 agent가 둘이면 두 줄로 나옵니다. agent가 없는 셸 pane은 목록에 나오지 않고, 셸 pane에서 누르면 가장 최근 agent pane으로 갑니다(운영자 결정). 놓으면 Agents 목록에서 고를 때와 같은focus_pane` 이벤트 하나로 그 pane의 기기, 프로젝트, 탭, pane이 앞에 오고 키보드가 그 pane으로 갑니다.View 영역의 Ctrl+Tab은 #284 그대로 그 영역의 탭만 돕니다.
Review
web/src/App.tsx- high-frequency path. 스냅샷마다 도는 관찰 조건에focused섹션 변경을 더했습니다.share()가 바뀌지 않은 섹션의 참조를 유지하므로 프레임마다 돌지는 않습니다.web/src/areaCycle.tsagentOrigin- 출발 pane은 Agent 영역이 그리는 탭(일반 탭 또는 delegated canvas)에서만 받습니다. 원격 기기가 앞에 있을 때의 경로는 코드로만 추적했습니다.web/src/keyboard.tscommitCycle- 출발점 판정을 다시 썼습니다. View, Recent Panels, Recent Projects의 판정은 이전과 같습니다.Evidence
recent.spec.ts에서 beta의 Codex pane에서 fixture로 옮긴 뒤 ⌥를 눌렀습니다. 목록 첫 줄은 현재 pane이고, 선택된 줄은 beta의 Codex(beta · Terminal, codex agent)였습니다. 놓으면focus_pane`이 한 번 나가고 beta 탭이 앞에 왔습니다. 위 이미지가 그때의 캡처입니다.keys.spec.ts에서 agent를 띄운 세 탭 사이로 ⌃Tab 두 번, ⌃⇧Tab 왕복이 pane 단위로 움직이고, 놓을 때마다focus_pane이 정확히 한 번 나갔습니다. 웹s2.spec.ts에서는 셸 탭에서 ⌥`를 누르면 첫 탭의 agent pane이 첫 후보로 나오고, 방문한 셸 pane은 행으로 나오지 않습니다.web/src/areaCycle.test.ts)가 기기·checkout을 가로지르는 순서, 셸 pane 제외와 셸에서 시작할 때의 첫 후보, 원격 pane의 기기 칩과remote_control확정, 확정 중 지나가는 프레임을 방문으로 치지 않는 것, 닫힌 pane과 끝난 agent의 제거(누르고 있는 동안 출발 pane의 agent가 끝나도 남은 후보 유지), 그려지지 않은 탭의 pane 거부, delegated canvas를 확인합니다.scripts/verify-web.sh통과(웹 단위 785개, 데스크톱 81개, hcoord, typecheck, lint, build). 같은 head에서 웹 e2erecent,s2,palette와 데스크톱keys.spec전체를 다시 돌려 통과했습니다. 별도 리뷰(코드, 요구사항 충실도, 수정분 두 번)의 Fix now를 모두 반영했습니다.browser.spec.ts의area cycle native. 실제 HID 입력과 창 포커스가 필요해 로컬에서 돌리지 않았고 CI의 macOS runner에 맡깁니다. 이 경로는 View 전용이며 이번 변경이 건드리지 않았습니다./Applications/hide.app은 교체하지 않았습니다.