fix(ai-server,api): BUG-086~090/CVR-058 로컬 3커밋 Master 이식 (F5 대화 오케스트레이션 안정화) - #88
Merged
Merged
Conversation
- BUG-086: pending_handoff_pipeline 래치 + handoff_unverified 플래그로 인계 상태 이중 검증 (orchestrator.py, schemas/orchestrator.py) - BUG-090: lazy-resume 이연 처리 경로 추가 - BUG-088: probe near-dup 강제 대체로 동일 질문 반복 차단 (dialogue.py) - BUG-089: v5.7 프롬프트 — 현재-턴 귀속 규칙 강화 (prompts/dialogue/v5.7.system.md, PROMPT_VERSION v5.7) - routes/chat.py: 공유 상수 정리 - 신규 테스트 2건 + 버전핀 갱신 5건
- BUG-087: main.py 로깅 설정 보강 - BUG-086c: services/chat.py _fallback_reply 추가 (인계 미검증 시 안전 폴백) - 신규 테스트 1건(test_bug_087_logging_configured) + test_websocket_chat.py 갱신
… _run_closing_mode + 중립 브리지 풀, orchestrator.py needs_closing_dialogue unverified 분기, chat.py Step 3.5 closing-mode 호출/폴백, 신규 테스트 14건 BUG-086/090 근본원인(빈 문자열 응답→contract 거부→무전달 스톨) 수정 이후 CVR-058 adequate-with-findings 블로킹 항목(post-handoff 동일 멘트 무한 루프) 해소. qa 반합성 라이브 검증 green(closing-mode 분기 완전 실증).
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.
Summary
8-PR 머지 범위(d7e8ee3)가 완료된 뒤 로컬
feat/agent-inventory-cleanup브랜치에만 존재하고 Master(e441750)에는 이식되지 않은 3커밋을 순서대로 cherry-pick 이식한다.fix(ai-server): BUG-086~090 F5 대화 오케스트레이션 안정화— 빈 문자열 응답 근절(_HANDOFF_ACK_MESSAGE),pending_handoff_pipeline/handoff_unverified이중 검증 래치(BUG-086), lazy-resume 이연 처리(BUG-090), probe near-dup 강제 대체(BUG-088), v5.7 프롬프트(PROMPT_VERSION = "v5.7", BUG-089) — 현재-턴 귀속 규칙 강화fix(api): BUG-086c/087 로깅 및 폴백 응답 정합—services/chat.py_fallback_reply(인계 미검증 시 안전 폴백),main.py로깅basicConfig보강fix(ai-server): CVR-058 post-handoff closing-mode 루프 해소—dialogue.py_run_closing_mode+ 중립 브리지 풀,orchestrator.pyneeds_closing_dialogueunverified 분기,chat.pyStep 3.5 closing-mode 호출/폴백이 3커밋이 빠진 현재 Master는 BUG-086 스톨(critical, 빈 문자열 응답 → contract 거부 → 무전달 스톨)이 재존재하는 상태다. 전부 qa 라이브 게이트 green, CVR-058 폐쇄 이력이 있는 검증본.
Cherry-pick / conflict resolution
세 커밋 모두
git cherry-pick이 충돌 없이(자동 병합) 적용됨 — Master에 이미 들어간 #85(핫라인 109 통일)·#80 최종본과 인접 hunk가 있었으나 자동 병합으로 양쪽 내용이 모두 보존됨. 수동 conflict 해소 불필요.검증한 보존 항목:
PROMPT_VERSION = "v5.7"(dialogue.py:354) — 버전핀 테스트 정합orchestrator.py에 그대로 유지pending_handoff_pipeline/handoff_unverified/needs_closing_dialogue신규 필드 전량 존재Test plan
alembic 0011/0012 duplicate revision— Master e441750 자체에 이미 존재하는 선행 결함,/tmp/verify-master에서 별도 재현·확인, 본 PR 범위 밖)git diff --stat e441750..HEAD머지는 컨덕터 승인 후 진행.