Repository navigation
Open the child list only after the delegated move in the agent tab group tests - #832
Merged
Merged
Conversation
…oup tests The two delegated-canvas tests opened the pane header's child list right after the badge appeared, while the core could still be moving the child out of its parent's tab. That move redraws the header and closes the list, so the child row the test clicks next disappeared: 3 of 4 CI attempts on main a03ac58 and 2 of 12 local runs failed this way. Wait for the delegated canvas first, as the first test already asserted after opening.
This was referenced Oct 8, 2026
yansfil
added a commit
that referenced
this pull request
Oct 8, 2026
Related: #804 ## Summary - Pi 기록을 제목, 대화, 검색, archive, Memory, 휴대폰에서 같은 읽기로 확인합니다. - 재우기는 기록 저장 뒤 pane을 닫고, 깨우기와 fork는 확인한 대화를 별도 탭에서 시작합니다. - 파일·ID·checkout이 바뀌거나 제어 연결이 교체되면 이전 요청을 거부하며 원래 대화 파일을 보존합니다. - Pi가 기록하지 않는 질문 대기·자식 정보는 만들지 않고, 미완료 공급자의 기능은 켜지 않습니다.  ## Review - **판단해 주세요**: Pi의 native 제목, 재운 행과 깨우기 동작이 현재 single-sidebar 흐름에 맞는지 봐 주세요. - **조심해서 볼 파일**: `hide-session/src/{pi,label_owner}.rs` - 경로·ID 소유권과 읽기 한도. - **조심해서 볼 파일**: `live.rs`, `worktree_control.rs`, dormant 소유자 - 저장·닫기·새 탭·실행 교체와 실패 정리. - **비용 검토**: 경로 감사는 동작할 때만 기존 entry/1MiB 한도 안에서 수행하고, 입력·snapshot에는 추가하지 않습니다. - 연결 전후 현재 권한을 확인합니다. 원격 helper가 unavailable이면 기존 동의·backoff 안의 재연결을 예약하고 현재 동작은 거부합니다. - 기존 Reopen Closed 직접 호출 guard와 unavailable 모델 표시의 제품 판단, 세밀한 owner 회귀 보강은 후속 항목입니다. ## Evidence - **확인한 것**: sealed Rust·web·lint 3/3; core 1,817개, web 1,308개, desktop 162개와 빌드 통과; 기존 skip은 각각 5·1·4개입니다. - **확인한 것**: 고정 Herdr/hided 브라우저 4개 흐름과 독립 관측의 기존 증거; Pi archive resume과 재우기·새 pane 깨우기 포함. - **확인한 것**: 격리한 Pi 1.0.4 CLI의 exact resume, 별도 native fork와 첫 prompt; 중복 ID 오경로 재현과 거부 회귀. - **리뷰**: 계약·코드·보안 전체 검토를 잇는 현재 HEAD·기준 ref·증거 후속 검토 3건 완료, Fix now 없음; 기존 P2 유지. - **확인하지 못한 것**: 설치 Pi의 자동 report, 인증한 모델 응답, 패키지 앱 UI, 실제 휴대폰과 현재 Pi SSH/helper24. - **CI**: 이전 Rust 검사에서 드러난 Pi 설치 환경 누락을 격리 fixture로 고쳤습니다. 현재 Rust는 3,537개 통과했고 기존 doorbell 1개는 재시도로 통과했습니다. #814 후속 기록을 유지합니다. 전체 PR CI가 통과했고 현재 main 검사는 진행 중입니다. - 합성 브라우저 대역과 이전 native 측정은 서로 다른 증거입니다. omp·Grok·Cursor·OpenCode와 전체 parent 완료는 뒤따릅니다. <details><summary>추가 증거</summary>  </details> <details><summary>Verification record</summary> - PRD: `agents/prd/session-readers-pi/prd.md` (sha256 9ab104bd2e00a10d5f6ef2e9ef034247cb0fdcb54df64827ba5c5feb560f6278) - Base ee250b1 → head deac520, verified 2026-10-08T22:17:38.034Z: PASS - Verification report: `agents/runs/session-readers-pi/verification-report.json` and `agents/runs/session-readers-pi/verification-report.md`; source fingerprint cb31af5754211d792847292519a0e2986edca796a81ab1110f9906626b0ac18f - Suites: - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0) - S2: GREEN `bash scripts/verify-web.sh` (exit 0) - S3: GREEN `bash scripts/verify-cargo.sh lint` (exit 0) - Reviews: - Fidelity: full B1-B17 continuity and source/evidence follow-up on deac520; Fix now none. Prior authority/P1 closures remain closed; accepted P2 model interpretation, ordinary Reopen Closed and owner/remote refinements retained. - Code: full source/error/concurrency continuity and current CI-fixture/main-integration impact review on deac520; Fix now none, no new P0/P1. All seven actual archive-worker cases and production/native fences remain unchanged. - Security: full identity/privacy/failure continuity and current private-account fixture review on deac520; Fix now none. Real Local/AgentInstalled are exercised, process-global environment untouched, existing owned-child cleanup and caps retained. - Closure: report sha256d21f1e4959d5dab10d1fe491618a9fb611859c1bf2f6524d011947cecf1c4512;116 material entries plus3 current automatic logs =119 registered files, all independently matched. Source and material evidence match the last reviewed head; no exclusions or source mutation. - CI fixture repair: retained b551 Linux job113545352520 failed the current archive positive twice,3536/3537 with20 normal skips and no flaky classification. Controlled missing-account reproduction exposed missing Pi installation; the private real executable fixture now passes the same invocation, while removing it produces the predicted explicit failure. Behavior assertions/timeouts/retries were not relaxed. - Runtime provenance: current delta from reviewed b551 changes only the Rust fixture and accepted #832 browser-test ordering. Existing browser4/six images and installed Pi1.0.4 resume/fork/first-prompt remain original-target evidence, not new deac runtime/native acceptance. - Published images: prior isolated browser check confirmed both retained b55168f image URLs render as1920x1080 pixels in this PR body and closed its own tab. No private desktop, token, raw capture or operator content was uploaded. - Supplemental static checks: nine current policy entrypoints PASS, owned guard exit0 in17.14s with minimum15,106,256,896B; log sha25693730a371602f664739eeb33fcf1e9228badcd72825afdb568f537eb5b3fc6e2. Prior b551313 Python policy tests retain their original target; this supplemental record does not extend the sealed command/evidence contract. - Current input closure: unchanged deac source; fetched base tip0a5afc8d differs from merge-baseee250b. All three complete source reviews have current verification-identity follow-ups, Fix now none; unchanged116 material objects and all119 bytes/SHA identities matched. Input fingerprint4a8f6fb6ad2da347d4ed876e024aaebccbc5652832cb5e0ffc868b5c434762df. - CI at publication: prior ee250b1 main run37846770807 succeeded. Current deac PR run37849126450 completed SUCCESS; canonical CI watch reports pass without timeout. Current0a5afc8d main run37850720529 remains in progress. Rust recorded3537 passed/20 skips, with the original Pi archive regression passing first attempt and one separate held-cause doorbell retry flake; the workflow recorded that run on existing issue814. Current-head CI has passed; fresh current-main merge-tree/type/Clippy/policy premerge acceptance is still required before the head-pinned merge commit. The first completed main push containing the merge will be watched before the next reader starts. No main retry was performed by this work. - Evidence: 116 registered (58 log, 33 file, 2 browser, 23 screenshot); paths are local to the run directory - agents/runs/session-readers-common-v2/pi-contracts-current.log - agents/runs/session-readers-common-v2/pi-core-current.log - agents/runs/session-readers-common-v2/pi-browser-attempt5.log - agents/runs/session-readers-pi/native-measure.json - agents/runs/session-readers-common-v2/pi-browser-attempt2.log - agents/runs/session-readers-common-v2/pi-browser-attempt3.log - agents/runs/session-readers-common-v2/pi-browser-attempt4.log - agents/runs/session-readers-common-v2/pi-core-phone-node.log - agents/runs/session-readers-pi/native-first-prompt.json - agents/runs/session-readers-pi/native-duplicate-routing.json - agents/runs/session-readers-pi/manual-observation.md - agents/runs/session-readers-pi/manual-browser/wake-provenance.json - agents/runs/session-readers-pi/manual-browser/cleanup.json - agents/runs/session-readers-pi/manual-browser/pi-native-title-aside.png - agents/runs/session-readers-pi/manual-browser/pi-durable-sleep-aside.png - agents/runs/session-readers-pi/manual-browser/pi-exact-wake-aside.png - agents/runs/session-readers-common-v2/pi-review-fix-tests3.log - agents/runs/session-readers-common-v2/pi-review-fix-final-focused.log - agents/runs/session-readers-common-v2/pi-durable-review-regression3.log - agents/runs/session-readers-common-v2/pi-review-fix-clippy.log - agents/runs/session-readers-common-v2/pi-review-fix-clippy2.log - agents/runs/session-readers-pi/mutation-predictions.md - agents/runs/session-readers-pi/mutation-results.json - agents/runs/session-readers-pi/mutation-route-audit.log - agents/runs/session-readers-pi/mutation-queued-owner.log - agents/runs/session-readers-pi/mutation-incremental-owner.log - agents/runs/session-readers-common-v2/pi-review-db734-focused.log - agents/runs/session-readers-common-v2/pi-route-capacity-path-fixture.log - agents/runs/session-readers-common-v2/pi-review-9929-focused.log - agents/runs/session-readers-common-v2/pi-review-9929-cli.log - agents/runs/session-readers-common-v2/pi-review-9929-browser.log - agents/runs/session-readers-common-v2/pi-review-9929-browser2.log - agents/runs/session-readers-pi/review-fix-disposition.md - agents/runs/session-readers-common-v2/pi-reference-fix-compile.log - agents/runs/session-readers-common-v2/pi-reference-fix-compile2.log - agents/runs/session-readers-common-v2/pi-reference-core-focused.log - agents/runs/session-readers-common-v2/pi-source-control-focused.log - agents/runs/session-readers-common-v2/pi-source-control-focused2.log - agents/runs/session-readers-common-v2/pi-review-8b7-focused.log - agents/runs/session-readers-common-v2/pi-review-8b7-web-unit.log - agents/runs/session-readers-common-v2/pi-review-current-web-tests.log - agents/runs/session-readers-common-v2/pi-review-149f-cli.log - agents/runs/session-readers-common-v2/pi-review-149f-clippy.log - agents/runs/session-readers-common-v2/pi-review-149f-browser.log - agents/runs/session-readers-common-v2/pi-review-source-control-browser2.log - agents/runs/session-readers-common-v2/pi-review-current-web-build.log - agents/runs/session-readers-common-v2/pi-review-source-control-browser3.log - agents/runs/session-readers-pi/manual-observation-current.md - agents/runs/session-readers-pi/manual-browser-149f/wake-provenance-current.json - agents/runs/session-readers-pi/manual-browser-149f/cleanup.json - agents/runs/session-readers-pi/manual-browser-149f/pi-native-title-aside-current.png - agents/runs/session-readers-pi/manual-browser-149f/pi-durable-sleep-aside-current.png - agents/runs/session-readers-pi/manual-browser-149f/pi-exact-wake-aside-current.png - agents/runs/session-readers-pi/browser-149f/pi-archive-resume.png - agents/runs/session-readers-pi/review-source-control-disposition.md - agents/runs/session-readers-pi/connect-regression-predictions.md - agents/runs/session-readers-common-v2/pi-connect-baseline-regression.log - agents/runs/session-readers-common-v2/pi-connect-baseline-regression2.log - agents/runs/session-readers-common-v2/pi-connect-fixed-core.log - agents/runs/session-readers-common-v2/pi-connect-5617-focused.log - agents/runs/session-readers-common-v2/pi-connect-final-focused.log - agents/runs/session-readers-common-v2/pi-connect-final-focused.json - agents/runs/session-readers-common-v2/pi-connect-c536-browser.log - agents/runs/session-readers-common-v2/pi-connect-c536-browser.json - agents/runs/session-readers-pi/browser-c536/pi-native-title.png - agents/runs/session-readers-pi/browser-c536/pi-durable-sleep.png - agents/runs/session-readers-pi/browser-c536/pi-exact-wake.png - agents/runs/session-readers-pi/browser-c536/pi-archive-resume.png - agents/runs/session-readers-pi/review-connect-disposition.md - agents/runs/session-readers-common-v2/pi-b33-focused.log - agents/runs/session-readers-common-v2/pi-b33-focused.json - agents/runs/session-readers-common-v2/pi-main-b33-contract-export.log - agents/runs/session-readers-common-v2/pi-main-b33-contract-export.json - agents/runs/session-readers-common-v2/pi-1960-bundles.log - agents/runs/session-readers-common-v2/pi-1960-bundles.json - agents/runs/session-readers-common-v2/pi-1960-browser.log - agents/runs/session-readers-common-v2/pi-1960-browser.json - agents/runs/session-readers-pi/browser-1960/pi-native-title.png - agents/runs/session-readers-pi/browser-1960/pi-durable-sleep.png - agents/runs/session-readers-pi/browser-1960/pi-exact-wake.png - agents/runs/session-readers-pi/browser-1960/pi-archive-resume.png - agents/runs/session-readers-pi/manual-browser-1960/pi1960-native-title.png - agents/runs/session-readers-pi/manual-browser-1960/pi1960-durable-sleep.png - agents/runs/session-readers-pi/manual-observation-1960.md - agents/runs/session-readers-pi/manual-browser-1960/cleanup.json - agents/runs/session-readers-common-v2/pi-1960-aside-fixture.log - agents/runs/session-readers-common-v2/pi-1960-aside-fixture.json - agents/runs/session-readers-pi/shared-ref-drift.md - agents/runs/session-readers-common-v2/pi-1960-sealed.log - agents/runs/session-readers-common-v2/pi-1960-sealed.json - agents/runs/session-readers-common-v2/pi-1960-sealed-base840.log - agents/runs/session-readers-common-v2/pi-1960-sealed-base840.json - agents/runs/session-readers-common-v2/pi-b551-focused.log - agents/runs/session-readers-common-v2/pi-b551-focused.json - agents/runs/session-readers-common-v2/pi-faca-bundles.log - agents/runs/session-readers-common-v2/pi-faca-bundles.json - agents/runs/session-readers-common-v2/pi-b551-browser.log - agents/runs/session-readers-common-v2/pi-b551-browser.json - agents/runs/session-readers-pi/browser-b551/pi-native-title.png - agents/runs/session-readers-pi/browser-b551/pi-durable-sleep.png - agents/runs/session-readers-pi/browser-b551/pi-exact-wake.png - agents/runs/session-readers-pi/browser-b551/pi-archive-resume.png - agents/runs/session-readers-pi/manual-browser-b551/pi-b551-native-title.png - agents/runs/session-readers-pi/manual-browser-b551/pi-b551-durable-sleep.png - agents/runs/session-readers-pi/manual-observation-b551.md - agents/runs/session-readers-pi/manual-browser-b551/cleanup.json - agents/runs/session-readers-common-v2/pi-b551-aside-fixture.log - agents/runs/session-readers-common-v2/pi-b551-aside-fixture.json - agents/runs/session-readers-pi/delivery/ci-b551-rust-failure.log - agents/runs/session-readers-pi/ci-fixture-missing-pi-before.log - agents/runs/session-readers-pi/ci-fixture-missing-pi-diagnostic.log - agents/runs/session-readers-pi/ci-fixture-missing-pi-after.log - agents/runs/session-readers-pi/ci-fixture-required-pi-mutation.log - agents/runs/session-readers-common-v2/pi-deac-focused.log - agents/runs/session-readers-common-v2/pi-deac-focused.json - agents/runs/session-readers-pi/ci-fixture-diagnosis-deac.md - Changed paths: 62 (see Files changed) - Delivery: mode pr, branch `feat/session-readers-pi`, base `main` </details>
yansfil
added a commit
that referenced
this pull request
Oct 9, 2026
Related: P5 OpenCode plugin #818 (이 PR이 그 위에 쌓은 플러그인 설치기와 helper), P6 session readers #804, Pi reader #826 (머지됨, 이 브랜치에 병합) ## Summary Pi와 omp 안에서 실행된 에이전트는 지금까지 Hide의 편지, 실행 가드, 하위 에이전트 수 없이 기본 지원(스킬과 Herdr 통합)만 받았습니다. 이 PR은 두 에이전트의 사용자 확장 폴더(`~/.pi/agent/extensions/hide.ts`, `~/.omp/agent/extensions/hide.ts`)에 Hide 확장 하나를 같은 원본으로 설치합니다. 확장은 pane 자신의 TUI 세션에 첫 프롬프트 안내와 대기 편지를 숨은 메시지(`display: false`)로 붙이고, 호스트가 그 메시지와 답을 기록한 뒤에만 편지를 확인합니다. 셸에서 Herdr로 에이전트를 직접 띄우려는 호출은 Claude Code 훅과 같은 사유로 막고, omp에서는 서브에이전트 수를 Herdr에 보고하고 Factory 작업자의 `ask`를 Factory 질문 가드에 넘깁니다. OpenCode 플러그인의 파일 처리는 세 파일이 함께 쓰는 소유 스크립트 파일(`hide-agent-hooks/src/plugin.rs`)로 일반화했고, 세션 한도는 세션 파일 경로를 담도록 한 규칙(4096바이트)으로 모았습니다. 그래서 설정의 Pi와 omp 행에서 `기본` 칩이 사라지고(PRD D-10, B1), P6의 Pi 세션 읽기와 합쳐진 Pi 행은 켜져 있으면 `Ready` 또는 `N sessions`를 보입니다. 벨은 두 에이전트 모두 꺼 둔 채이고, Memory는 P6의 omp 세션 읽기까지 머지된 뒤 따로 들어갑니다. ## Review - **판단해 주세요**: 확장은 Herdr pane 환경 변수만 보고 동작합니다(Hide 데몬이 그 Herdr를 소유하는지는 묻지 않음). PRD D-02/B11은 "Hide가 관리하는 pane"이라 쓰지만 Claude Code, Codex CLI 훅과 OpenCode 플러그인이 이미 같은 방식이라 맞췄습니다. 데몬이 없으면 helper가 `{}`를 답합니다. - **판단해 주세요**: OpenCode 동작 변화 하나. main의 hided는 `factory_question_guard`에서 `claude-code`와 `codex`만 받아 OpenCode의 질문 가드 요청이 wire에서 거절됐고, 그래서 Factory 작업자의 질문이 그대로 보였습니다. 이제 질문 도구를 선언한 모든 런타임을 받으므로 OpenCode 작업자의 질문도 설계대로 막힙니다. - **판단해 주세요**: 화면 변화. 어댑터 규칙(`basic()` = 프롬프트 받기나 실행 거절 중 하나라도 없음)에 따라 Pi와 omp는 `기본` 칩을 잃습니다. #818에서 OpenCode가 같은 규칙으로 바뀐 것과 같고 PRD가 정한 결과입니다. main의 설정 e2e 세 개(`agent-adapter-layer`, `agents-follow-herdr`, `agents-tab`)가 omp 칩을 기대해 CI가 실패했고, 기대를 새 규칙으로 고쳤습니다(이제 `기본`은 Grok과 Cursor뿐). - **판단해 주세요**: #811 병합 결과. `HookDialect`에 Pi, omp와 Grok, Cursor가 함께 있고, 기능 표는 두 쪽을 합쳤습니다(Grok, Cursor는 실행 가드와 하위 에이전트 수만, 편지는 없음, 그래서 계속 `기본`). Factory 질문 가드 wire는 이 PR의 4096바이트 세션 한도와 main의 `direct_ask_kind` 판정을 함께 씁니다(`claude-code`, `codex`, `opencode`, `omp`). - **판단해 주세요**: #826 병합 결과. Pi 선언은 이 PR의 hook, prompt_hook, spawn_guard와 P6의 session, sleep, fork, resume, conversation, titles를 모두 가집니다. Pi 세션은 `reports_turns`가 아니므로 편지가 턴 대기로 묶이지 않고, 확장이 쓰는 숨은 메시지(`role: custom`)는 Pi 리더에서 사람 입력으로 읽히지 않습니다. - **조심해서 볼 파일**: `hide-agent-hooks/src/pi_extension/extension.js` - 운영자의 Pi와 omp 프로세스 안에서 돕니다. 모든 콜백이 자기 예외를 잡고(omp는 타이머 콜백 예외로 세션이 끝남), 모든 helper 호출이 예산과 개수 상한을 가집니다. - **조심해서 볼 파일**: `hide-agent-hooks/src/plugin.rs`, `src/plugin/helper.rs` - 운영자 소유 폴더에 쓰는 코드이고 OpenCode와 공유합니다. OpenCode 파일의 바이트는 고정 테스트가 그대로임을 보입니다. - **조심해서 볼 파일**: `herdr-core/src/runtime/factory.rs`, `hided/src/server.rs`, `herdr-core/src/runtime/delivery.rs` - 세션 한도 256 -> 4096바이트(failure path). 해시 전에 길이를 검사합니다. - **비용 검토**: 셸 호출마다 `herdr` 문자열 검사 한 번, 그 문자열이 있을 때만 helper 1회(2.5초 예산). 프롬프트마다 helper 1회(1.85초), 확인 1회(2초). 동시 helper 8개, 출력 64KiB, 대기 항목 16개(10분), 하위 에이전트 64개 상한. 세션 종료 때 진행 중인 prompt, tool, start helper를 끊습니다. ## Evidence - **확인한 것**: sealed `verify-cargo.sh test`와 `lint` PASS(head a8996db). herdr-core, hided, hide-agent-hooks, hide-kit, hide-agent-adapter 전체 nextest 3585개 통과(#826, #811 병합 뒤). - **확인한 것**: Node 22+에서 생성된 확장을 실제 Pi 1.0.4, omp 18.7.0에서 잡은 사건 표본으로 재생: 밖에서는 등록 안 함, 숨은 메시지 모양, 답 뒤 한 번만 확인, 실패한 확인의 재시도, omp 재진입에서도 안내 유지, 예산, omp 수와 `ask`, 어떤 입력에도 예외 없음. - **확인한 것**: Playwright e2e(고정 Herdr 0.9.3, 격리 서버)에서 kit이 두 파일을 쓰고 Pi와 omp 대역 host가 이를 읽음: 양방향 편지와 기록 후 확인, 두 에이전트의 실행 거절 사유, omp 서브에이전트 수(Herdr 토큰과 snapshot), 서브에이전트 프롬프트에는 편지 없음. 확인 호출을 지운 결함을 심으면 실패함을 확인. - **확인한 것**: 실제 Pi 1.0.4와 omp 18.7.0 TUI를 pty로 띄워(비공개 HOME, 가짜 provider, 대역 helper) 확장 파일 그대로 실측: start, prompt, confirm 순서, 숨은 메시지가 세션 파일에 `display:false`와 `details.hide`로 남고 화면에는 그려지지 않으며 모델에는 닿음, omp TUI의 `ctx.mode`는 `tui`, Pi RPC 모드에서는 helper 호출 0. - **확인하지 못한 것**: 로그인된 에이전트로 한 실측. `scripts/agent-live-check.py --agents pi,omp`를 격리 Herdr에서 돌렸지만 두 에이전트 모두 `not_authenticated`였습니다. Pi는 startup 장면만 닿아 판정 `unsafe`(벨 뒤 비공개 설정 쓰기), rest는 시간 초과, 나머지는 건너뜀. omp는 모든 장면 건너뜀. 로그인은 하지 않았고 벨은 꺼 둡니다. - **확인하지 못한 것**: 실제 omp의 재진입과 실제 서브에이전트 수(합성 사건으로만), 사이드바 배지 표시(issue 810), 기기에서 도는 Pi와 omp, Windows(확장을 쓰지 않음), Memory(P6 뒤 별도 PR). - **확인한 것**: 고친 설정 e2e 세 개, `pi-omp-extension`, `opencode-plugin`, P6의 `session-readers`와 `link-graph`를 병합한 트리에서 로컬 통과. `pi-omp-extension`은 20회 중 1회 `native_identity_required`(코어가 pane의 세션을 아직 못 들음)로 실패해, 두 pane에서 `hide inbox`가 답할 때까지 기다리도록 고친 뒤 24회 모두 통과. - **확인하지 못한 것**: sealed 실행에서 `spawn_guard::a_pane_run_or_send_text_launch_leaves_the_name_and_intent_for_the_agent`가 한 번 빈 stdout으로 실패했고 단독 3회, 전체 binary 2회는 통과했습니다(이 PR이 건드리지 않은 테스트, `bell_intake`와 같은 부하 기한 부류). - **확인하지 못한 것**: sealed 실행 한 번에서 `bell_intake::a_prompt_that_only_starts_like_the_bell_is_an_operator_prompt`가 0.5초 payload 읽기 기한을 넘겨 실패했고, 단독과 이후 네 번은 통과했습니다. 같은 binary에서 두 Node 테스트가 동시에 돌던 것을 순서대로 돌게 바꿨습니다. <details><summary>Verification record</summary> - PRD: `agents/prd/pi-omp-extension/prd.md` (sha256 676a51347370bcc57965ce68ef407ee2585d2fdab6d3c30b64a5ce9ff7113f7d) - Base ba980fa → head a8996db, verified 2026-10-09T00:08:11.704Z: PASS - Verification report: `agents/runs/pi-omp-extension/verification-report.json` and `agents/runs/pi-omp-extension/verification-report.md`; source fingerprint af86a6093a02254b19bcf251c29d027666767d7cd5d857f3bd2d85198399727a - Suites: - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0) - S2: GREEN `bash scripts/verify-cargo.sh lint` (exit 0) - Reviews (advisory): - Fidelity, Code, Security on 274e824: Fix now = Factory 질문 가드의 256바이트 세션 한도(세 리뷰 모두), 확인 전 confirmed 기록(세 리뷰 모두), 준비 시점에 안내를 준 것으로 기록(Fidelity, Code), omp RPC를 pane의 루트로 셈(Security), 문서의 범위 과장(Fidelity). 모두 3236fdd, 95e9876, a301065, 4e5808444에서 고침. - Follow-up on 4e58084: 고친 8건 모두 닫힘, 새 코드 결함 없음; head에서 omp TUI 재실측, 치환 순서 테스트, 문서 한 문장 요청 -> 2ed0090f4에서 처리. - Follow-up on 2ed0090: 새 테스트의 rustfmt 위반 -> d5fbf81. - Follow-up on 37b60ff: fmt 닫힘, 두 Node 테스트를 순서대로 돈 변경은 결함을 가리지 않는 부분 완화, main 병합(#832)은 상호작용 없음; Fix now 없음. bell_intake는 `cargo test` 레인에서 재발할 때 issue로(그때는 부하에 기대지 않는 payload 기한으로 고침). - Follow-up on 1337720 (CI 설정 spec 수정): Fix now 없음; UI_BEHAVIOR 세션 수 문장과 AgentsTab 단위 테스트의 omp 모델링 -> da63cfd. - Follow-up on 27c8409 (#826 병합): Fix now = UI_BEHAVIOR의 Pi `Basic popover` 문장 -> 고침. 낡은 주석 둘, factory.md 작업자 문단, 단위 테스트 fixture도 함께 고침. 잠든 Pi 부모의 계보(경로 digest vs native id)는 P6 영역의 Follow-up. - Follow-up on 30d351f: Fix now = factory.md 작업자 문단이 Pi의 sleep과 OpenCode, Pi, omp의 다음 프롬프트 편지를 뭉갬 -> 54af6dc14에서 기능별로 나눠 고침, model.rs 주석도 실제 이유로. - Closure on 54af6dc: 두 항목 닫힘, Fix now 없음. - Follow-up on 428ac77 (#811 Grok, Cursor hooks 병합): Fix now 없음; 안 쓰는 `HookDialect::plugin()` 삭제, kit hook status와 질문 가드 parse 테스트에 Pi, omp 추가, 문서와 테스트 이름 정리 -> 32f9e2c. - Closure on 32f9e2c (+ main #842, #844 병합 a8996db): 닫힘, Fix now 없음. - Follow-up improvements: 잠든 Pi 부모 아래 자식의 계보가 깨어날 때까지 끊김(`SleepRecord`에 살아 있던 행의 계보 digest 보관), Herdr pane이면 Hide 데몬 여부와 무관하게 동작(OpenCode 플러그인과 같음), 다음 프롬프트 편지 pull이 pane 자신의 세션인지 코어에서 확인, 256KiB를 넘는 herdr 셸 명령, symlink로 된 hide.ts, Memory 전 프롬프트 본문 전달, 확장 미동작 에이전트의 편지 대기, CI 부하에서 Node 기동과 제품 예산의 경쟁. - Evidence: 13 registered (9 log, 4 file); paths are local to the run directory - agents/runs/pi-omp-extension/evidence/host-smoke/README.md - agents/runs/pi-omp-extension/evidence/host-smoke/pi-helper-calls.jsonl - agents/runs/pi-omp-extension/evidence/host-smoke/pi-session-hidden-entry.jsonl - agents/runs/pi-omp-extension/evidence/host-smoke/omp-helper-calls.jsonl - agents/runs/pi-omp-extension/evidence/host-smoke/omp-session-hidden-entry.jsonl - agents/runs/pi-omp-extension/evidence/host-smoke-tui/README.md - agents/runs/pi-omp-extension/evidence/host-smoke-tui/pi-helper-calls.jsonl - agents/runs/pi-omp-extension/evidence/host-smoke-tui/pi-session-hidden-entry.jsonl - agents/runs/pi-omp-extension/evidence/host-smoke-tui/omp-helper-calls.jsonl - agents/runs/pi-omp-extension/evidence/host-smoke-tui/omp-session-hidden-entry.jsonl - agents/runs/pi-omp-extension/live-check-1/report.md - agents/runs/pi-omp-extension/evidence/host-smoke-tui-head/README.md - agents/runs/pi-omp-extension/evidence/host-smoke-tui-head/omp-ctx-mode.txt - Changed paths: 64 (see Files changed) - Delivery: mode pr, branch `feat/pi-omp-extension`, base `main` </details>
HyunjunJeon
pushed a commit
to HyunjunJeon/hide
that referenced
this pull request
Nov 12, 2026
Closes with-hide/hide-private#526 Closes with-hide/hide-private#599 Refs with-hide/hide-private#395, with-hide/hide-private#530, with-hide/hide-private#117, with-hide/hide-private#586 Refs with-hide/hide-private#832 ## Summary - Start the checkout PR flow on Main after its setup has focused another workspace. - Prevent Windows test browsers from losing local page or resource requests during shell startup. - Retain the failed row and pointer state for a separate, unreproduced late card-hover failure. ## Review - **Risky files**: browser-launch.cjs merges installed runner defaults; the desktop preload extends effective flags. - **Risky files**: checkout-pr.spec.ts retains discovery's connection, then resets first-run selection before Main. - **Risky files**: desktop browser.spec.ts uses the shared arguments for its plain Chromium launch and checks the applied features through CDP. - **Decide**: The narrow upstream fix uses the locked runner's internal argument API; a changed shape fails startup. - An entire runner upgrade would also replace the browser revision and is outside this stabilization change. - **Cost**: The hover observer exists only for one test phase, retains 32 transitions, and is removed on every exit. - **Cost**: Splitting the plain-browser notice from the native-view lifecycle adds one isolated fixture start so Windows CI checks that launcher too; its existing notice assertions are retained. - [Windows run 41016473655](https://github.com/with-hide/hide/actions/runs/41016473655/job/123933953907), tracked by [private with-hide#130](with-hide/hide-private#130), records the same document-load error. - [with-hide#832](with-hide/hide-private#832) tracks one later card-hover failure; this PR does not claim its cause is fixed. ## Tests - **Layer**: Unit feature merging; real browser startup and desktop recovery cross the actual host launch boundary. - The desktop plain-browser case checks the effective final disabled-feature list, retained runner defaults and the Windows loopback fix before opening the shell. - It passed its first Windows CI attempt on the final head in [the desktop lane](https://github.com/with-hide/hide/actions/runs/42860546110/job/129985854339). - Units cannot observe which feature list the launched browser applies; the startup check reads that applied state. - **Catches**: Removing the Windows feature fix failed two merge checks; restoring it passed all three. - **Repeat**: Linux/macOS: five flows x20, [100 passed each](https://github.com/with-hide/hide/actions/runs/42832076296). - Desktop recovery/relaunch: each x10 on macOS/Windows, retries 0, [40 passed](https://github.com/with-hide/hide/actions/runs/42831271844). - Final Windows: five flows x20, retries 0, [100 passed](https://github.com/with-hide/hide/actions/runs/42844846265/job/129929485236). - **Waits**: No new wait, delay, retry, timeout or threshold; the existing Main assertion follows explicit state setup. ## Evidence - **Verified**: Local startup/checkout flows, desktop recovery/relaunch, unit 3, lint, types, builds and policy checks. - **Verified**: The split desktop plain-browser and native-view flows passed locally without retries; desktop lint and typecheck passed. - **Verified**: A controlled trigger replacement preserved the original failure and captured mounts=2 before teardown. - **Verified**: [Required CI](https://github.com/with-hide/hide/actions/runs/42860546110) and independent review passed on final head c532660. - **Not verified**: The historical reference-only causes and the late hover cause. <details><summary>Failure evidence and review boundaries</summary> - with-hide#526's run 42780431716 drew Workspace while the test expected Main after setup focused its agents. - with-hide#599's run 42080456072 had an unmounted shell, a successful document and a failed entry script with ERR_NO_BUFFER_SPACE. - Private with-hide#130 is handled separately by public PR with-hide#2372; its Windows host log recorded window.load_failed ERR_NO_BUFFER_SPACE after a normal daemon start. - The test-only startup fix follows [the upstream fix](microsoft/playwright#43605) and [the browser defect](https://issues.chromium.org/issues/572515601). - The locked runner 1.63 lacks that fix. The helper reads its installed defaults rather than copying a version-specific list. - with-hide#395's run 42140863283 attached its daemon before its shell wait failed, with no page-side or failed-load signature for that exact wait. Its initial report used the retired fixture startup path; neither identifies this PR's connection cause. - with-hide#530's original failure drew Main with a failed sidebar boundary. A controlled stylesheet abort reproduced that screen and a missing CSS-token diagnostic, but the original artifact retained no asset-failure signature. - with-hide#117's latest retained record has only a whole-test timeout. Its historical lost step remains unidentified. - with-hide#586's run 42359435922 explicitly reports the loopback error, but its initial whole-test timeout and its separate focus flow were not resolved by the targeted repetitions. - For those next failures, inspect pageSide screen/project state, request status, failed requests, renderFailures and renderDiagnostics. The dump now retains failed regions and the newest eight relevant render diagnostics. Each reference-only issue has a comment with its confirmed facts, remaining gaps and next dump. - with-hide#536 was closed separately because commit 8be1505 deleted its Home collision test. The current no-project startup spec does not replace that behavior. - The first Windows repetition had 99/100 passes: checkout-pr.spec.ts:273 failed at the final light-theme hover after the shell, row, PR glyph and browser display had already drawn. - A diagnostic-only repeat at 5eefccb passed 100/100: all 20 checkout attempts retained one trigger mount, had PR facts ready and hit that row with the pointer. The card opened after its normal hover delay. This did not reproduce or establish the cause of the earlier failure. - The replacement diagnostic captures the failing state inside that step, before teardown can add a disconnected banner and move the row. It records the checkout key, mounts, pointer hit, geometry, focus, visibility, drag marks and tooltip state, preserves the original error, and reports independent cleanup failures. - The old conversation-date fixture also caused automatic sleep of the Main setup agent in the failed run. A current-clock proposal removes that sleep locally, but its relationship to the hover failure is unconfirmed. It remains an uncommitted local patch documented in with-hide#832. - No product input, runtime mutex, snapshot wire or rendering path changes. The operator's installed application was untouched. </details> <details><summary>Verification record</summary> - Final head: c532660. - Startup repeat candidate 4231d60: Linux/macOS each five flows x20, no retry. - Desktop repeat candidate ce0dffe: JSON reports on each OS show expected=20, unexpected=0, skipped=0, flaky=0, repeatEach=10 and retries=0. - Diagnostic-only Windows candidate 5eefccb: run 42838637529, five flows x20, no retry, 100 passed. The temporary early observer and trace flag were reverted. - Final Windows repeat candidate 49b560a: run 42844846265, five flows x20, retries=0, 100 passed; job log confirms the exact tested commit. - All temporary workflow changes are reverted. The repeated specs, shared startup fixtures and guide match the final Windows repeat candidate; the later desktop browser.spec.ts regression and its smaller size baseline are the only differences in those test trees. - Head 1933d66 is a source-identical verification commit after f45c106, added to regenerate the synthetic merge against the corrected base. - Review follow-up c532660 applies the shared launch settings to the desktop plain browser and separates that existing notice contract into a Windows-covered case. - Local current source: checkout hover flow passed without retries; a controlled browser replacement captured the original failure and two mounts; web lint and test-size budget passed. - Earlier unchanged-source checks: web build; web/desktop lint; desktop typecheck; startup/checkout 3; desktop recovery/relaunch 2; merge unit 3; design contract and policy checks passed. - Manual repeat dispatches that skipped every test and draft-only verify failures are excluded from verification evidence. - Independent review and required CI 42860546110 passed on c532660. - Ready run 42849933157 checked synthetic merge 83a0f35 against base 8284fb6, which predates with-hide#2398. - That merge still waited on the retired status.herdr field; current main uses status.engine. All hard web failures were at that restart boundary. One required failed-job rerun was started. - The regenerated merge f4ed9d1 includes the corrected status.engine wait. - Final run 42860546110 tests merge 6b977ba containing c532660; completed job logs confirm that checkout. - Its Linux suite has 412 passes and eight Windows-only skips, the retry-free changed-spec repeat has 80 passes, Windows web has 85 passes, and Windows desktop has 24 passes and one existing platform skip. The new plain-browser startup case passed its first attempt in 6.9 seconds. </details>
yansfil
added a commit
that referenced
this pull request
Nov 15, 2026
…ack rule The update card's close carried its own copy of the rule that decides a late hand-back has lost to the operator's next control. It now uses useReturnFocus with the ↑ button as its named target, so one rule decides for every layer, and the separate helper and its tests are gone. The checkout card's wait for a still row came out with its comment: the retained runs fail after the hover, where the wait cannot look, so it claimed a cause it did not remove. #832 stays open. Co-Authored-By: Claude Opus 5.5 <[email protected]>
yansfil
added a commit
that referenced
this pull request
Nov 15, 2026
…ack rule The update card's close carried its own copy of the rule that decides a late hand-back has lost to the operator's next control. It now uses useReturnFocus with the ↑ button as its named target, so one rule decides for every layer, and the separate helper and its tests are gone. The checkout card's wait for a still row came out with its comment: the retained runs fail after the hover, where the wait cannot look, so it claimed a cause it did not remove. #832 stays open.
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.
Closes #829
Related: #803
Summary
main의 push run이 a03ac58(#803)에서 빨간불입니다:
agent-tab-groups.spec.ts의 "Delegated canvas returns to its normal tab..."가 web e2e linux 2/4에서 재시도까지 실패했습니다.#803이 이 테스트를 자식 칩 클릭에서 pane 머리의 ↳ 배지 목록 클릭으로 바꾸면서, 배지가 보이자마자 목록을 열게 됐습니다.
그때 core가 자식을 부모 탭 밖으로 옮기는 중일 수 있고, 그 이동이 머리를 다시 그리며 열린 목록을 닫아 다음 줄의 자식 행 클릭이 15초 뒤 실패합니다.
두 delegated-canvas 테스트 모두 자식 pane view가 부모 탭에서 빠진 뒤에(
toHaveCount(0)) 배지를 누르도록 순서만 바꿨습니다. 제품 코드는 그대로입니다.Review
Evidence
--repeat-each 6 --workers 2로 12/12 통과(격리 Herdr, 이 worktree의 hided debug).--retries 0으로 2/12 실패, 둘 다chip.click15초 timeout(332행, 368행). CI 실패와 같은 모양입니다.eslint, e2e 크기 검사, webtsc --noEmit통과.