Repository navigation
Conversation
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…otes Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…d canceled; two usage errors from an empty task-id var kept as is Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…eckpoints reached Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… one JSON answer Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…sk/counter/accept/reject; code guards the reserve Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ntinues by taskId; harness decides offers, code guards the budget Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…and offline checks, what A2A settled Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… address when served from my laptop; default unchanged Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ted at run time, not baked) and seller --host; not built yet, docker is not installed here Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…login mounted from ~/.codex-docker; not run yet, docker is not installed here Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…udflare quick tunnel for the grader, with the remote buyer run Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Codex CLI(
codex exec, gpt-6.1-sol)를 하네스로 두고, A2A v1.0(JSON-RPC)만 말하는 가게(seller.py)와 buyer(buyer.py)를 만들었다. 호가·역제안·수락·거절과 제안·포기는 하네스가 JSON 한 줄({"action", "price"})로 정하고, 코드는 A2A 통신과 하한가·예산 가드만 맡는다. trade test 21/21 PASS.What I tried and discarded
T=<task id>를 꺾쇠까지 그대로 적어 변수가 비었고,--task-id 80처럼 숫자가 id 자리로 들어가A2ACLI_ERR_USAGE, exit code 2가 났다. 노트가 예고한 exit 1과 달라서 원인을 찾았다. 실패한 로그는lab/logs/lab-cli.txt에 그대로 두었다. 이 일 때문에 buyer는 사람이 id를 복사하지 않고, 응답의task.id를 다음 요청의taskId에 바로 넣는다.a2a send ... | tee가 stderr를 놓쳤다.2>&1을 붙여 다시 받았다. 그 뒤로 모든 로그에[buyer]/[seller]/[harness]접두어를 붙여 한 파일로 모아도 구분되게 했다.[Errno 48] address already in use가 났다. 다른 창에서 이미 떠 있던 프로세스를lsof로 찾아 껐다.guard:줄 없음).Counteroffer: <price>.형식으로 만든다.How to run
gpt-6.1-sol(~/.codex/config.toml).pip install "a2a-sdk[http-server]" uvicorn httpxcodex exec --skip-git-repo-check --ephemeral -s read-only --color never -C <빈 임시 폴더> -o <답 파일> -(프롬프트는 stdin)python seller.py --port {port}, buyerpython buyer.py --url {url} --item {item} --budget {budget}Additional Test
Seller Agent를 인터넷으로 연결하여 테스트할 수 있게 아래와 같이 구성하였다.
supportedInterfaces[0].url이 위 주소)테스트 방법(둘 중 하나):
테스트 결과 예시 (lamp, 예산 120).
Checklist
python scripts/check_week06.py submissions/25622005/week-06passes locally (skip for roster PRs)logs/