Skip to content

[week-05] 26512075 - #262

Open
helenjeon101 wants to merge 12 commits into
Q00:mainfrom
helenjeon101:week-05
Open

helenjeon101 wants to merge 12 commits into
Q00:mainfrom
helenjeon101:week-05

Conversation

@helenjeon101

Copy link
Copy Markdown

What I built

같은 system prompt로 네 조건을 비교했다. prompt와 prompt_inject는 한도를 프롬프트에만 두고, server와 server_inject는 토큰 claim으로 서버가 한도 밖 호출을 거부한다. 주입은 buyer의 get_negotiation observation에만 섞인다. 행위 이름은 조건마다 바꾸지 않았다.

커밋은 week-05에서 네 번이다. 결과는 서버, 호스트, 러너, 로그, results.csv를 넣었다. probe가 발급한 bearer가 들어 있던 auth_checks_probe.json을 제거했다. 협상 ID는 검사 결과 파일에 남겨 두었다.

What I tried and discarded

권한 경계는 두 클라이언트로 봤다. auth_check.py는 raw HTTP JSON-RPC다. 토큰마다 initialize로 Mcp-Session-Id를 받아 헤더에 붙였다. auth_probe.py는 Client(streamable_http_client)가 세션을 연다. 같은 서버 규칙이 전송 방식과 무관한지 보려는 것이었다.

How to run

python market_server.py --port 8001
python auth_check.py --base http://127.0.0.1:8001
python auth_probe.py --base http://127.0.0.1:8001

Checklist

  • python scripts/check_week01.py submissions/<student-id>/week-01 passes locally (skip for roster PRs)
  • Run logs are committed under logs/
  • No API keys anywhere in the diff
  • History is not squashed

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant