Repository navigation
Stamp the app version from the release tag instead of a plist literal - #2
Merged
Merged
Conversation
Info.plist carried 0.1.0 while tags reached v0.2.0, and nothing wrote the tag into the bundle, so every installed build reported 0.1.0. The release build now takes HIDE_VERSION from the tag (release.yml already passes it) or from the nearest v-tag describing the tree, refuses to build when neither exists, and writes it into CFBundleShortVersionString with its numeric prefix as CFBundleVersion. The plist keeps 0.0.0 so an unstamped bundle is visible. The dev build stamps 0.0.0-dev plus the commit. The retired shell's resources/Info.plist is removed; nothing read it.
yansfil
force-pushed
the
app-version-from-tag
branch
from
September 5, 2026 17:31
209a89b to
ca46953
Compare
This was referenced Sep 26, 2026
yansfil
added a commit
that referenced
this pull request
Sep 26, 2026
Related: #175 (PR 1/3) · `agents/prd/task-agents-views/prd.md` · 다음: #178 Dependencies 모드, #179 기다리는 것 띠 ## Summary 웹 Overview의 Tasks 보드가 체크아웃 중심이라 "어떤 일이 있고 어디까지 갔나"를 답하지 못했다. 코어가 프로젝트의 이슈를 출처 중립 태스크(`tasks`, 체크아웃의 `task_key`)로 스냅샷에 싣고, 웹은 그것만 읽어 다섯 열 Board와 태스크 칩을 단 Agents 뷰를 그린다. All projects도 같은 Tasks · Agents 뷰를 갖고, 출처 없는 프로젝트의 에이전트는 보드 아래 한 칸에 모인다. 웹은 지금까지 GitHub 읽기를 요청한 적이 없어서, Overview와 All projects 보드가 열릴 때 `github_request`를 보낸다.  격리 Herdr + 가짜 `gh`(이슈 #2, #3): 백로그 #3, 이슈 #2가 머리인 카드, 태스크 없는 미추적 체크아웃, 질문 중 카드의 halo, 접힌 완료.  All projects: 모든 프로젝트 태스크를 한 보드에, 출처 없는 `fixture`는 보드 아래 한 칸.  Agents: 에이전트마다 카드, 체크아웃 줄과 태스크 칩(없으면 "태스크 없음"). ## Review - **판단해 주세요**: All projects의 세 번째 탭을 보드처럼 `Sessions`가 아니라 기존 프로젝트 목록 `Projects`로 뒀다(All projects에는 세션 뷰가 없음). - **판단해 주세요**: 빈 화면의 `GitHub 이슈 연결`은 연결 흐름이 아니라 `gh`의 사유와 `gh auth login` 안내를 담은 팝오버다. - **판단해 주세요**: 즉석 줄(main·폴더에서 일하는 에이전트)은 보드에 그려지지 않았지만 기존 행동이라 남겼다. - **조심해서 볼 파일**: `herdr-core/src/model.rs` - snapshot wire: `tasks`, `task_key`, `closes_task_keys`를 더하기만 했고 문자열 enum은 없다. - **조심해서 볼 파일**: `herdr-core/src/runtime/issues.rs` - `sync_tasks`는 `Mutex<Runtime>` 안의 순수 투영이다(`gh` 호출 없음, 변화 없으면 publish 없음). - **조심해서 볼 파일**: `herdr-core/src/tasks.rs` - failure path: 한 번 답한 출처는 실패해도 마지막 태스크와 사유를 유지, 못 읽은 적만 있으면 "연결 안 됨". - **질문**: Q1 Dependencies는 Tasks 안의 모드로 충분한가(다음 PR에서 모드로 구현). - **질문**: Q2 출처가 여럿일 때 All projects에서 섞을지 나눌지(지금은 GitHub 하나라 섞음). - **질문**: Q3 40개 넘는 열은 앞 40개 + `스크롤 · N개 더 보기`, 열 안 스크롤로 뒀다. 충분한가. - **질문**: Q5 All projects 사이드바 행의 에이전트 수는 이번에 건드리지 않았다. - **질문**: Q6 All projects Board 카드의 프로젝트 이름은 그리지 않고 ID 툴팁(`GitHub · 프로젝트 · 브랜치`)에만 넣었다. - **질문**: Q7 로컬 파일 태스크 형식은 정하지 않았다(스냅샷의 `source`는 문자열이라 어댑터만 더하면 된다). - **질문**: Q8 백로그 카드에는 "에이전트 시작"이 없다. 준비 카드의 시작은 `claude`·`codex`·`terminal` 공급자를 고르는 기존 `agent_start_in_checkout`이다. - **질문**: 기반이 확인되는 저장소에서는 자기 커밋 없는 브랜치가 머지됨으로 읽혀 "준비" 열에 카드가 거의 오지 않는다(기존 단계 규칙). 그대로 둘지. ## Evidence - **확인한 것**: `verify-cargo.sh lint`, `verify-cargo.sh test`(herdr-core 810 외 전체 통과), `verify-swift.sh test`(533 통과, 스냅샷 디코딩 포함). - **확인한 것**: web typecheck·lint·vitest 360개, `projectBoard.test.ts`가 다섯 열, 백로그, PR 칩 색, 한 PR이 두 이슈를 닫는 경우, 에이전트 2+N, 시작 조건, 실패 유지, 빈 상태, All projects를 검증. - **확인한 것**: `pnpm --dir web e2e` 전체 63개 통과(격리 Herdr 0.9.1, 한 worker). CI에서 워크트리 수가 5초 안에 4가 되지 않아 옆 사실들처럼 20초를 기다리게 고쳤다. `s2`·`s6`·`s8`·`wire.ts`는 All projects의 Projects 탭을 눌러 들어가게 고쳤다. - **확인한 것**: `overview.spec.ts`를 격리 Herdr 0.9.1과 PATH에 둔 가짜 `gh`로 실행: 이슈가 태스크가 되고, `#2` 링크가 이슈 URL, 백로그, 미추적 체크아웃, All projects 보드와 출처 없는 칸, 뷰 유지. - **확인한 것**: `check-design-contract.mjs`, `hide-screens`·`pen-transplant`·`pen-gallery`·`design-scratch` node 테스트, CONTRIBUTING의 check 스크립트 전부, `check-no-attribution.py`. - **확인한 것**: Light·Dark 앱 캡처를 승인 보드(`board-final` 1·4·5)와 눈으로 비교: 열 구성, 카드 머리의 `#id`, 사실 칩, 에이전트 행, 태스크 없음, 빈 화면. - **확인하지 못한 것**: 실제 GitHub 저장소 대상 라이브 확인. 이슈 읽기는 가짜 `gh`와 단위 테스트로만 확인했다. - **확인하지 못한 것**: `design/hide-screens.pen` Screen 시트의 Pen 렌더링. 이 기기에 pen CLI가 없어 export 비교를 못 했고 정적 검사만 통과했다. - **확인하지 못한 것**: "에이전트 시작" hover는 단위 테스트(`canStart`)만: 픽스처에서 준비 열 카드를 만들 수 없었다(위 질문). - **확인하지 못한 것**: 원격 기기 칩(B12)과 40개 넘는 열은 단위 테스트만, 원격 기기 라이브 확인 없음. - **생성물**: `design/hide-screens.pen`은 `node scripts/gen-screens.mjs`가 쓴 것이다(`Screen / Main`, `Screen / Project Overview`). **AI tooling**: 대부분 AI 도구. 승인 보드 이미지와 앱 캡처를 손으로 대조했다.
yansfil
added a commit
that referenced
this pull request
Sep 26, 2026
Related: #175 (PR 2/3) · #177 위에 쌓음 · `agents/prd/task-agents-views/prd.md` · 다음: #179 기다리는 것 띠 ## Summary Board는 어떤 일이 어디까지 갔는지 보여 주지만, 무엇이 무엇을 기다리는지는 보여 주지 않았다. 코어가 GitHub 이슈의 `blockedBy`를 한 번의 GraphQL 질의로 읽어 태스크의 `blocked_by`로 싣는다. 웹은 카드에 자물쇠 줄(자물쇠 + `#2`)을 달고, Tasks 탭 줄 오른쪽의 `Board | Dependencies` 모드로 같은 카드를 선행 관계 순서대로 왼쪽에서 오른쪽으로 그린다. All projects에서는 카드 제목 위에 프로젝트 이름이 붙고, 프로젝트를 넘는 선행 관계도 간선으로 그린다.  격리 Herdr + 가짜 `gh`(#3이 #2에 막힘): #2(진행 중)에서 #3(백로그, 자물쇠 + 흐림)으로 간선 하나, 범례 한 줄.  All projects: 제목 위 프로젝트 이름, 출처 없는 `fixture` 칸은 "의존 관계를 그릴 태스크가 없음".  Board: 백로그의 #3 카드에 자물쇠 `#2`. ## Review - **판단해 주세요**: 배치는 라이브러리 없이 직접 짰다(최장 경로 층 + 한 번의 barycenter 정렬, 60줄 남짓). 이유는 아래 "배치 라이브러리". - **판단해 주세요**: 새 토큰 `--home-dependency-gap: 96`(층 사이 간격, 간선이 보일 자리). DESIGN_WORKFLOW 5단계대로 승인이 필요하다. - **판단해 주세요**: 막힘 흐림은 Dependencies에서만 적용했다. Board의 막힌 카드는 자물쇠 줄만 달고 흐리지 않다(승인 보드 2와 같음). - **판단해 주세요**: 모드는 뷰처럼 페이지의 것이라 범위를 바꿔도 남는다(B9 기본값, 사용자 확인 전). - **조심해서 볼 파일**: `herdr-core/src/github.rs` - Herdr 밖 호출: `run_gh` 허용 목록에 `query HideIssueDependencies {`만 더했다. 질의는 저장소별 한 번, 이슈당 blocker 20개까지다. - **조심해서 볼 파일**: `herdr-core/src/runtime/projects.rs` - failure path: 의존 관계 읽기가 실패하면 이슈는 새로 읽은 값, blocker는 이전 값을 유지하고 출처에 실패를 적는다. - **조심해서 볼 파일**: `herdr-core/src/tasks.rs` - snapshot wire: `blocked_by: [{key, id}]`를 더하기만 했고 문자열 enum은 없다. - **조심해서 볼 파일**: `web/src/TaskBoards.tsx` - 간선은 그려진 카드를 재서(`ResizeObserver`) 그린다. 값이 같으면 다시 그리지 않는다. - **질문**: Q1 Dependencies는 Tasks 안의 모드로 충분한가(지금은 모드). - **질문**: Q4 나중의 에이전트 Graph와 이 Dependencies를 같은 화면에서 토글할지 나눌지. 이번에는 Tasks 모드만 만들었다. - **질문**: 범위 밖 blocker(다른 저장소, 등록 안 된 프로젝트)는 자물쇠 줄에만 `owner/repo#N`으로 남고 간선은 없다. 충분한가. - **질문**: 순환(출처가 막아야 하는 경우)은 순환을 닫는 간선 하나를 빼고 그린다. 경고 표시가 필요한가. ### 배치 라이브러리 - dagre(`@dagrejs/dagre`)와 elkjs를 검토했다. 둘 다 노드 크기를 미리 받아 좌표를 돌려주는 방식이다. - 이 카드는 HTML이고 높이가 에이전트 행과 제목 줄바꿈에 따라 달라서, 크기를 알려면 먼저 그려야 한다. 라이브러리를 쓰면 그리기 → 재기 → 배치 → 다시 그리기가 된다. - 필요한 배치는 층 나누기와 층 안 순서뿐이라 열은 flex로 두고 간선만 잰다. elkjs는 번들이 1MB를 넘고 비동기다. - 그래서 채택하지 않았다(engineering 6, 7). 태스크가 늘어 교차 최소화가 더 필요해지면 다시 검토한다. ## Evidence - **확인한 것**: `verify-cargo.sh lint`, `verify-cargo.sh test`(1297 통과), `verify-swift.sh test`(533 통과, 늘어난 스냅샷 필드 디코딩 포함). - **확인한 것**: 코어 단위 테스트: 한 질의로 읽고 열린 blocker만 남김, `errors` 응답은 빈 답이 아닌 실패, 실패한 pass가 이전 blocker 유지, blocker의 key와 id(다른 저장소면 `owner/repo#N`). - **확인한 것**: web typecheck·lint·vitest 363개. `projectBoard.test.ts`에 층 배치, 간선, 관계 없는 태스크, 미추적 체크아웃 제외, 프로젝트 간 간선, 범위 밖 blocker, 제목 대체, barycenter 순서, 순환을 더했다. - **확인한 것**: `pnpm --dir web e2e` 전체 63개 통과(격리 Herdr 0.9.1). `overview.spec.ts`의 가짜 `gh`가 `api graphql`에 답해 #3이 #2에 막힌 경우를 Board 자물쇠, Dependencies 층, 간선 `d`, 상태 단어, All projects 유지로 확인했다. - **확인한 것**: 실제 GitHub에서 같은 모양의 질의(`modakbul-gongbang/hide` #171, #175, 읽기 전용)가 오류 없이 답했다. 실제 의존 관계가 없는 이슈라 빈 `nodes`였다. - **확인한 것**: `check-design-contract.mjs`, design node 테스트 30개, CONTRIBUTING의 check 스크립트 전부, Herdr 스키마 계약, python 스크립트 테스트, `check-no-attribution.py`. - **확인하지 못한 것**: 실제 저장소에서 `blockedBy`가 채워진 이슈로 라이브 확인. 채워진 응답의 파싱은 가짜 `gh`와 단위 테스트로만 확인했다. - **확인하지 못한 것**: `design/hide-screens.pen`의 새 Dependencies 프레임 Pen 렌더링. 이 기기에 pen CLI가 없어 export 비교를 못 했고 정적 검사만 통과했다. - **확인하지 못한 것**: 카드가 많을 때(수십 개, 여러 사슬) 간선 교차와 스크롤 성능. 픽스처는 사슬 하나다. - **생성물**: `design/hide-screens.pen`, `design/hide-ui.lib.pen`, `web/src/tokens.css`는 `gen-screens.mjs`, `gen-pen.mjs`, `gen-tokens.mjs`가 쓴 것이다. **AI tooling**: 대부분 AI 도구. 승인 보드 1·3의 Dependencies와 앱 캡처를 손으로 대조했다.
yansfil
added a commit
that referenced
this pull request
Sep 27, 2026
…desktop app (#206) Related: `agents/prd/electron-digit-shortcuts-hints/prd.md` ## Summary - The desktop app had no ⌘1-9 / ⌥1-9 and no hold hint, which the removed native app had; this adds both to the web shell's registry, Electron column only. - ⌘n brings the nth tab of the strip in front forward as one `focus_tab`; ⌥n opens the nth row the Agents list draws, exactly as clicking it; an empty number does nothing. - Holding ⌘ or ⌥ alone for 150 ms floats each tab's or row's number at its top right as a keycap; release, another modifier, any key, losing the window, or a layer opening clears it. - The keycap is a new `web/src/components/ui/keycap.tsx` overlay in popover tokens; it takes the close control's corner on a tab and moves nothing. - The ⌘/ sheet folds each family into one row and says "not on this host" in a browser; Settings > Shortcuts lists both read-only; docs updated.  ## Review - **결정됨**: 번호 chord ⌘1-9/⌥1-9는 고정(재바인딩 없음)이며 시트와 Settings에 읽기 전용으로 보입니다; pane chord를 ⌘n에 묶으면 "⌘n is already Select tab n."으로 거부합니다(Observer 판정 2026-09-27, PRD D-02/B4의 "재바인딩 규칙은 기존과 같다"는 기존 규칙 유지의 뜻). - **판단해 주세요**: ⌥n은 사이드바가 Projects 탭이거나 숨겨져 있어도 Agents 목록 순서로 동작하고, 키캡은 Agents 행이 화면에 있을 때만 뜹니다; 장치가 앞에 있으면 ⌘n은 그 장치의 탭 스트립을 셉니다. - **판단해 주세요**: 대표 이미지에서 활성 탭의 × 자리를 홀드 동안 키캡이 차지합니다(공간은 유지, 놓으면 복귀); 보드 v3 섹션 2와 같은 위치인지 봐 주세요. - **조심해서 볼 파일**: `web/src/keyboard.ts` - 창 keydown capture 리스너(high-frequency path)에 modifier 추적이 더해짐; 키 하나당 Set lookup 하나, 상태 변화가 있을 때만 publish. - **조심해서 볼 파일**: `web/src/shortcuts.ts` - `MACOS_RESERVED`에서 ⌘1-9를 뺐고 레지스트리가 그 chord를 소유; 저장된 macOS set이 ⌘n을 쓰면 여전히 통째로 기본값으로 떨어지지만 진단 문구가 바뀝니다. - **조심해서 볼 파일**: `web/src/navigation.ts` - `agentTree`가 sidebar.tsx에서 옮겨와 사이드바와 ⌥n이 한 목록을 읽습니다. ## Evidence - **확인한 것**: Electron e2e 1개(격리 hided + 고정 Herdr, worktree desktop/dist)를 로컬 1회: ⌘2 한 번에 `focus_tab` 1회, ⌘3(빈 번호) 0회, 딜레이 전 놓으면 키캡 0, ⌘ 홀드에 탭 키캡 2개(1, 2)와 탭·Rename 입력·+ 버튼 박스 불변, 놓기·홀드 중 ⌘2·blur·컨텍스트 메뉴·Settings 열림 각각에 키캡 0, ⌥ 홀드에 행 키캡 1·2와 제목·fold slot 박스 불변, ⌥2에 `focus_pane` 1회, ⌥3 0회, Light 테마 캡처. - **확인한 것**: 브라우저 e2e 1개(headless Chromium): ⌘·⌥ 500 ms 홀드에 키캡 0, ⌘2·⌥2에 이벤트 0, ⌘/ 시트의 두 family 행이 "not on this host"와 "-". - **확인한 것**: vitest 411(레지스트리 18개·브라우저 null·충돌 거부·시트 접기, 힌트 상태기계의 딜레이·조기 해제·modifier 추가·clear·family, 탭/에이전트 번호 부여와 접힌 자식 제외), desktop vitest 39(메뉴가 번호 명령을 싣지 않음), web/desktop typecheck·lint·build, `check-design-contract.mjs`, sealed suite(cargo test·lint) PASS. - **확인하지 못한 것**: 네이티브 창 캡처 - 이 러너에서 `screencapture -l`이 거부되어 캡처는 CDP 렌더러 이미지입니다; 합성된 네이티브 창은 CI 아티팩트나 설치 후 확인이 필요합니다. - **확인하지 못한 것**: 실제 OS 포커스 상실(e2e는 합성 `blur` 이벤트), 실제 키보드로 Electron이 ⌘n을 페이지에 먼저 넘기는지(Playwright chord로만 확인; 메뉴 가속키는 없음), 툴팁과 키캡이 좁은 탭에서 동시에 뜨는 경우, 장치가 앞에 있을 때의 ⌘n 회귀 테스트. - **확인하지 못한 것**: 전체 web/desktop e2e 스위트는 로컬에서 새 spec 2개만 돌렸고 나머지는 CI에 맡깁니다. <details><summary>추가 증거</summary>   </details> **AI tooling**: 대부분 AI 도구; 사람이 대조할 것은 대표 이미지의 키캡 위치와 Review의 세 판단 항목. <details><summary>Verification record</summary> - PRD: `agents/prd/electron-digit-shortcuts-hints/prd.md` (sha256 75217108929150d772e1db1603e2e30c14f18004359c96cb5be735e92f0b5ff8) - Base 17a14c0 → head 9a3a606, verified 2026-09-27T14:06:18.848Z: PASS - Verification report: `agents/runs/electron-digit-shortcuts-hints/verification-report.json` and `agents/runs/electron-digit-shortcuts-hints/verification-report.md`; source fingerprint accbabd3deaa0734e8d5468c9bf849ff68cd8544cd4dfb949ee30da0d23470b0 - One earlier verify on 9a3a606 failed S1 on `hide-agent-hooks/tests/hook_deadline.rs` (a 1.5 s wall-clock bound, untouched here) while a reviewer's vitest ran beside it; it passed in isolation (0.28 s) and on the rerun recorded above. - Suites: - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0) - S2: GREEN `bash scripts/verify-cargo.sh lint` (exit 0) - Reviews (advisory, native subagents): - Fidelity on f9f82ca: Fix now #1 (Medium) B4/D-02 "재바인딩 규칙은 기존과 같다" read as a promise to rebind the numbered chords; stands unfixed as a recorded assumption for human review (implementor reads it as "the editable set stays the eight pane commands"). Fix now #2 (Low-Medium) no coverage of a layer opening mid-hold; fixed in 5a681d2 (context menu and Settings sheet opened while ⌘ held, keycaps asserted gone). Follow-ups: a device-in-front ⌘n regression test, record decision #1 as an interview decision, a B9 tooltip-plus-keycap capture on a narrow tab. - Code on f9f82ca: no Fix now. Follow-ups taken in 5a681d2: narrowing with `isNumberedCommand` instead of 18 switch cases, `endHold` skips an idle hold, teardown resets `ui.hint`. Not taken: a real OS-level blur in the e2e (synthetic `blur` event kept). - Follow-up on 5a681d2 (diff f9f82ca..5a681d2 with the prior context): no Fix now; follow-ups: pin the `NO_MODIFIERS` reference in a test (taken in bb57299), the double `numberedCommand` lookup (kept, commented), the human ruling above. - Follow-up on bb57299 (diff 5a681d2..bb57299): no Fix now; follow-ups: no focus ring on the close control while its keycap covers it (transient, noted), the double lookup, the human ruling above. - Follow-up on the rebased head a5e50ce5 (same commits on origin/main c68e760): range-diff every commit content-identical, no shared file or symbol with the upstream commits; no Fix now. Shipped instead as bb57299 merged with the same origin/main (1731f50) so the run baseline stays; same 22-file diff. - Follow-up on 9a3a606 (CI fix, diff 1731f50..9a3a606: web/e2e/s2.spec.ts sheet row count 28 → 30): count verified from the registry, moved count stays 8, no other spec asserts a sheet or Settings row count; no Fix now. - Human ruling (Observer, 2026-09-27) on Fidelity Fix now #1: the numbered chords are fixed and not rebindable, shown read-only in the sheet and Settings; the existing rebinding rules stay; no PRD amend needed. - Evidence: 5 registered (5 screenshot); paths are local to the run directory - agents/runs/electron-digit-shortcuts-hints/artifacts/e2e-desktop/digit-hints-tabs-dark.png - agents/runs/electron-digit-shortcuts-hints/artifacts/e2e-desktop/digit-hints-agents-dark.png - agents/runs/electron-digit-shortcuts-hints/artifacts/e2e-desktop/digit-hints-tabs-light.png - agents/runs/electron-digit-shortcuts-hints/artifacts/e2e-browser/digit-hints-browser-alt-hold.png - agents/runs/electron-digit-shortcuts-hints/artifacts/e2e-browser/digit-hints-browser-sheet.png - Changed paths: 25 (see Files changed) </details>
This was referenced Sep 29, 2026
Merged
yansfil
added a commit
that referenced
this pull request
Oct 3, 2026
Related: #293 (batch 7, 항목 4) ## Summary `pnpm --dir desktop package`가 macOS `hide.app`만 만들던 것을, 실행한 시스템의 패키지를 만들도록 넓혔습니다. Windows x64는 폴더를 zip으로, Linux x64는 폴더를 tar.gz로 묶고 각각 `.sha256`을 붙입니다. 둘 다 서명하지 않습니다(운영자 결정 2026-10-03). macOS는 지금처럼 ad-hoc 서명입니다. 새 `package.yml`이 windows-latest와 ubuntu-latest에서 각 패키지를 만들고, 압축을 풀어 창 없이 띄워 봅니다(`smoke-package.mjs`). release는 이 워크플로를 불러 세 패키지를 한 draft에 올립니다. smoke를 준비하다 Windows에서 `hide connect`가 성공할 수 없던 원인 세 가지를 고쳤습니다: `hided.exe`가 아니라 `hided`를 찾았고, `/health`를 `/usr/bin/curl`로 물었고, detach한 `hided`가 CLI의 stdout 파이프를 상속해 호출자(데스크톱 앱)가 출력 끝을 영영 못 보게 됩니다. ``` ok checksum / unpack / bundled files / herdr --version / hide-host-helper-<os>-x86_64 --version ok hide-agent-hooks doctor --json / Electron runs the bundled hcoord as Node ok hide connect starts the bundled daemon / the daemon answers /health / serves the web shell it embeds / hide stop ends it ``` ## Review - **판단해 주세요**: 형식은 같은 도구(@electron/packager) 그대로 zip(Windows)과 tar.gz(Linux)입니다. 설치 프로그램(NSIS/MSIX)이나 AppImage/deb는 다른 도구가 필요하고, 서명 없이 얻는 것이 없어 뒤로 미뤘습니다. tar.gz는 실행 비트를 보존합니다. - **판단해 주세요**: `package.yml`은 PR에서는 패키지에 들어가는 경로(`desktop/scripts/**`, `desktop/package.json`, `desktop/resources/**`, Herdr pin과 fetch 스크립트, `verify-cargo.sh`, 워크플로 자신)를 바꿀 때만 돌고 `verify`에 넣지 않았습니다. 콜드 release 빌드라 `windows check`의 몇 배가 들고, 일부 PR에서만 도는 검사는 required가 될 수 없습니다. 패키지는 7일간 artifact로 남아 실기 확인에 쓸 수 있습니다. - **판단해 주세요**: Linux에서 마지막 창을 닫으면 앱이 종료됩니다(macOS만 창 없이 남음). 관례대로 두고 INSTALL과 ARCHITECTURE에 적었습니다. `hided`는 어느 쪽이든 계속 돕니다. - **조심해서 볼 파일**: `hided/src/cli.rs` - failure path. `hide connect`/`status`의 health 확인이 curl fork에서 이미 링크된 `ureq`(프록시 없음, 1초)로 바뀌었습니다. - **조심해서 볼 파일**: `hide-platform/src/process.rs` - ownership. Windows `detach`가 이 프로세스의 표준 핸들 상속 플래그를 끕니다(프로세스 전역 상태). 이후 `Stdio::inherit` 자식은 std가 상속 가능한 사본을 넘기므로 영향 없습니다. 실패는 `io::Result`로 올라가 `start_failed`가 됩니다. - **조심해서 볼 파일**: `hide-kit/src/local.rs` - 화면 문구. macOS 밖에서는 This machine 행이 "Hide installs its kit only from its macOS app, so it installs nothing on this machine"을 보여 줍니다(이전 문구는 "설치된 앱으로 열라"는 거짓 안내). - **조심해서 볼 파일**: `desktop/scripts/package.mjs` - macOS 경로를 공유합니다. 로컬에서 macOS 패키지를 한 번 만들어 서명, RunAsNode 확인, 아이콘, Resources 목록이 그대로인 것을 봤습니다. - **조심해서 볼 파일**: `.github/workflows/release.yml` - 태그 없이는 돌릴 수 없습니다. 각 패키지가 artifact가 되고 `draft` 잡 하나가 체크섬 3개를 확인한 뒤 draft를 하나 만듭니다. - **질문**: Windows/Linux 패키지는 kit(`hide` 링크, 훅, hcoord)을 설치하지 않습니다. `hide_kit::bundled_kit_dir`가 `hide.app/Contents/Resources`만 알아보기 때문입니다. 같은 이유로 새 버전이 이전 버전의 `hided`를 교체하지 않고 거절하므로, INSTALL에 업데이트 전 `resources/hide stop`을 적었습니다. Electron 폴더 구조를 알아보게 할지는 #3(Windows 훅 명령)이 들어온 뒤 정하는 게 맞아 보입니다. 어떻게 할까요? - **원칙**: #2 가장 단순한 형식(새 도구 없음). #3 창 없이 시작까지 증명된 패키지를 먼저, kit/설치기/서명은 그 위에. #4 다른 아키텍처는 거절, 빠진 파일은 이름으로 실패. #7 기존 packager, 시스템 tar, 이미 있는 `ureq`. #12 새 테스트와 smoke 모두 심은 버그로 수익을 확인. #14 smoke와 테스트는 시작한 데몬을 모든 경로에서 멈춤. - hcoord는 macOS와 같은 `resources/hcoord/dist`로 넣었습니다. #3이 `hide-kit/src/hcoord.rs`에 Windows 런처를 넣어도 패키지 내용은 바뀌지 않고, kit이 Windows 패키지에서 켜질 때 런처가 쓰입니다. ## Evidence - **확인한 것**: 새 `connect_stop` 테스트가 macOS에서 통과. `hided` 이름에 `.exe`를 붙이는 버그를 심으면 `start_failed`, health 확인을 깨면 `no_response`로 실패. - **확인한 것**: 새 OS contract 테스트(detach한 자식이 부모 출력을 붙잡지 않음)가 macOS에서 통과. 자식에 stdout을 상속시키는 버그를 심으면 15초 뒤 실패. Windows에서의 결과는 아래 CI. - **확인한 것**: smoke 스크립트를 로컬 debug 바이너리로 만든 Linux 구조의 가짜 tar.gz에 돌려 11개 확인 모두 통과. `hided`를 시작 못 하는 파일로 바꾸면 `hide connect` 단계에서 이름을 달고 실패. - **확인한 것**: `HIDE_VERSION=0.0.0-local.1 pnpm --dir desktop package`로 macOS 패키지 생성(서명 검증 통과), 확인 후 출력과 `target/release` 삭제. `/Applications/hide.app`은 건드리지 않음. - **확인한 것**: `verify-cargo.sh lint`, 워크스페이스 테스트 57 suite, desktop lint/typecheck/test, script suite, pin single-source 검사. - **확인한 것**: 첫 push(head `5ff03f0d`)에서 `verify` run 37123328975 전부 green. `windows check`에서 `connect_stop` 통과(0.4초), `os contract (windows)`에서 새 detach contract 통과. - **확인한 것**: `package` run 37123328851 green. Windows: release 빌드 14m51s, 잡 17분, zip artifact 약 200 MB. Linux: 빌드 7m28s, 잡 9분, tar.gz 약 164 MB. 두 runner 모두 smoke 11개 확인 통과(`hide connect` -> `/health` -> 내장 셸 -> `hide stop` 포함). - **리뷰(별도 subagent)**: Fix now 4건 모두 반영 - Windows 핸들 상속(위), smoke가 timeout으로 죽인 `hide`의 출력을 받아들이던 것, 사실과 다른 kit 안내 문구, Windows에서 WSL `bash`가 잡힐 수 있는 소스 빌드(문서에 Git Bash 명시). 경로 필터 보강, `CARGO_BIN_EXE_hide`, stop 실패가 원래 오류를 가리던 것도 반영. - **확인하지 못한 것**: #344, #345 위로 rebase한 head `ff1730f5`에서 `verify`의 `web e2e linux 2/6`이 두 번(재실행 포함) 실패. `cmdk.spec.ts:394`(프로젝트 3개, `catalog.root_unresolved`)와 재실행 때 `new-tab.spec.ts:71`. 둘 다 main `39000d6a`와 직전 head에서는 통과했고, 이 PR이 닿지 않는 경로라 #288에 기록. `package`는 이 head에서도 green(run 37125618484). - **확인하지 못한 것**: 실제 Windows/Linux 기기에서 창을 띄운 적 없음(SmartScreen 화면, chrome-sandbox 메시지, Herdr 서버 자동 시작 포함). release 워크플로는 태그가 없어 실행하지 않음. - **확인하지 못한 것**: Windows 데스크톱 호스트의 경로/PATH 처리는 #2(별도 PR) 몫이라 이 패키지에 반영되지 않음. Refs #293
yansfil
added a commit
that referenced
this pull request
Oct 6, 2026
## Summary Issues 카드에는 GitHub 라벨이 이슈를 한 번 읽은 뒤에만 보였고, 보드를 라벨로 거를 방법도 없었습니다. 이제 열린 이슈 목록을 읽는 같은 `gh issue list` 호출과 같은 GraphQL 쿼리가 라벨을 함께 가져오고, 라벨은 task에 실려 snapshot으로 갑니다. Local 이슈의 라벨은 비어 있습니다. 카드와 List 행에는 GitHub 색으로 라벨이 최대 두 개 보입니다. Issues 필터에는 `라벨` 선택이 추가됐습니다: 여러 개를 고를 수 있고, 고른 라벨 중 하나라도 가진 카드가 남으며, `필터 지우기`를 누르면 라벨도 함께 지워집니다. 보드의 어느 카드에도 라벨이 없으면 라벨 선택은 그려지지 않습니다.  ## Review - **판단해 주세요**: 고른 라벨은 팝오버 안의 켜진 칩으로만 보이고, 헤더에는 필터 아이콘의 active 표시만 남습니다. 칩은 Agents 그래프 필터와 같은 ToggleGroup 모양입니다. 헤더는 `overview-roomy-tabs`에서 다시 그리는 중이라 이 PR에서는 건드리지 않았습니다. - **판단해 주세요**: 좁은 List 행에서는 라벨이 먼저 줄어들고, 그다음 사라지며, 제목은 그 뒤에야 잘립니다. 아래 900px, 720px 캡처를 봐 주세요. - **판단해 주세요**: Pen은 바꾸지 않았습니다. `pen-screens.mjs`의 카드는 이미 `card.labels`를 최대 두 개 그립니다. 필터 팝오버는 Pen에 그려진 적이 없고, 헤더는 병행 작업 영역이라 이번에 새로 그리지 않았습니다. - **조심해서 볼 파일**: - `herdr-core/src/tasks.rs`, `web/src/snapshot.ts`: snapshot wire가 바뀝니다. task에 `labels`가 추가되고, 비어 있으면 생략됩니다. - `herdr-core/src/issues.rs`: `home_issues.issues`가 같은 `IssueSnapshot`을 쓰기 때문에 라벨도 함께 실립니다. 웹은 이 값을 읽지 않습니다. - `herdr-core/src/github.rs`: Herdr 밖의 `gh` 호출입니다. `issue list --json`에 `labels`가 추가되고, linked-issue 쿼리에 `labels(first:100)`가 추가됩니다. 호출 수와 프로세스 수는 그대로입니다. - `herdr-core/src/github_store.rs`: 저장 파일 `github-snapshot.json`이 이제 라벨을 저장합니다. 라벨이 없던 시절의 파일도 그대로 복원됩니다. - `web/src/ProjectOverview.tsx`, `web/src/MainScreen.tsx`: 병행 PR이 고치는 파일입니다. 여기서는 import 하나와 `labels` prop 한 줄씩만 바꿨습니다. - **비용 검토**: 새 호출, 새 프로세스, 락 안의 작업은 없습니다. 늘어나는 것은 응답과 snapshot `rest` 섹션의 라벨 이름과 색뿐이고, 이슈당 100개가 상한입니다. ## Evidence - **확인한 것**: - Rust: `verify-cargo.sh test` 전체와 `lint`(fmt, clippy)가 통과했습니다. - 새 Rust 테스트 세 가지: - list 호출 JSON의 라벨이 task와 wire까지 도착합니다. hex가 아닌 색은 버려지고, 빈 라벨은 wire에서 빠집니다. - 번호로 읽은 linked issue도 라벨을 가집니다. - 저장 파일이 왕복하고, 라벨이 없는 옛 파일도 복원됩니다. - Web: `verify-web.sh`가 통과했습니다(web vitest 1036, desktop 154). - 라벨 필터 규칙의 unit test: 고른 라벨 중 하나라도 있으면 남습니다. 라벨 목록은 이름순이고 카드 수가 붙습니다. 고른 뒤 카드에서 사라진 라벨도 목록에 남습니다. - e2e `overview.spec.ts`가 통과했습니다. fake `gh`가 실제 gh 2.76.2 모양으로 라벨을 줍니다. - 읽은 적 없는 #3 카드에 `ui`가 보입니다. - `ui`를 고르면 카드가 2장 남고, 단어와 함께 걸면 AND로 줄어듭니다. - `필터 지우기`를 누르면 3장으로 돌아옵니다. - 실제 화면: isolated hided, pinned Herdr, Chromium 조합의 e2e 캡처로 확인했습니다. 화면은 dark와 light, 폭은 1600, 900, 720px입니다. - 캡처 전용 fixture로 #4에 긴 라벨 세 개를 줬고, 이 fixture는 커밋하지 않았습니다. - 카드 머리는 한 줄로 유지되고, 세 번째 라벨은 생략되며, hover 때 카드 높이가 그대로입니다. - **확인하지 못한 것**: - Electron 창과 설치된 앱에서는 확인하지 않았습니다. 같은 web 번들을 Chromium e2e로 캡처한 것으로 대신했습니다. - 실제 GitHub 저장소를 상대로 한 라이브 실행은 하지 않았습니다. 응답 모양은 이 저장소에 `gh issue list --json labels`와 GraphQL을 직접 실행해 확인했고, 그 모양을 fixture에 썼습니다. - 라벨이 하나도 없을 때 라벨 선택이 그려지지 않는 것은 unit 규칙(`boardLabels`가 `[]`)으로만 확인했습니다. e2e에는 없습니다. - Dependencies 모드와 All projects 범위에서 라벨 필터는 같은 `filterBoard`와 컴포넌트를 거치지만, 따로 캡처하지 않았습니다. - 로컬 `cargo test` 첫 실행에서 `hide-platform` watch burst 테스트가 web 레인과 동시에 돌다가 한 번 실패했습니다. 단독으로 다시 돌리니 통과했고, 이 diff가 건드리지 않은 크레이트입니다. <details><summary>추가 증거</summary> List 1600px: 라벨이 제목 뒤에 두 개까지 붙습니다.  List 900px: #4의 긴 라벨이 먼저 줄어들고, 제목은 그대로입니다.  List 720px: 라벨이 사라진 뒤에 제목이 잘립니다.  Board 900px, #2 hover: 버튼은 id 줄의 빈자리를 채우고, 카드 높이는 그대로입니다.  </details>
This was referenced Nov 9, 2026
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.
What changed, in one paragraph a new contributor can follow
Every installed build of hide reported version 0.1.0 while the release tags had reached v0.2.0, because
Info.plistcarried a literal and no build step wrote the tag into it. The release build now takes the version fromHIDE_VERSION(whichrelease.ymlalready passes from the tag) or, for a local build, from the nearestv<version>tag describing the tree, and stamps it intoCFBundleShortVersionStringandCFBundleVersion. When neither exists the build stops with a message instead of shipping a placeholder. The plist itself now says0.0.0, so an unstamped bundle is visible at a glance, and the dev build stamps0.0.0-dev+<commit>. The retired shell'sresources/Info.plistis deleted; nothing read it.Review boundary
build-app.shexits 1 with "HIDE_VERSION is unset and no v tag describes this tree" when it cannot find a version.CFBundleVersiontakes the numeric prefix of the version, so a local0.2.1-3-gabc-dirtybuild yields0.2.1there and the full string in the short version.Evidence
HIDE_VERSION=0.2.1-local zsh scripts/build-app.shon this tree. The bundle's plist readsCFBundleShortVersionString = 0.2.1-local,CFBundleVersion = 0.2.1,plutil -lintandcodesign --verifypassed, and the archive is namedhide-v0.2.1-local-macos-arm64.zip.-c Seton the existing PlistBuddy call.Screenshots
N/A - no visual surface changed.
AI tooling
Drafted with AI tooling; the local release build above was run and its plist read by hand.
Human review focus
main; they sit on separate "Publish" commits. A local build onmaintherefore cannot describe itself from a tag until the next release is tagged onmainafter the merge, as CONTRIBUTING now requires.HIDE_VERSIONcovers CI either way.herdr-core/Cargo.tomlstays at 0.1.0. Nothing readsCARGO_PKG_VERSIONand the crate is not published; it is a crate version, not the app version.