deliver
Deliver
Take one accepted spec to a pull request the human only has to merge. The spec's examples define success; the acceptance tests make them executable before any production code exists; the rest of the work makes them pass and leaves the code in good shape. Run to the end on your own.
Start
Read the spec at the path you were given, every source its Context and Decisions point to, the project's coding standards, and its gate configuration. Require Status: Accepted. For a bug fix, the agreed reproduction and expected behavior are the spec. Work on the current branch in the current worktree.
1. Acceptance tests
Turn each test example into an executable test at the spec's test boundary, with the project's verification method, under the spec's real target conditions. Name each test for the behavior it proves, in words a reader without the spec follows, without the example's ID. Run them and watch each go red for the right reason: the behavior is missing, not the setup broken. A test for something that must never happen must be able to fail. Commit the tests on their own; when the project's hooks reject failing tests, mark them as expected failures until the code makes them pass.
These assertions are the contract. Glue around them, such as setup, selectors, and helpers, may change as the code takes shape. An assertion changes only when it misstates its example; list each such change for the report.
2. Make it work
Make the tests pass, then capture each capture example from the running product. Commit as you go. Done when every acceptance test is green, the project's gates pass, and the evidence is captured.
What must outlive the spec goes into the change: behavior is already in tests; rationale goes into an ADR through adr; project-wide rules are drafted where agents-md keeps them; and a new or changed domain term goes into the project's glossary, in its existing format, when the project keeps one. The human accepts all of it with the pull request; a project without a glossary gets one only when the human agrees. What only a later issue needs goes into that issue.