feat(question): 초기 질문에 근거(target_evidence)·평가시그널 추가 + PLAN/Retrieve 분기#63
Merged
Conversation
질문 출력을 {category, question, target_evidence, expected_signal} 로 확장해
근거 기반 질문을 만들고, 라이브 화면에 카테고리·근거를 노출한다.
AI:
- GeneratedQuestion 에 target_evidence/expected_signal(기본 빈문자열) 추가
- 프롬프트: 카테고리별 grounding(PROJECT/TECH 는 근거 필수) + 근거/시그널 생성 요구
- questions_consumer: 문서 1개면 RAG 검색 생략(PLAN) — markdown 이 이미 컨텍스트에 있어 중복 제거
Core:
- QuestionsCallbackPayload.GeneratedQuestion +targetEvidence/expectedSignal
- InterviewMessage 에 category/target_evidence/expected_signal 컬럼 + V9 마이그레이션
- applyInitialQuestion 이 메타데이터까지 영속
- MessageResponse 는 category·targetEvidence 만 노출. expectedSignal 은 의도적 비노출
(자기연습 시 정답 유출 방지)
프론트:
- OpenAPI 타입 재생성(category/targetEvidence 반영, expectedSignal 미포함)
- QuestionBubble 에 카테고리 배지 + 근거 힌트 표시
테스트: AI 205 passed, backend 컴파일+OpenApiSpec 재생성(expectedSignal 비노출 확인), 프론트 build 통과.
V9 는 머지→deploy 시 Flyway 자동 적용(nullable 컬럼).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
질문 출력을 {category, question, target_evidence, expected_signal} 로 확장해 근거 기반 질문을 만들고, 라이브 화면에 카테고리·근거를 노출한다.
AI:
Core:
프론트:
테스트: AI 205 passed, backend 컴파일+OpenApiSpec 재생성(expectedSignal 비노출 확인), 프론트 build 통과. V9 는 머지→deploy 시 Flyway 자동 적용(nullable 컬럼).
변경 사항