Skip to content

Keep an Overview opened while a checkout switch is unanswered - #1103

Merged
yansfil merged 1 commit into
mainfrom
fix/overview-survives-landing
Oct 14, 2026
Merged

yansfil merged 1 commit into
mainfrom
fix/overview-survives-landing

Conversation

@yansfil

@yansfil yansfil commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Closes #495

Summary

사이드바에서 checkout 행을 누른 직후 Overview를 열면, 코어가 그 checkout 전환에 답하는 순간 Overview 레이어가 닫혔습니다.
행 클릭은 전환이 끝날 때까지 "열리는 중"을 기억하고, 끝나면 화면을 Workspace로 되돌리는데, 그 되돌림이 그 사이에 운영자가 연 Overview까지 닫았기 때문입니다.
macOS에서는 코어 답이 다음 클릭보다 먼저 와서 드러나지 않았고, Linux CI runner에서는 순서가 자주 뒤집혀 main의 s2 Overview 왕복 테스트가 90초 timeout으로 실패했습니다 (run 38533163219, 그리고 #1100/#1094/#1098의 Linux shard).
이제 이미 Workspace가 앞에 있으면 전환 완료는 기다리던 열기만 지우고 화면은 건드리지 않습니다. All projects나 Overview 화면에서 연 경우는 전과 같이 Workspace가 앞으로 옵니다.

Review

  • 판단해 주세요: 행 클릭 뒤 운영자가 연 레이어는 운영자 것이므로 전환 완료가 닫지 않는다는 해석. docs/UI_BEHAVIOR.md 사이드바 checkout 행 절에 한 문장으로 적었습니다.
  • 조심해서 볼 파일: web/src/App.tsx - 열기 완료 effect의 failure path. landed 분기만 바뀌었고 cancelled와 refusal 경로는 그대로입니다.

Evidence

  • 확인한 것: bash scripts/verify-web.sh web typecheck/lint/test/build 통과 (176 files, 1558 tests). web/e2e/s2.spec.ts와 web/e2e/overview-modal.spec.ts 12개 모두 macOS 로컬에서 --retries=0으로 통과. 이 PR의 CI Linux shard가 같은 s2 테스트를 다시 돌립니다.
  • 확인하지 못한 것: Linux에서의 재현은 로컬로 못 했습니다 (macOS에서는 코어 답이 항상 먼저 옵니다). 원인은 CI 아티팩트의 page snapshot (Overview 버튼에 aria-current 없음, 레이어 없음)과 코드 경로 (openWorkspace -> beginOpening -> landed -> setScreen -> overviewOpen: false)로 추적했습니다. 로컬 e2e의 hided/hide는 이 PR이 바꾸지 않은 main(ba166d8)의 debug 빌드를 복사해 썼습니다.

A sidebar checkout row's open remembers its target until the core lands
there; landing put the Workspace screen back, which also closed an
Overview layer the operator had opened over the same Workspace in the
meantime. On a Linux CI runner the core's answer arrives after the next
click often enough that the s2 Overview round trip timed out on main.

A Workspace already in front now only clears the pending open on
landing; the screen change stays for an open from All projects or an
Overview screen.
@yansfil
yansfil merged commit 60416ee into main Oct 14, 2026
20 checks passed
@yansfil
yansfil deleted the fix/overview-survives-landing branch October 14, 2026 09:50
yansfil added a commit that referenced this pull request Oct 15, 2026
… behind one button (#1106)

Related: PRD `agents/prd/session-record-redesign/prd.md` · main
0ba63d5(#1094, #1103, #1107, #1109, #1111 포함) 위에 리베이스함 ·
work-tab-pr-lens는 아직 들어오지 않음 · 판단을 끝난 일로 다시 여는 문제는 #1104

## Summary

- 세션 기록이 PR, 일 체크리스트, 받은 요청을 한 화면에 상태 단어 없이 보여 주고, 놓친 일은 해당 일 밑에 붙습니다.
- 운영자가 한 말은 헤더의 말풍선 버튼 하나로 켜고 끕니다. 위임받은 기록에서는 받은 요청이 됩니다.
- PR 표시는 어디서나 `#번호`입니다. 가족이 둘 이상인 루트는 번호 없이 개수만 보이고, Sessions 행의 놓친 일
깃발과 `● N`은 없어졌습니다.
- 놓친 일은 Sessions 맨 위 `놓친 일 N` 그룹에서 열린 것만 한곳에 모읍니다.
- Claude Code의 `/model` 같은 로컬 명령이 운영자의 요청으로 기록되던 문제(`//model`)를 읽는 쪽에서
고쳤습니다.

![Session record: PRs first, then the checklist with its count, the
words button at the right of the
header](https://github.com/yansfil/pr-assets/blob/main/hide/session-record-redesign/5c79d9c/rest-d.png?raw=true)
![Open missed work sits under its task with the issue and dismiss
actions](https://github.com/yansfil/pr-assets/blob/main/hide/session-record-redesign/5c79d9c/missed-d.png?raw=true)

## Review

- **운영자 결정 (10-14)**: 하위 에이전트가 찾은 놓친 일은 루트 기록 맨 끝에 그 자식 이름과 함께 한 번만
보입니다. 펼친 자식 기록에는 다시 그리지 않습니다.
- **운영자 결정 (10-14)**: 끝낸 일이라도 PR이 리뷰 중이면 반원으로 그리고 헤더 `done/total`의 끝난 수에
넣지 않습니다. 끝남은 PR 머지까지입니다.
- **조심해서 볼 곳**: #1109와 겹친 Sessions 행과 기록의 자식 행 - 목록 행에는 로고 없이 상태 마크가 먼저
오고, 기록의 자식 행은 제품 이름을 툴팁과 스크린리더 글로만 냅니다.
- **조심해서 볼 파일**: `hide-session/src/lib.rs`,
`hide-session/src/conversation_cursor.rs` - 명령 기록은 답이 같이 읽히는 poll까지 되감아
기다립니다. 윈도 첫 줄이면 기다리지 않아 리더가 멈추지 않습니다 (failure path, 진행 보장).
- **조심해서 볼 파일**: `web/src/SessionRecord.tsx` - 전면 재작성.
`web/src/sessionWork.ts`의 `checklist()`가 요청 offset으로 일과 놓친 일을 잇습니다.
- **비용 검토**: 상시 작업이나 고빈도 경로를 늘리지 않습니다. 명령 뒤 탐색은 사람이 친 슬래시 명령에서만, 첫 대화
기록에서 멈춥니다.
- **운영자 결정 (10-14)**: 한 요청이 두 일에 묶이면 그 말풍선이 두 일 밑에 모두 보입니다.

## Evidence

- **확인한 것**: `scripts/verify-cargo.sh` test 와 lint 통과. web 전체 1583개
테스트(리베이스 뒤), `tsc`, eslint, `check-design-contract`, `gen-screens` (이미
생성 결과와 같음, 17장).
- **확인한 것**: 리베이스 뒤 격리한 hided와 Herdr에서 Playwright 6개 통과
(session-work-ledger, session-panel, session-tree, sidebar-status). 실제
세션에서 뽑은 명령 기록 fixture로 poll 경계마다 나눠 읽어도 한 번만 읽힘을 확인했고, 되감기와 윈도 경계 테스트는
수정을 빼면 실패합니다.
- **확인한 것**: 갤러리 장면을 실제 브라우저로 찍어 Pen 내보내기와 비교했고, 기하 검사에서 넘침과 겹침이 없었습니다
(Dark/Light, 좁은 폭, 긴 한국어).
- **확인하지 못한 것**: 말풍선 펼침/접힘은 jsdom에 레이아웃이 없어 단위 테스트가 없고 스크린샷으로만 확인했습니다.
영어 UI, 글자 크기 갤러리, 원격 기기, Windows/Linux, 설치된 앱 라이브 확인은 하지 않았습니다.
- **확인하지 못한 것**: 다른 에이전트의 읽기 코드에 명령 모양 기록이 없다는 PRD의 고정 파일 확인은 하지 않았습니다.
폰 대화(`hided/src/mobile/conversation.rs`)와 Memory 읽기는 한 덩어리를 읽어 끝의 명령을
요청으로 볼 수 있고, 아직 갱신되지 않은 기기 helper는 `/model`을 계속 기록합니다.
- **확인하지 못한 것**: 판단 실패한 최신 요청이 일하는 동안 `지금`으로 남습니다 (wire에 판단 실패 표시가 없음).
- **생성물**: `design/hide-screens.pen`은 생성기로 만든 큰 바이너리 diff입니다. 위 이미지가
결과입니다.

<details><summary>추가 증거</summary>

Pen 비교와 나머지 상태(말 켜짐, Hide AI 꺼짐, 좁은 폭, Sessions 패널)는 실행 폴더에 로컬로 남겨
두었습니다.

</details>

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

- PRD: `agents/prd/session-record-redesign/prd.md` (sha256
b7ef799d1e86b3258699f96c692dadffcd4716b171113a150a45c6feb0b00c12)
- Base 0ba63d5 → head 68592ae, verified 2026-10-15T01:26:47.515Z: PASS
(S1 414.5 s, S2 7.3 s)
- Verification report:
`agents/runs/session-record-redesign/verification-report.json` and
`agents/runs/session-record-redesign/verification-report.md`; source
fingerprint
ce473e6931ceba4784ffd35034e4d49570f34a930dfabf2bbb491ec7b0b151dc
- Suites:
  - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0)
  - S2: GREEN `bash scripts/verify-cargo.sh lint` (exit 0)
- Reviews (advisory):
- Fidelity, head 1bd95fc: 3 Fix now (a child's missed item drawn twice,
a bare PR number on the Factory card, no read time on a task's PR
button), all fixed in bd379c5. Follow-ups listed in Review.
- Code, head bd379c5: no lost or duplicated command found; 5 Fix now
(hold without progress guarantee at the read-window edge, its missing
test, blank Assigned work section, child `0/0` count, dead strings), all
fixed in the next commit.
- Follow-up Code, fix commit: 1 Fix now (the retry ignored a reply
inside its own window), fixed in the head; a mutation of the fix fails
the new test.
- Rebase follow-up, `git range-diff 60416ee..5c79d9c 0ba63d5..68592ae`:
4 changed commits, each a conflict with #1109 resolved to its rules (Pen
rows without `provider`, `SecondLine` owl prop as on main, record child
row title tooltip and screen-reader product name instead of the logo,
UI_BEHAVIOR row sentence). No new finding.
- Evidence: 7 registered (6 screenshot, 1 log); paths are local to the
run directory
  - agents/runs/session-record-redesign/shots/rest-d.png
  - agents/runs/session-record-redesign/shots/words-d.png
  - agents/runs/session-record-redesign/shots/missed-d.png
  - agents/runs/session-record-redesign/shots/off-d.png
  - agents/runs/session-record-redesign/shots/narrow-long-d.png
  - agents/runs/session-record-redesign/shots/panel-d.png
  - agents/runs/session-record-redesign/e2e.log
- Changed paths: 33 (see Files changed)
- Delivery: mode pr, branch `gen-prd/session-record-redesign`, base
`main`

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

Flaky test: switching checkouts is one focus_checkout, and a plain folder's Overview opens from its row

1 participant