Repository navigation
feat: draw resting agents a faint ring and pull the project tree one step left - #1353
Merged
Merged
Conversation
…step left A quiet agent row now draws a faint grey hollow ring in its status slot on every surface, so a resting agent no longer reads as a row with its mark missing. The core names a row whose activity it cannot read with a new unknown mark (wire value `unknown`), which keeps the slot empty and dims the row; the web reads the mark for that instead of the status code. A slot with no live agent behind it (an ended session, a disconnected device's row) stays empty. A project row with checkouts drops its folder glyph, so checkouts' glyphs stand on the project name's column and agent titles start 12px further left (x50 at a 240px sidebar). A plain folder keeps its glyph. The Pen library's mark shapes, the sidebar agent row sheet and the docs (status-model The mark, UI_BEHAVIOR sidebar hierarchy) change with it.
…ing stroke The gallery's unknown child and the phone projection's unknown fixture now carry the unknown mark the core sends, so the gallery draws that child dimmed with no ring. The pane header counts unknown children by their mark rather than their status word. The Pen quiet ring strokes on its centre line, as the web circle does, and stale wording about quiet drawing nothing is corrected.
… button Only counts with a mark are drawn on the tree button. Giving resting children and a child's own ask the quiet ring had put those counts on the button, where they were named only in its tooltip before; they go back to no mark and a test pins which counts the button draws.
yansfil
added a commit
that referenced
this pull request
Oct 18, 2026
…en (#1358) Related: #1352 (같은 `PaneHeaderBand.tsx`를 고쳐 그 위에 쌓음, #1352가 먼저 머지됨) ## Summary pane 두 번째 줄이 PR 동사(머지/리뷰/수정), 결과, 휴면, 연결, 종료까지 다 떠안아서 무슨 줄인지 읽히지 않았고, 질문과 결과는 pane에 포커스가 가는 순간 사라졌습니다. 이제 두 번째 줄은 "운영자 차례"(승인/질문/막힘/멈춤, 자식이 올린 요청)와 "자식" 두 가지만 보여 줍니다. PR 동사는 첫 줄 PR 칩 색으로만, 결과는 상태 마크 점으로만 말하고, 휴면/연결/종료는 pane 본문에 띄웁니다. 요청은 답할 때까지 남고, 읽으면 흐려질 뿐 사라지지 않습니다. 자식이 있는 pane은 항상 줄을 갖고, 왼쪽에 자식 이름과 마크(소식 있는 자식 먼저, 넘치면 흐려짐), 오른쪽 끝에 `자식 N ▾`(올라온 요청이 있으면 `!N`)를 둡니다.  ## Review - **판단해 주세요**: 고정되지 않은 레인이 pane 오른쪽 끝을 덮는 동안에는 `자식 N ▾` 버튼도 가려집니다(헤더의 확대/⋯/× 가 이미 가려지는 것과 같음). 버튼을 끝에 두는 것이 승인된 안이라 그대로 두었고, e2e는 레인을 닫고 누릅니다. - **판단해 주세요**: 자식 이름 목록은 휴면 중인 자식에도 main(#1353)의 옅은 링을 그리고, 상태를 모르는 자식만 마크 없이 둡니다. - **조심해서 볼 파일**: `herdr-core/src/agent_state/header.rs` - snapshot wire의 `terminal.headers` 모양이 바뀝니다(`notice` 추가, band에서 `tone`/`exit_code`/`facts`/PR action 제거, `read` 추가). 셸 외에 이 필드를 읽는 곳은 없습니다. - **조심해서 볼 파일**: `web/src/PaneHeaderBand.tsx`, `web/src/PaneNotice.tsx` - 알 수 없는 notice kind는 조용히 넘기지 않고 던집니다(원칙 4). - **조심해서 볼 파일**: `design/hide-ui.lib.pen` 보드는 아직 B2를 그립니다. 이번 안은 2026-10-18 HTML 비교에서 운영자가 고른 것이고 Pen은 다시 그리지 않았습니다(`docs/DESIGN_WORKFLOW.md`에 적음). ## Evidence - **확인한 것**: herdr-core nextest 2691개 통과, 그중 새 테스트: 읽은 질문이 답할 때까지 남음, PR/결과가 band로 오지 않음, 대기·CI 대기는 조용하고 실패 종료만 구분. 질문 분기를 지우면 첫 테스트가 실패하는 것도 확인. - **확인한 것**: web 단위 1790개 통과, typecheck/lint, fmt-check, clippy `-p herdr-core -D warnings`, `check-design-contract`, policy 구조 검사, `scripts/tests` 495개. - **확인한 것**: web e2e `sidebar-status`, `agent-sleep`, `session-readers`, `agent-tab-groups`, `s6` 통과, desktop e2e `session-workflow`, `agent-spawn` 통과(main 병합 후 web 3종 재실행). - **확인한 것**: 갤러리 `/gallery?scene=pane-header` 한국어 다크/라이트 캡처로 13가지 상태를 눈으로 확인. - **확인하지 못한 것**: 설치된 앱이나 후보 앱에서의 실사용 확인, 전체 web/desktop e2e(CI에 맡김), Windows/Linux. <details><summary>추가 증거</summary>  </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
아무 일도 하지 않는 에이전트 행은 상태 칸이 비어 있어서, 쉬는 중인지 표시가 빠진 건지 구별되지 않았습니다.
이제 쉬는 행(조용함)에는 흐린 회색 빈 원이 그려지고, 상태를 알 수 없는 행은 지금처럼 표시 없이 흐리게 남습니다.
프로젝트 › 체크아웃 › 에이전트 세 단계의 들여쓰기가 깊다는 요청에 맞춰, 체크아웃을 가진 프로젝트 행의 폴더 아이콘을 빼고 체크아웃과 에이전트를 12px 왼쪽으로 당겼습니다(240px에서 제목 x62 → x50).
체크아웃이 하나뿐인 폴더 프로젝트는 폴더 아이콘을 그대로 둡니다.
어두운 테마 240px:
회의록 요약,P8 읽기 전…같은 쉬는 행의 흐린 빈 원, 파란 진행 중 링, 초록 점,!배지, 아이콘 없는hide프로젝트 행 아래 같은 칸에 선main아이콘.Review
--opacity-read-status(0.55)로 목업 B(0.6)보다 살짝 흐립니다. 쉬는 행이 많은 목록에서 시끄럽지 않은지 봐 주세요.!를 그리면 이제 흐리게 그려지지 않습니다(흐림은unknown표시에만). 차례 배지가 이미 우선하므로 의도한 변화입니다.herdr-core/src/agent_state/tally.rs- snapshot wire의mark값unknown추가(contracts/snapshot-wire-enums.json). node protocol은 이 값을 나르지 않아 버전 변경이 없습니다.web/src/agentRow.ts-rowDimmed가status_code대신 코어의mark를 읽습니다. 화면이 상태 문자열로 표시를 만들지 않게 하는 변경입니다.web/src/sidebar.tsx-CHECKOUT_COLUMN과FoldRow의level을 지우고 체크아웃 아이콘 칸을 프로젝트 칸으로 합쳤습니다.Evidence
Unknown, 쉬는 행은Quiet, 배지에 세지 않음).상태 모름)을 확인합니다.projects-sidebar장면을 220·240·292·440px, 밝은·어두운 테마로 캡처하고 표시·제목·시간이 겹치지 않음을 측정했습니다(긴 한국어 제목 포함).check-design-contract.mjs통과, Pen 라이브러리 Sidebar agent row의 쉬는 상태를 headless로 내보내 빈 원이 그려지는 것을 확인했습니다.sasu implement verify가 기계 문제로 두 번 실패했습니다. 1회차는 이 PR이 건드리지 않은hide-agent-hooksspawn_guard::an_unanswered_question_is_allowed_and_its_query_child_is_reaped가 load 약 38에서 6.74s(한도 6s)로 실패했고 단독 실행은 3/3 통과했습니다. 2회차는 디스크가 가득 차 302개 테스트가No space left on device로 실패했습니다. 이 PR의 검증 기록은 CIverify입니다.design/hide-ui.lib.pen과design/hide-screens.pen은scripts/pen-system.mjs의 표시 모양에 빈 원을 더한 뒤gen-pen,gen-screens로 다시 만든 것입니다.추가 증거
unknown표시와 문서 문구는 f8c7b1d95에서 고쳤습니다. 후속 리뷰가 찾은 트리 버튼 수 노출은 0836ce3e5에서 되돌리고 테스트로 고정했고, 재리뷰는 Fix now 없음.