Skip to content

web: group the ⌘K palette in the Swift search form and add the sidebar Search field - #161

Merged
yansfil merged 3 commits into
mainfrom
quick/154-search-palette
Sep 26, 2026
Merged

yansfil merged 3 commits into
mainfrom
quick/154-search-palette

Conversation

@yansfil

@yansfil yansfil commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

Related: Closes #154

Summary

  • ⌘K 팔레트가 kind를 부제로 단 한 줄 목록이라 Swift 검색 화면과 다르게 읽혔습니다.
  • 결과를 Swift 형식 헤더(<project> > AGENTS, WORKSPACE > COMMANDS, WORKSPACES > PROJECTS, WORKSPACES > CHECKOUTS) 아래로 묶었습니다.
  • agent 행은 agent 마크, 제목, 그 아래 상태 줄의 두 줄이고, 선택 행에 ↵, 쿼리 줄에 Esc 키캡이 붙습니다.
  • 사이드바 맨 위에 ⌘K 힌트가 있는 Search 필드를 두었고, ⌘K와 같은 overlay를 엽니다.
  • 검색 소스와 순위는 그대로입니다: 그룹은 가장 잘 맞는 항목이 선 자리에 서고, 그룹 안 순서는 순위 그대로입니다.

판단할 보드: Screen / Palette, Dark

판단할 보드: Screen / Palette, Light

앱 캡처(격리 hided + Herdr), Dark: 사이드바 필드와 기본 그룹

앱 캡처, Light: Workspace가 떠 있을 때 쿼리가 agent 그룹을 명령 위로 올림

Review

  • 판단해 주세요:
    • 이번 PR에서 판단할 항목은 Screen / Palette 보드(위 첫 두 장)입니다. 보드를 먼저 그리고 바로 구현했으니, 보드를 고치면 코드도 따라 고칩니다.
    • 헤더 문구: 명령은 Swift에 없어 WORKSPACE > COMMANDS로 지었고, 어느 프로젝트에도 없는 agent는 AGENTS입니다.
    • Workspace가 화면에 있고 쿼리가 비면 명령 17개가 agent보다 먼저 옵니다(순위 비변경 계약으로 기존 순서 유지).
    • agent 행은 AgentMark만 재사용했습니다. AgentRowItem은 자체 버튼, 폴드, popover를 가진 li라 cmdk option에 못 들어갑니다.
    • 팔레트 행은 Overview 보드처럼 보드에 로컬로 그렸고 라이브러리 part로 올리지 않았습니다. 승인 뒤 승격할지 정해 주세요.
  • 조심해서 볼 파일:
    • web/src/components/ui/command.tsx - System part. 선택적 trailing 슬롯만 더했고 기본 렌더링은 같습니다(⌘P도 Esc 키캡을 얻음).
    • web/src/sidebar.tsx, design/hide-screens.pen - web: weekly usage chips and popover in the sidebar footer #153/#155와 공유. sidebar는 import와 한 줄, pen은 Palette 시트만 바뀜.
    • web/src/search.ts - groupEntries가 순위를 바꾸지 않는지.
  • 질문: UI_BEHAVIOR는 ↑/↓가 끝에서 멈춘다고 하지만 팔레트는 이 변경 전부터 loop로 순환합니다. 어느 쪽이 맞나요?

Evidence

  • 확인한 것:
    • pnpm --dir web test 39파일 327테스트 통과: 헤더, 마크 소스, 그룹 순서, 그룹 뒤에도 최선 매치가 첫 행인지.
    • pnpm --dir web e2e 61개 전부 통과(11.3분, 격리 hided + pinned Herdr 0.9.1, 기존 s3/s6/s7 팔레트 흐름 포함).
    • 새 palette.spec.ts: 사이드바 필드와 ⌘K가 같은 overlay, 헤더 순서, 마크와 제목 아래 상태 줄, ↵가 그룹 경계를 넘어 화살표를 따라감.
    • 같은 spec: Esc 뒤 필드로 포커스 복귀, Enter가 해당 pane으로 focus_pane, no-match 한 줄, Light 캡처.
    • typecheck, lint, check-design-contract.mjs, design node 테스트 51개, scripts unittest 39개, identity/shortcut 체크 통과.
    • hide-screens.pen에서 Palette 외 7개 시트와 변수 블록이 main과 같음을 JSON으로 비교했습니다.
    • 코드 리뷰와 요구사항 충실도 리뷰: Fix now 없음.
  • 확인하지 못한 것:
    • desktop(Electron) e2e: desktop/ 변경이 없고 같은 웹 셸을 띄우므로 돌리지 않았습니다.
    • cargo/swift lane: Rust/Swift 변경 없음.
    • agent 수십 개의 긴 목록 스크롤과 긴 한글 제목 truncation은 fixture agent 두 개로만 봤습니다.
    • SSH 디바이스 컨텍스트의 그룹핑은 로컬과 같은 contextWorkspaces/contextAgents 소스라 따로 재지 않았습니다.
  • 생성물: design/hide-screens.pen의 큰 diff는 scripts/gen-screens.mjs가 buildPalette로 생성한 것이고, 결과는 위 보드 이미지입니다.

