$ python 02_agent_sdk.py

I'll search for TODO and BUG comments.
  🔧 Grep {'pattern': 'TODO|BUG|FIXME|HACK|XXX', 'output_mode': 'content', '-n': True}
  🔧 Read {'file_path': 'examples/demo-repo/shop/cart.py'}
  🔧 Read {'file_path': 'examples/demo-repo/shop/orders.py'}
**4 real TODOs, 0 BUG comments.** Grouped:

**Cart correctness (money/logic)**
- `shop/cart.py:20` — merge quantities when same SKU added twice
- `shop/cart.py:34` — free shipping over 500 DKK

**Configuration / hard-coded values**
- `shop/cart.py:30` — move discount codes (`MEETUP10`, `0.9`) out to config

**Error handling / API contract**
- `shop/orders.py:10` — raise a clear error instead of returning `None`

**Not code** (agent prompt files, matched on the words themselves, ignore):
- `.claude/agents/docs-writer.md:16`, `.claude/agents/repo-explainer.md:3,12,17`

Lazy read: cart.py:20 is the only one that's an actual bug (duplicate SKU lines silently). The other three are wishes. Fix :20, leave the rest.

✅ done in 4 turns · 13.7s · cost $0.4240
