Repository navigation
Head the sidebar with an Overview row and a Projects | Agents strip with Search and New workspace - #219
Merged
Conversation
…rip carrying Search and New workspace The Search field row, the bottom new-workspace button and the All projects row inside the Projects list are gone: the Overview row sits above the strip on both tabs, Search is an icon at the strip's end and New workspace an icon before it on the Projects tab. Projects is the first tab and the default.
…strip with Search and New workspace Screen / Projects Sidebar, the shared sidebar on Main and Workspace, and the Palette sheet's sidebar cell now show the fixed Overview row and the strip's icons in place of the Search field and the bottom button; the every-project screen and its path back read Overview. UI_BEHAVIOR, DESIGN_WORKFLOW and ARCHITECTURE name the screen Overview and describe the new top.
…irst sidebar A new web e2e drives the Overview row, the strip's Search and New workspace icons and the Agents tab. Specs that read the Agents list now choose that tab, since the sidebar opens on Projects, and the Overview row's hook replaces the All projects row's.
yansfil
added a commit
that referenced
this pull request
Sep 28, 2026
Related: PRD `agents/prd/sidebar-context-menus/prd.md` ## Summary - 사이드바의 프로젝트·체크아웃·에이전트 행을 우클릭하면 보드에 그린 순서대로 메뉴가 열립니다. 호스트에 없는 항목은 빠지고, 행이 쓸 수 없는 항목은 이유와 함께 비활성으로 보입니다. - 프로젝트: Open Overview, New worktree…, New tab in main(단축키 표시), Reveal in Finder(데스크톱만), Copy path, Pin/Unpin, Remove project…. Herdr가 보여 주기만 하는 미등록 행에서도 Pin은 그 행을 등록하면서 고정하고, Remove는 그 행의 pane을 닫습니다(D-14). - 체크아웃: Open, New tab here, Open pull request, Set purpose…, Set as default checkout, Copy branch name, Copy path, Reveal in Finder, Delete worktree…. 원격 장치의 행은 Finder·기본 체크아웃·worktree 삭제가 비활성입니다. - 에이전트: Show(⌥n), Copy title, Copy session id, Close tab…. 이를 위해 스냅샷의 에이전트 행이 Herdr가 기록한 session id를 싣고, 데스크톱 preload에 `revealPath` 하나가 생깁니다. - `Screen / Projects Sidebar` 시트에 세 메뉴가 열린 프레임을 스크립트로 추가했고, UI_BEHAVIOR·ARCHITECTURE를 같이 고쳤습니다.    ## Review - **판단해 주세요**: 원격 체크아웃의 Delete worktree…가 이제 비활성입니다(B9/D-07). 이전에는 원격에서도 열 수 있었습니다. - **판단해 주세요**: "New tab in main"은 보드 문구 그대로라서 기본 체크아웃 이름이 main이 아니어도 같은 라벨입니다. 대상은 home 글리프가 붙은 체크아웃입니다. - **판단해 주세요**: 미등록 프로젝트의 Set as default checkout은 "Pin the project first to keep a default checkout."로 비활성입니다(core가 거부하는 경우라 PRD 밖의 판단). - **조심해서 볼 파일**: `herdr-core/src/runtime/projects.rs` - runtime mutex 안에서 미등록 행을 등록합니다. 등록 id는 행의 id를 그대로 쓰고(다음 catalog rebuild가 같은 id를 채택), 파일 I/O는 없습니다. helper가 아직 묶지 않은 장치 행과 제거 진행 중인 행은 진단 로그로 거부합니다. - **조심해서 볼 파일**: `herdr-core/src/model.rs` - snapshot wire에 에이전트 `session_id`가 추가됩니다(없으면 생략). 세션이 바뀔 때만 값이 바뀝니다. - **조심해서 볼 파일**: `desktop/src/main/host.ts`, `desktop/src/main/reveal.ts` - 새 IPC. `reportBindings`와 같은 sender 검사, 절대 경로·길이·NUL 검사, `shell.showItemInFolder`만 부르며 로그에 경로를 남기지 않습니다. - **조심해서 볼 파일**: `web/src/components/entry-menu.tsx` - 공용 메뉴 항목이 라벨과 단축키를 한 줄에 두도록 바뀌었고(`items-start` → `items-stretch`), 라벨·이유에 `data-menu-label`/`data-menu-reason`이 붙습니다. History·ViewAreas·Workspace 메뉴도 같은 컴포넌트를 씁니다. ## Evidence - **확인한 것**: 새 web e2e `sidebar-menus.spec.ts`(고립 Herdr + debug hided + fake claude): 세 메뉴의 항목·순서·구분선·단축키, 미등록 행 Pin → Pinned · 1과 Unpin, New tab in main → 기본 체크아웃에 탭 2개, Set as default → home 글리프와 첫 자리 이동, Copy session id/Copy title → 클립보드 값, 대기 중 에이전트의 Close tab… → 확인창 없이 그 탭만 닫힘. - **확인한 것**: #219 병합 뒤 web e2e 전체 77개를 로컬에서 돌려 76개 통과, 남은 `checkout-pr.spec.ts` 하나는 536b794에서 고친 뒤 단독 3회·병렬 4회 통과. 메뉴가 바뀌어 기존 spec 두 개(`checkout-pr`, `s7`)가 첫 CI에서 떨어졌던 것을 같은 PR에서 고쳤습니다(메뉴 항목에 `data-menu-label`/`data-menu-reason`). - **확인한 것**: herdr-core 테스트로 미등록 행 Pin이 한 이벤트로 등록·고정되고, Remove가 pane을 닫고 아무것도 등록하지 않으며, 에이전트 행이 session id를 싣는 것을 고정했습니다. `sasu implement verify` PASS(`verify-cargo.sh test`/`lint`, 536b794). - **확인한 것**: vitest web 438개(메뉴 규칙: 순서, 비활성 이유, 호스트별 항목, 원격 게이트, D-14) + desktop 43개(`revealablePath` 포함), web·desktop typecheck와 eslint, `check-design-contract.mjs` 통과. - **확인하지 못한 것**: 데스크톱 앱을 띄워 Reveal in Finder와 Show의 ⌥n 표시를 보지 않았습니다(단위 테스트와 typecheck만). 원격 장치 행은 단위 테스트만 있습니다. 작업 중 에이전트의 Close tab… 확인창 경로는 e2e 에이전트가 대기 상태라 닿지 않았습니다. - **확인하지 못한 것**: 이전 로컬 전체 cargo 실행에서 `hide-agent-hooks` deadline(부하 중 1.86s), `device_worktrees`(git 서명 키), `install::tests`(임시 settings.json) 세 테스트가 한 번씩 실패했고 각각 단독 3회 통과했습니다. 이 PR은 그 코드를 바꾸지 않으며 최종 verify에서는 모두 통과했습니다. - **생성물**: `design/hide-screens.pen`의 큰 diff는 `scripts/pen-screens.mjs` + `gen-screens.mjs`가 만든 것으로, Projects Sidebar 시트의 메뉴 프레임 3개와 Menus and Overlays 시트의 프로젝트 메뉴 갱신입니다. #219 병합 뒤 main의 파일에서 다시 생성했고, main과 다른 시트는 이 둘뿐입니다. **AI tooling**: 대부분 AI 도구. 메뉴 항목·순서를 PRD 보드와 e2e 캡처로, core 변경을 테스트와 두 리뷰로 대조했습니다. <details><summary>Verification record</summary> - PRD: `agents/prd/sidebar-context-menus/prd.md` (sha256 4310c5aa5d74f6efc5b8863cb1dd0ac4f2955b925b3c8b505181470ba6264bfd) - Base 72d3083 → head 536b794, verified 2026-09-28T00:02:47.928Z: PASS - Verification report: `agents/runs/sidebar-context-menus/verification-report.json` and `agents/runs/sidebar-context-menus/verification-report.md`; source fingerprint 3e1226c1e8a8a521a4d8c71c87c89b677f1027c27ee5af503a1a14d16a139a52 - Suites: - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0) - S2: GREEN `bash scripts/verify-cargo.sh lint` (exit 0) - Reviews: - Fidelity: 820f88d 전체 계약(B1-B11, D-01-D-14) Fix now 없음; a44ef6a, 1222fd0(#219 병합 해소 포함), 536b794 후속 리뷰 모두 Fix now 없음. Follow-up: ⌥n·Reveal in Finder·작업 중 에이전트 Close tab 확인창·원격 행은 실행 관찰 없음. - Code: 820f88d 전체 diff Fix now 없음; a44ef6a, 1222fd0(병합된 sidebar.tsx/actions.ts가 이 PR 쪽 변경만 담는지 확인), 536b794 후속 리뷰 모두 Fix now 없음. Follow-up: `folderMenu`의 `separated: false` 덮어쓰기 함정, entry-menu 공용 변경의 다른 메뉴 시각 확인. 폴더 행 항목 목록 중복은 a44ef6a에서 하나로 통합. - 자체 발견과 CI: e2e의 `Delete worktree… (disabled)` 단언이 worktree reader 타이밍에 기댄 것(a44ef6a에서 수정), a44ef6a CI web shell에서 기존 spec 두 개가 새 메뉴 DOM·항목에 맞지 않아 실패(1222fd0), Radix roving focus 타이머 때문에 화살표 이동이 짧아지던 spec 루프(536b794). hcoord plugin job은 알려진 hang으로 취소. - 증거: #219 병합 뒤 헤더가 바뀌어 메뉴 캡처를 병합된 head에서 다시 찍어 등록했고, Fidelity가 세 메뉴를 다시 확인(Fix now 없음). - Evidence: 18 registered (18 screenshot); paths are local to the run directory - agents/runs/sidebar-context-menus/artifacts/e2e/sidebar-menus-project-dark.png - agents/runs/sidebar-context-menus/artifacts/e2e/sidebar-menus-project-light.png - agents/runs/sidebar-context-menus/artifacts/e2e/sidebar-menus-checkout-dark.png - agents/runs/sidebar-context-menus/artifacts/e2e/sidebar-menus-checkout-light.png - agents/runs/sidebar-context-menus/artifacts/e2e/sidebar-menus-agent-dark.png - agents/runs/sidebar-context-menus/artifacts/e2e/sidebar-menus-agent-light.png - agents/runs/sidebar-context-menus/artifacts/e2e-wait-read/sidebar-menus-project-dark.png - agents/runs/sidebar-context-menus/artifacts/e2e-wait-read/sidebar-menus-project-light.png - agents/runs/sidebar-context-menus/artifacts/e2e-wait-read/sidebar-menus-checkout-dark.png - agents/runs/sidebar-context-menus/artifacts/e2e-wait-read/sidebar-menus-checkout-light.png - agents/runs/sidebar-context-menus/artifacts/e2e-wait-read/sidebar-menus-agent-dark.png - agents/runs/sidebar-context-menus/artifacts/e2e-wait-read/sidebar-menus-agent-light.png - agents/runs/sidebar-context-menus/artifacts/e2e-merged/sidebar-menus-project-dark.png - agents/runs/sidebar-context-menus/artifacts/e2e-merged/sidebar-menus-project-light.png - agents/runs/sidebar-context-menus/artifacts/e2e-merged/sidebar-menus-checkout-dark.png - agents/runs/sidebar-context-menus/artifacts/e2e-merged/sidebar-menus-checkout-light.png - agents/runs/sidebar-context-menus/artifacts/e2e-merged/sidebar-menus-agent-dark.png - agents/runs/sidebar-context-menus/artifacts/e2e-merged/sidebar-menus-agent-light.png - Changed paths: 46 (see Files changed) </details>
yansfil
added a commit
that referenced
this pull request
Sep 28, 2026
Brings in Agent tab groups (#217), the sidebar shell (#219), the sidebar row menus (#220) and the project row fold (#221) alongside the issue-first Overview. - The every-project screen keeps main's title, Overview (sidebar-shell D-02), on the issue-first board; its docs and Screen / Main follow. - actions.ts keeps main's row-menu and project-fold actions and the issue-linked createWorktree; WorkspaceDialogs keeps the issue dialogs and main's Remove project `listed` flag; keyboard.ts keeps the renamed recent entries and main's agentListOrder. - design/hide-screens.pen is rewritten from the merged scripts/pen-screens.mjs with scripts/gen-screens.mjs rather than merged by hand.
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:
agents/prd/sidebar-shell/prd.mdSummary
Overview, 프로젝트 수를 가진 행 하나가 목록 스크롤 밖에 고정되고, Overview 화면이 앞일 때만 선택 fill을 가집니다.Projects | Agents탭 스트립(Projects가 왼쪽이자 기본), 오른쪽 끝에 🔍(⌘K 검색 오버레이)와 그 앞에 +(새 워크스페이스, Projects 탭에서만).+ 새 워크스페이스버튼, Projects 목록 안의All projects행을 지웠습니다(search-field.tsx삭제).Overview / Project / Workspace)가Overview가 됐습니다. 코어, Herdr 계약, 단축키 레지스트리,workspaceManage.ts, 푸터는 그대로입니다.Screen / Projects Sidebar와 공유 사이드바(Main, Workspace), Palette 시트의 사이드바 칸을 새 구성으로 다시 그렸고, 라이브러리는 바꾸지 않았습니다.Review
12) 대신12 projects로 두었습니다. 무엇을 세는지 말하려는 선택입니다.web/src/ui.ts- 기본sidebarMode변경이 Agents 목록을 전제한 흐름(⌥ 숫자 키캡 등)에 닿는 자리. spec 7개(desktop 1개 포함)에 Agents 탭 클릭을 넣었습니다.web/src/sidebar.tsx- T6(행 우클릭 메뉴)가 같은 파일의 행 부분을 고칩니다. 이 PR은 헤더와AllProjectsRow삭제만 건드립니다.Evidence
sidebar-shell.spec.ts: Overview 행 클릭·Enter, 제목Overview, 선택 fill 켜짐/꺼짐, 행 오른쪽 끝이 목록 행과 같은 열, 🔍 hintSearch ⌘K와 팔레트, + 흐름, Agents 탭에서 + 없음, 목록에All projects없음.sidebarHeader.test.ts4개 포함),verify-web.sh(web + desktop typecheck/lint/unit/build),verify-cargo.shtest·lint.remote-workspace, SSH 서버 필요), 수정한digit-shortcuts.spec.ts포함. desktop e2e는 운영자 화면을 차지해서 로컬에서는 돌리지 않았습니다.check-design-contract.mjs통과,design-review.mjs reviewPASS(light/dark × 292/240px × reference/long, 들여쓰기·열·hover/focus 안정·겹침·가로 넘침 규칙 전부)./Applications/hide.app에는 올리지 않았습니다.design/hide-screens.pen의 큰 diff는scripts/pen-screens.mjs에서gen-screens.mjs로 만든 것입니다(Main, Project Overview, Workspace, Project Sessions, Palette, Projects Sidebar 시트). 두 번째 이미지가 그 결과입니다.추가 증거
web/vite.config.ts의 vitest include가*.test.ts뿐이라 기존newTab.test.tsx는 한 번도 돌지 않습니다(이 PR 이전부터). 새 헤더 테스트는.ts로 썼습니다.AI tooling: 대부분 AI 도구. 사람 확인이 필요한 시각 판단은 위 Review에 모았습니다.
Verification record
agents/prd/sidebar-shell/prd.md(sha256 8d4a7f47b6d4a14d0ff6e10fcfbe49505e9242532079640de54edd3bfeb669fb)agents/runs/sidebar-shell/verification-report.jsonandagents/runs/sidebar-shell/verification-report.md; source fingerprint 2f9493841fd8401eb62ccdafdba27be0b389398e4dacb5d1e787cd379ff0c8b8bash scripts/verify-cargo.sh test(exit 0)bash scripts/verify-cargo.sh lint(exit 0)screenSidebar옵션 정리.