Skip to content

기기 Overview: Tasks, 백로그, Projects와 빠른 추가 - #1185

Merged
yansfil merged 65 commits into
mainfrom
gen-prd/overview-device-tasks
Oct 15, 2026
Merged

yansfil merged 65 commits into
mainfrom
gen-prd/overview-device-tasks

Conversation

@yansfil

@yansfil yansfil commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Related: PRD agents/prd/overview-device-tasks/prd.md · #1136 (먼저 들어간 Work 탭), with-hide/hide-private#49 (시안)

Summary

Overview가 프로젝트마다 따로 있던 화면(Project Overview, Issues 보드, Agents 그래프, 대화 기록)을 기기 하나의 한 페이지로 바꿉니다.
탭은 Tasks · 백로그 · Projects입니다: 일감(루트 에이전트와 그 자손, 워크트리, PR)을 프로젝트별 카드로, 백로그를 프로젝트의 이슈 출처 하나(GitHub 이슈 또는 메모)로, 프로젝트 상태와 디스크를 한 줄씩 보여 줍니다.
백로그는 양식 없이 바로 쌓입니다: 입력칸, ⌘⇧M 빠른 추가, 세션 기록의 놓친 일 백로그로. GitHub에는 제목만 가고, 끊긴 응답을 다시 시도해도 이슈는 하나만 생깁니다.
되돌리기는 시작 전이고 Hide가 만든 항목에만 있습니다: 메모는 지우고, Hide가 만든 이슈는 닫고, 남이 만든 이슈는 core가 거절합니다.
에이전트 pane 머리(상태 점, 로고, 제목)를 누르면 그 세션 기록이 레인에 열리고 키보드는 터미널에 남습니다.

Tasks (Hide 테마): Needs You, 일하는 중, 자식 · PR · 이슈 · 메모 칩, 오른쪽에 기록 상세

Review

  • 판단해 주세요: Tasks 카드의 정보 밀도(첫 줄 상태와 제목, 둘째 줄 자식 · PR · 항목 칩, 셋째 줄 단계 막대)가 한눈에 읽히는지.
  • 판단해 주세요: 놓친 일 백로그로는 놓친 문장을 그대로 GitHub 이슈 제목으로 씁니다. 공개 저장소면 버튼에 공개, 모르면 공개일 수 있음이 붙습니다.
  • 조심해서 볼 파일: herdr-core/src/runtime/backlog.rs - failure path. GitHub 쓰기, 재시도 수렴, 큐 상한, 되돌리기의 core 거절.
  • 조심해서 볼 파일: herdr-core/src/links/ledger_store.rs - 만들기 기록이 재시작과 core 이동 뒤에도 "Hide가 만든 이슈"의 근거입니다.
  • 조심해서 볼 파일: herdr-core/src/agent_state/tally/ - runtime mutex 안의 일. 일감 투영과 디스크 측정이 lock 밖에서 도는지.
  • 조심해서 볼 파일: herdr-core/src/runtime/backlog.rs의 spawn_backlog_worker - 모든 백로그 워커가 이 하나로 돌고, panic도 실패 답으로 끝나 칸이 working에 남지 않습니다.
  • 조심해서 볼 파일: hided/src/demand.rs의 OriginHolds - 창마다 연 항목 출처를 세고(창당 8), 마지막 창이 놓거나 연결이 끊길 때만 core에 닫기를 보냅니다.
  • 조심해서 볼 파일: herdr-core/src/runtime/session.rs의 resync_navigator_focus - 저장된 선택이 없을 때의 시작 checkout. 노드가 없다고 답한 폴더만 건너뛰고, 모두 없으면 예전처럼 첫 checkout.
  • 조심해서 볼 파일: hide-node-link/src/protocol.rs - Herdr/core ownership. node protocol 35(main의 33 feedback, 34 guardrail_policy 다음), 지운 호출.
  • 비용 검토: 디스크 측정은 Projects 탭이 보일 때만 기기별로 차례로 돕니다. 일감 투영은 스냅샷 입력이 바뀔 때만 다시 계산합니다.

