Skip to content

fix: keep the pane's second row to the operator's turn and its children - #1358

Merged
yansfil merged 4 commits into
mainfrom
fix/pane-second-row-role
Oct 18, 2026
Merged

yansfil merged 4 commits into
mainfrom
fix/pane-second-row-role

Conversation

@yansfil

@yansfil yansfil commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Related: #1352 (같은 PaneHeaderBand.tsx를 고쳐 그 위에 쌓음, #1352가 먼저 머지됨)

Summary

pane 두 번째 줄이 PR 동사(머지/리뷰/수정), 결과, 휴면, 연결, 종료까지 다 떠안아서 무슨 줄인지 읽히지 않았고, 질문과 결과는 pane에 포커스가 가는 순간 사라졌습니다.
이제 두 번째 줄은 "운영자 차례"(승인/질문/막힘/멈춤, 자식이 올린 요청)와 "자식" 두 가지만 보여 줍니다.
PR 동사는 첫 줄 PR 칩 색으로만, 결과는 상태 마크 점으로만 말하고, 휴면/연결/종료는 pane 본문에 띄웁니다.
요청은 답할 때까지 남고, 읽으면 흐려질 뿐 사라지지 않습니다.
자식이 있는 pane은 항상 줄을 갖고, 왼쪽에 자식 이름과 마크(소식 있는 자식 먼저, 넘치면 흐려짐), 오른쪽 끝에 자식 N ▾(올라온 요청이 있으면 !N)를 둡니다.

pane-header gallery (dark): asks, children by name, notices in the body

Review

  • 판단해 주세요: 고정되지 않은 레인이 pane 오른쪽 끝을 덮는 동안에는 자식 N ▾ 버튼도 가려집니다(헤더의 확대/⋯/× 가 이미 가려지는 것과 같음). 버튼을 끝에 두는 것이 승인된 안이라 그대로 두었고, e2e는 레인을 닫고 누릅니다.
  • 판단해 주세요: 자식 이름 목록은 휴면 중인 자식에도 main(feat: draw resting agents a faint ring and pull the project tree one step left #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.
추가 증거

pane-header gallery (light): asks, children by name, notices in the body

Pull request verbs and results leave the second row: the first-row PR chip and the status mark already say them. An ask stays until it is answered and dims once read instead of vanishing on focus. Sleep, connection and exit states move into the pane body. A parent's row lists its children by name with the children button fixed at the right end.
# Conflicts:
#	docs/UI_BEHAVIOR.md
#	docs/status-model.md
#	web/src/PaneHeaderBand.test.tsx
#	web/src/PaneHeaderBand.tsx
#	web/src/paneChildren.ts
@yansfil
yansfil changed the base branch from main to spec/project-tree-pr-family October 18, 2026 03:31
Base automatically changed from spec/project-tree-pr-family to main October 18, 2026 03:32
…o fix/pane-second-row-role

# Conflicts:
#	web/src/PaneHeaderBand.tsx
@yansfil
yansfil merged commit 6bdb2c7 into main Oct 18, 2026
26 checks passed
@yansfil
yansfil deleted the fix/pane-second-row-role branch October 18, 2026 08:27
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