Repository navigation
fix: draw only the guide for an unnamed tab holding one agent - #1578
Merged
Merged
Conversation
yansfil
added a commit
that referenced
this pull request
Oct 23, 2026
…ane (#1583) Related: PRD `agents/prd/mission-pane-chip/prd.md` ## Summary - 지금은 Conductor가 첫 계획을 올리면 미션 지도가 레인 보기 칸에 저절로 열리고, 그 칸은 checkout에 속하지 않아 다른 Workspace로 옮겨도 계속 떠 있습니다. - 이제 첫 계획은 레인을 열지 않습니다. 미션은 hide-plan처럼 Conductor 페인 헤드의 칩(`계획 중`, `미션 n/m`, `판단 1`, `머지 대기`, `완료 m/m`, `취소`)으로 보입니다. - 칩에 마우스를 올리거나 누르거나 ⇧⌘U를 쓰면 미니 지도가 뜹니다: 끝난 작업은 `끝남 N ▸` 한 줄로 접고, 한 줄에 두 칸이 넘으면 `+N개`로 접고, 판단 대기는 맨 위 한 줄과 `대화로`. - 첫 계획 때는 운영자가 그 Conductor 페인을 보고 있을 때만 팝오버를 한 번 고정해서 펼칩니다; 다시 불러오거나 다시 연결한 뒤에는 아무것도 열지 않습니다. 큰 지도는 `크게 ›`, 사이드바 미션 칩, 레일 보기 버튼에서 엽니다.    ## Review - **판단해 주세요**: 시안(Pen v3)과 다른 점 - 칩은 계획 칩처럼 테두리를 그리고(시안은 쉬는 상태에서 테두리 없음), 첫 계획 팝오버 바닥은 시안의 `Esc로 닫기` 대신 계획 팝오버와 같은 `Conductor 기록 열기`입니다. - **운영자가 승인한 판단**: 미니 지도는 빠진(dropped) 작업을 그리지 않음(큰 지도는 취소선으로 계속 표시); 원격 기기의 Conductor는 페인 칩이 없음(사이드바와 같음); Windows/Linux/원격은 실제로 보지 못함. - **조심해서 볼 파일**: - `web/src/missionReveal.ts` - high-frequency path: 받은 스냅샷마다 직전 스냅샷과 미션을 비교하는 구독자입니다. - `web/src/dependencyLayout.ts` - 레이아웃 전 fallback 연결선이 칸을 돌아가게 바꿔서 큰 미션 지도와 계획 지도의 fallback에도 적용됩니다. - `herdr-core/src/runtime/missions.rs`, `herdr-core/src/missions.rs` - 저장된 미션 기록에서 `opened`를 뺐습니다; 이전 기록이 그대로 읽히는 테스트가 있습니다. - **비용 검토**: 스냅샷 하나에 미션 목록 비교 한 번(O(미션 수), 미션은 손으로 만드는 수 개 수준), 알림 fan-out 없음, 대기 작업 없음; 고정 팝오버는 페인당 하나(`ui.planPane` 재사용). ## Evidence - **확인한 것**: - 실제 hided + 고정된 Herdr를 Chromium에서 돌린 `web/e2e/mission-map.spec.ts`: 첫 계획에 레인은 닫힌 채 페인 팝오버만 고정, `크게 ›`가 큰 지도를 열고, 다시 계획을 올려도 아무것도 다시 열리지 않음. - 격리된 Electron 후보 앱(운영자 앱과 별개의 Herdr와 HOME): 창이 앞에 없으면 칩만 바뀜(B13), 칩을 누르면 고정되고 첫 칸 다음 `+3 more`, 판단 대기에서 노란 칩과 `대화로`. - Rust: 첫 계획과 재계획이 보기 칸을 열지 않음, `opened`가 있는 이전 기록이 읽힘(verify-cargo test/lint 통과). - vitest: 미니 지도 그래프(끝남 접기, `+N개` 접기와 연결선), 첫 계획 공개 규칙(보고 있을 때만, 첫 스냅샷과 재연결 뒤 없음), 칩 단어, 마우스/고정/Esc/키보드; 실제 ELK로 `+N` 순서가 "free"면 실패하고 "given"이면 통과. - gallery mission 장면 3가지 상태를 ko dark, en light로 캡처; web typecheck, lint, design contract 통과. - **확인하지 못한 것**: - 실제 앱에서 "보고 있을 때" 첫 계획 팝오버: 후보 창에 포커스를 주면 운영자 화면을 가져가서 찍지 않았고, Chromium e2e와 단위 테스트가 대신 증명합니다. - Windows, Linux, 원격 기기 Conductor(운영체제별 코드 없음), Tab으로 포털 팝오버에 들어가기(계획 칩과 같은 부품), 응답 없는 기기의 흐림 표시 캡처. - main이 이 브랜치 뒤로 4커밋 앞서 있습니다(#1577, #1578); 겹치는 파일은 `docs/UI_BEHAVIOR.md`뿐이고 충돌 없이 합쳐집니다(`git merge-tree`). <details><summary>추가 증거</summary> - 후속 개선(리뷰어 제안, 이번 범위 밖): 연결선 여유 4px 재검토, fallback 계산에서 칸 사각형을 한 번만 계산, `downPathAround`의 선분-칸 교차 테스트, 큰 지도 fallback 캡처, `applyFrame`을 거치는 저장소 수준 공개 테스트, 두 칩의 Tab 도달성, 보고·인계 카드 테스트, 응답 없는 기기 흐림 캡처, 프로젝트 도구 `현황`의 미션 한 줄(별도 PR). </details> <details><summary>Verification record</summary> - PRD: `agents/prd/mission-pane-chip/prd.md` (sha256 9c6cd83fe2e1be8b663ea4dc13b71e8381b06820fa75244ee6881aa3fa8c5096) - Base 670023e → head 8c76225, verified 2026-10-23T01:13:41.178Z: PASS - Verification report: `agents/runs/mission-pane-chip/verification-report.json` and `agents/runs/mission-pane-chip/verification-report.md`; source fingerprint 25e4526b63723fcdeb497fc9f73bc6f0c085a7ab85ad9135942deb9491ddb9c1 - Suites: - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0) - S2: GREEN `bash scripts/verify-cargo.sh lint` (exit 0) - Reviews: - Fidelity and Code on 06ca880: 4 Fix now between them (3 + 1), all fixed in 508bc51 - 열린 칩이 경고/초록 색을 유지, `대화로` 키 처리, 브라우저 탭은 포커스를 쥐어야 "보고 있음", 재연결 resume delta에서 공개하지 않음, `+N` 칸의 sr-only 제목. - Fidelity and Code follow-up on 508bc51 and on 8c76225: no Fix now; follow-ups listed under 추가 증거. - Lead visual check on 508bc51: fallback 연결선이 칸을 가로지름, `+N`이 첫 칸 앞에 놓임 - 8c76225eb에서 수정, 캡처로 확인. - Evidence: 17 registered (13 screenshot, 4 log); paths are local to the run directory - agents/runs/mission-pane-chip/shots/pane-running-ko-dark.png - agents/runs/mission-pane-chip/shots/pane-decision-ko-dark.png - agents/runs/mission-pane-chip/shots/pane-first-plan-ko-dark.png - agents/runs/mission-pane-chip/shots/pane-running-en-light.png - agents/runs/mission-pane-chip/notes/e2e-2.log - agents/runs/mission-pane-chip/shots/native/native-first-plan.png - agents/runs/mission-pane-chip/shots/native/native-pinned.png - agents/runs/mission-pane-chip/shots/native/native-decision.png - agents/runs/mission-pane-chip/shots/r2-pane-decision-ko-dark.png - agents/runs/mission-pane-chip/shots/r2-pane-decision-en-light.png - agents/runs/mission-pane-chip/shots/e2e/mission-pane-first-plan.png - agents/runs/mission-pane-chip/notes/e2e-3.log - agents/runs/mission-pane-chip/shots/e2e-r3/mission-pane-first-plan.png - agents/runs/mission-pane-chip/notes/e2e-r3.log - agents/runs/mission-pane-chip/shots/native-r3/native-first-plan.png - agents/runs/mission-pane-chip/shots/native-r3/native-pinned.png - agents/runs/mission-pane-chip/notes/native-r3.log - Changed paths: 23 (see Files changed) - Delivery: mode pr, branch `feat/mission-pane-chip`, base `main` </details>
yansfil
added a commit
that referenced
this pull request
Oct 25, 2026
## Summary 두 fixture 에이전트의 시작을 함께 진행해 초기화 대기를 줄입니다. 각 시작은 기존처럼 입력 준비가 끝나야 성공하며, 한쪽이 실패해도 다른 쪽 종료를 확인한 뒤 fixture를 정리합니다. 이번 릴리스 범위는 병렬 시작과 회귀 검사입니다. item 1(b)의 등록/입력 준비 분리와 PR B는 1.0.1 이후로 보류했습니다. 추가 성능 측정과 측정만을 위한 CI 반복은 종료했습니다. ## Review - **판단해 주세요**: 부분 실패, CLI timeout, worker 종료 때의 프로세스 소유권과 Windows 정리 경계를 확인해 주세요. - **조심해서 볼 파일**: `web/e2e/herdr-fixture.ts` - shell 사전 검사와 실패 정리를 보존하면서 시작 대기만 겹칩니다. - **조심해서 볼 파일**: `web/e2e/herdr-fixture.spec.ts`, `fixture-worker-exit.spec.ts` - 첫 입력·부분 실패와 실제 owner 종료 때의 CLI 정리 순서, 종료 거부 때 root 보존을 검사합니다. - **비용 검토**: 동시 CLI 시작은 두 개이며 각각 30초 상한과 worker 종료 정리를 갖습니다. ## Evidence - **최종 확인**: `fa329a2b7`의 계획된 모든 lane과 `verify`, Design contract가 통과했습니다. Linux 375개, Windows web 60개, macOS desktop 117개·기존 skip 12개, Windows desktop 19개 통과이며 최종 실패·flake·retry는 없습니다. - **최초 후보**: 최초 CI에서 기존 Linux 370개와 Windows 56개는 모두 통과했습니다. macOS desktop 117개 통과·기존 12개 skip, Windows desktop 19개 통과, Windows check도 통과했습니다. - **수정한 실패**: 신규 입력 검사가 CLI의 빈 stdout을 JSON으로 읽어 Linux와 Windows에서 최초·재시도 모두 실패했습니다. 실제 입력 assertion과 30초 실행 상한을 유지하고 CLI를 직접 호출하도록 수정했습니다. 기존 flaky로 분류하지 않습니다. - **수정 검증**: 빈 stdout 수정 후보는 필수 CI 통과, 기존 [flake #1579](https://github.com/with-hide/hide/issues/1579)는 최초 실패 후 retry 통과했습니다. 독립 검토에서 발견된 worker 종료 순서와 회귀 검사 정리를 수정했습니다. `fa329a2b7`의 독립 정적 검토는 PASS이며, 동일 후보의 필수 CI가 모두 통과했습니다. 로컬 native fixture 회귀 4개, fixture 파일 제한 타입 검사, lint·discovery와 pinned 계약 검사가 통과했습니다. - **확인하지 못한 것**: 디스크 제한으로 로컬 전체 e2e, Cargo 빌드, 패키징을 실행하지 않았습니다. 별도 전체 e2e TypeScript 검사는 기존 오류 때문에 실패했으며, 변경 파일 제한 검사의 통과를 전체 타입검사 통과로 주장하지 않습니다. 독립 리뷰어는 최종 SHA에서 두 P2가 해소됐다고 판정했습니다. 리뷰어는 runtime 검사를 실행하지 않았으며, 실행 증거는 author의 제한된 로컬 검사와 실제 PR CI입니다. SIGKILL/OOM은 Node exit hook 보장 밖입니다. <details><summary>Verification record</summary> - Base: `4881c71ef8575c43c0cbcce063455ab4e350c38c`; first parallel candidate: `9657b1891045b9be5bc23b06f86e184fce4db9af`; stdout correction: `dd264343c0fd79c26155e03ca3d57fc1a6771f7a`; fixture ownership correction: `d8446be6238834471be614a4014f6b2e7703e657`; final recovery correction: `fa329a2b7a681c264bebb484e147309730c7f921`. - First run [40202931637, attempt 1](https://github.com/with-hide/hide/actions/runs/40202931637): FAILED only on the new first-input probe in Linux shard 4 and Windows; each failed both initial and retry attempts with `SyntaxError: Unexpected end of JSON input` at fixture JSON parsing. The new partial-failure regression passed on both systems. Corrected run [40205772294, attempt 1](https://github.com/with-hide/hide/actions/runs/40205772294): required CI SUCCESS, Linux 371 passed + 1 flaky, Windows 58 passed, macOS desktop 117 passed / 12 existing skips, Windows desktop 19 passed. The existing `plan-review.spec.ts:39` test failed initially at `core.y` with `TypeError: Cannot read properties of null (reading 'y')`, then passed retry #1 (7.0s each); [#1579](https://github.com/with-hide/hide/issues/1579) records the identical failure since PR #1578 before this change. Independent review rejected that candidate for one P2: pending CLI cleanup ran after server/root teardown on worker exit. The final candidate owns pending CLI trees inside the fixture and synchronously confirms termination before shared-resource teardown. Ownership-correction run [40207692618, attempt 1](https://github.com/with-hide/hide/actions/runs/40207692618) was cancelled when the reviewed test-cleanup correction superseded it. Final required run [40208605365, attempt 1](https://github.com/with-hide/hide/actions/runs/40208605365): SUCCESS, every planned lane passed. Linux 375 passed, Windows web 60 passed, macOS desktop 117 passed / 12 existing skips, Windows desktop 19 passed; no final-run failures, flakes or retries. All four new regressions passed first attempt on Linux and Windows. The previously flaky `plan-review.spec.ts:39` passed first attempt in 6.8s on this head. CI checked merge `701582e74fd5763003b92ba05c99b91475e7be01` against main `12cdde5fe09f5ace92567c48f52e542708dc5f96`. Since the measured exact baseline, main added one agent-reference-drop test and renamed one sidebar-menu test; that explains the final count of 375 instead of 374 and is outside this four-file diff. Independent follow-up found that the new regression also needed confirmed CLI-group and server termination before deleting its roots; the final recovery correction reuses the fixture helper and checks actual pinned server-stop success. Body-edit runs `40206041779`, `40206813894` and `40207837436` were superseded/cancelled by the cleanup push; they are not passing validation or measurement samples. - Baseline [40196397672, attempt 1](https://github.com/with-hide/hide/actions/runs/40196397672) is a successful push on the exact base. [40125600864, attempt 1](https://github.com/with-hide/hide/actions/runs/40125600864) is a nightly on `c216793eba46b3e9d4daef3a4d184823cbc3fa11`, with unrelated failures outside its passing verify aggregate and one Linux flaky test; it is historical context, not an exact-base causal comparison. - Exact-base Linux test-name comparison: 370 common tests, zero removed, two new regressions in the measured first candidate. The earlier 323-test figure describes the historical duration table, not this baseline run. The final cleanup fix adds two more owner-exit regressions, with no coverage removal. Common test-attempt time was 4,395.451s baseline and 3,498.418s first candidate. This is aggregate test time, not wall clock or a causal estimate from repeated samples. Added regression attempts cost 13.7s on Linux and 17.6s on Windows, including both failed attempts of the new input probe. - Existing-measurement job / e2e step durations, baseline → first candidate: | Lane | Baseline job / e2e | First candidate job / e2e | | --- | --- | --- | | Linux 1/6 | 15:20 / 12:35 | 13:13 / 10:24 | | Linux 2/6 | 16:50 / 13:55 | 10:29 / 8:15 | | Linux 3/6 | 14:41 / 12:45 | 12:54 / 10:01 | | Linux 4/6 | 13:25 / 10:58 | 12:33 / 9:28 (probe failed) | | Linux 5/6 | 14:02 / 11:37 | 14:53 / 11:31 | | Linux 6/6 | 15:14 / 12:21 | 13:04 / 10:03 | | Windows web | 19:50 / 12:40 | 17:21 / 9:51 (probe failed) | | Windows check | 17:15 / - | 16:09 / - | | macOS desktop 1/2 | 17:04 / 10:29 | 17:35 / 10:26 | | macOS desktop 2/2 | 18:07 / 11:16 | 16:22 / 10:00 | | Windows desktop | 10:13 / 3:40 | 10:13 / 3:11 | - Queue: baseline measured jobs 1–3s; first candidate Linux/Windows 1–2s, macOS desktop 1/2 17:59 and 2/2 1:55. Run creation to final update was 20:19 baseline versus 36:02 first candidate, including queue and unrelated full-run lanes in the baseline. Sum of the eleven matched lane job durations was 172:01 versus 154:46 runner-minutes; build and policy jobs are excluded from that sum. - Hosted images were Ubuntu 26.04, macOS 15 arm64 and Windows 2025 VS2026; Windows image version was `20261021.278.1` in both runs. Node cache hits and Rust cache hits were present; cache contents, runner load and PR merge revisions are not controlled. Windows check time is not attributed to fixture behavior. No fixed startup-sleep replacement, assertion relaxation, retry/timeout change, test skip or shard-table change was made. No additional measurement-only CI or repeat is planned under the release-priority instruction. - Final-head validation job / e2e step durations (not another controlled performance sample): | Lane | Job | E2E | Queue | | --- | --- | --- | --- | | windows check | 17:58 | - | 2s | | windows desktop / desktop e2e windows 1/1 | 10:23 | 3:36 | 2s | | desktop e2e / desktop e2e macos 2/2 | 17:12 | 9:16 | 2s | | desktop e2e / desktop e2e macos 1/2 | 16:18 | 9:22 | 2s | | windows e2e / web e2e windows 1/1 | 17:02 | 10:02 | 2s | | web e2e / web e2e linux 3/6 | 12:35 | 9:48 | 1s | | web e2e / web e2e linux 4/6 | 12:12 | 9:21 | 1s | | web e2e / web e2e linux 5/6 | 13:09 | 10:48 | 1s | | web e2e / web e2e linux 2/6 | 11:43 | 9:17 | 2s | | web e2e / web e2e linux 1/6 | 13:16 | 10:29 | 1s | | web e2e / web e2e linux 6/6 | 12:28 | 9:53 | 1s | Run creation to final update: 19:36, including queue. The source head is unchanged; the last PR-body check reuses these successful runtime lanes. - Pinned contract: Herdr 0.9.5, protocol 22, schema SHA256 `9e2af207e9aa8183d4aeca5fde9cc48e7909bb40cdbd7cf21608a6d3ea78075b`. - Local: standard web typecheck (`src` scope), lint and regression discovery: PASS. Final candidate fixture-specific TypeScript project: PASS, not a whole-e2e typecheck. Native fixture regression run: 4 PASS (12.9s), using private pinned Herdr and Node only, with no browser, hided, Cargo or app packaging. After the final test-cleanup edit, the two owner-exit cases reran: 2 PASS (5.0s). An earlier local implementation draft failed those two new cases because `execFile` ignores `detached`; scoped types caught the invalid option too. The final code uses `spawn` with explicit 30-second timeout, 1 MiB per stream and private Unix groups; draft processes and roots were reclaimed. - Local: entrypoint script tests initially failed because the inherited unsupported locale injected stderr; `LC_ALL=C` rerun: 14 PASS. Schema tests: 2 PASS. Script discovery ran 673 tests, 21 normal platform skips, one locale failure closed by that focused rerun. Two actual Cargo build tests were excluded locally under the resource restriction and left unchanged in the normal CI policy suite. - Separate e2e TypeScript checking exposed pre-existing errors because the normal web typecheck includes `src` only. Deferred readiness files were checked separately before deferral and are not included in this PR. Their stash/patch and the unpublished instrumentation commit remain local for later work. - First-push merge-order result: `Do: Stay as you are: no open pull request conflicts with it in code.` - Independent review at `dd264343c`: FAIL, one P2 pending-CLI worker-exit ordering finding; fixed in `d8446be62`; regression cleanup follow-up fixed in `fa329a2b7`, independent static review PASS on exact head `fa329a2b7a681c264bebb484e147309730c7f921`, both P2 findings resolved. The independent reviewer ran no runtime tests; final required CI passed on that same head. Run artifacts remain local under `agents/runs/ci-fixture-readiness/` and are never committed. </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
사이드바에서 이름을 붙이지 않은 탭에 에이전트가 하나뿐이면
탭 N줄(탭 아이콘 + 이름)을 그리지 않고 왼쪽 선만 남깁니다.그 줄은 바로 아래 한 행이 이미 말하는 것 외에 아무 정보가 없어서, 단일 에이전트 탭이 많을 때 목록이 두 배로 길어 보였습니다.
이름을 붙인 탭, 에이전트가 둘 이상인 탭, 에이전트 없이 남은 탭은 지금처럼 탭 줄을 그립니다.
가운데
Claude행이 이름 없는 단일 에이전트 탭입니다: 선만 있고 탭 줄이 없습니다.Review
web/src/sidebarTabs.ts-line판정(manual_name === null && count === 1); count는 탭 안 에이전트 pane 수라 다른 탭의 자식 행은 세지 않습니다.Evidence
webtypecheck, lint, 단위 테스트 1991개 통과; Playwrightsidebar-tab-groups·named-tab-stays5개 통과(단일 탭은 선 1px이 체크아웃 글리프 중앙에 있고 탭 줄·키보드 정지가 없음, 이름 붙은 단일 탭은 줄 유지).Verification record
base 670023e, head 499b2e8. 수동으로 연 PR이며
ship스킬 기록은 없습니다.