Value-Driven Software Engineering · Playbook
Rituals, entry and exit criteria by stage, testing strategy, document templates, a catalog of methods and normative references for development and quality teams.
Fernando “Teco” Sodré · About Digital Inovação em Negócios · Version 1.3, November 2026
This Playbook turns VDSE into routines for development and quality teams. It starts from a common observation: in many organizations, the quality function only steps in once the code is ready, receives a package and looks for defects, at a point when what matters most can no longer be changed. In VDSE, quality takes part in every stage, in a movement known as shift-leftMoving quality and security activities to the start of the cycle, where fixing is cheaper. [+]: it helps measure the baselineA measure of the current state, recorded at moment zero, against which the value created is compared. [+] in Discover, writes acceptance criteria with product in Specify and turns every escaped defect into an automated test in Learn.
Developers, quality analysts and engineers, tech leads, product managers and designers working on the same product.
In every initiative that goes through the VDSE cycle. Intensity follows the rigor level decided at the Define gate.
Start with the rituals and the stages. Use the catalog as a reference: each method has a description, when to use it and a link to the original source.
Rituals are the recurring meetings that sustain the value creation cycle, each with a defined purpose, participants and output. The suggested frequencies are a starting point and should be adjusted to team size and rigor level. The gateA decision point at the end of each stage: proceed, pivot or stop, based on the evidence produced. [+] review, however, must not be dropped: it is what distinguishes VDSE from an operation focused only on the volume of features delivered.
| RITUAL | SUGGESTED FREQUENCY | WHO TAKES PART | OUTPUT |
|---|---|---|---|
| Customer conversations | Weekly | Product, design, one engineering representative | Interview synthesis and updated opportunity tree |
| SpecA specification of a feature's expected behavior, with acceptance criteria. In VDSE, it is also context for agents. [+] refinement | Weekly | Product, engineering, quality | Specs with acceptance criteria ready for construction |
| Planning | Every work cycle | Whole team | Commitment to outcomes, not just tasks |
| Gate review | At the end of each stage | Product owner, tech lead, quality, sponsor | Gate record with decision: proceed, pivot or stop |
| Quality and evalsTests for AI systems: an input, a grading logic and a measure of success, run in a repeatable way. [+] review | Weekly and before each release | Quality, engineering, data | Status of quality gatesAn automated check in the pipeline that stops a change from moving forward if a quality criterion is not met. [+], open defects, eval results |
| Indicator reading | Weekly, from moment zeroThe moment the demand arrives, before any solution exists. It is when the baseline of the problem and the user is recorded. [+] | Product, data, engineering, quality | Indicators updated against the baselineA measure of the current state, recorded at moment zero, against which the value created is compared. [+], unit costThe cost of operating the solution divided by a unit of volume, such as a transaction, an active user, a processing minute, a thousand tokens or an interaction. [+] and revised hypotheses |
| Retrospective | Every two weeks | Whole team | Up to three actions with an owner and a deadline |
| Post-mortemA blameless analysis of an incident: what happened, why it happened and which actions prevent it from happening again. [+] | After every significant incident | Incident responders and the service owner | Blameless document with preventive actions[45] |
This section defines the formal entry and exit criteria for each stage of the cycle. Each stage has a Definition of ReadyThe minimum conditions for work to start. [+], which sets the conditions to start the work, and a Definition of DoneThe state in which the work meets the quality measures required to be considered complete and submitted to the gate. [+], which sets the conditions to submit it to the gateA decision point at the end of each stage: proceed, pivot or stop, based on the evidence produced. [+].[55] The flow shows the preparation, the development and quality responsibilities, the completion and the possible decisions at the gate. Select the stage.
The testing strategy defines which checks are performed, in what proportion and at which point in the pipeline. Its basis is the test pyramid: many fast, low-cost tests at the base, few slow, high-cost tests at the top.[20] In AI products, evalsTests for AI systems: an input, a grading logic and a measure of success, run in a repeatable way. [+] form a layer of their own, because behavior is probabilistic and cannot be reduced to exact assertions.[50]
This subsection describes the test types adopted and when each one runs in the pipeline. It includes smoke testingA quick check of the essentials right after a deploy, to confirm the system is up. [+], regression testingA set of tests that confirms that what already worked keeps working after a change. [+] and SASTSAST analyzes source code without running it; DAST tests the running application from the outside in. [+] and DAST analysis. Tests with intermittent results, flaky testsA test that passes and fails with no change in the code. It must be isolated and fixed, because it erodes trust in the suite. [+], are treated as defects in the suite itself, because they undermine confidence in the whole set of checks.
| TYPE | WHAT IT CHECKS | WHEN IT RUNS | OWNER | AUTOMATED |
|---|---|---|---|---|
| {{t.a}} | {{t.b}} | {{t.c}} | {{t.d}} | {{t.e}} |
A quality gateAn automated check in the pipeline that stops a change from moving forward if a quality criterion is not met. [+] is an automated check run in the integration and delivery pipeline that stops a change from moving forward when a minimum quality criterion is not met. It differs from the VDSE decision gate, which is human and weighs evidence of value, risk and cost. The two mechanisms are complementary: the pipeline ensures the minimum technical bar for every change; the decision gate determines whether the initiative should proceed.
GherkinA structured language (Given, When, Then) for acceptance criteria that people read and tools execute. It is available in many spoken languages. [+] is the notation adopted to record acceptance criteria in a structured format (Given, When, Then), readable by people and executable by tools.[13] It is used in the Specify stage: product records the intent, quality adds the edge cases and engineering automates the verification. The same text serves as context for coding agentsA system based on a language model that plans and carries out actions with tools to achieve a goal, within defined limits. [+], which reduces ambiguity in implementation.
# language: en
Feature: Customer self-service subscription cancellation
In order to reduce calls to customer support
As a customer with an active subscription
I want to cancel without talking to an agent
Scenario: Cancellation within the grace period
Given I have had an active subscription for less than 7 days
When I confirm the cancellation in my account area
Then the subscription becomes inactive immediately
And I receive a full refund within 1 business day
And I receive a confirmation email
Scenario: Cancellation attempt with an unpaid invoice
Given I have an overdue invoice
When I request the cancellation
Then I see the outstanding amount and the payment options
And the cancellation is only completed after the invoice is paid
This section brings together the templates for the documents that record the decisions and evidence of each stage. They are deliberately concise, because a document nobody reads produces no evidence. Fields in square brackets must be filled in by the responsible team. For each template, the section indicates when to use it, who fills it in, real application examples, a prompt for drafting it with AI support, the VDSE skill and the MEDIRA harness engineering cycle developed by the author: Map, Equip, Delegate, Inspect and Reinforce (Mapear, Equipar, Delegar, Inspecionar, Reforçar). [+] harnessThe environment in which the agent works: tools, permissions, orchestration, sensors and feedback loops that constrain, inform, verify and correct. [+] for use with agents.
{{tplText}}
{{exText}}
Paste the prompt into Claude or another assistant, attach the inputs indicated in square brackets and paste the template at the end. The prompt enforces the VDSE rules: do not invent data, mark gaps as [to be measured] and classify each indicator as quantitative or qualitative, observed or inferred. Always review the result: the agent drafts, the decision remains human.
{{tpPrompt}}
A Claude skill that applies the VDSE rules when filling in the six templates in this section. Save the SKILL.md file in the Claude or Claude Code skills folder and ask, for example: fill in the value hypothesis using these interviews and this spreadsheet.
To run the templates with coding agents, the MEDIR harness, developed by the author, brings together the AGENTS.md protocol, the CLAUDE.md file and templates such as the task contract and the skill template in the playbook folder. The Map, Equip, Delegate, Inspect and Reinforce cycle organizes how work is delegated to agents and verified.
The catalog brings together the methods, techniques and frameworks that make up the VDSE practices layer. Each item presents its definition, the situations where it is recommended and the link to the original reference; the number in square brackets points to the list of sources. Use the filters to browse by area.
While the catalog describes how to work, this section establishes what to measure against. It brings together ISO standards for risk, privacy and security, pentestPenetration testing performed by specialists, who probe the application the way an attacker would. [+] and scanning guides, and references for code quality, load and stress testingLoad testing checks the system under the expected volume; stress testing pushes it beyond the limit; soak testing sustains the load for hours; spike testing simulates sudden surges. [+], mutation testingA technique that deliberately changes the code and checks whether the test suite notices. It measures test effectiveness, not just coverage. [+], observabilityThe ability to understand the internal state of a system from logs, metrics and traces. [+] and AI harnessesThe environment in which the agent works: tools, permissions, orchestration, sensors and feedback loops that constrain, inform, verify and correct. [+]. Each item shows the level of the maturity scale from which it becomes mandatory. Tools are presented as open examples, not as exclusive recommendations.
{{sumMain}} {{sumDetail}}
{{refIntro}}
Leaderboards measure the model and harness pair, not the harness alone, and the same model can score very differently depending on the harness used in the measurement.[{{benchN}}] The numbers change every month. Check the leaderboards below, record the date and decide using the criteria alongside.
As a method for designing any harness, VDSE adopts the MEDIRA harness engineering cycle developed by the author: Map, Equip, Delegate, Inspect and Reinforce (Mapear, Equipar, Delegar, Inspecionar, Reforçar). [+] cycle, developed by the author of this playbook. View in the catalog
Click a reference on the map to see the details.
The glossary is shared by the three parts of VDSE: framework, playbook and maturity scale. Acronyms and industry terms are kept in their original form. The ↩ link returns to the reading point.
Links verified on November 30, 2026. The ↩ link returns to the catalog item or to the passage that cites the source.