Skip to content

사이드바 가독성: 오른쪽 조작, 흔들리지 않는 행, Projects 계보 접기 - #180

Merged
yansfil merged 20 commits into
mainfrom
feat/sidebar-readability
Sep 27, 2026
Merged

yansfil merged 20 commits into
mainfrom
feat/sidebar-readability

Conversation

@yansfil

@yansfil yansfil commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Closes #174
Related: agents/prd/sidebar-readability/prd.md

Summary

  • 사이드바 행이 hover에서 둘째 줄을 드러내며 높이가 바뀌고, 접기 chevron이 이름 왼쪽에 있어 제목 열이 흔들렸습니다.
    이제 Agents와 Projects가 같은 에이전트 행(SidebarAgentRow)을 쓰고, 행 높이와 제목·시간의 x좌표는 hover, focus, 메뉴 열림, 선택에서 변하지 않습니다.
  • 모든 행이 시간이나 상태 배지, 그다음 접기 칸으로 끝납니다. 체크아웃 커밋 나이, 에이전트 경과 시간, 배지의 오른쪽 끝이 한 열에, chevron이 한 열에 섭니다. 자식 없는 에이전트 행과 에이전트 없는 체크아웃도 칸을 비워 둡니다(D-13, B29).
    접힌 chevron은 늘 보이고, 펼친 chevron은 hover, focus-within, 메뉴 열림, hover 없는 입력에서 보입니다. 행의 ⋯ 버튼은 없앴고 같은 메뉴를 우클릭, 메뉴 키, ⇧F10으로 엽니다. 체크아웃 나이는 메뉴가 열려도 그대로 보입니다.
  • 프로젝트 행의 N agents · 시간과 체크아웃 둘째 줄의 대표 에이전트 마크 대신, 에이전트를 행 마크별로 센 상태 배지(? 2 ● 4 ✓ 1 ○ 1)를 둡니다(D-14, B30, B31). 순서는 × ! ? ● ✓ ○이고 0인 상태는 빠지며, 이미 본 idle 에이전트도 ○N으로 셉니다.
    • 프로젝트 행과 일반 폴더 행: 시간 없이 배지만 두고, 펼쳐도 배지가 남습니다.
    • 체크아웃 행: 에이전트 행이 접혀 있을 때만 첫 줄 끝에 배지가 서고, 펼치면 배지만 사라집니다. 둘째 줄은 목적과 커밋 나이이고, 에이전트가 있으면 목적이 아직 없어도 둘째 줄을 남겨 행 높이가 변하지 않습니다. 목적도 에이전트도 없으면 한 줄에 나이를 둡니다.
  • Projects에서도 부모 에이전트가 core의 계보 접기(agent_tree_toggle)로 자식을 접고 펼칩니다. Agents와 같은 상태라서 한쪽에서 펼치면 다른 쪽도 펼쳐집니다.
  • Agents 루트 행은 project › branch 자리 줄을 가지며, 요청·새 소식은 한 줄로 잘리고 조용한 문장은 tooltip에만 있습니다.
  • 첫 snapshot 전에는 빈 목록 대신 Connecting…을, 로컬 프로젝트가 없으면 Add project를 보입니다. 경과 시간을 보고하지 않은 에이전트는 0s 대신 시간을 그리지 않습니다.

Pen Screen / Projects Sidebar, Dark: 프로젝트 배지는 펼쳐도 남고, 펼친 main은 배지 없이 목적과 나이, 접힌 체크아웃은 첫 줄 끝에 배지, 목적 없는 체크아웃은 한 줄

Projects, Dark, 모두 접힘(실제 앱, e2e): 프로젝트·체크아웃·폴더 행 끝의 배지와 chevron이 한 열, 체크아웃 나이는 둘째 줄

Projects, Dark, 체크아웃과 계보 펼침(실제 앱, e2e): 펼친 체크아웃은 배지가 사라지고 둘째 줄과 높이는 그대로, 프로젝트 배지는 남음

Agents, Dark: 펼친 부모의 chevron과 잎 행의 빈 칸, 경과 시간이 같은 열. 제목·상세·자리를 줄마다 나눈 tooltip

우클릭 메뉴가 열린 체크아웃 행: ⋯ 버튼 없이 메뉴가 열리고 배지와 chevron은 제자리

