feat: validate agent protocol boundaries

This commit is contained in:
2026-08-31 08:44:22 +00:00
parent d6d93f3d98
commit fb41c5ff65
8 changed files with 787 additions and 3 deletions
+1 -1
View File
@@ -445,7 +445,7 @@ type coverageRequirement struct {
Tests []string `toml:"tests"`
}
var coverageIDPattern = regexp.MustCompile(`^(HP|ERR|RACE|CRASH|SEC|BOUND|REC)-[A-Z0-9]+-[0-9]{2}$`)
var coverageIDPattern = regexp.MustCompile(`^(HP|BH|ERR|RACE|CRASH|SEC|BOUND|REC)-[A-Z0-9]+-[0-9]{2}$`)
func validateCoverageInventory(path string) error {
absolutePath, err := filepath.Abs(path)