Skip to content

Show sessions by ownership and next action - #803

Merged
yansfil merged 30 commits into
mainfrom
prd/session-first-ui
Oct 8, 2026
Merged

yansfil merged 30 commits into
mainfrom
prd/session-first-ui

Conversation

@yansfil

@yansfil yansfil commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Related: #763

Summary

  • 사이드바에는 운영자 세션만 남기고, 직계 자식은 공통 ↳ 목록에서 열도록 정리했습니다.
  • 오른쪽 첫 탭 세션에 프로젝트의 내 차례, 리뷰·머지, 진행 중과 오늘 해결을 PR·CI·이슈 사실과 함께 모았습니다.
  • 해결 상태를 저장하고 새 입력·작업 때 복귀시키며, 부모가 풀 수 없는 자식만 운영자에게 올립니다.
  • pane 머리는 할 일이 있을 때 띠를 보여주고, 자식 이동의 대기·실패·재시도를 같은 위치에 표시합니다.

이전: 사이드바 Agents 탭과 Overview 요청 목록
이후: 운영자 세션, 자식 경고와 오른쪽 세션 패널
이전은 보존된 렌더러, 이후는 이전 구현 후보의 실제 OS 창입니다.
서로 다른 합성 작업·언어의 구조 비교이며, 현재 통합 커밋의 새 OS 캡처는 아닙니다.

Review

  • 판단해 주세요: 긴 한국어 제목, 압축된 세션 행과 부모 경고 띠의 가독성·우선순위를 봐 주세요.
  • 확정된 결정: D-41의 불투명 띠 겹침은 승인됐으며, 띠가 사라지면 터미널 윗줄이 다시 보입니다.
  • 조심해서 볼 파일: agent_state/, runtime/session_state.rs - 위임·읽음·저장 ACK와 snapshot 소유권.
  • 조심해서 볼 파일: runtime/agents.rs, sidebar.tsx - 두 저장 ACK와 휴면 행의 상태·접힘 통합.
  • 조심해서 볼 파일: PaneHeaderBand.tsx, PaneView.tsx, mobile/push.rs - 이동 실패, PTY와 알림 중복.
  • 비용 검토: 실제 상태 전이에만 파생·발행하고 기존 coordinator와 저장 worker를 재사용합니다.

Evidence

  • 현재 검증: main 재통합으로 로컬 sealed 결과는 STALE입니다. 유지보수자 지시로 Cargo 재실행 없이 CI가 판정합니다.
  • 직전 검증: 이전 후보 S1은 기존 플랫폼 검사 1개 실패·2,914개 통과·12개 제외, S2는 통과했습니다.
  • 미확인 범위: 직전 S1의 뒤쪽 검사와 현재 통합 후보의 로컬 전체·runtime 검사는 미실행입니다.
  • 후속 리뷰: 현재 커밋 Fidelity·Code 리뷰에서 새 SessionUI 수정 요구 없음. 상속된 Factory 알림 문제는 후속 항목입니다.
  • 현재 정적 확인: 화면·디자인 계약과 static-design 83개 통과. Factory와 나머지 13개 시트 보존을 비교했습니다.
  • 이전 집중 확인: 직전 후보의 웹 6개·Electron 2개 통과. OS 캡처 2건 실패, 기존 OS 이미지 12장은 보존했습니다.
  • 이전 회귀: 전체 웹 221개 통과·fixture 실패 1개 뒤 메뉴 9개 통과; desktop 59개 통과·8개 조건부 제외.
  • 확인하지 못한 것: foreground 4개, 실제 휴대폰·SSH·제공자·IME·60분 임계, 일부 저장 교차 실행과 성능 동등성.
  • 생성물: Pen·토큰·상태 계약을 갱신했습니다. main의 Factory 시트는 재생성 후 기존 transplant로 통합했습니다.

Breaking change

  • 이전 체크아웃 펼침 기록은 버리고 기본 펼침으로 시작합니다. 이후 명시적으로 접은 체크아웃 상태를 저장합니다.