Evidence

  • 확인한 것: cargo test와 lint 통과(herdr-core, hided, hide-node-link nextest, sasu verify 최종 head PASS). 웹 vitest 1590개, 데스크톱 typecheck · lint · unit, 디자인 계약 검사 통과.
  • 확인한 것: 웹 e2e 72개(겹치는 스펙 전부)와 데스크톱 e2e 14개가 Work 탭에 PR 목록과 PR 결정 카드: 누구 차례인지로 묶고 카드에서 머지 #1136 병합 전 head에서 통과. 최종 head(4648838)에서 다시 빌드한 셸로 영향 받은 스펙 10개 파일 50개 테스트 통과(lane-last-tool, overview-device, overview-modal, s2, s6, s7, interface-language, session-panel, session-work-ledger, work-prs).
  • 확인한 것: 실제 GitHub(테스트 저장소)에서 제목만 있는 이슈 생성, 끊긴 응답 뒤 재시도가 같은 이슈로 수렴, 되돌리기가 그 이슈를 닫음. 만든 이슈는 모두 닫음.
  • 확인한 것: 리뷰(요구사항, 코드, 보안)의 수정 항목은 모두 고쳤고, 새 core 테스트는 각각 수정을 빼면 실패함을 확인.
  • 디스크: 10-16 새벽 이 Mac 디스크가 가득 차(여유 1-6 GB) 로컬 검증 두 번이 빌드 공간 부족으로 멈췄고, 공간이 난 뒤 최종 head에서 sasu verify(전체 Rust 테스트와 lint)가 통과했습니다.
  • 부하 실패: load average 25-30에서 hided node_session_activity::serve_preserves_kit_protocol_alongside_activity(새 프로세스 EAGAIN, 두 번)와 hide-host gh::tests::timed_out_gh_and_its_pipe_holding_helper_are_terminated(3초 안에 셸이 pid를 못 씀, 한 번), hide-ai search_path::claude_found_by_name_answers_its_probe_its_usage_read_and_its_request(auth_deadline, 한 번)가 실패했고, 혼자 돌리면 각각 3/3 통과합니다. 이 PR은 세 테스트와 그 코드를 건드리지 않습니다. CI 결과는 아래 댓글로 남깁니다.
  • CI 빨강 세 개 고침(4648838): (1) policy checks: web/e2e/shard-durations.json이 지운 s8 테스트 둘을 아직 적고 있었음(246f360). (2) web e2e agent-tab-names: 기록 버튼이 로고를 aria-hidden으로 만들어 Claude Code 이름으로 로고를 못 찾음. 로고가 버튼 안에서도 제 제품 이름을 갖게 함(5455c78). 로컬 web e2e agent-tab-names, overview-device 5개 통과. (3) desktop e2e restoration: 저장된 선택이 없을 때 창이 catalog의 첫 checkout에서 시작하는데, 닫혀 있는 동안 폴더가 옮겨진 탭은 활동 없는 자기 프로젝트 행으로 남고, 그 순서는 경로 해시 id로 정해져 절반쯤 그 빈 프로젝트에서 시작했음. main에서도 core는 같은 확률로 그 폴더를 골랐고 사이드바가 fixture를 위에 그려 가려졌을 뿐임. 이제 시작은 노드가 없다고 답한 폴더의 checkout을 건너뜀(fd318e2). 고치지 않으면 실패하는 core 테스트 a_start_with_nothing_saved_skips_a_checkout_whose_folder_is_gone를 더했고, 스펙은 다시 사이드바 첫 프로젝트를 열며 로컬 8/8 통과(고치기 전 약 절반 실패).
  • main 병합(183330c, 다시 프로젝트 설정의 보호 스위치로 에이전트의 위험한 작업을 실행 전에 막는다 #1201 뒤): 충돌 해결. node protocol은 main이 33(feedback)과 34(guardrail_policy)를 먼저 써서 이 브랜치가 35로 올림. 프로젝트 설정의 보호 스위치로 에이전트의 위험한 작업을 실행 전에 막는다 #1201 뒤 병합에서 project-settings와 restoration 데스크톱 스펙 4개, protocol · guardrail Rust 테스트 14개 통과. 병합 뒤 web typecheck · lint · vitest 191개 파일, desktop lint, cargo check --workspace --tests, protocol · workspace_view 대상 Rust 테스트 65개, scripts/tests 361개, 디자인 계약, Herdr 계약 통과. 디스크가 공유되고 거의 차 있어 전체 nextest와 전체 e2e는 로컬에서 다시 돌리지 않았고 CI가 대신합니다.
  • 확인하지 못한 것: Windows · Linux CI lane은 이 PR의 CI가 처음입니다. Neutral 테마에서 새 화면을 캡처하지 않았습니다(토큰만 씀을 코드로 확인).
  • 확인하지 못한 것: 일감 카드의 PR은 살아 있는 에이전트 행에서 가져옵니다(B10). Pen에서 incoming 카드의 점선이 실선이고, pane 머리 버튼과 놓친 일 백로그로 줄은 Pen 시트에 없습니다.
  • 스크린샷: 개발 빌드의 gallery overview 장면(/gallery?scene=overview)이 지어낸 기기 데이터 위에 실제 컴포넌트를 그린 것입니다. 실제 앱에서 같은 화면을 찍은 것은 아닙니다.
  • 생성물: design/hide-screens.pen, design/hide-ui.lib.pen은 scripts/gen-pen.mjs, scripts/gen-screens.mjs가 다시 만든 파일입니다.
화면 더 보기

Tasks (Neutral 테마): 같은 화면

백로그: GitHub 이슈와 메모, 놓친 일에서 온 with-hide/hide#161 깃발, 만드는 중인 항목, ⌘⇧M 빠른 추가, 입력칸이 한 줄로 맞춰짐

Projects: 0이 아닌 개수만, 측정된 디스크, 여유 공간 경고, 2 merged → 정리

pane 머리 기록 버튼: 레인의 Work/Sessions에 그 세션 기록, 놓친 일의 백로그로

후속으로 남긴 것
  • 개발 빌드(StrictMode)에서만 레인의 세션 기록이 열리자마자 닫힙니다(기록이 사라질 때 대상을 지우는 정리, main에도 있던 방식). 배포 빌드에서는 핀, 핀 풀기, overlay 폭으로 좁히기를 거쳐도 기록이 남는 것을 e2e로 확인했습니다.
  • 여러 볼륨 기기의 디스크 여유와 전체가 다른 볼륨에서 올 수 있습니다.
  • Hide AI 집 에이전트의 자식은 부모가 목록에 없으니 혼자 일감 카드가 됩니다(Needs You일 때만). 부모 아래로 묶을지는 제품 판단입니다.
  • data-pane-record는 이제 테스트만 읽습니다.
  • 옮길 때 옛 세션 검색 저장소의 보관 기간 행을 상한 없이 읽습니다(운영자 자신의 파일이고 더 늘지 않음).

Breaking change

  • node protocol 35: 기기 helper가 34 이하면 Hello에서 거절되고 다시 설치됩니다. 기기를 연결해 둔 운영자는 앱 업데이트 뒤 기기 재설치를 한 번 거칩니다.
  • 대화 기록(Conversation history) 화면과 지난 대화 검색이 없어집니다: 옛 session-search.sqlite3는 지우거나 고쳐 쓰지 않고, 그 안의 프로젝트별 보관 기간만 계속 읽습니다.
  • ⌘⇧A(사이드바 Agents 모드)가 없어집니다: 저장된 단축키 설정의 그 키는 무시됩니다.
  • Project Overview, Issues 보드(List, Dependencies, 완료 열), Agents 그래프가 없어집니다: 같은 일은 기기 Overview와 오른쪽 레인이 합니다.
Verification record
  • PRD: agents/prd/overview-device-tasks/prd.md (sha256 2c893df06ec44334ffa009a55013f3bbe3e004315a8df7b3df630351a4d7f3c0)
  • Base 585cd94 → head 4648838, verified 2026-10-15T16:16:09.193Z: PASS
  • Verification report: agents/runs/overview-device-tasks/verification-report.json and agents/runs/overview-device-tasks/verification-report.md; source fingerprint f45c399faf2a9dd461a9e1df8af39c5901d241d51480925e5ccfbb7f39fab571
  • Suites:
    • S1: GREEN bash scripts/verify-cargo.sh test (exit 0)
    • S2: GREEN bash scripts/verify-cargo.sh lint (exit 0)
  • Reviews (advisory):
    • Set 1 and set 2 (Fidelity, Code, Security) on ef81439: every Fix-now item fixed (reconcile adopts only the account's own issue, creates pinned to the attempt's repository, undo refused for issues Hide did not make, one event per 무시, origin release); a follow-up review on 42d5244 found unbounded eviction of unconfirmed creates, fixed in 88d3d4a (32 pending cap, QueueFull), re-review clean.
    • Merge-resolution set (Fidelity, Code, Security) on a4c2376: no Fix-now items; an orphaned doc comment was moved in 22afeb6.
    • Merging main after Work 탭에 PR 목록과 PR 결정 카드: 누구 차례인지로 묶고 카드에서 머지 #1136 (0a4f557): a record opened while Work was left on PRs did not show; opening a record now turns Work to Sessions in the same lane event (ed43951). The main merge also needed the landing scene to drop retired ui fields (bab54b0) and the core store-touch counts to include the D-20 retention reads (2da0ef3).
    • Fidelity+Code and Security on aab1374: one Fix-now, lane에서 보기 read the lane of the checkout left behind, fixed in a30b12c (the lane event is always sent on a checkout switch; unit test fails without it). Security: no Fix-now.
    • After the Observer check: the Tasks project head's Open and backlog links inherited the heading's 16px; now in the head's caption size (1c3c34b, s6 asserts it). CI found the e2e size baseline still listing the removed s8 Sessions test (e338862). New Overview gallery scene for the screenshots (0e4cfdc, 2836bdd) and the empty Tasks section's 새 에이전트 translation (426ba93).
    • Observer letter-6364 fixes (feea125, e20e5b2, 2505582, 6c93ca7, 3778ca8, f30498b, 76225fe), then a review set on them: Security no Fix-now; Code one Fix-now, a WebSocket reconnect dropped an open panel's origin, fixed in f637b59 (re-read on live). Follow-ups fixed in the same push: the last close reaches the core under the holds lock (1f4a7a0), empty or overlong keys refused (1f4a7a0), origin cap logged instead of a screen error, a second window no longer blanks a shown turn, an unrecorded put-away logged (4648838), NowCell doc comment (074e2eb).
    • CI on 4648838: the record button hid the logo from assistive tech, so agent-tab-names could not find it by its product name; decision: the logo keeps role="img" and its product name inside the button, leaving the agent-mark-quiet contract and spec unchanged (5455c78).
  • Evidence: none registered separately.
  • Changed paths: 314 (see Files changed)
  • Delivery: mode pr, branch gen-prd/overview-device-tasks, base main

- Tasks replace the Agents graph projection: a task is a lineage root and
  every descendant on any device, with its stage, state, checkouts and the
  devices and projects it reached; a cross-device part shows dashed on the
  receiving device and is not counted there.
- backlog_add/retry/dismiss/undo/origin: a memo is made at once; a GitHub
  item is one title-only create per device with eight waiting, behind a
  durable attempt in the link ledger so a retry, even after a restart,
  converges on the issue the first try made. Undo deletes a memo or closes
  the issue and reopens the missed line it came from. The AI issue draft is
  removed.
- disk_watch: while the Projects tab shows, its projects are measured one
  at a time on a sweep reader beside the lane card's, kept by path and
  fresh for ten minutes; a failure keeps the last size beside its reason.
  Folder projects are measured as one folder; dialed devices never.
- Node protocol 33: session_work_turn replaces session_work_context, and a
  disk row carries its volume's size (hide-platform total_bytes on every
  system).
