Skip to content

feat: keep what waits on the operator in Needs You - #1838

Merged
yansfil merged 17 commits into
mainfrom
gen-prd/needs-you-cleanup
Oct 29, 2026
Merged

yansfil merged 17 commits into
mainfrom
gen-prd/needs-you-cleanup

Conversation

@yansfil

@yansfil yansfil commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

사이드바 내 차례가 운영자가 답해야 할 것을 빠뜨리거나 흐리게 보여 주던 문제를 고칩니다.

  • 미션의 판단 대기는 Conductor 행의 질문(판단 · …)으로 내 차례에 들어오고, 미션 칩은 진행 수를 지킨 채 !만 더합니다. 맵에서 답하면 바로 빠집니다.
  • 읽었지만 답하지 않은 질문은 다시 볼 것으로 옮기지 않고 내 차례에 흐리게(빈 !, 읽음) 남습니다. 알림은 다시 울리지 않고, ☆는 다시 볼 것으로, 치우기는 새 질문 전까지 치웁니다.
  • 자식의 질문은 행의 !N 대신 루트의 질문으로 보이고, 여러 건이면 외 N건이 붙습니다. !N은 트리 팝오버에만 남습니다.
  • 기다리는 행은 대기 대신 무엇을 기다리는지(자식 기다림, CI 기다림 · PR #n, 답장 기다림, 백그라운드 기다림) 말합니다.
  • 라벨 프롬프트는 질문인지 끝남인지 애매하면 질문으로 봅니다(v24). 치운 질문과 끝남 뒤의 답은 id만 담은 진단으로 남깁니다.

태스크 list (dark)
갤러리 태스크 목록: 내 차례 넷째가 판단 행과 ! 미션 0/8, 다섯째가 읽은 질문, 대기 아래 둘(자식 기다림 · 자식 2개 작업 중, CI 기다림 · PR #1846)이 원인을 말하는 대기 줄입니다.

Review

  • 판단해 주세요: 읽은 질문의 흐림 정도(빈 !, 연한 줄, 읽음 태그)가 "아직 내 차례"로 읽히는지.
  • 판단해 주세요: 맵에서 답했지만 전달이 확인되지 않은 판단도 행에서 빠집니다(맵 배너가 다시 보내기를 띄움). 행에 남겨야 하는지.
  • 조심해서 볼 파일: herdr-core/src/runtime/plans.rs - snapshot pull마다 도는 경로. core 질문 목록을 장부 편집 때만 다시 만들고, 같으면 행을 다시 깔지 않습니다.
  • 조심해서 볼 파일: herdr-core/src/agent_state/turn.rs - 루트의 선두 질문과 외 N건 계산, 폰 알림에서 읽은 질문을 Seen으로 보는 규칙.
  • 조심해서 볼 파일: contracts/hided-ws.schema.json, contracts/snapshot-wire-enums.json - snapshot wire의 ask_subject.cause에 mission_decision 추가. 옛 서비스 워커는 원래 문장으로 대체합니다.
  • 대기 행의 자리: 앱에서 wait 원인이 있는 행은, 쉬는 중이면 대기 그룹에(tasks.rs state, 별표나 읽은 질문이 없을 때), 에이전트가 실제로 일하는 중이면 작업 중에 섭니다. 바뀐 줄은 대기 그룹 행에서 보입니다.
  • 비용 검토: Herdr 행 동기화마다 plan·mission 장부를 한 번 훑어 질문 목록을 만듭니다(장부 크기 비례, 행 수와 무관). 잠금 안 I/O 없음.
  • 질문: raised 자손 때문에만 내 차례에 있는 루트에 ☆를 누르면 지금은 별만 붙고 내 차례에 남습니다. 다시 볼 것으로 옮겨야 하는지 정해 주세요.

Evidence

  • 확인한 것: 최종 head에서 sasu implement verify 통과(verify-cargo.sh test, lint), scripts/verify-web.sh 통과(web 2,252개, desktop 294개).
  • 확인한 것: 미션 판단의 깔기·교체·맵 답·새 질문·해제·닫기와 동기화 직후 해제 경합을 core 테스트로 확인.
  • 확인한 것: 읽은 질문의 내 차례·폰 그룹·☆·치우기, 프로젝트 할 일에서 치운 기록 질문 제외, 선두 질문 순서와 외 N건, 읽은 질문 무알림을 core/hided 테스트로 확인.
  • 확인한 것: 서비스 워커가 판단 · 줄로 쓰고, 옛 페이지 단어나 모르는 원인은 원래 문장으로 대체함을 실제 sw.js로 확인.
  • 확인한 것: 부하(load 50~180) 중 verify 네 번이 이 브랜치와 무관한 테스트로 실패했고, 모두 단독 실행에서 통과해 hide-private OS 경계 5: Windows 파이프 리스너가 연결 후 떠난 클라이언트에 막히지 않게 하고, hided를 Windows에서 시작합니다 #331-Windows 데스크톱 단위 테스트: 세 OS에서 같은 단언으로 돌리고 windows check를 필수로 #334 quarantine으로 올렸습니다.
  • 확인한 것: 새 계약에 맞춘 Playwright 세 spec(session-panel, mission-map, mobile)을 로컬 격리 Herdr로 실행해 통과.
  • 확인하지 못한 것: 격리된 후보 앱의 네이티브 화면 확인(스크린샷은 갤러리 데이터), 연결된 기기의 Conductor 행.
  • 확인하지 못한 것: 라벨 프롬프트 변경이 실제 판정에 주는 효과, verdict.answer_after_done worker 단위 테스트, 데스크톱에서 판단이 한 번만 알리는지.
  • 확인하지 못한 것: 기기 행에서 ☆로 읽음 처리는 기기의 다음 동기화 때 반영됩니다(즉시 아님).
추가 증거

태스크 list (light)
라이트 테마, 같은 갤러리 상태.

Verification record
  • PRD: agents/prd/needs-you-cleanup/prd.md (sha256 b2812e065e39a4effde7a242232e2d4c954c75ec269777e9618afa4e5e27beb3)
  • Base d8da3e4 → head 3b50142, verified 2026-10-29T15:00:55.966Z: PASS
  • Verification report: agents/runs/needs-you-cleanup/verification-report.json and agents/runs/needs-you-cleanup/verification-report.md; source fingerprint 28ed3f64104feb33b697bca11cdfec8b1040f9f5096c50619ae3a86966059250
  • Suites:
    • S1: GREEN bash scripts/verify-cargo.sh test (exit 0)
    • S2: GREEN bash scripts/verify-cargo.sh lint (exit 0)
  • Reviews:
    • Fidelity (77d2707, follow-ups on 119d783 and 70ddb04): Fix now B3 decision answered from the map stayed in 내 차례 (fixed, 6f2032c) and stale ! N docs (fixed, 119d783); Follow-up ☆ on a root held only by a raised descendant and phone/Overview without 외 N건 stand for the PRD owner; 70ddb04, def38d8 (gallery) and 3b50142 (e2e expectations): no Fix now; optional Follow-up: assert the Conductor row in the tree's raised 내 차례 band and the first needs_you row by pane in e2e.
    • Code (77d2707, follow-ups on 119d783 and 70ddb04): Fix now put-away record ask still listed in 할 일 (fixed, bd989fc) and thin core tests (added, 86887cb); Follow-up relay cost, laid-ask stamp, answered decision, legacy date and diagnostics order fixed (6f2032c, bd989fc, 71cfa43); sync race found on follow-up fixed (70ddb04); 70ddb04 and def38d8 (gallery): no Fix now or Follow-up; 3b50142 (e2e expectations): no Fix now, Follow-up: session-panel.spec no longer pins which 내 차례 row sorts first (pin it in a Tasks::settle test).
  • Evidence: 2 registered (2 screenshot); paths are local to the run directory
    • agents/runs/needs-you-cleanup/screens/session-panel-dark.png
    • agents/runs/needs-you-cleanup/screens/session-panel-light.png
  • Changed paths: 66 (see Files changed)
  • Delivery: mode pr, branch gen-prd/needs-you-cleanup, base main

The core lays an open mission decision on the resting Conductor's row through the plan-review path (new ask subject cause mission_decision), lifting it when the decision is answered, cleared or the mission closes. A row's ask leads with what waited longest and counts the rest; sidebar and task rows drop the !N descendant count; mission chips keep their progress and add ! in the decision colour.
…r starred

Task cards, the project tool's to-do list and the phone list place a read ask in Needs You, drawn read with a hollow mark, while the row's group and every notification, badge and pet stay as before. Revisit holds only starred tasks; a star on an ask reads it and moves it there, and a read ask offers Put away.
A waiting row says 자식 기다림, CI 기다림, 답장 기다림 or 백그라운드 기다림 before its sentence or the cause's detail, and 대기 only when no cause is proven, in every list, hover and accessible name and in all four languages; the pane header's children wait uses the same words.
…signals

The label's end prompt reads a turn that could be a question or finished as a question (context_label.v24). Putting away an unanswered ask, from Revisit or the session record, and a reply answering a question at the end of a turn read as finished each record one id-only diagnostic event.
@yansfil
yansfil merged commit 4998662 into main Oct 29, 2026
31 checks passed
@yansfil
yansfil deleted the gen-prd/needs-you-cleanup branch October 29, 2026 15:24
yansfil added a commit that referenced this pull request Oct 30, 2026
…1851)

## Summary

연습 5편의 `다시 볼 것` 단계가 "★한 태스크와, 읽었지만 아직 답하지 않은 질문이 '다시 볼 것'에 모여요"라고 말했지만,
#1838 뒤로 읽은 질문은 답할 때까지 내 차례에 흐리게 남고 다시 볼 것에는 ★한 태스크만 모입니다.
그 단계의 제목과 본문을 네 언어(영어, 한국어, 중국어, 일본어)에서 지금 화면대로 고칩니다.
v1.0.4 릴리스 전 온보딩 대조에서 찾았습니다.

스크린샷 없음: 연습 단계 문구만 바뀌고 화면 구성과 대상 요소는 그대로입니다.

## Review

- `web/src/i18n/resources/practice/find.ts`:
`practice.find.revisit.title`, `practice.find.revisit.text` 두 키만 바뀝니다. 각
언어의 `내 차례` 이름은 같은 카탈로그의 기존 이름(Needs You, 내 차례, 轮到你, 自分の番)을 썼습니다.
- 중국어와 일본어 문장이 자연스러운지 봐 주세요.

## Evidence

- 확인함: 바뀐 문장이 `web/src/TaskLens.tsx`와 `web/src/taskList.ts`의 지금 동작(읽은
질문은 내 차례에 흐리게, 다시 볼 것은 별 단 태스크만)과 맞는지 코드로 대조했습니다. 옛 문장을 기대하는 테스트는
없습니다(`rg`).
- 확인하지 않음: 로컬 web typecheck와 practice 테스트는 돌리지 않았고 CI `verify`에 맡깁니다.
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