추가 증거와 한계

앞선 구현 후보에서 승인된 v6/v9 Dark 레퍼런스, Pen과 실제 컴포넌트 갤러리를 비교했습니다.
Light 이미지는 Pen과 갤러리 비교이며 별도의 승인 레퍼런스 이미지는 없습니다.
샘플 작업·언어·행 개수가 달라 전체 화면의 픽셀 동등성이나 미적 승인을 주장하지 않습니다.

v6 세션 패널 Dark 비교
v6 세션 패널 Light 비교
v9 pane 머리 Dark 비교
v9 pane 머리 Light 비교
실제 후보 창: 자식 이동 시간초과와 같은 띠의 재시도

  • native 캡처는 합성 lifecycle·제공자 사실과 대부분 빈 PTY를 사용한 실제 격리 daemon/Herdr 창입니다.
    물리 IME, 실제 제공자 연결이나 native PR 칩 열기까지 확인한 것은 아닙니다.
  • idle 15.37초 동안 발행 0회, 두 세션의 10회 상태 전이에 30개 delta를 관찰했습니다.
    공유 호스트 부하가 통제되지 않아 CPU 전후 동등성·mutex 지연·대규모 세션 성능은 확인하지 못했습니다.
  • 파생 작업은 현재 행·자식·pane 수를 따르고, 같은 controlling frame 100개에 추가 header 파생 0회입니다.
    저장 대기는 최신 한 frame으로 합쳐지며 I/O는 lock 밖입니다.
    해결·올리기·접힘 map은 세션/편지/명시적 제거 수명으로 정리하고 별도의 숫자 cap은 없습니다.
  • 앞선 전체 로컬 검증 4회는 실패 기록으로 남습니다.
    기존 main과 같은 hooks·kit·process 테스트의 타이밍/자손 baseline 실패는 #288에서 추적합니다.
    main 통합 이전 추가 실행 두 번 중 첫 실행은 process baseline 5→4로 실패했고, 두 번째는 소스·테스트·제한시간·suite 변경 없이 전체 통과했습니다.
    최초의 이 변경 소유 Clippy 실패는 테스트의 동일 기대값을 참조 slice로 표현해 수정했습니다.
  • 탐색용 전체 브라우저 실행은 199개 통과·22개 실패였으며 22개 모두 이후 해당 흐름 재실행으로 통과했습니다.
    최초 PR CI의 7개 실패는 제거된 탐색 selector, 허용된 중복 행, 접힘 진입과 좌표 측정 준비 신호를 수정했습니다.
    기대값·제한시간·retry·skip 설정과 제품 코드는 이 후속 수정에서 바꾸지 않았습니다.
  • 이전 CI 수정 뒤 웹 전체 실행은 46.5분 동안 221개 통과·앱 시작 전 Git fixture 실패 1개입니다.
    기존 helper의 서명 상속을 제거한 뒤 메뉴 spec 9개가 모두 통과했습니다.
    당시 stderr가 버려져 원래 commit 실패의 원인을 확정하지 않으며, 전체 실행을 통과로 바꾸어 쓰지 않습니다.
  • 이전 CI 수정 뒤 데스크톱 background 전체 실행은 59개 통과·기존 조건부 제외 8개입니다.
    로컬 foreground 4개는 검증 가이드에 따라 CI에서 실행합니다.
    캡처를 끈 실행은 기존 Light 숫자 힌트 분기도 실행하지 않으며, 이 분기는 캡처를 켠 앞선 focused 실행에서 통과했습니다.
    그 실행의 다른 두 테스트는 OS 창 캡처 오류로 중단됐고, 캡처를 끈 후속 실행에서 세 흐름이 통과했습니다.
    이 결과를 새로운 OS 스크린샷 검증으로 주장하지 않습니다.
  • 플랫폼 전용 skip과 기존 React act 경고는 유지됩니다.
    저장 실패·새 Working/세션 교체가 저장 ACK와 교차하는 경우, native/추론 질문 전체 조합은 후속 개선입니다.
  • 리뷰에서 URL 중복, 여러 PR의 리뷰/머지 선택, 부모 경고와 소유 요구 우선순위, 접힘 보존, 공유 배지/CTA를 수정했습니다.
    native에서 찾은 중복 이동 피드백/PTY 변형과 폐기된 요청 spec의 shard 참조도 닫았습니다.
    native 질문을 읽음으로 지우자는 제안은 기존 until-answer 계약을 확인해 철회했고, AI 추론 질문만 읽음으로 내립니다.
