Repository navigation
Copy a pane's Herdr id and find its agent by that id in ⌘K - #605
Merged
Merged
Conversation
…n ⌘K The pane header menu, the terminal right-click menu and the sidebar agent row menu gain Copy pane ID, which copies the id the pane's own Herdr knows it by (w9J:p52), without the remote:<device>:pane: scope Hide gives a device's pane. A ⌘K query that is that id, whole and in its case, lists the agent in that pane first on every device with a pane by that id; part of an id matches nothing and no row prints it. Copy pane name now reports a refused clipboard write to the diagnostic log like the other copy items instead of dropping it.
A query with a colon, as every Herdr pane id has, lists the agents whose id holds it, in its case, the whole id first (:p5 lists w9J:p5, then w9J:p52). Without a colon no pane id matches, so names and #273 number queries are unchanged.
HyunjunJeon
pushed a commit
to HyunjunJeon/hide
that referenced
this pull request
Nov 9, 2026
…ore (with-hide#2149) Closes with-hide/hide-private#561 Closes with-hide/hide-private#495 Closes with-hide/hide-private#564 Closes with-hide/hide-private#605 ## Summary e2e 픽스처가 두 번째 에이전트를 너무 일찍 시작해서, 코어가 "다른 시작이 아직 진행 중"이라며 거절하고 픽스처는 30초를 기다리다 실패했습니다. 코어는 시작 하나가 끝나기 전에는 새 시작을 받지 않는데, 첫 에이전트의 행은 그 시작이 끝나기 전에 먼저 보입니다. 이제 테스트는 행이 아니라 코어가 그 시작에 준 답(시작 패널이 읽는 것과 같은 영수증, `task_operation`)을 기다렸다가 다음 시작을 보냅니다. 거절되면 30초를 기다리지 않고 코어의 이유로 바로 실패합니다. 화면 변경 없음: 테스트 코드와 문서만 바뀝니다. ## Review - **조심해서 볼 파일**: `web/e2e/daemon-actions.ts` `startAgentInCheckout` - 코어의 task slot 규칙(`herdr-core/src/runtime/session.rs:3994-4003`)을 그대로 읽는지, `started` 외의 답은 모두 실패로 끝나는지. - **조심해서 볼 파일**: `web/e2e/engine-fixture.ts` - 첫 시작이 끝난 뒤에야 두 번째 시작(또는 family의 spawn)이 나갑니다. 기다림은 코어 신호뿐이고 timeout·sleep·retry는 늘리지 않았습니다. - **원인이 다른 것**: with-hide#444 with-hide#445 with-hide#459 with-hide#479 with-hide#496 은 픽스처가 아니라 spec 안의 기다림에서 실패하고 로그에 거절이 없어 이 PR에서 다루지 않습니다. - **Herdr 레인에서만 난 것**: with-hide#260 with-hide#489 with-hide#502 with-hide#510 with-hide#511 with-hide#519 with-hide#533 은 `*-herdr-*` 레인에서만 났고 그 레인은 #2069로 지워졌습니다. #2069와 아래 반복 run을 적은 댓글로 닫습니다. - **열어 두는 것**: with-hide#490 with-hide#492 with-hide#523 with-hide#529 with-hide#532(`agent_pane_required`)는 이 PR이 끝내지 않습니다. 원인은 with-hide/hide-private#630에서 따로 다룹니다. ## Evidence - **확인한 것**: own engine으로 바뀐 뒤 "second fixture agent" 실패 6건 중 5건(#561 x2, with-hide#495, with-hide#564, with-hide#605; Linux·Windows)의 setup snapshot과 hided 로그를 봤습니다. 모두 두 번째 시작의 request id로 `task_operation.busy` 거절이 남아 있습니다. 나머지 1건(#561, run 42076071271)은 로그를 받지 않았고 오류 줄만 같습니다. - **확인한 것**: 실패 로그 순서는 tab.create 완료 -> busy 거절 -> 첫 시작의 `agent.started`, 통과한 실행은 tab.create 몇 ms 뒤 `agent.started` -> 두 번째 시작입니다. - **확인한 것**: `web`·`desktop` typecheck, lint(e2e 크기 검사 포함) 통과. - **확인한 것**: a79a97b, run 42202678411의 Linux 전체 e2e(6 shard)와 Windows `@platform` e2e를 3번 돌렸습니다. 닫는 11개 제목은 매번 통과했고 재시도도 없었습니다. - attempt 1: Linux 6/6, Windows 1/1 통과. 재시도 후 통과: `desk-lane` "Desk is off on a new install"(Linux 4/6), with-hide#444 close-subtree(Linux 6/6) - attempt 2: Linux 6/6, Windows 1/1 통과, 재시도 없음 - attempt 3: Linux 6/6, Windows 1/1 통과. 재시도 후 통과: `desk-lane` 같은 테스트(Linux 4/6) - **범위 밖**: #444가 attempt 1에서 재시도 후 통과한 것과 `desk-lane`이 두 번 재시도 후 통과한 것은 픽스처 원인이 아닙니다. 이 노드 범위 밖이고 따로 묶여 있습니다. - **확인하지 못한 것**: 로컬 e2e는 돌리지 않았습니다(Rust debug 빌드 디스크 부족). macOS 웹 e2e는 PR CI에 없어 반복하지 않았고, 이 묶음의 21개 이슈 중 macOS에서 난 것은 없습니다.
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
Herdr pane ID(
w9J:p52)를 화면에서 얻을 방법이 없었고, ⌘K로 그 ID의 agent를 찾을 수도 없었습니다.pane 헤더 메뉴, 터미널 우클릭 메뉴, 사이드바 agent 행 메뉴에
Copy pane ID를 넣었습니다.복사되는 값은 그 pane의 Herdr가 쓰는 ID입니다. 원격 디바이스 pane이면 hide가 붙인
remote:<device>:pane:접두사를 뗍니다.⌘K 쿼리에
:가 있으면 Herdr ID에 그 문자열이 들어간 agent를 맨 위에 보여줍니다. 대소문자를 구분하고, 짧은 ID(전체 일치)가 먼저 옵니다. 예::p5면w9J:p5, 그다음w9J:p52.:가 없는 쿼리(이름,273)는 pane ID와 매칭하지 않습니다. 행에 ID를 표시하지도 않습니다.Review
Copy pane ID/pane ID 복사와 위치. 터미널 메뉴에서는Copy pane name다음, agent 행에서는Copy session id다음입니다.:가 있는 쿼리에서만, 대소문자 구분 부분 문자열로 합니다. cmdk-navigation에서 뺀 퍼지 매칭은 되살리지 않습니다.:하나나J:처럼 짧은 쿼리도 해당 agent를 전부 맨 위로 올립니다. 최소 길이는 두지 않았습니다.web/src/search.ts-filterEntries와paneIdMatches.#N과 퍼지 순위는 그대로여야 합니다.web/src/remote.ts-herdrPaneId. core의strip_prefix("remote:")뒤split_once(":pane:")와 같은 규칙입니다.web/src/PaneRelations.tsx-Copy pane name도 이제actions.copyText를 씁니다. 클립보드 쓰기가 거부되면 조용히 버리지 않고 진단 로그에 남깁니다.Evidence
bash scripts/verify-web.sh통과. web 1047개, desktop 155개(3 skipped). typecheck, lint, build 포함.node scripts/check-design-contract.mjs,check-hide-design-enforcement.mjs,check-no-workstation-identity.sh통과.search.test.ts가 모두 잡았습니다.:조건 제거, 짧은 ID 우선 정렬 제거입니다(대소문자 무시는 정확 일치와 부분 일치 각각 한 번).e2e/sidebar-menus.spec.ts7개 통과. agent 행 메뉴로Copy pane ID를 누르면 실제 클립보드에 pane ID가 들어갑니다.w1:p2, agent 행 복사 값w1:p1.w1:p1은 해당 agent 한 행만 나왔고, Enter로 그 pane에 포커스가 갔습니다.w1:p는 agent 두 개를 모두 찾았습니다.W1:P1과p1은 agent를 찾지 않았습니다.web/dist렌더러를 Playwright Chromium으로 돌렸고, 터미널 메뉴 복사는 페이지 안에서 클립보드 호출을 기록하는 방식으로 확인했습니다.추가 증거
사이드바 agent 행 메뉴:
리뷰 subagent 후속 제안(이 PR 범위 밖):
Copy name(web/src/actions.ts:866)도 클립보드 실패를 조용히 버립니다. 같은copyText로 옮길 수 있습니다.