diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cb99dd2..1f92eacd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,23 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Fixed -- Prevent fast Han/Eng auto-correction from interleaving with the next keystroke; defer corrections during continuous bursts and apply the current trailing correction region together after typing pauses. - ### Planned - macOS / Linux support - Additional Whisper model management UI - Plugin system for custom pipelines - -## [1.16.1] - 2026-11-04 - -> Published from an annotated tag. Installer and update metadata are served by the -> canonical Forgejo feed; no binaries are committed to this repository. - -### Fixed -- prevent fast correction input races - ## [1.16.0] - 2026-11-01 ### Added diff --git a/apps/admin-swagger/openapi.json b/apps/admin-swagger/openapi.json index a159b01b..fc7ea1f9 100644 --- a/apps/admin-swagger/openapi.json +++ b/apps/admin-swagger/openapi.json @@ -3,7 +3,7 @@ "info": { "title": "D3RO-VOICE Admin API", "description": "Admin CRM Edge Functions for user management, subscription CRUD, payment history, and audit logs.", - "version": "1.16.1" + "version": "1.16.0" }, "servers": [ { diff --git a/apps/admin/package.json b/apps/admin/package.json index 9b2656fb..5b7a2aa9 100644 --- a/apps/admin/package.json +++ b/apps/admin/package.json @@ -1,6 +1,6 @@ { "name": "@d3ro/admin", - "version": "1.16.1", + "version": "1.16.0", "private": true, "description": "D3RO Voice Admin CRM — SaaS 관리 도구", "scripts": { diff --git a/apps/api-server/D3ROVoice.Api.csproj b/apps/api-server/D3ROVoice.Api.csproj index 07bd9006..9046f587 100644 --- a/apps/api-server/D3ROVoice.Api.csproj +++ b/apps/api-server/D3ROVoice.Api.csproj @@ -2,7 +2,7 @@ net10.0 - 1.16.1 + 1.16.0 enable enable diff --git a/apps/desktop/package.json b/apps/desktop/package.json index e49f1f12..35333d92 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@d3ro/desktop", - "version": "1.16.1", + "version": "1.16.0", "productName": "d3ro-voice", "description": "로컬 AI 음성 어시스턴트 (Electron)", "main": "./out/main/index.js", diff --git a/apps/desktop/src/main/services/InputTelemetryService.ts b/apps/desktop/src/main/services/InputTelemetryService.ts index 3a24e4b4..ef8b4014 100644 --- a/apps/desktop/src/main/services/InputTelemetryService.ts +++ b/apps/desktop/src/main/services/InputTelemetryService.ts @@ -823,8 +823,9 @@ class InputTelemetryService extends EventEmitter { } private _scheduleTextSnapshot(keyClass?: KeyStrokeClass): void { - // 공백·문장부호 뒤의 한영 전환은 140ms 동안 다음 키가 없을 때만 시작한다. - // 더 빠른 연속 입력 중에는 삭제 배치와 다음 키가 섞일 수 있으므로 유휴 스냅샷에서 묶어서 교정한다. + // Araso 급 빠른 한영 전환: 공백·문장부호 직후에는 40ms 뒤에 즉시 스냅샷을 찍고, + // 일반 글자 입력 중에는 단어를 치는 도중(예: sometime 의 some 시점) 끼어들어 글자를 삼키지 않도록 + // 700ms 디바운스 타이머(_textTimer)에 맡긴다(Vim 명령줄 :wq 등은 160ms). if (this._typoTimer) clearTimeout(this._typoTimer) if (keyClass && TYPING_KEY_CLASSES.has(keyClass) && configGet('typoAutoCorrectEnabled') !== false) { const isBoundaryKey = @@ -833,7 +834,7 @@ class InputTelemetryService extends EventEmitter { (keyClass === 'digit' && this._modifiers.shift) const quickDelay = isBoundaryKey && this._shouldRunFastTerminalBoundarySnapshot() - ? 140 + ? 40 : !isBoundaryKey && this._terminalTracker.vimMode === 'command' ? 160 : null diff --git a/apps/desktop/src/main/services/TypoCorrectionService.ts b/apps/desktop/src/main/services/TypoCorrectionService.ts index 52a57a6d..6fb9a624 100644 --- a/apps/desktop/src/main/services/TypoCorrectionService.ts +++ b/apps/desktop/src/main/services/TypoCorrectionService.ts @@ -23,7 +23,6 @@ import { EventEmitter } from 'events' import { TYPO_IGNORED_WORDS_MAX, TYPO_MIN_IDLE_MS, - TYPO_REGION_MAX_CHARS, TYPO_REVERT_WINDOW_MS, buildVocabulary, detectJamoNoise, @@ -249,11 +248,9 @@ export class TypoCorrectionService extends EventEmitter { const keyAtDecision = this._deps.lastKeyAt() const maxDeterministicSpan = - options.trailingWordOnly === true && context.idleMs >= LAYOUT_TRAILING_MIN_IDLE_MS - ? TYPO_REGION_MAX_CHARS - : options.trailingWordOnly === true || context.idleMs < TYPO_MIN_IDLE_MS - ? MAX_FAST_DELETE_CHARS - : MAX_INPLACE_DELETE_CHARS + options.trailingWordOnly === true || context.idleMs < TYPO_MIN_IDLE_MS + ? MAX_FAST_DELETE_CHARS + : MAX_INPLACE_DELETE_CHARS const allCorrections = detectTypos(prefix, { includeTrailingToken: true, ignoredWords, @@ -262,7 +259,6 @@ export class TypoCorrectionService extends EventEmitter { terminalMode: isTerminal }) const baseCorrections: TypoCorrection[] = [] - let deferredTrailingCorrections = false if (options.trailingWordOnly !== true) { for (const c of allCorrections) { if (prefix.length - c.start <= maxDeterministicSpan) { @@ -270,16 +266,11 @@ export class TypoCorrectionService extends EventEmitter { } } } else { - // 빠른 연속 입력 뒤 일부만 고치면 다음 스냅샷에서 앞쪽 교정이 누락된다. - // 짧은 유휴에는 꼬리 사슬 전체가 들어올 때까지 기다리고, 충분히 멈추면 현재 검사 영역을 한 번에 교정한다. + // trailingWordOnly: 커서 끝에서 가까운 연속 교정 사슬만 남긴다 (예: "ㅑ ㅊ무'ㅅ " → "I can't ", + // 반면 문장 앞쪽의 이미 지나간 긴 문장은 건드리지 않는다). for (let i = allCorrections.length - 1; i >= 0; i -= 1) { const c = allCorrections[i] - if (prefix.length - c.start > maxDeterministicSpan) { - const nextCorr = baseCorrections[0] - const between = nextCorr ? prefix.slice(c.end, nextCorr.start) : '' - deferredTrailingCorrections = /^[ \t.,!?;:]*$/u.test(between) || between.trim().length <= 2 - break - } + if (prefix.length - c.start > maxDeterministicSpan) break if (baseCorrections.length === 0) { const tailAfter = prefix.slice(c.end) const nonSpaceTailLen = tailAfter.replace(/[ \t.,!?;:]/gu, '').length @@ -296,7 +287,6 @@ export class TypoCorrectionService extends EventEmitter { } } } - if (deferredTrailingCorrections && context.idleMs < LAYOUT_TRAILING_MIN_IDLE_MS) return 'pass' const loneJamoRemovals = !isTerminal && options.trailingWordOnly !== true && (fullCheckEligible || baseCorrections.length > 0) ? detectJamoNoise(prefix, { ignoredWords }).filter( diff --git a/apps/desktop/src/main/utils/win32-unicode-input.ts b/apps/desktop/src/main/utils/win32-unicode-input.ts index a56746a1..659fa24f 100644 --- a/apps/desktop/src/main/utils/win32-unicode-input.ts +++ b/apps/desktop/src/main/utils/win32-unicode-input.ts @@ -162,7 +162,7 @@ export function sendWin32UnicodeText(text: string): boolean { * (선택적 IME 조합 확정 Space) + 커서 앞 백스페이스 N번 + UTF-16 문자열 입력을 * 단 한 번의 Windows SendInput 호출로 입력 큐에 연속해서 주입한다. * - * 다른 프로세스의 입력이 배치 사이에 섞일 수 있으므로 자동 교정 호출자는 연속 타이핑 중 삭제를 미뤄야 한다. + * Win32 SendInput 규약상 단일 호출 안의 INPUT 배열 사이에 사용자의 물리 키 입력이 끼어들 수 없으므로, * 배치 내부의 순서만 보장한다. 이전 스냅샷 이후 바뀐 커서/텍스트, 대상 앱의 처리 시간, * IME 상태까지 보장하지 않는다. 일부 입력만 성공하면 삭제/입력 배치를 재실행하지 않는다. */ diff --git a/apps/desktop/tests/main/services/TypoCorrectionService.test.ts b/apps/desktop/tests/main/services/TypoCorrectionService.test.ts index 3f7f0c4c..ed59c93d 100644 --- a/apps/desktop/tests/main/services/TypoCorrectionService.test.ts +++ b/apps/desktop/tests/main/services/TypoCorrectionService.test.ts @@ -100,25 +100,6 @@ describe('TypoCorrectionService', () => { expect(corrected).toHaveBeenCalledTimes(1) }) - it('빠른 연속 입력의 부분 교정은 미루고 멈춘 뒤 현재 영역 전체를 한 번에 교정한다', async () => { - const fake = deps() - const service = new TypoCorrectionService(fake.deps) - const prefix = 'dkssudgktpdy rkatkgkqslek qksrkqtmqslek '.repeat(3) - const expected = '안녕하세요 감사합니다 반갑습니다 '.repeat(3) - - expect( - service.handleTypingContext(typingContext({ prefix, idleMs: 380 }), { trailingWordOnly: true }) - ).toBe('pass') - expect(fake.replaceBeforeCaret).not.toHaveBeenCalled() - - expect( - service.handleTypingContext(typingContext({ prefix, idleMs: 650 }), { trailingWordOnly: true }) - ).toBe('correcting') - await flush() - expect(fake.replaceBeforeCaret).toHaveBeenCalledTimes(1) - expect(fake.replaceBeforeCaret).toHaveBeenCalledWith(prefix.length, expected) - }) - it('아직 치는 중이면(유휴 부족) 고치지 않는다', () => { const fake = deps() const service = new TypoCorrectionService(fake.deps) diff --git a/apps/desktop/tests/main/services/input-telemetry-ime-keys.test.ts b/apps/desktop/tests/main/services/input-telemetry-ime-keys.test.ts index 97220a34..e813c22b 100644 --- a/apps/desktop/tests/main/services/input-telemetry-ime-keys.test.ts +++ b/apps/desktop/tests/main/services/input-telemetry-ime-keys.test.ts @@ -25,8 +25,6 @@ import { interface Internal { _handleKeyDown(event: { keycode: number; ctrlKey: boolean; altKey: boolean; metaKey: boolean; shiftKey: boolean }): void - _scheduleTextSnapshot(keyClass?: 'letter' | 'space'): void - _captureTextSnapshot: () => Promise _lastTypedAt: number } @@ -55,25 +53,4 @@ describe('IME 글자 키', () => { service._handleKeyDown(key(0)) expect(service._lastTypedAt).toBe(0) }) - - it('단어 경계 교정 스냅샷은 140ms 동안 추가 입력이 없을 때만 실행한다', () => { - vi.useFakeTimers() - try { - const service = getInputTelemetryService() as unknown as Internal - const capture = vi.fn(async () => null) - service._captureTextSnapshot = capture - - service._scheduleTextSnapshot('space') - vi.advanceTimersByTime(139) - service._scheduleTextSnapshot('letter') - vi.advanceTimersByTime(1) - expect(capture).not.toHaveBeenCalled() - - service._scheduleTextSnapshot('space') - vi.advanceTimersByTime(140) - expect(capture).toHaveBeenCalledTimes(1) - } finally { - vi.useRealTimers() - } - }) }) diff --git a/apps/mobile-rn/android/app/build.gradle b/apps/mobile-rn/android/app/build.gradle index 6dd212d5..62d8eab5 100644 --- a/apps/mobile-rn/android/app/build.gradle +++ b/apps/mobile-rn/android/app/build.gradle @@ -151,8 +151,8 @@ def versionSettingsValid = configuredVersionName != null && configuredVersionName ==~ strictSemver && configuredVersionCodeValue != null && configuredVersionCodeValue <= 2100000000L -def resolvedVersionName = versionSettingsValid ? configuredVersionName : "1.16.1" -def resolvedVersionCode = versionSettingsValid ? configuredVersionCodeValue.toInteger() : 1160100 +def resolvedVersionName = versionSettingsValid ? configuredVersionName : "1.16.0" +def resolvedVersionCode = versionSettingsValid ? configuredVersionCodeValue.toInteger() : 1160000 def requiredReleaseSettings = [ D3RO_RELEASE_STORE_FILE: releaseStoreFilePath, diff --git a/apps/mobile-rn/ios/D3ROVoice.xcodeproj/project.pbxproj b/apps/mobile-rn/ios/D3ROVoice.xcodeproj/project.pbxproj index d4afc203..7d4e7128 100644 --- a/apps/mobile-rn/ios/D3ROVoice.xcodeproj/project.pbxproj +++ b/apps/mobile-rn/ios/D3ROVoice.xcodeproj/project.pbxproj @@ -257,7 +257,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 1160100; + CURRENT_PROJECT_VERSION = 1160000; ENABLE_BITCODE = NO; INFOPLIST_FILE = D3ROVoice/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 15.1; @@ -265,7 +265,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.16.1; + MARKETING_VERSION = 1.16.0; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", @@ -287,14 +287,14 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 1160100; + CURRENT_PROJECT_VERSION = 1160000; INFOPLIST_FILE = D3ROVoice/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 15.1; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.16.1; + MARKETING_VERSION = 1.16.0; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", diff --git a/apps/mobile-rn/metadata/android/en-US/changelogs/1160100.txt b/apps/mobile-rn/metadata/android/en-US/changelogs/1160100.txt deleted file mode 100644 index a6c57884..00000000 --- a/apps/mobile-rn/metadata/android/en-US/changelogs/1160100.txt +++ /dev/null @@ -1 +0,0 @@ -Stability and performance improvements. diff --git a/apps/mobile-rn/metadata/android/ko-KR/changelogs/1160100.txt b/apps/mobile-rn/metadata/android/ko-KR/changelogs/1160100.txt deleted file mode 100644 index 183fbc16..00000000 --- a/apps/mobile-rn/metadata/android/ko-KR/changelogs/1160100.txt +++ /dev/null @@ -1 +0,0 @@ -안정성과 성능을 개선했습니다. diff --git a/apps/mobile-rn/package-lock.json b/apps/mobile-rn/package-lock.json index 0d610948..9a614866 100644 --- a/apps/mobile-rn/package-lock.json +++ b/apps/mobile-rn/package-lock.json @@ -1,12 +1,12 @@ { "name": "@d3ro/mobile-rn", - "version": "1.16.1", + "version": "1.16.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@d3ro/mobile-rn", - "version": "1.16.1", + "version": "1.16.0", "dependencies": { "@d3ro/api-client": "file:../../packages/api-client", "@d3ro/core": "file:../../packages/core", @@ -62,7 +62,7 @@ }, "../..": { "name": "d3ro-voice-monorepo", - "version": "1.16.1", + "version": "1.16.0", "license": "MIT", "workspaces": [ "apps/desktop", @@ -81,7 +81,7 @@ }, "../../packages/api-client": { "name": "@d3ro/api-client", - "version": "1.16.1", + "version": "1.16.0", "license": "MIT", "dependencies": { "@d3ro/core": "*", @@ -98,7 +98,7 @@ }, "../../packages/core": { "name": "@d3ro/core", - "version": "1.16.1", + "version": "1.16.0", "license": "MIT", "dependencies": { "docx": "^9.6.1" @@ -109,7 +109,7 @@ }, "../../packages/i18n": { "name": "@d3ro/i18n", - "version": "1.16.1", + "version": "1.16.0", "license": "MIT", "devDependencies": { "@types/react": "^19.0.0" @@ -120,7 +120,7 @@ }, "../../packages/ui-native": { "name": "@d3ro/ui-native", - "version": "1.16.1", + "version": "1.16.0", "license": "MIT", "devDependencies": { "@types/react": "*" diff --git a/apps/mobile-rn/package.json b/apps/mobile-rn/package.json index 2a82cfed..1356fd63 100644 --- a/apps/mobile-rn/package.json +++ b/apps/mobile-rn/package.json @@ -1,6 +1,6 @@ { "name": "@d3ro/mobile-rn", - "version": "1.16.1", + "version": "1.16.0", "private": true, "scripts": { "android": "react-native run-android", diff --git a/apps/web/package.json b/apps/web/package.json index 17d3c175..384d6e5b 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -1,6 +1,6 @@ { "name": "@d3ro/web", - "version": "1.16.1", + "version": "1.16.0", "private": true, "description": "D3RO Voice 웹 앱 — Next.js 기반 SaaS 인터페이스", "scripts": { diff --git a/apps/web/src/components/layout/sidebar.tsx b/apps/web/src/components/layout/sidebar.tsx index 7ac0b84b..bcb240db 100644 --- a/apps/web/src/components/layout/sidebar.tsx +++ b/apps/web/src/components/layout/sidebar.tsx @@ -139,7 +139,7 @@ export function Sidebar(): React.ReactElement { - v1.16.1 + v1.16.0 diff --git a/docs/evidence/2026-11-02-verification.md b/docs/evidence/2026-11-02-verification.md deleted file mode 100644 index 1fbee575..00000000 --- a/docs/evidence/2026-11-02-verification.md +++ /dev/null @@ -1,29 +0,0 @@ -# 2026-11-02 Windows GUI verification and typing-race follow-up - -All dates below are KST. Runtime artifacts are under `test-results/recovery-2026-11-02/` (ignored). The tested installed application is `C:\Users\encep\AppData\Local\Programs\@d3rodesktop\D3RO Voice.exe`, file version **1.16.0**. No Electron process was launched from the agent shell; the existing installation was restored through its taskbar button. - -## Desktop meeting import — PASS - -- Restored the existing installation, opened Meetings → **녹음 파일 가져오기**, selected the real 8.498-second `local-speech.wav` through the native file picker, and reached the `local-speech` meeting detail. -- The transcript tab shows `[00:00] Hello. This is a local meeting import test. We will review the project tomorrow.` with the expected timestamp. -- **요약 만들기** used the existing local pipeline and produced a Korean summary plus `내일 프로젝트 검토 진행` as an action item; the Documents tab count is 1. No cloud or paid inference was requested. -- Screenshots: `meeting-list.png`, `meeting-import-transcript.png`, `meeting-summary-progress.png`. The test meeting was left in place; no personal data was deleted or reset. - -## Native Korean IME under CPU and model load — PASS with method limits - -- `installed-1.16.0-hangul.json`: calibration plus idle/CPU cases at requested 60/30/15 ms pacing, **7/7 exact matches**. All 240/240 injected events per corpus case were accepted. CPU cases used 23 bounded workers and recorded approximately 100% system CPU. -- `installed-1.16.0-hangul-model-load.json`: **7/7 exact matches**, including native IME composition evidence and all 240/240 events per corpus case. -- `/api/ps` was empty before the model test. A direct local `gemma4:e4b` generate request returned HTTP 200 in **9.389 s**, with **9.275 s model-load duration**. Its inferred request interval overlaps the report's `idle-60` and `idle-30` cases, both exact matches. This is direct Ollama cold-load overlap, not a claim about product-triggered warmup. -- The model was explicitly unloaded after the test; final `/api/ps` is empty. Responses: `ollama-cold-generate.json`, `ollama-ps-before.json`, `ollama-ps-after.json`, `ollama-ps-final.json`. -- These are synthetic scan-code tests in the fixture's own WinForms field, not physical-keyboard, Chromium, terminal, or hardware-IME proof. An initial run aborted on the fixture's foreground guard and is not counted as a pass. - -## Latin-layout correction control — defect reproduced, source fixed, updated-app GUI still pending - -- `installed-1.16.0-latin-control.json` passed only the IME calibration (**1/7**). The six layout-correction cases failed. Examples include `d안녕하세요`, an injected next-word `r` appearing during backspaces, and earlier words remaining unconverted. -- Installed-app logs reported successful `SendInput` replacement counts while the fixture recorded different final text. A single native call therefore does not establish that concurrent input cannot interleave with the replacement. -- Source changes, not yet shipped in the running 1.16.0 installation: - - `InputTelemetryService` waits for a 140 ms gap at a word boundary instead of taking the 40 ms snapshot during a faster burst. - - `TypoCorrectionService` does not partially correct a contiguous trailing chain during the short idle window. At the 650 ms idle checkpoint it corrects the current correction region, up to the existing 120-character core limit, in one replacement. Unrelated earlier text still does not force whole-line rewriting. - - The Win32 comment no longer claims that other processes cannot interleave input. -- Regression coverage: 140 ms rescheduling and deferral of a 120-character burst, followed by one exact Korean replacement. Targeted **48/48**, full desktop **192 files / 2,773 tests**, desktop typecheck, touched-scope lint, `git diff --check`, and production `electron-vite build` all PASS. -- The source fix has **not** been exercised in an updated Electron GUI. Re-run the same Latin control after packaging/installing the change, then expand to physical keyboard and Chromium/terminal surfaces before closing GAP-INPUT-11. diff --git a/docs/map/00-index.md b/docs/map/00-index.md index b879b692..f77fbb8b 100644 --- a/docs/map/00-index.md +++ b/docs/map/00-index.md @@ -2,7 +2,7 @@ > Status: ACTIVE > Last full audit: 2026-09-13 -> Last update: 2026-11-02 — Windows 1.16.0 실GUI에서 회의 파일 선택→전사→로컬 요약 생성을 확인했다. 네이티브 한글 IME는 100% CPU 및 `gemma4:e4b` 콜드 로딩 중 7/7 정확히 통과했다. 한영 자판 교정 대조군은 다음 키가 백스페이스에 섞이는 결함을 재현했고, 소스에서는 140ms 입력 간격 게이트와 유휴 후 현재 영역 일괄 교정으로 수정했다. 데스크톱 2,773개 테스트·빌드는 GREEN이지만 수정본 설치 GUI와 모바일 운영 배포는 남아 있다. 상세 증거: [2026-11-02 verification](../evidence/2026-11-02-verification.md). +> Last update: 2026-11-01 — 미완료 작업 복구·Windows 1.16.0 및 엔진 배포 완료. 회의 import 계정 전환 경합을 수정했고, 입력 A/B는 이전 2/17 → 현재 17/17이다. 공개 엔진을 1.10.0에서 1.16.0으로 올려 CPU/UIA 수정을 전달한다. 모바일 `.3`의 격리 에뮬레이터 auth/signup 2/2 PASS와 기존 Fold6 실패, `.2` 과거 증거를 구분했다. 실제 부하 타이핑과 모바일 운영 배포는 남아 있다. 상세 증거: [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). > diff --git a/docs/map/04-desktop-app.md b/docs/map/04-desktop-app.md index eef3b537..0216ce22 100644 --- a/docs/map/04-desktop-app.md +++ b/docs/map/04-desktop-app.md @@ -272,6 +272,4 @@ DB schema (`src/main/db/schema.ts`, drizzle SQLite): `history`, `dictionary`, `s | 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. Windows 1.16.0 installer, portable and runtime are published; the rebuilt sidecar passed separate-process startup/health and the packaged Windows keyboard N-API binding loaded successfully without starting hooks. Required sidecar minimum 1.16.0 delivers CPU budgeting and terminal UIA changes. [Recovery evidence](../evidence/2026-11-01-completion.md). - -2026-11-02 verification: installed 1.16.0 passed the actual Electron picker→timestamped transcript→local minutes/action-item journey. Native Korean IME passed 7/7 under bounded 100% CPU and 7/7 with a direct 9.389 s `gemma4:e4b` cold-load request overlapping two typing cases. The Latin-layout control exposed next-key/backspace interleaving; source now waits 140 ms at boundaries and batches the current trailing correction region after a 650 ms pause. Full desktop 2,773 tests and production build pass, but the fixed source still needs an updated-app GUI run. Synthetic WinForms input is not physical-keyboard/Chromium/terminal proof. [Verification evidence](../evidence/2026-11-02-verification.md). +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. Windows 1.16.0 installer, portable and runtime are published; the rebuilt sidecar passed separate-process startup/health and the packaged Windows keyboard N-API binding loaded successfully without starting hooks. Required sidecar minimum 1.16.0 delivers CPU budgeting and terminal UIA changes. Windows GUI/native helper remained unavailable; physical typing/model-load overlap and installation into the user's running app are still unverified. [Recovery evidence](../evidence/2026-11-01-completion.md). diff --git a/docs/map/10-feature-catalog.md b/docs/map/10-feature-catalog.md index 6a44f6b8..9ea1da21 100644 --- a/docs/map/10-feature-catalog.md +++ b/docs/map/10-feature-catalog.md @@ -88,7 +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] | [ ] | [~] | [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. **2026-11-02:** installed Windows 1.16.0 passed the actual Electron picker→timestamped transcript→local summary/action-item journey, so desktop is `[x]`. Fold6 `.3` import entry/editor rendered, but authenticated device file-to-minutes E2E remains (`GAP-MTG-03`). [Evidence](../evidence/2026-11-02-verification.md). | +| 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`). | --- @@ -184,7 +184,7 @@ end-to-end behaviour has **not been verified by typing in a real app** (`11` GAP | INPUT-16 | Memory Decay | [~] | [-] | [-] | [-] | Phrase ranking combines a 30-day half-life, frequency and the App DNA 1.75× same-app bonus. | | INPUT-17 | Instant Recall | [~] | [-] | [-] | [-] | Local-memory fallback (`provenance=local-memory`) occurs only for unavailable model, non-cancellation error, actual timeout or empty model result; it spends no additional model budget and is blocked on dismiss, new typing, token/context mismatch or staleness. | | INPUT-18 | Shortcut Safety Audit | [~] | [-] | [-] | [-] | Settings UI applies core `auditKeyBindingMap` to surface invalid/conflict issues while hold/double-press exceptions remain unchanged. | -| INPUT-19 | Typo auto-correct while typing (built-in automatic Han/Eng conversion) | [~] | [-] | [-] | [-] | **2026-10-03; upgraded 2026-10-26..31 (2-Stage Hybrid Auto-Correction: Araso-caliber instant layout engine + Smart Background Gemma Pass + Atomic Single-Syscall SendInput + Delta Rebasing + Terminal & Vim & xterm.js zero-swallow IME protection + live Windows GUI E2E verified).** `TypoCorrectionService` (main, singleton + EventEmitter) runs on each `typed-context` before `SuggestionService`. **Active by default out of the box:** `InputTelemetryService` starts the UIA context observer whenever `typoAutoCorrectEnabled !== false` (even when `inputTelemetryEnabled` is `false`), and skips persisting `input_activity` rows to SQLite unless `inputTelemetryEnabled === true`; in Settings → Input (`InputConsentPanel.tsx`), the `typoAutoCorrect` switch works independently of telemetry consent. **2-Stage Hybrid Auto-Correction (`2026-10-27..28`):** `bootstrap.ts` calls `suggestion.ensureWarmForTyping(context)` on every `typed-context` (keeping `gemma4:e4b` warm even when `suggestionEnabled` is off) and runs the full 2-stage `typo.handleTypingContext(context)` in-place: Stage 1 (Instant `<1 ms` deterministic rule engine at 25 ms after word boundary / 650 ms at token tail) immediately converts known Han/Eng layout errors and dictionary misspellings, while Stage 2 (Background Gemma Pass at 350 ms after word boundary for suspicious tokens or 600 ms idle for general sentences, anchored to the trailing 2 words via `trailingWordOnly: true`) queries the warm local LLM (`gemma4:e4b`) with 2-set keyboard hints (`buildModelTypoHints` in `[한영 자판 변환 참고]`) and validates cross-script layout+typo fixes (`isPlausibleTypoFix` + `validateModelCorrections`, e.g. `ㅗ디ㅐ`→`hello`, `ㅡㅁ가둥`→`markdown`, `네갸ㅜㅎ에서`→`spring에서`, `dkssudgktpd`→`안녕하세요`, `회으에서`→`회의에서`, `아ㄴ녀ㅇ`→`안녕`) before handing off to `SuggestionService` via `'settled'`. **Ultra-fast atomic replacement & delta-rebasing (`2026-10-28`):** `TextInsertService.replaceBeforeCaret` (`method === 'keyboard'`) executes a single atomic `SendInput` call via `sendWin32UnicodeReplacement` (`utils/win32-unicode-input.ts`) packing `(optional VK_SPACE) + N × VK_BACK + M × KEYEVENTF_UNICODE` with `0 ms` JS sleep (native batch ordering only; concurrent input still requires burst deferral), and `TypoCorrectionService` uses `rebaseTypoReplacementPlan` (`packages/core/src/typo-correction.ts`) to adjust `deleteCount` and append any newly typed suffix characters (`<= 12` chars) when the user keeps typing during the 40 ms UIA verification or LLM check. **Terminal, Vim & xterm.js support (`2026-10-27..31`):** `TypoCorrectionService` keeps `layoutOnly: true` active inside `TERMINAL_APPS` (`WindowsTerminal`, `wt`, `pwsh`, `cmd`, `Kitedesk`, `wezterm`, `alacritty`, `kitty`, `ghostty`, `putty`, `MobaXterm`, `nvim-qt`, `neovide`, `gvim`, etc.) and developer/xterm.js surfaces (`isTerminalOrDeveloperSurface`, `isXtermHelperControl`) while keeping spelling/model corrections off. **2026-10-31 terminal character-swallow fix (`v1.15.1`):** removed per-keydown `isForegroundKoreanIme` (`SendMessageTimeoutW(WM_IME_CONTROL)`) from `InputTelemetryService._handleKeyDown` (syncing IME once at idle snapshot via `TerminalKeystrokeTracker.syncKoreanIme`), added an `xterm-helper-textarea` fast path in `sidecar/uia_bridge.py` that skips `GetTopLevelControl()` and `TextPattern` / `TextEditPattern.GetActiveComposition()` calls (which stalled Chromium's renderer up to 1,500 ms and stuck `comp=True`), suppressed 40 ms boundary snapshots on normal Korean words (`_shouldRunFastTerminalBoundarySnapshot`) and 800 ms active-typing polls on terminals, and blocked `TypoCorrectionService` from touching trailing composed Hangul syllables (`/[가-힣]$/u`) in terminals before `Space` is pressed. `TerminalKeystrokeTracker` (`packages/core/src/terminal-prompt.ts`) + `extractTerminalActiveContext` + `isForegroundKoreanIme` (`utils/win32-foreground.ts`, checking `IMC_GETCONVERSIONMODE` `IME_CMODE_NATIVE` on Windows TSF/Chromium) reconstruct the active line across (a) UIA screen-buffer terminals (`WindowsTerminal`/`pwsh`/`cmd`, restoring trailing spaces stripped by grid buffers and reading the bottom viewport via `GetVisibleRanges()` / `[-MAX_TEXT_CHARS:]` and `ExpandToEnclosingUnit(..., waitTime=0)` in `sidecar/uia_bridge.py`), (b) `xterm.js` hidden `