Repository navigation
Conversation
A checkout with no tab used to say only "No terminal open". It now draws the focused project as a map: the project at the centre, each checkout on a ring, each agent orbiting its checkout, delegated children hanging off their parent on dashed edges, and a pull request as the checkout's outward edge in its state colour. Node size follows recency, fill and mark follow the core's status, and labels are always drawn. Layout is a deterministic force simulation in ProjectHomeGraphLayout that runs only when the topology key changes and then stops; positions are cached per node id in the session so a status change moves nothing and a new node settles beside its parent. Labels that still cross after rest are nudged around their parent. Selecting a node shows its depth-two neighbourhood and dims the rest; Whole project returns to the full map. Hover narrows to a node's own neighbours and shows a card. A header carries the four group counts, Start new terminal and the way back; an attention rail lists Needs You and Done, one click to find the node, a second to open its pane. Project Home also opens over a checkout with tabs from the tab strip's leading control, View > Project Home (⇧⌘H), and closes on Escape or on any action that opens a pane. The flag is session-local on ShellModel.
… scale Size the checkout ring from each checkout's agent orbit and widest label, hang delegated children above their agent, and give every label the width it has at the smallest fit so the layout's separation holds once drawn. Clamp the fit between Home.minScale and Home.maxScale with the label face scaling only down to Home.labelMinFontScale, and scroll from the centre. Fold the header counts to mark and number below the rail collapse width and while the stale notice needs the room. Host the canvas offscreen in a test for the hover card and the twelve-checkout fit.
…neath it The map is layered over the pane content and pans and zooms on the wheel. PaneCommandWindow handed the wheel to the terminal under the pointer unless an NSScrollView sat above it; a view that owns the wheel without scrolling now says so through PaneWheelOwner, so the map keeps the wheel instead of scrolling the hidden terminal.
…as chips Fit the map up to Home.maxScale, scaling a small map up and a large one down with no floor; nodes, rings and the label face scale with it, and a Needs You agent gets a soft warning halo. Below labelThresholdScale the map thins its labels to checkout hubs and Needs You / Done agents, and Working / Seen labels return on hover and when zoomed back in; the rule lives in drawsLabel with a test. A new ProjectHomeInput overlay pans (drag or wheel) and zooms (pinch or Cmd-scroll about the pointer); a double-click or the header Fit control resets, and the session view cache keeps zoom and pan across reopen. The local-graph dimming no longer starts on entry: the focused agent takes the selection ring and the whole map stays lit until the operator clicks a node or a rail row. A checkout opens whenever it exists on disk, so the primary checkout opens from the map. The pull-request node and dot are replaced by a chip track under each hub - N changed, ahead/behind, PR #n coloured by state - with unknown values hollow or omitted.
… fitted The scale-1 separation clears labels on paper, but the fitted map draws them larger than the space it cleared, so labels that were clear at scale 1 cross a neighbour once fitted. A final pass resolves the remaining crossings in screen space at the fitted scale: of any two labels that still cross, the lower-priority one is dropped and returns on hover or zoom. Priority is hub, Needs You, Done, then Working or Seen; a hub is never dropped.
Contributor
Author
|
Superseded by #124. |
yansfil
added a commit
that referenced
this pull request
Sep 21, 2026
Related: PRD `agents/prd/home-tasks/prd.md`; supersedes #111 and #112. ## Summary - 빈 체크아웃과 Project Home 오버레이에서 Tasks 기본 보드와 요청별 Agents 보드를 제공합니다. - git 사실로 전달 단계를 정하고, 질문·오류와 위임 관계는 카드 안에 표시합니다. - GitHub 이슈 연결·닫힘·Project Status 차이와 열린 이슈 백로그를 읽기 전용으로 표시합니다. - 직접 이슈 연결은 기존 purpose 저장 경로로 보존하며, 저장·해제 결과는 보드에서 처리합니다.   ## Review - **판단해 주세요**: 승인된 조용한 판의 정보 밀도, 한글 제목 두 줄과 긴 브랜치 생략, Tasks/Agents 전환. - **조심해서 볼 파일**: `runtime/issues.rs`, `worktree_control.rs` - token/Git 부분 실패와 정리; `github.rs` - 읽기 경계와 200개 상한. - **조심해서 볼 파일**: `ProjectHomePresentation.swift`, `ShellModel.swift` - 요청 소유권, 스냅샷 갱신과 작업 완료 처리. ## Evidence - **리뷰 결과**: 두 독립 리뷰가 완료됐고, 총 7개 Fix now는 수정·재검증했습니다. 최종 리뷰에 남은 Fix now는 없습니다. - **확인한 것**: Rust 848개·Swift 531개 테스트, lint와 디자인 계약 통과; 기존 Rust 9개 무시 항목은 실행하지 않았습니다. - **확인한 것**: 격리된 실제 macOS 창에서 두 뷰, 직접 연결·해제, 권한 없는 기본 이슈 조회와 한글 줄바꿈을 확인했습니다. - **확인한 것**: 앞선 빌드에서 닫힌 이슈와 조회 실패 후 사실 유지를 확인했고, 최신 회귀 테스트가 부분 실패·분기 전환을 검사합니다. - **확인하지 못한 것**: 네이티브 키보드·hover·외부 브라우저·연결 끊김과 모든 Done/Seen 흐름; 화면의 GitHub 사실은 합성 fixture입니다. - **후속 확인**: 교차 체크아웃 자식, 워크트리 삭제, 연결 저장 후 재시작과 동일 부하 성능 측정은 추가 네이티브 증거가 필요합니다. - **생성물**: 디자인 라이브러리는 Home 토큰 4개의 동기화만 포함합니다. <details><summary>Verification record</summary> - PRD: `agents/prd/home-tasks/prd.md` (sha256 9881cac494ffea8b9fa977c5eee10ae3218586c27efc3b7d3c2a480f0c64a87a) - Base 1a56b8e → head e5017bd, verified 2026-09-20T17:44:38.928Z: PASS - Verification report: `agents/runs/home-tasks/verification-report.json` and `agents/runs/home-tasks/verification-report.md`; source fingerprint 1b75205748b099f6d7c5c01b85328f4c5f7cc1b623d3689787123e5d07ea2e79 - 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) - Fidelity review: available at `e5017bd`; no remaining Fix now. B1 terminal Retry creation, B2 modal-aware Escape, and B8 Working detail suppression fixed and rechecked. - Code review: available at `e5017bd`; no remaining Fix now. B18 branch-switch cleanup, B12/B17/B25/B29 optional Project fallback and independent read retention, B15/B18 unchanged-versus-uncertain save failure, and detached-to-removed ownership fixed and rechecked. - Follow-up improvements: expand native keyboard, tooltip, external browser, child layout, lifecycle, disconnect, deletion and restart evidence; matched-load performance remains unmeasured. - Screenshot provenance: captured at `61527c8`; final commit only retains backend cleanup ownership while detached. - Assumptions: equal-priority cards retain snapshot order; common Korean/English Project Status aliases match Git stages; no-pane manual links use branch config when no workspace exists; Home uses shared 288/148/6/12 tokens. - Evidence: 3 registered (2 screenshot, 1 file); paths are local to the run directory - agents/runs/home-tasks/native/tasks-final-crop.png - agents/runs/home-tasks/native/agents-final-crop.png - agents/runs/home-tasks/native-observations.md - Changed paths: 36 (see Files changed) </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
체크아웃에 탭이 없을 때 보이던 "No terminal open" 문장을 Project Home으로 바꾸고, 같은 페이지를 탭 스트립 앞의
square.grid.2x2컨트롤과 View > Project Home (⇧⌘H)로 탭 위에도 오버레이로 엽니다.Home은 프로젝트를 별자리로 그립니다: 프로젝트 노드가 중심, 체크아웃이 링 위에, 에이전트가 자기 체크아웃 주위에, 위임된 자식이 부모 위에 놓입니다.
2차 리뷰 반영으로 지도 자체를 다시 만들었습니다:
캔버스를 채웁니다. 핏이 큰 지도는 줄이고 작은 지도는
Home.maxScale(1.8)까지 키웁니다(바닥 없음). 노드·링·라벨 글꼴이 함께 스케일하고, 노드 크기를 키웠습니다(에이전트 8/9/11, 허브 14→18).Needs You에이전트에는attentionHaloScale(3x)의 부드러운 경고 후광이 붙어 라벨보다 먼저 읽힙니다.12/30이 더는 "바퀴 위를 스크롤"하지 않습니다. 전체 지도가 들어가고,
Home.labelThresholdScale아래에서는 라벨을 체크아웃 허브와 Needs You / Done 에이전트로 솎아냅니다. Working / Seen 라벨은 hover와 확대 시 돌아옵니다. 새 AppKit 오버레이ProjectHomeInput으로 팬(빈 캔버스 드래그, 휠)과 줌(핀치,⌘-스크롤)을 넣었고, 더블클릭이나 헤더Fit이 리셋하며, 세션 뷰 캐시가 줌/팬을 유지합니다. 라벨 가시성 규칙은ProjectHomePresentation.drawsLabel에 테스트와 함께 있습니다.Whole-project로 진입합니다. 진입 시 포커스 페인의 에이전트에만 선택 링이 붙고 지도 전체는 밝게 유지됩니다. 로컬 그래프 흐림은 노드나 레일 행을 명시적으로 클릭할 때 시작하고
Whole project가 해제합니다.존재하는 체크아웃은 모두 엽니다.
canOpen = exists: 워크트리 레코드가 없는 primary 체크아웃도 지도에서 열립니다. 코어가 나열하지만 디스크에서 사라진 워크트리만 hollow로 남고 열리지 않습니다.체크아웃 상태를 칩으로. 허브 아래 브랜치 라벨은 그대로, 둘째 줄은 트랙 순서의 칩입니다:
N changed(더럽면 경고),↑ahead ↓behind, PR 상태 색의PR #n(기존 PR 노드/점을 대체). 모르는 값은 hollow이거나 생략하며 지어내지 않습니다.핏 프레임의 라벨 겹침 제거. scale-1 분리는 종이 위에서 라벨을 벌리지만, 핏된 지도는 라벨을
fontScale크기로scale간격 위에 그려서 12/30에서 다시 겹칩니다(prd/home-graph·fix/launch-alert·feature/labels허브 위의 에이전트 라벨). 인스턴스가 아니라 클래스를 고쳤습니다: 핏 스케일의 화면 좌표에서 마지막 충돌 패스를 돌려, 여전히 겹치는 두 라벨 중 우선순위가 낮은 쪽을 떨어뜨리고 hover·줌에서 되돌립니다(허브 > Needs You > Done > Working/Seen, 허브는 절대 안 떨어뜨림).새 파일
ProjectHomeInput.swift(포인터 오버레이). 지도가 페인 콘텐츠 위에 얹히므로PaneCommandWindow의 휠 라우팅에PaneWheelOwner프로토콜을 더해, 지도가 아래 터미널을 스크롤하는 대신 휠을 가집니다.Related
agents/prd/home-graph/prd.md(Hypothesis A, Constellation).Review focus
20-twelve-thirty.png). 남은 판단은 이 지도가 목록 대비 "1차 뷰"로서 값을 하는가입니다. 현재 답은 "강한 2차 뷰, 무난한 1차 뷰"이며 경고 후광과 레일이 '무엇이 나를 필요로 하나'를, 지도가 '어디서 어떻게'를 답합니다.agents/runs/home-graph/RESULT.md에 근거를 정리했습니다.ProjectHomeGraphLayout.swift의seeds/separateLabels/chipFrames와ProjectHomeFit(위로 키우는 핏, 포인터 기준 줌 변환),ProjectHomeInput.swift(백그라운드 창에서 hover를 받는 트래킹 영역),PaneShortcutSettings.swift의 휠 라우팅(PaneWheelOwner).Risk surface
selectAgent,selectCheckout,openPullRequest,addTab만 보냅니다. Rust 변경 없음.PaneCommandWindow.sendEvent의 휠 경로에 타입 검사(view is PaneWheelOwner) 한 번이 늘었습니다. 제스처당 히트테스트를 한 번만 하도록 기존 라우팅 캐시를 그대로 씁니다. 지도 팬/줌은 뷰 로컬 상태 변경이며 코어를 거치지 않습니다.aWheelOwnerLayeredOverATerminalKeepsTheWheel가 회귀를 잡습니다.⊘와Herdr reconnecting을 보입니다.Evidence
bash scripts/verify-swift.sh test488개 통과. 3차 신규 테스트noTwoDrawnLabelsCrossOnceTheTwelveCheckoutMapIsFitted는 12/30을 기본 두 패널 캔버스(528×795)에 핏하고, 드롭 전에는 후보 라벨이 겹치는데 드롭 후에는 그려진 어떤 두 라벨도 겹치지 않으며 모든 허브가 라벨을 유지하고 떨어진 라벨은 hover에서 돌아옴을 확인합니다. 새/바뀐 테스트:drawsLabel의 임계값 라벨 솎기, 위로 키우고 아래로 줄이는 무바닥 핏, 포인터 기준 줌과 팬 변환, 칩 트랙,canOpen = exists, depth-2 흐림이 클릭에서만 시작, 12 체크아웃 핏+줌 오프스크린 렌더.node scripts/check-design-contract.mjs(check-pen 포함)와 모든 셸 게이트,check-no-attribution.py통과.git diff --stat -- design/hide.pen은 변수값과 Foundations만 바뀌고Screen /보드 변화 없음. Rust 미변경으로 cargo·herdr-contract 미실행.HERDR_SESSION/HERDR_SOCKET_PATH/HERDR_CONFIG_PATH/XDG_*, 번들 herdr, 시작 전 빈 workspace)에 상태를 넣은 픽스처 위, 후보 앱을--verification-background로 띄우고 창을 운영자 창 밖으로 옮긴 뒤 창 ID로 캡처. 운영자 앱(PID 64947)과 서버는 건드리지 않았습니다. 캡처(로컬agents/runs/home-graph/native/):11-overlay-nine.png(4/9 핏, 허브·칩),20-twelve-thirty.png(2차의 성과, 3차에서 정리 - 12/30 전체가 한 프레임에 들어가고 세 개의 핏-프레임 라벨 겹침이 사라져 허브 위에 에이전트 라벨이 없음),20-zoomed-crop.png(우하단 클러스터 확대: 허브 확대와 핏에서 떨어졌던 Working/Seen 라벨 복귀, 겹침 없음),16-hover.png(네이티브 포인터 hover 카드 + 이웃 흐림, 커서 워프로 확인),17-pan.png(휠 팬),18-zoom-in.png(⌘-스크롤 줌인),15-rail-selected.png(레일 선택 → 링 +Whole project),12-narrow-960.png(최소폭, 카운트 마크+숫자),30-solo-one-one.png(1/1, 위로 키움).10)의 새 캡처. 빈 상태는 열린 workspace가 없는 존재하는 체크아웃에만 뜨는데, 꽉 찬 픽스처에서 그 행은 AX가 zero-frame 가상 요소로 노출해 안정적으로 클릭하기 어렵습니다. 상태 자체는ProjectHomePresentation에서 단위 테스트되고, 진입 크롬은 1차와 같으며(10-empty-state-nine.png), 그리는 지도는11-overlay-nine.png와 같은 뷰입니다. 1차13/14/21(끊김/재연결)도 2차 이전 지도를 보여줍니다. (2) 기본 창에서 4/9의 85% 목표는 폭 제약으로 미달(~0.76); 위로 키움은 테스트·solo·좁은 창으로 확인. (3) 키보드 진입(⇧⌘H, Escape) 네이티브는 로컬 모니터 정책으로 단위 테스트만.AI tooling
손으로 확인한 것: 위 네이티브 캡처를 각각 열어 라벨 겹침·잘림·칩 렌더·후광·hover 카드·줌 스케일을 눈으로 대조했고, 12/30 밀도에서 남은 라벨 겹침을 확인했습니다. 스크롤이 오버레이에 닿지 않던 문제를
PaneWheelOwner로 고쳐 네이티브에서 팬/줌을 재확인했습니다.