diff --git a/modules/mesh-delivery-indexer/judge/rules.go b/modules/mesh-delivery-indexer/judge/rules.go index c1c9d5c..37dd9f2 100644 --- a/modules/mesh-delivery-indexer/judge/rules.go +++ b/modules/mesh-delivery-indexer/judge/rules.go @@ -5459,7 +5459,7 @@ func StreamProblems(m catalogue.Manifest) []string { problems = append(problems, fmt.Sprintf( "%s declares stream %q, which is the mesh's own stream %s (novox/hq ADR 0363)", m.Module, s.Name, s.BusName())) default: - for _, prefix := range catalogue.ReservedStreamPrefixes { + for _, prefix := range reservedStreamPrefixes { if strings.HasPrefix(s.BusName(), prefix) { problems = append(problems, fmt.Sprintf( "%s declares stream %q, whose name on the bus starts with %s, which the mesh derives names "+ @@ -8829,3 +8829,7 @@ type barOption struct { func first(a, _ []string) []string { return a } func second(_, b []string) []string { return b } + +// reservedStreamPrefixes are the starts of the stream names the mesh derives, which no module's stream may take (moved +// from mesh-sdk's catalogue, ReservedStreamPrefixes: a rule's table is the judge's, novox/hq ADR 0578 ยง4). +var reservedStreamPrefixes = []string{"SEAT_", "LOG_", "KV_", "OBJ_", "DEAD_"}