Skip to content

docs(readme): re-shoot the feature clips on the current UI, with terminal and layout clips - #435

Merged
devswha merged 5 commits into
mainfrom
docs/readme-clips-v2
Oct 5, 2026
Merged

devswha merged 5 commits into
mainfrom
docs/readme-clips-v2

Conversation

@devswha

@devswha devswha commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

What

Six feature clips under the README's intro, re-shot on the current UI. Each clip is one live take of the web UI on desktop and phone, in real time with no cuts. herdr's own TUI appears only in the hero (#425).

Cell Clip Length Size Upload name
1 Switch to the live terminal (new): a click on Terminal turns the chat into the pane's real terminal, showing Claude Code's own TUI with its edit. On the phone, in the tests tab's terminal, ↑ on the key bar brings back bun test and the input line's Enter button runs it again 11.4 s 2.9 MB switch-to-the-live-terminal.mp4
2 Your herdr layout, in the browser (new): herdr's workspaces, tabs and split panes, each with its agent's state. A click on a tab shows its pane; the tab's menu lists the split's panes and switches between them; on the phone the drawer shows the same workspaces and opens one 12.6 s 2.5 MB your-herdr-layout-in-the-browser.mp4
3 Know when an agent needs you (new): the phone sits on another workspace; when Claude asks, the app's in-app alert drops in, a tap opens the question card, and the desktop lists the pane under "Needs you" 11.3 s 2.4 MB know-when-an-agent-needs-you.mp4
4 Send a screenshot from your phone: the paperclip uploads a receipt screenshot into the pane's folder and adds its @path, and the message lands on the desktop 11.3 s 0.9 MB send-a-screenshot-from-your-phone.mp4
5 Open what the agent made: a click on a path in the browser's terminal (#266) opens Claude's SVG chart in the file viewer, then a tap on the same path in the phone's chat opens it too 10.9 s 1.5 MB open-what-the-agent-made.mp4
6 Branch off a second agent (new): on the phone, ⋯ → New worktree opens with a branch already filled in; Claude Code is picked and the new workspace starts nested under the first 13.9 s 1.7 MB branch-off-a-second-agent.mp4

Changes:

  • WebP loops in docs/media/readme/, 800×450 and taken from each clip:
    • terminal.webp, layout.webp, alerts.webp and worktree.webp are new; attach.webp and open.webp are replaced.
    • browse.webp and ssh.webp are deleted.
    • The six together are 2.6 MB; the old four were 4.1 MB.
  • All four READMEs:
    • the grid, now 3×2 with terminal | layout as its first row: links, alt text, titles and captions;
    • the footnote under the grid;
    • the "Know when you're needed" bullet, which now mentions the in-app alert;
    • a sentence on tabs and worktrees in "Keep your workflow".
  • site/index.html: the same six cells and the footnote.

Dropped:

  • Browse a pane's files: the file viewer is already in "Open what the agent made".
  • Every PC in one sidebar: herdr itself already shows several machines in one window, so it was the weakest contrast. The bullets and docs/remote-pcs.md still cover remote PCs.

This PR touches docs and the site only. No CHANGELOG, no version, nothing in src/ or server/.

How they were made

All six

  • Recorded live: alerts, attach, open and worktree on 2026-10-04; terminal and layout on 2026-10-05. One take per clip.
  • Session: the dedicated herdr-web-ui-demo session on the installed herdr 0.9.0, never the default session.
  • Time: every clip plays at 1×, with no cuts and nothing reordered. Times use the machine's own time zone, and "Worked for" is the app's own count.
  • Composited:
    • the wallpaper, the window frame with its drawn localhost:7317 address, and the phone frame;
    • the camera moves;
    • the macOS arrow, drawn at the recorded pointer;
    • the touch disc, drawn at each recorded tap (from 0.12 s before it).
    • There is no push banner and no interpolated frame.
  • Staged:
    • the session and ~/code/checkout-api, written by scripts/readme-media/stage.ts;
    • the web-dashboard, infra and release rows, whose agent states were reported with no agent running in them;
    • terminal and layout: the extra tabs (and layout's split), made through herdr's API. New tabs get a clean shell from the film's herdr config (no profile, prompt checkout-api $);
    • a clean Claude Code: project and local settings only, no MCP servers, and the account's publishing tools denied.
  • Real: Claude Code 2.1.289 on the maintainer's account. Turns per clip:
    • terminal 3, off camera;
    • layout 1, off camera;
    • open 2, off camera;
    • attach 1;
    • alerts 1, plus one unrecorded probe;
    • worktree 0.
  • Scrubbed: the account's name, email and organization, the machine's names, the login and the home path. They show as ~ and "workstation".
  • OCR-checked: every frame of each render, and the source frames in its window, were checked with OCR against those strings. Nothing was found.
  • About herdr: herdr does much of this itself: its agents list, toasts, prefix+o, its own worktree form, and a phone layout over SSH. This app is another surface on the same session, attached at the same time. It does not replace herdr.

Switch to the live terminal (take K1)

  • Turns: three real turns ran off camera, sent through herdr. Measured back from the first frame:
    • "What do the tests in src/server.test.ts cover? One line." sent 28.6 s before.
    • "List the files in src, one per line." sent 21.1 s before. It was there only to scroll Claude Code's start header off the desk's screen.
    • The task, sent 14.4 s before, done 8.6 s before: "Add a test named "unknown refund is 404" to src/server.test.ts: refunding a payment id that doesn't exist returns 404. Don't run the tests; I'll run them."
  • Claude's setup: acceptEdits mode, Bash denied, bundled skills off. It changed only src/server.test.ts (+4 lines).
  • Sizes:
    • The desk opened the pane in Terminal before the turns, so its grid set the pane's size (104×35). It switched to Chat off camera.
    • The switch to Terminal on camera caused no pty resize. Sizes were checked every 250 ms and against the app's pane-geometry messages.
  • The tests tab: clear and bun test (4 pass) were sent through herdr about 36 s before. The phone's ↑ brings back that real command from the shell's history.
  • The taps: both phone taps are real touches sent by the script. A separate bun test afterwards gave 5 pass, 0 fail.
  • Pointer side effect: on its way to Terminal, the arrow passed over two chat turns, so their time and copy buttons faded in as on any hover.
  • Zoom: the desk is at z 1.45, under the film's usual 1.6, so the toggle and the edit both stay in frame.
  • As it came: Claude Code's grey "commit this" suggestion, and its "Baked for 3s" and "Sautéed for 5s" lines.

Your herdr layout, in the browser (take L1)

  • Staged through herdr's API:
    • the tabs: "payments" renamed, "dev" created;
    • dev split to the right (pane.split), its panes labelled "tests" and "git" (pane.rename, as prefix+shift+p does);
    • release's repo and its history;
    • the side rows' states (web-dashboard Codex working, infra Claude idle), reported with no agent running in them. Those rows are never opened.
  • Commands sent through herdr, 21.3–13.1 s before frame 0:
    • tests: clear, bun test;
    • git: clear, git --no-pager log --oneline --decorate --stat, with git told to ignore any user config;
    • release: clear, git --no-pager log --oneline --graph --decorate -n 12.
  • One real turn, off camera: "What does this repo do? Answer in one line.", sent 8.3 s before frame 0. Claude ran in default mode with Bash denied, and the repo was unchanged afterwards.
  • Pane sizes:
    • Before recording, the desk opened tests and git in Terminal once, so they kept its size.
    • Every pane held its size through the take, checked every 250 ms; nothing was resized on camera.
  • Input:
    • the desk's 3 clicks and the phone's 2 taps were real input events sent by the script;
    • nothing is typed;
    • the arrow never crossed a terminal, so no mouse reports reached the shells.
  • The sidebar title: a workspace's sidebar row takes the name of the pane on screen, so the checkout-api row reads "tests" or "git" while those panes are open.
  • As it came:
    • each pane switch shows an empty grid for about 0.12 s;
    • the phone briefly shows "Loading conversation…".

Know when an agent needs you (take N1)

  • Task: sent through herdr 0.34 s before recording, and shown in the bubble: "Add per-IP rate limiting to POST /payments. Ask me one question first: which limit to use." Recording began while Claude was working.
  • Phone setup: the phone sits on release's terminal. That repo's history is staged, and its git log --graph was sent off camera 0.90 s before recording.
  • Alert: the island is the app's own in-app alert. It drops in 3.40 s into the clip. The tap on it is real, 1.39 s later, and the phone's card painted 0.10 s after the tap.
  • Recommended tag: Claude set "(Recommended)" itself.
  • After the clip:
    • The question was answered off camera through the app's API, 0.73 s after the last frame, with "10 / minute".
    • A later Bash permission was approved once, also off camera.
    • Claude finished 46 s after the task, and bun test passed.
  • Pointer: the desk pointer was parked off the page, so no arrow is drawn.

Send a screenshot from your phone (take U1)

  • Screenshot: rendered off camera from the staged repo's own receipt page (1170×1170). The stage planted the $NaN bug.
  • Picker: the photo picker is not shown. The take answered the page's file chooser 0.055 s after the tap, and the thumbnail and path appeared 0.109 s after it.
  • Typing: "Fix this, with a test." was typed into the page, with no on-screen keyboard.
  • Before recording: Claude was started 8.5 s before. A local command (/color default, no model call) created its session, so both chats show the real empty state.
  • Mode: acceptEdits.
  • On camera: the message reached the desktop 0.74 s after the Send tap, and Claude's first row came 4.0 s later.
  • After the clip:
    • Two Bash permission prompts were approved off camera.
    • The fix plus a new test passed bun test, and the receipt then read $12.50.
    • Claude's transcript shows the image arrived as an attachment.
  • The ~ path: it is a stand-in from the page scrub. The composer inserted, and Claude received, @~/code/…; the real app inserts the absolute path.

Open what the agent made (take O1)

  • Before recording: both turns ran off camera and were sent through herdr. "What's in bench/latency.csv?" also scrolled Claude Code's header away. Then: "Chart p95 per release as an SVG at bench/p95.svg that I can read on my phone. Keep the reply short."
  • Setup: Bash was denied, the bundled skills were off, the mode was acceptEdits, and the terminal font size was 15.
  • The chart: Claude's own SVG, unedited: 49 lines, and the only file it changed.
  • Click (feat(files): open file and folder links from chat and terminal #266): the click on the path in the browser's terminal is real. herdr's attach stream reported mouse moves to the pane, but no click, key or text reached Claude, and its input row was unchanged.
  • Opening times: the desk viewer's chart painted 0.24 s after the click, and the phone's 0.18 s after the tap.
  • As it came: Claude's grey suggestion "commit the chart".

Branch off a second agent (take W1)

  • Before recording: Claude was started in checkout-api 7.2 s before. A local command (no model call) created its session.
  • herdr film config: it sets the worktree folder to ~/code/.worktrees. New panes get a clean shell, and a claude wrapper that adds --setting-sources project,local --strict-mcp-config.
  • Settings: the checkout carries the film's Claude settings, committed in the staged repo.
  • Trust: ~/code/.worktrees was trusted in Claude Code in advance.
  • The dialog: the branch worktree/clear-forest-3580 is the app's own random suggestion, highlighted by its own focus.
  • No turn: the second Claude got no turn. It shows READY 4.2 s after Create.
  • The phone leaves: it leaves the frame 0.09 s after its dialog closes. Off frame, it then opened the new workspace.
  • Cleanup: afterwards the worktree, its branch folder and the staged session were all removed.

herdr's TUI and where it lives in the web UI

herdr's TUI The web UI
spaces list, prefix+w one sidebar row per workspace
agents list and state dots row badges and tab dots; "Needs you" for blocked panes
prefix+o, prefix+g "Needs you", the in-app alert, the command palette
prefix+c the strip's +, or New tab
prefix+shift+t double-click a tab, or F2
prefix+x / prefix+shift+x the tab's ×, or Delete
prefix+1..9 / n / p click a tab
prefix+shift+g ⋯ → New worktree
prefix+shift+n the PC header's + (New workspace)

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Important

Review skipped

We couldn't safely recover the incremental review. No full review was started, and the last reviewed checkpoint was preserved. Retry later, or explicitly request a full review by commenting @coderabbitai full review.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 06b0d5aa-c5dc-496a-8f4f-157e3ebfcccd
📥 Commits

Reviewing files that changed from the base of the PR and between 542d662 and 0b9c301.

📒 Files selected for processing (6)
  • README.ja.md
  • README.ko.md
  • README.md
  • README.zh-CN.md
  • docs/media/readme/layout.webp
  • site/index.html
🚧 Files skipped from review as they are similar to previous changes (5)
  • README.zh-CN.md
  • site/index.html
  • README.ja.md
  • README.md
  • README.ko.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.


📝 Summary

Summary by CodeRabbit

  • Documentation
    • Updated the feature gallery with demonstrations of terminal switching, workspace and pane navigation, agent alerts, phone screenshot uploads, opening generated files, and creating worktrees.
    • Clarified that in-app alerts appear while the app is open and that tabs and worktrees can be created from a row’s menu.
    • Updated video descriptions to note that recordings are uncut and play in real time.
    • Removed demonstrations of browsing pane files and connecting additional PCs over SSH.

Walkthrough

The READMEs and website gallery update their recording examples and captions. README feature descriptions add in-app alerts and row-menu options for creating tabs and worktrees.

Changes

Feature gallery and copy

Layer / File(s) Summary
Gallery recordings and captions
README.md, README.ja.md, README.ko.md, README.zh-CN.md, site/index.html
The gallery describes recordings of terminal use, workspace layouts, agent alerts, screenshot attachments, generated files, and worktree creation. Captions describe real-time, uncut recordings.
Notification and work-style descriptions
README.md, README.ja.md, README.ko.md, README.zh-CN.md
The notification descriptions add alerts while the app is open. The work-style descriptions add row-menu options for creating tabs and worktrees.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 0b9c3

The updated clips have valid paths in the READMEs and deployed site. No issue identified here prevents merging.

Architecture Summary

Architecture risk: 🔵 Low · up to 7a44b

The change affects 5 systems.

Changed systems: README.ja.md, README.ko.md, README.md, README.zh-CN.md, site

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — README.ja.md (service) was modified; 1 changed file maps to changed impact.
  • observed — README.ko.md (service) was modified; 1 changed file maps to changed impact.
  • observed — README.md (service) was modified; 1 changed file maps to changed impact.
  • observed — README.zh-CN.md (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in README.ja.md: 最初の紹介カードを通知への応答に変更し、スマートフォンからスクリーンショットを添付してパスを挿入するカードを追加しました。旧カードが示していた一般的な情報送信、ファイルへのメンション、メッセージ予約の紹介はなくなりました。
  • observed — Modified behavior in README.ja.md: ファイルを開くカードを、ターミナルまたはチャット内のパスから開く操作の紹介に変更し、旧カードのペイン内ファイル閲覧とリモート PC 接続のカードを、worktree 作成の紹介に差し替えました。動画全体の説明は約20秒から約11秒になりました。
  • observed — Modified behavior in README.ja.md: 通知の説明に、アプリを開いている間は通知が画面上部から表示されることを追加しました。入力が必要な場合と完了時に、アプリを閉じていてもプッシュ通知が届くという記述は維持されています。
  • observed — Modified behavior in README.ja.md: 作業環境の説明に、新しいタブや worktree を行のメニューから作成できることを追加しました。
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly identifies the main change: re-recording feature clips for the current UI, including terminal and layout clips. It is specific, though somewhat long.
Description check ✅ Passed The description explains the changes and resulting behavior in detail. It also provides recording evidence and validation results, including test outcomes, so the required change and validation inform…
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@devswha

devswha commented Oct 4, 2026

Copy link
Copy Markdown
Owner Author

The re-shot feature clips:

Know when an agent needs you (know-when-an-agent-needs-you.mp4)

know-when-an-agent-needs-you.mp4

Send a screenshot from your phone (send-a-screenshot-from-your-phone.mp4)

send-a-screenshot-from-your-phone.mp4

Open what the agent made (open-what-the-agent-made.mp4)

open-what-the-agent-made.mp4

Branch off a second agent (branch-off-a-second-agent.mp4)

branch-off-a-second-agent.mp4

@devswha

devswha commented Oct 4, 2026

Copy link
Copy Markdown
Owner Author

Two more clips:

Switch to the live terminal (switch-to-the-live-terminal.mp4)

switch-to-the-live-terminal.mp4

In step with herdr's own TUI (in-step-with-herdrs-own-tui.mp4)

in-step-with-herdrs-own-tui.mp4

@devswha devswha changed the title docs(readme): re-shoot the feature clips on the current UI docs(readme): re-shoot the feature clips on the current UI, with terminal and herdr TUI clips Oct 4, 2026
@devswha

devswha commented Oct 5, 2026

Copy link
Copy Markdown
Owner Author

Replaces "In step with herdr's own TUI": the same herdr features, in the web UI alone.

Your herdr layout, in the browser (your-herdr-layout-in-the-browser.mp4)

your-herdr-layout-in-the-browser.mp4

@devswha devswha changed the title docs(readme): re-shoot the feature clips on the current UI, with terminal and herdr TUI clips docs(readme): re-shoot the feature clips on the current UI, with terminal and layout clips Oct 5, 2026
@devswha
devswha merged commit d8560e2 into main Oct 5, 2026
6 of 7 checks passed
@devswha
devswha deleted the docs/readme-clips-v2 branch October 5, 2026 05:40
devswha added a commit that referenced this pull request Oct 5, 2026
…bble grammar (#458)

## Change

승인하신 채팅 모드 재설계 목업(`mockups/chat-mode`)을 PR 여러 개로 나눠 올리는 작업의 한 조각입니다. 이
PR은 대화 기록(transcript)만 다룹니다. 목업 규칙 A1~A7과 D11을 담았습니다.

뒤에 올 조각은 ChatGPT 방식의 입력 카드, 보류된 메시지 행, 모델 pill, 입력 카드에 붙는 승인 카드, 글자 크기
단계와 글꼴입니다. 그래서 이 PR만 적용한 화면은 목업의 최종 화면과 같지 않습니다.

### 사용자가 보는 것

- **끝난 턴의 작업은 접힙니다(A2, A4, A7).** 끝난 턴은 작업 내역을 흐린 "Worked for …" 한 줄로 보여
주고 그 아래에 가는 선이 하나 놓입니다. 진행 중인(working 또는 blocked) 턴의 블록만 펼쳐져 있습니다. 실패한
호출 수는 접힌 줄에도 그대로 보입니다.
- **내 메시지 위의 선이 없어졌습니다(A1, D11).** 턴 사이 간격은 `--space-3`이고, 에이전트 턴 다음에 오는
사용자 턴 앞에만 `--space-5`가 더 들어갑니다. 답은 질문에 가깝게 붙고, 큰 간격은 주고받음 사이에 놓입니다.
- **말풍선 문법이 하나입니다(A3).** 사용자 말풍선은 네 모서리가 같습니다. 테두리는 팔레트별 토큰
`--bubble-border`로 정합니다. 어두운 amber, report, charcoal에서는 테두리가 없고, 모든 밝은
테마와 Catppuccin에서는 테두리가 있습니다.
- **파일 경로와 링크(A5).** 평소에는 흐린 밑줄이고, hover와 focus-visible에서 강조색이 됩니다.
- **마우스에서의 부가 정보(A6, D11).** 터치 화면이 없는 마우스 환경에서는 코드 블록의 언어와 복사 버튼이
hover나 focus 때 블록 모서리에 나타납니다. 사용자 턴의 시각과 복사 버튼은 481px부터 말풍선 옆에 놓입니다. 답에는
복사 아이콘 하나와 "Plain text"가 있습니다.
- **터치는 그대로입니다.** 코드 블록의 띠와 40px MD / TXT 버튼을 유지합니다. 마우스와 터치 화면이 함께 있는
기기에서는 시각과 복사 버튼이 항상 보입니다.

새 문구는 "Plain text" 하나이고 ko, ja, zh 번역을 넣었습니다. `DESIGN.md`와
`src/styles.css`를 함께 고쳤습니다. HTTP/WS 계약, 서버, 입력창, 프롬프트 응답 경로,
`.conn-live`, 사이드바는 바뀌지 않습니다. 변경 이력은 Unreleased → Changed에 적었습니다.

### 목업과 다른 점

- **A7, 접힘 기준.** 목업은 "진행 중이면 펼침"뿐입니다. 제품은 `workStartsOpen(live,
turn.parts)`(`src/lib/workBlocks.ts`)로 정합니다. 끝난 턴이라도 마지막 답 뒤에 글이 있거나, 답이
아예 없는데 글이 있으면 펼쳐 둡니다. 접으면 읽을 수 있던 글이 가려지기 때문입니다. 도구 호출만 있는 끝난 턴은 접힙니다.
- **A7, 읽는 사람의 선택.** 블록을 직접 펼치거나 접었거나, 블록 안의 행에 포커스를 두거나 클릭했으면 턴이 끝나도 그
상태로 둡니다. 목업에는 없는 규칙입니다. 턴이 끝나는 순간 포커스가 있던 행이 사라지는 것을 막습니다.
- **A2.** 가는 선은 목업의 `:has()` 대신 섹션의 `.work-block.is-folded` 클래스에 겁니다.
- **A3.** `--bubble-border`를 세 곳(`:root`는 transparent,
`[data-theme="light"]`와 어두운 Catppuccin은 `var(--border)`)에 선언했습니다. 컴포넌트
CSS에는 팔레트 선택자가 없습니다.
- **A4.** 목업의 chevron 회전 규칙은 옮기지 않았습니다. 제품은 이미 ChevronDown과
ChevronRight를 바꿔 씁니다.
- **A5.** `.markdown-code-link`에도 같은 밑줄 규칙을 적용했습니다. 목업은
`.markdown-file`과 `.markdown a`만 적었습니다.
- **D11.** 말풍선과 시각/복사 행을 새 `.chat-user-row`로 감쌌습니다. 사용자 턴의 스킬 목록은 이제
시각/복사 행 다음에 그려지고, 터치에서는 40px 복사 버튼과 겹치지 않게 위 여백을 둡니다.
- **D11.** 답의 두 번째 버튼은 형제 선택자 대신 자체 클래스 `.chat-meta-plain`을 씁니다. 복사한 뒤에는
체크 표시가 보이도록 `CopyButton`에 `is-copied`를 더했습니다.
- **D11.** 마우스가 기본이고 터치 화면도 있는 기기에서는 부가 정보가 항상 보이지만 버튼은 20px 그대로입니다.
- 보이지 않는 부가 정보는 `visibility: hidden` 대신 `pointer-events: none`으로 막았습니다.
`visibility: hidden`이면 복사 버튼이 탭 순서에서 빠집니다.

### 리뷰 때 봐 주실 곳과 위험

- 진행 중인 블록이 펼쳐지는 기준은 pane 상태(working, blocked)뿐입니다. 에이전트가 아직 쓰는 중인데
herdr가 idle을 보고하면, 도구 호출만 있는 블록은 접혔다가 다시 펼쳐집니다. 재현되지는 않았습니다.
- 목업보다 펼쳐진 채 남는 끝난 블록이 많습니다. 도구 호출 뒤에 중단된 턴, 마무리 요약 뒤에 todo를 고친 턴, 최종 답
뒤에 commentary가 온 턴이 그렇습니다. 이런 턴은 가려질 글만이 아니라 블록 전체가 펼쳐집니다.
- 블록 안에서 글자를 선택하려고 한 번 클릭해도 그 블록은 턴이 끝난 뒤 펼쳐져 있습니다. 머리 줄을 한 번 누르면 접힙니다.
- 행에 포커스나 클릭 없이 스크롤만 해서 들어가 있던 경우에는, 턴이 끝날 때 블록이 접히면서 기록 높이가 줄어듭니다.
- 기록의 간격이 `--space-4`에서 `--space-3`으로 줄면서 "Earlier messages", 끝 표시,
알림/압축 행, 프롬프트 카드 사이도 함께 좁아집니다. 추가 `--space-5`는 `.chat-turn-agent +
.chat-turn-user`에만 걸리므로, 알림이나 압축 행 다음의 사용자 턴은 기본 간격만 받습니다.
- `(not (any-pointer: coarse))`는 Media Queries Level 4 문법입니다. 이 쿼리를 버리는
브라우저는 터치 레이아웃으로 떨어지므로 안전한 쪽입니다. 브라우저별 지원은 재지 않았습니다.
- 마우스에서 코드 블록에 hover하면 모서리의 언어/복사 버튼이 긴 첫 줄의 끝을 덮습니다. 목업 A6 규칙 그대로입니다.
- 테두리 없는 말풍선의 대비(어두운 팔레트 세 가지)는 재지 않았습니다.
- `docs/chat-mode-audit.md`는 예전 "접힘은 가장 새 턴을 따른다"를 그대로 적고 있습니다. 과거 기록이라
두었습니다.

### 열려 있는 PR과의 충돌

- #409, #438은 `ChatView.tsx`와 `ChatView.css`를 고치므로 어느 쪽이 먼저 들어가든 충돌이
예상됩니다.
- 같은 재설계의 #457(tool row)은 `ChatView.css`의 `.work-block-head` /
`.work-block-title` 근처와 `@media (pointer: coarse)` 블록 끝, 그리고
`ChatView.tsx`의 `WorkBlockView`를 고칩니다. #456, #457과는 `CHANGELOG.md`의
Unreleased 항목에서도 충돌합니다.
- #436, #441, #421이 고치는 곳은 건드리지 않았습니다.

## Validation

검증 환경: Linux, herdr 0.9.3, Bun 1.4.2,
Chrome(`/opt/google/chrome/chrome`). 브라우저 스크립트는 별도 herdr 세션
`herdr-web-ui-test`에서 돌렸습니다. 브랜치는 `origin/main`보다 5커밋 뒤에 있고(#425, #435,
#452, #454, #455), `git merge-tree`로 충돌이 없음을 확인해 병합하지 않았습니다.

- `bun run typecheck`: 통과
- `bun run test:unit`: 1,178건 통과, 4건 건너뜀, 실패 없음
- `bun run build`: 통과

| 브라우저 스크립트 | 결과 |
| --- | --- |
| `bun run test:ui` (`scripts/ui-regression.ts`) | **종료 코드 1.** PASS 36개
뒤 `checkAlertSound`(`scripts/alert-sound-regression.ts:79`,
`.droplet-card` 대기 30초 초과)에서 멈춤. 다시 돌려도 같음 |
| 같은 스크립트, `origin/main`(a2b1382)을 따로 풀어 빌드 | 같은 자리에서 같은 실패(PASS 36개). 이
PR이 만든 실패가 아닙니다 |
| 같은 스크립트에서 `checkAlertSound` 호출만 뺀 임시 사본(커밋하지 않음) | PASS 66개, 종료 코드 0 |
| `scripts/chat-browser-qa.ts` | PASS 7개, 종료 코드 0 |
| `scripts/chat-history-browser-qa.ts` | PASS 5개, 종료 코드 0 |
| `scripts/pi-image-browser-qa.ts` | 통과(`browser OK`), 종료 코드 0 |
| `scripts/skill-activity-browser-qa.ts` | PASS 2개, 종료 코드 0 |
| `scripts/file-viewer-regression.ts` | PASS 6개, 종료 코드 0 |
| `scripts/keyboard-viewport-regression.ts` | PASS 1개, 종료 코드 0 |
| `scripts/file-viewer-mobile-regression.ts` | PASS 16개, 종료 코드 0 |
| `scripts/droplet-demo-regression.ts` | PASS 5개, 종료 코드 0 |

알림음 검사는 이 기기에서 `origin/main`도 실패합니다. `main`의 CI는 같은 커밋에서 통과했으므로 이 기기의 환경
문제로 보고, 원인은 찾지 않았습니다. 이 PR에서 그 검사는 CI 결과로 확인해 주세요.

바꾼 테스트는 기존 단언을 지우거나 느슨하게 하지 않았습니다.

- `src/lib/workBlocks.test.ts`: `workStartsOpen`이 턴의 parts를 받습니다. 진행 중이면
펼침, 답이 있는 끝난 턴은 접힘, 글 뒤에 도구 호출만 있고 답이 없으면 펼침(이전에는 접힘), Codex commentary로
끝나면 펼침, 최종 답 뒤의 commentary도 펼침, 읽을 것이 없으면 접힘.
- `scripts/chat-browser-qa.ts`: `pane.report_agent`로 working → idle을 보내,
진행 중에는 "Working…"으로 펼쳐지고 끝나면 "Worked for 7s"로 접히는지 봅니다. 도구 행을 펼친 채 idle이
되면 블록이 그대로 펼쳐져 있고 그 행이 포커스와 상세를 유지하는지도 봅니다. 기존 단언은 유지했습니다. 다만 "새 턴이 오면 앞
턴이 자동으로 접힌다"는 단언 하나는 규칙이 바뀌어 뺐고, 끝날 때 접히는 단언이 그 자리를 대신합니다.
- `scripts/chat-history-browser-qa.ts`,
`scripts/pi-image-browser-qa.ts`,
`scripts/skill-activity-browser-qa.ts`: 끝난 블록이 접혀 있음을 먼저 확인하고, 펼친 뒤 기존
단언을 이어 갑니다.

화면 확인(빌더와 리뷰 단계): 데모 transport로 빌드한 실제 클라이언트를 1440px 마우스와 390px 터치,
어두운/밝은 테마로 찍었습니다. 가로 넘침 없음, 말풍선 모서리 12px, 테두리는 어두운 amber에서 transparent이고
밝은 테마에서 `--border`, 마우스에서 부가 정보는 평소 opacity 0 / pointer-events none이고
터치에서 1 / auto, 터치 버튼은 MD 51×40, TXT 56×40, 사용자 복사 40×40입니다.

**하지 않은 것**

- `bun run test:integration`과 contract 테스트는 돌리지 않았습니다. CI에 맡깁니다.
- 마우스와 터치 화면이 함께 있는 기기의 규칙은 브라우저에서 에뮬레이션하지 못했습니다. 미디어 쿼리 값으로만 확인했습니다.
- `scripts/film/capture.ts`와 `scripts/readme-media/capture.ts`는 첫
`.work-block-head`를 누릅니다. 그 블록은 전에도 접혀 있었으므로 동작은 같을 것으로 보지만, CI 밖의 미디어
스크립트라 돌리지 않았습니다.
- 실제 기기(iOS, Android)에서는 확인하지 않았습니다.

**적대적 리뷰**: Codex(gpt-6.1-sol, xhigh, 읽기 전용)가 4건을 냈습니다. 최종 답 뒤의
commentary가 접혀 가려짐, 자동 접힘 때 포커스 유실, 마우스+터치 기기에서 첫 탭이 복사하지 않음, 터치에서 복사
버튼이 스킬 카드와 겹침. 4건 모두 커밋 2bf66fb에서 고쳤습니다. 리뷰 과정에서 나온 "pane 상태가 흔들리면 블록이
접혔다 펼쳐진다" 1건은 범위 밖이라 고치지 않고 위 위험에 적었습니다.

## PR을 연 뒤의 변경

머지 세션의 Codex 적대적 리뷰(sol xhigh)와 CodeRabbit 지적을 코드에서 확인한 뒤 반영했습니다.

- 접힌 작업 줄에서 실패 개수("· 1 failed")가 잘리지 않습니다. 390px에서 기본 14px 글자에도 잘리던 것을
재서 확인했고, 실패 개수를 줄어들지 않는 별도 요소로 뗐습니다(911ad60). 320px에 24px 글자에서는 제목이 두 줄이
됩니다. 재현한 DOM과 빌드된 CSS로 쟀고 실제 앱에서 눌러 보지는 않았습니다.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
devswha added a commit that referenced this pull request Oct 5, 2026
…n one menu (#461)

## Change

승인하신 채팅 모드 목업(`mockups/chat-mode`)을 PR 여러 개로 나눠 올리는 작업의 한 조각입니다. 이 PR은
헤더만 다룹니다. 목업 규칙으로는 B1(한 줄 헤더), B2(위치 표시의 폴더), B3(⋯ 메뉴), B4(연결 표시),
D12(모든 폭에서 한 줄), D13(헤더의 두 구역)입니다. D14(사이드바 이음선의 구분선 정리)는 넣지 않았습니다.

뒤에 올 조각은 ChatGPT식 입력창, 보류 메시지 행, 모델 표시, 입력창에 붙는 승인 카드, 글자 크기 단계와 글꼴입니다.
그래서 이 PR만 적용한 화면은 최종 목업과 같지 않습니다.

사용자에게 보이는 변화:

- **헤더가 모든 폭에서 한 줄입니다.** 에이전트 마크와 제목 뒤에 `PC › 워크스페이스 › 폴더`가 이어집니다. 폴더는
마지막 이름만 보이고, 제목·PC·워크스페이스가 이미 같은 이름을 말하면 생략합니다. 자리가 모자라면 위치 표시는 잘리지 않고
통째로 빠집니다(DOM에는 남아 스크린 리더는 읽습니다). 전체 경로는 헤더 툴팁과 ⋯ 메뉴 맨 위에 있습니다. PC 이름은 이제
140px에서 잘리지 않습니다.
- **New tab, Browse files, Alerts가 ⋯ 메뉴 하나로 들어갑니다.** 헤더의 버튼 세 개는 없어집니다.
480px 이하에서는 Command palette가 메뉴의 첫 항목이고, 헤더의 팔레트 버튼은 사라집니다. 단축키는 그대로입니다.
- **Alerts 항목은 이 기기의 상태를 글로 말합니다**: On in the app / On in this tab / On,
pushed to this device / Off on this device. 팝오버에서는
`menuitemcheckbox`(`aria-checked`), 폰 시트에서는 `aria-pressed` 버튼입니다.
- **⋯ 버튼의 점은 이 기기에서 알림이 꺼져 있다는 뜻입니다.** 예전 종 아이콘은 켜져 있을 때 테두리가 켜졌으므로 의미가
반대로 바뀝니다. 목업 그대로이지만, 눈에 띄는 변화라 따로 적습니다. 버튼 이름도 "More · alerts are off"로
바뀌므로 색만으로 알리지 않습니다.
- **연결 표시는 연결이 끊겼을 때만 보입니다.** live일 때 `.conn-live`는 1px `role="status"`로
DOM에 남습니다. 900px보다 좁으면 글자 없이 점만 보이고, 글자는 툴팁과 접근성 이름에 있습니다.
- **769px부터 헤더는 두 구역입니다.** 사이드바 위는 `--bg-panel`의 자체 줄(토글, 검색)이고, pane 위는
pane의 바탕색입니다. 채팅에서는 헤더 아래 구분선이 없고 대화가 짧은 페이드 아래로 스크롤됩니다. 터미널에서는
`--term-bg`와 구분선을 유지합니다. 폰은 지금의 바를 그대로 씁니다.
- **769px부터 헤더 높이는 comfortable 밀도에서도 46px입니다**(새 토큰 `--header-h-wide`).
d.css의 D13 주석이 "DESIGN.md 표를 바꾸는 일이라 메인테이너 확인이 필요하다"고 적어 둔 부분입니다.
DESIGN.md 표에 두 줄을 넣었습니다. 리뷰 때 확인 부탁드립니다.
- 탭 스트립은 769px부터 위 헤더와 같은 바탕색을 씁니다. 업데이트 알림과 PC의 "브리지 업데이트" 줄은 창 전체가 아니라
pane 열 위에만 그려집니다.

새 문구 7개(More, More · alerts are off, 상태 문구 4개, PhonePanel 안내문)에 ko/ja/zh
번역을 넣었고, 쓰이지 않게 된 3개는 지웠습니다. HTTP/WS 계약과 서버는 바뀌지 않습니다. 변경 이력은 Unreleased
→ Changed에 적었습니다.

## 목업과 다른 점

- 640px 이하에서 ⋯ 메뉴는 목업의 팝오버가 아니라 RowMenu의 바텀 시트입니다. 이 앱의 모든 행 메뉴가 쓰는
방식이고, 시트 머리에 두 줄 위치가 나옵니다.
- 팝오버 폭은 RowMenu의 280px 그대로입니다. 긴 경로는 여러 줄로 감깁니다.
- 두 구역은 목업의 그라디언트가 아니라 실제 `.header-side` 요소로 만들었습니다. 터미널에서 구분선을 남기면서
사이드바 구역을 가로지르지 않게 하기 위해서입니다.
- 목업에 없는 것: 탭 스트립의 바탕색, 업데이트 알림과 브리지 줄의 위치 이동(위 설명). 사이드바 이음선이 창 맨 위까지
닿게 하려고 넣었습니다.
- 폴더는 pane 제목이 이미 같은 이름일 때도 생략합니다(b.js는 PC와 워크스페이스만 봅니다). DESIGN.md의 기존
규칙을 따랐고 `headerCrumb.test.ts`가 고정합니다.
- 알림 상태는 목업의 2개가 아니라 4개입니다. 종이 보여 주던 네 상태를 지우지 않기 위해서입니다. 예전 "Enable
notifications" 상태는 "Off on this device"와 점으로 읽히고, 예전 설명은 항목의 툴팁에 남습니다.
- Sign out(인증을 켰을 때만)은 헤더 버튼으로 남고 ⋯ 앞에 놓입니다.
- pane이 없고 알림이 할 일이 없을 때 ⋯ 버튼은 480px 이하에서만 보입니다.
- herdr가 복원하지 못한 pane은 채팅 헤더를 받지 않습니다(`showsChat`, 단위 테스트).

## 리뷰 때 볼 것

- 점의 의미가 반대로 바뀐 것, 그리고 Browse files가 데스크톱에서 한 번 더 눌러야 하는 자리로 간 것. 조사
문서(slice-recs.md)는 Files를 바에 남기자고 했지만 승인된 목업을 따랐습니다.
- 481~900px 터치 기기에서는 헤더에서 "reconnecting"과 "disconnected"를 글자로 읽을 수
없습니다(점만 보임). 목업 그대로입니다.
- 481~768px에서 팔레트 버튼이 오른쪽 묶음에서 서랍 토글 옆으로 옮겨집니다. 가로로 든 폰(769px 이상)은 46px
두 구역 헤더를 받습니다.
- 실제 `UpdateNotice`와 `MachineActionBanner`가 새 자리에서 어떻게 보이는지는 사람 눈으로 확인하지
못했습니다(스크립트는 위치만 고정). 채팅에서는 구분선 없는 헤더 바로 아래에 `--bg-elevated` 알림이 놓입니다.
- README와 사이트의 클립(#425, #435)은 예전 두 줄 헤더와 종을 보여 줍니다. 머지 뒤에
`herdr-web-ui-demo` 세션에서 다시 찍어야 합니다.

## Validation

검증 환경: Linux(WSL), herdr 0.9.3, Bun 1.4.2,
Chrome(`/opt/google/chrome/chrome`), 별도 세션 `herdr-web-ui-test`. 브랜치는
`origin/main`(4555859)보다 6커밋 뒤이고 병합은 충돌 없이 됩니다(`git merge-tree`).

- `bun run typecheck`: 통과
- `HERDR_TEST_MODE=unit bun run test:unit`: 1,178건 통과, 4건 건너뜀, 실패 없음
- `bun run test:ui`(빌드 포함): 첫 실행은 `alert-sound-regression.ts:79`에서
`.droplet-card`를 30초 기다리다 실패(PASS 36개 뒤). 이 PR이 건드리지 않은 검사입니다. `bun
scripts/ui-regression.ts`를 한 번 다시 돌려 70개 PASS, 종료 코드 0. 플레이크로 기록합니다. 이
실행에 push-settings, mobile-tabs, mobile-viewport, update-notice 검사가 들어
있습니다.
- `scripts/directory-groups-regression.ts`: 7개 PASS (탭 스트립과 헤더의 바탕색 검사
포함)
- `scripts/file-viewer-regression.ts` 6개, `chat-history-browser-qa.ts`
5개, `keyboard-viewport-regression.ts`,
`file-viewer-mobile-regression.ts` 16개,
`keyboard-viewport-demo-regression.ts`,
`terminal-file-links-regression.ts` 3개: 모두 통과
- `scripts/droplet-demo-regression.ts`: 첫 실행에서 "landscape, keyboard
inactive: card top 123, header 105"로 실패. 이 PR 때문입니다. 가로로 돌리면 헤더가 52px에서
46px가 되고, 알림 카드는 헤더의 다음 resize 콜백에서 따라가는데 검사가 그 전에 위치를 읽었습니다. 제품 동작은 맞고
검사에 최대 5초의 대기를 넣었습니다(단언은 그대로). 고친 뒤 4번 연속 통과.

브라우저에서 본 것(데모 transport, 1440×900 다크·라이트·Catppuccin, 390×844 터치): 헤더
높이(1440/1024/800에서 46px, 700/390에서 52px), 사이드바 구역 정렬, 페이드, 위치 표시가 통째로
보이거나 빠지는 것, 폰 시트, 점과 버튼 이름의 일치, 실제 탭 스트립의 바탕색.

확인하지 못한 것:

- 실제 재연결 경로의 연결 표시(클래스를 강제로 넣어 본 것뿐입니다)
- 복원 실패 pane의 헤더(단위 테스트만 있습니다)
- 긴 PC 이름(호스트 이름이라 스크립트로 넣을 수 없어 DOM에 직접 써서 쟀습니다)
- `bun run test:integration`과 `*.contract.test.ts`는 돌리지 않았습니다. 서버와 계약은
바뀌지 않았고 CI가 돌립니다.
- 실제 iOS/Android 기기

Codex 적대적 리뷰(gpt-6.1-sol, xhigh): 지적 7건, 막는 결함 없음. 탭 스트립 바탕색(중간)과 Alerts
항목의 ARIA 상태는 고쳤고, 나머지 5건은 재현되지 않거나 현실적이지 않아 넘겼습니다. 그중 하나는 사실입니다: 시트를 연
채로 창을 480px 아래로 줄이면 Command palette 항목이 없고, 닫았다 열면 나옵니다.

**열려 있는 외부 PR과의 충돌 예상**

- #441, #421(사이드바): `src/styles.css`의 셸과 헤더 영역, `--sidebar-w`
- #409, #438(채팅): `src/components/ChatView.css` 위쪽의 페이드 규칙
- #436(상태 줄): 헤더의 연결 표시나 i18n 줄을 건드리는 경우에만
- 문구나 변경 이력을 더하는 다른 조각과는 i18n 사전 세 개와 CHANGELOG의 Unreleased가 겹칩니다.

## PR을 연 뒤의 변경

머지 세션의 Codex 적대적 리뷰(sol xhigh)와 CodeRabbit 지적을 코드에서 확인한 뒤 반영했습니다.

- More 메뉴 맨 위의 위치 표시가 여섯 줄 안에서 스크롤됩니다. 아주 긴 경로에서 800×600과 390×844 모두 메뉴
항목이 화면 밖으로 밀려 누를 수 없던 것을 재서 확인했습니다(5897dc6).
- 업데이트 안내의 긴 PC 이름이 줄바꿈됩니다. 390px에서 페이지가 417px로 넓어지던 것을 확인했습니다(99306c4).
- More를 연 채 480px 경계를 넘으면 Command palette 항목이 따라 바뀝니다(025791d). 타입 검사만
거쳤고 브라우저에서 확인하지 못했습니다.
- 폴더 이름 끝의 공백을 자르지 않습니다(8da7164). `folderName`을 같이 쓰는 사이드바에도 적용됩니다. 메뉴의
경로는 연속 공백을 유지합니다(`white-space: pre-wrap`).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
devswha added a commit that referenced this pull request Oct 5, 2026
Bumps package.json and herdr-plugin.toml to 0.3.50 and moves the
Unreleased notes under [0.3.50] - 2026-10-06, with the compare link.
Adds the PR link and credit the #471 entry was missing; every other
entry already carries them. Raises the remote PC bundle to 17: #470
changes the prompt answer route on the bridge, so a remote PC on bundle
16 keeps the old behaviour until its bridge is updated. Push the
`remote-v17` tag and let the bundle workflow publish before running
release.yml.

Known limits carried into the notes: Japanese and Chinese text uses the
device's fonts beside Pretendard; #469 stays open for what #470 does not
cover (answers after the first committing key, identical twin prompts,
screens no reader knows).

Carries #422 #423 #424 #425 #426 #435 #437 #439 #446 #447 #448 #452 #454
#455 #456 #457 #458 #459 #460 #461 #462 #463 #465 #466 #467 #468 #471
#473 #474 #475

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5.1 <[email protected]>
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