Skip to content

Ship the official Gemini CLI, Grok and Pi marks in the agent choice - #623

Merged
yansfil merged 3 commits into
mainfrom
feat/agent-logos
Oct 6, 2026
Merged

yansfil merged 3 commits into
mainfrom
feat/agent-logos

Conversation

@yansfil

@yansfil yansfil commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Related: #577

Summary

  • 첫 실행 에이전트 선택 그리드에서 Gemini CLI, Grok, Pi가 모노그램 대신 각 벤더의 공식 마크로 보입니다.
  • 세 파일은 벤더가 배포한 그대로 넣었고, manifest.json의 monogram에서 logos로 옮기며 출처, 약관 요약, 수정 여부, 받은 날짜를 적었습니다.
  • Gemini CLI는 SVG가 없어 PNG입니다. agentLogos.ts가 SVG와 PNG를 같이 읽고 로고 검사도 <id>.svg 또는 <id>.png를 받아, 한 에이전트만 예외 처리하지 않습니다.
  • Pi는 배지(favicon.svg) 대신 기본 로고(logo.svg)입니다. 배지는 앱이 다크 테마일 때 거의 흰색이 되어 흰 로고 판 위에서 사라집니다.
  • Pen Screen / Onboarding은 마크 목록을 따로 들고 있지 않고 manifest를 읽습니다. 앱 번들에 들어가는 agent-marks.txt 고지도 모든 에이전트 마크를 다루도록 고쳤습니다.

Agent choice, light theme Agent choice, dark theme

/gallery?scene=agent-onboarding 라이트·다크. 첫 줄 오른쪽 끝 Gemini CLI, 마지막 줄의 Pi와 Grok이 이번에 바뀐 타일입니다.

Review

  • 판단해 주세요: Google 브랜드 약관은 Google 로고 사용 전에 요청을 내라고 하고, 이 CLI 아이콘이 그 대상 목록에 있는지는 확인하지 못했습니다. 요청 없이 싣는 결정이 맞는지.
  • 판단해 주세요: xAI 약관의 "We may grant others the right to use our Marks, but you are not permitted to" 문장이 모호합니다. 운영자가 읽고 싣기로 한 것으로 받았습니다.
  • 판단해 주세요: 설치 안 된 Pi 타일은 라이트 테마에서 흐림 처리 위에 파스텔 마크라 옅습니다. 다른 흐린 타일 수준으로 읽히는지.
  • 조심해서 볼 파일: 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

  • 확인한 것: 세 SVG에 script, 이벤트 핸들러, 외부 참조 없음. 네 파일 모두 sha256이 출처 기록과 일치.
  • 확인한 것: Pi 두 후보를 흰 판 위 18, 24, 40px로 OS 라이트·다크 x 앱 라이트·다크 네 조합에서 렌더. pi.svg는 OS와 무관하게 앱이 다크면 사라지고 pi-color.svg는 네 조합 모두 읽힘.
  • 확인한 것: 별도 포트 Vite dev 서버(hided 프록시를 닫힌 포트로)에서 갤러리 장면 라이트·다크. 로고 12, 모노그램 8, 새 마크 셋 모두 40x40으로 로드, 콘솔 에러 없음.
  • 확인한 것: agentLogos.ts glob을 *.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 검사 통과.
  • 확인하지 못한 것: 재생성한 Onboarding 시트를 Pen에서 열어 렌더하지 않았습니다 (이미지 URL만 바뀜).
  • 확인하지 못한 것: web·desktop e2e를 로컬에서 돌리지 않았습니다. agent-onboarding.spec.ts는 타일 상태만 보고 로고는 보지 않습니다.
  • 확인하지 못한 것: 데스크톱 앱 창에서 직접 보지 않았습니다. 갤러리는 headless Chromium이고, Electron도 같은 엔진이라 Pi 판단이 같다고 봤습니다.
  • 생성물: design/hide-screens.pen은 gen-screens.mjs 재생성. 변경 전 커밋본이 생성 결과와 같았고, diff는 세 타일의 Light·Dark 로고 노드뿐입니다.
추가 증거 Pi candidates, OS light, app dark

OS 라이트, 앱 다크. pi.svg(첫 줄)는 앱 테마의 color-scheme: dark를 따라 흰 판 위에서 사라지고, pi-color.svg(둘째 줄)는 18, 24, 40px 모두 읽힙니다.

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
yansfil merged commit 6d8c900 into main Oct 6, 2026
22 checks passed
@yansfil
yansfil deleted the feat/agent-logos branch October 6, 2026 17:29
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.

![Settings > Agents: seven agents, Installed and Not installed, Check
again, and the sessions Hide does not
hear](https://github.com/yansfil/pr-assets/blob/main/hide/settings-cleanup/975a38c/agents-list.png?raw=true)

![The same tab in the light theme on a narrow
window](https://github.com/yansfil/pr-assets/blob/main/hide/settings-cleanup/975a38c/agents-en-light-narrow.png?raw=true)

![A pane's Not connected chip with
Reopen](https://github.com/yansfil/pr-assets/blob/main/hide/settings-cleanup/975a38c/pane-connection-popover.png?raw=true)

## 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>
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