Documentation
¶
Overview ¶
Package okf checks OKF v0.2 bundles.
The spec is deliberately permissive: only three rules are conformance failures. That split is why findings carry a severity — everything beyond §11 is advice and must never fail a build. A repo whose graph carries an invariant the spec cannot express passes it to CheckBundle as a Rule.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Doc ¶
type Doc struct {
Root string // bundle root, as given to CheckBundle
Rel string // bundle-relative path, slash-separated
FM map[string]any // frontmatter
Body string
}
Doc is one parsed concept, handed to a Rule.
type Finding ¶
func CheckBundle ¶
CheckBundle walks a bundle root and reports conformance errors (§11) and advisory warnings, plus whatever the caller's rules report.
Click to show internal directories.
Click to hide internal directories.