{"id":"cx-ticket-to-bug-json-no-pii","audience":"it","category":"support-work","technique":"format","track":"support","level":"advanced","title":"Convert a customer ticket into a JSON bug record without personal data","free":false,"task":"Return one JSON code block with exactly these keys: \"title\" (under 60 characters), \"severity\", \"reported_on\" (ISO date, year 2026), \"steps\" (array of exactly 3 short strings) and \"customer_contact\" (always null). Severity is \"high\" if checkout or payment is affected, \"medium\" if there is a workaround, \"low\" if cosmetic. Do not copy any email, phone number or name into the JSON. Nothing outside the code block.","materialLabel":"Your material (attached to your prompt automatically)","material":"TICKET #9034 - received Nov 4\nFrom: Beatriz Santos <bea.santos@example.net>, phone 555-0142\nSubject: CRITICAL!! Coupon box looks broken\n\nHi team, when I go to checkout on my phone (iPhone, Safari) the 'Apply coupon' box is a few pixels too wide and sticks out past the edge of the screen. I scroll sideways a bit and everything still works. I applied my code SAVE10 and paid with no problem. It just looks sloppy. It started after last week's update. Steps: 1) add any item to the cart, 2) open checkout on a phone, 3) look at the coupon box.\n\nAGENT NOTE\nReproduced on iPhone 14 Safari. Not reproduced on Android Chrome. Payment completes on both.","rules":[{"type":"codeBlocks","count":1},{"type":"maxCodeLines","max":14}],"mistakes":[{"title":"Trusting the CRITICAL subject","why":"The AI sets severity high because the customer shouted.","fix":"Say: \"Apply the severity rules to what actually happens.\"","checks":["r1"]},{"title":"Copying personal data","why":"The AI includes the name, email or phone in the record.","fix":"Say: \"No names, emails, phone numbers or codes.\"","checks":["r2"]},{"title":"Loose JSON shape","why":"The AI adds keys, writes the date as Nov 4, or gives 5 steps.","fix":"List the exact keys and the date format.","checks":["r0","r1"]},{"title":"Chatty extras","why":"The AI explains the record before and after.","fix":"Say: \"Nothing outside the code block.\"","checks":["codeBlocks","maxCodeLines"]}],"promptHints":[{"label":"Lists the exact keys","patterns":["title","severity","reported_on","customer_contact"]},{"label":"Gives the severity rules","patterns":["checkout or payment","cosmetic","workaround"]},{"label":"Forbids personal data","patterns":["no (email|name|phone)","personal","pii"]},{"label":"Asks for ISO dates","patterns":["iso","yyyy-mm-dd","2026-"]}],"hint":"List the keys, the severity rules, the date format and what must stay out of the record.","rubricLabels":["The JSON has exactly the keys title, severity, reported_on, steps and customer_contact, with a title under 60 characters and customer_contact set to null","severity is \"low\" (cosmetic; payment works) not \"high\", and reported_on is \"2026-11-04\"","steps has exactly 3 strings, and the JSON contains no email address, phone number, name or coupon code, and there is no text outside the code block"]}