Repository navigation
에이전트 내부 서브에이전트 수를 화면에 그리지 않고 Settings 기능 표시에서 뺌 - #931
Merged
Merged
Conversation
…and a silent agent mean
A subagent runs inside one agent's session with no pane of its own, so the operator cannot enter it or act on it. Showing its count beside the child marks of agents Hide started would give "child" two meanings on one row, and the number is not a state the operator would act on. No screen draws the count now. The popover of the Basic chip in Settings > Agents leaves out the `subagents` line, with its four translations. The core still sends the feature and the count (`PaneChildren.subagents`, the pet's badge), so the wire enum stays. The guides say what is true: the Subagent count section states the rule, the marks status-model.md placed on the pane header, sidebar row and Overview line were never drawn by the web shell, and the Cursor popover claim is gone.
yansfil
force-pushed
the
design/subagent-badge-810
branch
from
October 10, 2026 13:10
44a3a20 to
99a880d
Compare
yansfil
marked this pull request as ready for review
October 10, 2026 13:14
The entry was derived from `subagent_counts.is_some()` and its one reader was the Settings popover, which no longer lists it. With that line gone the core sent a value nothing consumed, so the variant leaves the table and the wire enum with it. The adapter's `subagent_counts` declaration and the count's whole data path (hook counters, pane tokens, `PaneChildren.subagents`, the pet's badge) stay: they read the declaration, not the feature. The adapter's own contract fixture, the core and kit feature tests, and the Agents popover tests drop the entry.
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.
Closes #810
Summary
운영자가 후보 D(그리지 않음)를 골랐습니다.
이유: 화면의 "자식"이 두 종류입니다. Hide가 띄운 자식 에이전트(pane이 있고 트리에 보이며 행의
● N)와 에이전트 내부 서브에이전트(pane이 없고 운영자가 손댈 수 없음). 둘을 나란히 그리면 헷갈리고, 내부 서브에이전트 수로 운영자가 할 일이 없습니다(design 원칙 13).Feature::Subagents와 wire enumkit_feature의subagents도 같은 PR에서 지웠습니다(엔지니어링 원칙 1).PaneChildren.subagents)과 펫 배지까지 옵니다. adapter의subagent_counts선언과 수 데이터 경로는 Feature가 아니라 이 선언을 직접 읽어 그대로 둡니다.UI_BEHAVIOR.md의 Subagent count를 이 규칙으로 바꿨습니다.status-model.md가 pane 머리, 사이드바 행, Overview 줄에 있다고 적은 "uninstrumented mark"는 web이 그린 적이 없어서 사실대로 고쳤습니다.화면 변화는 Basic 팝오버의 줄 하나가 없어지는 것뿐이라 before/after 이미지는 Evidence의 접힌 블록에 두었습니다.
Review
docs/UI_BEHAVIOR.mdSubagent count - 규칙의 문장이 운영자 결정과 맞는지.contracts/snapshot-wire-enums.json,hide-agent-adapter/src/lib.rs- 내부 wire enum에서 값 하나 제거. 소비자는 web 하나(KitFeatureId)이고 같은 PR에서 함께 바뀝니다. 장치의 낡은 helper는 feature 목록을 보내지 않고 core가 지원표에서 계산하므로 호환 경로는 없습니다.docs/status-model.md- uninstrumented 단락이 "그리는 mark"에서 "core만 투영하는 필드"로 바뀌었습니다. Not connected 칩은 그대로 이 필드의 code에서 판단됩니다.Evidence
scripts/verify-web.sh통과 - web 148 파일 1369 테스트(AgentsTab.test.tsx10개, 팝오버가 11줄이고 collaboration 그룹이 4줄), desktop 17 파일 163 테스트, typecheck, lint, build.verify-cargo.sh lint(fmt, clippy 전체 타깃),hakari,test,test-scoped -p hide-agent-adapter -p hide-kit통과. 어댑터 계약 fixture(support.json)와 core, kit의 feature 표 테스트가 11개 표를 같은 답으로 봅니다.node scripts/check-design-contract.mjs통과. Pen 라이브러리와 화면 파일에는 서브에이전트 수를 그린 곳이 없어 고친 것이 없습니다(Sidebar agent row의↳2는 Hide가 띄운 자식).python3 -m unittest discover -s scripts/tests(321개),check-no-attribution.py,check-no-workstation-identity.sh통과.agent-adapter-layer,grok-cursor-hooks,agents-tab10개 통과. Cursor 팝오버가 en, ko, zh-CN, ja에서 Light와 Dark로 11줄이고, ko Light 캡처에서 collaboration 그룹이 편지, 종, Memory, spawn guard 네 줄임을 눈으로 봤습니다.desktop e2e,os contract,windows check, 전체 web e2e shard는 로컬에서 돌리지 않았고 CI의verify에 맡깁니다.후보 A/B/C (고르지 않은 안)
A · 행 끝 수 표시. 포크 아이콘과 숫자가 첫 줄 오른쪽 묶음에 붙고, Hide 자식의
● N과 나란히 놓입니다.B · 에이전트 mark 모서리 숫자. 행 폭은 변하지 않지만 16 px 로고 위라 작습니다.
C · pane 머리에서만. 자식 목록 버튼 바로 옆에 놓여 Hide 자식과 매번 구분해야 합니다.
어떤 에이전트가 수를 보고하나 (core까지 오는 데이터)
Claude CodeSubagentStart/Stop, 턴이 끝나면working을 0으로 정리CodexGrokOpenCodesession.created와 busy/idleompbefore_subagent_spawn부터 workingPiCursor토큰은
hide_sub_working,hide_sub_done이고PaneHookTokens가 읽을 수 없는 값을None으로 둡니다.