Verification record
  • Contract: approved session-first-ui B1-B43, sealed v14/cycle2; PRD SHA256 b4a5fa9c62f8567481dc10d2e16f03c281abcfdcc6ec256ed952ac1a3b61195c.
  • Integrated base b33fb578a8b55ec6cbca350ba3370d43f671d41c; current head 8dd6af014bb8ae8d82fe61fb9a8d3182e10f307a; changed paths 186.
  • Current local verification STALE after main/evidence integration. Explicit maintainer letter3164 directs no new local Cargo/sealed run and CI judgment of the combined tree.
  • Immutable historical fd6 report verdict FAIL, generated 2026-10-08T19:40:04.317Z; attempt 0c20891a-5156-4361-9d03-609d6264d47f,217.963 seconds.
  • Report: agents/runs/session-first-ui/verification-report.json and .md.
  • JSON SHA256 38a0b9d66b07b9be8701b770a02204c2791533303c3021e0b87230c6d4d45605.
  • Markdown SHA256 e73020fcfbbd42e1062a529bce0ba552543118a5c7a9dacabc66e76c8f52bc2e.
  • Historical fd6 source fingerprint 2df7dc811f2ca62d357393b6cf43f66be5853ad72bdb69e6427677e3ccb4e362; input fingerprint 1d80ccb2043724d92b0b5dd69ba842d9e165d9c91caa0c551f0e1a8d0d5ab14c.
  • At the fd6 attempt, source/input drift false and both command mutatedTree flags false. No suite exclusion, retry, timeout or expectation relaxation. This is not a seal of current8dd6.
  • Historical fd6 S1 bash scripts/verify-cargo.sh test: exit101,191.015 seconds,21 actual summaries,2914 passed/1 failed/12 ignored.
  • Only failure: hide-platform process::repeated_guarded_work_releases_children_and_capture_resources, process.rs560, global descendants expected5/observed4.
  • S1 stops at that integration binary; remaining workspace/doc-test targets did not execute. Log mechanical-8b538b0ca7d4f731.log.
  • Historical fd6 S2 bash scripts/verify-cargo.sh lint: exit0,24.700 seconds. Log mechanical-81dc8cc55729be05.log.
  • The failed fd6 platform tree was identical to its integrated main64dd8bf3; independent main PR812 repairs that oracle and is included in the new main integration. Its local execution at8dd6 is unverified. No scanner/timeout cause is inferred.
  • Explicit maintainer disposition: after main advanced and only the Pen file conflicted, merge main and resolve through generation, run static design checks, omit another local Cargo/sealed run, push the samePR and leave CI/merge to the maintainer.
  • Normal delivery preflight actually refused fd6 FAIL; current8dd6 also lacks current PASS. No verification state/report was falsified. This update uses the explicit exception, not ordinary PASS eligibility.
  • Reviews: complete Fidelity v9 and Code v9 at8dd6 identify no new SessionUI Fix now, retain B1-B43/C1-C6/F1-F6 coverage and independently verify all196 artifact hashes plus Pen preservation; parent dispositions v9 close the evidence follow-up condition.
  • Code I1, inherited P2 Factory follow-up: a replaced notification keeps an old close callback that forgets the current retained object by ID. Same-main break/recover/break can reuse the ID; exact-instance release or retiring the stale close callback needs owner coverage. This bridge is unchanged from accepted main and outside the SessionUI diff; native impact is source-inferred, not reproduced.
  • Managed-save interleavings, native/inferred question matrices, four-locale reasons and bounded fixture stderr remain follow-ups; no current runtime or verification PASS is inferred from the reviews.
  • Frozen registered evidence:196 files,194 material and2 historical fd6 required-command logs, all196 hashes match; all186 v8 registrations unchanged.
  • V9 adds10 material entries: seven static logs, failed initial/passed final structural comparisons and integration provenance. Earlier material retains its original source identity.
  • Manifest registered-evidence-review-v9.json SHA256 da8f9b3eb53f94970f15ed07c7b8a451358220f478275a62b25baf22af9bf122.
  • Current static checks: screens/contract PASS; gallery3, transplant18, scratch10, review23, screens29 =83 PASS/zero failures or skips;34.117-second total command duration.
  • Only Pen conflicted. Regenerated merged scripts, then existing transplant preserved all13 non-Factory branch sheets and all14 placements/version/imports/variables; Factory content excluding placement equals main.
  • Initial full generation comparison failed because eight unrelated SDK sheets/import spelling normalized; that failed comparison remains recorded. No Pen JSON was hand-merged and no generator was changed for resolution.
  • Historical fd6 focused CLI build28.56s PASS; web6/6 PASS2.2m; Electron capture-enabled0/2 due OS capture errors, capture-disabled functional2/2 PASS27.1s.
  • In the two Electron specs executed atfd6 the flag gates only capture collectors. Historical digit tests have a separate conditional Light assertion and are not described that way.
  • Failed OS capture candidates: PID55249/window691 and PID60302/window692, one on-screen window each; provenance and error DOMs retained.
  • The fd6 agent-spawn-delegation image is renderer-only. No new runtime, OS image, physical input or live-provider observation was performed for8dd6.
  • Historical12 OS images: source9bedba9e8ed7ed018384ba25fb34c6cac74d8879, PID36989/window36062, private HOME/state/Herdr, synthetic lifecycle/transcripts and blank PTYs.
  • Historical whole web221 PASS/1 pre-hided Git fixture FAIL, menu9/9 closure and desktop59 PASS/8 prerequisite skips remain distinct outcomes. Original Git stderr and exact signing cause remain unavailable.
  • Prior complete local Rust PASS belongs to4d1c0334 only and is not substituted for the historical fd6 FAIL or current8dd6 STALE.
  • Physical phone/SSH/providers/IME,60-minute threshold, complete native narrow/key states, named managed-save failure/interleavings and matched performance/lock/latency/fleet measurements remain unverified.
  • CI and merge are handed to the maintainer after the exact pushed SHA report; no merge performed here.

