Skip to content

Bundle hcoord as a Herdr plugin and project checkout lineage - #207

Merged
yansfil merged 17 commits into
mainfrom
prd/hcoord-plugin
Sep 27, 2026
Merged

yansfil merged 17 commits into
mainfrom
prd/hcoord-plugin

Conversation

@yansfil

@yansfil yansfil commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Related: PRD agents/prd/hcoord-plugin/prd.md · follows #188 · fixes sasu#10, sasu#11

Summary

  • Move hcoord from sasu into an independently installable Herdr plugin, sourced from 399fb59.
  • Bundle the plugin with the Electron app and converge per-home daemon and LaunchAgent setup without requiring Node at runtime.
  • Project local and remote parent-child checkout lineage into the Projects sidebar with the approved folded child rows and device chip.
  • Keep remote spawn deadlines and stop-start convergence inside the plugin while preserving actionable failures and bounded work.

Projects sidebar with Overview, folded lineage, expanded checkout child, origin context, and device identity

Packaged Electron app in an isolated home with the lineage row and device affordance

Review

  • 판단해 주세요: Overview 아래의 접힌 자식 체크아웃 행과 device-name chip이 작업 맥락을 충분히 빠르게 전달하는지 봐 주세요.
  • 조심해서 볼 파일: herdr-core/src/{wire.rs,session_sync/projection.rs} - wire ownership과 runtime mutex 밖의 projection 갱신.
  • 조심해서 볼 파일: plugins/hcoord/src/hcoord/{service,remote}.ts - idempotent restart, bounded remote output, spawn uncertainty 경로.
  • 조심해서 볼 파일: desktop/src/main/hcoord.ts - 패키지 내 실행 경로와 소유권 정리.

Evidence

  • 확인한 것: 현재 HEAD에서 hcoord unit 30개, E2E 26개, web unit 412개, desktop unit 41개와 충돌 접점 통합 E2E 3개가 통과했습니다.
  • 확인한 것: CI의 71/72 strict-locator 실패를 재현하고 origin/main UI A/B와 수정 후 targeted PASS로 원인과 해결을 구분했습니다.
  • 확인한 것: main adadce76을 병합해 숫자 키캡과 hcoord folded-lineage를 같은 Agents 행에 보존했고, 봉인 검증과 세 최종 리뷰가 정확한 병합 HEAD에서 통과했습니다.
  • 확인한 것: 최종 PR HEAD에서 static-design, desktop, hcoord, repository invariants, Rust, Web Shell, aggregate verify 7개 CI 체크가 모두 통과했습니다.
  • 확인한 것: 최종 HEAD의 Rust workspace test와 lint, 현재 패키지의 archive checksum과 deep codesign 검증이 통과했습니다.
  • 확인한 것: 격리 HOME, HCOORD_HOME, private Herdr socket, Node 없는 PATH에서 packaged app을 실행했고 운영 앱 PID는 유지했습니다.
  • 확인하지 못한 것: 실제 login reboot, public plugin install, mini 간 연결은 안전 경계 때문에 격리 fixture로 대체했습니다.
  • 확인하지 못한 것: remote desktop SSH E2E 1개는 조건부 skip이고 Peekaboo 권한이 없어 Playwright Electron 캡처를 사용했습니다.
  • 생성물: scripts/pen-screens.mjs로 design/hide-screens.pen을 재생성했고 design contract과 HEAD diff를 확인했습니다.
