Delivering User stories and Problems
User stories, for people and for agents
Stories are popular for good reasons: they are informal, simple, easy to identify and able to represent a wide range of requirement types. The intent is to keep them small enough to build in days, and certainly within one iteration if the team runs iterations. One or more acceptance criteria qualify each story and inform its definition of done.
In theory a story follows the pattern “As a [type of user] I want [a requirement] so that [something of value results]”. In practice, a backlog of two hundred of those is hard on the eye, especially for dyslexic readers, and most tools truncate them to one line anyway. Give each story a headline and put the full sentence in the description. People refer to stories by headline in conversation; nobody says “as a customer I want to view my order history” out loud twice. Be flexible with the format at every level, as Requirements says: the right format is the one that communicates.
Stories trace up to the Integration Scenario or scoping element they contribute to. That is the context that stops a backlog being a pile.
Stories as prompts
A story is now, often, the text an agent builds from. Everything in Story anti-patterns applies with more force:
- A story with no value statement gives the agent an output to produce and no outcome to produce it for. It will produce the output.
- A story with a delivery-team role will be built as if a developer were the user. Sometimes that is what you want (a tooling Objective), in which case say so and keep it off the progress count.
- A story with no criteria gives the agent nothing to test against, so it will write tests for what it built rather than for what was wanted. That is the single most common failure in agent-generated work and it is a requirements failure, not a tooling one.
- Hierarchies of epics confuse agents as much as people. An agent given a parent epic and twelve child stories will optimise locally; an agent given a scenario and its criteria will build the thread.
The productive direction is the other way: let agents draft stories from scenarios. Given an Integration Scenario, its criteria and the products involved, an agent can propose the stories each product needs, with draft criteria that are consistent with the scenario’s. The team and the Product Customer correct them. The draft stories inherit the value statement from the scenario, which is the part people most often leave out when writing from scratch. Keep the headline-plus-description format, keep each story buildable in days, and keep the stories traced to the scenario they came from.
Related
- Story anti-patterns: real examples of stories to correct or remove
- Integration Scenarios: the context stories live in, and the better unit for agent work
- Outcome-based prompting: how a story’s criteria become the constraints of a prompt