글꼴 17pt: 행이 커져도 시간·배지와 chevron 열이 유지되고 branch 칩 글자가 온전함

Review

  • 판단해 주세요:
    • 행의 ⋯ 버튼을 없앴습니다(D-13, 2026-09-27 리뷰 결정). 메뉴 항목은 그대로이고 우클릭, 메뉴 키, ⇧F10으로 엽니다. 대신 행에 메뉴가 있다는 표시가 화면에서 사라졌습니다. 시간 뒤 오른쪽 여백은 64px에서 28px로 줄었습니다.
    • 자식 없는 에이전트 행도 빈 접기 칸(16px)을 예약합니다. PRD B3의 "잎 행에 계보용 칸을 추가하지 않는다"를 바꾼 것이고, 잎 행 제목이 그만큼 좁아집니다.
    • herdr-core가 보고되지 않은 경과 시간을 "0s" 대신 빈 문자열로 보냅니다(B7). Swift 셸의 AgentRow.swift, ProjectHome.swift도 빈 값이면 그리지 않도록 같이 바꿨습니다.
    • 사이드바 행 높이 토큰을 고정 높이가 아니라 최소 높이로 씁니다. 17pt 글꼴에서 폴더·체크아웃 행의 둘째 줄이 다음 행으로 넘치던 것을 행이 커지는 쪽으로 풀었고, 그 크기 안에서 hover·focus에 움직이지 않습니다(B26). 기본 글꼴에서는 사이드바 캡처가 픽셀 단위로 같습니다.
    • 공용 Badge는 바꾸지 않았습니다. 최소 높이로 바꿔 보니 outline 배지가 기본 글꼴에서 16px에서 17px로 커져서(B27 위반, 측정) 되돌렸습니다. 17pt에서 배지는 줄 상자만 잘리고 글자는 온전합니다(눈으로 확인).
    • 공용 tooltip이 whitespace-pre-line을 씁니다. 줄바꿈이 든 라벨만 달라지며, 여러 줄 상태·알림 메시지도 이제 줄을 바꿔 보입니다.
    • Projects 에이전트 행에서는 루트의 branch 칩을 빼고(위 체크아웃 행이 이미 말함), 다른 체크아웃의 자식에만 칩을 붙였습니다.
    • 상태 배지(D-14): 프로젝트 행에서 마지막 활동 시간이 사라졌습니다. 최근 활동 순서는 그대로지만 얼마나 오래됐는지는 체크아웃 나이로만 보입니다. 체크아웃 둘째 줄이 보이던 대표 에이전트 마크와 +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.ts projectMarks - 체크아웃 marks를 더한 프로젝트 배지. snapshot마다 도는 경로입니다(체크아웃 수만큼 덧셈).
    • web/src/agentRow.ts unfoldedRows, web/src/navigation.ts agentPlaces - 계보 접기 걷기와 자리 줄 계산, 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의 파일에 병합된 생성기를 다시 돌린 결과입니다.
    • main 병합(e39e4b5) - 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.ts sidebarColumns - 목록의 시간·배지 오른쪽 끝과 chevron 중심이 각각 한 값인지 잽니다.
    • web/e2e/wire.ts sidebarRowsFit - 17pt에서 글자·아이콘·마크가 행 밖으로 넘치거나 겹치는지 재는 검사입니다. 고정 높이로 되돌리면 실패하는 것을 확인했습니다.
  • 질문:
    • 체크아웃을 펼치면 배지를 지우고 에이전트 행 마크가 대신 말하게 했습니다. 펼친 체크아웃에서도 요약이 필요하다고 보시면 알려 주세요.
    • Agents 루트의 자리 줄을 project › branch로 두었습니다. 폴더 체크아웃은 프로젝트 이름만 씁니다. 이 표기로 충분한지 봐 주세요.