…rojects and the quick add

The Overview now shows one device at a time, chosen by its own device
switch, with three tabs: Tasks (one card per lineage root, grouped by
project, with its record in the side panel), 백로그 (each project's open
issues or memos, added from an input, ⌘⇧M or a missed line's 백로그로,
with retry and 되돌리기) and Projects (now counts, backlog, disk with the
reclaimable share, cleanup). An agent pane's head opens its session
record in the lane.

Removed: the Project Overview tiles, the Agents graph, the Issues board,
Conversation history and its search, the missed-issue draft dialog, the
New issue dialog and the Agents overview command (⇧⌘A). Add to backlog
(⇧⌘M, ⌥⇧M in a browser, Alt+Shift+M on Windows and Linux) takes its
place in the menu and the shortcut sheet.
…pane record button

Specs of the removed screens (Project Overview, Agents graph, Conversation
history and its search) are deleted; the server picker keeps its own spec.
New flows cover a folder memo and its undo, 백로그로 converging on one
issue after a lost create response and closing it on undo, ⌘⇧M from a
terminal, and the pane head's record button.
…the screen file; retire Project Overview and Project Sessions
Carries the work tab's Project settings sheet into the device Overview's
project panel and the backlog source chip, and its repository-identity
invariants onto backlog creates: a create is pinned to the github_place
target and connection epoch it started under, a connection edit cancels
creates in flight, a missed line goes only to its session's original
repository, and each refusal fails as repository_changed. The links store
moves to version 4 after the session origins of version 3.
…trees