Verification record
  • PRD: agents/prd/hcoord-plugin/prd.md (sha256 17c8f49fe695feb8d798dc79a4b5bf79390be38f77f210de65a248434e4fdb87)
  • Base adadce7 → head c7ddcf5, verified 2026-09-27T14:51:17.291Z: PASS
  • Verification report: agents/runs/hcoord-plugin/verification-report.json and agents/runs/hcoord-plugin/verification-report.md; source fingerprint b0457c86b5c9eda0f3e10da5bffc07d2c97290014e271cd80424870e2de8c2e1
  • Suites:
    • S1: GREEN bash scripts/verify-cargo.sh test (exit 0)
    • S2: GREEN bash scripts/verify-cargo.sh lint (exit 0)
  • Reviews:
    • Fidelity at c7ddcf5: PASS for B1-B32, no must-fix; live login and public install remain isolated or fixture-backed.
    • Code at c7ddcf5: PASS, no must-fix or follow-up.
    • Security at c7ddcf5: PASS, no security, privacy, or process-isolation must-fix.
  • Evidence: 16 registered (6 screenshot, 3 log, 4 image, 3 file); paths are local to the run directory
    • agents/runs/hcoord-plugin/artifacts/visual/packaged-lineage-light.png
    • agents/runs/hcoord-plugin/artifacts/visual/packaged-lineage-dark.png
    • agents/runs/hcoord-plugin/artifacts/visual/process-and-isolation.json
    • agents/runs/hcoord-plugin/artifacts/visual/screen-main.png
    • agents/runs/hcoord-plugin/artifacts/visual/screen-projects-sidebar.png
    • agents/runs/hcoord-plugin/artifacts/final/packaged-projects-light-3b7c316e.png
    • agents/runs/hcoord-plugin/artifacts/final/packaged-projects-dark-3b7c316e.png
    • agents/runs/hcoord-plugin/artifacts/final/projects-sidebar-lineage-3b7c316e.png
    • agents/runs/hcoord-plugin/artifacts/final/process-and-isolation-3b7c316e.json
    • agents/runs/hcoord-plugin/artifacts/final/screen-main-3b7c316e.png
    • agents/runs/hcoord-plugin/artifacts/final/screen-projects-sidebar-3b7c316e.png
    • agents/runs/hcoord-plugin/artifacts/final/package-3b7c316e.sha256
    • agents/runs/hcoord-plugin/artifacts/final/projects-sidebar-lineage-ba1bd09e.png
    • agents/runs/hcoord-plugin/artifacts/final/package-ba1bd09e.sha256
    • agents/runs/hcoord-plugin/artifacts/final/package-b8f7ab01.sha256
    • agents/runs/hcoord-plugin/ci/delegated-checkout-ab.md
    • agents/runs/hcoord-plugin/ci/main-adadce76-integration.md
  • Changed paths: 91 (see Files changed)

