Repository navigation
Split Agent tabs into persistent, resizable groups - #217
Merged
Merged
Conversation
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.
yansfil
added a commit
that referenced
this pull request
Oct 28, 2026
…dows shell never draws (#1810) Closes with-hide/hide-private#200 Related: with-hide/hide-private#116, with-hide/hide-private#117, with-hide/hide-private#154, with-hide/hide-private#312 ## Summary Linux desktop nightly가 매일 실패하던 원인을 고치고, Windows web e2e에서 첫 화면이 안 그려지는 flaky의 원인을 다음 실패에서 알 수 있게 기록합니다. - #200: Herdr 화면에는 줄바꿈 표시가 없어서, 줄 끝까지 꽉 찬 주소는 다음 줄 첫 단어로 이어진다고 읽습니다. Linux에서는 이 테스트의 pane이 정확히 29칸이고 `http://127.0.0.1:PORT/a.html`도 29자라, 다음 줄 `osc8`이 주소에 붙었습니다. 주소 다음 줄을 비워 폰트 폭과 무관하게 했습니다. - #116, #117(같은 증상 #123 #133 #146 #217): Windows에서 shell이나 프로젝트 줄이 20초 안에 안 그려집니다. 남은 증거로 원인을 확정하지 못해 이 PR에서 닫지 않습니다. `enterWorkspace`의 대기가 실패하면 페이지 상태, 각 요청의 응답, 응답 없이 끝난 요청(최대 32개, Chromium의 이유 포함)을 failure dump로 남깁니다. 통과한 테스트는 아무것도 출력하지 않습니다. - #154: #1650(4fc9b8c)이 이미 고쳤습니다. 이후 flaky 3건은 모두 그 수정이 없는 커밋이고 10-24 이후 재발이 없어, 근거와 함께 이슈를 닫았습니다. ## Review - **판단해 주세요**: #200의 제품 동작은 이 PR에서 고치지 않았습니다. 꽉 찬 URL 뒤에 상관없는 줄이 오면 운영자에게도 틀린 링크가 열리지만, 화면 격자만으로는 진짜 줄 넘김과 구분할 수 없습니다(이어지는 조각도 URL 문자로 시작). Herdr는 `recent_unwrapped`로 그 사실을 알고 있어서, 그것을 링크 판단까지 가져오는 일을 with-hide/hide-private#312로 남겼습니다. - **판단해 주세요**: #116/#117은 원인 수정이 아니라 진단 추가입니다. 분석은 #116, #117 코멘트에 있습니다. - **조심해서 볼 파일**: `web/e2e/wire.ts` - 모든 web spec이 지나는 길입니다. 대기를 감싸기만 하고 timeout, 재시도, 단언은 그대로입니다. - **조심해서 볼 파일**: `web/e2e/failure-dump.ts` - 실패한 요청 기록은 페이지마다 32개 상한이고 페이지가 닫히면 버립니다. 주소의 hash에 daemon token이 있어서 경로만 기록합니다. ## Evidence - **확인한 것**: 10-27 nightly 스크린샷(`terminal-url-menu.png`)에서 주소가 pane 오른쪽 끝에 정확히 닿고 다음 줄이 `osc8`로 시작합니다. 수정 전 9회 nightly가 모두 두 시도에서 받은 값 `.../a.htmlosc8`로 실패했습니다. - **확인한 것**: 361a08faa에서 nightly `lane=linux`를 두 번 dispatch했습니다(40718149961, 40718546910). 두 번 모두 desktop e2e linux 19/19 통과, 고친 테스트 첫 시도 통과, flaky 없음입니다. - **확인한 것**: 같은 커밋의 PR verify(40718258556)가 통과했습니다. 고친 테스트는 macOS와 Windows desktop e2e에서도 첫 시도에 통과했고, desktop·web e2e 모든 shard에 flaky가 없었습니다. - **확인한 것**: 9d7fd7c(실패 요청 버퍼)는 web e2e eslint, 타입 검사, `playwright test --list`(387 tests)가 통과했습니다. CI는 이 커밋에서 다시 돕니다. - **확인하지 못한 것**: 로컬 desktop e2e는 돌리지 못했습니다. 디스크 여유가 759 MiB라 debug build가 불가능해 실행 근거는 모두 CI입니다. - **확인하지 못한 것**: #116/#117의 원인. 다음 Windows 실패의 `[failure dump] shell start` / `project row` 줄이 근거가 됩니다. <details><summary>Verification record</summary> - Base: `8915cb3d8878` (origin/main at branch start) - Heads: `361a08faa` (spec fix and dump), `9d7fd7c38` (failed requests kept for the dump only) - Nightly dispatch `lane=linux` on 361a08f: run 40718149961 success; run 40718546910 desktop e2e nightly-linux success. Both: `✓ terminal-links.spec.ts:420:5 ... @platform`, `19 passed`, `no flaky test in this run`. - PR verify 40718258556 on 361a08f: success. desktop e2e macOS 1/2 and 2/2, windows desktop, web e2e linux 1-6/6, web e2e windows: each `no flaky test in this run`. - Before the fix: nightly runs 39158794370 through 40586138794 (9) failed `terminal-links.spec.ts` on both tries with `Received: ".../a.htmlosc8"`. - Local on 9d7fd7c: `eslint e2e/wire.ts e2e/failure-dump.ts` exit 0; `tsc --noEmit --strict` on both files exit 0; `playwright test --list` 387 tests in 119 files. - #154: last flaky comment 2026-10-23T19:16Z on commits without 4fc9b8c; main 115b63c run 40706855580 desktop e2e macos 2/2 `ok 72 new-tab.spec.ts:130`. </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.
Related:
agents/prd/agent-tab-groups/prd.mdSummary
Agent 탭을 가장자리로 드래그하면 Files View처럼 독립된 탭 바와 라이브 터미널을 가진 영역으로 나뉩니다.
영역 사이 이동, 탭 순서 변경, 분할선 크기 조절, 빈 영역 접기와 재시작 복원을 지원합니다.
View와 Agent가 Rust 분할 트리 및 웹 geometry/drop/drag-session/area-tree 구현을 공유합니다.
대표 이미지는 이전 구현 단계 캡처이며, 최종 통합의 동일 흐름은 별도 실제 포인터 E2E로 확인했습니다.
Review
runtime.rs,session_sync/replica.rs의 생성·외부 포커스·attach 소유권과 닫기 실패 경로.split_tree.rs,AreaTree.tsx의 공유 레이아웃, 빈 영역 접기와 드래그 취소.Evidence
Copy name으로 복원했고, 관련 웹 E2E2/2와 전체 검증을 다시 통과했습니다.AI tooling: 대부분 AI 도구. 실제 포인터 동작·터미널 출력·실패 로그·스크린샷을 구현 설명과 대조했습니다.
드래그 미리보기와 측정 수치
대표 이전 단계 캡처입니다. 최종 통합은 별도 실제 포인터 테스트로 검증했습니다.
같은 머신의1280×813 DPR1 격리 환경, idle3×50마커, driven50마커와 표시 pane당8ms마다 한 줄 출력, CPU/RSS20초·프레임120초입니다.
아래는 모두 배터리·30Hz 기록이며 역사적 AC 기준과 전원이 다릅니다. 무회귀 증명에서 제외합니다.
표시 탭당 추가 비용입니다. 순서는 hided/Herdr/Chrome이며 같은30Hz 한계가 적용됩니다.
60Hz 후보 spot check는 idle1.585/driven18.625ms, AC main은1.165/18.130ms였습니다. 전원 불일치로 동등성을 주장하지 않습니다.
최종 PR-card/credential-sweep 통합은 이 측정 이후 들어왔으므로 최종 소스의 성능 증명도 아닙니다.
Verification record
agents/prd/agent-tab-groups/prd.md(sha256 ef361534e5e9be297a8daa5ffa827a4e1488695c6a50d6076f1c8aff8104833a)549c0e37f9140ccad354fd1f93e081e7208e6d18→ heade9488014b19844b8832bd503603a925f2d095286, verified 2026-09-28T01:36:19.202Z: PASSagents/runs/agent-tab-groups/verification-report.jsonandagents/runs/agent-tab-groups/verification-report.md; source fingerprint cd0dafa767d26233fdb55407067e5a223c25a9fc1b04a1d73c0353b0229b87e0bash scripts/verify-cargo.sh test(exit 0)bash scripts/verify-cargo.sh lint(exit 0)e9488014b19844b8832bd503603a925f2d095286with seven new fixture-budget artifacts and prior complete B1-B30 coverage. No new Fix now; original assertions and product contract unchanged. Exact CI load was not reproduced locally; CI closure pending. B29 remains UNPROVEN and native CI pending.e9488014b19844b8832bd503603a925f2d095286; only a comment and file-level 180s budget were added. Audited both new heavy specs; no sleeps, retries or assertion changes. No new Fix now; a stalled click may now consume the remaining 180s cap. Upstream#216 remains deferred and unfixed.3567d0cdce24763defaea4d114cc173328a66ab4is historical; latest integrated main is549c0e37f9140ccad354fd1f93e081e7208e6d18. Actual PR delta is79 paths; the generated249-path count below includes incoming main since the sealed base.git diff --name-only 9b3a1d9689d93b65e2d7c137f3fdf755444a8040..HEADlists258 paths.agents/config.jsondefines no custom staging allowlist, so the delivery default is verifiedownedFilesplus this PRD directory. All249 non-agents paths are in verifiedownedFiles; this PRD is authorized. The remaining8 PRDs are inherited from main and byte-identical to the merge-base, not PR additions.agents/prd/agent-tab-groups/prd.mdis the onlyagents/path. No run artifact, screenshot, browser profile or other unexpected path is included.b5f5edc4restores shippedCopy namein exactly three files; fixes desktop tab-names.spec.ts:27 timeout from run36335634921. Rebuilt hided; verify-web passed429 web/41 desktop unit/30 plugin unit/26 plugin E2E tests; agent-tab-names web E2E2/2 passed, design contract passed. No local Electron run; new CI remains required.e9488014adds a180000ms file-level budget toweb/e2e/agent-close-contract.spec.ts, matchingpane-scroll-findandagent-tab-groups. Run36364461551 had81 passing tests and this one overall30000ms timeout duringenterWorkspace; unstable/detached card and setup share that budget, without separately profiled attribution. Both new specs repeated3times passed15/15 in1.6m with zero retries; verify-web passed429/41/30/26 and full verification PASS. No sleeps/assertion changes/global timeout changes. Desktop E2E and the Copy name fix still require a successful new CI run.1ba14e25; current pointer-flow captures remain local-only with their exact hashes and source boundary in the registered record.