{"id":"exec-issue-tree-delivery-delays-json","audience":"consultants","category":"leadership-work","track":"leadership","level":"intermediate","technique":"format","title":"Output a delivery-delay issue tree as nested JSON","free":false,"task":"Build an issue tree for late deliveries as JSON in one code block: an object with the key problem and the key branches (an array of exactly 3 objects, each with name and questions, where questions is an array of exactly 2 strings). Branches must not overlap and must cover the cases in the notes. At most 30 lines inside the block and nothing outside it.","materialLabel":"Client notes (attached to your prompt automatically)","material":"Client: Tidewater Parts, a distributor. Problem: on-time delivery fell from 94% to 86% in the last two quarters.\n\nWhat we know\n- Orders move through three stages: picking in the warehouse, carrier transport, and last-mile delivery by regional partners.\n- Warehouse: two new pickers started in August; the pick error rate rose from 1.2% to 2.8%.\n- Carrier: the main carrier changed pickup time from 4 pm to 2 pm in July. Orders placed after 2 pm now ship the next day.\n- Last-mile: partner in the Southeast had two weeks of truck shortages in September.\n- Data we have: warehouse error logs, carrier pickup scans, partner delivery confirmations, order timestamps.\n- The CEO believes customers are ordering later in the day. Unverified.","rules":[{"type":"codeBlocks","count":1},{"type":"maxCodeLines","max":30},{"type":"maxProseWords","max":5}],"mistakes":[{"title":"Overlapping branches","why":"The AI makes 'process' and 'people' branches.","fix":"Say: \"Branches follow the three stages: no overlap.\"","checks":["r1"]},{"title":"Wrong shape","why":"The AI adds levels or more questions.","fix":"Say: \"Exactly 3 branches with 2 question strings each.\"","checks":["r0"]},{"title":"Treating beliefs as facts","why":"The AI states customers order later.","fix":"Say: \"Only as a question to test.\"","checks":["r2"]},{"title":"Extra text","why":"The AI explains the tree.","fix":"Say: \"Only the code block.\"","checks":["codeBlocks","maxProseWords"]},{"title":"Too many lines","why":"The AI pretty-prints.","fix":"Say: \"At most 30 lines inside.\"","checks":["maxCodeLines"]}],"promptHints":[{"label":"Keys","patterns":["problem","branches","name","questions"]},{"label":"Counts","patterns":["3 (objects|branches)","2 strings","exactly"]},{"label":"Stages","patterns":["warehouse","carrier","last-mile"]},{"label":"No overlap","patterns":["overlap","mece"]},{"label":"One block","patterns":["code block","only"]}],"hint":"Specify keys and counts, and tell it to use the three stages.","rubricLabels":["The JSON has the key problem and a branches array of exactly 3 objects with name and a questions array of exactly 2 strings each","The three branches are warehouse picking, carrier transport and last-mile delivery, and the questions are testable with the listed data (pick errors, the 2 pm cutoff, Southeast partner confirmations)","The CEO's unverified belief appears only as a testable question (about order timestamps) if at all, and nothing is outside the code block"]}