Repository navigation
에이전트의 막힘, 멈춤, 대기를 사이드바에서 구분해 보인다 - #890
Merged
Merged
Conversation
…f-disc, and any wait as one wait value
…uest, not only on its children
…ts stopped row waiting
…and log a device overflow
…d the v7 turn-end label
…hared identity, graph box and status badge sheets
…e each status word its own text per language
…hed device across repeated start hooks and fail closed at the cap
…nd note the one-read Done notice
… an approval prompt, unclassified
…ry background shows through
# Conflicts: # docs/status-model.md
yansfil
added a commit
that referenced
this pull request
Oct 9, 2026
Related: PRD `agents/prd/agent-hierarchy-screens/prd.md` · 같은 영역의 직전 작업 #861, #862, #869 · 막힘 상태 #890 위에 합침 ## Summary - 하위 어디서 막히든 그 계보의 루트 한 줄이 사이드바와 Sessions의 Needs You에 오르고, 막힌 자손은 따로 오르지 않는다. - 승격 줄과 pane header band는 원인별 동사(승인 · 답변 · 확인 · 초안), 무엇을, 누가 순서로 쓰고, Open은 손댈 pane으로 간다. - 자식은 사이드바, Home, Sessions 어디서나 같은 트리로 보인다. 손자까지 레일로 들여쓰고, 접힌 행은 자손 표시(`! N`, `● N`)를, 행마다 PR 아이콘 하나를 단다. - 트리 팝오버가 증손 이하와 `외 N건`을 열고, 끝나고 읽은 자식은 `끝난 자식 N` 아래로 접힌다. - Sessions는 사이드바와 같은 이름의 그룹(Needs You · Working · Done · Idle · Resolved 24h)으로 바뀌고, Factory 카드도 같은 자손 표시를 쓴다. - #890의 막힘(▲), 멈춤(◐), 대기를 트리에 합쳤다. 막힘은 동사 대신 원인 문장을 두 번째 줄에 남기고, 읽은 막힘은 새로 올라온 ask에 자리를 내준다.  ## Review - **판단해 주세요**: 열린 checkout 행의 목적 줄이 사라졌다(B35). 트리가 그 자리를 쓰기 때문인데, 접힌 checkout에서만 목적을 보는 것으로 충분한지. - **판단해 주세요**: 트리 행은 한 줄이라(B14), 읽은 AI 질문의 요청 줄과 #890의 "대기 · …", "멈춤 · …" 줄은 트리에 남지 않는다. 막힘의 원인 줄만 남긴다(#890 B2). - **판단해 주세요**: 접힌 부모의 자손 표시는 올라온 ask와 일하는 자손만 센다(D-40). #890이 배지에 세던 막힌 자식 수는 트리를 펼쳐야 보인다. - **조심해서 볼 파일**: `herdr-core/src/agent_state/escalation.rs` - snapshot wire(`RaisedAsk.raised_pane_id`)와 승격 판단이 바뀐다. 원인별 동사와 미수신 문구가 여기서 정해진다. - **조심해서 볼 파일**: `herdr-core/src/agent_state/turn.rs` - `demand_verb`가 읽은 AI 질문과 읽은 막힘을 루트의 할 일에서 뺀다. #890과 합친 자리라 행 표시, 마크 색, Needs You 판단이 여기서 갈린다. - **조심해서 볼 파일**: `herdr-core/src/agent_state/tally/scope.rs` - runtime mutex 안에서 checkout마다 사이드바 트리를 만든다. 한 번만 만들도록 중복 호출을 지웠다. - **조심해서 볼 파일**: `web/src/components/agent-tree-popover.tsx`, `web/src/PaneHeaderBand.tsx` - 묻는 행을 `raised_pane_id`로 찾고, 연결 안 된 기기의 Open을 막는다. - **비용 검토**: 승격 lift는 행마다 조상을 다시 걷는다(계보 깊이에 비례). 고빈도 경로의 입력당 작업은 늘지 않고, publish는 상태 전이 때만 일어난다. ## Evidence - **확인한 것**: 결정적 verify(`verify-cargo.sh test`, `lint`)가 #890을 합친 head에서 PASS. herdr-core 1884개, hided 포함 2299개 통과. - **확인한 것**: `verify-web.sh` 웹 1326개(1 skip), desktop unit 162개 통과. `check-design-contract.mjs` 통과. - **확인한 것**: #890을 합친 뒤 blocked-state, sidebar-status, session-panel, projects-sidebar, overview, session-readers, lineage-session e2e 통과. - **확인한 것**: web e2e 전체 249개 중 246개가 #890을 합치기 전 head에서 통과했고, 실패 3개는 고친 뒤 재실행에서 통과. 합친 뒤 전체 실행은 CI가 맡는다. - **확인한 것**: desktop e2e 전체 67개 중 58개 통과, 8개 skip, 1개(session-labels)는 B14에 맞춰 옮긴 뒤 단독 재실행 통과. - **확인한 것**: design review가 pane-header, session-panel, projects-sidebar에서 Pen r2 대비 Light/Dark 모두 PASS(합친 뒤 다시 실행). - **확인한 것**: 승인된 디자인 후속(Dark 팝오버 레일 토큰 강화, Light PR 아이콘에서 빨강과 주황 구분)이 실제 화면 캡처로 확인됨. - **확인하지 못한 것**: 설치된 앱(`/Applications/hide.app`)에서의 실제 계보 확인은 하지 않았다. 지시상 설치와 실행을 하지 않았고, 확인은 gallery, e2e fixture, 격리된 Herdr로 했다. - **확인하지 못한 것**: 로컬 cargo test 중 `bell_intake::the_bell_turn_receives_the_letter_bodies_and_confirms_them`(이 PR이 손대지 않은 crate)이 부하 중 한 번 실패했다. 단독 8회는 모두 통과. - **확인하지 못한 것**: 이 Mac의 전역 commit 서명 때문에 hide-host git 테스트와 `cmdk.spec:215`가 로컬에서만 실패하고, 서명을 끄면 통과한다. CI는 영향 없다. - **생성물**: `design/hide-screens.pen`은 main의 파일에서 합친 생성기로 다시 만들었다. 한쪽만 바꾼 시트는 그쪽과 같다. gallery fixture(`agentScopes.json`, `agentStates.json`)도 diff가 크다. <details><summary>추가 증거</summary>   후속으로 남긴 것: - 다시 뿌리를 옮긴 트리 팝오버에 원래 부모로 돌아가는 길이 없다. - 세 단계보다 깊은 곳에서 올라온 ask는 팝오버에서 손자의 자손 표시로만 보인다(트리는 2단계, D-12). - 여러 PR 목록 hover는 포인터로만 고를 수 있고, 키보드로는 닿지 않는다. - band hover 문구("경로 다음 checkout · N분째 동사 대기")를 단위 테스트가 확인하지 않는다. - 분 단위 문구는 snapshot 사이에 멈춰 있고, `agentScopes.json`에는 옛 sessions/work 모양이 남아 있다. - `lift`는 행마다 조상을 다시 계산한다(`lineage_path_pane_ids`로 줄일 수 있음). 트리 레일의 `border-l-2`는 토큰이 아닌 폭이다. - 자동 Resolve가 `wait`(백그라운드 작업, 답장 대기)를 보지 않는다. 막힘 band의 `+N`은 팝오버를 열지 못한다. 요청 집계(`scope.rs` VERBS)에 `blocked`가 없다(main과 같음). </details> <details><summary>Verification record</summary> - PRD: `agents/prd/agent-hierarchy-screens/prd.md` (sha256 68f370e815271d2cb5a8c6fe4f549a64fd3088a3ac45a7f44129f7981769361f) - Base ec61754 → head 36feb61, verified 2026-10-09T18:49:50.900Z: PASS - Verification report: `agents/runs/agent-hierarchy-screens/verification-report.json` and `agents/runs/agent-hierarchy-screens/verification-report.md`; source fingerprint 9fe3702577bf19b095ae8c67820fbe23cb686760563c2158181227bea553b678 - Suites: - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0) - S2: GREEN `bash scripts/verify-cargo.sh lint` (exit 0) - Reviews: - Fidelity + Code (first, head 5195edd): Fix now were the e2e selectors to port, Draft asks keyed by the named pane, Home trees, the band's Open while disconnected, the hover path repeat, read-question demand, the B18 finished fold, the multi-PR hover list, the native-question verb, grandchild ArrowRight, the duplicate sidebar tree build and broad store reads. All fixed in e51ba10..ee42827. - Fidelity + Code (follow-up, head ee42827): all 13 prior items fixed (B18 partial). Fix now: a child's own native question claimed its parent had not received it; fixed in 0890706 with a test. Also fixed: the finished fold hiding a raised descendant, a draft's Open checking the wrong device, a vacuous e2e assertion. Follow-ups are listed above. - Merge resolution review (head 5d0b1f2, merge of main with #890): nothing from #890 dropped. Fix now: a read block hid a newer raised ask, and a waiting raised root drew its ask in working blue; both fixed in 36feb61 with a test. Also fixed: a read block's cause in Sessions, ja Idle group word, stale band and Resolved docs. - Evidence: none registered separately. - Changed paths: 95 (see Files changed) - Delivery: mode pr, branch `gen-prd/agent-hierarchy-screens`, base `main` </details>
This was referenced Oct 9, 2026
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.
Related: with-hide/hide-private#93 · PRD
agents/prd/agent-blocked-state/prd.mdSummary
context_label.v7)에blocked를 더하고 "확실하지 않으면 done"을 없앴습니다: 원인을 한 줄로 쓸 수 있는 멈춤만 막힘입니다.Review
--warning채운 삼각형과 중립색 ◐입니다. 아침에 다른 안으로 바꿀 수 있습니다.--subtle-foreground. 새 토큰이 없고, 같은 노란색?·!와 모양으로 구분되며, Done이 조용합니다.--muted-foreground. 14px 마크 크기에서 가늘고 ○ 링과 헷갈립니다.--destructive빨간 삼각형, ◐은--warning. PRD가 대체한 빨강을 되살리고 노란 ◐이 Needs You와 경쟁합니다.waiting라벨은 ◐ 멈춤으로 보입니다(PRD B15). 이 표본에서 Claude 감독 에이전트가 다른 에이전트를 기다리는 행과 Codex 등 Claude 외 에이전트의waiting행이 모두 그렇게 보입니다. 모델의 말 대신 증명된 사실을 쓰는 대가입니다.error를 막힘 뜻으로 유지.herdr-core/src/agent_state/(axes.rs,turn.rs,tally.rs,header.rs) - 막힘, 멈춤, 대기가 한 행 결정으로 모든 표면에 퍼집니다.error값의 뜻이 바뀌었고 위임 승격 여섯 원인은 그대로입니다.herdr-core/src/labels/context_label.rs- v7 프롬프트와 스키마, 판정 품질이 문구에 달려 있습니다.hide-session/src/turns/,hide-agent-adapter/src/lib.rs- Claude 깨울 장치 읽기와 프로세스 경계(fail closed), 에이전트당 상한.contracts/snapshot-wire-enums.json-agent_wait,label_end,request_verb,session_tag변경(snapshot wire).Mutex<Runtime>아래에 I/O나 하위 프로세스를 더하지 않았고, 화면 갱신은 실제 상태가 바뀔 때만 늘어납니다.Evidence
verify-cargo.sh test와lint가 머지된 head에서 통과했고(deterministic report),verify-web.sh는 1322 + 162개 테스트가 통과했으며check-design-contract.mjs도 통과했습니다.web/e2e/blocked-state.spec.ts(막힘 삼각형이 Needs You에, 멈춤 ◐이 그 밖에, 읽은 막힘이 흐려져 Seen에 원인 문장과 남음)와sidebar-status,session-panel,projects-sidebar,overview,session-readerse2e가 격리된 데몬에서 로컬로 통과했습니다.adapters::wake_devices::no_other_agent_reports_a_device가 고정합니다.blocked오탐 0, 미탐 0. 프롬프트 끝 문장을 고친 뒤 같은 25건을 다시 돌려 한 건만 달라졌습니다(midreport-2waiting에서question, "확인해 볼까요?"로 끝나는 메시지).unfinished는 합성 2건에 기댑니다. 이전 v6 프롬프트와의 비교는 돌리지 않았습니다.design/hide-ui.lib.pen과design/hide-screens.pen은 스크립트가 만든 큰 diff이고(GitHub에서 접힘), 결과는 위 캡처가 보여 줍니다.hide-screens.pen의 큰 diff(+338k/-330k)는 손상이 아닙니다: 막힘과 무관한 8개 시트(settings, palette, dialogs, menus, mobile, disk-cleanup, overview, onboarding)는 origin/main의 gen-screens 출력과 시트별로 같고, main에 커밋된 사본만 Pen 앱 저장으로 정규화돼 있었으며(fileToken, 기본값 생략, padding 축약, path 표기), 의도한 변경은 main, project-overview, projects-sidebar 세 시트뿐입니다.Breaking change
error가 "막힘"이라는 뜻으로 바뀝니다. 같은 변경에서 모든 소비처(웹, 폰, 펫, 검색 tone)를 옮겼고, 이전 앱은 이 값을 만들지 않았습니다.Verification record
agents/prd/agent-blocked-state/prd.md(sha256 cb3bcff270ce678ae9b7c217fadd5ccd6a7f6fb371b29acbc5acc3ff1f5e2f81)agents/runs/agent-blocked-state/verification-report.jsonandagents/runs/agent-blocked-state/verification-report.md; source fingerprint 91dbc2b6500ae475298abd14f8500fadd1847cc7071f30019340bf659bb773f6bash scripts/verify-cargo.sh test(exit 0)bash scripts/verify-cargo.sh lint(exit 0)lay_reply_waitsforged row facts (newSidebarAgentSnapshot.reply_wait); repeated SessionStart records erased a vanished device; the device cap check is>=; an unread stopped child counts unread in its subtree; tests added for B3, B5, B8, B25.spec/agent-blocked-state, basemain