Skip to content

[week-06] 25512192 - #296

Open
winun1127 wants to merge 13 commits into
Q00:mainfrom
winun1127:week-06
Open

winun1127 wants to merge 13 commits into
Q00:mainfrom
winun1127:week-06

Conversation

@winun1127

Copy link
Copy Markdown

Week 06: Claude Code (haiku) as an A2A seller and buyer (25512192).

  • Seller and buyer are A2A v1.0 JSON-RPC agents whose every decision comes from claude -p --model haiku (with --system-prompt; without it haiku refused the JSON role). Reserve and budget are in the prompt and also enforced in code; no guard fired in the passing run.
  • Trade test: 21/21 passed (test-report.json, logs/trade-test.log). The first run crashed in the kit on a cp949 console because of an em dash in the seller's message; the seller now sends ASCII only (logs/attempts/).
  • Challenge 1: 3024-item catalog; harness plans a search, code narrows to 10 candidates, harness picks. 8/8 right item, 8/8 reserve held, 8 deals.
  • Challenge 2: 20 shops, 5-item list, budget 650; concurrent negotiations, replan from one summary line per shop. 5/5 bought, total 609, none twice (checked from the shops' logs). An earlier version cut the first shop out of the replan prompt; kept in logs/attempts/.
  • Not done: challenge 3, deploy, cross-harness trade.
  • Local check: python scripts/check_week06.py submissions/25512192/week-06 passes.

🤖 Generated with Claude Code

winun1127 and others added 13 commits October 14, 2026 19:00
…aiku refuses JSON) and catalog generator, 3 basic + 3024 large items

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ct; reserve clamped in code), A2A client; smoke test lamp 150->130->120 deal, bookshelf held at 260

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ode, CancelTask on walk) and agent.json; smoke test vs lab seller: 130 ask, offer 100, deal

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ve checks) and challenge 2 (20 shop configs, planner + concurrent buyer, checker reads shop logs); not run yet

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…em dash in the seller message broke the kit's print() on cp949; 7/7 seller runs passed before that. Seller sentences now ASCII only

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…buyer deals at 100/105/100, holds budget then walks with CancelTask

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…request 7 rejected at first offer 112; mirror search 0 hits (constraint material=metal) fell back to relaxed search

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eeded; found catalog bug (office chair/sofa description numbers differ from attrs, my earlier patch never applied), runs used the buggy catalog

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…twice), generator now asserts description numbers are attributes; old challenge logs moved to logs/attempts/*-buggy-catalog

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…budget 800 PASS 557, replan used (bookshelf cap 150 walked at 3 shops, replan cap 300, bought 192) but replan prompt lost the S14 history: notes[-8:] cut the first shop

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… history) instead of the last 8 round lines; directory lines use card tags instead of repeating Sells twice; truncated run moved to logs/attempts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 3 shops tried for the bookshelf (Oak Yard, Copper Market, Oak Depot), 24 harness calls; report sections 1-3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… search and per-shop ledger), written by Claude at the user's request, quotes from challenge logs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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