Repository navigation
fix: PlayMCP 입력 계약과 운영 검증 보강 - #301
Merged
Merged
Conversation
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.
PlayMCP 심사와 실제 채팅에서 공개 스키마에 포함된 옵션이 내부 strict 검증에서 거절되는 문제를 재현했습니다. 다이소 상품 검색의 includeSoldOut, 재고의 storeLimit, 카탈로그 popwords에 섞인 snapshot 옵션이 해당됩니다. 입력 설명을 복원하고 별칭과 실제 필터를 처리하며, 적용하지 않은 공개 옵션은 응답에 명시합니다. get_catalog의 operation도 실행 계약에 맞춰 필수로 표시합니다.
기존 테스트의 결함도 수정합니다. 동일한 가짜 스키마만 사용하던 검증 외에 실제 서비스 스키마와 MCP/HTTP 경계 회귀를 추가하고, 재고 요약 문장만 확인하던 스모크를 상품·매장·수량·집계 검증으로 강화합니다. 카탈로그 두 작업도 실제 스모크 호출에 포함합니다. 인기 검색어의 알 수 없는 원본 형식을 정상 빈 목록으로 기대하던 fixture를 바로잡고, 해석 불가능한 응답은 오류로 처리합니다.
검증: check 3,793개, coverage 네 지표 100%, build/발견 자산 생성/독립 리뷰 통과. 정상 품절과 수량 미확인, 원본 오류 회귀를 유지합니다. 공개 도구는 10개이며 deprecated 호출은 유지합니다.
별도 운영 문제: 같은 Mac에서 세븐일레븐 원본 HTTP403과 중계502가 재현됩니다. 이 PR의 입력 계약 수정이나 테스트 통과를 원본 장애 복구로 주장하지 않습니다. 배포 후 실제 PlayMCP 입력과 카탈로그 원본을 다시 확인합니다.