feat: 회의 파일 가져오기와 입력 엔진 배포 보완

This commit is contained in:
Yun Chan 2026-11-01 19:39:06 +09:00
parent 5a8c5cd792
commit b3519e5da7
54 changed files with 1129 additions and 116 deletions

View file

@ -0,0 +1,53 @@
# 2026-11-01 recovery, verification and release evidence
All dates below are KST. This report separates source tests, physical-device evidence and publication; one does not establish the others.
## Recovered scope and initial state
- Checkout: `D:\workspace\D3ROVoice`, sole registered worktree, branch `main`.
- Initial local, Forgejo `chanpaca/main`, GitLab `origin/main`: `5a8c5cd7927a65b9289a954cff280d0d0ddf3f67` (v1.15.4). Both servers advertise `main` as their default. Remote refs were fetched without altering the checkout.
- Initial dirty set: 33 tracked modifications and six new files. Meeting recording import (desktop/mobile, shared IPC/types/locales), fresh-onboarding routing, Android signer parsing, tests and maps were all retained. Original file copies, SHA-256 manifest and binary patch are under `test-results/recovery-2026-11-01/initial-*`.
- No initial commits dated November 1. October 30 typing-race work and October 31 terminal/modifier/suggestion fixes were already committed through v1.15.4; they were not treated as new uncommitted work.
- Today's earlier mobile evidence: `.2` first-run gate passed; later `.3` first-run auth and retry failed. The later artifacts must not inherit the earlier PASS.
- Local session-file inventory is retained in `session-inventory.json` and `recent-resumed-sessions.json`. The root Codex session is `01a18a1c-4d07-7e31-90ca-70e542c03286`; the latest local Claude log was October 28, and `memory/handoff-latest.md` was an August 19 historical handoff. A worker cannot query the coordinator-only Switchboard session inventory, so the local inventory is not asserted to enumerate every coordinator session.
- Historical remote branch `origin/seoro/project-overview-report`, `9cd965d434acc399a661ce697f2e8ce2300c537c` (April 13): one unique commit, 316 main-only commits at recovery. Its hidden titlebar/32px safe area/thin scrollbar/cloud i18n patch predates the current hiddenInset/custom Windows shell, OverlayScrollbars and translated cloud settings. Retained unmerged; blindly merging it would restore obsolete shell behavior. No additional local branch or worktree requires integration.
## Implemented and recovered work
- Desktop media picker → existing ffmpeg/STT pipeline → meeting transcript and normalized WAV, without duplicate plain history. Progress/cancel and existing minutes-generation entry points are wired. Mobile meeting creation routes to the durable meeting import pipeline.
- Added import account-generation guards before and after WAV copy and after transcription. Before-copy, after-copy and A→B→A switches previously saved results; all now reject and remove their generated audio.
- Retained the onboarding route-before-persistence fix and Build Tools 37 signer parser, including their tests.
- Restored reproducible typing A/B after the fix became HEAD: default baseline `f49acf01057cc100b9caeace6eada26cf7bf4b54`, optional `--baseline`, explicit commit/hash evidence. No checkout switching is used.
- Found public runtime feed still at 1.10.0 despite newer CPU-budget/UIA source. Sidecar minimum is now 1.16.0. The runtime-inclusive release rebuilds and smoke-tests the actual executable, publishes runtime/portable indexes before the installer, and avoids dirtying the tracked Scoop manifest after tagging. CI skips already-published runtime/portable versions.
- Read-only release review found that rebuilding on resume could destroy bytes already partially uploaded, and checking only immutable indexes missed unfinished latest aliases. Added a pre-upload checkpoint with source tag commit and SHA-256 fingerprints. Resume reuses verified bytes through the idempotent publishers; absent/mismatched checkpoints preserve output and fail closed. CI checks both immutable indexes and latest aliases, and no longer treats network errors as an unpublished version.
## Verification
Evidence root: `test-results/recovery-2026-11-01/` (already ignored by the repository; no ignore changes were made).
| Check | Result and scope |
|---|---|
| Initial `npm run verify:all` | PASS: desktop 2,768 tests, core 572, API client 30, mobile 87 suites / 599; workspace/mobile typecheck and lint; zero design-token violations. |
| Intermediate full runs | Preserved five failures in `verify-all-final.log`: three positive runtime fixtures still advertised 1.9.0 after the minimum was raised; two voice-test import hooks timed out under concurrent load. Updated only positive runtime fixtures and bounded desktop workers to four. `verify-all-bounded.log` then passed desktop/core/API and lint/typecheck but retained three mobile 5 s timeouts. Bounded mobile workers to four as well, without increasing any timeout. [Jest worker configuration](https://jestjs.io/docs/30.0/configuration#maxworkers-number--string). |
| Final scope checks | Desktop **2,771/2,771**, core **572/572**, API client **30/30**, workspace/mobile typecheck and lint PASS in `verify-all-bounded.log`. Mobile **87 suites / 599 tests PASS**, 6.126 s in `mobile-bounded.log`. Design tokens **0 violations** in `design-final.log`. These are composed scope passes; the intermediate full-command failures remain retained. |
| Account-switch RED → GREEN | Three unwanted-persistence failures reproduced, then all five meeting-import use cases pass. Logs `meeting-account-red.log`, `meeting-account-green.log`. |
| Real MP3 / M4A integration | 2/2 PASS using actual ffmpeg conversion, SQLite and WAV headers; STT response is a test double. `meeting-media.log`. |
| Typing source A/B | Pre-fix 2 PASS / 15 FAIL; current 17 PASS / 0 FAIL. All three next-Hangul-word corruption cases fail before and preserve text after; unchanged-input control passes in both. `test-results/typing-load/race-proof-2026-11-01T10-22-36-247Z/report.json`. Three services are overlaid; dependencies/tests are current. Not native keyboard/IME/load proof. |
| Python sidecar suite | 27/27 PASS, including CPU headroom, missing-model fail-closed behavior and cancellation. `sidecar-tests.log`. |
| Runtime feed and publication policy | **44/44 PASS** including five checkpoint cases: same bytes, altered bytes, missing files, source mismatch, path escape, runtime/portable parts. Old 1.10.0 feed rejected and 1.16.0 accepted. `publish-final.log`. Runtime install/provisioner 26/26 PASS. |
| Release metadata / secrets | 18 negative cases PASS; source credential scan PASS. `release-metadata.log`, `secret-scan.log`. |
| Packaged local engine | Separate-process startup/health PASS. Existing local CUDA large-v3-turbo transcribed an offline synthesized 8.498 s sentence exactly; HTTP 200, reported processing 625 ms. `sidecar-smoke-before.log`, `local-stt-runtime.json`. No cloud inference was used. This was a warm loaded model, not cold-load overlap. |
| Android artifact | Build Tools 37 verifier and its self-test PASS. Current `.3` APK: `com.d3ro.voice`, `1.15.4-e2e.20261101.3`, code `2026110103`, 147158575 bytes, SHA-256 `937d2a0b3fb6b810516f07e91dd97ffe99d34c5885a72f21805a51e8a408027f`; installed Fold6 identity matches. `android-artifact.json`. |
| Fold6 current runtime | Existing app brought forward without clearing data. Meetings → Recording opens `meeting-editor-modal` with title/attendees/language/template fields; rendered screenshot and UI hierarchy retained. No meeting was saved and no inference was requested. A later list-restoration assertion failed because the expected list was no longer visible; it is not counted as a navigation PASS. |
| Isolated Android first-run auth | Created a new empty API 34 AVD `D3RORecovery20261101`, explicitly targeted `emulator-5580`, installed exact `.3` APK. Initial run failed while Android's **System UI isn't responding** dialog covered the app; XML and log retained. After choosing Wait, actual onboarding rendered; canonical fresh-auth flow **PASS, 37 s**, including persistent Login after restart. This is emulator evidence, not a new Fold6 first-run pass. Maestro also logged local heartbeat file-lock errors; those were not treated as an app diagnosis. |
## Open gates and preserved failures
- Windows native GUI helper returned `Computer Use native pipe is unavailable` / OS error 2 after the prescribed retry and reconnect. Actual high-CPU typing, model-load overlap, native Korean IME and desktop picker-to-minutes verification remain open. Electron was not launched from an agent subshell and the user's installed app/data were not replaced.
- Latest `.3` **Fold6** first-run tests and retry both fail at `onboarding-screen` visibility; black screenshots remain in `apps/mobile-rn/.maestro-output/fold6-20261101-mtg13/`. Cause is not established by those images. Earlier `.2` 4/4 PASS in `fold6-20261101-fix1/` remains historical evidence. Personal-device data was never cleared or uninstalled in this recovery. The new isolated test AVD alone used canonical `clearState` flows; it contains no personal data.
- `release:mobile:config` fails `mobile_release_config_invalid:firebase_expected_project_id_missing`, also after loading root `.env`. No production APK/AAB/Play release is claimed. External OAuth, Play purchase/restore, production SSV and file-to-minutes tests remain open. No paid tests or promotional messages were sent.
- Physical-device import evidence covers the current installed local test build. The planned desktop 1.16.0 release does not imply mobile 1.16.0 was installed or published.
## Release and final state
Release execution, public hashes/signature, final commit/remotes and the final clean-state check are appended after the release finishes. Until then this section is pending, not deployment proof.

View file

@ -2,7 +2,13 @@
> Status: ACTIVE
> Last full audit: 2026-09-13
> Last update: 2026-10-31 — **데스크톱 테스트 녹색 기준선 복구 및 제안 파이프라인 구조화.** 기본 `npm test`는 오프라인 단위·서비스 테스트 2,764개가 전부 통과하고, `test:all`은 2,788개 통과·10개 환경 의존 테스트 skip·0 실패다. `test:unit`·`test:service`·`test:integration`·`test:eval`을 하나의 Vitest 설정으로 분리하고, 제안 첫 후보 준비·stale 검증·후속 후보 게시 책임을 분리했다 (`GAP-QA-03`, `02` §3, `04` 입력 인텔리전스).
> Last update: 2026-11-01 — 미완료 작업 복구·1.16.0 배포 준비. 회의 import 계정 전환 경합을 재현·수정했고, 입력 A/B는 이전 2/17 → 현재 17/17이다. 공개 엔진 1.10.0에서 빠진 CPU/UIA 수정을 1.16.0 최소 엔진과 선행 게시로 연결한다. 모바일 최신 `.3` APK의 첫 실행 실패와 `.2`의 과거 4/4 PASS를 구분했다. 상세 증거: [completion report](../evidence/2026-11-01-completion.md).
>
> Previous update: 2026-11-01 — **기존 녹음 파일을 회의로 가져오기(`MTG-13`).** 데스크톱은 기존 ffmpeg 파일 전사를 재사용해 타임스탬프 전사와 재생용 WAV를 회의에 저장하고 일반 기록 중복을 피하며, 모바일은 회의 생성 후 기존 durable meeting import queue로 연결한다. 데스크톱 2,768개·모바일 599개·core 572개 테스트와 실제 MP3/M4A 변환 2개가 GREEN이다. 실제 Electron GUI와 인증 모바일 기기 E2E는 남아 있어 두 표면 모두 `[~]`다 (`04`, `06`, `11` GAP-MTG-03).
>
> Previous update: 2026-11-01 — **모바일 신규 사용자 온볼드 라우팅 및 Build Tools 37 APK 검증 복구.** 인증 목적지를 온볼드 persistence 전에 준비하도록 바꾸고 Fold6에서 fresh auth/signup/invite/small-screen 4/4를 검증했다. 모바일 Jest 87 suites/597 tests·lint·typecheck와 Build Tools 37 APK artifact verifier가 GREEN이다 (`06`, `02` §8, `11` O-001).
>
> Previous update: 2026-10-31 — **데스크톱 테스트 녹색 기준선 복구 및 제안 파이프라인 구조화.** 기본 `npm test`는 오프라인 단위·서비스 테스트 2,764개가 전부 통과하고, `test:all`은 2,788개 통과·10개 환경 의존 테스트 skip·0 실패다. `test:unit`·`test:service`·`test:integration`·`test:eval`을 하나의 Vitest 설정으로 분리하고, 제안 첫 후보 준비·stale 검증·후속 후보 게시 책임을 분리했다 (`GAP-QA-03`, `02` §3, `04` 입력 인텔리전스).
>
> Previous update: 2026-10-31 — **v1.15.2 릴리스 + `Ctrl+Alt+Enter` 제안 수락 불발 근본 해결 + 터미널·xterm.js 한글 씹힘 및 UIA·LLM 캐시 최적화(`INPUT-04`, `INPUT-06`, `INPUT-19`, `GAP-INPUT-08`, `GAP-INPUT-11`).** (1) **`Ctrl+Alt+Enter` 제안 수락 근본 해결:** ① `classifyKeyStroke`가 수정자 VK(`0x10..0x12`, `0x5b..0x5c`, `0xa0..0xa5`)보다 수정자 플래그를 먼저 검사해 `Ctrl`/`Alt`를 누르는 순간 `'shortcut'`(`key=shortcut+C+A`)으로 분류되어 `TerminalKeystrokeTracker` 버퍼가 `prefixLen=0`으로 초기화되고 `Enter`를 누르기 전에 제안 창이 닫히던 버그 수정, ② `ChordStateMachine.keyUp`에서 `Ctrl` 또는 `RightAlt`를 먼저 놓았을 때 `command`(`Ctrl+RightAlt`)만 해제하고 `break`/`return`으로 빠져나가 `suggestion-accept`(`Ctrl+Alt+Enter`)가 `_isDown`에 영구 고착되어 이후 입력이 auto-repeat으로 무시되던 버그 수정, ③ `KeyBindingService`에 `UiohookKey.NumpadEnter` 매핑 및 OS `globalShortcut` 캡처 25ms 폴백 트리거 추가, ④ `"생성 중..."` 또는 첫 후보 스트리밍 중 `Ctrl+Alt+Enter`를 누르면 무시하지 않고 첫 후보 완성(최대 2.5s) 즉시 수락(`_waitForFirstCandidate`)하도록 개선, ⑤ 터미널(`terminalMode` / `isTerminalApp`) 수락 시 클립보드 `Ctrl+V` 경합 대신 `KEYEVENTF_UNICODE` 직접 주입 및 백그라운드 채우기 루프 즉시 중단. (2) **UIA·Ollama 최적화:** 비타이핑 키 및 짧은 입력에서 780ms 중복 `_settleTimer` 스냅샷을 취소하고, `TypoCorrectionService.propose`가 이미 검사 완료된 구간(`_isRegionChecked`)에 대해 336토큰 오타 LLM 호출을 중복 실행해 제안 KV 캐시를 밀어내던 문제를 제거했다. (3) 직전 `v1.15.1`: 터미널 `WM_IME_CONTROL` 키다운 호출 제거 및 `uia_bridge.py` `xterm-helper-textarea` 고속 경로 적용.
>

View file

@ -1,7 +1,7 @@
# 02 — Repository & Infrastructure Map
> Surface: whole repo
> Last updated: 2026-10-31 — desktop Vitest green baseline and unit/service/integration/eval tiers (GAP-QA-03)
> Last updated: 2026-11-01 — 1.16.0 runtime-first release, meeting import verification and current mobile artifact reconciliation
> Source of truth for: layout, workspaces, build/test commands, CI/CD, Docker, deploy, scripts, resources
---
@ -68,6 +68,10 @@ Note: root `package.json` declares npm workspaces `apps/desktop`, `apps/web`, `a
---
## Runtime-inclusive desktop release (2026-11-01)
When required sidecar changes ship, run `node --env-file-if-exists=.env scripts/ci/release-desktop.mjs minor --with-runtime` on clean main. It preserves the normal version/tag/signature/installer gates, rebuilds the sidecar, runs `verify-sidecar-bundle.mjs --smoke` on a separate loopback port, builds portable/runtime artifacts, and publishes their immutable manifests before pushing the tag and publishing the desktop update. `--release-artifacts-only` keeps generated Scoop metadata in the release directory. Before the first upload, `release-artifacts.json` records the tag commit and file hashes. Resume with `--resume --with-runtime`: verify and reuse those bytes, then rerun the idempotent publishers to recover missing files and latest aliases. Existing output without a valid checkpoint is preserved and requires investigation, never silently rebuilt. Forgejo portable CI skips only completed immutable and latest indexes; partial publication fails closed. Desktop Vitest and mobile Jest use at most four workers; timeouts remain unchanged. Sidecar minimum is 1.16.0; ffmpeg has no new minimum. [Evidence](../evidence/2026-11-01-completion.md).
## 3. Root scripts (`package.json`)
```bash
@ -216,6 +220,7 @@ Full detail: [`09-supabase-backend.md`](./09-supabase-backend.md).
- **CI (`scripts/ci/`, 33 files):** build/version/release (`build-all`, `sync-version`, `generate-checksums`, `verify-release-metadata`, `create-release-tag`, `extract-release-notes`), security (`check-no-hardcoded-secrets`), mobile release gates (`verify-mobile-release-boundary/-config/-build-config`, `verify-android-artifact/-app-links`, `verify-play-store-assets`, `prepare-whisper-model`, `create-mobile-release-evidence`, `prepare-mobile-release-publication`, emulator/CSPRNG gates), keys (`create-desktop-license-keypair`, `create-release-evidence-key`, etc.), publish (`publish-forgejo-release` canonical, `publish-gitlab-release` mirror; the legacy `sync-and-publish-forgejo-release`/`upload-asset-to-forgejo-release` scripts were deleted 2026-09-26, Wave 3, cd9d199), env/tooling (`bootstrap-linux-toolchain.sh`, `audit-nas-stt-config.ps1`, mobile local E2E scripts).
- **Deploy/release:** `deploy-nas.ps1/.sh`, `nas-control.sh`, `publish-gh.ps1`, `gen-keystore.js` (`deploy-site-to-nas.js` deleted 2026-09-26, Wave 3, cd9d199 — site deploy is Cloudflare Pages only).
- **Android artifact verification (2026-11-01):** `verify-android-artifact.mjs` parses both legacy `Signer #1` and Build Tools 37 `V2/V3.x Signer` certificate output. Self-test and the actual universal E2E APK verification pass with Build Tools `37.0.0`.
- **GCP/Google OAuth automation + inspection (~70 `*.mjs`):** `auto-configure-oauth`, `automate-google-oauth`, `setup-consent`, `create-*-client`, `check-*`, `inspect-*` — mostly one-off/browser-driven console automation.
- **AdMob console automation:** `admob-probe.mjs` (read-only login/app/ad-unit probe), `admob-login.mjs` + `run-admob-login.bat` (one interactive headful Chrome login into a persistent profile), `admob-automate.mjs` (dry-run by default; `--apply` creates/verifies banner+rewarded units and reports Play-store link). Uses `playwright` with `channel: 'chrome'` and the gitignored `.chrome-playwright-profile`.
- **E2E / verification:** `e2e-desktop-*.js`, `real-app-multi-tab-e2e.js`, `test-and-capture-all-10-ad-services.js`, `verify-live-production-d3ro.js`.

View file

@ -67,7 +67,7 @@ Singleton + `EventEmitter` pattern (`getXService()` accessors).
| Service | Purpose |
|---|---|
| `CaptionService` | Live captions from system/loopback audio; caption overlay (events segment, state-changed, session-saved, error) |
| `FileTranscriptionService` | Audio/video file → ffmpeg → 30s chunks → STT merge (events progress, complete, error, state-changed) |
| `FileTranscriptionService` | Audio/video file → ffmpeg → 30s chunks → STT merge (events progress, complete, error, state-changed). Shared media-format SSOT is `file-transcription/media-formats.ts`; meeting import can skip duplicate history persistence and retain the normalized WAV |
| `MeetingSummaryService` | Post-caption LLM summary |
| `DictationTemplateService` | Field-by-field voice form filling |
| `VoiceConversationService` | STT→LLM→TTS loop, 10-turn memory. Local conversations are single-flight and pass their request signal through to local LLM chat, so a voice cancel aborts its own active request rather than only changing UI/watchdog state. |
@ -77,7 +77,7 @@ Singleton + `EventEmitter` pattern (`getXService()` accessors).
### Phase 12–15
| Service | Purpose |
|---|---|
| `MeetingModeService` | Meeting recording: live transcript, timestamp memos, doc generation/export, diarization |
| `MeetingModeService` | Meeting recording and existing-media import: live/file transcript, normalized meeting audio, timestamp memos, doc generation/export, diarization. `meeting/imported-recording.ts` maps file-transcription segments to the canonical meeting transcript. Account revision checks before/after WAV copy and after transcription reject even A→B→A changes; unsuccessful imports remove only their own generated audio |
| `MeetingDocTemplateService` | Meeting-doc templates (built-ins + CRUD) |
### Input intelligence (2026-09-21; Local Flow Intelligence extension 2026-09-22)
@ -142,7 +142,7 @@ Registry: `src/main/ipc/index.ts` calls 31 `registerXHandlers()` in fixed order.
| `license-handlers` | LICENSE |
| `llm-handlers` | LLM + `llm:premium:*` + ONLINE_AUTH |
| `meeting-doc-template-handlers` | MEETING_DOC_TEMPLATE |
| `meeting-mode-handlers` | MEETING_MODE + MEETING_CHAT |
| `meeting-mode-handlers` | MEETING_MODE + MEETING_CHAT; `meetingMode:importRecording` opens the shared media picker and returns the completed meeting detail |
| `meeting-summary-handlers` | MEETING_SUMMARY |
| `memo-handlers` | MEMO |
| `rag-handlers` | RAG |
@ -201,7 +201,7 @@ Routing is state-based in `renderer/navigation/app-navigation.tsx` (`AppRoute`,
| `CommandsPage` | commands | Custom instructions + voice keyword rules + LLM chains + dictation templates |
| `VoiceConversationPage` | conversation | Duplex voice assistant (local pipeline vs OpenAI Realtime) |
| `KnowledgeBasePage` | knowledge | Local RAG: add/index docs, semantic query, reindex/remove |
| `MeetingModePage` | meetings | Meeting studio: live transcript, memos, doc generation/export, diarization |
| `MeetingModePage` | meetings | Meeting studio: live or imported-media transcript with progress/cancel, linked audio, memos, minutes/doc generation/export, diarization |
Modals/components: `SettingsModal` (tabs General/Audio/STT/LLM/Input/License/Cloud/About), `LicenseModal`, `LicenseTab`, `CloudSyncSection`, `InputInsightsPanel` (consent + suggestion policy + weekly insights + learned phrases), `InputConsentPanel` (receipt + current-app exclusion recommendation), `InputInsightsView` (flow, friction and app-quality summaries), `OnboardingModal`, `UpgradePromptModal`, `ProBadge`, `TemplateSection`, `FileDropZone`, `OllamaGuideModal`, `CodexOAuthGuideModal`, `TitleBar`, `StatusBar`, meeting components (9), voice-conversation, payment (`CheckoutModal`, `checkout-flow.ts`), support (`SupportModal`), ads (`AdBanner`, `RewardedQuotaModal`), shared cards.
@ -271,3 +271,5 @@ DB schema (`src/main/db/schema.ts`, drizzle SQLite): `history`, `dictionary`, `s
| Update policy SSOT | `release/update-policy.json` + `src/main/update-policy.ts` |
| Path/loopback resolution | `src/main/utils/paths.ts`, `src/main/utils/loopback.ts` |
| Sidecar source / packaging | `sidecar/main.py`, `scripts/setup-sidecar.mjs`, `scripts/build-sidecar.mjs`, `scripts/ci/verify-sidecar-bundle.mjs` |
2026-11-01 verification: source A/B 2/17 before vs 17/17 current; real MP3/M4A conversion 2/2; account-switch regression 3/3 after reproducing all three failures; local packaged STT transcribed the synthetic 8.498 s fixture exactly. The required sidecar minimum is now 1.16.0 to deliver CPU budgeting and terminal UIA changes. Windows GUI/native helper remained unavailable; physical typing/model-load overlap is still unverified. [Recovery evidence](../evidence/2026-11-01-completion.md).

View file

@ -33,7 +33,7 @@ Provider stack: `GestureHandlerRootView → SafeAreaProvider → AuthProvider
| `RecordScreen` | Recording + local-whisper/cloud transcription, import audio, share; entered from the hidden Record route/FAB |
| `TalkScreen` | Voice/text AI chat: STT, LLM streaming, TTS; opened from More on the root stack |
| `HistoryScreen` / `HistoryDetailScreen` | History list/detail: sync, search, filters, audio playback, edit/share/favorite/delete |
| `MeetingsScreen` / `MeetingDetailScreen` | Meeting workspaces: create/rename/delete, transcript, memos, documents, export, content report |
| `MeetingsScreen` / `MeetingDetailScreen` | Meeting workspaces: create/rename/delete, existing-audio import through the durable meeting queue, transcript, memos, documents/minutes, export, content report |
| `MemosScreen` | Memos: list, tags, search, share |
| `TemplatesScreen` | Dictation/meeting document templates CRUD |
| `KnowledgeScreen` | Knowledge docs: create/import/index/merge/delete/search |
@ -92,7 +92,7 @@ Source of truth for status is `docs/v3/MOBILE_APP_COMPLETION_SSOT.md` sections 0
| Area | Status |
|---|---|
| Auth / account | `[~]` Implemented + Jest GREEN; external OAuth consent→callback and logout/delete/provider device E2E pending |
| Onboarding | `[x]` previous first-run device journey GREEN; this does not verify the new v4 shell on every viewport/theme |
| Onboarding | `[x]` current fresh auth/signup/invite and small-screen journeys GREEN on physical Fold6; this does not verify the new v4 shell on every viewport/theme |
| v4 shell / theme / accessibility | `[x]` shell journey at 320dp dark and 411dp light; `[~]` broader design-system/a11y proof because TalkBack/font-scale/rotation remain |
| Recording / transcription / Talk | `[x]` core path GREEN on API 34 (FGS, recovery, local Whisper, cloud fail-closed, TTS) |
| Data portability | `[x]` export/restore + share E2E GREEN |
@ -117,10 +117,11 @@ The v4 shell also removed `DashScreen` and `WorksHubScreen`. Home replaces the d
## 6. Tests & evidence
- Jest: `npm --prefix apps/mobile-rn test` — current full tree **86 suites / 589 tests PASS** (2026-09-28). v4-focused coverage includes `navigation-shell.test.tsx`, `screen-header.test.tsx`, `theme-parity.test.ts`, `ui-native-theme.test.tsx`, `unified-search-service.test.ts`, and `unified-search-result-row.test.tsx`.
- Jest: `npm --prefix apps/mobile-rn test` — current full tree **87 suites / 599 tests PASS** (2026-11-01). Coverage includes `onboarding-fresh-route.test.tsx`, plus meeting-import creation routing and `record-screen-redteam-r2-27.test.tsx`, which proves `meetingId + importRequest` enters the durable meeting pipeline. The current `.3` Fold6 APK renders the MTG-13 entry/editor; device file selection→transcription→minutes E2E remains NOT_RUN.
- Maestro E2E: `apps/mobile-rn/.maestro/` + evidence in `.maestro-output/`.
- Historical `.2` Fold6 physical-device gate (Android 16, `SM-F956N`): fresh auth **60 s PASS**, fresh signup **67 s PASS**, warm/cold invite **31 s PASS**, and small-screen signup **61 s PASS** on 2026-11-01. Fatal/Metro matches 0; evidence is `apps/mobile-rn/.maestro-output/fold6-20261101-fix1/`. Authenticated parity was not run because test credentials are absent.
- v4 local runtime: `apps/mobile-rn/.maestro/navigation-shell-search-local.yaml`; 320dp dark **1/1 PASS, 88 s** at `scratch/design-audit/wave45/navigation-shell-search-320-dark-verified.xml`, and 411dp light **1/1 PASS, 100 s** at `scratch/design-audit/wave45/navigation-shell-search-411-light-verified.xml`.
- Runtime APK: `com.d3ro.voice`, versionName `1.9.0-e2e.20260928.2`, versionCode `202609282`, 147063583 bytes, SHA-256 `96EBA2A47E54033EB0DEFCE4E4D282F1D06F162A5F7DF9457E99609D98745D58`. This is a local E2E artifact, not a production-signed APK/AAB or Play release.
- Current runtime APK: `com.d3ro.voice`, `1.15.4-e2e.20261101.3` / `2026110103`, 147158575 bytes, SHA-256 `937d2a0b3fb6b810516f07e91dd97ffe99d34c5885a72f21805a51e8a408027f`. Build Tools 37 verifier PASS; installed identity matches. Import entry and metadata editor rendered on Fold6 without saving new data. Earlier `.3` fresh-auth + retry both FAILED at onboarding visibility (black screenshots); those failures are retained. No data reset was performed, so `.2` historical passes are not current first-run proof. Production configuration fails with `firebase_expected_project_id_missing`, including with root `.env`. [Evidence](../evidence/2026-11-01-completion.md).
- Committed evidence summary: [`docs/evidence/wave45-mobile-shell-search-2026-09-28.md`](../evidence/wave45-mobile-shell-search-2026-09-28.md).
- Android instrumentation: `apps/mobile-rn/android/app/src/androidTest` (CSPRNG + incoming share).
- Build verifiers: `scripts/ci/verify-android-artifact.mjs`, `verify-android-app-links.mjs`, `verify-mobile-build-config.mjs`, `verify-mobile-release-boundary.mjs`.
- Build verifiers: `scripts/ci/verify-android-artifact.mjs` (legacy + Build Tools 37 signer output), `verify-android-app-links.mjs`, `verify-mobile-build-config.mjs`, `verify-mobile-release-boundary.mjs`.

View file

@ -88,6 +88,7 @@ Status quick-reference: `[x]` done+verified · `[~]` partial/unverified · `[ ]`
| MTG-10 | Meeting list search/filter/sort | [~] | [ ] | [~] | [x] | Basic lists; advanced filters pending |
| MTG-11 | Meeting AI chat over transcript | [x] | [ ] | [ ] | [x] | Desktop `MeetingChatPanel` + `MEETING_CHAT` |
| MTG-12 | Content reporting for generated docs | [-] | [ ] | [x] | [x] | `content-report` Edge + generation receipts |
| MTG-13 | Existing audio/video import into a meeting | [~] | [ ] | [~] | [x] | **2026-11-01:** Desktop `meetingMode:importRecording` reuses `FileTranscriptionService` without duplicate history, saves canonical timestamped transcript + normalized WAV, then opens existing minutes generation. Mobile `MeetingsScreen` creates the workspace then routes `meetingId` + `importRequest` to the existing durable Record meeting pipeline. Desktop unit/service 2,771 and real MP3/M4A ffmpeg integration 2 PASS; mobile Jest 599 PASS. Fold6 `.3` import entry/editor rendered; Electron GUI and device file-to-minutes E2E remain, so `[~]` (`GAP-MTG-03`). |
---
@ -197,7 +198,7 @@ end-to-end behaviour has **not been verified by typing in a real app** (`11` GAP
| SHELL-01 | Settings / preferences | [x] | [~] | [x] | [x] | **2026-09-28 개편:** 데스크톱 설정은 모달이 아니라 메인 창 전체 화면 라우트(`settings`) — 왼쪽 세로 탭 8개 + 본문 `components/settings/SettingsRows`(구획 h3 + 라벨·설명/컨트롤 행). 일반 탭에 키 바인딩 편집기(CAP-16). 이전 기록: Desktop tabbed modal; the General tab hosts the whole key-binding editor (CAP-16: global on/off switch + one `KeyBindingField` per action, grouped voice/window — `SettingsModal.tsx:239`), which is also the first settings entry point the `command` action ever had; web theme/i18n; mobile `SettingsScreen` |
| SHELL-02 | Theme system (6 themes) | [x] | [x] | [x] | [-] | `theme.ts` SSOT |
| SHELL-03 | i18n (12 locales) | [x] | [x] | [x] | [-] | `@d3ro/i18n`; **2026-10-30 (`GAP-I18N-01` `[x]`, `GAP-UX-07` `[x]`):** all 12 locales (`ko`, `en`, `ja`, `zh`, `zh-TW`, `es`, `fr`, `de`, `pt`, `ru`, `vi`, `th`) synchronized to 2,716 keys via `scripts/ci/sync-i18n-locales.mjs` and guarded by `i18n-locale-parity.test.ts` (15/15 PASS). |
| SHELL-04 | Onboarding / first-run | [x] | [ ] | [x] | [-] | Desktop model bootstrap (`onboarding.llmModelSize` aligned to 4.0GB `gemma4:e4b`, `GAP-UX-07` `[x]`); mobile audience/theme/locale |
| SHELL-04 | Onboarding / first-run | [x] | [ ] | [~] | [-] | Desktop model bootstrap (`onboarding.llmModelSize` aligned to 4.0GB `gemma4:e4b`, `GAP-UX-07` `[x]`); mobile audience/theme/locale. **2026-11-01:** 신규 사용자 목적지를 persistence 전에 준비하도록 수정하고 Fold6에서 `.2` fresh auth/signup/invite/small-screen 4/4 PASS (`fold6-20261101-fix1`); latest `.3` first-run auth and retry fail at onboarding visibility (`fold6-20261101-mtg13`). Existing personal data was preserved; fresh-state retest remains open. |
| SHELL-05 | Accessibility / reduced motion | [~] | [~] | [~] | [-] | Desktop reduced-motion honored; mobile a11y rows pending |
| SHELL-06 | System tray / background | [x] | [-] | [-] | [-] | Desktop tray |
| SHELL-07 | Auto-launch on login | [x] | [-] | [-] | [-] | Desktop only |
@ -235,7 +236,7 @@ end-to-end behaviour has **not been verified by typing in a real app** (`11` GAP
| INFRA-17 | 서명 없는 배포 채널 (portable + Scoop) | [x] | `scripts/ci/build-portable.mjs` (95MiB 7z 분할 볼륨 + Scoop 매니페스트), `scripts/ci/publish-portable-release.mjs`, `scripts/local/install-d3ro-voice.ps1`, `bucket/` 버킷, `.forgejo/workflows/portable.yml`; 7z 분할 볼륨(Scoop, 162MiB) + zip 분할 부품(수동 설치, 243MiB, 7-Zip 불필요); updater feed와 분리. 2026-09-18 `portable-1.3.1` 게시 + 실제 설치 검증. |
| INFRA-18 | 로컬 런타임 온디맨드 설치 | [x] | `RuntimeProvisioner`(부품 다운로드 + SHA-256 검증 + tar 해제, `%APPDATA%/d3ro-voice/runtime`), `POST runtime:ensure` / `runtime:progress` IPC, 설정 > STT 상태/내려받기 UI. 설치본에서 엔진/ffmpeg를 분리해 189MB → 90.6MiB, 업데이트 피드 게시 복구. 검증은 전부 디스크에 기록된 파일 기준이며(부품 크기·해시 → 결합본 크기·해시), 부품 다운로드는 최대 3회 재시도한다. 2026-09-18 실제 feed 통합 검증(엔진 94.4MiB/18초, ffmpeg 21.7MiB/5초). |
| INFRA-19 | 네이티브 ABI + updater 설정 게이트 | [x] | `scripts/ci/verify-native-abi.mjs`(패키징된 `better_sqlite3.node`가 Electron ABI인지 호스트 Node 로드 거부로 판별) + `scripts/ci/fix-native-abi.mjs`(로컬 잠금 우회용 주입). GitLab/Forgejo/GitHub 패키징 단계에 검증 삽입. 2026-09-18: Node ABI 모듈로 앱이 시작 즉시 죽은 사고 + 누락으로 자동 업데이트가 죽은 사고를 함께 방지(). |
| INFRA-20 | Desktop typing race and load verification | [~] | `scripts/verification/typing-race-proof.mjs` retains three-service HEAD/current A/B reports (1/17 vs 17/17 on 2026-10-30, with current dependencies/tests in both). `typing-fixture` provides an isolated WinForms scan-code/IME/CPU-load matrix; `typing-runtime/build.ps1` builds an interactive launcher that checks the installed app is closed before opening the actual product bundle with a separate profile. Automatic correction defaults off; protocol/startup registration is blocked; product version and bundle hash identify the tested build. Compilation passed, but interactive execution and model-load evidence remain pending. Procedure: `scripts/verification/README.md`; see GAP-INPUT-11 and `02-infrastructure.md` §3. |
| INFRA-20 | Desktop typing race and load verification | [~] | `typing-race-proof.mjs` accepts `--baseline` and defaults to pre-fix `f49acf0`, preserving three-service overlays and hashes. 2026-11-01: baseline 2/17 vs current 17/17; three whole-word loss cases fail before/pass after. CPU/physical-key/model-load overlap remains pending: native GUI helper unavailable. Sidecar minimum 1.16.0 delivers the CPU/UIA source changes; runtime-first release includes native startup/health smoke. See [evidence](../evidence/2026-11-01-completion.md), GAP-INPUT-11. |
---

View file

@ -63,6 +63,7 @@ Legend: `[ ]` open · `[~]` in progress · `[!]` blocked externally · `[x]` res
| GAP-MEM-02 | Dictionary | No dictionary import/export on any surface. | catalog MEM-07 | `[x]` 2026-09-13: desktop `dictionary:import/export` (JSON/CSV), web serialize/parse + download/upload, mobile via `data-portability`; 8 new unit tests. |
| GAP-MTG-01 | Meetings | Audio seek ↔ transcript timestamp sync missing. | `apps/mobile-rn/src/features/meetings/meetings-service.ts`, `MeetingDetailScreen.tsx`, `apps/web/src/components/meetings/{meeting-audio-player,live-transcript-list}.tsx`, `apps/mobile-rn/__tests__/meetings.test.ts` | `[x]` 2026-10-30: 모바일(`MeetingDetailScreen.tsx`)과 웹(`meeting-audio-player.tsx` ↔ `live-transcript-list.tsx`) 및 데스크톱(`TranscriptTab.tsx` / `EditableSegment.tsx`)에 `[MM:SS]` 구간 타임스탬프 파싱·오디오 시크 이동 및 재생 위치별 활성 전사 세그먼트 하이라이트를 구현했다 (`__tests__/meetings.test.ts` 통과). |
| GAP-MTG-02 | Meetings | Speaker diarization only partially done on desktop; absent web/mobile. | `docs/phases/phase-15.5-speaker-diarization.md`, SSOT H-014 | Finish desktop pyannote path; expose speaker labels cross-surface. |
| GAP-MTG-03 | Meetings | Existing recordings could become plain transcription history, but not a meeting with linked audio and minutes. | desktop `MeetingModeService`, `meeting/imported-recording.ts`, `meeting-mode-handlers.ts`; mobile `MeetingsScreen` → `RecordScreen`; MTG-13 | `[~]` 2026-11-01: desktop/mobile import flows and canonical transcript/audio persistence implemented; full offline suites, lint/typecheck/build and real MP3/M4A integration PASS. Remaining: run Electron picker→transcript→minutes GUI and authenticated Android picker→upload→transcript→minutes on Fold6. |
| GAP-INFRA-01 | Build | `apps/mobile-rn` is outside npm workspaces, so root `typecheck`/`test`/`lint` skip it. `typecheck:mobile`/`lint:mobile`/`test:mobile`/`verify:all` root scripts added 2026-09-13 (`package.json`), but membership/CI integration is still open. | `package.json`, `.forgejo/workflows/ci.yml`, `.gitlab-ci.yml` | `[x]` 2026-10-30: React Native Metro/Gradle 네이티브 오토링킹 격리를 위해 `apps/mobile-rn`은 독립 `node_modules`로 유지하고, 루트 `verify:all` 및 `.forgejo/workflows/ci.yml`·`.gitlab-ci.yml`의 `mobile-quality` 잡이 모바일 `lint`·`typecheck`·`test:ci`를 필수 게이트로 실행하도록 정본화했다. |
| GAP-MOB-01 | Legacy | `apps/mobile` Expo skeleton duplicated auth/data code and got version-sync edits. | SSOT G-002 | `[x]` 2026-09-13: deleted `apps/mobile`, removed from `sync-version.mjs` and `package-lock.json`; `version:check` GREEN. |
| GAP-INFRA-02 | CI | GitLab admin NAS deploy job is disabled; admin deploy is manual/GHCR. | `.gitlab-ci.yml`, `docs/deployment/nas-deploy-runbook.md` | `[x]` 2026-10-30: 임시 CI DinD 데몬만 바꾸던 구 잡 대신 `docker-compose.nas.yml` 기반의 정본 배포·헬스체크·롤백 절차를 `docs/deployment/nas-deploy-runbook.md`로 문서화하고 `.gitlab-ci.yml` 및 `02-infrastructure.md`에 연결했다. |
@ -131,7 +132,7 @@ These are the mobile SSOT rows still `[ ]` / `[~]`. Do not duplicate the full te
|---|---|---|
| G (governance) | G-002, G-006, G-007, G-008, G-009, G-010, G-011 | Type/error/identity consolidation, legacy bundle separation, credential rotation |
| A (auth/account) | A-001..A-013, A-018; A-014..A-017 `[~]` | Session restore, signup, deep links, OAuth, profile, provider E2E |
| O (onboarding/a11y) | O-001..O-007, O-009, O-011; O-008/O-010/O-012 `[~]` | Onboarding branches, permissions, tutorial; app-wide theme coverage, TalkBack/font-scale/rotation; full-app ko/en audit |
| O (onboarding/a11y) | O-002..O-007, O-009, O-011; O-001 `[~]`, O-008/O-010/O-012 `[~]` | O-001 2026-11-01: `.2` Fold6 fresh auth/signup/small-screen PASS; latest `.3` fresh-auth/retry FAILED (onboarding visibility), 회귀 테스트 추가(`apps/mobile-rn/.maestro-output/fold6-20261101-fix1/`). Remaining: permissions, tutorial; app-wide theme coverage, TalkBack/font-scale/rotation; full-app ko/en audit |
| D (data/sync/offline) | D-001..D-014 | Schema/RLS, devices, cross-surface read/write, offline queue, conflict policy |
| R (record/transcribe) | R-001..R-009, R-011..R-015, R-017..R-020; R-016 `[x]` | Permissions, recorder, FGS, upload queue, job state, sharing |
| H (history/meetings) | H-001..H-005, H-007..H-010, H-012..H-015; H-006/H-011/H-016 `[x]` | Pagination, filters, detail, meeting timeline/docs/diarization/cross-app |
@ -249,3 +250,13 @@ Actionable checklist for the work started this session. Fields to fill are blank
|---|---|---|---|
| CONSTRAINT-INPUT-01 | 입력 레메트리는 **키 내용을 저장하지 않는다.** 카운터(키 입력·클릭·스크롤)와 마우스 이동 거리, 그리고 **사용자가 명시적으로 동의한 경우에만** 읽은 텍스트(학습 DB)만 남긴다. 키코드→문자 복원은 시도하지 않는다. | ActivityWatch `aw-watcher-input` 이 같은 이유로 같은 선택을 한다 — 전역 키 내용 수집은 보안·프라이버시 파급이 크고, 신뢰를 잃으면 기능 자체가 사라진다(README 원문: "This does not track which keys you press … This is not a keylogger, and never will be"). 게다가 키코드 복원은 한/일 IME 에서 원리적으로 불가능하다(조합 결과가 텍스트다). | 수집은 옵트인(`inputTelemetryEnabled`/`inputLearnTypedText` 기본 false), 비밀번호 필드는 `IsPassword` 로 fail-closed 차단, 앱별 제외, 30일 보존 후 자동 삭제, "수집된 데이터 삭제" 버튼(동의 철회 시 즉시 삭제 + 학습 플래그 해제), 전송 없음(로컬 SQLite 전용). |
| CONSTRAINT-I18N-01 | `packages/core/src/keybinding.ts` 는 i18n 키를 평범한 `string` 으로 노출한다. 렌더러가 `asTranslationKey()`(`apps/desktop/src/renderer/components/keybinding/translation-key.ts:7`)로 경계에서 캐스팅하므로, 존재하지 않는 키를 넘겨도 컴파일러가 잡지 못한다. | core 가 로케일 패키지에 의존하지 않게 하려는 의도적 설계다. 검토한 대안 둘 다 성립하지 않는다 — (A) 키 필드를 리터럴 유니온으로 좁히는 방식은 `KEY_CATALOG` 가 `letterEntries()` 같은 함수 생성부를 포함해 불가능하고, (B) core 가 `@d3ro/i18n` 의 타입 가드를 쓰는 방식은 의존 방향을 core → i18n 으로 역전시켜 `03-shared-packages.md` §6 의 전제를 깬다. 2026-09-21 결정: 현행 유지. | `packages/core/__tests__/keybinding-i18n.test.ts` (14 케이스). core 가 참조하는 키가 12개 로케일 전부에 있는지, 값이 빈 문자열이 아닌지, core 가 렌더러 전용 `keybinding.ui.*` 를 참조하지 않는지 검사한다. 거부 사유 키는 하드코딩 목록이 아니라 실제 `validateBinding` 경로를 태워 수집하므로 새 사유가 생기면 자동으로 커버된다. |
## 2026-11-01 recovery gates
- `[x]` Meeting import account isolation: before-copy, after-copy and A→B→A all reproduced unwanted persistence, then passed after revision guards; generated audio removed on rejection. Test: `meeting-import.usecase.test.ts`.
- `[~]` GAP-INPUT-11: current deterministic A/B 17/17 (pre-fix 2/17), Python 27/27 and packaged engine startup/health pass. Runtime feed was still 1.10.0; minimum 1.16.0 and runtime-first deployment now require CPU/UIA fixes. Windows native helper is unavailable, so actual high-load typing/model-load overlap remains open.
- `[~]` GAP-MTG-03: real ffmpeg MP3/M4A 2/2 and Fold6 `.3` entry/editor rendering pass. Desktop file picker→minutes and mobile file→transcript→minutes remain unverified; no paid inference was run.
- `[!]` Mobile production release: `release:mobile:config` fails `firebase_expected_project_id_missing`, also with root `.env`. No production APK/AAB/Play publication. Latest `.3` first-run failures are retained, historical `.2` PASS is not promoted to current proof. Next: configured production credentials and isolated fresh-state device test that preserves personal data.
- `[~]` Historical remote `origin/seoro/project-overview-report` (`9cd965d`, 2026-04-13) remains unmerged: its titlebar/scrollbar/cloud settings changes are superseded by the September shell and current i18n. It is not today's work; preserve the branch rather than reverting current shell behavior.
Evidence and inventory: [2026-11-01 completion](../evidence/2026-11-01-completion.md).

View file

@ -94,17 +94,17 @@
| 묶음 | 현재 판정 | 확인된 증거 / 남은 게이트 |
|---|---|---|
| Auth·계정 | 구현·자동화 GREEN, 외부 OAuth·privacy purge 기기 E2E 대기 | auth/signup/invite 경계는 최신 exact APK `.11`에서 PASS. Keychain 세션, 중앙 `purgeAllAccountLocalData`, cold no-session·SIGNED_OUT·refresh session loss·A→B 전환·실패 재시도 경계는 전체 모바일 57 suites/353 tests에 포함돼 GREEN. 실제 token-expiry 강제 로그아웃·logout/delete/provider 연결/해제 기기 E2E와 Google/GitHub/Apple 동의→callback은 남음 |
| 온보딩 | 기존 구현·기기 journey GREEN | 신규/기존 분기, skip/replay, 계정별 preference merge, 알림·마이크 권한 상태 구현. production preference `0→skip→1`, Android PID 유지, 5.8초 내 Main, navigation warning 0을 실측. 이 과거 증거를 2026-09-28 v4 셸의 전 테마·viewport 증거로 재사용하지 않는다 |
| v4 셸·테마·접근성 | 셸 `[x]`, 디자인 시스템·접근성 `[~]` | visible Home/Records/Meetings/More 4탭, hidden Record route, 세 동작 FAB, Home/More, 새/전환된 v4 흐름의 `ScreenHeader`, ui-native dark/light 의미 토큰과 48dp control을 구현했다. 전체 Jest 86 suites/589 tests, 320dp dark 1/1 PASS(88초), 411dp light 1/1 PASS(100초). 기존 stack 화면 전부의 헤더 전환을 뜻하지 않으며 실제 TalkBack/font-scale/rotation은 남음 |
| Auth·계정 | 구현·자동화 GREEN, 외부 OAuth·privacy purge 기기 E2E 대기 | auth/signup/invite 경계는 2026-11-01 Fold6 `1.15.4-e2e.20261101.2`에서 PASS. Keychain 세션, 중앙 `purgeAllAccountLocalData`, cold no-session·SIGNED_OUT·refresh session loss·A→B 전환·실패 재시도 경계는 Jest GREEN. 실제 token-expiry 강제 로그아웃·logout/delete/provider 연결/해제 기기 E2E와 Google/GitHub/Apple 동의→callback은 남음 |
| 온보딩 | 현재 구현·Fold6 journey GREEN | 신규 사용자 목적지를 persistence 전에 준비하도록 수정한 뒤 fresh auth/signup/invite/small-screen 4/4 PASS. 이 증거를 v4 셸의 전 테마·viewport 또는 로그아웃 완료 증거로 재사용하지 않는다 |
| v4 셸·테마·접근성 | 셸 `[x]`, 디자인 시스템·접근성 `[~]` | visible Home/Records/Meetings/More 4탭, hidden Record route, 세 동작 FAB, Home/More, 새/전환된 v4 흐름의 `ScreenHeader`, ui-native dark/light 의미 토큰과 48dp control을 구현했다. 전체 Jest 87 suites/599 tests, 320dp dark 1/1 PASS(88초), 411dp light 1/1 PASS(100초). 기존 stack 화면 전부의 헤더 전환을 뜻하지 않으며 실제 TalkBack/font-scale/rotation은 남음 |
| 녹음·전사·Talk | 핵심 경로 GREEN | API 34 microphone FGS, 지속 알림, pause/resume/discard, 실제 통화 audio-focus, 프로세스 kill 후 WAV 복구, 파일 import, cloud STT fail-closed, on-device Whisper, Claude SSE, Android TTS를 통합 APK에서 확인. STT provider 호출 전 원자 quota reservation·실패 환불은 20-way 동시성으로 검증. Android `ACTION_SEND` 수신은 허용 MIME·크기·provider 예외·MP4 AAC 추출을 fail-closed로 구현했고 API 34 instrumentation 4/4(CSPRNG 1 + share 3)와 별도 UID 외부 ContentProvider APK→`ACTION_SEND`→Record→durable queue→cancel cleanup E2E가 GREEN |
| 데이터 portability | 구현·공유 E2E GREEN | 00021 atomic export/restore, 손상/타 사용자/충돌 rollback, legacy import를 local integration으로 확인. `portable_exports`→FileProvider `shared_exports` 경계와 PDF Print/DOCX chooser·30초 cleanup을 실제 기기에서 확인 |
| History·회의 | 실제 데이터·회의 생성 계약 GREEN | Supabase history pagination/search/favorite/CAS, Web↔mobile history E2E, meetings/memos/documents RLS/CAS, meeting recording lifecycle 구현. 00025의 제목·참석자·4개 언어·소유 템플릿 원자 생성은 2계정 43 assertions와 competing-payload PT409로 검증. speaker/audio timestamp와 최종 교차 앱 E2E는 남음 |
| History·회의 | 실제 데이터·회의 생성 계약 GREEN, 녹음 파일→회의 `[~]` | Supabase history pagination/search/favorite/CAS, Web↔mobile history E2E, meetings/memos/documents RLS/CAS, meeting recording lifecycle 구현. 00025의 제목·참석자·4개 언어·소유 템플릿 원자 생성은 2계정 43 assertions와 competing-payload PT409로 검증. H-017 기존 파일 회의 import는 생성 라우팅·durable meeting pipeline Jest가 GREEN이지만 실제 파일의 Fold6 전사·회의록 E2E는 NOT_RUN. speaker/audio timestamp와 최종 교차 앱 E2E도 남음 |
| 기록+회의 통합 검색 | `[~]` source/full Jest + 320dp dark·411dp light runtime GREEN | 사용자 범위 history title/original/polished/summary와 meetings title/raw/edited transcript를 병렬 검색해 최신순으로 합치고 각 상세로 이동한다. 두 viewport/theme에서 두 source→detail을 실측했다. 다만 별도 `transcripts` 구간은 검색하지 않고, 모바일 raw-text 과전송·실행 요청 미취소, FTS/index·대규모 성능 미검증이 남음 |
| Teams·Push | 팀 GREEN, 외부 Push 대기 | production 17 assertions와 local 36 assertions로 원자 팀/초대/RLS/role/device token 계약 확인. durable push outbox 00015~00020과 logout device `1→0` 확인. 실제 FCM 수신은 Firebase/FCM 자격 증명·cron 배포가 필요 |
| Billing·Ads | test 광고와 production AdMob identity/SSV 준비, store·실제 지급 E2E RED | Google Play restore는 실제 store list→모든 token 서버 검증→entitlement snapshot 일치 후에만 성공. Google 공식 test adaptive banner와 rewarded `AdActivity` 완주를 실측했다. production app `ca-app-pub-1039714767792854~6427959892`, banner `/9840591290`, rewarded `/2255790918`, `50 cloud_ai_tokens`, SSV URL, Edge v13, durable receipt 원장은 SSOT에 반영했다. 그러나 live는 `검토 필요`, `광고 게재 제한`, store 미연결, 결제 프로필 미완료다 |
| Admin | 서버·Web·모바일 E2E와 production DB·Edge 배포 GREEN | .NET 21/21, 00023 관리 integration 25 assertions, Edge/JWT 47 assertions와 TLS Chromium E2E GREEN. 모바일 API 34에서 ordinary/manager/admin/super_admin 및 stale 강등을 55 assertions로 실측: Free test 광고, Pro 광고 미요청, 관리자 메뉴/API 차단, 구독 수정, 역할 경계·변경, 삭제 확인·취소, stale JWT 403와 민감 state purge가 모두 PASS. fixture 잔존 0. production 00023 및 admin Edge 4개 배포 후 익명 GET은 모두 `401 authentication_required` + `Cache-Control: no-store`로 재검증 |
| 품질·배포 | current local source/runtime gate GREEN, production 배포 RED | 2026-09-28 현재 tree 전체 Jest 86 suites/589 tests GREEN. 로컬 E2E APK는 `com.d3ro.voice`, `1.9.0-e2e.20260928.2`/`202609282`, 147063583 B, SHA-256 `96EBA2A47E54033EB0DEFCE4E4D282F1D06F162A5F7DF9457E99609D98745D58`이며 두 canonical Maestro 보고서가 GREEN이다. 이것은 production-signed artifact가 아니므로 Firebase·CI secret 주입·AAB·Play track·Fold6 Play 설치 게이트는 그대로 RED다 |
| 품질·배포 | source GREEN; current first-run unverified; production RED | 2026-11-01: Jest 87 suites/599 tests, lint/typecheck GREEN. 현재 Fold6 APK `.3` / `2026110103`, 147158575 B, SHA-256 `937d2a0b3fb6b810516f07e91dd97ffe99d34c5885a72f21805a51e8a408027f`는 artifact verifier GREEN이며 import 버튼·폼이 표시된다. `.2`의 4/4 PASS와 달리 `.3` 첫 실행 시험 2회는 실패했고 재초기화 없이 보존했다. production config는 `firebase_expected_project_id_missing`; AAB/Play 미배포. |
**v4 제거 범위:** `DashScreen`과 `WorksHubScreen`을 삭제했다. Home과 1급 탭/More가 기존 목적지를 보존하며 사용자 콘텐츠는 삭제하지 않았다. WorksHub 전용 로컬 도구 검색·고정은 복잡도 축소를 위해 의도적으로 종료했고, 비활성 `works-hub-pins.v1` AsyncStorage 키는 업그레이드 설치에 남을 수 있다.
@ -162,7 +162,7 @@
### O — 온보딩·튜토리얼·테마·접근성
- [ ] O-001 첫 실행 welcome과 기존 사용자/신규 사용자 분기
- [~] O-001 첫 실행 welcome과 기존 사용자/신규 사용자 분기 — 2026-11-01 `.2` Fold6 fresh auth/signup/small-screen PASS; 이후 `.3` fresh-auth와 retry는 onboarding visibility 실패. 현재 첫 실행 재검증이 남아 있다. 신규 사용자 목적지 준비 순서 회귀 테스트와 증거는 `apps/mobile-rn/__tests__/onboarding-fresh-route.test.tsx`, `apps/mobile-rn/.maestro-output/fold6-20261101-fix1/`
- [ ] O-002 로그인 전 개인정보·클라우드 처리·녹음 권한 설명
- [ ] O-003 마이크 권한 요청/거부/다시 묻지 않음/설정 이동
- [ ] O-004 알림 권한은 가치 설명 뒤 요청하고 거부 시 기능 저하 안내
@ -235,6 +235,7 @@
- [ ] H-014 화자 구분 상태·화자명 편집·미지원 fallback
- [ ] H-015 Web↔모바일 동일 회의 교차 편집 E2E
- [x] H-016 홈 기록+회의 통합 검색 — 2026-10-30: `unified-search-service.ts` + `UnifiedSearchScreen.tsx`에 `AbortSignal`/검색 세대 토큰 취소, transcript segment 매칭, 필요한 컬럼/스니펫만 가져오는 경량 프로젝션을 구현해 `GAP-UX-05` 해소 (`__tests__/unified-search-service.test.ts` 통과)
- [~] H-017 기존 녹음 파일을 회의로 가져와 전사·회의록 생성 — 2026-11-01: `MeetingsScreen`의 녹음 파일 동작이 회의 메타데이터를 원자 생성한 뒤 `RecordScreen`의 `meetingId + importRequest`로 연결된다. 파일 검증·업로드·전사·회의 완료는 기존 durable queue와 `mobile_complete_meeting_processing`을 재사용한다. 생성 라우팅과 durable meeting import Jest는 GREEN이나 Fold6에서 실제 파일 선택→전사→회의록 생성은 미실행이다. |
### F — 데스크톱/Web 전체 기능의 모바일 화면
@ -315,7 +316,7 @@
- [~] Q-010 Android debug·release APK clean build — universal debug와 non-debuggable E2E 양 ABI clean build GREEN, production signed release APK/AAB는 외부 secret gate
- [~] Q-011 JS bundle이 포함된 release APK의 offline cold start — embedded bundle non-debuggable E2E APK cold start GREEN, production signed release artifact는 대기
- [ ] Q-012 에뮬레이터 API 35+ 생성·부팅·초기화 script
- [ ] Q-013 fresh install→onboarding→signup/login→logout E2E
- [~] Q-013 fresh install→onboarding→signup/login→logout E2E — 2026-11-01 Fold6에서 fresh install→onboarding→signup/login boundary와 cold restart는 PASS. 실제 계정 로그인·로그아웃은 credentials 부재로 NOT_RUN이므로 전체 완료는 아님
- [ ] Q-014 OAuth provider redirect→callback→session→Main E2E
- [x] Q-015 녹음 권한→실제 오디오 fixture 주입/녹음→전사 결과 E2E
- [x] Q-016 파일 picker→fixture 선택→upload→전사→상세→공유 E2E
@ -368,8 +369,9 @@
| Mobile lint | `npm --prefix apps/mobile-rn run lint` | GREEN, warning/error 0 (`--max-warnings=0`) | `apps/mobile-rn/.eslintrc.js`, `package.json` | 2026-08-21 |
| Mobile typecheck | `npm --prefix apps/mobile-rn run typecheck` | GREEN | `apps/mobile-rn/tsconfig.json` | 2026-08-21 |
| Historical mobile unit | `npm --prefix apps/mobile-rn test` | 당시 전체 통합 tree 57 suites / 353 tests GREEN; 현재 tree 수치가 아님 | `apps/mobile-rn/__tests__` | 2026-08-24 |
| Current mobile unit | `npm --prefix apps/mobile-rn test` | 전체 tree **86 suites / 589 tests PASS**. navigation shell/header/theme와 unified-search service/result-row 계약을 포함 | `apps/mobile-rn/__tests__`, `docs/evidence/wave45-mobile-shell-search-2026-09-28.md` | 2026-09-28 |
| Wave 4/5 local runtime APK | output metadata + file size/SHA-256 + installed/runtime identity 확인 | `com.d3ro.voice`, versionName `1.9.0-e2e.20260928.2`, versionCode `202609282`, 147063583 B, SHA-256 `96EBA2A47E54033EB0DEFCE4E4D282F1D06F162A5F7DF9457E99609D98745D58`. 로컬 E2E artifact이며 production-signed APK/AAB가 아니다 | `apps/mobile-rn/android/app/build/outputs/apk/e2e/{app-e2e.apk,output-metadata.json}`, `docs/evidence/wave45-mobile-shell-search-2026-09-28.md` | 2026-09-28 |
| Current mobile unit | `npm --prefix apps/mobile-rn test` | 전체 tree **87 suites / 599 tests PASS**. 온볼딩 목적지 순서와 H-017 회의 생성→녹음 파일 import→durable meeting pipeline 회귀를 고정하고 lint/typecheck도 GREEN | `apps/mobile-rn/__tests__/{onboarding-fresh-route.test.tsx,meeting-creation-screen.test.tsx,record-screen-redteam-r2-27.test.tsx}` | 2026-11-01 |
| Current local runtime APK | metadata + SHA-256 + installed identity + Build Tools 37 verifier | `.3` / `2026110103`, 147158575 B, SHA-256 `937d2a0b3fb6b810516f07e91dd97ffe99d34c5885a72f21805a51e8a408027f`; local E2E artifact, production 아님. import entry/editor 실기 표시 확인; 저장·전사·회의록은 미검증 | `test-results/recovery-2026-11-01/android-artifact.json`, `mobile-import.xml`, `mobile-import.png` | 2026-11-01 |
| Historical `.2` Fold6 first-run gate | bundled E2E APK fresh install + canonical auth/signup/invite + `840x1490` signup | **4/4 PASS**: auth 60초, signup 67초, invite 31초, small-screen signup 61초. 신규 사용자가 SignUp으로 진입하고 cold restart 후 Login이 유지된다. fatal/Metro matches 0. 계정 필요 authenticated parity는 credentials 부재로 NOT_RUN | `apps/mobile-rn/.maestro-output/fold6-20261101-fix1/`, `apps/mobile-rn/.maestro/{fresh-install-auth,fresh-install-signup,small-screen-signup}.junit.xml` | 2026-11-01 |
| Mobile v4 320dp dark runtime | `apps/mobile-rn/.maestro/navigation-shell-search-local.yaml` | **1/1 PASS, 0 failure, 88초**: visible 4 tabs, FAB open/back close, Home unified search, record+meeting results→both details, Records/Meetings/More navigation | `scratch/design-audit/wave45/navigation-shell-search-320-dark-verified.xml`, `docs/evidence/wave45-mobile-shell-search-2026-09-28.md` | 2026-09-28 |
| Mobile v4 411dp light runtime | same journey on 411dp light | **1/1 PASS, 0 failure, 100초**. 두 보고서는 shell/viewport/theme runtime proof이며 TalkBack/font-scale/rotation 또는 production release proof가 아니다 | `scratch/design-audit/wave45/navigation-shell-search-411-light-verified.xml`, `docs/evidence/wave45-mobile-shell-search-2026-09-28.md` | 2026-09-28 |
| Supabase local | migration-up + shadow replay 00001~00028 및 domain integration | 기존 domain integration에 더해 AdMob receipt 원장의 unknown/ineligible/cooldown replay, account-delete unlink, ACL, 교차 사용자·동시 요청을 검증했다. mobile-platform 85/85, reward race 2회 연속, SSV Deno 6/6, db lint error 0, shadow diff empty, fixture cleanup 0 | `server/supabase/migrations/20260821000028_ad_reward_receipt_replay_protection.sql`, `server/supabase/tests`, `server/supabase/functions/_shared/admob-ssv.test.ts` | 2026-08-24 |
@ -414,3 +416,5 @@
- 결제·광고 보상은 서버 검증 전에 entitlement/토큰을 바꾸는 경로가 0건인지 검사한다.
- 에뮬레이터를 초기화한 clean install과 기존 사용자 upgrade install을 모두 검증한다.
- 실제 설치 APK의 version/signature/hash와 화면에 표시된 버전을 대조한다.
2026-11-01 recovery: later `.3` first-run failures are preserved in `apps/mobile-rn/.maestro-output/fold6-20261101-mtg13/`. Source regression tests pass, but the current APK has no fresh-state PASS. This run did not reset app data, log out the user, or run paid STT/LLM/Play operations. [Completion evidence](../evidence/2026-11-01-completion.md).