Skip to content

feat: 답 참조·재설명 SSE·로컬 사진 저장 통합 [2.13·2.14·2.18] - #249

Draft
chowon442 wants to merge 6 commits into
devfrom
feat/phase-2b-integration
Draft

chowon442 wants to merge 6 commits into
devfrom
feat/phase-2b-integration

Conversation

@chowon442

@chowon442 chowon442 commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

📌 관련 이슈

  • Phase 2-B 2.11–2.14 및 2.18 로컬 인수 준비 통합. 개별 기존 PR은 이 draft로 자동 종료하지 않습니다.

🏷️ PR 타입

  • ✨ 기능 추가 (Feature)
  • 🐛 버그 수정 (Bug Fix)
  • ✅ 테스트 추가 (Test)

📝 작업 내용

  • 검증 답 metadata를 V7 migration·저장·snapshot·내부 요청에 연결합니다. 원문 상한20,000자를 유지합니다.
  • 실제 재설명 delta를 V8 migration·durable 저장·SSE replay로 전달하고 취소/terminal 경계를 보존합니다. SQL CHECK의 NULL 우회·index overflow·UTF-8 크기를 차단합니다.
  • 개발 전용 GCS emulator signer/public host 설정과 승인된 viewer/attachment의 신선한 read_url 발급을 연결합니다. 운영 ADC 설정은 유지합니다.
  • Brain 계약 source 7af8624로 세 mirror PIN을 맞췄습니다.

📸 스크린샷

  • Server API/DB 변경입니다. 실제 Mac 사진 및 SSE 인수는 연동 Front draft에서 기록합니다.

✅ 체크리스트

  • 독립 최종 리뷰 critical/major/minor 0/0/0
  • 격리 PostgreSQL 제약/snapshot/terminal74검사 통과·skip0
  • 계약/사진73검사 통과·skip0
  • 계약 사본328개 비교
  • 새 PIN의 원격 전체 CI 성공
  • Mac 인수 완료

📎 기타 참고사항

Brain 2.11의100% 기준 미달로 병합 보류 draft입니다. fake-gcs는 실제 서명/만료/IAM 검증을 제공하지 않습니다. 기존 사용자 데이터 삭제·cloud 배포·관리자 병합 우회는 포함하지 않습니다.

실제 Mac offline 텍스트 SSE 완료와 사진 저장/Brain HTTPS reader bytes 경로를 확인했습니다. 이미지 run은 S09의 확정 metadata 부재로422/RUN4221이며 DB에 임의 승인 사실을 넣지 않았습니다. CI는 기존 정책에 따라 real Brain testkit 검사를 실행하지 않았다고 보고합니다.

…nd SSE replay

- Sync brain contract mirror (PIN browser-run-fixtures-v1.2, schemas/fixtures).
- Add Flyway V7__re_explanation_delta_event.sql allowing re_explanation.delta rows with NULL activity_id, non-negative deltaIndex, and non-empty UTF-8 delta.
- Support fenced re_explanation.delta validation (2000 chars / 8000 UTF-8 bytes, safe text), monotonic deltaIndex 0..N-1 persistence, duplicate/conflict detection, and CANCELING cutoff in SourceActivities, DurableActivity, and RunEventStore.
- Add contract, DB constraint, RunEventStore, and BrowserRunSse Postgres replay/cancel tests. (V7 migration ordering against task-2.13 deferred to root final integration.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant