Repository navigation
Ship the official Gemini CLI, Grok and Pi marks in the agent choice - #623
Merged
Merged
Conversation
The three agents were monograms while their brand terms were unread. The marks now ship as their vendors published them, each listed in the logo manifest with its source, terms, modification and retrieval date: - Gemini CLI: the official repository icon, a PNG because no SVG is published; agentLogos.ts globs PNG beside SVG and the logo check accepts either name, so no agent is special-cased. - Grok: Grok_Logomark_Dark.svg from xAI's brand archive, byte for byte. - Pi: the press kit primary logo rather than its badge. The badge recolours itself near white under prefers-color-scheme: dark, which an <img> takes from the app's dark theme, so it vanished on the white logo plate. The Onboarding screen sheet reads its marks from the manifest instead of a copy of the list, and the bundled notice covers every agent mark.
yansfil
added a commit
that referenced
this pull request
Oct 6, 2026
…or unheard panes (#668) Related: PRD `agents/prd/settings-cleanup/prd.md` · builds on #623 and #624 (both already on `main`) ## Summary - Settings has six tabs (General, Agents, Hide AI, Devices, Mobile, Shortcuts); Appearance, Issues and Performance are gone and their settings moved to General, Agents (Idle agents, Starting work) and Hide AI (Worktree names). - Hide supports seven agents (Claude Code, Codex CLI, Gemini CLI, Grok, OpenCode, Pi, Cursor); "installed" means the CLI was found, never that a config folder exists. - The other 13 adapters are retired once, only from what the kit's own record says it put down; Herdr integrations are installed and removed with the agent switch. - Hide AI is its own tab: one on/off switch, a "Runs on" agent and model, and an ordered fallback list; the router asks only those agents. - A pane Hide cannot hear wears a `Not connected` chip with Reopen; Devices, Mobile (Show QR) and Shortcuts are cleaned up, and the B1-B68 and D-23 defects are fixed.    ## Review - **판단해 주세요**: Grok and Pi can be chosen as "Runs on" on first run with no operator pick (D-18), though no real Grok or Pi run has proven their read-only flags; Gemini CLI is never auto-picked because its sign-in cannot be checked. - **판단해 주세요**: an agent switched on by default (Claude Code, Codex CLI) whose CLI later disappears is listed under "Not installed" with no switch, so Hide's hook stays on disk until the CLI is back (B9, D-07). - **판단해 주세요**: a failed Reopen after the agent was ended is a notice, not a diagnostic-log line, because the operator can act on it (design principle 13); see `docs/UI_BEHAVIOR.md`. - **조심해서 볼 파일**: `hide-kit/src/retired_agents.rs` and `hide-kit/src/agent_kit.rs` - removes files in the operator's home, ownership-gated by the kit record. - **조심해서 볼 파일**: `hide-agent-hooks/` - the only crate that writes operator-owned config; the letter guard (`runtime::takes_letters`) is a three-runtime allowlist. - **조심해서 볼 파일**: `herdr-core/src/runtime/kit.rs`, `runtime/agents.rs`, `ai.rs` - `Mutex<Runtime>` discipline, what is published on a real transition, one event per user action. - **조심해서 볼 파일**: `hide-platform/src/programs.rs` - the one CLI search (login shell, daemon PATH, install folders); it keeps the single cached shell answer, the one state this crate holds. - **조심해서 볼 파일**: `hide-ai/src/router.rs`, `registry.rs`, `program.rs` - what leaves the machine, to which agent, and the PATH each child runs with. - **비용 검토**: the login shell is asked once per shell and home (cap 8 pairs, startup-file stamps, retry after 60 s, 10 s deadline, lock held across the ask); `ssh -G` is capped at 32 hosts, 3 s, 4 at a time; first-run and login rechecks run every 5 minutes only while no agent is chosen. - **질문**: a Memory store opened by this build moves to schema 7, which older builds refuse; is that acceptable for the installed app (see Breaking change)? ## Evidence - **확인한 것**: `sasu implement verify` on the final head, S1 `verify-cargo.sh test` and S2 `lint`, both PASS; web `tsc`, `eslint`, `vitest` (1164 tests), `vite build`, the desktop equivalents, and `check-design-contract.mjs` pass. - **확인한 것**: the full web Playwright suite (205 tests, isolated pinned Herdr and `hided`) ran on the head after the first merge with main: 204 passed, and the one failure (a new `link-graph` spec still clicking the removed Appearance tab) is fixed and passes alone; the full suite was not run again after the last, test-only commits and the second merge with main. - **확인한 것**: a real Claude Code run listed models through `initialize` and answered one Hide AI request; every other agent backend is proven against scripted stand-ins that record the exact argv, env and stdin. - **확인한 것**: Reopen ends and restarts a shimmed agent in the same pane; the kit pieces, the Herdr integration calls and the retirement ran against an isolated HOME and an isolated Herdr, never the operator's. - **확인하지 못한 것**: Rust was verified with the workstation's rustc 1.97.1, not the pinned 1.99.0 (no rustup here), so CI is the first run on 1.99.0. - **확인하지 못한 것**: no live Gemini CLI, Grok, OpenCode, Pi or Cursor run (none is installed on the test machine), so their read-only flags are fixture-proven only. - **확인하지 못한 것**: a real resumed Claude Code or Codex CLI session reconnecting after Reopen; Codex CLI shared-server reasons are unit and fake-Herdr proven only; the first-run auto-pick is unit-tested only. - **확인하지 못한 것**: desktop `local-kit`, `device-home` and `device-kit` e2e were not run on the final head (they need a packaged app and an isolated sshd that was not available); an earlier `device-home` failure at `[data-agent-counts]` is not re-checked. - **확인하지 못한 것**: the design library `Screen / Settings`, `Mobile` and `Onboarding` Pen sheets are stale because the `pen` tool is not installed here; `docs/DESIGN_WORKFLOW.md` names exactly which. - **확인하지 못한 것**: `bash scripts/verify-web.sh` as a whole did not run (`pnpm` 11 stops on esbuild's build-script check); each of its steps ran directly from `node_modules/.bin`. ## Breaking change - The Memory store moves from schema 6 to 7 on first open, and a build that expects 6 will refuse it. - Every project that accepted Memory's earlier disclosure has Memory turned off until it accepts the new wording (it names the Hide AI agents analysis may go to); stored Memory is kept. - The first Hide start with this build removes, from the operator's home, only what the kit record shows an earlier build put down for the 13 retired agents. - Hide AI asks no model until an agent is chosen (first run picks the first signed-in one in the fixed order, or the operator picks); an existing `ai.json` choice is kept. - The device helper protocol is 20 (main's link record took 18); a helper older than this build is refused with the existing rebuild-or-reinstall message. <details><summary>Verification record</summary> - PRD: `agents/prd/settings-cleanup/prd.md` (sha256 50a4410849b1701abb7176e05fe65f94f02b282e8f4e112c9c82170ad9645b33) - Base b3a1ba7 → head acf7edf, verified 2026-10-06T20:34:56.003Z: PASS - Verification report: `agents/runs/settings-cleanup/verification-report.json` and `agents/runs/settings-cleanup/verification-report.md`; source fingerprint 580774e7a3c52e884b063a2531f05366b8c0d4a4807efafe5992c2d5731d7091 - Suites: - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0) - S2: GREEN `bash scripts/verify-cargo.sh lint` (exit 0) - Reviews (native, advisory; the same three scopes ran twice, then a delta review): - Fidelity, head `c43c369` then `f3a6dbf`: first round F1 (an agent whose CLI is not found listed as Installed) and F2 (Check again showed no reason) fixed; second round F1 (`chosen` never sent, so an agent switched on and then uninstalled lost its switch) fixed by publishing `chosen` end to end; follow-ups (Memory analysis not resuming after Hide AI is turned back on, dead strings for check reasons with no sender) left open. - Code, same heads: label router not rebuilt on a fallback change, a running Memory analysis after Hide AI off, Start issue dialog waiting for a name that cannot come, a second CLI search, retirement not convergent, Reopen after an end, Check again never announced, found-but-not-runnable PATH, global state in `hide-platform` against its written rule: all fixed; two test-quality items fixed. - Security, same heads: Grok and Pi auto-pickable on first run with an unobserved read-only guarantee stands (PRD D-15, D-18) and is the first Review question above; the delta review found a relative-folder gap in the child PATH, fixed in the last head; follow-ups still open: `ssh -G` evaluating `Match exec`, Hide AI children inheriting the whole environment, integration ownership by agent name, the login-shell stop flag for Hide AI callers. - Delta review of the six fix commits (head `3efd366`): no regression; the Reopen notice can be lost before the snapshot is pulled (low, inferred), listed as a follow-up. - Evidence: none registered separately. - Changed paths: 337 (see Files changed) </details>
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: #577
Summary
manifest.json의monogram에서logos로 옮기며 출처, 약관 요약, 수정 여부, 받은 날짜를 적었습니다.agentLogos.ts가 SVG와 PNG를 같이 읽고 로고 검사도<id>.svg또는<id>.png를 받아, 한 에이전트만 예외 처리하지 않습니다.favicon.svg) 대신 기본 로고(logo.svg)입니다. 배지는 앱이 다크 테마일 때 거의 흰색이 되어 흰 로고 판 위에서 사라집니다.Screen / Onboarding은 마크 목록을 따로 들고 있지 않고 manifest를 읽습니다. 앱 번들에 들어가는agent-marks.txt고지도 모든 에이전트 마크를 다루도록 고쳤습니다./gallery?scene=agent-onboarding라이트·다크. 첫 줄 오른쪽 끝 Gemini CLI, 마지막 줄의 Pi와 Grok이 이번에 바뀐 타일입니다.Review
web/src/assets/agents/manifest.json- 약관 요약이 각 마크를 싣는 근거라 문구가 출처와 맞아야 함.desktop/resources/THIRD_PARTY_NOTICES/agent-marks.txt- 앱 번들에 실리는 고지. 제거된 Swift 셸 경로와 "두 마크"를 지금 상태로 고침.scripts/pen-screens.mjs- Onboarding 시트가 manifest를 읽음. 기존 Claude Code·Codex CLI 타일은 생성 결과가 그대로.Evidence
pi.svg는 OS와 무관하게 앱이 다크면 사라지고pi-color.svg는 네 조합 모두 읽힘.agentLogos.tsglob을*.svg로 되돌리면 새 테스트가gemini-cli를 짚고 실패함.bash scripts/verify-web.sh통과 (web 테스트 1058 통과·1 skip, desktop 157 통과·4 skip, typecheck, lint, build). Gemini PNG는 46.7 kB 에셋으로 빌드됨.node scripts/check-design-contract.mjs통과 (bundled 10, existing 2, monogram 8, adapter 20). 스크립트 테스트 node 89, python 161 통과, 신원·attribution 검사 통과.agent-onboarding.spec.ts는 타일 상태만 보고 로고는 보지 않습니다.design/hide-screens.pen은gen-screens.mjs재생성. 변경 전 커밋본이 생성 결과와 같았고, diff는 세 타일의 Light·Dark 로고 노드뿐입니다.추가 증거
OS 라이트, 앱 다크.
pi.svg(첫 줄)는 앱 테마의color-scheme: dark를 따라 흰 판 위에서 사라지고,pi-color.svg(둘째 줄)는 18, 24, 40px 모두 읽힙니다.