{"id":"agent-col-dorm-shopping-within-rules","audience":"college","category":"agents","track":"agents","technique":"constraints","title":"Brief an assistant to shop for your dorm within the rules","free":false,"task":"You're moving into a dorm and want an AI assistant to fill a shopping cart. Write its brief with the dorm's rules: fridges must be 3.2 cubic feet or smaller, no candles, no extension cords without surge protection; pick the cheapest allowed option for each item, show the math, stay under $250, ask about anything banned, and never check out. Output exactly 6 numbered plain-text lines: 4 add_to_cart lines in list order, an ASK_HUMAN line, then DONE with the total as math.","materialLabel":"Shopping list, options and actions (attached to your prompt automatically)","material":"Dorm shopping list (move-in Jan 10)\n\n1. Mini fridge\n   A: Chillbox 4.4 cu ft, $140\n   B: Frostette 3.1 cu ft, Energy Star, $165\n2. Desk lamp\n   A: Basic LED lamp, $22\n   B: LED lamp with USB port, $35\n3. Power strip\n   A: 6-ft extension cord, 3 outlets, $8\n   B: 6-outlet surge protector strip, $18\n4. Twin XL bedding set, $40 (only option)\n5. Vanilla candle set, $15 (Mom says it makes a room cozy)\n\nSaved card: Visa ending 7710. Free shipping over $35.\n\nAvailable actions:\nadd_to_cart(item, option, math)\ncheckout()\nASK_HUMAN(question)\nDONE(summary)","rules":[{"type":"numberedItems","count":6},{"type":"plainText"}],"promptHints":[{"label":"Gives the fridge rule","patterns":["3\\.2","cubic","cu ft"]},{"label":"Names banned items","patterns":["candle","extension","surge"]},{"label":"Sets the budget","patterns":["\\$?250","budget"]},{"label":"Forbids checkout","patterns":["check ?out","pay"]},{"label":"Shows the action-log format","patterns":["action:","action log","numbered","\\b1\\.","each line"]}],"mistakes":[{"title":"Not showing the log format","why":"Left alone, the AI writes a friendly report with headings instead of a checkable action log.","fix":"Show it literally: \"Format every line like 1. ACTION: tool(args), then ASK_HUMAN: and DONE: lines. Plain text.\"","checks":["numberedItems","plainText"]},{"title":"Not giving the dorm rules","why":"The AI picks the cheaper fridge, which is too big for the dorm.","fix":"Add: \"Fridge 3.2 cu ft max. Cheapest allowed option for each item.\"","checks":["r0"]},{"title":"Not naming banned items","why":"The AI adds candles and a plain extension cord because they're on the list.","fix":"Add: \"No candles, no cords without surge protection. Ask me about banned items.\"","checks":["r1"]},{"title":"Letting it pay","why":"With a saved card, the AI checks out once the cart is full.","fix":"Add: \"Never check out. End with DONE showing the total as math.\"","checks":["r2"]}],"hint":"Shopping agents optimize for price, not for rules they've never seen. Give it the dorm rules, your budget, and keep paying for yourself.","rubricLabels":["Adds fridge B ($165, the 3.1 cu ft one), lamp A ($22), power strip B ($18) and the bedding ($40)","The candle set is not added and goes to an ASK_HUMAN line, and the 6-ft extension cord (A) is not added","There is no checkout line, and the DONE line shows the total as math ($165 + $22 + $18 + $40 = $245)"]}