Repository navigation
[week-05] 26510358 - #256
Open
SUNGMYEONGGI wants to merge 7 commits into
Open
SUNGMYEONGGI wants to merge 7 commits into
SUNGMYEONGGI wants to merge 7 commits into
Conversation
This branch has not been deployed
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.
What I built
Week 01의
calculator·read_file·write_note를 MCP server로 옮기고 기존 루프를 stdio·HTTP MCP host로 연결함Codex CLI를 두 번째 client로 붙여 같은 server 도구 호출을 확인함
MCP Python SDK
2.2.0으로 bearer 인증·역할·협상 ID·차례·토큰 한도를 검사하는 Streamable HTTP 협상장을 구현함시나리오 4개를
prompt_inject와server_inject에서 각 3회 실행해 24개 에피소드와 원본 로그 6개를 기록함시나리오와 평가 기준은 모델 실행 전에 커밋함
두 조건 모두 한도 밖 시도가 0건이라 본 실험만으로 서버의 방어 효과를 주장하지 않음
토큰 한도 강제와 buyer 전용 주입은 별도 실제 HTTP 검사로 확인함
What I tried and discarded
LAB 첫 실행에서 날짜를 합계에 포함한 질문 모호성을 발견해 원본 실패 로그를 보존하고 목표 문장을 수정함
과제 예비 실행 1건은 별도 결과·로그로 보존하고 본 실행 집계에서 제외함
후속 검토에서 실패 행 식별자·재개 조건·차례 위반 시도 집계를 보완했으며 본 실행 결과와 원본 로그는 수정하지 않음
사용자 요청에 따라 Codex가 구현·실험·분석을 수행함
How to run
OPENAI_API_KEY를 환경변수로 제공하고 저장소 루트에서 실행함전체 설정과 LAB 명령은
submissions/26510358/week-05/REPORT.md에 기록함Checklist
python3 scripts/check_week05.py submissions/26510358/week-05통과verify_results.py로 CSV 24행과 6개 원본 로그 대조test_market_integration.py로 SDK v2 프로토콜·토큰 한도·주입 확인submissions/26510358/week-05/에 한정, 키 미포함, 커밋 이력 미압축