struct

Hwaro::Services::CheckSpec

Inherits Struct < Value < Object

A named diagnostic check: a human label paired with the set of issue IDs that, when present, count against this check. The CLI uses this to render inline ✓/⚠/✗ lines in human output.

blocked_by is this check's OWN abort conditions, on top of its group's — for checks that need something the group as a whole does not. The front-matter menu cross-check and the section-index walk both need a parsed config, so neither can run when config.toml is missing or broken, while the front-matter parse check in the same group runs fine.

Constructors

new(label : String, issue_ids : Array(String), blocked_by : Array(String) = [] of String)
Source

Instance methods

blocked_by
clone
Source
copy_with(label _label = @label, issue_ids _issue_ids = @issue_ids, blocked_by _blocked_by = @blocked_by)
Source
issue_ids
label