Repository navigation
사이드바 가독성: 오른쪽 조작, 흔들리지 않는 행, Projects 계보 접기 - #180
Merged
Merged
Conversation
Agents and Projects draw agents with one sidebar row: the status and provider marks, the title, chips, the descendant badge, a persistent elapsed time and, only on a parent, a lineage chevron on the right. A request or news takes one line from the start, a quiet sentence is read in the tooltip, and hover, focus, selection or an open menu never add a line. Agents roots name their project and checkout on a fixed context line. Project and checkout rows move their folds to the right, keep the last-commit age beside the menu, and reserve both control slots so the title and time never move. A folded control is always shown, an unfolded one on hover, keyboard focus, an open menu or an input with no hover. An opened checkout shares a small group fill with its agents. Projects agent rows fold their lineage with the core's own expansion state and carry the descendant badge and child list, as Agents does. Before the first snapshot both lists say they are connecting, and an empty local project list offers Add project. The Overview keeps its own agent row; only the badge moved into a component both rows draw.
The Projects and sidebar status flows now measure a row's height, the next row's top and the name and time columns at rest, under the pointer, with keyboard focus, with its menu open and selected, and require them unchanged. They check the unfolded controls wait for the pointer in slots kept at rest, a long Korean and English title is cut on one line, and at 240 px and the sidebar's minimum nothing overflows. A Projects parent folds its children with the core lineage state: one agent_tree_toggle, shared with Agents and kept across a reload, and no focus, open, read, start or close event from any fold. A Projects root no longer repeats its own checkout's branch chip, and a long chip no longer takes the title's width.
…ibrary Component / Project Row and Component / Checkout row keep their master ids and move the fold and the menu into fixed slots on the right; the Checkout row keeps its last-commit age beside the menu. Their sheets draw the rest, pointer, keyboard focus, menu open and selected states, a narrow long name, and an opened checkout sharing one group fill with its agent rows. Component / Sidebar agent row is the row Agents and Projects draw: a working, done, question, read question, error, waiting and unfolded parent, a child in another checkout, unknown activity, the Agents context line with and without a request, a device row and a 240 px long title, each a ref of the one master. Its chips are drawn in the master so a screen can restate them per theme. The Inactive fold row puts its chevron in the rows' fold slot. Screen / Projects Sidebar and the Agents list beside Main and Workspace are regenerated from these masters, with a parent folded and unfolded in Projects; the line-two inset token follows the new columns.
UI_BEHAVIOR.md now says the sidebar reads on the left and acts on the right, that a folded control is always shown and an unfolded one waits for the pointer, keyboard focus, an open menu or an input with no hover, that the checkout age stays beside the menu, that an opened checkout shares a group fill, that a Projects parent folds its children with the lineage state Agents uses, and that folding changes nothing but the list. The sidebar agent row draws a request or news on one line from the start, never a quiet sentence, adds the Agents context line, and never grows on hover, focus or selection; the Overview keeps its own row. status-model.md records the shared lineage fold and the web disclosure placement beside the Swift one.
The core filled a missing or malformed elapsed token with 0s, which the sidebar then drew as a measured time. A missing value now projects as empty and the sidebar row draws no time for it; a reported value is unchanged. The row reveal rule follows focus anywhere inside the row, as the approved design states, for project, checkout and agent rows alike, and a branch or device chip takes at most two fifths of the first line so a long chip cannot starve the title. The e2e fixtures report real elapsed tokens and assert an agent without one draws no time.
The Hint around the menu trigger overwrites the trigger's data-state with the tooltip's, so the row never saw its menu as open. The open dropdown now marks its trigger with data-menu-open. The Projects test covers that, a lineage fold sending nothing but its toggle, looking at a row sending nothing, both widths with every level open, the largest interface font, input with no hover and the connecting state. The row tooltip keeps its parts on separate lines, the local empty state says it is about this machine, and the Swift rows draw nothing for an elapsed time nobody measured.
At the largest interface font a folder or checkout row's second line ran into the next row, and a branch chip's text was cut, because their heights were fixed. They are minimums now: identical at the default font, taller when the text needs it, and they hold still under hover. The fit check now measures every piece of text against each box around it and against every other piece, so a spill fails it.
A minimum height made an outline badge 17px instead of 16 at the default font, because its border plus its line box exceed the token, so the device chip and the Overview's issue chips would have grown. The Badge is back to its fixed height; at the largest font its glyphs still fit and only its line box is clipped. The fit check treats a box that clips its overflow as the visible edge of the text inside it.
Its row now has a minimum height rather than a fixed one, and a percentage height against a minimum is not definite by the CSS rules, so the button stretches instead; the test checks that the click target and focus ring fill the row at the default and the largest font. The fit check measures icons too, so a checkout line two drawn only in marks is covered.
…font A checkout's line two can be marks alone, a status mark and a provider image, so the fit check measures those too and names what it found. At the largest interface font the test also focuses a Projects row, and hovers and focuses an Agents row, and neither moves.
The desktop e2e project typechecks these helpers against the DOM library without its iterable part, so spreading a NodeList failed its typecheck.
The Project row, Checkout row and Inactive Fold Row masters lose the overflow slot, and a Row end frame holds the time and the fold a step apart; the Sidebar agent row keeps its fold slot on every row, with the chevron shown only on a folded parent. The Checkout row's right padding matches the code's, so its age and its agents' times share one column. The Projects Sidebar screen cuts the two texts that now run long.
Project, checkout, folder and agent rows now all end in their time, then a fold slot a step after it, so the times and the chevrons of the whole list stand in one column each; an agent row with no children keeps the slot empty instead of pushing its time to the edge. The row overflow button is gone: the same menu opens on a right-click, or the menu key or Shift+F10 on the focused row, which frees 36px on the right. RowMenu had no other caller and goes with it. The Projects e2e opens the row menus by right-click and Shift+F10 and checks that every row in Projects and Agents ends on the same two columns. The PRD records the decision as D-13 and B29 and drops the rule that a leaf row keeps no fold slot.
Conflicts: web/src/navigation.ts keeps both imports; web/src/projectBoard.ts takes main's layout and carries this branch's lineage comment; and design/hide-screens.pen is main's file regenerated from the merged scripts/pen-screens.mjs.
Every keystroke dispatches a file_draft, so the first observed draft can predate the last key on a slow runner; poll the last draft's contents instead of reading it once after the first one arrives.
The core counts each checkout's agents under the mark their own rows draw (× ! ? ● ✓ ○), one typed decision shared with the row symbol. A project row shows the sum of its checkouts' badges instead of its agent count and activity time, and keeps it while its checkouts are open. A closed checkout shows its badge on line one before the fold slot; opening its agent rows removes the badge and keeps the row's height. Line two is the purpose with the last-commit age on the time column, kept wherever agents run so the row does not grow when an agent's title becomes the purpose.
The Project row ends in its agents' status badge instead of an agent count and activity time, and keeps it while open; the All projects row keeps the project count. The Checkout row carries the badge on line one while folded, and line two becomes the purpose with the last-commit age on the time column; the agent summary with its representative mark is gone. The state sheets add the quiet project and the one-line checkout, and the Projects Sidebar screen is regenerated from the same rules.
yansfil
added a commit
that referenced
this pull request
Sep 27, 2026
yansfil
added a commit
that referenced
this pull request
Sep 27, 2026
…#173) Related: Closes #170 ## Summary - 첫 빌드에서 같은 동작이 두 곳에 있었던 문제(툴바 토글과 패널 Hide, 툴바 Explorer 토글과 EXPLORER ×)를 #170의 최신 결정 댓글 "Side panel hierarchy, revised"대로 고쳤습니다: 모든 컨트롤은 자신이 바꾸는 컨테이너 위에 한 번만 있습니다. - 사이드 패널은 툴바 줄까지 Workspace 전체 높이이고, 툴바(경로)는 에이전트 열만 차지합니다. 패널 1행은 View 탭과 영역마다 "+", 그 뒤 tool column 토글, Expand, Pin, ◫이고, 2행은 문서 헤더와 tool column 위의 Explorer/History 아이콘 탭입니다. - core는 Workspace마다 두 개의 explorer/changes 플래그 대신 도구 하나(`tool`)와 column 표시 여부(`tools`)를 저장하고, 예전 플래그로 저장된 Workspace는 도구 하나로 다시 열립니다. - 모양은 S2입니다: 패널 안의 모든 것(탭 줄, 문서 헤더, 에디터, diff, 페이지, 빈 본문)이 `--card` 위, 왼쪽 `--spacing-sm` 틈(pinned일 때 resize grip), `--radius-lg` 왼쪽 위 모서리, `--border` hairline, 그림자 없음. - 문서가 `--background`(흰색)에서 `--card`(#F4F4F5)로 옮겨가면서 Light의 색 토큰 일곱 개가 본문 대비 4.5:1(AA) 아래로 떨어져, `design/tokens.json`에서 Light 값만 명도를 낮췄습니다: `--muted-foreground`, `--file-blue`, `--diff-removed`, `--destructive`, 그리고 원래도 모자랐던 `--file-yellow`, `--file-orange`, `--file-green`. 색상과 채도는 그대로이고 `--card`에서 4.6:1, `--background`에서 5.1:1입니다. Dark는 바뀌지 않았고 `web/src/tokens.css`와 Pen 변수는 생성물입니다. - 리뷰 후속 결정(#170 "Follow-ups from the review"): 패널 왼쪽 틈에 hover하면 hairline과 ⇆ pill이 있는 resize grip이 보이고(Pen `Component / Side panel grip`), 도구만 있는 패널도 떠 있든 pinned든 폭을 조절해 Workspace마다 따로 저장합니다(`tools_share`, 처음엔 tool column 폭). ⌘E는 패널을 Explorer로 열고 tool column을 보이게 하며, Explorer가 이미 보이면 column을 숨깁니다. 사이드바 Agents/Projects 전환은 기본 chord 없이 Settings > Shortcuts에서 묶을 수 있습니다. - 좁은 창에선 Expand와 Pin이 숨고 도구는 임시 overlay로 열립니다. over 상태에선 터미널을 resize하지 않고(Pin만), 저장된 폭과 패널 옆 에이전트 조작, 좁은 창에서 에이전트 선택 시 드러내기는 그대로입니다.      ## Review - **판단해 주세요**: - 사이드바 전환의 chord는 데스크톱 앱에서 Swift 앱과 공유하는 macOS 세트에 `toggle_sidebar_view` 키로 저장됩니다. Swift는 모르는 키가 있으면 세트 전체를 기본값으로 되돌리므로, 이 키를 받아들이되 무시하고 Swift에서 저장할 때도 보존하게 `PaneShortcutSettings.swift`/`ShellModel.swift`를 고쳤습니다. 이미 설치된 예전 Swift 앱은 이 키를 보면 자기 pane chord를 기본값으로 돌리니, 데스크톱에서 이 chord를 묶기 전에 Swift 앱을 새로 설치해야 합니다. - Swift 앱의 ⌘E는 그대로 사이드바 전환입니다(결정은 웹 셸 대상). 두 호스트의 ⌘E 의미가 다릅니다. - 에디터 선택 색은 `--terminal-selection`(셸이 그리는 유일한 텍스트 선택 색), 현재 줄과 코드 블록, diff hunk는 `--secondary`입니다. `--card` 위에서 현재 줄과 선택이 구분되도록 골랐습니다. - 문서 헤더는 체크아웃 기준 상대 경로이고, 그래도 넘치면 앞쪽을 잘라 파일 이름을 남깁니다(`direction: rtl` + `bdi`). - Light 토큰 일곱 개가 조금 어두워졌습니다. 사이드바, 설정, 팔레트 등 패널 밖의 `--muted-foreground` 글자와 파일 색 표시도 같이 어두워지니, Light에서 패널 밖 화면이 괜찮은지 봐 주세요. - 비활성 영역의 보이는 탭은 `docs/UI_BEHAVIOR.md`대로 제목 색만으로 표시되고 밑줄은 활성 영역에만 있습니다. - **main 병합(#180 사이드바 가독성)**: `web/e2e/wire.ts`는 두 쪽 도우미를 모두 남겼습니다. `design/hide-screens.pen`은 JSON을 손으로 합치지 않았습니다. main 파일에 이 브랜치의 `screen-workspace`를 transplant한 뒤, 깨끗이 병합된 `scripts/pen-screens.mjs`로 `gen-screens.mjs`를 다시 돌렸습니다. 병합 전 두 쪽 파일이 각자 생성기 출력과 같았으므로, 재생성 결과가 `screen-workspace` 안 main의 사이드바 변경과 이 브랜치의 패널을 모두 담습니다. transplant만 했다면 main의 사이드바 변경과 토큰 변수가 빠졌습니다. `hide-ui.lib.pen`은 자동 병합됐고 `gen-pen.mjs` 출력과 같습니다. - **디자인 후속**: Pen의 사이드바(`side-e`, `psb-kbd-*`)는 아직 Agents/Projects 옆에 ⌘E를 그립니다. 앱은 chord가 묶였을 때만 보여 줍니다. 병합 전 두 쪽에 모두 있던 것이라 디자인 쪽에서 지울 항목입니다. - **조심해서 볼 파일**: - `herdr-core/src/workspace_views.rs` - 상태 파일: `StoredView`가 `tool`/`tools`와 예전 `explorer`/`changes`를 읽고 새 키만 씁니다. schema 2 그대로입니다. - `herdr-core/src/runtime/workspace_view.rs` - Herdr/core ownership: `workspace_view` payload의 `tool`/`tools`, 모르는 도구는 `workspace_view.unknown_tool`로 거절, reveal은 Explorer로. - `herdr-core/src/model.rs` - snapshot wire: `WorkspaceViewSnapshot`의 `explorer`/`changes`가 `tool`/`tools`로 바뀜. Swift snapshot에는 없습니다. - `web/src/WorkspaceScreen.tsx`, `web/src/workspace.ts`(`panelFrame`) - 렌더마다 도는 순수 계산이고 폭 드래그는 놓을 때 이벤트 한 번입니다. - `web/src/shortcuts.ts`, `desktop/src/main/menu.ts`, `macos/Sources/HerdrMacOS/PaneShortcutSettings.swift` - 공유 설정: 기본 chord가 없는 명령(메뉴 항목은 accelerator 없이), 공유 macOS 세트의 웹 전용 키. - `herdr-core/src/workspace_views.rs` 등 - 상태 파일과 snapshot wire에 `tools_share`(Option, 없으면 쓰지 않음) 추가. - `web/src/Tools.tsx` - failure path 인접: overlay 바깥 클릭 판정이 이제 메뉴(`role="menu"`)를 overlay의 일부로 봅니다. 아니면 Explorer 행 메뉴 항목을 고르는 순간 overlay가 닫혀 항목이 사라졌습니다. - **질문**: Swift 앱의 ⌘E도 Explorer로 옮길까요, 아니면 Swift는 동결 상태 그대로 둘까요? ## Evidence - **확인한 것**: - core: `verify-cargo.sh lint`(fmt, clippy)와 herdr-core lib 테스트 통과. 두 플래그로 저장된 Workspace가 도구 하나로 다시 열리고 다시 쓴 파일에 `"explorer":`/`"changes":` 키가 없는 테스트, 모르는 도구 거절, 닫힌 패널에서 도구를 고르면 패널이 열리는 테스트를 추가·수정했습니다. - web: typecheck, lint, vitest 378개, `check-design-contract.mjs` 통과. - web e2e(격리된 HOME, `HERDR_SOCKET_PATH`, `SHELL=/bin/zsh`, 새로 빌드한 hided와 private Herdr, headless Chromium): 최종 head에서 전체 66개 통과(한 번은 s3/s4/s6/s7 49개, 나머지 17개로 나눠 돌림). s6은 ⌘⇧B, 탭 전환, 팔레트 Hide History, 빈 상태 ⌘P 문구, 도구 토글을, s7은 좁은 창(overlay, Pin/Expand 없음, overlay 안 행 메뉴로 이름 바꾸기 후 Escape로 닫힘)을 확인합니다. - 캡처: 디자인 에이전트의 h2 보드 12개 상태를 실제 web shell에서 Dark/Light로 찍은 24장을 Pen과 나란히 비교했고, 1차 비교의 앱 쪽 항목(패널 안 전부 `--card`, 활성 탭의 `--background` 칸 제거, 웹 호스트 페이지의 2행 주소, 상대 경로 헤더)을 고친 뒤 다시 찍었습니다. 빈 패널 1행의 "+"와 grip 가이드(쉬는 상태에선 안 보이고 hover/focus에서만)는 이미 맞았습니다. Light 토큰을 바꾼 c010a8f에서 24장을 모두 다시 찍어 마지막 비교에 넘겼습니다. - tool column 폭: Pen처럼 card의 hairline을 `--size-panel-ideal` 안에 셉니다. 도구만 있는 패널의 card가 355, view 옆 column과 card 오른쪽 hairline을 합쳐 355이고 s6 e2e가 둘 다 잽니다. 드래그 계산은 최소 폭(`need`)만 1~2px 줄었습니다. - 후속 라운드: core lib 테스트 전체(834개 포함), vitest 380개, desktop vitest 37개와 typecheck/lint 통과. s6 e2e에 도구만 있는 패널의 hover grip, 드래그 가이드, 놓을 때 `{tools_share}` 한 번과 폭, ⌘E의 숨기기/보이기/History 교체/닫힌 패널 열기를 추가했습니다. h2-05, h2-12(도구만, pinned, grip hover)를 포함해 26장을 다시 찍었습니다. Swift 테스트는 CI swift shell 잡에 맡겼습니다. - 리뷰: 코드 리뷰(Fix now는 중복된 reveal 조건 하나, 고침)와 결정 댓글·Pen 대조 리뷰(⌘E만 남음, 위 질문)를 돌렸습니다. - main 병합 뒤(8288cbf): web typecheck, lint, vitest 385개, `verify-cargo.sh lint`, `check-design-contract.mjs`, 디자인 테스트 4개(53개), 두 PR이 건드린 e2e(s2, s3, s4, s6, s7, projects-sidebar, sidebar-status) 53개 통과. - desktop e2e: relaunch 뒤 Playwright가 복원된 브라우저 display 페이지를 먼저 잡던 경쟁을 `shellPage()`로 고쳤습니다(bd4213e). Electron은 로컬에서 돌리지 않았고 CI에서만 확인합니다. - CI: 8288cbf에서 진행 중이며 결과는 PR 댓글에 남깁니다. - **확인하지 못한 것**: - Electron 앱과 desktop e2e는 운영자 Mac이라 로컬에서 돌리지 않았고 CI `web shell` 잡에만 맡겼습니다. `browser.spec.ts`는 없어진 Explorer 토글 대신 도구 column 토글과 탭으로 바꿨습니다. - Swift 셸은 이 경로를 쓰지 않아 `verify-swift.sh`는 로컬에서 돌리지 않았습니다(CI swift shell은 통과). - 큰 interface scale에서의 패널 1행은 보지 않았습니다. - **생성물**: `web/src/tokens.css`와 `design/*.pen`의 토큰 변수는 `design/tokens.json`에서 생성했습니다(`check-design-contract.mjs` 통과). **AI tooling**: 대부분 AI 도구. Pen 보드와 앱 캡처 비교는 디자인 쪽 에이전트가 픽셀로 했고, 사람 눈으로는 위 스크린샷 네 장과 결정 댓글을 대조해 주세요.
yansfil
added a commit
that referenced
this pull request
Oct 29, 2026
Closes with-hide/hide-private#180 Closes with-hide/hide-private#277 Closes with-hide/hide-private#202 Closes with-hide/hide-private#198 Closes with-hide/hide-private#199 Closes with-hide/hide-private#48 Closes with-hide/hide-private#114 ## Summary Windows에서만 가끔 실패하던 테스트 묶음을 원인별로 고칩니다. 재시도는 늘리지 않았고, 각 실행의 10초 제한은 그대로 두었으며, 프로세스 정리에 쓸 시간만 더했습니다. 테스트가 같은 파일에 같이 쓰던 것, 처음 실행하는 PowerShell과 node의 비용을 제한 시간 안에서 내던 것, vitest worker를 동기 컴파일로 막던 것, 화면 테스트마다 반복하던 무거운 작업을 없앴습니다. 제품 동작은 바뀌지 않습니다. 설치된 hook이 처음 실행될 때 PowerShell 모듈을 불러오는 비용은 hide-private#318로 남겼습니다. #124는 그 lane이 #1719로 이미 삭제되어 근거 코멘트를 남기고 닫았습니다. 스크린샷 없음: 화면 동작은 바뀌지 않음(`web/src/i18n/instance.ts`는 같은 검증을 하는 시점만 앞당김). <details><summary>이슈별 원인과 처리</summary> - **#198 #199 agy hook 테스트**: 테스트 준비가 PowerShell을 `exit 0`으로만 미리 띄웠습니다. 그래서 hook 명령이 쓰는 `Test-Path`가 모듈을 처음 불러오는 비용(새 runner에서는 설치된 모든 모듈의 캐시를 먼저 만듦)이 15초 제한 안에 들어갔습니다. 미리 띄울 때 `Test-Path`까지 실행합니다. 이것은 warm 상태의 기능 테스트를 위한 준비입니다. 제품 hook 명령의 cold 경로는 그대로이고, 고치려면 설치된 명령 문자열과 HOOK_VERSION이 바뀌어야 해서 hide-private#318로 남겼습니다. - **#202 hide-kit node 테스트**: job에서 처음 실행하는 `node.exe`가 2.5-40초 걸렸습니다(다음 node는 0.1초). 테스트의 제한 시간이 시작되기 전에 `node --version`으로 첫 실행을 냅니다(`stand_ins`, hided 테스트가 이미 쓰는 방식). 바뀌는 것은 테스트 준비뿐입니다. - **#180 #277 herdr-core PowerShell 시작 질문 테스트**: 두 pane이 한 파일에 `Add-Content`로 쓰면서 모든 오류를 잡고 5초 동안 재시도했고, 실패 화면에는 "stayed locked"만 남았습니다. 기록마다 자기 파일에 .NET으로 쓰고 재시도는 없앴습니다. 오류가 나면 그 오류가 그대로 보입니다. - **#48 platform-program.unit.ts**: `beforeAll`이 C 프로그램 6개를 `execFileSync`로 동기 컴파일해서 worker가 81초 동안 막혔습니다. 컴파일과 프로그램 실행을 await하는 자식으로 바꿨습니다(`web/e2e/bounded-child.ts`). 호출마다 동기 호출 때와 같은 제한(컴파일 60초와 1 MiB, 실행 10초)이 있습니다. 어떻게 끝나든(스스로 종료, 제한 초과, 시작 실패, 테스트의 `signal`) 기존 fixture 도구로 자식 트리 전체를 끝냅니다. 첫 프로세스의 종료는 그것이 띄운 자손에 대해 아무것도 말해 주지 않고, Windows에서는 자손이 출력을 쥐고 있어도 그 종료와 함께 `close`가 오기 때문입니다. Unix는 process group 종료를 확인하고, Windows는 `hide-processes`가 identity로 자손을 따라갑니다. 이 도구들은 의존이 없는 `web/e2e/process-tree.ts`로 옮겨 shim 빌드도 함께 씁니다. 종료를 확인하지 못하면 즉시 그렇게 알리고, 호출자는 임시 파일을 지우지 않습니다. 그때까지 트리는 worker 종료 정리(`ownUntilWorkerExit`)에 등록되어 있습니다. Windows에서는 `hide-processes`를 먼저 빌드하고, 이후 컴파일을 따라갑니다. 그 자신의 컴파일이 실패하면 partial 파일을 남깁니다. - **#114 Windows web unit 5초 타임아웃**: Windows runner는 jsdom 테스트가 이 Mac보다 약 7배 느려서, 로컬에서 0.5초를 넘는 테스트가 5초 한도에 붙습니다. 무거운 동기 작업 두 개를 없앴습니다. - 화면 테스트마다 mount할 때 번역 카탈로그(약 4,000키 x 4개 언어)를 다시 검증 -> 정적 카탈로그라 모듈을 불러올 때 한 번만 검증. - `practice/worlds.test.ts`가 입력마다 출발 상태의 snapshot과 화면을 다시 계산(테스트 시간의 87%) -> 상태마다 한 번만 그리고 store에는 매번 다시 넣음. world가 상태를 제자리에서 바꾸지 않는다는 것은 모든 모델을 deep-freeze한 상태로 18개 테스트가 통과하는 것으로 확인했습니다. - **#124 nightly agent journey signed in (windows)**: 이 lane은 #1719(c88d028, 10-27 운영자 결정)로 CI에서 빠졌습니다. 코드 수정 없이 근거 코멘트를 남기고 not planned로 닫았습니다. </details> ## Review - **판단해 주세요**: #198 #199와 #202는 테스트 준비만 바꿉니다. 제품 hook의 cold 첫 실행(hide-private#318)은 이 PR의 범위 밖입니다. - **조심해서 볼 파일**: `web/src/i18n/instance.ts` - 카탈로그 검증이 import 시점으로 옮겨졌습니다. 잘못된 카탈로그는 이제 첫 instance를 만들 때가 아니라 모듈을 불러올 때 throw합니다. - **조심해서 볼 파일**: `web/e2e/bounded-child.ts`, `web/e2e/process-tree.ts`, `web/e2e/shims/build.ts` - 실패 경로의 트리 종료, 종료를 확인하지 못했을 때 파일을 남기는 것, worker 종료 정리. `endStartGroup`, `windowsProcessTree`, `endWindowsProcesses`의 본문이 `process-tree.ts`로 옮겨졌습니다(기존 이름은 그대로 위임). `buildFixtureShims`는 async가 되어, Playwright `globalSetup` 두 곳과 vitest 파일 세 곳이 await합니다. - **남은 한계**: with-hide/hide-private#324 ## Evidence - **확인한 것 (원인)**: run 40449782460에서 PowerShell 테스트 4개가 같은 순간에 시작해 38-48초 걸렸고, 제한 없이 `Test-Path`를 먼저 실행한 `every_windows_command`만 통과했습니다. run 40679837812에서는 node 테스트가 1차에 30초로 시간 초과되고 재시도에 12초 걸렸습니다. run 40679854397의 pane 화면에는 `claude-args stayed locked`가 남았습니다. - **확인한 것 (Windows)**: head 997877724의 `windows check`(run 40723179805)에 TRY 2/FLAKY/onTaskUpdate 줄이 없습니다. herdr-core PowerShell 테스트 10.7초, agy hook 테스트 2.8-5.6초, hide-kit node 테스트 2.4초입니다. web unit에서 가장 느린 테스트는 OverviewGraph overflow 3.9초이고, worlds는 최대 1.5초입니다(main run 40706855580에서는 5.8초). Windows agent journey dispatch run 40719259611 통과. - **확인한 것 (로컬 macOS)**: `verify-web.sh web/desktop typecheck/lint`, `desktop test` 통과. `web test`는 260 files 중 `src/mobile/sleep.test.tsx` 2개만 5초 타임아웃으로 실패했습니다(측정 중 load 98). 단독으로 돌리면 통과하고, 이 PR이 건드리지 않은 파일입니다. `bounded-child.unit.ts`의 세 회귀 테스트(종료 실패를 즉시 알림, 부모가 먼저 끝나고 자손이 stdout을 쥔 경우, worker 종료)는 각 수정을 되돌리면(Unix group 대신 첫 프로세스만 kill, worker 등록 제거, 종료 실패를 close까지 대기) 실패하고, 복원하면 통과합니다. - **확인한 것 (Windows 트리 종료)**: head e2179be05의 `windows check`에서 `bounded-child.unit.ts` 4개(종료 실패, 부모 선종료, 제한 시간 초과 때 출력을 쥔 자손, worker 종료)와 `windows-processes.unit.ts`가 통과했습니다. 한 번의 green은 flaky가 해소됐다는 증명이 아니므로, 이후 main run에서 같은 이슈 코멘트가 다시 붙지 않는지 봐야 합니다. OverviewGraph overflow(3.9초)가 여전히 5초 한도에 가장 가깝습니다. - **확인하지 못한 것**: #180 #277에서 원래 삼켜진 오류가 무엇이었는지는 로그로 복원할 수 없었습니다. 공유 파일과 cmdlet 의존을 둘 다 없애 두 후보를 모두 제거했고, 남는 실패는 자기 메시지를 보입니다. <details><summary>Verification record</summary> - head: e2179be (fix/flaky-windows-lane, origin/main 877ec01 merge 포함) - 이 head의 CI: verify run 40829385062 전체 pass (windows check job 123299939776: TRY 2/FLAKY/onTaskUpdate 줄 없음, web unit 260 files, desktop unit 28 files; windows e2e, windows desktop, package windows, os/agy contract windows pass) - 거쳐 온 head: 5823db114는 Windows에서 부모 종료와 함께 `close`가 와서 `bounded-child.unit.ts`가 실패(run 40823405169). 0bde0ea2b는 `hide-processes` 자신의 컴파일에 아직 없는 경로를 넘겨 Windows 빌드가 실패(run 40826389313). 둘 다 e2179be05에서 고침 - Windows agent journey dispatch: run 40719259611 (systems windows, fake model) pass </details>
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.
Closes #174
Related:
agents/prd/sidebar-readability/prd.mdSummary
이제 Agents와 Projects가 같은 에이전트 행(
SidebarAgentRow)을 쓰고, 행 높이와 제목·시간의 x좌표는 hover, focus, 메뉴 열림, 선택에서 변하지 않습니다.접힌 chevron은 늘 보이고, 펼친 chevron은 hover, focus-within, 메뉴 열림, hover 없는 입력에서 보입니다. 행의
⋯버튼은 없앴고 같은 메뉴를 우클릭, 메뉴 키, ⇧F10으로 엽니다. 체크아웃 나이는 메뉴가 열려도 그대로 보입니다.N agents · 시간과 체크아웃 둘째 줄의 대표 에이전트 마크 대신, 에이전트를 행 마크별로 센 상태 배지(? 2 ● 4 ✓ 1 ○ 1)를 둡니다(D-14, B30, B31). 순서는× ! ? ● ✓ ○이고 0인 상태는 빠지며, 이미 본 idle 에이전트도○N으로 셉니다.agent_tree_toggle)로 자식을 접고 펼칩니다. Agents와 같은 상태라서 한쪽에서 펼치면 다른 쪽도 펼쳐집니다.project › branch자리 줄을 가지며, 요청·새 소식은 한 줄로 잘리고 조용한 문장은 tooltip에만 있습니다.Connecting…을, 로컬 프로젝트가 없으면 Add project를 보입니다. 경과 시간을 보고하지 않은 에이전트는0s대신 시간을 그리지 않습니다.Review
⋯버튼을 없앴습니다(D-13, 2026-09-27 리뷰 결정). 메뉴 항목은 그대로이고 우클릭, 메뉴 키, ⇧F10으로 엽니다. 대신 행에 메뉴가 있다는 표시가 화면에서 사라졌습니다. 시간 뒤 오른쪽 여백은 64px에서 28px로 줄었습니다.herdr-core가 보고되지 않은 경과 시간을"0s"대신 빈 문자열로 보냅니다(B7). Swift 셸의AgentRow.swift,ProjectHome.swift도 빈 값이면 그리지 않도록 같이 바꿨습니다.Badge는 바꾸지 않았습니다. 최소 높이로 바꿔 보니 outline 배지가 기본 글꼴에서 16px에서 17px로 커져서(B27 위반, 측정) 되돌렸습니다. 17pt에서 배지는 줄 상자만 잘리고 글자는 온전합니다(눈으로 확인).whitespace-pre-line을 씁니다. 줄바꿈이 든 라벨만 달라지며, 여러 줄 상태·알림 메시지도 이제 줄을 바꿔 보입니다.+N도 배지로 대체했습니다.secondary채움이라, hover나 선택으로 같은 색이 칠해진 행에서는 배지 상자가 배경에 묻히고 마크와 숫자만 보입니다. Agents 부모 행의 배지와 같은 동작이라 두었습니다.--size-checkout-metadata-inset토큰을 46에서 22로 바꿨습니다. 체크아웃 둘째 줄이 이름 열에 맞춰 시작합니다.web/src/sidebar.tsx- Projects 계층 전체 재구성, 행 끝의RowEnd와FoldLane,ROW_REVEALED규칙. 접기는agent_tree_toggle과ui_state_update만 보냅니다(ownership).web/src/components/entry-menu.tsx-RowMenu를 지웠습니다. 행 메뉴는EntryContextMenu하나로 열리고, 메뉴가 열린 동안 펼친 chevron은 그 트리거의data-state=open으로 보입니다.herdr-core/src/sidebar.rs,herdr-core/src/model.rs- snapshot wire 변화:elapsed빈 문자열, 그리고CheckoutAgentSummary에 더해진marks(행 마크별 수). 마크 판단은RowMark하나에서 행 기호와 배지 수를 같이 냅니다. Swift 디코더는 모르는 키를 무시합니다.web/src/components/status-badge.tsx,web/src/projects.tsprojectMarks- 체크아웃marks를 더한 프로젝트 배지. snapshot마다 도는 경로입니다(체크아웃 수만큼 덧셈).web/src/agentRow.tsunfoldedRows,web/src/navigation.tsagentPlaces- 계보 접기 걷기와 자리 줄 계산, snapshot마다 도는 경로(high-frequency path).design/hide-ui.lib.pen,design/hide-screens.pen- 스크립트로 생성·수정했습니다. Project row, Checkout row, Inactive Fold Row, Sidebar agent row 시트와Screen / Projects Sidebar는 Pen CLI로 export해 눈으로 확인했습니다.hide-screens.pen은main의 파일에 병합된 생성기를 다시 돌린 결과입니다.web/src/navigation.ts는 양쪽 import를 합쳤고,web/src/projectBoard.ts는 main 파일에 이 브랜치의 계보 주석만 얹었습니다(conflict).web/e2e/s3.spec.ts- 이 PR과 무관한 에디터 e2e의 경쟁 조건입니다.file_draft는 키마다 나가는데 첫 draft를 보자마자 마지막 값을 읽어, CI에서\n직전 값을 읽고 실패했습니다. 마지막 draft 내용을 기다리도록 고쳤습니다(792b41a).web/e2e/wire.tssidebarColumns- 목록의 시간·배지 오른쪽 끝과 chevron 중심이 각각 한 값인지 잽니다.web/e2e/wire.tssidebarRowsFit- 17pt에서 글자·아이콘·마크가 행 밖으로 넘치거나 겹치는지 재는 검사입니다. 고정 높이로 되돌리면 실패하는 것을 확인했습니다.project › branch로 두었습니다. 폴더 체크아웃은 프로젝트 이름만 씁니다. 이 표기로 충분한지 봐 주세요.Evidence
projects-sidebar.spec.ts가 실제 앱에서 폴더·체크아웃·프로젝트 배지의 idle 수, 프로젝트 행의 접근성 이름(repo, 2 idle), 체크아웃 나이가 목적과 같은 둘째 줄에 있음, 목적이 오기 전에도 둘째 줄이 있고 목적이 온 뒤 높이가 같음, 체크아웃을 펼치면 그 배지만 사라지고 높이와 둘째 줄이 남음, 프로젝트·폴더 배지는 펼쳐도 남음을 확인합니다.error,question,working,done)를 확인하고, 웹 단위 테스트가projectMarks합과 배지 순서·문구를 확인합니다. cargo test 전체, cargo lint, 웹 typecheck·lint·단위 테스트 379개, 디자인 계약 검사, workstation identity 검사.Screen / Projects Sidebar를 Light/Dark로 export해 배지 위치, 펼침 상태, 한 줄 체크아웃을 눈으로 확인했습니다.sidebarColumns).actions버튼이 없는 것을 확인합니다.Screen / Projects Sidebar를 Pen CLI로 export해 시간·chevron 열을 눈으로 확인했습니다.s3.spec.ts:232)를 로컬에서 3번 반복해 통과했습니다(792b41a).diff_open_requires_a_real_working_tree_change1개는 테스트의git commit이 이 머신의 전역 커밋 서명 설정을 물려받아 서명 에이전트 통신에 실패해 떨어졌고, 단독 재실행에서 통과했습니다. 이 PR과 무관한 로컬 환경 문제입니다.agent_tree_toggle하나만 보냅니다(wire 카운트).hover: none)에서 펼친 chevron이 늘 보입니다.Connecting…을 보입니다.×,!,?,●,✓마크는 e2e 픽스처 에이전트가 모두 idle이라 실제 앱에서는○만 봤습니다. 다른 마크는 Agents 부모 배지와 같은BadgeMarks를 쓰고, Pen 화면과 단위 테스트로만 확인했습니다.AgentRow.swift,ProjectHome.swift변경은swift test통과로만 확인했고 앱을 띄워 보지 않았습니다.Screen / Main과Screen / Workspace의 Agents 사이드바는 export해 보지 않았습니다.design/hide-screens.pen은scripts/gen-screens.mjs가scripts/pen-screens.mjs에서 만든 큰 diff입니다.design/hide-ui.lib.pen은 로컬 스크립트로 마스터 id를 유지한 채 고쳤습니다.Follow-up:
agentTree와 같은 키).ListedAgent에target_id를 실어 풀어야 합니다.AgentRowItem에 사이드바 시절 분기가 남아 있습니다. 같은 파일을 고치는 #175가 끝난 뒤 정리합니다.Connecting…으로 보입니다.AI tooling: 대부분 AI 도구. 격리 서버의 실제 화면을 긴 한글·영문, Light/Dark, 240px, 17pt, hover 없는 입력에서 캡처해 눈으로 대조했고, 측정 검사마다 코드를 되돌려 실패하는지 확인했습니다.
Verification record
아래 기록은 e637769까지의 sasu run입니다. 이후 커밋 0c6a5df(Pen 행 끝 정렬), 79c9369(행 끝 열 정렬과 ⋯ 제거), e39e4b5(main 병합), 792b41a(에디터 e2e 경쟁 조건), df5ba6a·34d22de·c4b5876(상태 배지 core·web, Pen, 문서·PRD D-14)은 run 밖에서 위 Evidence의 검사로 확인했습니다.
agents/prd/sidebar-readability/prd.md(sha256 646a6f050b4f147ac0e1c8ce36f3a0f9a26cd038136013a3778c5bc9330f05ef)agents/runs/sidebar-readability/verification-report.jsonandagents/runs/sidebar-readability/verification-report.md; source fingerprint d6a8f63cff75ed5be23c2107127816e66aff77383ae8f2237433f21c5a2d036fbash scripts/verify-cargo.sh test(exit 0)bash scripts/verify-swift.sh test(exit 0)bash scripts/verify-cargo.sh lint(exit 0)data-state), fixed withdata-menu-openand mutation-checked; tooltip lines ran together, fixed; local empty-state wording, fixed; dead reveal selector, removed; Swift empty elapsed, fixed. Kept:focus-within(PRD B2 names it). Follow-up: device-label keying,AgentRowItemleftovers.h-fullshrink did not reproduce in Chromium, measured 36 = 36); icon-only line coverage added.web/e2e/wire.tsunder the desktop e2e tsconfig; fixed in e637769 (test helper only).