What you'll learn: how to run the seven-step design drill on an assistant that proposes write actions: why authority limits belong in code, how approval and idempotency work together, and how a scored answer looks.
At a glance
Figure 1. The drill: seven outputs in 30 minutes
How to read this: the same four timed boxes as the blank-page defense.
- The assistant proposes, a human approves, code executes.
- Who may approve is a table in code, not a model judgement.
- An order can change between proposal and approval, so check again at execution.
Scenario
Composite scenario, not a real company. Lumen Industrial Supply's assistant answers order and policy questions read-only. Phase two lets it propose three actions: change a delivery address, create a return authorisation and apply a discount exception.
Illustrative rules: an address changes while the order is confirmed or allocated, afterwards only with warehouse approval; returns follow P-RET-01 v3; an agent offers up to 5 percent discount, a team lead approves above 5 and up to 10, a director above 10 and up to 20, above 20 is not allowed. Only Finance releases a credit hold. Assume 10 percent of 5,280 monthly order contacts need a write action.
What you will be able to do
- Run the seven-step drill on a brief with write actions.
- Keep authority limits and status rules in code.
- Design approval that survives retries and changing data.
Prerequisites
- The blank-page design defense, for the timed flow and the rubric.
- Human approval, tool permissions, workflow or agent and the catalog: act (tool calling with approval, review queue), answer (policy lookup).
Core ideas
The seven-step checklist for order exceptions
| Step | What is hard here | Usually fits |
|---|---|---|
| 1. Frame | Fewer waits for approval, without wrong changes | Measure wait time and wrong-change rate first |
| 2. Requirements | Four team leads and a director approve; warehouse and Finance own parts | An authority table agreed with each owner |
| 3. Patterns | Actions are irreversible once executed | Tool calling with approval; workflow over free agent; review queue |
| 4. Architecture | Status can change between proposal and approval | Re-validate at execution; idempotency key |
| 5. Evaluation | Wrong routing of an approval is the costly error | Scenarios built from the policies, including traps |
| 6. Threats | Customer text asking for a discount; proposal replay | Limits in code; one-time proposal ids |
| 7. MVP (smallest first release) | Start with the least risky write | Address change first; discounts and returns later |
In the interview: "Would you let an agent execute these changes?" Good: default to a bounded workflow, say what a free agent adds here (little) and costs (unbounded actions), and say where a human decides.
Worked example
Attempt the drill first, then open the answer.
Open after your attempt: the model answer and its score
Frame. Outcome: time from request to approved change, and wrong executed changes (target zero); collect today's wait first. Out of scope: releasing holds.
Requirements. Users: 24 agents, 4 team leads, a director, warehouse staff. Data: the order record from the order management system (OMS), the policies, an authority table. Constraint: every write approved by the right role (the agent, for an in-policy address change) and logged.