Repository navigation
사이드바 탭을 깊이가 아닌 구간으로 그리기 - #1094
Merged
Merged
Conversation
한 checkout의 모든 root가 탭과 무관하게 한 깊이와 한 상태 축에 서고, 탭은 checkout 종류 아이콘 아래의 1px 세로선 구간과 에이전트 둘 이상인 탭 머리의 탭 아이콘으로만 드러납니다. 탭 header 줄, 접기 chevron, 개수, 저장되던 sidebar_collapsed_tabs와 sidebar_tab_expanded 이벤트를 지웁니다. 저장 파일에 남은 값은 읽을 때 무시하고 다음 저장에서 사라집니다. 일반 폴더 줄은 프로젝트 열에 서서 모든 최상위 줄이 한 왼쪽 선을 공유합니다.
yansfil
added a commit
that referenced
this pull request
Oct 14, 2026
Closes #495 ## Summary 사이드바에서 checkout 행을 누른 직후 Overview를 열면, 코어가 그 checkout 전환에 답하는 순간 Overview 레이어가 닫혔습니다. 행 클릭은 전환이 끝날 때까지 "열리는 중"을 기억하고, 끝나면 화면을 Workspace로 되돌리는데, 그 되돌림이 그 사이에 운영자가 연 Overview까지 닫았기 때문입니다. macOS에서는 코어 답이 다음 클릭보다 먼저 와서 드러나지 않았고, Linux CI runner에서는 순서가 자주 뒤집혀 main의 `s2` Overview 왕복 테스트가 90초 timeout으로 실패했습니다 (run 38533163219, 그리고 #1100/#1094/#1098의 Linux shard). 이제 이미 Workspace가 앞에 있으면 전환 완료는 기다리던 열기만 지우고 화면은 건드리지 않습니다. All projects나 Overview 화면에서 연 경우는 전과 같이 Workspace가 앞으로 옵니다. ## Review - **판단해 주세요**: 행 클릭 뒤 운영자가 연 레이어는 운영자 것이므로 전환 완료가 닫지 않는다는 해석. `docs/UI_BEHAVIOR.md` 사이드바 checkout 행 절에 한 문장으로 적었습니다. - **조심해서 볼 파일**: `web/src/App.tsx` - 열기 완료 effect의 failure path. `landed` 분기만 바뀌었고 `cancelled`와 refusal 경로는 그대로입니다. ## Evidence - **확인한 것**: `bash scripts/verify-web.sh web typecheck/lint/test/build` 통과 (176 files, 1558 tests). `web/e2e/s2.spec.ts`와 `web/e2e/overview-modal.spec.ts` 12개 모두 macOS 로컬에서 `--retries=0`으로 통과. 이 PR의 CI Linux shard가 같은 `s2` 테스트를 다시 돌립니다. - **확인하지 못한 것**: Linux에서의 재현은 로컬로 못 했습니다 (macOS에서는 코어 답이 항상 먼저 옵니다). 원인은 CI 아티팩트의 page snapshot (Overview 버튼에 `aria-current` 없음, 레이어 없음)과 코드 경로 (`openWorkspace` -> `beginOpening` -> landed -> `setScreen` -> `overviewOpen: false`)로 추적했습니다. 로컬 e2e의 `hided`/`hide`는 이 PR이 바꾸지 않은 main(ba166d8)의 debug 빌드를 복사해 썼습니다.
yansfil
added a commit
that referenced
this pull request
Oct 15, 2026
… behind one button (#1106) Related: PRD `agents/prd/session-record-redesign/prd.md` · main 0ba63d5(#1094, #1103, #1107, #1109, #1111 포함) 위에 리베이스함 · work-tab-pr-lens는 아직 들어오지 않음 · 판단을 끝난 일로 다시 여는 문제는 #1104 ## Summary - 세션 기록이 PR, 일 체크리스트, 받은 요청을 한 화면에 상태 단어 없이 보여 주고, 놓친 일은 해당 일 밑에 붙습니다. - 운영자가 한 말은 헤더의 말풍선 버튼 하나로 켜고 끕니다. 위임받은 기록에서는 받은 요청이 됩니다. - PR 표시는 어디서나 `#번호`입니다. 가족이 둘 이상인 루트는 번호 없이 개수만 보이고, Sessions 행의 놓친 일 깃발과 `● N`은 없어졌습니다. - 놓친 일은 Sessions 맨 위 `놓친 일 N` 그룹에서 열린 것만 한곳에 모읍니다. - Claude Code의 `/model` 같은 로컬 명령이 운영자의 요청으로 기록되던 문제(`//model`)를 읽는 쪽에서 고쳤습니다.   ## Review - **운영자 결정 (10-14)**: 하위 에이전트가 찾은 놓친 일은 루트 기록 맨 끝에 그 자식 이름과 함께 한 번만 보입니다. 펼친 자식 기록에는 다시 그리지 않습니다. - **운영자 결정 (10-14)**: 끝낸 일이라도 PR이 리뷰 중이면 반원으로 그리고 헤더 `done/total`의 끝난 수에 넣지 않습니다. 끝남은 PR 머지까지입니다. - **조심해서 볼 곳**: #1109와 겹친 Sessions 행과 기록의 자식 행 - 목록 행에는 로고 없이 상태 마크가 먼저 오고, 기록의 자식 행은 제품 이름을 툴팁과 스크린리더 글로만 냅니다. - **조심해서 볼 파일**: `hide-session/src/lib.rs`, `hide-session/src/conversation_cursor.rs` - 명령 기록은 답이 같이 읽히는 poll까지 되감아 기다립니다. 윈도 첫 줄이면 기다리지 않아 리더가 멈추지 않습니다 (failure path, 진행 보장). - **조심해서 볼 파일**: `web/src/SessionRecord.tsx` - 전면 재작성. `web/src/sessionWork.ts`의 `checklist()`가 요청 offset으로 일과 놓친 일을 잇습니다. - **비용 검토**: 상시 작업이나 고빈도 경로를 늘리지 않습니다. 명령 뒤 탐색은 사람이 친 슬래시 명령에서만, 첫 대화 기록에서 멈춥니다. - **운영자 결정 (10-14)**: 한 요청이 두 일에 묶이면 그 말풍선이 두 일 밑에 모두 보입니다. ## Evidence - **확인한 것**: `scripts/verify-cargo.sh` test 와 lint 통과. web 전체 1583개 테스트(리베이스 뒤), `tsc`, eslint, `check-design-contract`, `gen-screens` (이미 생성 결과와 같음, 17장). - **확인한 것**: 리베이스 뒤 격리한 hided와 Herdr에서 Playwright 6개 통과 (session-work-ledger, session-panel, session-tree, sidebar-status). 실제 세션에서 뽑은 명령 기록 fixture로 poll 경계마다 나눠 읽어도 한 번만 읽힘을 확인했고, 되감기와 윈도 경계 테스트는 수정을 빼면 실패합니다. - **확인한 것**: 갤러리 장면을 실제 브라우저로 찍어 Pen 내보내기와 비교했고, 기하 검사에서 넘침과 겹침이 없었습니다 (Dark/Light, 좁은 폭, 긴 한국어). - **확인하지 못한 것**: 말풍선 펼침/접힘은 jsdom에 레이아웃이 없어 단위 테스트가 없고 스크린샷으로만 확인했습니다. 영어 UI, 글자 크기 갤러리, 원격 기기, Windows/Linux, 설치된 앱 라이브 확인은 하지 않았습니다. - **확인하지 못한 것**: 다른 에이전트의 읽기 코드에 명령 모양 기록이 없다는 PRD의 고정 파일 확인은 하지 않았습니다. 폰 대화(`hided/src/mobile/conversation.rs`)와 Memory 읽기는 한 덩어리를 읽어 끝의 명령을 요청으로 볼 수 있고, 아직 갱신되지 않은 기기 helper는 `/model`을 계속 기록합니다. - **확인하지 못한 것**: 판단 실패한 최신 요청이 일하는 동안 `지금`으로 남습니다 (wire에 판단 실패 표시가 없음). - **생성물**: `design/hide-screens.pen`은 생성기로 만든 큰 바이너리 diff입니다. 위 이미지가 결과입니다. <details><summary>추가 증거</summary> Pen 비교와 나머지 상태(말 켜짐, Hide AI 꺼짐, 좁은 폭, Sessions 패널)는 실행 폴더에 로컬로 남겨 두었습니다. </details> <details><summary>Verification record</summary> - PRD: `agents/prd/session-record-redesign/prd.md` (sha256 b7ef799d1e86b3258699f96c692dadffcd4716b171113a150a45c6feb0b00c12) - Base 0ba63d5 → head 68592ae, verified 2026-10-15T01:26:47.515Z: PASS (S1 414.5 s, S2 7.3 s) - Verification report: `agents/runs/session-record-redesign/verification-report.json` and `agents/runs/session-record-redesign/verification-report.md`; source fingerprint ce473e6931ceba4784ffd35034e4d49570f34a930dfabf2bbb491ec7b0b151dc - Suites: - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0) - S2: GREEN `bash scripts/verify-cargo.sh lint` (exit 0) - Reviews (advisory): - Fidelity, head 1bd95fc: 3 Fix now (a child's missed item drawn twice, a bare PR number on the Factory card, no read time on a task's PR button), all fixed in bd379c5. Follow-ups listed in Review. - Code, head bd379c5: no lost or duplicated command found; 5 Fix now (hold without progress guarantee at the read-window edge, its missing test, blank Assigned work section, child `0/0` count, dead strings), all fixed in the next commit. - Follow-up Code, fix commit: 1 Fix now (the retry ignored a reply inside its own window), fixed in the head; a mutation of the fix fails the new test. - Rebase follow-up, `git range-diff 60416ee..5c79d9c 0ba63d5..68592ae`: 4 changed commits, each a conflict with #1109 resolved to its rules (Pen rows without `provider`, `SecondLine` owl prop as on main, record child row title tooltip and screen-reader product name instead of the logo, UI_BEHAVIOR row sentence). No new finding. - Evidence: 7 registered (6 screenshot, 1 log); paths are local to the run directory - agents/runs/session-record-redesign/shots/rest-d.png - agents/runs/session-record-redesign/shots/words-d.png - agents/runs/session-record-redesign/shots/missed-d.png - agents/runs/session-record-redesign/shots/off-d.png - agents/runs/session-record-redesign/shots/narrow-long-d.png - agents/runs/session-record-redesign/shots/panel-d.png - agents/runs/session-record-redesign/e2e.log - Changed paths: 33 (see Files changed) - Delivery: mode pr, branch `gen-prd/session-record-redesign`, base `main` </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.
Summary
?는 한 줄에서 훑어집니다.합성 fixture입니다. 오른쪽에서
hide > main아래 모든 상태 표시가 한 열에 서고, 탭 경계가 세로선 사이의 틈으로 보이는지 봐 주세요.Review
Tab N을 그리지 않는 것이 괜찮은지.web/src/sidebar.tsx-TabSegmentHead가 세로선·아이콘·이름 줄을 그리고, root 들여쓰기는OpenAgentRows한 곳의inset입니다.herdr-core/src/persistence.rs- 지워진sidebar_collapsed_tabs가 저장 파일에 남아 있어도 읽고, 다음 저장에서 사라지는 경로입니다.herdr-core/src/runtime/{events,session}.rs- 접기 이벤트와 세션 정리 호출을 지웠습니다.Evidence
persistence::와sidebar단위 58개,verify-cargo.sh lint(fmt, clippy), web typecheck·lint·단위 1554개가 통과했습니다.check-design-contract.mjs통과, Pen 화면을 렌더링해 240px 절단면과 전체 사이드바를 갤러리와 눈으로 비교했습니다.screencapture창 캡처가 "could not create image from window"로 막혀 compositor 캡처 줄은 CI에 맡겼습니다.7ae9c22cf). 세로선이 행 배경 위에 서고, 목록이 쌓임 맥락을 따로 가져 세로선과 탭 아이콘이 고정된 구역 제목 위로 올라오지 않습니다. 갤러리 240px 두 theme에서 선택·hover 행을 지나도 선이 이어지는 것을 봤습니다. 스크롤 때 구역 제목 아래로 지나가는 모습은 눈으로 보지 않았습니다.design-review.mjs review는 돌리지 않았습니다. 물리 키보드·IME, 실제 remote 장치, 성능 측정은 하지 않았습니다.design/hide-screens.pen은scripts/gen-screens.mjs로 다시 만들었고 Projects Sidebar 시트만 바뀝니다.hide-ui.lib.pen은 탭 부품이 없어 그대로입니다.추가 증거
Breaking change
저장 파일의
sidebar_collapsed_tabs접기 값은 더 쓰이지 않습니다. 남아 있어도 오류 없이 읽고 다음 저장에서 사라지며, 되살릴 접기가 없으므로 사용자가 할 일은 없습니다.