A useful specification describes what a person should be able to do, the rules the software must preserve and examples that distinguish success from failure. Resolve business decisions before asking an agent to implement them.
Write behaviour a reviewer can observe
“Handle discounts intelligently” leaves the policy undefined. For our example, use this explicit rule: a discount above 10% needs a sales manager’s approval before the draft can be marked ready. Exactly 10% does not trigger that extra approval. Every draft still needs the normal sales review, and the pilot never sends it. The threshold is illustrative; your own policy must come from its owner.
Record the difference between a requested discount and an approved one. Editing the price, quantity or discount invalidates any previous approval. An unavailable price list blocks readiness rather than inviting the tool to invent a price. Approval must survive a restart and identify the authorised reviewer and the version approved.
Use examples as acceptance criteria
- A 10% discount follows the ordinary review route.
- A 12% discount remains blocked until a sales manager approves that version.
- A user without that role cannot approve it, including through a direct request.
- A quantity change after approval makes approval necessary again.
- A missing price produces a clear blocker and leaves the source record unchanged.
Separate the business specification from the technical design. The sales lead owns what approval means; the engineering owner chooses how to store and enforce it. Both review changes that affect the boundary. In Zach Lloyd’s factory talk, product and technical specifications are distinct steps for work that needs them.
User and need: who needs this change, and what will it let them do?
Required behaviour: what happens for a normal request?
Exceptions: what blocks the work, and who can resolve each blocker?
Preserved behaviour: which existing records and rules must remain intact?
Acceptance examples: inputs, expected result and evidence for each case.
Open decisions: owner and answer required before implementation begins.