h2. 선행분석 결과
읽기 전용으로 조사했습니다. 현재 app-server notification 경로는 appServerSupervisor가 stdout JSON-RPC를 분류하고, main.handleAppServerIncomingMessage가 MCP/turn-diff cache side effect를 먼저 반영한 뒤 appServerEventDispatcher -> runtime-event-projection -> runtime-store로 전달하는 구조입니다.
h3. 확인된 현 상태
- 0.142.2 기준
thread/settings/updated, thread/goal/updated, thread/goal/cleared, thread/closed는 dispatcher의 thread/* prefix 정책으로 수신 후보에는 들어오지만 projection case와 RuntimeEvent/store 상태가 없어 최종 drop됩니다.
- 현재
RuntimeThreadState에도 goal/settings 전용 보존 필드가 없고, thread/read restore도 session model/effort 일부만 복원합니다.
-
configWarning, account/rateLimits/updated, item/fileChange/outputDelta, item/mcpToolCall/progress는 이미 명시적 UI suppressed 목록에 있어 조용히 무시됩니다.
-
guardianWarning, model/rerouted, model/verification, model/safetyBuffering/updated, deprecationNotice, account/updated, fs/changed, process/*, rawResponseItem/completed는 dispatcher allow-list에 없거나 projection type/case가 없어 미지원/디버그 drop 상태입니다.
h3. 권장 수정 범위
-
thread/closed: sidebar 삭제가 아니라 loaded session close로 보고 not_loaded 또는 전용 closed event로 처리합니다.
-
thread/settings/updated: transcript 표시 없이 session model/effort 및 추론 가능한 permission/session metadata를 store에 반영합니다.
-
thread/goal/updated/cleared: 우선 RuntimeThreadState.goal store-only 반영으로 처리하고, 별도 visible UI는 후속 판단합니다.
-
guardianWarning/configWarning/deprecationNotice/model/rerouted: transcript 카드가 아니라 runtime/warning diagnostics로 반영하는 쪽이 Hive UX에 맞습니다.
-
item/autoApprovalReview/*, model/verification, model/safetyBuffering/updated, turn/moderationMetadata는 noisy/internal 성격이 강하므로 이번 범위에서는 명시 suppress 또는 diagnostic-only 후보입니다.
h3. 범위 제외
rawResponseItem/completed는 internal/experimental raw event이고, thread/realtime/*는 persisted ThreadItem이 아닌 별도 ephemeral realtime surface입니다. fs/changed는 fs/watch utility와 짝이고, process/outputDelta/process/exited는 process/spawn 계열 저수준 process API입니다. Hive는 현재 turn transcript, command/exec outputDelta, fileChange patch/diff, Git 상태를 별도 경로로 다루므로 raw/realtime/fs/process 계열은 #528 범위에서 제외하는 것이 맞습니다.
h3. 볼륨 판단
store/diagnostics 중심이면 이 일감 내 처리 가능. goal 전용 UI, model safety/verification UI, realtime/fs/process utility 지원까지 포함하면 후속 일감 분리가 필요합니다.
h3. 검증 계획
electron/appServerEventDispatcher.behavior.test.ts
src/renderer/runtime-event-projection.behavior.test.ts
src/renderer/runtime-store.behavior.test.ts
electron/runtimeSnapshotProvider.behavior.test.ts
npm run typecheck
- 필요 시
npm run validate:codex-app-server-schema 및 live smoke