Evidence

  • 확인한 것:
    • 상태 배지(c4b5876): 웹 E2E 전체 65개 통과(로컬, 새로 빌드한 hided와 web/dist, 격리된 Herdr 0.9.1). projects-sidebar.spec.ts가 실제 앱에서 폴더·체크아웃·프로젝트 배지의 idle 수, 프로젝트 행의 접근성 이름(repo, 2 idle), 체크아웃 나이가 목적과 같은 둘째 줄에 있음, 목적이 오기 전에도 둘째 줄이 있고 목적이 온 뒤 높이가 같음, 체크아웃을 펼치면 그 배지만 사라지고 높이와 둘째 줄이 남음, 프로젝트·폴더 배지는 펼쳐도 남음을 확인합니다.
    • core 단위 테스트가 마크별 수(error, question, working, done)를 확인하고, 웹 단위 테스트가 projectMarks 합과 배지 순서·문구를 확인합니다. cargo test 전체, cargo lint, 웹 typecheck·lint·단위 테스트 379개, 디자인 계약 검사, workstation identity 검사.
    • Pen: Project row·Checkout row 시트와 Screen / Projects Sidebar를 Light/Dark로 export해 배지 위치, 펼침 상태, 한 줄 체크아웃을 눈으로 확인했습니다.
    • main 병합 뒤 head(e39e4b5)에서 웹 E2E 전체 65개 통과. 격리된 Herdr 0.9.1과 새로 빌드한 hided를 테스트마다 띄웁니다.
    • 목록의 시간 오른쪽 끝과 chevron 중심이 각각 한 값인지 Projects(계보 펼침 뒤)와 Agents에서 측정합니다(sidebarColumns).
    • 행 메뉴가 우클릭과 ⇧F10으로 열리고, 행에 actions 버튼이 없는 것을 확인합니다.
    • Project row, Checkout row, Inactive Fold Row, Sidebar agent row 시트와 Screen / Projects Sidebar를 Pen CLI로 export해 시간·chevron 열을 눈으로 확인했습니다.
    • 웹 typecheck, lint, 단위 테스트 379개, 디자인 계약 검사, workstation identity 검사(e39e4b5).
    • 고친 에디터 e2e(s3.spec.ts:232)를 로컬에서 3번 반복해 통과했습니다(792b41a).
    • cargo test(e39e4b5): 830개 중 829개 통과. diff_open_requires_a_real_working_tree_change 1개는 테스트의 git commit이 이 머신의 전역 커밋 서명 설정을 물려받아 서명 에이전트 통신에 실패해 떨어졌고, 단독 재실행에서 통과했습니다. 이 PR과 무관한 로컬 환경 문제입니다.
    • 행 높이, 다음 행 y, 제목·시간 x좌표가 rest, hover, 키보드 focus, 메뉴 열림, 선택에서 같음을 Agents와 Projects 모두에서 측정합니다.
    • 펼친 프로젝트 chevron이 그 행의 메뉴가 열린 동안 보이는 것을 확인하고, 옛 선택자로 되돌리면 실패하는 것도 확인했습니다.
    • hover·focus·메뉴 열기는 아무 이벤트도 보내지 않고, 계보 펼침은 agent_tree_toggle 하나만 보냅니다(wire 카운트).
    • 240px와 최소 사이드바 폭에서 Agents와 Projects 모두 가로 overflow가 없습니다.
    • 글꼴 17pt에서 모든 글자·아이콘·마크가 행 안에 있고 서로 겹치지 않으며, Projects와 Agents 행이 hover·focus에 움직이지 않습니다.
    • B27: Overview 캡처는 변경 전(2a7e65c)과 픽셀이 같습니다(포인터 hover 칠 하나 제외, 같은 코드끼리도 달라지는 부분). dev gallery에서 모든 Badge 변형이 기본 글꼴 16px입니다.
    • CDP 터치 에뮬레이션(hover: none)에서 펼친 chevron이 늘 보입니다.
    • 거부된 토큰에서 목록이 비어 보이지 않고 Connecting…을 보입니다.
    • 계보 펼침 상태가 reload 뒤에도 유지되고, Agents와 Projects가 같은 접기 상태를 봅니다.
    • chromux로 격리 서버에 붙어 긴 한글·영문 제목, Light/Dark, 240px, 메뉴 열림, hover 없는 입력을 눈으로 확인했습니다.
    • core 단위 테스트(경과 시간 없음), cargo lint, Swift 테스트, herdr pin·schema 계약, learned rules, attribution 검사(e637769).
  • 확인하지 못한 것:
    • 상태 배지의 ×, !, ?, ●, ✓ 마크는 e2e 픽스처 에이전트가 모두 idle이라 실제 앱에서는 ○만 봤습니다. 다른 마크는 Agents 부모 배지와 같은 BadgeMarks를 쓰고, Pen 화면과 단위 테스트로만 확인했습니다.
    • Swift 셸 화면: AgentRow.swift, ProjectHome.swift 변경은 swift test 통과로만 확인했고 앱을 띄워 보지 않았습니다.
    • Pen 렌더링: 에이전트 행이 바뀌어 다시 생성된 Screen / Main과 Screen / Workspace의 Agents 사이드바는 export해 보지 않았습니다.
    • Electron 데스크톱 호스트와 네이티브 macOS 앱에서의 화면은 보지 않았습니다. 웹 셸을 Chromium에서만 봤습니다.
    • 로컬 프로젝트가 하나도 없는 daemon에서의 Add project 빈 상태는 자동 테스트가 없습니다.
    • 느린 첫 snapshot이 도착한 뒤 실제 목록으로 바뀌는 과정은 거부된 토큰으로만 대신 확인했습니다.
  • 생성물: design/hide-screens.pen은 scripts/gen-screens.mjs가 scripts/pen-screens.mjs에서 만든 큰 diff입니다. design/hide-ui.lib.pen은 로컬 스크립트로 마스터 id를 유지한 채 고쳤습니다.