The sweep passed over a project whose worktree catalog had not answered
yet and nothing started it again, so its disk cell stayed 'Not measured
yet'. A local or device catalog answer now advances the sweep.
A project row is found under the Quiet projects fold and a plain
folder's row by its checkout button; the Overview reopens on the tab it
was left on and has no device switch with This Mac alone; a record's
child is a row that opens its own record; View conversation takes the
lane from the PR card, which waits in the files tool; the pane record
button is proved absent on a shell tab; the desktop Project settings
test opens the sheet from the Overview's project panel.
A failed row says whether a retry can act on it: the quick add hands the
input back for a refusal or a moved repository instead of spinning, and
backlog and missed lines offer Retry only when it can succeed; a failed
missed line keeps 무시. An unknown repository visibility says 공개일 수
있음 at the input and on 백로그로. The Overview resets its device when it
opens as a page and when a rail tile picks one; switching cards no longer
releases and reopens the record; the merged count of a dialed device is
not a button; Projects rows mark GitHub projects; the pane record button
reads only this machine's id.
…s marks; drop retired search from the guides
Sidebar mode had one value left, so its state, setters and the retired
branch are gone and focusSidebar takes no mode. projectBoard keeps only
what Tasks, Projects and the dependency layout still read. 180 strings no
screen reads are removed from every language, and the issue_work create
slot nobody reads leaves the snapshot type.
A refused add is a failed row that says why, with retry false, kept to
the newest eight; a GitHub create is pinned to the repository and
connection it was added under, waiting or retried; the queue moves on
past an item that fails before it starts; an undo always takes out its
item and reopens its missed line; a memo that could not be saved is made
again on retry; one missed line is one item; undo closes only an issue
of the project's repository; a panicking worker frees its device; a
reconcile skips issues another attempt claims; evicted intents are
remembered. The dead issue_create path is removed, the origin read
starts no reconnect, the disk sweep keeps what a reorder did not change,
and session-search.sqlite3 is only read: old project ids map to new ones
through the link record.
A GitHub issue is closed only when the link ledger's completed create names
it; the core refuses any other before gh is asked, and the panel reads the
made issues from issue_work.made_keys.
# Conflicts:
#	design/hide-ui.lib.pen
#	desktop/e2e/memory-reconcile.spec.ts
#	docs/UI_BEHAVIOR.md
#	herdr-core/src/model.rs
#	scripts/gen-screens.mjs
#	scripts/gen-tokens.mjs
#	web/src/actions.ts
… screen shows

