Documentation
¶
Overview ¶
Package validate checks tickets at rest.
The gates in core/gate fire when a ticket moves, which means a ticket damaged by a hand edit, a bad merge, or an agent writing something unexpected sits there looking fine until someone tries to use it — and then fails with an error about the move rather than about the damage. This package answers the separate question "is what is on disk actually coherent?".
Index ¶
Constants ¶
View Source
const ( SeverityError = "error" SeverityWarning = "warning" )
Severities. A ticket can be incomplete without being broken: capture is meant to be cheap, so an unspecified backlog ticket is normal and must not fail a validation run.
View Source
const ( CodeBadID = "bad_id" CodeNoTitle = "no_title" CodeUnknownLane = "unknown_lane" CodeBadTimestamp = "bad_timestamp" CodeDanglingDep = "dangling_dependency" CodeSelfDep = "self_dependency" CodeDuplicateID = "duplicate_id" CodeIncomplete = "incomplete" CodeUndeclaredDep = "undeclared_dependency" CodeBadTag = "bad_tag" )
Problem codes, stable so an agent can branch on them.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.