package resolution import ( mcat "git.novox.be/novox/mesh-sdk/go/catalogue" ) // ToolsBusSecret says name is the own secret a tools bundle's bus account is held in: `broker-` for a bundle // whose bus the manifest declares (ADR 0564 Limits 4). Its file belongs to the runtime's account, which runs the bundle. func ToolsBusSecret(m mcat.Manifest, name string) bool { for _, a := range m.BusAccounts() { if a.Tools && name == "broker-"+a.ID { return true } } return false }