A retry adopts only an issue the signed-in account wrote, every create names
its reserved repository, undone and unshown ledger rows are pruned, a retry of
a missed line waits for summaries, dismissing a missed line's row puts the line
away, and backlog_origin_close empties the origin slot.
…b, and close an origin with its last screen

The record button keeps the title and product in its name and hint, a refusal
reads as could not be made, a failed missed line's dismiss is one event, the
panel and Start dialog hold an item's origin until the last closes, and the
guides and onboarding sheet drop the removed screens.
…er e2e

The fixture's session could be pressed before the ledger recorded where it
started, which the core rightly refuses as repository_changed.
An evicted unconfirmed attempt could still back a shown retry, which would then
create without first looking for the issue the lost attempt made.
…ce-tasks

# Conflicts:
#	web/e2e/s2.spec.ts
#	web/src/shortcuts.test.ts
… cap instead of showing it, and log a put-away with no record open
Node protocol becomes 34: main's 33 added the feedback call, and this branch's session_work_turn change follows it.
A pane restored onto a folder moved away while Hide was closed keeps a project row with no activity, ordered by its id, so the start opened on that empty project by chance. The start now passes over a checkout the node found gone, and the restoration spec opens the sidebar's first project again.
Node protocol becomes 35: main's 34 added the guardrails policy write, and this branch's session_work_turn change follows it.
@yansfil
yansfil merged commit cd6c258 into main Oct 15, 2026
43 of 45 checks passed
@yansfil
yansfil deleted the gen-prd/overview-device-tasks branch October 15, 2026 21:47
yansfil added a commit that referenced this pull request Oct 15, 2026
Related: #1185

