feat: AtchaV2 Phase 11 — 변경 반영 피기백 (diff 판정 + 방향 비대칭 + 버퍼) - #349
Merged
Conversation
- Domain: EvaluateAlarmChangeUseCase(AlarmInfo 전/후 비교 — 발화 후 nil 함정 회피, sessionEnded 최우선·1초 미만 오차 흡수·actionable 보수 근사) + 자정 경계 테스트 - AlarmTiming: 버퍼 −3분 균일 적용 (register/refresh 이중 시각 금지, 도보 반영은 TODO #7) - RefreshAlarmUseCase: 기대 발화 시각이 과거면 재스케줄 생략 (AlarmKit 거부로 refresh 전체가 실패하는 경로 차단 — 인지는 훅의 즉시 최후통첩 몫) - AlarmSyncService 훅: 갱신 성공 → 판정 → 채널 분기 (advanced 백그라운드=LA alert +배지 10분 / 포그라운드=조용+changes 스트림 / 알람 후 변경=즉시 최후통첩 / delayed=조용) — 재스케줄 선행 구조 유지, AlarmChangeEvents(replay 없음) 채택 - 행동 중심 문구 한 파일(LastTrainChangeMessages) + 어댑터 문구 주입 경로 - Home: 배너 3단계 긴급도(DSBanner .caution + dangerContainer 토큰) + emphasize 펄스 + "출발까지 N분" 알람 시각 기준 통일 + advanced 토스트("막차가 N분 당겨졌어요") - DEV 디버그 변경 시뮬레이터: 플로팅 버튼 → 앞당김/늦춤/종료 주입(3초 지연) → syncFromPush Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
요약
EvaluateAlarmChangeUseCase— AlarmInfo 전/후 비교(발화 후 scheduledFireDate nil 함정 회피), sessionEnded 최우선·1초 미만 오차 흡수·actionable 보수 근사, 자정 경계 테스트 포함AlarmTiming버퍼 −3분 균일 적용 (register/refresh/LA/배너 이중 시각 금지, 도보 반영은 TODO [DESIGN] Button 디자인 컴포넌트 개발 #7)LastTrainChangeMessages) + 어댑터 문구 주입 경로(LastTrainChangeAlerting).caution+dangerContainer토큰) +emphasize()펄스 + "출발까지 N분" 알람 시각 기준 통일 + advanced 토스트검증
🤖 Generated with Claude Code