Follow-up:

  • 같은 이름의 SSH 기기 둘이면 자리 줄과 계보가 기기 이름으로 묶여 섞일 수 있습니다(기존 agentTree와 같은 키). ListedAgent에 target_id를 실어 풀어야 합니다.
  • AgentRowItem에 사이드바 시절 분기가 남아 있습니다. 같은 파일을 고치는 #175가 끝난 뒤 정리합니다.
  • hided 연결이 끊긴 동안 사이드바가 마지막 상태를 그대로 그립니다(이 PR 이전부터). 거부된 토큰도 끝없이 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의 검사로 확인했습니다.

  • PRD: agents/prd/sidebar-readability/prd.md (sha256 646a6f050b4f147ac0e1c8ce36f3a0f9a26cd038136013a3778c5bc9330f05ef)
  • Base 2fbac8f → head e637769, verified 2026-09-26T11:54:00.379Z: PASS
  • Verification report: agents/runs/sidebar-readability/verification-report.json and agents/runs/sidebar-readability/verification-report.md; source fingerprint d6a8f63cff75ed5be23c2107127816e66aff77383ae8f2237433f21c5a2d036f
  • Suites:
    • S1: GREEN bash scripts/verify-cargo.sh test (exit 0)
    • S2: GREEN bash scripts/verify-swift.sh test (exit 0)
    • S3: GREEN bash scripts/verify-cargo.sh lint (exit 0)
  • Reviews (advisory, all native subagents):
    • Fidelity 1 (2a7e65c): no MISSING or DEVIATES. Partials fixed with e2e: B3 no-hover input, B25 Projects narrow width, B26 largest font, B9 first lineage click and looking at a row send nothing, B20 connecting state. Stale QA refs corrected.
    • Code 1 (2a7e65c): Fix now: unfolded chevron hidden while its row's menu was open (Hint overwrote data-state), fixed with data-menu-open and 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, AgentRowItem leftovers.
    • Fidelity 2 and Code 2 (085ac83): no blockers. Code 2 found the fit check could not see fixed-height spills; the stronger check exposed real spills at 17pt, fixed by minimum row heights.
    • Code 3 (86b5417): Badge back to byte-identical; project row button stretch applied (the h-full shrink did not reproduce in Chromium, measured 36 = 36); icon-only line coverage added.
    • Fidelity 3 and Code 3-final (e3ddd13): no MISSING or DEVIATES; manifest descriptions corrected, marks added to the fit check, 17pt focus and Agents checks added in 9624399 (test-only).
    • CI (9624399): desktop typecheck failed on NodeList spreads in web/e2e/wire.ts under the desktop e2e tsconfig; fixed in e637769 (test helper only).
  • Evidence: 32 registered (24 screenshot, 5 file, 3 log); paths are local to the run directory
    • agents/runs/sidebar-readability/qa/projects-light.png
    • agents/runs/sidebar-readability/qa/projects-dark.png
    • agents/runs/sidebar-readability/qa/projects-dark-menu.png
    • agents/runs/sidebar-readability/qa/projects-dark-unfolded.png
    • agents/runs/sidebar-readability/qa/projects-dark-hoverless.png
    • agents/runs/sidebar-readability/qa/projects-dark-240.png
    • agents/runs/sidebar-readability/qa/agents-dark.png
    • agents/runs/sidebar-readability/qa/agents-dark-hover.png
    • agents/runs/sidebar-readability/qa/agents-light-hover.png
    • agents/runs/sidebar-readability/qa/agents-dark-240.png
    • agents/runs/sidebar-readability/qa/loading.png
    • agents/runs/sidebar-readability/qa/agents-rest.json
    • agents/runs/sidebar-readability/qa/agents-hover.json
    • agents/runs/sidebar-readability/qa/projects-rest.json
    • agents/runs/sidebar-readability/qa/projects-menu.json
    • agents/runs/sidebar-readability/qa/projects-unfolded.json
    • agents/runs/sidebar-readability/e2e-final/projects-sidebar-light.png
    • agents/runs/sidebar-readability/e2e-final/projects-sidebar-dark.png
    • agents/runs/sidebar-readability/e2e-final/projects-sidebar-lineage-open.png
    • agents/runs/sidebar-readability/e2e-final/projects-sidebar-menu-open.png
    • agents/runs/sidebar-readability/e2e-final/sidebar-status-unfolded.png
    • agents/runs/sidebar-readability/e2e-final/sidebar-status-narrow.png
    • agents/runs/sidebar-readability/e2e-final/sidebar-status-popover.png
    • agents/runs/sidebar-readability/e2e-final/overview-tasks-dark.png
    • agents/runs/sidebar-readability/e2e-final/overview-agents-dark.png
    • agents/runs/sidebar-readability/e2e-final/badge-base.json
    • agents/runs/sidebar-readability/e2e-final/badge-head.json
    • agents/runs/sidebar-readability/e2e-final/e2e-full4.log
    • agents/runs/sidebar-readability/e2e-final/projects-sidebar-large-font.png
    • agents/runs/sidebar-readability/e2e-final/agents-sidebar-large-font.png
    • agents/runs/sidebar-readability/e2e-baseline-2a7e65c/overview-tasks-dark.png
    • agents/runs/sidebar-readability/e2e-baseline-2a7e65c/overview-agents-dark.png
  • Changed paths: 24 (see Files changed)

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
yansfil merged commit 8622156 into main Sep 27, 2026
7 checks passed
@yansfil
yansfil deleted the feat/sidebar-readability branch September 27, 2026 03:06
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만), 저장된 폭과 패널 옆 에이전트 조작, 좁은 창에서 에이전트 선택 시 드러내기는 그대로입니다.

