BDD got the important thing right: a plain-language scenario is the contract between the people who want a behavior and the machine that checks it. A product owner can read it. A new engineer can read it. An agent can read it. Nothing else in a test suite has that property.
What held the contract up was wrong. A step was a regular expression over a string, bound to a method somebody had to write by hand. So nothing was checked until a browser was open; a renamed phrase dangled silently across a suite; and the glue grew until the team stopped writing scenarios, because every new sentence was a new method. The scenarios rotted. The idea got blamed.
Two things changed. Coding agents removed the cost of the glue — they will happily write the fortieth step definition — and in doing so made the rot faster, because a test nobody wrote is a test nobody maintains. And the fix for rot was sitting in plain sight the whole time: a vocabulary. If the words a scenario may use are declared once — who can act, what they can do, what things on the page are called — then every sentence can be checked against that vocabulary before anything runs, the way a compiler checks a program. A typo dies at the desk. A rename is a compile error, not a Tuesday.
So the creed: agents write the tests, the vocabulary is yours, the compiler is the referee. The human owns the words; the machine refuses to guess at them; and after the run it refuses to lie — a run that could not observe the app says so in its exit code, never in a green.
ShiftLefter is one author with agents in the loop, and the agent surface is used on itself: the documentation that ships inside the jar is what the agents that build it read. Fifteen releases so far, each one captured and shown rather than described — the front page shows nothing it cannot prove.
The longer argument is in the writing: Your System Is Not Your Application, on what an end-to-end test is actually for, and The Pony Test, on handing a blinded agent your pitch and grading what it imagines. More at Writing.
— Gabriel Wilkins · LinkedIn · gabriel@shiftlefter.com