## Summary

main went red after #1185 on `web e2e windows`:
`overview-device.spec.ts` pressed a pane head's record button twice and
the record stayed open.
The test pressed before the fixture's label had moved the pane to its
labelled session, so on a slow runner the second press asked for a
different session and opened it, as it should.
Reading the toggle also found a real misread: it decided "the record is
shown" from the lens the core keeps, while the lane draws Sessions for a
project with no pull request whatever lens is kept, and the first
press's lens change can still be on its way.
Now the lane's record says which record it draws (`ui.drawnRecord`), and
the button closes it when that record is its session's and the lane is
up; the e2e waits for the button to carry the labelled session.

## Review

- **판단해 주세요**: 레인이 그리는 기록을 기준으로 닫는 것이 맞는지. 레인을 Escape로 치워 둔 상태의 누름은 예전처럼
기록을 다시 보여 줍니다.
- **조심해서 볼 파일**: `web/src/SessionRecord.tsx` - 기록이 mount될 때
`drawnRecord`를 쓰고 unmount 때 자기 것일 때만 지웁니다. `web/src/actions.ts`
`togglePaneRecord`.

## Evidence

- **확인한 것**: 실패를 로컬에서 재현. CPU 8배 느리게 3번 중 1번 실패, 두 번째 누름 때 pane의
session이 `fixture-w1-p1`에서 `label-…`로 바뀌어 있었음.
- **확인한 것**: 고친 뒤 같은 조건에서 6/6 통과. `overview-device.spec.ts`와
`session-panel.spec.ts` 전체 4개 통과.
- **확인한 것**: 새 unit test(코어가 PRs lens를 들고 있어도 그려진 기록은 닫힘)는 고치기 전 실패, 고친
뒤 통과. web tsc, lint, vitest 1645 통과.
- **확인하지 못한 것**: Windows 러너에서 직접 돌리지 않았습니다. 이 PR의 CI가 처음입니다.
yansfil added a commit that referenced this pull request Oct 15, 2026
Closes #1208
Related: #1185

## Summary

`web/e2e/workspace-cli.spec.ts` "pane CLI opens its own file and diff
while another Workspace remains in front" timed out at 90 s now and then
(#1208).
Neither project in the spec has an agent, so the one not in front waits
behind the sidebar's `No agents` fold (documented in
`docs/UI_BEHAVIOR.md`), and which project starts in front is the
catalog's order.
The spec clicked beta's checkout row assuming it was drawn; when fixture
started in front, beta was folded and the row never appeared.
The spec now opens beta the way the operator would, through the fold
when it is there (`showProjectRow`), so the outcome no longer depends on
which project starts in front.

## Review

- **판단해 주세요**: 제품이 아니라 스펙을 고쳤습니다. 에이전트 없는 앞이 아닌 프로젝트를 접는 것은 의도된
동작(UI_BEHAVIOR.md, No agents)이라 그대로 둡니다.

## Evidence

- **확인한 것**: 원인 재현. 고치기 전 6번 중 1번 실패했고, 실패한 실행에서는 fixture가 앞이고 beta가 `No
agents 1` 뒤에 접혀 있었음.
- **확인한 것**: 고친 뒤 10/10 통과. 그중 6번은 beta가 접힌 상태여서 접힘 경로를 실제로 거쳤음. 스펙 파일
전체와 web lint 통과.
- **확인하지 못한 것**: CI의 Linux 러너에서 반복 실행하지 않았습니다. 이 PR의 CI가 처음입니다.
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