![파일 하나: 1행 탭과 "+", 오른쪽 끝 도구 토글, Expand, Pin, ◫; 2행 문서 헤더와
Explorer/History
탭](https://github.com/yansfil/pr-assets/blob/main/hide/side-panel/c010a8f/h2-04-file-dark.png?raw=true)

![Pinned, Light: 에이전트가 패널 왼쪽 틈까지 좁아지고 틈에 hover하면 hairline과 ⇆ pill
grip](https://github.com/yansfil/pr-assets/blob/main/hide/side-panel/ddb047d/h2-05-pinned-light.png?raw=true)

![도구만 있는 pinned 패널, 틈 hover: 같은 grip으로 폭
조절](https://github.com/yansfil/pr-assets/blob/main/hide/side-panel/ddb047d/h2-12-tools-pinned-grip-dark.png?raw=true)

![페이지와 diff 두 영역: 웹 호스트에서도 페이지 주소가 2행에 있어 두 영역의 2행이
맞음](https://github.com/yansfil/pr-assets/blob/main/hide/side-panel/c010a8f/h2-09-browser-diff-light.png?raw=true)

![빈 패널: view 없음, 도구 숨김. 1행에 "+", 본문은 ⌘P만
안내](https://github.com/yansfil/pr-assets/blob/main/hide/side-panel/c010a8f/h2-11-empty-dark.png?raw=true)

## 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Agents and Projects sidebar readability and stable row interactions

1 participant