yansfil added 26 commits October 8, 2026 08:25
@yansfil
yansfil merged commit a03ac58 into main Oct 8, 2026
20 checks passed
@yansfil
yansfil deleted the prd/session-first-ui branch October 8, 2026 20:37
yansfil added a commit that referenced this pull request Oct 8, 2026
…oup tests (#832)

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

- **판단해 주세요**: 이동 중 열린 ↳ 목록이 닫히는 것은 제품 동작으로 #833에 남겼습니다. 이 PR은 테스트 순서만
고칩니다.

## Evidence

- **확인한 것**: 고친 두 테스트를 로컬에서 `--repeat-each 6 --workers 2`로 12/12 통과(격리
Herdr, 이 worktree의 hided debug).
- **확인한 것**: 같은 조건에서 고치기 전 버전은 `--retries 0`으로 2/12 실패, 둘 다 `chip.click`
15초 timeout(332행, 368행). CI 실패와 같은 모양입니다.
- **확인한 것**: CI 기록상 이 테스트는 #803 PR run에서 1회 실패 후 재시도 통과(#829 자동 등록),
main a03ac5821에서 2회 모두 실패했습니다.
- **확인한 것**: `eslint`, e2e 크기 검사, web `tsc --noEmit` 통과.
- **확인하지 못한 것**: Linux 러너에서의 반복 실행. 이 PR의 CI가 첫 확인입니다.
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.

1 participant