Skip to content

feat: 사용자 채팅·관리자 재통합 및 최소 응답 권한 보호 - #14

Merged
treasonking merged 3 commits into
masterfrom
wkdnjs5665-login-signup-ui
Oct 12, 2026
Merged

treasonking merged 3 commits into
masterfrom
wkdnjs5665-login-signup-ui

Conversation

@treasonking

Copy link
Copy Markdown
Owner

변경 요약

  • UI 브랜치(bce22d6)에 최신 master(a89edc7) 병합. TEAM ORCA, /login·/signup·/app·/admin, 가입 안내 보존. SecurityLab 재도입 없음.
  • /app: 메모리 내 단일 질문/답변 기록, 자동 사전 분석, WARN 확인, 최종 검증 content, 수동 원래 입력 재시도, IME/중복 방지, 새 대화·로그아웃·이탈 stale 차단.
  • 사용자 API는 최소 projection, USER_POLICY_ID 서버 고정. 기존 상세 /proxy/chat·analyze에는 관리자 헤더 추가 필요. 상세 SSE 및 프록시 앱 진단용 /v1/chat/completions도 사용자+관리자 인증 필요. tools.mock_llm 계약 유지.
  • /admin: 통계·차단 이력·사유·Provider 설정 및 현재 진단 요청만 표시. 관리자 토큰/timeout/stale 제어 유지.
  • UI 기본 5500 / API 8000, cwd 독립 fallback 서버, 없는 API·자산은 404. 원래 checkout 사용자 classifier.joblib와 서버 보존.

검증

  • node --test frontend/demo_async.test.js: 30 passed (기존 15 포함).
  • RUN_LIVE_OPENAI_TESTS=0, 전체 pytest: 205 passed, 1 skipped, 기존 deprecation warnings.
  • focused 기존 49 passed, 신규 API/라우팅 16 passed; JS 구문 및 git diff --check 통과.
  • 실제 브라우저+격리 Mock(5520/8020/8021): 가입/로그인/세션복원/채팅/마스킹/차단/Provider 오류→수동 재시도/관리자 인증·검사/모바일 확인.
  • WARN 취소, body timeout, stale, XSS literal 렌더링은 Node/API 검증. 브라우저에서 모든 경계 시나리오를 검증했다고 주장하지 않음.

문서·증거

  • docs/codex_user_chat_admin_integration.md
  • reports/user_chat_admin_integration_verification.md 및 합성 화면 캡처
  • README, demo_runbook, security_limitations 갱신

한계 / 리뷰 주의

  • 실제 멀티턴, 계정별 RBAC, idempotency key 미구현.
  • 실제 OpenAI 호출 미실행(비용 발생 없음), 실제 ML-DSA 아님: ML-DSA 교체 가능한 감사 로그 서명 인터페이스와 Mock signer 기반 검증 구조.
  • 기존 상세 API 클라이언트는 관리자 인증 헤더 마이그레이션 필요.
  • 탐지 성능 수치/데이터셋/정책 로직 새 변경 없음. CI 결과는 아래 실제 Checks로 확인.
  • master 직접 푸시 및 자동 병합하지 않음.

박효빈 and others added 3 commits October 7, 2026 16:21
Add route-aware login, signup, app, and admin entry points with static server fallback while preserving the existing proxy UI.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@treasonking
treasonking merged commit 626ccfe into master Oct 12, 2026
2 checks passed
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