AI tooling: 대부분 AI 도구. 보드 export와 앱 캡처를 Dark/Light로 눈으로 대조했고, 그룹 순서 규칙은 단위 테스트로 대조했습니다.

…rch field

Each search entry carries its header and an agent its mark kind; groupEntries
stands a group where its best entry ranked, so ranking is unchanged. Agent rows
show the mark, the title and the state line under it, the selected row shows
the return key, the query row an Esc keycap, and the sidebar field opens the
same overlay as the shortcut.
@yansfil
yansfil merged commit 1cfe411 into main Sep 26, 2026
7 checks passed
@yansfil
yansfil deleted the quick/154-search-palette branch September 26, 2026 02:46
yansfil added a commit that referenced this pull request Sep 26, 2026
Brings in the ⌘K palette (#161), weekly usage (#162) and the desktop
app's macOS pane chords (#160).

The desktop bridge keeps both sides: `reportBindings` from #160 beside
`browser`, the channels of both, and the e2e's bridge keys list all
four. The bindings listener now uses the host's one shell-frame check,
`fromShell`, which the browser channels already use. main's new
shortcut import test no longer names the removed `chromux_enabled`.
The contract carries both sides and web/src/generated/hided-ws.ts is
the generator's output; the design library holds both parents' boards,
the browser toolbars sheet from this branch and the weekly usage sheet
from main.
yansfil added a commit that referenced this pull request Sep 26, 2026
Closes #155

## Summary

웹 페이지를 Herdr browser pane(chromux screencast) 대신 View area의 display로
엽니다.
core는 `DisplayKind::Browser`로 어떤 페이지가 어디 있는지를, desktop 앱 main process는
display마다 하나인 `WebContentsView`로 페이지 자체를 소유합니다.
여는 길은 `hide browser open <url|path>`, Explorer의 Open in Browser(HTML
파일), 페이지의 새 창, toolbar 주소창입니다.
⌘K, 메뉴, dialog, 탭 드래그가 페이지를 덮으면 페이지를 캡처한 still로 바꿔 overlay가 위에 그려지고, 일반
브라우저 탭에서는 조용한 안내와 Open in browser만 보입니다.
chromux 경로(`plugins/browser`, core `chromux.rs`/`pane_content.rs`, Swift
`Browser*.swift`, `BrowserPaneOpener`)는 지웠습니다.

![두 View area에 나란히 뜬 native 페이지, 페이지 안 입력란에 한글이 들어간
상태](https://github.com/yansfil/pr-assets/blob/main/modakbul-gongbang-hide/quick-155-browser-display/browser-two-areas.png?raw=true)
![⌘K palette가 still로 얼린 페이지 위에 그려진
상태](https://github.com/yansfil/pr-assets/blob/main/modakbul-gongbang-hide/quick-155-browser-display/browser-palette-frozen.png?raw=true)
![로드 실패: 주소와 Chromium 사유,
Reload](https://github.com/yansfil/pr-assets/blob/main/modakbul-gongbang-hide/quick-155-browser-display/browser-load-failed.png?raw=true)
![일반 브라우저 탭의 안내와 Open in
browser](https://github.com/yansfil/pr-assets/blob/main/modakbul-gongbang-hide/quick-155-browser-display/browser-plain-tab.png?raw=true)

## Review

- **판단해 주세요**: toolbar와 상태 보드(`p0Do2`, Browser file diff toolbars)는 사람
승인 없이 그렸습니다. 모양과 문구를 봐 주세요.
- **판단해 주세요**: 다운로드는 Chromium 기본 동작(Downloads에 저장, 로그
`browser.download`만)입니다. 확인 창이나 위치 제한이 필요한지.
- **판단해 주세요**: checkout 안 `file:` 페이지가 제 링크로 checkout 밖 파일로 이동하면 그
view에는 보이고, core 기록만 boundary에서 거절됩니다(재실행 시 마지막 허용 주소). 페이지 이동도 막을지.
- **판단해 주세요**: 페이지에 포커스가 있을 때 창 단축키는 앱 메뉴가 가진 것만 동작합니다. 페이지 컨텍스트 메뉴는
없습니다.
- **조심해서 볼 파일**: `desktop/src/main/browser.ts`, `browserSync.ts` -
failure path와 수명: 페이지 생성/숨김/파괴, 12개 live cap, IPC 신뢰 검사.
- **조심해서 볼 파일**: `hided/src/server.rs` `browser_url`,
`hided/src/file_url.rs` - 경계: `file:` URL을 decode해 checkout root 검사 후
검사한 경로로 다시 씀.
- **조심해서 볼 파일**: `herdr-core/src/runtime/view_areas.rs` - runtime mutex
안의 일: open/navigate/state 기록, receipt 8개 cap, I/O 없음.
- **조심해서 볼 파일**: `herdr-core/src/model.rs` - snapshot wire: display의
`url`/`title`/`load`, `status.browser_opens`, `status.chromux` 삭제.
- **질문**: `hide browser open`은 실패 시 JSON을 찍고 exit 2입니다(기존 `hide` CLI
관례). agent가 쓰기에 이게 맞는지.

## Evidence

- **확인한 것**: `desktop/e2e/browser.spec.ts`가 직접 띄운 desktop 앱과 private
hided, 격리된 Herdr(`HERDR_SOCKET_PATH`)에서 한 흐름을 끝까지 돕니다.
- **확인한 것**: CLI `--pane`으로 열기, native view bounds = slot bounds, 한글
`insertText`, split과 창 resize에서 renderer pid와 페이지 마커 유지.
- **확인한 것**: ⌘K 동안 보이는 view < 2와 still 표시, Escape로 복귀, 주소 입력과 Back,
`window.open`이 새 display(창 1개 유지).
- **확인한 것**: `127.0.0.1:1` 실패 안내와 Reload, Explorer의 `리포트 1.html` 열기,
checkout 밖 파일 `outside_checkout` 거절.
- **확인한 것**: display 닫으면 renderer 종료, 재실행 후 Page A 복원, 일반 브라우저 탭 안내. 캡처는
창 id로 찍었고 운영자 앱은 건드리지 않았습니다.
- **확인한 것**: cargo fmt/clippy와 1277개 테스트, Swift 533개, web 329개, desktop
29개, design contract, workstation identity 등 정적 gate.
- **확인한 것**: Code, Fidelity, Security 리뷰 모두 Fix now 없음. follow-up 중 web
상태 map 정리와 stale report 진단은 이 PR에서 반영했습니다.
- **확인한 것**: head `3f6b1ee6`에서 PR check 7개(`verify` run 36211315961의 job
6개와 Design contract)가 모두 통과했고, runner에서 desktop e2e 6개가 통과했습니다.
- **확인한 것**: 직전 run 36209912790은 runner 화면이 1024pt라 View area가 좁아 Split
right가 비활성으로 떨어졌습니다. spec이 창을 1024x640으로 고정해 확인합니다.
- **확인한 것**: split과 resize 단계는 Views only에서 Explorer를 숨긴 채 돕니다. 로컬
1024x640에서 실패를 먼저 재현한 뒤 browser spec 3/3, desktop e2e 6/6을 통과시켰습니다.
- **확인한 것**: 같은 조사에서 제품 버그를 하나 고쳤습니다. 주소창에 포커스한 뒤 한 프레임 안에 입력하면 새 주소가 기존
주소 뒤에 붙었는데, 이제 전체 주소를 같은 commit에서 선택합니다.
- **확인한 것**: #160, #161, #162가 들어온 main을 merge commit `e4cffeb3`로 합쳤습니다.
충돌은 desktop bridge(`reportBindings`와 `browser`를 함께 유지), channel,
preload, e2e bridge 키, ARCHITECTURE 한 줄이었습니다.
- **확인한 것**: main의 새 테스트가 지워진 `chromux_enabled`를 쓰고 있어 고쳤습니다.
`hided-ws.ts`는 generator 출력과 같고, 디자인 라이브러리는 두 부모의 보드(`p0Do2`, weekly
usage)를 모두 가집니다.
- **확인한 것**: merge 뒤 로컬에서 cargo lint와 테스트 1283개, web unit 346개, web e2e
62/62, desktop unit 31개, desktop e2e 8/8(#160의 keys spec 포함)이 통과했습니다.
- **확인한 것**: merge head `e4cffeb3`에서 PR check 7개(`verify` run
36213739656의 job 6개와 Design contract)가 모두 통과했고, runner에서 web e2e 63개와
desktop e2e 8개가 통과했습니다.
- **확인한 것**: #163이 들어온 main(`83321656`)을 merge commit `8a2ce77d`로 다시
합쳤습니다(충돌 없음, desktop/core 변경 없음). 로컬 web typecheck, lint, unit 352개, e2e
63/63이 통과했습니다.
- **확인한 것**: head `8a2ce77d`에서 PR check 7개(`verify` run 36215350833의 job
6개와 Design contract)가 모두 통과했고, runner에서 web e2e 63개와 desktop e2e 8개가
통과했습니다.
- **확인하지 못한 것**: 실제 macOS 한글 IME 조합(후보창, 조합 중 백스페이스)은 `insertText`로만
확인했습니다.
- **확인하지 못한 것**: 설치된 앱에서의 동작과 원격 device checkout의 Open in Browser 비활성
상태는 코드와 단위 테스트로만 확인했습니다.
- **확인하지 못한 것**: desktop e2e의 `lifetime` 테스트가 재실행 중 한 번 firstWindow
timeout으로 실패했고 재시도 3번은 통과했습니다(이 변경 전부터 있는 흐름).
- **생성물**: `design/hide-ui.lib.pen`의 `p0Do2` 시트 하나만 바뀌었습니다(Pen 헤드리스로
생성).

## Breaking change

- 이 빌드가 `workspace-views.json`에 browser display를 저장한 뒤 이전 빌드로 되돌리면, 이전
빌드는 그 파일을 읽지 못해 옆으로 치우고 Main에서 시작합니다.

**AI tooling**: 대부분 AI 도구. e2e 스크린샷, 리뷰 결과, 문서와 코드의 대응을 손으로 대조했습니다.
yansfil added a commit that referenced this pull request Oct 15, 2026
Related: PRD `agents/prd/overview-device-tasks/prd.md` · #1136 (먼저 들어간
Work 탭), #1127 (시안)

## Summary

Overview가 프로젝트마다 따로 있던 화면(Project Overview, Issues 보드, Agents 그래프, 대화
기록)을 기기 하나의 한 페이지로 바꿉니다.
탭은 `Tasks · 백로그 · Projects`입니다: 일감(루트 에이전트와 그 자손, 워크트리, PR)을 프로젝트별 카드로,
백로그를 프로젝트의 이슈 출처 하나(GitHub 이슈 또는 메모)로, 프로젝트 상태와 디스크를 한 줄씩 보여 줍니다.
백로그는 양식 없이 바로 쌓입니다: 입력칸, `⌘⇧M` 빠른 추가, 세션 기록의 놓친 일 `백로그로`. GitHub에는 제목만
가고, 끊긴 응답을 다시 시도해도 이슈는 하나만 생깁니다.
`되돌리기`는 시작 전이고 Hide가 만든 항목에만 있습니다: 메모는 지우고, Hide가 만든 이슈는 닫고, 남이 만든 이슈는
core가 거절합니다.
에이전트 pane 머리(상태 점, 로고, 제목)를 누르면 그 세션 기록이 레인에 열리고 키보드는 터미널에 남습니다.

![Tasks (Hide 테마): Needs You, 일하는 중, 자식 · PR · 이슈 · 메모 칩, 오른쪽에 기록
상세](https://github.com/yansfil/pr-assets/blob/main/hide/overview-device-tasks/3e3edae/tasks-hide-dark.png?raw=true)

## Review

- **판단해 주세요**: Tasks 카드의 정보 밀도(첫 줄 상태와 제목, 둘째 줄 자식 · PR · 항목 칩, 셋째 줄 단계
막대)가 한눈에 읽히는지.
- **판단해 주세요**: 놓친 일 `백로그로`는 놓친 문장을 그대로 GitHub 이슈 제목으로 씁니다. 공개 저장소면 버튼에
`공개`, 모르면 `공개일 수 있음`이 붙습니다.
- **조심해서 볼 파일**: `herdr-core/src/runtime/backlog.rs` - failure path.
GitHub 쓰기, 재시도 수렴, 큐 상한, 되돌리기의 core 거절.
- **조심해서 볼 파일**: `herdr-core/src/links/ledger_store.rs` - 만들기 기록이 재시작과
core 이동 뒤에도 "Hide가 만든 이슈"의 근거입니다.
- **조심해서 볼 파일**: `herdr-core/src/agent_state/tally/` - runtime mutex 안의
일. 일감 투영과 디스크 측정이 lock 밖에서 도는지.
- **조심해서 볼 파일**: `herdr-core/src/runtime/backlog.rs`의
`spawn_backlog_worker` - 모든 백로그 워커가 이 하나로 돌고, panic도 실패 답으로 끝나 칸이
`working`에 남지 않습니다.
- **조심해서 볼 파일**: `hided/src/demand.rs`의 `OriginHolds` - 창마다 연 항목 출처를
세고(창당 8), 마지막 창이 놓거나 연결이 끊길 때만 core에 닫기를 보냅니다.
- **조심해서 볼 파일**: `herdr-core/src/runtime/session.rs`의
`resync_navigator_focus` - 저장된 선택이 없을 때의 시작 checkout. 노드가 없다고 답한 폴더만
건너뛰고, 모두 없으면 예전처럼 첫 checkout.
- **조심해서 볼 파일**: `hide-node-link/src/protocol.rs` - Herdr/core
ownership. node protocol 35(main의 33 `feedback`, 34 `guardrail_policy`
다음), 지운 호출.
- **비용 검토**: 디스크 측정은 Projects 탭이 보일 때만 기기별로 차례로 돕니다. 일감 투영은 스냅샷 입력이 바뀔
때만 다시 계산합니다.

## Evidence

- **확인한 것**: `cargo test`와 lint 통과(herdr-core, hided, hide-node-link
nextest, `sasu verify` 최종 head PASS). 웹 vitest 1590개, 데스크톱 typecheck ·
lint · unit, 디자인 계약 검사 통과.
- **확인한 것**: 웹 e2e 72개(겹치는 스펙 전부)와 데스크톱 e2e 14개가 #1136 병합 전 head에서 통과.
최종 head(4648838)에서 다시 빌드한 셸로 영향 받은 스펙 10개 파일 50개 테스트
통과(lane-last-tool, overview-device, overview-modal, s2, s6, s7,
interface-language, session-panel, session-work-ledger, work-prs).
- **확인한 것**: 실제 GitHub(테스트 저장소)에서 제목만 있는 이슈 생성, 끊긴 응답 뒤 재시도가 같은 이슈로 수렴,
되돌리기가 그 이슈를 닫음. 만든 이슈는 모두 닫음.
- **확인한 것**: 리뷰(요구사항, 코드, 보안)의 수정 항목은 모두 고쳤고, 새 core 테스트는 각각 수정을 빼면 실패함을
확인.
- **디스크**: 10-16 새벽 이 Mac 디스크가 가득 차(여유 1-6 GB) 로컬 검증 두 번이 빌드 공간 부족으로
멈췄고, 공간이 난 뒤 최종 head에서 `sasu verify`(전체 Rust 테스트와 lint)가 통과했습니다.
- **부하 실패**: load average 25-30에서 hided
`node_session_activity::serve_preserves_kit_protocol_alongside_activity`(새
프로세스 EAGAIN, 두 번)와 hide-host
`gh::tests::timed_out_gh_and_its_pipe_holding_helper_are_terminated`(3초
안에 셸이 pid를 못 씀, 한 번), hide-ai
`search_path::claude_found_by_name_answers_its_probe_its_usage_read_and_its_request`(`auth_deadline`,
한 번)가 실패했고, 혼자 돌리면 각각 3/3 통과합니다. 이 PR은 세 테스트와 그 코드를 건드리지 않습니다. CI 결과는 아래
댓글로 남깁니다.
- **CI 빨강 세 개 고침(4648838)**: (1) policy checks:
`web/e2e/shard-durations.json`이 지운 s8 테스트 둘을 아직 적고 있었음(246f360). (2)
web e2e `agent-tab-names`: 기록 버튼이 로고를 `aria-hidden`으로 만들어 `Claude Code`
이름으로 로고를 못 찾음. 로고가 버튼 안에서도 제 제품 이름을 갖게 함(5455c78). 로컬 web e2e
`agent-tab-names`, `overview-device` 5개 통과. (3) desktop e2e
`restoration`: 저장된 선택이 없을 때 창이 catalog의 첫 checkout에서 시작하는데, 닫혀 있는 동안 폴더가
옮겨진 탭은 활동 없는 자기 프로젝트 행으로 남고, 그 순서는 경로 해시 id로 정해져 절반쯤 그 빈 프로젝트에서 시작했음.
main에서도 core는 같은 확률로 그 폴더를 골랐고 사이드바가 `fixture`를 위에 그려 가려졌을 뿐임. 이제 시작은
노드가 없다고 답한 폴더의 checkout을 건너뜀(fd318e2). 고치지 않으면 실패하는 core 테스트
`a_start_with_nothing_saved_skips_a_checkout_whose_folder_is_gone`를 더했고,
스펙은 다시 사이드바 첫 프로젝트를 열며 로컬 8/8 통과(고치기 전 약 절반 실패).
- **main 병합(183330c, 다시 #1201 뒤)**: 충돌 해결. node protocol은 main이
33(`feedback`)과 34(`guardrail_policy`)를 먼저 써서 이 브랜치가 35로 올림. #1201 뒤
병합에서 project-settings와 restoration 데스크톱 스펙 4개, protocol · guardrail Rust
테스트 14개 통과. 병합 뒤 web typecheck · lint · vitest 191개 파일, desktop lint,
`cargo check --workspace --tests`, protocol · workspace_view 대상 Rust 테스트
65개, `scripts/tests` 361개, 디자인 계약, Herdr 계약 통과. 디스크가 공유되고 거의 차 있어 전체
nextest와 전체 e2e는 로컬에서 다시 돌리지 않았고 CI가 대신합니다.
- **확인하지 못한 것**: Windows · Linux CI lane은 이 PR의 CI가 처음입니다. Neutral 테마에서
새 화면을 캡처하지 않았습니다(토큰만 씀을 코드로 확인).
- **확인하지 못한 것**: 일감 카드의 PR은 살아 있는 에이전트 행에서 가져옵니다(B10). Pen에서 incoming
카드의 점선이 실선이고, pane 머리 버튼과 놓친 일 `백로그로` 줄은 Pen 시트에 없습니다.
- **스크린샷**: 개발 빌드의 gallery `overview` 장면(`/gallery?scene=overview`)이 지어낸
기기 데이터 위에 실제 컴포넌트를 그린 것입니다. 실제 앱에서 같은 화면을 찍은 것은 아닙니다.
- **생성물**: `design/hide-screens.pen`, `design/hide-ui.lib.pen`은
`scripts/gen-pen.mjs`, `scripts/gen-screens.mjs`가 다시 만든 파일입니다.

<details><summary>화면 더 보기</summary>

![Tasks (Neutral 테마): 같은
화면](https://github.com/yansfil/pr-assets/blob/main/hide/overview-device-tasks/3e3edae/tasks-neutral-dark.png?raw=true)

![백로그: GitHub 이슈와 메모, 놓친 일에서 온 #161 깃발, 만드는 중인 항목, ⌘⇧M 빠른 추가, 입력칸이 한 줄로
맞춰짐](https://github.com/yansfil/pr-assets/blob/main/hide/overview-device-tasks/4648838/backlog.png?raw=true)

![Projects: 0이 아닌 개수만, 측정된 디스크, 여유 공간 경고, 2 merged →
정리](https://github.com/yansfil/pr-assets/blob/main/hide/overview-device-tasks/4648838/projects.png?raw=true)

![pane 머리 기록 버튼: 레인의 Work/Sessions에 그 세션 기록, 놓친 일의
백로그로](https://github.com/yansfil/pr-assets/blob/main/hide/overview-device-tasks/3e3edae/record.png?raw=true)

</details>

<details><summary>후속으로 남긴 것</summary>

- 개발 빌드(StrictMode)에서만 레인의 세션 기록이 열리자마자 닫힙니다(기록이 사라질 때 대상을 지우는 정리,
main에도 있던 방식). 배포 빌드에서는 핀, 핀 풀기, overlay 폭으로 좁히기를 거쳐도 기록이 남는 것을 e2e로
확인했습니다.
- 여러 볼륨 기기의 디스크 여유와 전체가 다른 볼륨에서 올 수 있습니다.
- Hide AI 집 에이전트의 자식은 부모가 목록에 없으니 혼자 일감 카드가 됩니다(Needs You일 때만). 부모 아래로
묶을지는 제품 판단입니다.
- `data-pane-record`는 이제 테스트만 읽습니다.
- 옮길 때 옛 세션 검색 저장소의 보관 기간 행을 상한 없이 읽습니다(운영자 자신의 파일이고 더 늘지 않음).

</details>

## Breaking change

- **node protocol 35**: 기기 helper가 34 이하면 Hello에서 거절되고 다시 설치됩니다. 기기를 연결해
둔 운영자는 앱 업데이트 뒤 기기 재설치를 한 번 거칩니다.
- **대화 기록(Conversation history) 화면과 지난 대화 검색이 없어집니다**: 옛
`session-search.sqlite3`는 지우거나 고쳐 쓰지 않고, 그 안의 프로젝트별 보관 기간만 계속 읽습니다.
- **`⌘⇧A`(사이드바 Agents 모드)가 없어집니다**: 저장된 단축키 설정의 그 키는 무시됩니다.
- **Project Overview, Issues 보드(List, Dependencies, 완료 열), Agents 그래프가
없어집니다**: 같은 일은 기기 Overview와 오른쪽 레인이 합니다.

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

- PRD: `agents/prd/overview-device-tasks/prd.md` (sha256
2c893df06ec44334ffa009a55013f3bbe3e004315a8df7b3df630351a4d7f3c0)
- Base 585cd94 → head 4648838, verified 2026-10-15T16:16:09.193Z: PASS
- Verification report:
`agents/runs/overview-device-tasks/verification-report.json` and
`agents/runs/overview-device-tasks/verification-report.md`; source
fingerprint
f45c399faf2a9dd461a9e1df8af39c5901d241d51480925e5ccfbb7f39fab571
- Suites:
  - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0)
  - S2: GREEN `bash scripts/verify-cargo.sh lint` (exit 0)
- Reviews (advisory):
- Set 1 and set 2 (Fidelity, Code, Security) on ef81439: every Fix-now
item fixed (reconcile adopts only the account's own issue, creates
pinned to the attempt's repository, undo refused for issues Hide did not
make, one event per 무시, origin release); a follow-up review on 42d5244
found unbounded eviction of unconfirmed creates, fixed in 88d3d4a (32
pending cap, `QueueFull`), re-review clean.
- Merge-resolution set (Fidelity, Code, Security) on a4c2376: no
Fix-now items; an orphaned doc comment was moved in 22afeb6.
- Merging main after #1136 (0a4f557): a record opened while Work was
left on PRs did not show; opening a record now turns Work to Sessions in
the same lane event (ed43951). The main merge also needed the landing
scene to drop retired ui fields (bab54b0) and the core store-touch
counts to include the D-20 retention reads (2da0ef3).
- Fidelity+Code and Security on aab1374: one Fix-now, `lane에서 보기` read
the lane of the checkout left behind, fixed in a30b12c (the lane event
is always sent on a checkout switch; unit test fails without it).
Security: no Fix-now.
- After the Observer check: the Tasks project head's Open and backlog
links inherited the heading's 16px; now in the head's caption size
(1c3c34b, s6 asserts it). CI found the e2e size baseline still listing
the removed s8 Sessions test (e338862). New Overview gallery scene for
the screenshots (0e4cfdc, 2836bdd) and the empty Tasks section's 새
에이전트 translation (426ba93).
- Observer letter-6364 fixes (feea125, e20e5b2, 2505582,
6c93ca7, 3778ca8, f30498b, 76225fe), then a review set on them:
Security no Fix-now; Code one Fix-now, a WebSocket reconnect dropped an
open panel's origin, fixed in f637b59 (re-read on live). Follow-ups
fixed in the same push: the last close reaches the core under the holds
lock (1f4a7a0), empty or overlong keys refused (1f4a7a0), origin cap
logged instead of a screen error, a second window no longer blanks a
shown turn, an unrecorded put-away logged (4648838), NowCell doc
comment (074e2eb).
- CI on 4648838: the record button hid the logo from assistive tech,
so `agent-tab-names` could not find it by its product name; decision:
the logo keeps `role="img"` and its product name inside the button,
leaving the agent-mark-quiet contract and spec unchanged (5455c78).
- Evidence: none registered separately.
- Changed paths: 314 (see Files changed)
- Delivery: mode pr, branch `gen-prd/overview-device-tasks`, base `main`

</details>
yansfil added a commit that referenced this pull request Oct 28, 2026
Closes with-hide/hide-private#147
Closes with-hide/hide-private#270
Closes with-hide/hide-private#161
Closes with-hide/hide-private#122
Closes with-hide/hide-private#168
Closes with-hide/hide-private#172
Closes with-hide/hide-private#195
Closes with-hide/hide-private#197

## Summary

Five of the most frequent web e2e flakes are fixed at their cause, and
one of them was a product race.
When a folder inside a repository was added as a project, one update
could draw it apart from its repository, with no tabs and under "No
agents", for about 10 ms.
The core now builds that update from path answers that already place the
new project.
The other four were tests that waited on the wrong thing, and four more
issues with the same tab failure close with them.
#287 needed no code, because its spec was deleted with Factory in #1437.

스크린샷 없음: no `web/src`, `site/` or `design/` change; the only product
change is in the core's catalog build.

## Review

- **판단해 주세요**: #270 is fixed in the core, not in the test helper. The
in-between update was wrong (the project shown apart from its
repository, empty, under No agents), so `showProjectRow` is unchanged.
- **판단해 주세요**: the graph still remounts every card when it switches from
plain layers to the placed layout. The switch waits on the asynchronous
layout worker, up to `LAYOUT_TIMEOUT_MS` (3000 ms), so a click in that
window can be lost. This PR only makes the test wait for `layered`; the
product defect is with-hide/hide-private#317.
- **판단해 주세요**: the #122 test now opens the record by focusing the row
(`focus-within`), so it checks the focus path and no longer checks the
hover reveal.
- **조심해서 볼 파일**: `herdr-core/src/session_sync/coordinator.rs`, the
catalog build on the session-sync thread (high-frequency path). The
change only chooses between two path indexes already in hand. When the
coordinator's own answers place every registration (the usual case),
nothing changes.
- **비용 검토**: each update adds one `knows()` lookup per local
registration on at most two indexes, with no new reads, timers or
fan-out.

## Evidence

- **확인한 것**: the 8 tests behind these issues passed 20 repeats each on
42aa932 (160 passed, 0 failed). This is evidence for 42aa932; the
commit after it changes docs only.
- **확인한 것**: a scratch probe (not committed) that read the wire frames
reproduced the #270 update before the fix and saw 0 of 31 after it.
- **확인한 것**: the new core unit test proves that a pending answer makes
the catalog build from the path index that places every registration. It
does not prove the screen frame; the probe above is the screen-level
evidence.
- **확인한 것**: CI on 7d6ee3b passed in every lane that ran, and no lane
reported a flaky test.
- **확인하지 못한 것**: clippy and the full Rust and web suites did not run
locally (the disk had 0.8-1.8 GiB free); CI ran them. The Windows form
of #161 is checked only in CI.

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

**Issues**

| Issue | Flakes | Cause | Fix |
| --- | --- | --- | --- |
| #270 s4 registered subfolder History | 17 | Product: while the node's
path answer was pending, the coordinator built the catalog from answers
that predate the new registration and overwrote the creation's correct
publish; the helper then clicked the vanished fold |
`paths_to_build_from` in the coordinator |
| #147 plan-review | 24 | The graph draws cards in plain layers, then
mounts them anew once placed; `boundingBox()` read a removed card
(`null`) | Wait for `data-dependency-layout="layered"` (`placedBoxes`);
mission-map had the same read |
| #161 checkout-owner linked worktree | 15 | `waitForTerminal` took the
strip's selected tab as the expectation; the canvas drew the new tab
while the strip still selected the old one | The expected tab comes from
Herdr (`createdTabs`), all 9 callers |
| #168 #172 #195 #197 | - | Same `Expected: old tab / Received: new tab`
signature, same helper | Same fix |
| #122 session-work-ledger report letter | 1 | Hover-only record button:
a child nesting under the root moved the row away from a still pointer |
Reveal the buttons by focusing the row (`focus-within`) |
| #287 Factory questions | 21 | The spec was deleted with Factory in
#1437 (cc80696) | Closed with that evidence, no code |

**Repeat run (c2)**

- Commit: 42aa932 (head 7d6ee3b adds docs only).
- Machine: macOS, one worker, debug hided with the core fix, pinned
Herdr 0.9.5.
- Command: `scripts/verify-web.sh web e2e e2e/plan-review.spec.ts
e2e/mission-map.spec.ts e2e/checkout-owner.spec.ts e2e/s4.spec.ts
e2e/session-work-ledger.spec.ts e2e/herdr-coexistence.spec.ts
e2e/last-tab-leaves-checkout.spec.ts e2e/s2.spec.ts --grep "<the 8
tests>" --repeat-each 20`
- Result: 160 passed, 0 failed, 19.4 min.
- The other tests the helper change touches (checkout-owner,
session-work-ledger, sidebar-menus, overview-device, s2 tab switch)
passed once each, 15 in all.

**#270 probe (not committed)**

- It logged the fold and the core's `no_agent_projects` from wire
frames, with the real test's Git setup.
- Before the fix, every batch of 12-20 runs (5 batches) had at least one
publish of `registered` at its bare path with 0 tabs beside `fixture`
and under No agents. One batch was counted exactly: 2 of 20.
- After the fix: 0 of 31.

**Static checks**

- `verify-cargo.sh test -p herdr-core --lib`:
`catalog_path_tests::a_pending_answer_builds_from_the_paths_that_place_every_registration`
passes.
- `web typecheck`, `web lint` (e2e size budget included) and `cargo fmt
--check` pass.

**CI on 7d6ee3b**

- Passed: verify, gate, plan, policy checks, rust workspace, web and
desktop checks, static-design, windows check, os contract linux and
windows, remote mailbox, web e2e linux 1-6 of 6, windows e2e, desktop
e2e macos 1-2 of 2, desktop e2e windows.
- Skipped by path filter: agent CLIs, agent journey, agy contract, omp
SDK contract, os contract macOS, package, windows wsl.
- No lane reported a flaky test.

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

web: rebuild the ⌘K search palette to match the Swift search view

1 participant