Repository navigation
Conversation
Delegated sample proposal for the design review workflow: child agent rows step 12px per level instead of the 18px checkout lineage step, through a new --size-agent-child-indent token used by the Pen Projects Sidebar screen and the production row. The review target's default rule and an e2e assertion follow the new step.
Contributor
Author
|
완료된 임시 예시로 merge하지 않고 닫습니다. 흐름 자체는 #186에 반영됩니다. |
yansfil
added a commit
that referenced
this pull request
Sep 27, 2026
Related: PRD `agents/prd/design-review-workflow/prd.md` · 이 흐름을 실제 변경에 적용한 예시: #187 (임시 예시, merge하지 않고 닫음) ## Summary 디자인 변경이 "고른 디자인"대로 구현됐는지를 Pen과 앱을 번갈아 보며 판단하던 과정을 한 명령으로 묶었습니다. `scripts/design-review.mjs baseline`은 고른 Pen 디자인을 덮어쓸 수 없는 번들로 보관하고, 사용자 결정인지 위임된 제안인지를 기록합니다. `review`는 정적 계약, 현재 Pen export, 실제 `Sidebar`의 Chromium 측정과 캡처를 한 번에 돌려 번들의 레이아웃 규칙으로 PASS, FAIL, INCOMPLETE를 냅니다. PR 템플릿은 화면 변경이면 대표 이미지 한 장과 판단 하나를 위에 두고 나머지 증거는 접도록, 화면이 없는 변경이면 스크린샷 없이 쓰도록 바꿨습니다. <img src="https://github.com/yansfil/pr-assets/blob/main/hide/design-review-workflow/0465042/psb-sidebar-l.png?raw=true" width="720" alt="Reference, current Pen and actual sidebar side by side"> `review`가 만드는 비교 이미지입니다. 세 칸이 같은 조건(Light · 292px · 기본 콘텐츠 · rest)이고, 오른쪽 실제 화면에만 있는 Search 필드와 칩 말줄임 같은 차이가 사람이 볼 곳입니다. ## Review - **판단해 주세요**: 위 이미지에서 Pen과 실제 화면의 차이(Search 필드, 대기 루트 점과 링, footer 단축키, 칩 말줄임)가 renderer 차이인지 고칠 drift인지. - **조심해서 볼 파일**: `scripts/design-review.mjs` - failure path: Pen, dev server, Chromium 소유와 취소 시 정리, INCOMPLETE 판정. - **조심해서 볼 파일**: `web/e2e/sidebar-geometry.mjs` - e2e spec과 review가 같은 측정 코드를 씁니다(`wire.ts`에서 옮김, 타입은 `.d.mts`). - **조심해서 볼 파일**: `.github/pull_request_template.md` - 이후 모든 PR 본문의 모양이 바뀝니다. ## Evidence - **확인한 것**: Light/Dark × 292/240px × 기본/긴 한글 × 글자 1/1.25 = 16조건, 규칙 7개, 112행 모두 PASS(0465042). - **확인한 것**: 12px 규칙 번들로 18px 코드를 검사하면 FAIL과 행별 offset. Pen 없음, 번들 변조는 INCOMPLETE(exit 3). Pen export 중 취소는 exit 143, 정리 완료. - **확인한 것**: 격리 Herdr 0.9.1과 hided를 Herdr Browser pane에서 chromux로 조작, 같은 측정 코드로 18px/단계, 9행 hover 시 이동 0. - **확인한 것**: node test design-review 21, design-scratch 10. `verify-web.sh`(web 390, desktop 39, typecheck, lint, build). e2e projects-sidebar, sidebar-status. - **확인하지 못한 것**: 데스크톱 앱(Electron) 창에서의 화면. 실제 앱 관찰은 63b5b205에서 했고 이후 `web/src` 변경은 gallery뿐입니다. - **확인하지 못한 것**: 다른 머신에서 번들 열기. 다른 디렉터리로 옮겨 Pen 없이 `show`한 것까지만 확인했습니다. - **생성물**: `design/hide-ui.lib.pen`, `web/src/tokens.css`는 토큰 1개(`--size-gallery-scene-h`) 추가로 generator가 다시 쓴 것입니다. <details><summary>추가 증거</summary> <img src="https://github.com/yansfil/pr-assets/blob/main/hide/design-review-workflow/0465042/light-240-long-x1.png?raw=true" width="720" alt="Actual-only state sheet at 240px with long Korean titles"> 대응 Pen 프레임이 없는 조건(Light · 240px · 긴 한글 제목)은 실제 화면만의 상태 시트로 따로 보여 줍니다: rest, hover, focus, 부모 접힘, checkout 닫힘. <img src="https://github.com/yansfil/pr-assets/blob/main/hide/design-review-workflow/0465042/app-stage1-rest-light.png?raw=true" width="292" alt="Real app sidebar in a Herdr Browser pane"> 실제 앱: 격리 Herdr 서버와 hided를 Herdr Browser pane에서 연 Projects 사이드바입니다(합성 데이터, 63b5b205에서 관찰). </details> **AI tooling**: 대부분 AI 도구. 사람의 손 대조는 아직 없고, 위 "판단해 주세요"가 그 자리입니다. <details><summary>Verification record</summary> - PRD: `agents/prd/design-review-workflow/prd.md` (sha256 47c0b9a306185e899e3a0f213bba89b5d03c578ceddfe1c9cb5ff2b925a80c74) - Base 04a5be9 → head c9394db, verified 2026-09-27T09:46:05.635Z: PASS - Verification report: `agents/runs/design-review-workflow/verification-report.json` and `agents/runs/design-review-workflow/verification-report.md`; source fingerprint 819923b112138a09a3bd16e90a16102d6a00fbe414cf490c91cc99c998493f65 - Suites: - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0) - S2: GREEN `bash scripts/verify-cargo.sh lint` (exit 0) - Separately run required check (not part of the sealed suite of the 2 commands above): `bash scripts/verify-web.sh` on c9394db (web 390, desktop 39, typecheck, lint, build), exit 0. It replaces `bash scripts/verify-swift.sh test`, which passed (534 tests) on every earlier head through 766a669 and was deleted with the Swift shell by main (#188). - Reviews (advisory, native): - Round 1 on 63b5b20, Code: Fix now (1) cleanup swallowed close failures -> logged and reported INCOMPLETE; (2) same-name libraries overwrote each other in a bundle -> refused. Follow-ups: store seeding during render -> layout effect; import cycle -> copied once. - Round 1 on 63b5b20, Fidelity: Fix now (1) a cancel during the Pen export did not end the run -> signal handling now spans every phase, test + live check. Follow-ups: slug check simplified; current-Pen theme/content drift left to human judgment. - Found during round 1: current Pen was exported from the bundle's source, wrong for a scratch proposal -> targets declare `file`, review exports it. - Round 2 on 20d2d21 (follow-up): every prior finding closed, no Fix now. Follow-ups taken: test for a proposal bundle; realpath key for libraries. Interrupt test for other phases not added (live evidence instead). - Round 3 on 0465042, Fidelity and Code: no Fix now; B10 met by this body. - CI on 0465042 failed the desktop app lane (TS7016: no declaration for web/e2e/sidebar-geometry.mjs under the desktop e2e typecheck) -> 317f0ab adds sidebar-geometry.d.mts; desktop typecheck, lint and 37 tests pass locally. - Round 4 on 317f0ab, fix spot review: every declared signature matches the module; desktop typecheck and web lint pass; no Fix now, no Follow-up. - Round 5 on 4a4b108, PR template and design workflow presentation rule: no Fix now. Follow-up outside this change: AGENTS.md "Before Opening A Pull Request" still says "Summary with screenshots". - Base: origin/main merged twice to satisfy the merge path's freshness check: 766a669 (cf9189f, no conflicts, PR diff unchanged) and c9394db (9b3a1d9, #188; conflicts in CONTRIBUTING.md and docs/README.md resolved as main's lines plus this PR's design-review references; Pen files equal generator output). - Spot review of 766a669: parents and diff exact, no interaction with main's files; no Fix now. - Spot review of c9394db (verified head): only the two intended conflict resolutions; PR hunks equal the reviewed change set apart from main's context lines; generators, design contract, identity and attribution checks clean; no Fix now. - Delivery includes (Observer decision, this ship only): `--include agents/config.json --include agents/prd/electron-app-swift-removal/prd.md --include macos/CLAUDE.md`. Ship's allowlist refused these paths in the branch history; all three arrive only from merged origin/main #188 (9b3a1d9), `git diff 9b3a1d9 c9394db` over them is empty, and they are not changed by this PR. - Evidence: 45 registered (21 log, 8 file, 9 image, 7 screenshot); paths are local to the run directory - agents/runs/design-review-workflow/evidence/swift-test-0465042dc215ad07fe9ea512dbda7e349a1c92e7.log - agents/runs/design-review-workflow/design/review/20260927-084347-db5c12/report.md - agents/runs/design-review-workflow/design/review/20260927-084347-db5c12/report.json - agents/runs/design-review-workflow/design/review/20260927-084347-db5c12/compare/psb-sidebar-l.png - agents/runs/design-review-workflow/design/review/20260927-084347-db5c12/compare/psb-sidebar-d.png - agents/runs/design-review-workflow/design/review/20260927-084347-db5c12/states/light-240-long-x1.png - agents/runs/design-review-workflow/design/review/20260927-084347-db5c12/states/dark-292-reference-x1.25.png - agents/runs/design-review-workflow/evidence/stage1-review-full-0465042d.log - agents/runs/design-review-workflow/evidence/review-cancel-during-pen-20d2d21a.txt - agents/runs/design-review-workflow/evidence/review-cancel-sigterm.txt - agents/runs/design-review-workflow/evidence/stage1-review-probe-12px.log - agents/runs/design-review-workflow/evidence/stage1-review-no-pen.log - agents/runs/design-review-workflow/evidence/stage1-review-tampered.log - agents/runs/design-review-workflow/evidence/stage1-show-without-pen.log - agents/runs/design-review-workflow/evidence/e2e-sidebar-specs-63b5b205.log - agents/runs/design-review-workflow/evidence/app-herdr-browser-measure-stage1.json - agents/runs/design-review-workflow/evidence/app-stage1-rest.png - agents/runs/design-review-workflow/evidence/app-stage1-rest-light.png - agents/runs/design-review-workflow/evidence/app-stage1-hover-parent-light.png - agents/runs/design-review-workflow/evidence/design-review-node-tests-0465042d.log - agents/runs/design-review-workflow/evidence/swift-test-317f0ab0cad8a315ec6fc46fd67a6bdbb88802e3.log - agents/runs/design-review-workflow/evidence/desktop-lane-317f0ab0.log - agents/runs/design-review-workflow/design/baseline/stage2-proposal-12px/manifest.json - agents/runs/design-review-workflow/evidence/stage2-review-before-20d2d21a.log - agents/runs/design-review-workflow/design/review/20260927-090351-1e4258/report.md - agents/runs/design-review-workflow/evidence/stage2-review-after-29454969.log - agents/runs/design-review-workflow/design/review/20260927-090351-1e4258/compare/psb-sidebar-l.png - agents/runs/design-review-workflow/design/review/20260927-090351-1e4258/compare/psb-sidebar-d.png - agents/runs/design-review-workflow/design/review/20260927-090351-1e4258/states/light-240-long-x1.png - agents/runs/design-review-workflow/design/review/20260927-090351-1e4258/states/dark-292-long-x1.png - agents/runs/design-review-workflow/evidence/stage2-before-after-light-292.png - agents/runs/design-review-workflow/evidence/app-herdr-browser-measure-stage2.json - agents/runs/design-review-workflow/evidence/app-stage2-rest-light.png - agents/runs/design-review-workflow/evidence/app-stage2-hover-parent-light.png - agents/runs/design-review-workflow/evidence/app-stage2-rest-dark.png - agents/runs/design-review-workflow/evidence/app-stage2-rest-light-240.png - agents/runs/design-review-workflow/evidence/e2e-sidebar-specs-29454969.log - agents/runs/design-review-workflow/evidence/stage2-lanes-29454969.log - agents/runs/design-review-workflow/evidence/swift-test-29454969ba0ea8a8c209fbccf5373b95aef4e013.log - agents/runs/design-review-workflow/evidence/swift-test-4a4b108523569b7bd276ad672b78bf69b7bd9c29.log - agents/runs/design-review-workflow/evidence/swift-test-766a669a533e6069edce9d902b1558c49beab2ff.log - agents/runs/design-review-workflow/evidence/pr186-diff-vs-main-766a669a.patch - agents/runs/design-review-workflow/evidence/verify-web-c9394db7b98d9c0937301a50c15024f761069e5d.log - agents/runs/design-review-workflow/evidence/pr186-diff-vs-main-c9394db7.patch - agents/runs/design-review-workflow/evidence/design-review-node-tests-c9394db7.log - Changed paths: 797 (see Files changed) </details>
This was referenced Nov 7, 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.
Related: #186의 디자인 검증 흐름을 적용한 예시 · Draft · 아직 승인되지 않은 제안
Summary
자식 에이전트의 들여쓰기를 18px → 12px로 줄여 제목 공간을 넓혔습니다.
아래에서 「컴포넌트 구조…」「한글 가독성 확인」 두 자식 행의 시작 위치를 보세요.
왼쪽은 변경 전(18px), 오른쪽은 변경 후(12px)입니다.
Review
오른쪽처럼 덜 들여써도 부모·자식 관계가 잘 구분되나요?
Evidence
추가 화면 보기: 디자인 일치 · 좁은 폭 · 마우스 올림
디자인과 구현이 같은가?
왼쪽부터 제안 디자인, 현재 Pen, 실제 구현입니다(모두 Dark·292px·같은 콘텐츠).
좁은 화면이나 긴 제목에서도 괜찮은가?
240px·긴 한글 제목에서 기본, 마우스 올림, 키보드 포커스, 부모 접힘, 체크아웃 접힘을 확인한 화면입니다.
이 조건에 대응하는 Pen 화면은 없어 실제 구현만 보여 줍니다.
실제 앱에서 마우스를 올리면?
오른쪽 접기 버튼이 나타나며 행 위치는 유지됩니다.
위 행을 가리는 도움말은 기존 동작이며 후속 검토 항목입니다.
개발 검토: 변경 범위와 검증 상세
web/src/components/sidebar-agent-row.tsx: 공용 행이므로 Projects와 Agents의 자식 행 모두 12px로 바뀝니다.--size-agent-child-indent토큰을 사용합니다.design/*.pen,web/src/tokens.css: 토큰 1개와 자식 행 padding 4개(66 → 60)를 generator로 반영했습니다.AI tooling: 대부분 AI 도구. 사람의 시각 검토는 위 Review 질문에 남겨 두었습니다.
Verification record
agents/prd/design-review-workflow/prd.md(sha256 47c0b9a306185e899e3a0f213bba89b5d03c578ceddfe1c9cb5ff2b925a80c74)agents/runs/design-review-workflow/verification-report.jsonandagents/runs/design-review-workflow/verification-report.md; source fingerprint 7f70f0834515a407f0b738a75c14fe02bf8eb4f610ca74db0b01f34eb8c77692bash scripts/verify-cargo.sh test(exit 0)bash scripts/verify-cargo.sh lint(exit 0)git diff 317f0ab0..29454969(one commit on top of Check design changes against a kept reference bundle #186's head); the record above is the shared run's, so its base is the run baseline.bash scripts/verify-swift.sh teston 2945496, 534 tests passed, exit 0.