Documentation
¶
Overview ¶
Package neutrality implements the runtime-neutrality red-light scan shared by skillet tools. It flags wording or paths that bind a skill to a single agent runtime, which makes other runtimes refuse to install it. The pattern is byte-identical to the darwin source (skillsaw scan / exegesis lint) so the tools never disagree about what "runtime-bound" means.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hit ¶
type Hit struct {
File string `json:"file"`
Line int `json:"line"` // 1-indexed
Text string `json:"text"` // the matching line, trimmed
}
Hit is one red-light match.
func Scan ¶
Scan runs the red-light regex line-by-line over each file and returns every match. Hits follow the given file order, then line number. It is pure: values in, values out, no filesystem access. CRLF line endings are normalized so a match and its 1-indexed line number are independent of the source's newlines.