{"id":"cx-queue-order-table-rules","audience":"customer-support","category":"support-work","technique":"constraints","track":"support","level":"intermediate","title":"Put six tickets in queue order using stacked rules","free":false,"task":"Put the six tickets in the order an agent should work them. Output a table with the header \"Order | Ticket | Why\" and six rows, Why in 5 words or fewer. Rules: tickets where the customer cannot pay come first, then cannot log in, then everything else. Inside a group, Enterprise before Pro before Free. After that, oldest first. Plain text, under 80 words.","materialLabel":"Your material (attached to your prompt automatically)","material":"OPEN TICKETS (Wed 3:00 PM)\nA-1 | Free plan | cannot log in, 'password reset email never arrives' | opened 2 hours ago\nA-2 | Enterprise | cannot pay, invoice portal shows an error | opened 1 hour ago\nA-3 | Pro | question about a new feature | opened 26 hours ago\nA-4 | Enterprise | how-to question about exports | opened 5 hours ago\nA-5 | Pro | cannot pay, card keeps failing at checkout | opened 3 hours ago\nA-6 | Free | feature request | opened 30 hours ago\n\nTeam lead comment: 'A-6 has waited the longest, take it first.'","rules":[{"type":"plainText"},{"type":"maxWords","max":80}],"mistakes":[{"title":"Sorting by age first","why":"The team lead comment says A-6 waited longest, and the AI puts it first.","fix":"Say: \"Follow the stacked rules; age is only the last tie-break.\"","checks":["r1"]},{"title":"Mixing the plan tiers","why":"The AI ranks Enterprise first overall instead of inside each group.","fix":"Say: \"Group first (cannot pay, cannot log in, other), then plan.\"","checks":["r1"]},{"title":"Long reasons and extra text","why":"The AI explains each pick in sentences.","fix":"Say: \"Why: 5 words or fewer. Table only.\"","checks":["r2"]},{"title":"Wrong header","why":"The AI invents its own columns.","fix":"Give the exact header row.","checks":["r0"]},{"title":"Getting markdown back","why":"AI adds bold and headings by default, which show up as stray symbols where this is pasted.","fix":"Say \"plain text, no bold, no headings, no asterisks\".","checks":["plainText","maxWords"]}],"promptHints":[{"label":"Asks for plain text","patterns":["plain","no bold","no markdown","no formatting","no headings"]},{"label":"Sets a length limit","patterns":["\\d+\\s*words","word (limit|count)","under \\d+"]},{"label":"Spells out the rules","patterns":["cannot pay","enterprise","oldest"]},{"label":"Gives the header row","patterns":["order \\|","header"]}],"hint":"Stacked rules need to be spelled out in order. Give the groups, the tie-breaks and the exact table header.","rubricLabels":["The header row is exactly \"Order | Ticket | Why\" and there are six rows numbered 1 to 6","The order of tickets is A-2, A-5, A-1, A-4, A-3, A-6","Each Why is 5 words or fewer and there is no text before or after the table"]}