Repository navigation
Show notification sentences and split desktop notification preferences - #1037
Merged
Merged
Conversation
This was referenced Oct 13, 2026
yansfil
added a commit
that referenced
this pull request
Oct 15, 2026
## Summary CI는 PR이 바꾼 경로로 돌릴 레인을 고르는데, 규칙에 없는 경로가 하나라도 있으면 모든 레인을 돌립니다. 10-13 이후 머지된 PR 58개 중 13개가 그랬고, 원인은 테스트가 읽는 계약 파일, 레인이 부르는 workflow, 디자인 스크립트, `web/vite.config.ts`였습니다. 이제 이 경로들은 실제로 읽는 레인과 크레이트만 돌립니다. 같은 58개를 다시 계산하면 전체 레인 PR 13 → 1, 잡 855 → 823, macOS 잡 58 → 45입니다. - **계약 5개** (`hided-ws.schema.json`, `snapshot-wire-enums.json`, `agent-adapters.json`, `hide-cli.json`, `usage-coverage.json`): 읽는 테스트의 크레이트만 `rust`로, 웹 테스트가 읽으면 `checks`, 셸이 import하면 `web-e2e`도. - **레인 workflow 4개** (`web-e2e.yml`, `desktop-e2e.yml`, `os-contract.yml`, `remote-mailbox.yml`): 그 workflow를 부르는 레인만. - **`web/vite.config.ts`**: 셸을 빌드하거나 웹 단위 테스트를 돌리는 레인 전부. Rust만 도는 레인은 뺍니다. - **디자인 생성기, 토큰 맵, 디자인 검사**: `policy`만. `design-contract.yml`이 모든 PR에서 따로 검사합니다. - **`Cargo.lock`은 전체 그대로**: 거의 모든 크레이트가 `workspace-hack`에 의존해 lock 변경이 모든 크레이트에 닿습니다. - **따라가다 찾은 누락** (두 번째 커밋): `docs/UI_BEHAVIOR.md`, `docs/AI_PROVIDERS.md`, 에이전트 로고 manifest는 테스트가 읽는데 그 레인을 돌리지 않았습니다. 이제 돌립니다. ## Review - **판단해 주세요**: `agent-adapters.json`은 웹 셸 파일 규칙(`checks`, `web-e2e`)을 따라 데스크톱 e2e를 돌리지 않습니다. `agentAdapters.ts` 변경도 지금 그렇고, 데스크톱에서만 깨지면 nightly가 잡습니다. - **판단해 주세요**: brief 목록 밖인 `web-e2e.yml`, `desktop-e2e.yml`, `os-contract.yml`과 디자인 검사 6개도 같은 규칙이라 넣었습니다. workflow는 테스트가 `pr.yml`의 `uses:`에서 부르는 레인을 읽어 맞춥니다. - **조심해서 볼 파일**: `scripts/ci-plan.py` `classify` - 다른 규칙이 없는 경로는 이제 READERS가 전부 정합니다. 기존 READERS 경로는 다른 규칙이 먼저 잡아 그대로입니다. - **조심해서 볼 파일**: `scripts/ci-plan.py` READERS - 크레이트는 그 크레이트 테스트만 돌립니다. 테스트가 아닌 코드가 계약을 읽게 되면 크레이트 변경 규칙으로 옮겨야 합니다. ## Evidence - **확인한 것**: `python3 -m unittest discover -s scripts/tests -p 'test_*.py'` 343개 통과. - **확인한 것**: 계약 테스트는 기대값을 소스에서 얻습니다. 주석을 뺀 코드에서 파일 이름을 부르는 크레이트와 웹 파일이 계획된 크레이트와 레인과 같아야 합니다. - **확인한 것**: 레인 하나를 빼는 변조 3개(계약, vite 설정, `os-contract.yml`)가 각각 테스트를 실패시킵니다. - **확인한 것**: 재현 스크립트로 PR 58개의 merge commit diff를 변경 전후 planner에 넣었습니다. spec은 merge commit 시점 내용으로 읽었습니다. 표는 아래. - **확인하지 못한 것**: 머지 뒤 실제 PR 런의 잡 수와 대기 시간. 이 PR은 `scripts/ci-plan.py`를 바꿔 자기 런은 전체 레인입니다. - **확인하지 못한 것**: 리더 스캔은 파일 이름 문자열로 찾아, 경로를 조각으로 이어 붙여 읽는 코드는 놓칠 수 있습니다. <details><summary>PR별 전/후 (전체 레인이던 13개)</summary> 잡 수는 `plan`, `verify`와 레인별 잡(`web-e2e` 5, `os-contract` 2, `package` 3, 나머지 1)의 합입니다. Rust 크레이트는 `rust` 레인이 lint와 테스트를 도는 범위입니다(전체 레인이면 workspace 전체). | PR | Unclassified paths before | Full after | Jobs | macOS jobs | Rust crates | Lanes dropped | | --- | --- | --- | --- | --- | --- | --- | | #1108 | `contracts/hided-ws.schema.json` | no | 18 -> 16 | 2 -> 0 | workspace -> 11 of 16 | os-contract-macos, desktop-e2e | | #1085 | `contracts/hide-cli.json` | no | 21 -> 20 | 3 -> 2 | workspace -> 8 of 16 | os-contract-macos | | #1083 | `.github/workflows/remote-mailbox.yml` | no | 21 -> 21 | 3 -> 3 | workspace -> 14 of 16 | - | | #1076 | `scripts/gen-tokens.mjs` | no | 18 -> 10 | 2 -> 0 | workspace -> 1 of 16 | os-contract, os-contract-macos, windows-check, windows-e2e, windows-desktop, remote-mailbox, desktop-e2e | | #1074 | `contracts/hided-ws.schema.json` | no | 18 -> 17 | 2 -> 1 | workspace -> 3 of 16 | os-contract-macos | | #1070 | `scripts/gen-screens.mjs`, `web/vite.config.ts` | no | 18 -> 17 | 2 -> 1 | workspace -> 8 of 16 | os-contract-macos | | #1056 | `contracts/snapshot-wire-enums.json` | no | 21 -> 20 | 3 -> 2 | workspace -> 10 of 16 | os-contract-macos | | #1051 | `contracts/hided-ws.schema.json` | no | 21 -> 20 | 3 -> 2 | workspace -> 3 of 16 | os-contract-macos | | #1049 | `scripts/pen-token-map.json` | no | 18 -> 3 | 2 -> 0 | workspace -> not run | rust, checks, os-contract, os-contract-macos, windows-check, windows-e2e, windows-desktop, web-e2e, remote-mailbox, desktop-e2e | | #1044 | `.github/workflows/remote-mailbox.yml`, `contracts/agent-adapters.json`, `contracts/hided-ws.schema.json`, `contracts/usage-coverage.json` | no | 21 -> 21 | 3 -> 3 | workspace -> 15 of 16 | - | | #1037 | `contracts/hided-ws.schema.json` | no | 18 -> 17 | 2 -> 1 | workspace -> 3 of 16 | os-contract-macos | | #1030 | `Cargo.lock`, `contracts/agent-adapters.json`, `contracts/hided-ws.schema.json`, `contracts/usage-coverage.json` | yes | 18 -> 18 | 2 -> 2 | workspace -> workspace | - | | #1017 | `contracts/snapshot-wire-enums.json` | no | 18 -> 17 | 2 -> 1 | workspace -> 9 of 16 | os-contract-macos | </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.
Summary
루트 행의 원문 문장을 데스크톱 알림과 폰 푸시에 전달합니다.
본문은
행 상태 · 원문 문장 · 프로젝트이며 문장이 없으면 기존 본문을 유지합니다.Needs You와 Done 알림을 개별 설정하며, Hide AI 켜짐·꺼짐의 표시 규칙을 한 표로 정리했습니다.
Settings > Notifications의 같은 그룹에서 Needs You와 Done을 따로 선택합니다.
Review
runtime/first_run.rs,persistence.rs- 한 이벤트, 기존 저장 writer, 이전 공유 설정 이전입니다.agent_state/turn.rs,hided-ws.schema.json,mobile/push.rs,sw.js- 코어 소유·wire·이전 캐시·크기 제한입니다.Evidence
design/hide-screens.pen을 재생성했습니다. Pen 설정 행과 상태를 아래에서 볼 수 있습니다.추가 증거와 검증 범위
최대 인터페이스 글자 크기의 한국어 Done-only 화면입니다. 권한/테스트 행이 유지됩니다.
기존 Settings 행 패턴으로 두 알림 선택과 권한 상태를 그렸습니다.
화면 상태 네 조합을 Pen에 추가했고, 기존 리뷰 대상 4개의 폭은 실제 export인 1,832px로 맞췄습니다.
자동 geometry 판정은 온보딩 기본 화면을 대상으로 하며, 설정은 실제 화면 캡처와 네이티브 e2e로 확인했습니다.
status_code, 코어가 발행한 정확한detail, 프로젝트 순서입니다.Question · Choose staging? · my-app,Approval · Review the plan · my-app,Blocked · Login required · my-app.Done · Build fixed · my-app,Stopped · Three tests remain · my-app.Needs you · my-app/Done · my-app; 폰 한국어는 기존내 확인 대기/끝입니다.C.UTF-8로 실패했습니다.LC_ALL=C에서 해당 정책 모듈 7건 및 watcher 2건이 통과했습니다.