Skip to content

Guardrails

A guardrail is a rule Halyard checks before letting a status change happen — a floor under the model’s honesty, so “verified” and “complete” mean something close to what they say. Guardrails are Halyard’s operating principles, not a setting: every rule below runs, at the mode shown, on every project, for every team, all the time. There is nothing to turn down, turn off, or loosen for a particular team — this page exists so you understand how Halyard behaves, not to configure it.

RuleWhat it checksMode
Complete needs code or a reasonAn issue moves to Complete only with a merged linked PR, or a recorded reason there was no code to mergeEnforce
Feature needs a requirementA feature issue should link a requirement before it startsWarn
Milestone needs a teamA Milestone needs an owning Team before it goes ActiveEnforce
Verified needs a passing testVerified is set only by a passing test case; an override needs a logged reasonEnforce
Accepted needs a test caseAn accepted requirement should have at least one test caseWarn
Started needs an assignee and teamA started issue should have an assignee and a teamWarn
Session needs a planAn implementation session needs a saved planEnforce
WIP limitA person should have no more than the WIP limit of issues started at once (default 4)Warn

There’s no status-update guardrail anymore — nobody posts a status update anywhere in Halyard, so there’s nothing to check the freshness of.

Enforce refuses the action and names the rule. Warn allows the action and shows the same detail, non-blocking. There is no “Off” — every rule is always checked.

Why “Feature needs a requirement” is Warn, not Enforce. A hard block on starting work without a linked requirement is the easiest guardrail to game — a team facing it just stops marking anything a feature, and the whole policy loses credibility at once. A warning keeps the nudge without the perverse incentive.

Two rules carry a real exception clause — part of the rule itself, not a way to turn it off:

  • The “no code” reason (part of “Complete needs code or a reason”). An issue can move to Complete with a recorded reason there was no code to merge, instead of a merged pull request — for a docs-only change, a config tweak, or anything else that genuinely shipped without code.
  • The admin override (part of “Verified needs a passing test”). A project admin can set Verified directly with a logged reason. The override is automatically superseded the moment the next real test result lands, so it can’t quietly go stale.

Neither of these is a setting you turn on for a project or a team — they are things you do on one issue or one requirement, in the moment, with a reason attached.

The WIP limit (default 4) is the one adjustable number behind any guardrail. A project admin sets it in Settings → Health & testing, next to the pace thresholds and the manual test-result expiry — see the Status page and Test plans & verification. The rule itself — that it checks started issues per person, and that it warns rather than blocks — is fixed like every other rule; only this number is a project setting.

The completion automation — an issue completing on its own once every linked pull request merges — only ever reads pull-request state from your Git provider. It never writes a comment, label, or status back. See Traceability & compliance for the whole chain guardrails sit inside.