@yansfil
yansfil merged commit 93ec155 into main Sep 27, 2026
7 checks passed
@yansfil
yansfil deleted the prd/hcoord-plugin branch September 27, 2026 15:17
yansfil added a commit that referenced this pull request Sep 27, 2026
…th (#208)

Related: PRD `agents/prd/sidebar-typography/prd.md`

## Summary

- Projects 사이드바의 글자가 크기·굵기 단계 없이 비슷해 프로젝트, 체크아웃, 에이전트가 한눈에 갈리지 않았습니다.
- 보드 v7에서 고른 E-mid로 맞췄습니다: 13/600 · 12/400 · 11, 행 높이 프로젝트 36 · 체크아웃
32/48 · 에이전트 28/44, 헤더는 10/500 문장형.
- 체크아웃은 purpose가 있을 때만 두 줄이고, 이름의 첫 `/`까지 접두사는 흐리게 그립니다.
- 사이드바는 Appearance 글자 크기를 따르지 않고, 오른쪽 가장자리를 끌어 220-440 너비를 정하며 코어
`ui_state.sidebar_width`에 저장됩니다(더블클릭은 292).
- Pen 라이브러리 네 마스터와 Screen / Projects Sidebar, 문서 세 개를 같은 수치로 고쳤습니다.

![왼쪽 main, 오른쪽 이 브랜치(292, dark): 프로젝트 13/600, 체크아웃 12/400과 흐린 접두사, 문장형
헤더, 행
높이](https://github.com/yansfil/pr-assets/blob/main/hide/sidebar-typography/8f6a005/before-after-dark-292.png?raw=true)

## Review

- **판단해 주세요**: 대표 이미지에서 11px 둘째 줄(purpose, 시간)이 충분히 읽히는지.
- **판단해 주세요**: 드래그 중에는 사이드바만 가운데 위로 겹쳐 따라오고 가운데와 터미널은 놓을 때 한 번
리사이즈됩니다(포인터 이동마다 PTY 리사이즈를 막으려는 해석).
- **판단해 주세요**: Agents 목록의 그룹 헤더도 같은 10/500 문장형이 됐습니다(같은 마스터 O79KF).
- **판단해 주세요**: D-10은 `--size-compact-agent-row-vpad` 삭제였지만 Pen
`Component / Agent identity`가 참조해 남겼습니다.
- **조심해서 볼 파일**: `herdr-core/src/runtime/events.rs` - runtime mutex 안의
`ui_state_update`; 범위 밖 값은 `last_error`가 아니라 diagnostic으로 거부.
- **조심해서 볼 파일**: `herdr-core/src/persistence.rs` - 저장 형식에
`sidebar_width` 추가, serde default로 이전 저장을 292로 읽음.
- **조심해서 볼 파일**: `web/src/sidebar.tsx` `SidebarEdge` - high-frequency
path; pointermove는 nav의 CSS 변수만 바꾸고 이벤트는 놓을 때 하나.
- **조심해서 볼 파일**: `scripts/gen-tokens.mjs` - 생성 규칙
`.interface-scale-exempt`가 text 토큰을 배율 1로 다시 선언(변수는 선언된 곳에서 풀리므로 nav에
배율만 두면 무효).

## Evidence

- **확인한 것**: 갤러리 12장(dark/light × 220/292/440 × reference/long)을 보드 v7
E-mid, Pen 헤드리스 export와 대조.
- **확인한 것**: 배율 1.25 갤러리 캡처가 배율 1 캡처와 바이트까지 같음(`cmp`); e2e가 글자 크기 17에서
사이드바 글자 크기와 행 기하가 기본값과 같음을 단언.
- **확인한 것**: 격리된 hided + private Herdr e2e가 드래그 중 `ui_state_update`와
`terminal_resize` 0회, 놓을 때 1회, 220/440 경계, 새로고침 유지, 더블클릭 292를 단언.
- **확인한 것**: 코어 테스트 3개(재시작 후 유지, 보낸 값 거부는 로그로, 저장된 범위 밖 값은 292로 열림),
vitest 402, `verify-cargo.sh test`/`lint`, `verify-web.sh`,
`check-design-contract.mjs` 통과.
- **확인하지 못한 것**: Electron 데스크톱 창은 띄우지 않았습니다. 실제 앱 캡처는 격리된 hided가 서빙한 셸을
Playwright Chromium으로 찍은 것입니다.
- **확인하지 못한 것**: 전체 e2e는 66d55015에서 72/73(글자 크기 대기 race 1건)였고, 수정 뒤에는
사이드바 두 스펙만 다시 돌렸습니다.
- **확인하지 못한 것**: 리사이즈 핸들의 키보드 경로는 PRD 비목표라 없습니다.
- **병합**: main의 #207이 체크아웃 둘째 줄에 raised-from 부모를 더해, 둘째 줄은 purpose나 그
부모가 있을 때만 그립니다(에이전트만으로는 한 줄).
- **생성물**: `design/hide-ui.lib.pen`, `design/hide-screens.pen`,
`web/src/tokens.css`는 스크립트 생성 diff입니다(라이브러리는 base JSON에 스크립트로 이식, 구조
diff로 네 마스터와 변수만 바뀜 확인).

<details><summary>추가 증거</summary>

![오른쪽 가장자리를 440 너머로 끌 때: 경계에서 멈추고 놓기 전까지 가운데 위에
그려짐](https://github.com/yansfil/pr-assets/blob/main/hide/sidebar-typography/8f6a005/drag-crop.png?raw=true)

</details>

**AI tooling**: 대부분 AI 도구 - 행 높이와 글자 단계는 사람이 Pen 보드 v1-v7에서 고른 E-mid이고,
캡처를 그 보드와 대조했습니다.

<details><summary>Verification record</summary>

- PRD: `agents/prd/sidebar-typography/prd.md` (sha256
313f696f0cb07ff06dc982ba76c6672046c1fb60a9bc9506a8e8f21b15f975b4)
- Base 7b1ae02 → head 2ddba7f, verified 2026-09-27T15:31:35.649Z: PASS
- Verification report:
`agents/runs/sidebar-typography/verification-report.json` and
`agents/runs/sidebar-typography/verification-report.md`; source
fingerprint
50839c1f5b8c2d8bcd34c1e2e9eb459947cb3ac5536e007468d4477f126f4529
- Suites:
  - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0)
  - S2: GREEN `bash scripts/verify-cargo.sh lint` (exit 0)
- Reviews:
- Fidelity @ 66d5501: PASS, B1-B16 MET; D-10
편차(`--size-compact-agent-row-vpad` 유지)는 수용; Fix now 없음.
- Code @ 66d5501: FAIL, Fix now 2건. (1) `--size-compact-agent-row-vpad`
삭제 요구: 유지, Pen `Component / Agent identity`(HXWFK) 패딩이 참조하고 그 마스터는 D-11의
네 장 밖. (2) `--size-control-regular` 고아: 522b2dac에서 삭제.
- Code 후속 @ 8f6a005 (diff 66d5501..8f6a005): PASS, 두 처분과 e2e 대기 수정
확인.
- Fidelity 후속 @ 8f6a005 (diff와 실제 앱 캡처 6장): PASS, Fix now 없음; 커서 모양은
캡처가 아니라 e2e의 computed style로 증명됨.
- 병합 후속 @ ebe843e (origin/main의 #205 병합, diff 8f6a005..ebe843e):
PASS, 사이드바 변경과 겹치는 경로 없음, 충돌 해소 편집 없음.
- 병합 후속 @ 2ddba7f (origin/main의 #206/#207/#209 병합, 충돌 4건 해소): PASS, Fix
now 없음. #206 hold 키캡과 #207 raised-from·기기 칩 유지; 체크아웃 둘째 줄은 purpose 또는
raised-from 부모가 있을 때만(에이전트만으로는 한 줄, D-04 유지). Follow-up: PRD D-04 표현에
raised-from 확장 반영(사람 승인 필요).
- Evidence: 22 registered (21 screenshot, 1 log); paths are local to the
run directory
-
agents/runs/sidebar-typography/evidence/gallery/sidebar-dark-220-reference-x1.png
-
agents/runs/sidebar-typography/evidence/gallery/sidebar-dark-220-long-x1.png
-
agents/runs/sidebar-typography/evidence/gallery/sidebar-dark-292-reference-x1.png
-
agents/runs/sidebar-typography/evidence/gallery/sidebar-dark-292-long-x1.png
-
agents/runs/sidebar-typography/evidence/gallery/sidebar-dark-440-reference-x1.png
-
agents/runs/sidebar-typography/evidence/gallery/sidebar-dark-440-long-x1.png
-
agents/runs/sidebar-typography/evidence/gallery/sidebar-light-220-reference-x1.png
-
agents/runs/sidebar-typography/evidence/gallery/sidebar-light-220-long-x1.png
-
agents/runs/sidebar-typography/evidence/gallery/sidebar-light-292-reference-x1.png
-
agents/runs/sidebar-typography/evidence/gallery/sidebar-light-292-long-x1.png
-
agents/runs/sidebar-typography/evidence/gallery/sidebar-light-440-reference-x1.png
-
agents/runs/sidebar-typography/evidence/gallery/sidebar-light-440-long-x1.png
-
agents/runs/sidebar-typography/evidence/gallery/sidebar-dark-292-reference-x1.25.png
  - agents/runs/sidebar-typography/evidence/pen/psb-sidebar-l.png
  - agents/runs/sidebar-typography/evidence/pen/psb-sidebar-d.png
- agents/runs/sidebar-typography/evidence/e2e/projects-sidebar-dark.png
- agents/runs/sidebar-typography/evidence/e2e/projects-sidebar-light.png
-
agents/runs/sidebar-typography/evidence/e2e/projects-sidebar-large-font.png
- agents/runs/sidebar-typography/evidence/e2e/sidebar-width-dragging.png
  - agents/runs/sidebar-typography/evidence/e2e/sidebar-width-440.png
  - agents/runs/sidebar-typography/evidence/e2e/sidebar-width-220.png
-
agents/runs/sidebar-typography/evidence/e2e/full-run-before-race-fix.txt
- Changed paths: 130 (see Files changed)

</details>
yansfil added a commit that referenced this pull request Sep 27, 2026
…a hover card (#210)

Related: PRD `agents/prd/checkout-pr-glyph-card/prd.md`

## Summary

- 체크아웃 행의 PR 아이콘이 버튼이 됩니다: 클릭은 앞 워크스페이스의 hide 브라우저 탭에서, ⌘-클릭이나 앞 워크스페이스가
없을 때, 원격 체크아웃은 기본 브라우저에서 PR을 엽니다.
- 행에 포인터를 올리거나 키보드 포커스를 두면 카드가 열립니다: 배지·번호·Open PR·제목 아래
Review/Checks/Branch/Agents/Commit/Path 중 값이 있는 행만 그립니다.
- PR이 없으면 헤더 없는 카드, 값이 하나뿐이면 기존 텍스트 툴팁, 폴더가 사라진 체크아웃은 "Folder missing"
헤더와 Path만 보입니다.
- 행의 컨텍스트 메뉴에 "Open pull request #n"이 들어가고, Pen 라이브러리에 `Component / PR
hover card`와 Projects Sidebar hover 상태 시트가 추가됩니다.
- 카드와 힌트는 shell의 Escape 레이어가 아닙니다: 행 위에 포인터가 머물러도 터미널이 받을 Escape를 가로채지
않고, shell이 소비한 Escape는 열린 힌트를 함께 닫습니다.

![PR이 있는 체크아웃 행에 포인터를 올리면 열리는 카드: 배지·번호·Open PR, 제목, 값이 있는
행만](https://github.com/yansfil/pr-assets/blob/main/hide/checkout-pr-glyph-card/6762e77/crop-card-dark.png?raw=true)

![워크스페이스가 앞에 있을 때 글리프 클릭은 그 워크스페이스의 브라우저 탭에서 PR을
연다](https://github.com/yansfil/pr-assets/blob/main/hide/checkout-pr-glyph-card/6762e77/crop-display.png?raw=true)

## Review

- **판단해 주세요**: 카드 배지를 보드의 채운 pill 대신 shell의 outline `Badge`로 그렸습니다(색은
D-08 매핑). 대표 이미지에서 이 선택이 보드 의도에 맞는지 봐 주세요.
- **판단해 주세요**: house(primary) 체크아웃에 PR이 있으면 글리프는 그대로 두고 카드와 메뉴만 PR을 보여
줍니다.
- **판단해 주세요**: Commit 행은 "2h ago"처럼 읽고, 방금 커밋은 "now"입니다.
- **조심해서 볼 파일**: `web/src/keyboard.ts` - shell이 소비하는 Escape가 열린 힌트를 함께
닫습니다. 힌트는 레이어가 아니어서 터미널의 ESC를 막지 않지만, 소비된 키는 Radix 툴팁에 닿지 않기 때문입니다.
high-frequency path는 아니고 Escape에만 붙습니다.
- **조심해서 볼 파일**: `web/src/components/ui/tooltip.tsx` - `Hint`와 카드가 같은
`useHintOpen`을 씁니다. 약 70개 `Hint` 호출 지점의 press/blur 동작이 그대로여야 합니다.
- **조심해서 볼 파일**: `web/src/actions.ts` - `openPullRequest`는 앞 워크스페이스의
`openBrowser`를 재사용하고 그 외에는 `window.open`으로 host의 `setWindowOpenHandler`에
맡깁니다. 새 IPC와 core 이벤트는 없습니다.
- **질문**: 사이드바를 스치는 동선에서 500ms 뒤 열리는 카드가 너무 잦게 느껴지는지, 실제 사용에서 봐 주세요.

## Evidence

- **확인한 것**: vitest web 407개 + desktop 39개 통과.
`checkoutCard`/`pullRequestBadge`/`shownPullRequest`/`checkoutMenu`/`folderMenu`의
D-07~D-12 규칙과, 행 글리프·카드 배지의 아이콘 일치(draft under review 포함)를 단위 테스트로 고정.
- **확인한 것**: 새 web e2e `checkout-pr.spec.ts`(고립 Herdr + debug hided +
fake `gh` + 로컬 PR 페이지): 글리프 버튼, 카드 행 내용, hover 시 행 geometry 불변, 카드 위 포인터
유지, Escape 닫힘, All projects에서 팝업, Workspace에서 브라우저 탭 열기·재사용, ⌘-클릭 팝업, 메뉴
항목과 키보드 선택 뒤 카드 재오픈 없음, main 행의 plain 카드, Overview에서 Escape가 카드와
Overview를 함께 닫음.
- **확인한 것**: web e2e 전체 74개 통과(31486b9), 병합 head ef5ff2c에서는 사이드바 관련 11개
spec과 palette spec 2회, 39fce2e에서는
checkout-pr·projects-sidebar·sidebar-status·sidebar-width·delegated-checkout·overview
6개 spec 통과, `sasu implement verify` PASS(`verify-cargo.sh test`/`lint`),
`check-design-contract.mjs` 통과, `gen-pen.mjs` diff 없음, Pen 라이브러리 구조
diff는 시트 1개 추가, `hide-screens.pen`은 origin/main 대비 Projects Sidebar 시트만
다름.
- **확인한 것**: 31486b9의 CI web shell은 `palette.spec.ts`의 no-match 단언 하나로
실패했습니다. 이 PR은 팔레트를 건드리지 않고, 로컬에서 2회 통과했습니다(로그 등록). 그 블록은 ⌘K 직후 입력 포커스를
기다리지 않고 타이핑하는 기존 경쟁 상태라 느린 러너에서 재현되는 플레이크로 봅니다.
- **확인하지 못한 것**: Electron 데스크톱 앱의 `window.open` → `shell.openExternal`
경로는 코드로만 확인했고 앱을 띄우지 않았습니다. 원격(SSH) 체크아웃의 기본 브라우저 분기도 테스트가 없습니다.
- **확인하지 못한 것**: 실제 GitHub PR로는 돌려보지 않았습니다(fake `gh`). draft이면서 review
배지인 조합은 core가 만들지 않아 단위 테스트로만 고정했습니다.
- **확인하지 못한 것**: 로컬 verify 한 번은 `hide-agent-hooks` deadline 테스트(1.5s 벽시계
상한)가 load 12에서 1.89s로 실패했고 재실행에서 통과했습니다. 이 PR은 그 크레이트를 바꾸지 않습니다.
`projects-sidebar.spec.ts`도 fixture의 `git commit` 실패로 한 번 떨어진 뒤 재실행 통과.
`sidebar-width.spec.ts`는 병합 전에 빌드된 debug hided(core에 `sidebar_width`가
없음)로 한 번 떨어졌고, hided를 다시 빌드한 뒤 통과.
- **생성물**: `design/hide-ui.lib.pen`에 `Component / PR hover card` 시트 1개,
`design/hide-screens.pen`의 Projects Sidebar 시트에 hover 상태 프레임이 스크립트로
추가됐습니다. 아래 접힌 블록의 Pen export를 보세요.

<details><summary>추가 증거</summary>

![같은 카드의 라이트
테마](https://github.com/yansfil/pr-assets/blob/main/hide/checkout-pr-glyph-card/6762e77/crop-card-light.png?raw=true)

![Pen 라이브러리의 Component / PR hover card 시트: 마스터와 상태별 인스턴스, 글리프 hover
링](https://github.com/yansfil/pr-assets/blob/main/hide/checkout-pr-glyph-card/6762e77/pr-card-sheet.png?raw=true)

![Projects Sidebar 시트의 hover 상태 프레임: 행 옆에 카드가 놓이는
자리](https://github.com/yansfil/pr-assets/blob/main/hide/checkout-pr-glyph-card/6762e77/psb-hover-d.png?raw=true)

</details>

**AI tooling**: 대부분 AI 도구. 손으로 대조한 것: e2e 캡처와 보드 6번 섹션, 리뷰 지적 5건의 수정
diff.

<details><summary>Verification record</summary>

- PRD: `agents/prd/checkout-pr-glyph-card/prd.md` (sha256
aaaed5881b8905958c012f2a92b8506504a9345eee1a5e2a089554bbbc0453f8)
- Base 17a14c0 → head 39fce2e, verified 2026-09-27T16:11:59.003Z: PASS
- Verification report:
`agents/runs/checkout-pr-glyph-card/verification-report.json` and
`agents/runs/checkout-pr-glyph-card/verification-report.md`; source
fingerprint
06ae70b1fd27180fe442c254aaa0f914126223548f5f5309a8126bb633cfe2dd
- Suites:
  - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0)
  - S2: GREEN `bash scripts/verify-cargo.sh lint` (exit 0)
- Reviews:
- Fidelity (head 182ad33): Fix now 없음. Follow-up: Review 행 문구가
`pullRequestBadge`와 중복(e07367b4에서 한 표로 합침), 폴더 행 메뉴의 PR 항목 미검증(테스트 추가),
행 버튼 aria-label이 툴팁 설명을 덮는 기존 동작(이 PR 범위 밖, 그대로 둠).
- Code (head 182ad33): Fix now 4건 - hover 카드가 Escape 레이어로 터미널의 Escape를
가로챔, `useMemo`에 갇힌 Commit 나이, draft under review 아이콘 불일치, blur 가드 누락으로
메뉴 닫힘 뒤 카드 재오픈 - 모두 e07367b4에서 수정. Follow-up: press 상태 훅 공유(적용), 아이콘 매핑
공유(적용), 빈 PR url 가드(미적용, core가 빈 url을 보내지 않음), 글리프 픽셀 위 hover는 카드를 열지
않음(그대로 둠, 기존 FoldToggle과 같은 구조).
- Code follow-up (head e07367b): Fix now 1건 - Overview에서 shell이 소비한
Escape가 Radix에 닿지 않아 카드가 남음 - 6762e77a에서 수정(열린 힌트를 shell에 등록, 소비 시 닫음).
재검토(head 6762e77): Fix now 없음, Follow-up 없음.
- 마지막 리뷰 뒤의 커밋: origin/main 병합 세 번(36ea272; ef5ff2c; 39fce2e: #208 뒤
sidebar.tsx·projects.test.ts·pen-screens.mjs·hide-screens.pen 충돌을 #208의
행 높이와 이 PR의 글리프·카드 양쪽 유지로 해소; #207/#209 뒤
sidebar.tsx·pen-screens.mjs·hide-screens.pen 충돌을 양쪽 유지로 해소, Pen은 스크립트로
재생성)과 스토어 필드 이름 변경(31486b9, `hints` → `tooltips`)은 제품 동작 변경이 없어 별도 리뷰 없이
verify와 web e2e 전체를 다시 돌렸습니다.
- Evidence: 8 registered (6 screenshot, 2 log); paths are local to the
run directory
-
agents/runs/checkout-pr-glyph-card/artifacts/screens/checkout-pr-card-dark.png
-
agents/runs/checkout-pr-glyph-card/artifacts/screens/checkout-pr-card-light.png
-
agents/runs/checkout-pr-glyph-card/artifacts/screens/checkout-pr-display.png
- agents/runs/checkout-pr-glyph-card/artifacts/design/pr-card-sheet.png
  - agents/runs/checkout-pr-glyph-card/artifacts/design/psb-hover-d.png
  - agents/runs/checkout-pr-glyph-card/artifacts/design/psb-hover-l.png
-
agents/runs/checkout-pr-glyph-card/artifacts/e2e/palette-run-1-ef5ff2cd.log
-
agents/runs/checkout-pr-glyph-card/artifacts/e2e/palette-run-2-ef5ff2cd.log
- Changed paths: 136 (see Files changed)

</details>
yansfil added a commit that referenced this pull request Oct 29, 2026
…d stages (#1837)

Closes with-hide/hide-private#252
Related: with-hide/hide-private#221, with-hide/hide-private#171,
with-hide/hide-private#135, with-hide/hide-private#207,
with-hide/hide-private#216

## Summary

On Windows a right-click on a terminal link also opened the link, beside
the menu: a folder link revealed its folder and an HTML link loaded its
page again.
xterm opens a link on the release of any mouse button, and on Windows
the right-click menu appears after that release; now a right-click opens
only the menu, and the primary and middle buttons open links as before.
Separately, the first page a test opens on Windows sometimes stays
`loading` for the whole 10 s `--wait`, and nothing said where it
stopped.
Each load the core asks for now logs when its route came, when it
committed and when its own load call settled, against that load alone,
with the display, the native page id and the time; the browser spec
records the native page's own state when that first wait gives up.

스크린샷 없음: the shell change is which mouse button opens a terminal link;
nothing drawn changes.

## Review

- **조심해서 볼 파일**: `web/src/terminalLinkProvider.ts` - both link paths
(detected and OSC 8) go through one `opens(event)` check, which refuses
only the right button.
- **조심해서 볼 파일**: `desktop/src/main/browser.ts` - each `load()` holds its
own `CoreLoad`; a commit counts only after its own `loadURL`, its stop
is that call's promise, a newer load or failed route ends it; three
lines per core-asked load.

### Per issue

- #252 terminal-links "terminal HTML opens a rendered page": fixed at
the cause above; the spec now also asserts one `browser_open`, which a
right-click activation adds on Windows every run.
- #221, #171, #135, #207 (browser.spec first `--wait` open stays
`loading`, status 2): cause not proven yet. Host log shows
`view_created`/`page_visible` then nothing for 10 s, no route or load
failure; core log has no stale-report refusal, so the core got `loading`
and never `loaded`. Only the first page of a fresh profile fails. This
PR adds the evidence that names the stage.
- Their older signature, `shellPage` 30 s in `fixture.ts`, is the
desktop startup flake handled by the flaky2-win-desktop change.
- #216 reveal-external (rail tool click left unpressed): last seen
2026-10-20, before the rail was rebuilt (#1552); not touched here.

## Evidence

- **확인한 것**: web unit test that a right-click's release opens no link
fails without the fix and passes with it.
- **확인한 것**: macOS desktop e2e 1/2 failed once fetching the pinned Herdr
(`curl: Failed to connect to github.com`); its rerun passed.
- **확인한 것**: desktop unit tests: a reopen waiting for its route while
the earlier load commits and stops, two checkouts' same id and load told
apart by `contents`, a failed route then a page navigation; all three
fail on the previous code.
- **확인한 것**: web unit tests: right button opens nothing, primary and
middle open; ⌘-click on macOS, Ctrl-click on Windows/Linux still open
externally.
- **확인한 것**: Windows desktop e2e 19/19, no flaky test, in three runs: PR
verify 40852660304 and nightly `lane=windows` 40857562866 on e09dc15,
PR verify 40873166675 on 1b89a27 (all jobs green).
- **확인하지 못한 것**: the stage of the stuck first load: neither Windows run
reproduced it; the issues say how to read the next failure.
- **확인하지 못한 것**: nightly 40857562866 failed `agent journey fake model
(windows)` on `guidance_memory`; untouched by this diff, passed on
main's 10-28 nightly, not checked on current main.
- **확인하지 못한 것**: the full web unit suite locally (67 failures at load
average ~300 on this Mac, not read); CI's web unit lane passed on
1b89a27.

<details><summary>Verification record</summary>

- Head 1b89a27; CI tested merge bf853d1 (1b89a27 into main
1849300), PR verify 40873166675: success, every job.
- Earlier head e09dc15: PR verify 40852660304 success after one rerun
of the macOS desktop job (github.com unreachable fetching Herdr);
nightly `lane=windows` 40857562866: desktop and web e2e green, `agent
journey fake model (windows)` failed on `guidance_memory`, outside this
diff.
- Local (this Mac, load 100-300): web and desktop typecheck and lint
pass; desktop unit 297 passed; `terminalLinkProvider.test.ts` 43 passed;
`browser.test.ts` 26 passed.
- Not run: desktop e2e locally (no build on this disk), Windows locally
(no Windows host).
- Limit: the stuck first page load did not recur in three Windows runs,
so its stage is still unproven; #221, #171, #135 and #207 stay open with
the reading guide.

</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.

hcoord 원격 herdr 호출 제한 시간이 로컬 기준 2초라 --machine spawn 이 항상 spawn_uncertain

1 participant