Repository navigation
fix(mcp): 정의 확인 없이 SQL을 실행하지 않도록 수정 - #264
Open
seyoung4503 wants to merge 1 commit into
Open
seyoung4503 wants to merge 1 commit into
seyoung4503 wants to merge 1 commit into
Conversation
This was referenced Nov 22, 2026
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.
#️⃣ Issue Number
📝 요약(Summary)
resolve_business_terms를 추가하고run_sql에 확인 ID를 필수로 받습니다. 현재 사용자/팀/조직 범위의 정의를 재검증하며, 확인 ID는 단일 사용이고 정의 변경·프로세스 재시작·잘못된 ID에서 차단됩니다.💬 To Reviewers
동작 변경과 한계
definition_check_id가 필요합니다. 빈 용어 목록으로 우회할 수 없습니다. 스키마 확인은explore_schema를 사용합니다. 설치 후 MCP 재시작이 필요합니다.inferred=false는 인증된 승인 기록이 아닙니다.검증
2026년 10월 발표매출은 얼마야?로 검증했습니다. 각 질문은 새 MCP 프로세스와 새 모델 대화에서 실행했습니다.구현 원칙 verify
재사용: RunSQL, _load_all/_resolve_entry, ToolRegistry, 기존 MCP 직렬 dispatch/감사. 순증 316줄(문서·테스트 포함).
PR Checklist