Workflow guards
Stop a work item entering a state until a condition holds: no Closed while tasks are open, no Done before the pull request merges. The form says which guard blocks the change and why; board drags and API edits are caught by a runner in your own pipeline. No backend.

What you get
- Guards for your definition of done. Entering a state can require that all children are done, linked pull requests are merged or abandoned, the latest linked build succeeded, a field is filled in, Remaining Work is 0, only a given group makes the change, or a custom condition such as
[Story Points] > 0 and Tags contains "tested" holds.
- Clear on the form. When you pick a blocked state, Save is disabled with the guard's name and the reason, for example which child items are still open.
- Held everywhere. A change that skipped the form (a board drag, Excel, an API call) is moved back by the runner with a comment, or tagged and commented, as you choose per guard.
- Emergency bypass. A project administrator can bypass a guard with a reason. The reason is saved with the move, under their name; a bypass by anyone else is ignored.
- Violation log. Every blocked save, revert, flag and bypass, with who and why, so you can see where the process hurts.

How it works
There's nothing to host. The form check runs in your browser inside Azure DevOps. The backstop runs in a pipeline in your own project (the runner), set up in one click: it creates a Git repository, ado-suite-config, for settings, commits the runner to it, and creates the pipeline. Guards are a file in that repository, so a branch policy on it puts every change under review.
The runner sweeps every 15, 30 or 60 minutes, as you choose. On Microsoft-hosted agents a run takes about a minute; the Runner tab shows the estimated pipeline minutes a month against your free grant, or use a self-hosted pool.

Getting started
- Install the extension in your organization.
- In Project settings > Workflow guards, open the Runner tab and select Set up runner.
- On the Guards tab, add a guard: the work item types, the state it protects, what it needs, and what the runner does when the form was skipped.
- Open a work item and pick the guarded state: the Guards group shows what's needed.
Permissions
The extension asks to read and write work items, manage code (the ado-suite-config repository), read and run pipelines (the runner, and the builds guards check), read identities and groups (group-only guards and the bypass), read and write its own extension data (the record of blocked saves), and read the project.
Preview
Free during the preview. Works with every process. Some processes clear fields on their own when an item closes (Agile clears Remaining Work when a task is closed), which a guard on that state then sees. Workflow guards, Approvals, Automation rules and Recurring work share one runner and one settings repository per project.
Questions and feedback: contact@valor-co.com